Skip to content

Commit 33c98b8

Browse files
committed
use title case for method names
1 parent bbb7976 commit 33c98b8

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

api.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
775775
async createStore(body: CreateStoreRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<CreateStoreResponse>> {
776776
const localVarAxiosArgs = localVarAxiosParamCreator.createStore(body, options);
777777
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
778-
[TelemetryAttribute.FgaClientRequestMethod]: "createStore",
778+
[TelemetryAttribute.FgaClientRequestMethod]: "CreateStore",
779779
});
780780
},
781781
/**
@@ -788,7 +788,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
788788
async deleteStore(storeId: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<void>> {
789789
const localVarAxiosArgs = localVarAxiosParamCreator.deleteStore(storeId, options);
790790
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
791-
[TelemetryAttribute.FgaClientRequestMethod]: "deleteStore",
791+
[TelemetryAttribute.FgaClientRequestMethod]: "DeleteStore",
792792
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
793793
});
794794
},
@@ -803,7 +803,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
803803
async expand(storeId: string, body: ExpandRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ExpandResponse>> {
804804
const localVarAxiosArgs = localVarAxiosParamCreator.expand(storeId, body, options);
805805
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
806-
[TelemetryAttribute.FgaClientRequestMethod]: "expand",
806+
[TelemetryAttribute.FgaClientRequestMethod]: "Expand",
807807
[TelemetryAttribute.FgaClientRequestModelId]: body.authorization_model_id ?? "",
808808
[TelemetryAttribute.FgaClientRequestStoreId]: storeId ?? "",
809809
});
@@ -818,7 +818,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
818818
async getStore(storeId: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<GetStoreResponse>> {
819819
const localVarAxiosArgs = localVarAxiosParamCreator.getStore(storeId, options);
820820
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
821-
[TelemetryAttribute.FgaClientRequestMethod]: "getStore",
821+
[TelemetryAttribute.FgaClientRequestMethod]: "GetStore",
822822
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
823823
});
824824
},
@@ -833,7 +833,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
833833
async listObjects(storeId: string, body: ListObjectsRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ListObjectsResponse>> {
834834
const localVarAxiosArgs = localVarAxiosParamCreator.listObjects(storeId, body, options);
835835
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
836-
[TelemetryAttribute.FgaClientRequestMethod]: "listObjects",
836+
[TelemetryAttribute.FgaClientRequestMethod]: "ListObjects",
837837
[TelemetryAttribute.FgaClientRequestStoreId]: storeId ?? "",
838838
[TelemetryAttribute.FgaClientRequestModelId]: body.authorization_model_id ?? "",
839839
[TelemetryAttribute.FgaClientUser]: body.user
@@ -850,7 +850,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
850850
async listStores(pageSize?: number, continuationToken?: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ListStoresResponse>> {
851851
const localVarAxiosArgs = localVarAxiosParamCreator.listStores(pageSize, continuationToken, options);
852852
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
853-
[TelemetryAttribute.FgaClientRequestMethod]: "listStores",
853+
[TelemetryAttribute.FgaClientRequestMethod]: "ListStores",
854854
});
855855
},
856856
/**
@@ -864,7 +864,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
864864
async listUsers(storeId: string, body: ListUsersRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ListUsersResponse>> {
865865
const localVarAxiosArgs = localVarAxiosParamCreator.listUsers(storeId, body, options);
866866
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
867-
[TelemetryAttribute.FgaClientRequestMethod]: "listUsers",
867+
[TelemetryAttribute.FgaClientRequestMethod]: "ListUsers",
868868
[TelemetryAttribute.FgaClientRequestStoreId]: storeId ?? "",
869869
[TelemetryAttribute.FgaClientRequestModelId]: body.authorization_model_id ?? "",
870870
});
@@ -880,7 +880,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
880880
async read(storeId: string, body: ReadRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ReadResponse>> {
881881
const localVarAxiosArgs = localVarAxiosParamCreator.read(storeId, body, options);
882882
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
883-
[TelemetryAttribute.FgaClientRequestMethod]: "read",
883+
[TelemetryAttribute.FgaClientRequestMethod]: "Read",
884884
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
885885
});
886886
},
@@ -895,7 +895,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
895895
async readAssertions(storeId: string, authorizationModelId: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ReadAssertionsResponse>> {
896896
const localVarAxiosArgs = localVarAxiosParamCreator.readAssertions(storeId, authorizationModelId, options);
897897
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
898-
[TelemetryAttribute.FgaClientRequestMethod]: "readAssertions",
898+
[TelemetryAttribute.FgaClientRequestMethod]: "ReadAssertions",
899899
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
900900
[TelemetryAttribute.FgaClientRequestModelId]: authorizationModelId,
901901
});
@@ -911,7 +911,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
911911
async readAuthorizationModel(storeId: string, id: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ReadAuthorizationModelResponse>> {
912912
const localVarAxiosArgs = localVarAxiosParamCreator.readAuthorizationModel(storeId, id, options);
913913
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
914-
[TelemetryAttribute.FgaClientRequestMethod]: "readAuthorizationModel",
914+
[TelemetryAttribute.FgaClientRequestMethod]: "ReadAuthorizationModel",
915915
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
916916
});
917917
},
@@ -927,7 +927,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
927927
async readAuthorizationModels(storeId: string, pageSize?: number, continuationToken?: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ReadAuthorizationModelsResponse>> {
928928
const localVarAxiosArgs = localVarAxiosParamCreator.readAuthorizationModels(storeId, pageSize, continuationToken, options);
929929
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
930-
[TelemetryAttribute.FgaClientRequestMethod]: "readAuthorizationModels",
930+
[TelemetryAttribute.FgaClientRequestMethod]: "ReadAuthorizationModels",
931931
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
932932
});
933933
},
@@ -944,7 +944,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
944944
async readChanges(storeId: string, type?: string, pageSize?: number, continuationToken?: string, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<ReadChangesResponse>> {
945945
const localVarAxiosArgs = localVarAxiosParamCreator.readChanges(storeId, type, pageSize, continuationToken, options);
946946
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
947-
[TelemetryAttribute.FgaClientRequestMethod]: "readChanges",
947+
[TelemetryAttribute.FgaClientRequestMethod]: "ReadChanges",
948948
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
949949
});
950950
},
@@ -959,7 +959,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
959959
async write(storeId: string, body: WriteRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<object>> {
960960
const localVarAxiosArgs = localVarAxiosParamCreator.write(storeId, body, options);
961961
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
962-
[TelemetryAttribute.FgaClientRequestMethod]: "write",
962+
[TelemetryAttribute.FgaClientRequestMethod]: "Write",
963963
[TelemetryAttribute.FgaClientRequestStoreId]: storeId ?? "",
964964
[TelemetryAttribute.FgaClientRequestModelId]: body.authorization_model_id ?? "",
965965
});
@@ -976,7 +976,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
976976
async writeAssertions(storeId: string, authorizationModelId: string, body: WriteAssertionsRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<void>> {
977977
const localVarAxiosArgs = localVarAxiosParamCreator.writeAssertions(storeId, authorizationModelId, body, options);
978978
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
979-
[TelemetryAttribute.FgaClientRequestMethod]: "writeAssertions",
979+
[TelemetryAttribute.FgaClientRequestMethod]: "WriteAssertions",
980980
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
981981
[TelemetryAttribute.FgaClientRequestModelId]: authorizationModelId,
982982
});
@@ -992,7 +992,7 @@ export const OpenFgaApiFp = function(configuration: Configuration, credentials:
992992
async writeAuthorizationModel(storeId: string, body: WriteAuthorizationModelRequest, options?: any): Promise<(axios?: AxiosInstance) => PromiseResult<WriteAuthorizationModelResponse>> {
993993
const localVarAxiosArgs = localVarAxiosParamCreator.writeAuthorizationModel(storeId, body, options);
994994
return createRequestFunction(localVarAxiosArgs, globalAxios, configuration, credentials, {
995-
[TelemetryAttribute.FgaClientRequestMethod]: "writeAuthorizationModel",
995+
[TelemetryAttribute.FgaClientRequestMethod]: "WriteAuthorizationModel",
996996
[TelemetryAttribute.FgaClientRequestStoreId]: storeId,
997997
});
998998
},

0 commit comments

Comments
 (0)