diff --git a/dictation_client/src/api/api.ts b/dictation_client/src/api/api.ts
index 429eb58..0c2ff5c 100644
--- a/dictation_client/src/api/api.ts
+++ b/dictation_client/src/api/api.ts
@@ -757,6 +757,25 @@ export interface GetPartnerLicensesResponse {
*/
'childrenPartnerLicenses': Array;
}
+/**
+ *
+ * @export
+ * @interface GetPartnersResponse
+ */
+export interface GetPartnersResponse {
+ /**
+ * 合計件数
+ * @type {number}
+ * @memberof GetPartnersResponse
+ */
+ 'total': number;
+ /**
+ *
+ * @type {Array}
+ * @memberof GetPartnersResponse
+ */
+ 'partners': Array;
+}
/**
*
* @export
@@ -1028,6 +1047,55 @@ export interface OptionItemList {
*/
'optionItemList': Array;
}
+/**
+ *
+ * @export
+ * @interface Partner
+ */
+export interface Partner {
+ /**
+ * 会社名
+ * @type {string}
+ * @memberof Partner
+ */
+ 'name': string;
+ /**
+ * 階層
+ * @type {number}
+ * @memberof Partner
+ */
+ 'tier': number;
+ /**
+ * アカウントID
+ * @type {number}
+ * @memberof Partner
+ */
+ 'accountId': number;
+ /**
+ * 国
+ * @type {string}
+ * @memberof Partner
+ */
+ 'country': string;
+ /**
+ * プライマリ管理者
+ * @type {string}
+ * @memberof Partner
+ */
+ 'primaryAdmin': string;
+ /**
+ * プライマリ管理者メールアドレス
+ * @type {string}
+ * @memberof Partner
+ */
+ 'email': string;
+ /**
+ * 代行操作許可
+ * @type {boolean}
+ * @memberof Partner
+ */
+ 'dealerManagement': boolean;
+}
/**
*
* @export
@@ -1528,6 +1596,25 @@ export interface UpdateTypistGroupRequest {
*/
'typistIds': Array;
}
+/**
+ *
+ * @export
+ * @interface UpdateWorktypesRequest
+ */
+export interface UpdateWorktypesRequest {
+ /**
+ * WorktypeID
+ * @type {string}
+ * @memberof UpdateWorktypesRequest
+ */
+ 'worktypeId': string;
+ /**
+ * Worktypeの説明
+ * @type {string}
+ * @memberof UpdateWorktypesRequest
+ */
+ 'description'?: string;
+}
/**
*
* @export
@@ -2037,6 +2124,54 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
options: localVarRequestOptions,
};
},
+ /**
+ *
+ * @summary
+ * @param {number} limit 取得件数
+ * @param {number} offset 開始位置
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ getPartners: async (limit: number, offset: number, options: AxiosRequestConfig = {}): Promise => {
+ // verify required parameter 'limit' is not null or undefined
+ assertParamExists('getPartners', 'limit', limit)
+ // verify required parameter 'offset' is not null or undefined
+ assertParamExists('getPartners', 'offset', offset)
+ const localVarPath = `/accounts/partners`;
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication bearer required
+ // http bearer authentication required
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
+
+ if (limit !== undefined) {
+ localVarQueryParameter['limit'] = limit;
+ }
+
+ if (offset !== undefined) {
+ localVarQueryParameter['offset'] = offset;
+ }
+
+
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
/**
* ログインしているユーザーのアカウント配下でIDで指定されたタイピストグループを取得します
* @summary
@@ -2256,6 +2391,50 @@ export const AccountsApiAxiosParamCreator = function (configuration?: Configurat
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
localVarRequestOptions.data = serializeDataIfNeeded(updateTypistGroupRequest, localVarRequestOptions, configuration)
+ return {
+ url: toPathString(localVarUrlObj),
+ options: localVarRequestOptions,
+ };
+ },
+ /**
+ *
+ * @summary
+ * @param {number} id Worktypeの内部ID
+ * @param {UpdateWorktypesRequest} updateWorktypesRequest
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ updateWorktype: async (id: number, updateWorktypesRequest: UpdateWorktypesRequest, options: AxiosRequestConfig = {}): Promise => {
+ // verify required parameter 'id' is not null or undefined
+ assertParamExists('updateWorktype', 'id', id)
+ // verify required parameter 'updateWorktypesRequest' is not null or undefined
+ assertParamExists('updateWorktype', 'updateWorktypesRequest', updateWorktypesRequest)
+ const localVarPath = `/accounts/worktypes/{id}`
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
+ let baseOptions;
+ if (configuration) {
+ baseOptions = configuration.baseOptions;
+ }
+
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
+ const localVarHeaderParameter = {} as any;
+ const localVarQueryParameter = {} as any;
+
+ // authentication bearer required
+ // http bearer authentication required
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
+
+
+
+ localVarHeaderParameter['Content-Type'] = 'application/json';
+
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
+ localVarRequestOptions.data = serializeDataIfNeeded(updateWorktypesRequest, localVarRequestOptions, configuration)
+
return {
url: toPathString(localVarUrlObj),
options: localVarRequestOptions,
@@ -2379,6 +2558,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
const localVarAxiosArgs = await localVarAxiosParamCreator.getPartnerLicenses(getPartnerLicensesRequest, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
+ /**
+ *
+ * @summary
+ * @param {number} limit 取得件数
+ * @param {number} offset 開始位置
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async getPartners(limit: number, offset: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise> {
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPartners(limit, offset, options);
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
+ },
/**
* ログインしているユーザーのアカウント配下でIDで指定されたタイピストグループを取得します
* @summary
@@ -2443,6 +2634,18 @@ export const AccountsApiFp = function(configuration?: Configuration) {
const localVarAxiosArgs = await localVarAxiosParamCreator.updateTypistGroup(typistGroupId, updateTypistGroupRequest, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
+ /**
+ *
+ * @summary
+ * @param {number} id Worktypeの内部ID
+ * @param {UpdateWorktypesRequest} updateWorktypesRequest
+ * @param {*} [options] Override http request option.
+ * @throws {RequiredError}
+ */
+ async updateWorktype(id: number, updateWorktypesRequest: UpdateWorktypesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise
-