@connectedxm/admin-sdk 7.10.0 → 7.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.js CHANGED
@@ -83253,20 +83253,16 @@ exports.OrganizationIntegrationsApi = OrganizationIntegrationsApi;
83253
83253
  const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuration) {
83254
83254
  return {
83255
83255
  /**
83256
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83256
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83257
83257
  * @summary Delete a language override
83258
- * @param {string} locale The locale identifier
83259
83258
  * @param {string} key Filter by key
83260
83259
  * @param {*} [options] Override http request option.
83261
83260
  * @throws {RequiredError}
83262
83261
  */
83263
- deleteOrganizationLanguageOverride: (locale_1, key_1, ...args_1) => __awaiter(this, [locale_1, key_1, ...args_1], void 0, function* (locale, key, options = {}) {
83264
- // verify required parameter 'locale' is not null or undefined
83265
- (0, common_1.assertParamExists)('deleteOrganizationLanguageOverride', 'locale', locale);
83262
+ deleteOrganizationLanguageOverride: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
83266
83263
  // verify required parameter 'key' is not null or undefined
83267
83264
  (0, common_1.assertParamExists)('deleteOrganizationLanguageOverride', 'key', key);
83268
- const localVarPath = `/organization/language-overrides/{locale}`
83269
- .replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
83265
+ const localVarPath = `/organization/language-overrides`;
83270
83266
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83271
83267
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
83272
83268
  let baseOptions;
@@ -83293,9 +83289,8 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
83293
83289
  };
83294
83290
  }),
83295
83291
  /**
83296
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
83292
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
83297
83293
  * @summary List an organization\'s language overrides
83298
- * @param {string} [locale] Filter by locale
83299
83294
  * @param {number} [page] Page number
83300
83295
  * @param {number} [pageSize] Number of items per page
83301
83296
  * @param {string} [orderBy] Field to order by
@@ -83303,7 +83298,7 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
83303
83298
  * @param {*} [options] Override http request option.
83304
83299
  * @throws {RequiredError}
83305
83300
  */
83306
- getOrganizationLanguageOverrides: (locale_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [locale_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (locale, page, pageSize, orderBy, search, options = {}) {
83301
+ getOrganizationLanguageOverrides: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
83307
83302
  const localVarPath = `/organization/language-overrides`;
83308
83303
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83309
83304
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -83318,9 +83313,6 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
83318
83313
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
83319
83314
  // authentication OrganizationId required
83320
83315
  yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
83321
- if (locale !== undefined) {
83322
- localVarQueryParameter['locale'] = locale;
83323
- }
83324
83316
  if (page !== undefined) {
83325
83317
  localVarQueryParameter['page'] = page;
83326
83318
  }
@@ -83343,20 +83335,16 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
83343
83335
  };
83344
83336
  }),
83345
83337
  /**
83346
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
83338
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
83347
83339
  * @summary Create or update a language override
83348
- * @param {string} locale The locale identifier
83349
83340
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
83350
83341
  * @param {*} [options] Override http request option.
83351
83342
  * @throws {RequiredError}
83352
83343
  */
83353
- upsertOrganizationLanguageOverride: (locale_1, organizationLanguageOverrideUpsertInputs_1, ...args_1) => __awaiter(this, [locale_1, organizationLanguageOverrideUpsertInputs_1, ...args_1], void 0, function* (locale, organizationLanguageOverrideUpsertInputs, options = {}) {
83354
- // verify required parameter 'locale' is not null or undefined
83355
- (0, common_1.assertParamExists)('upsertOrganizationLanguageOverride', 'locale', locale);
83344
+ upsertOrganizationLanguageOverride: (organizationLanguageOverrideUpsertInputs_1, ...args_1) => __awaiter(this, [organizationLanguageOverrideUpsertInputs_1, ...args_1], void 0, function* (organizationLanguageOverrideUpsertInputs, options = {}) {
83356
83345
  // verify required parameter 'organizationLanguageOverrideUpsertInputs' is not null or undefined
83357
83346
  (0, common_1.assertParamExists)('upsertOrganizationLanguageOverride', 'organizationLanguageOverrideUpsertInputs', organizationLanguageOverrideUpsertInputs);
83358
- const localVarPath = `/organization/language-overrides/{locale}`
83359
- .replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
83347
+ const localVarPath = `/organization/language-overrides`;
83360
83348
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
83361
83349
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
83362
83350
  let baseOptions;
@@ -83391,26 +83379,24 @@ const OrganizationLanguageoverridesApiFp = function (configuration) {
83391
83379
  const localVarAxiosParamCreator = (0, exports.OrganizationLanguageoverridesApiAxiosParamCreator)(configuration);
83392
83380
  return {
83393
83381
  /**
83394
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83382
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83395
83383
  * @summary Delete a language override
83396
- * @param {string} locale The locale identifier
83397
83384
  * @param {string} key Filter by key
83398
83385
  * @param {*} [options] Override http request option.
83399
83386
  * @throws {RequiredError}
83400
83387
  */
83401
- deleteOrganizationLanguageOverride(locale, key, options) {
83388
+ deleteOrganizationLanguageOverride(key, options) {
83402
83389
  return __awaiter(this, void 0, void 0, function* () {
83403
83390
  var _a, _b, _c;
83404
- const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationLanguageOverride(locale, key, options);
83391
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationLanguageOverride(key, options);
83405
83392
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
83406
83393
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationLanguageoverridesApi.deleteOrganizationLanguageOverride']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
83407
83394
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83408
83395
  });
83409
83396
  },
83410
83397
  /**
83411
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
83398
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
83412
83399
  * @summary List an organization\'s language overrides
83413
- * @param {string} [locale] Filter by locale
83414
83400
  * @param {number} [page] Page number
83415
83401
  * @param {number} [pageSize] Number of items per page
83416
83402
  * @param {string} [orderBy] Field to order by
@@ -83418,27 +83404,26 @@ const OrganizationLanguageoverridesApiFp = function (configuration) {
83418
83404
  * @param {*} [options] Override http request option.
83419
83405
  * @throws {RequiredError}
83420
83406
  */
83421
- getOrganizationLanguageOverrides(locale, page, pageSize, orderBy, search, options) {
83407
+ getOrganizationLanguageOverrides(page, pageSize, orderBy, search, options) {
83422
83408
  return __awaiter(this, void 0, void 0, function* () {
83423
83409
  var _a, _b, _c;
83424
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationLanguageOverrides(locale, page, pageSize, orderBy, search, options);
83410
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationLanguageOverrides(page, pageSize, orderBy, search, options);
83425
83411
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
83426
83412
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationLanguageoverridesApi.getOrganizationLanguageOverrides']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
83427
83413
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83428
83414
  });
83429
83415
  },
83430
83416
  /**
83431
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
83417
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
83432
83418
  * @summary Create or update a language override
83433
- * @param {string} locale The locale identifier
83434
83419
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
83435
83420
  * @param {*} [options] Override http request option.
83436
83421
  * @throws {RequiredError}
83437
83422
  */
83438
- upsertOrganizationLanguageOverride(locale, organizationLanguageOverrideUpsertInputs, options) {
83423
+ upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs, options) {
83439
83424
  return __awaiter(this, void 0, void 0, function* () {
83440
83425
  var _a, _b, _c;
83441
- const localVarAxiosArgs = yield localVarAxiosParamCreator.upsertOrganizationLanguageOverride(locale, organizationLanguageOverrideUpsertInputs, options);
83426
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs, options);
83442
83427
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
83443
83428
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['OrganizationLanguageoverridesApi.upsertOrganizationLanguageOverride']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
83444
83429
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -83454,34 +83439,34 @@ const OrganizationLanguageoverridesApiFactory = function (configuration, basePat
83454
83439
  const localVarFp = (0, exports.OrganizationLanguageoverridesApiFp)(configuration);
83455
83440
  return {
83456
83441
  /**
83457
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83442
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83458
83443
  * @summary Delete a language override
83459
83444
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
83460
83445
  * @param {*} [options] Override http request option.
83461
83446
  * @throws {RequiredError}
83462
83447
  */
83463
83448
  deleteOrganizationLanguageOverride(requestParameters, options) {
83464
- return localVarFp.deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(axios, basePath));
83449
+ return localVarFp.deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(axios, basePath));
83465
83450
  },
83466
83451
  /**
83467
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
83452
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
83468
83453
  * @summary List an organization\'s language overrides
83469
83454
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
83470
83455
  * @param {*} [options] Override http request option.
83471
83456
  * @throws {RequiredError}
83472
83457
  */
83473
83458
  getOrganizationLanguageOverrides(requestParameters = {}, options) {
83474
- return localVarFp.getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
83459
+ return localVarFp.getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
83475
83460
  },
83476
83461
  /**
83477
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
83462
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
83478
83463
  * @summary Create or update a language override
83479
83464
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
83480
83465
  * @param {*} [options] Override http request option.
83481
83466
  * @throws {RequiredError}
83482
83467
  */
83483
83468
  upsertOrganizationLanguageOverride(requestParameters, options) {
83484
- return localVarFp.upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
83469
+ return localVarFp.upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
83485
83470
  },
83486
83471
  };
83487
83472
  };
@@ -83491,34 +83476,34 @@ exports.OrganizationLanguageoverridesApiFactory = OrganizationLanguageoverridesA
83491
83476
  */
83492
83477
  class OrganizationLanguageoverridesApi extends base_1.BaseAPI {
83493
83478
  /**
83494
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83479
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
83495
83480
  * @summary Delete a language override
83496
83481
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
83497
83482
  * @param {*} [options] Override http request option.
83498
83483
  * @throws {RequiredError}
83499
83484
  */
83500
83485
  deleteOrganizationLanguageOverride(requestParameters, options) {
83501
- return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
83486
+ return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
83502
83487
  }
83503
83488
  /**
83504
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
83489
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
83505
83490
  * @summary List an organization\'s language overrides
83506
83491
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
83507
83492
  * @param {*} [options] Override http request option.
83508
83493
  * @throws {RequiredError}
83509
83494
  */
83510
83495
  getOrganizationLanguageOverrides(requestParameters = {}, options) {
83511
- return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
83496
+ return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
83512
83497
  }
83513
83498
  /**
83514
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
83499
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
83515
83500
  * @summary Create or update a language override
83516
83501
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
83517
83502
  * @param {*} [options] Override http request option.
83518
83503
  * @throws {RequiredError}
83519
83504
  */
83520
83505
  upsertOrganizationLanguageOverride(requestParameters, options) {
83521
- return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
83506
+ return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
83522
83507
  }
83523
83508
  }
83524
83509
  exports.OrganizationLanguageoverridesApi = OrganizationLanguageoverridesApi;
package/dist/esm/api.d.ts CHANGED
@@ -10014,15 +10014,18 @@ export interface OrganizationAllOfOAuth {
10014
10014
  'id': string;
10015
10015
  }
10016
10016
  export interface OrganizationLanguageOverride {
10017
- 'locale': string;
10018
10017
  'key': string;
10019
- 'value': string;
10018
+ 'values': {
10019
+ [key: string]: any;
10020
+ };
10020
10021
  'createdAt': string;
10021
10022
  'updatedAt': string;
10022
10023
  }
10023
10024
  export interface OrganizationLanguageOverrideUpsertInputs {
10024
10025
  'key': string;
10025
- 'value': string;
10026
+ 'values': {
10027
+ [key: string]: any;
10028
+ };
10026
10029
  }
10027
10030
  export interface OrganizationMembership {
10028
10031
  'id': string;
@@ -66416,18 +66419,16 @@ export declare class OrganizationIntegrationsApi extends BaseAPI {
66416
66419
  */
66417
66420
  export declare const OrganizationLanguageoverridesApiAxiosParamCreator: (configuration?: Configuration) => {
66418
66421
  /**
66419
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66422
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66420
66423
  * @summary Delete a language override
66421
- * @param {string} locale The locale identifier
66422
66424
  * @param {string} key Filter by key
66423
66425
  * @param {*} [options] Override http request option.
66424
66426
  * @throws {RequiredError}
66425
66427
  */
66426
- deleteOrganizationLanguageOverride: (locale: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66428
+ deleteOrganizationLanguageOverride: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66427
66429
  /**
66428
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
66430
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
66429
66431
  * @summary List an organization\'s language overrides
66430
- * @param {string} [locale] Filter by locale
66431
66432
  * @param {number} [page] Page number
66432
66433
  * @param {number} [pageSize] Number of items per page
66433
66434
  * @param {string} [orderBy] Field to order by
@@ -66435,34 +66436,31 @@ export declare const OrganizationLanguageoverridesApiAxiosParamCreator: (configu
66435
66436
  * @param {*} [options] Override http request option.
66436
66437
  * @throws {RequiredError}
66437
66438
  */
66438
- getOrganizationLanguageOverrides: (locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66439
+ getOrganizationLanguageOverrides: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66439
66440
  /**
66440
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
66441
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
66441
66442
  * @summary Create or update a language override
66442
- * @param {string} locale The locale identifier
66443
66443
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66444
66444
  * @param {*} [options] Override http request option.
66445
66445
  * @throws {RequiredError}
66446
66446
  */
66447
- upsertOrganizationLanguageOverride: (locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66447
+ upsertOrganizationLanguageOverride: (organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66448
66448
  };
66449
66449
  /**
66450
66450
  * OrganizationLanguageoverridesApi - functional programming interface
66451
66451
  */
66452
66452
  export declare const OrganizationLanguageoverridesApiFp: (configuration?: Configuration) => {
66453
66453
  /**
66454
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66454
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66455
66455
  * @summary Delete a language override
66456
- * @param {string} locale The locale identifier
66457
66456
  * @param {string} key Filter by key
66458
66457
  * @param {*} [options] Override http request option.
66459
66458
  * @throws {RequiredError}
66460
66459
  */
66461
- deleteOrganizationLanguageOverride(locale: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66460
+ deleteOrganizationLanguageOverride(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66462
66461
  /**
66463
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
66462
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
66464
66463
  * @summary List an organization\'s language overrides
66465
- * @param {string} [locale] Filter by locale
66466
66464
  * @param {number} [page] Page number
66467
66465
  * @param {number} [pageSize] Number of items per page
66468
66466
  * @param {string} [orderBy] Field to order by
@@ -66470,23 +66468,22 @@ export declare const OrganizationLanguageoverridesApiFp: (configuration?: Config
66470
66468
  * @param {*} [options] Override http request option.
66471
66469
  * @throws {RequiredError}
66472
66470
  */
66473
- getOrganizationLanguageOverrides(locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>>;
66471
+ getOrganizationLanguageOverrides(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>>;
66474
66472
  /**
66475
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
66473
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
66476
66474
  * @summary Create or update a language override
66477
- * @param {string} locale The locale identifier
66478
66475
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66479
66476
  * @param {*} [options] Override http request option.
66480
66477
  * @throws {RequiredError}
66481
66478
  */
66482
- upsertOrganizationLanguageOverride(locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66479
+ upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66483
66480
  };
66484
66481
  /**
66485
66482
  * OrganizationLanguageoverridesApi - factory interface
66486
66483
  */
66487
66484
  export declare const OrganizationLanguageoverridesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66488
66485
  /**
66489
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66486
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66490
66487
  * @summary Delete a language override
66491
66488
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66492
66489
  * @param {*} [options] Override http request option.
@@ -66494,7 +66491,7 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66494
66491
  */
66495
66492
  deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
66496
66493
  /**
66497
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
66494
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
66498
66495
  * @summary List an organization\'s language overrides
66499
66496
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66500
66497
  * @param {*} [options] Override http request option.
@@ -66502,7 +66499,7 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66502
66499
  */
66503
66500
  getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationLanguageOverrides200Response>;
66504
66501
  /**
66505
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
66502
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
66506
66503
  * @summary Create or update a language override
66507
66504
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66508
66505
  * @param {*} [options] Override http request option.
@@ -66514,10 +66511,6 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66514
66511
  * Request parameters for deleteOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66515
66512
  */
66516
66513
  export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest {
66517
- /**
66518
- * The locale identifier
66519
- */
66520
- readonly locale: string;
66521
66514
  /**
66522
66515
  * Filter by key
66523
66516
  */
@@ -66527,10 +66520,6 @@ export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverr
66527
66520
  * Request parameters for getOrganizationLanguageOverrides operation in OrganizationLanguageoverridesApi.
66528
66521
  */
66529
66522
  export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest {
66530
- /**
66531
- * Filter by locale
66532
- */
66533
- readonly locale?: string;
66534
66523
  /**
66535
66524
  * Page number
66536
66525
  */
@@ -66552,10 +66541,6 @@ export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverride
66552
66541
  * Request parameters for upsertOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66553
66542
  */
66554
66543
  export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest {
66555
- /**
66556
- * The locale identifier
66557
- */
66558
- readonly locale: string;
66559
66544
  readonly organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs;
66560
66545
  }
66561
66546
  /**
@@ -66563,7 +66548,7 @@ export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverr
66563
66548
  */
66564
66549
  export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66565
66550
  /**
66566
- * Deletes the organization\'s i18n string override for the given locale and key (sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66551
+ * Deletes the organization\'s i18n string override for the given key across all locales (key sent as a query parameter since keys can contain spaces), requires the update org permission, and refreshes the language overrides list on success.
66567
66552
  * @summary Delete a language override
66568
66553
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66569
66554
  * @param {*} [options] Override http request option.
@@ -66571,7 +66556,7 @@ export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66571
66556
  */
66572
66557
  deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
66573
66558
  /**
66574
- * Returns a paginated list of the organization\'s i18n string overrides, optionally filtered by locale and searchable by key or value; requires org read permission.
66559
+ * Returns a paginated list of the organization\'s i18n string overrides grouped by key, each with its per-locale values; searchable by key. Requires org read permission.
66575
66560
  * @summary List an organization\'s language overrides
66576
66561
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66577
66562
  * @param {*} [options] Override http request option.
@@ -66579,7 +66564,7 @@ export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66579
66564
  */
66580
66565
  getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationLanguageOverrides200Response, any, {}>>;
66581
66566
  /**
66582
- * Upserts the organization\'s i18n string override for the given locale and key, requires the update org permission, and refreshes the language overrides list on success.
66567
+ * Upserts the organization\'s i18n string override for a key across all supplied locale values in a single request, requires the update org permission, and refreshes the language overrides list on success.
66583
66568
  * @summary Create or update a language override
66584
66569
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66585
66570
  * @param {*} [options] Override http request option.