@connectedxm/admin-sdk 7.10.0 → 7.11.1

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/README.md CHANGED
@@ -967,9 +967,9 @@ Class | Method | HTTP request | Description
967
967
  *OrganizationIntegrationsApi* | [**getIntegration**](docs/OrganizationIntegrationsApi.md#getintegration) | **GET** /organization/integrations/{integrationId} | Get an organization integration
968
968
  *OrganizationIntegrationsApi* | [**getIntegrations**](docs/OrganizationIntegrationsApi.md#getintegrations) | **GET** /organization/integrations | List an organization\'s integrations
969
969
  *OrganizationIntegrationsApi* | [**updateIntegration**](docs/OrganizationIntegrationsApi.md#updateintegration) | **PUT** /organization/integrations/{integrationId} | Update an organization integration
970
- *OrganizationLanguageoverridesApi* | [**deleteOrganizationLanguageOverride**](docs/OrganizationLanguageoverridesApi.md#deleteorganizationlanguageoverride) | **DELETE** /organization/language-overrides/{locale} | Delete a language override
970
+ *OrganizationLanguageoverridesApi* | [**deleteOrganizationLanguageOverride**](docs/OrganizationLanguageoverridesApi.md#deleteorganizationlanguageoverride) | **DELETE** /organization/language-overrides | Delete a language override
971
971
  *OrganizationLanguageoverridesApi* | [**getOrganizationLanguageOverrides**](docs/OrganizationLanguageoverridesApi.md#getorganizationlanguageoverrides) | **GET** /organization/language-overrides | List an organization\'s language overrides
972
- *OrganizationLanguageoverridesApi* | [**upsertOrganizationLanguageOverride**](docs/OrganizationLanguageoverridesApi.md#upsertorganizationlanguageoverride) | **PUT** /organization/language-overrides/{locale} | Create or update a language override
972
+ *OrganizationLanguageoverridesApi* | [**upsertOrganizationLanguageOverride**](docs/OrganizationLanguageoverridesApi.md#upsertorganizationlanguageoverride) | **PUT** /organization/language-overrides | Create or update a language override
973
973
  *OrganizationModulesApi* | [**getOrganizationModule**](docs/OrganizationModulesApi.md#getorganizationmodule) | **GET** /organization/modules/{moduleType} | Get an organization module\'s configuration
974
974
  *OrganizationModulesApi* | [**getOrganizationModules**](docs/OrganizationModulesApi.md#getorganizationmodules) | **GET** /organization/modules | List an organization\'s module configurations
975
975
  *OrganizationModulesApi* | [**updateOrganizationModule**](docs/OrganizationModulesApi.md#updateorganizationmodule) | **PUT** /organization/modules/{moduleType} | Update an organization module\'s settings
package/api.ts CHANGED
@@ -5205,7 +5205,8 @@ export enum EventEmailType {
5205
5205
  Cancellation = 'cancellation',
5206
5206
  Reminder = 'reminder',
5207
5207
  Approval = 'approval',
5208
- Denial = 'denial'
5208
+ Denial = 'denial',
5209
+ Transfer = 'transfer'
5209
5210
  }
5210
5211
 
5211
5212
 
@@ -11323,15 +11324,14 @@ export interface OrganizationAllOfOAuth {
11323
11324
  'id': string;
11324
11325
  }
11325
11326
  export interface OrganizationLanguageOverride {
11326
- 'locale': string;
11327
11327
  'key': string;
11328
- 'value': string;
11328
+ 'values': { [key: string]: any; };
11329
11329
  'createdAt': string;
11330
11330
  'updatedAt': string;
11331
11331
  }
11332
11332
  export interface OrganizationLanguageOverrideUpsertInputs {
11333
11333
  'key': string;
11334
- 'value': string;
11334
+ 'values': { [key: string]: any; };
11335
11335
  }
11336
11336
  export interface OrganizationMembership {
11337
11337
  'id': string;
@@ -51809,7 +51809,7 @@ export class EventsCouponsApi extends BaseAPI {
51809
51809
  export const EventsEmailsApiAxiosParamCreator = function (configuration?: Configuration) {
51810
51810
  return {
51811
51811
  /**
51812
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
51812
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
51813
51813
  * @summary Get an event\'s email configuration
51814
51814
  * @param {string} eventId The event identifier
51815
51815
  * @param {string} type The type identifier
@@ -51911,7 +51911,7 @@ export const EventsEmailsApiFp = function(configuration?: Configuration) {
51911
51911
  const localVarAxiosParamCreator = EventsEmailsApiAxiosParamCreator(configuration)
51912
51912
  return {
51913
51913
  /**
51914
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
51914
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
51915
51915
  * @summary Get an event\'s email configuration
51916
51916
  * @param {string} eventId The event identifier
51917
51917
  * @param {string} type The type identifier
@@ -51949,7 +51949,7 @@ export const EventsEmailsApiFactory = function (configuration?: Configuration, b
51949
51949
  const localVarFp = EventsEmailsApiFp(configuration)
51950
51950
  return {
51951
51951
  /**
51952
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
51952
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
51953
51953
  * @summary Get an event\'s email configuration
51954
51954
  * @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
51955
51955
  * @param {*} [options] Override http request option.
@@ -52008,7 +52008,7 @@ export interface EventsEmailsApiUpdateEventEmailRequest {
52008
52008
  */
52009
52009
  export class EventsEmailsApi extends BaseAPI {
52010
52010
  /**
52011
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
52011
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
52012
52012
  * @summary Get an event\'s email configuration
52013
52013
  * @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
52014
52014
  * @param {*} [options] Override http request option.
@@ -120041,20 +120041,16 @@ export class OrganizationIntegrationsApi extends BaseAPI {
120041
120041
  export const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuration?: Configuration) {
120042
120042
  return {
120043
120043
  /**
120044
- * 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.
120044
+ * 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.
120045
120045
  * @summary Delete a language override
120046
- * @param {string} locale The locale identifier
120047
120046
  * @param {string} key Filter by key
120048
120047
  * @param {*} [options] Override http request option.
120049
120048
  * @throws {RequiredError}
120050
120049
  */
120051
- deleteOrganizationLanguageOverride: async (locale: string, key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120052
- // verify required parameter 'locale' is not null or undefined
120053
- assertParamExists('deleteOrganizationLanguageOverride', 'locale', locale)
120050
+ deleteOrganizationLanguageOverride: async (key: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120054
120051
  // verify required parameter 'key' is not null or undefined
120055
120052
  assertParamExists('deleteOrganizationLanguageOverride', 'key', key)
120056
- const localVarPath = `/organization/language-overrides/{locale}`
120057
- .replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
120053
+ const localVarPath = `/organization/language-overrides`;
120058
120054
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
120059
120055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120060
120056
  let baseOptions;
@@ -120088,9 +120084,8 @@ export const OrganizationLanguageoverridesApiAxiosParamCreator = function (confi
120088
120084
  };
120089
120085
  },
120090
120086
  /**
120091
- * 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.
120087
+ * 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.
120092
120088
  * @summary List an organization\'s language overrides
120093
- * @param {string} [locale] Filter by locale
120094
120089
  * @param {number} [page] Page number
120095
120090
  * @param {number} [pageSize] Number of items per page
120096
120091
  * @param {string} [orderBy] Field to order by
@@ -120098,7 +120093,7 @@ export const OrganizationLanguageoverridesApiAxiosParamCreator = function (confi
120098
120093
  * @param {*} [options] Override http request option.
120099
120094
  * @throws {RequiredError}
120100
120095
  */
120101
- getOrganizationLanguageOverrides: async (locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120096
+ getOrganizationLanguageOverrides: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120102
120097
  const localVarPath = `/organization/language-overrides`;
120103
120098
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
120104
120099
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -120117,10 +120112,6 @@ export const OrganizationLanguageoverridesApiAxiosParamCreator = function (confi
120117
120112
  // authentication OrganizationId required
120118
120113
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
120119
120114
 
120120
- if (locale !== undefined) {
120121
- localVarQueryParameter['locale'] = locale;
120122
- }
120123
-
120124
120115
  if (page !== undefined) {
120125
120116
  localVarQueryParameter['page'] = page;
120126
120117
  }
@@ -120149,20 +120140,16 @@ export const OrganizationLanguageoverridesApiAxiosParamCreator = function (confi
120149
120140
  };
120150
120141
  },
120151
120142
  /**
120152
- * 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.
120143
+ * 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.
120153
120144
  * @summary Create or update a language override
120154
- * @param {string} locale The locale identifier
120155
120145
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
120156
120146
  * @param {*} [options] Override http request option.
120157
120147
  * @throws {RequiredError}
120158
120148
  */
120159
- upsertOrganizationLanguageOverride: async (locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120160
- // verify required parameter 'locale' is not null or undefined
120161
- assertParamExists('upsertOrganizationLanguageOverride', 'locale', locale)
120149
+ upsertOrganizationLanguageOverride: async (organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
120162
120150
  // verify required parameter 'organizationLanguageOverrideUpsertInputs' is not null or undefined
120163
120151
  assertParamExists('upsertOrganizationLanguageOverride', 'organizationLanguageOverrideUpsertInputs', organizationLanguageOverrideUpsertInputs)
120164
- const localVarPath = `/organization/language-overrides/{locale}`
120165
- .replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
120152
+ const localVarPath = `/organization/language-overrides`;
120166
120153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
120167
120154
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
120168
120155
  let baseOptions;
@@ -120203,23 +120190,21 @@ export const OrganizationLanguageoverridesApiFp = function(configuration?: Confi
120203
120190
  const localVarAxiosParamCreator = OrganizationLanguageoverridesApiAxiosParamCreator(configuration)
120204
120191
  return {
120205
120192
  /**
120206
- * 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.
120193
+ * 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.
120207
120194
  * @summary Delete a language override
120208
- * @param {string} locale The locale identifier
120209
120195
  * @param {string} key Filter by key
120210
120196
  * @param {*} [options] Override http request option.
120211
120197
  * @throws {RequiredError}
120212
120198
  */
120213
- async deleteOrganizationLanguageOverride(locale: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
120214
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationLanguageOverride(locale, key, options);
120199
+ async deleteOrganizationLanguageOverride(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
120200
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteOrganizationLanguageOverride(key, options);
120215
120201
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120216
120202
  const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.deleteOrganizationLanguageOverride']?.[localVarOperationServerIndex]?.url;
120217
120203
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120218
120204
  },
120219
120205
  /**
120220
- * 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.
120206
+ * 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.
120221
120207
  * @summary List an organization\'s language overrides
120222
- * @param {string} [locale] Filter by locale
120223
120208
  * @param {number} [page] Page number
120224
120209
  * @param {number} [pageSize] Number of items per page
120225
120210
  * @param {string} [orderBy] Field to order by
@@ -120227,22 +120212,21 @@ export const OrganizationLanguageoverridesApiFp = function(configuration?: Confi
120227
120212
  * @param {*} [options] Override http request option.
120228
120213
  * @throws {RequiredError}
120229
120214
  */
120230
- async getOrganizationLanguageOverrides(locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>> {
120231
- const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLanguageOverrides(locale, page, pageSize, orderBy, search, options);
120215
+ async getOrganizationLanguageOverrides(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>> {
120216
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOrganizationLanguageOverrides(page, pageSize, orderBy, search, options);
120232
120217
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120233
120218
  const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.getOrganizationLanguageOverrides']?.[localVarOperationServerIndex]?.url;
120234
120219
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
120235
120220
  },
120236
120221
  /**
120237
- * 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.
120222
+ * 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.
120238
120223
  * @summary Create or update a language override
120239
- * @param {string} locale The locale identifier
120240
120224
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
120241
120225
  * @param {*} [options] Override http request option.
120242
120226
  * @throws {RequiredError}
120243
120227
  */
120244
- async upsertOrganizationLanguageOverride(locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
120245
- const localVarAxiosArgs = await localVarAxiosParamCreator.upsertOrganizationLanguageOverride(locale, organizationLanguageOverrideUpsertInputs, options);
120228
+ async upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>> {
120229
+ const localVarAxiosArgs = await localVarAxiosParamCreator.upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs, options);
120246
120230
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
120247
120231
  const localVarOperationServerBasePath = operationServerMap['OrganizationLanguageoverridesApi.upsertOrganizationLanguageOverride']?.[localVarOperationServerIndex]?.url;
120248
120232
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -120257,34 +120241,34 @@ export const OrganizationLanguageoverridesApiFactory = function (configuration?:
120257
120241
  const localVarFp = OrganizationLanguageoverridesApiFp(configuration)
120258
120242
  return {
120259
120243
  /**
120260
- * 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.
120244
+ * 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.
120261
120245
  * @summary Delete a language override
120262
120246
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
120263
120247
  * @param {*} [options] Override http request option.
120264
120248
  * @throws {RequiredError}
120265
120249
  */
120266
120250
  deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response> {
120267
- return localVarFp.deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(axios, basePath));
120251
+ return localVarFp.deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(axios, basePath));
120268
120252
  },
120269
120253
  /**
120270
- * 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.
120254
+ * 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.
120271
120255
  * @summary List an organization\'s language overrides
120272
120256
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
120273
120257
  * @param {*} [options] Override http request option.
120274
120258
  * @throws {RequiredError}
120275
120259
  */
120276
120260
  getOrganizationLanguageOverrides(requestParameters: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationLanguageOverrides200Response> {
120277
- return localVarFp.getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
120261
+ return localVarFp.getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
120278
120262
  },
120279
120263
  /**
120280
- * 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.
120264
+ * 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.
120281
120265
  * @summary Create or update a language override
120282
120266
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
120283
120267
  * @param {*} [options] Override http request option.
120284
120268
  * @throws {RequiredError}
120285
120269
  */
120286
120270
  upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response> {
120287
- return localVarFp.upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
120271
+ return localVarFp.upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
120288
120272
  },
120289
120273
  };
120290
120274
  };
@@ -120293,11 +120277,6 @@ export const OrganizationLanguageoverridesApiFactory = function (configuration?:
120293
120277
  * Request parameters for deleteOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
120294
120278
  */
120295
120279
  export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest {
120296
- /**
120297
- * The locale identifier
120298
- */
120299
- readonly locale: string
120300
-
120301
120280
  /**
120302
120281
  * Filter by key
120303
120282
  */
@@ -120308,11 +120287,6 @@ export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverr
120308
120287
  * Request parameters for getOrganizationLanguageOverrides operation in OrganizationLanguageoverridesApi.
120309
120288
  */
120310
120289
  export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest {
120311
- /**
120312
- * Filter by locale
120313
- */
120314
- readonly locale?: string
120315
-
120316
120290
  /**
120317
120291
  * Page number
120318
120292
  */
@@ -120338,11 +120312,6 @@ export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverride
120338
120312
  * Request parameters for upsertOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
120339
120313
  */
120340
120314
  export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest {
120341
- /**
120342
- * The locale identifier
120343
- */
120344
- readonly locale: string
120345
-
120346
120315
  readonly organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs
120347
120316
  }
120348
120317
 
@@ -120351,36 +120320,36 @@ export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverr
120351
120320
  */
120352
120321
  export class OrganizationLanguageoverridesApi extends BaseAPI {
120353
120322
  /**
120354
- * 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.
120323
+ * 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.
120355
120324
  * @summary Delete a language override
120356
120325
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
120357
120326
  * @param {*} [options] Override http request option.
120358
120327
  * @throws {RequiredError}
120359
120328
  */
120360
120329
  public deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig) {
120361
- return OrganizationLanguageoverridesApiFp(this.configuration).deleteOrganizationLanguageOverride(requestParameters.locale, requestParameters.key, options).then((request) => request(this.axios, this.basePath));
120330
+ return OrganizationLanguageoverridesApiFp(this.configuration).deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
120362
120331
  }
120363
120332
 
120364
120333
  /**
120365
- * 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.
120334
+ * 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.
120366
120335
  * @summary List an organization\'s language overrides
120367
120336
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
120368
120337
  * @param {*} [options] Override http request option.
120369
120338
  * @throws {RequiredError}
120370
120339
  */
120371
120340
  public getOrganizationLanguageOverrides(requestParameters: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest = {}, options?: RawAxiosRequestConfig) {
120372
- return OrganizationLanguageoverridesApiFp(this.configuration).getOrganizationLanguageOverrides(requestParameters.locale, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
120341
+ return OrganizationLanguageoverridesApiFp(this.configuration).getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
120373
120342
  }
120374
120343
 
120375
120344
  /**
120376
- * 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.
120345
+ * 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.
120377
120346
  * @summary Create or update a language override
120378
120347
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
120379
120348
  * @param {*} [options] Override http request option.
120380
120349
  * @throws {RequiredError}
120381
120350
  */
120382
120351
  public upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig) {
120383
- return OrganizationLanguageoverridesApiFp(this.configuration).upsertOrganizationLanguageOverride(requestParameters.locale, requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
120352
+ return OrganizationLanguageoverridesApiFp(this.configuration).upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
120384
120353
  }
120385
120354
  }
120386
120355
 
package/dist/api.d.ts CHANGED
@@ -4726,7 +4726,8 @@ export declare enum EventEmailType {
4726
4726
  Cancellation = "cancellation",
4727
4727
  Reminder = "reminder",
4728
4728
  Approval = "approval",
4729
- Denial = "denial"
4729
+ Denial = "denial",
4730
+ Transfer = "transfer"
4730
4731
  }
4731
4732
  export interface EventEmailUpdateInputs {
4732
4733
  'body'?: string | null;
@@ -10014,15 +10015,18 @@ export interface OrganizationAllOfOAuth {
10014
10015
  'id': string;
10015
10016
  }
10016
10017
  export interface OrganizationLanguageOverride {
10017
- 'locale': string;
10018
10018
  'key': string;
10019
- 'value': string;
10019
+ 'values': {
10020
+ [key: string]: any;
10021
+ };
10020
10022
  'createdAt': string;
10021
10023
  'updatedAt': string;
10022
10024
  }
10023
10025
  export interface OrganizationLanguageOverrideUpsertInputs {
10024
10026
  'key': string;
10025
- 'value': string;
10027
+ 'values': {
10028
+ [key: string]: any;
10029
+ };
10026
10030
  }
10027
10031
  export interface OrganizationMembership {
10028
10032
  'id': string;
@@ -31748,7 +31752,7 @@ export declare class EventsCouponsApi extends BaseAPI {
31748
31752
  */
31749
31753
  export declare const EventsEmailsApiAxiosParamCreator: (configuration?: Configuration) => {
31750
31754
  /**
31751
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
31755
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
31752
31756
  * @summary Get an event\'s email configuration
31753
31757
  * @param {string} eventId The event identifier
31754
31758
  * @param {string} type The type identifier
@@ -31772,7 +31776,7 @@ export declare const EventsEmailsApiAxiosParamCreator: (configuration?: Configur
31772
31776
  */
31773
31777
  export declare const EventsEmailsApiFp: (configuration?: Configuration) => {
31774
31778
  /**
31775
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
31779
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
31776
31780
  * @summary Get an event\'s email configuration
31777
31781
  * @param {string} eventId The event identifier
31778
31782
  * @param {string} type The type identifier
@@ -31796,7 +31800,7 @@ export declare const EventsEmailsApiFp: (configuration?: Configuration) => {
31796
31800
  */
31797
31801
  export declare const EventsEmailsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31798
31802
  /**
31799
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
31803
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
31800
31804
  * @summary Get an event\'s email configuration
31801
31805
  * @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
31802
31806
  * @param {*} [options] Override http request option.
@@ -31844,7 +31848,7 @@ export interface EventsEmailsApiUpdateEventEmailRequest {
31844
31848
  */
31845
31849
  export declare class EventsEmailsApi extends BaseAPI {
31846
31850
  /**
31847
- * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or denial; requires read permission on events.
31851
+ * Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, denial, or transfer; requires read permission on events.
31848
31852
  * @summary Get an event\'s email configuration
31849
31853
  * @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
31850
31854
  * @param {*} [options] Override http request option.
@@ -66416,18 +66420,16 @@ export declare class OrganizationIntegrationsApi extends BaseAPI {
66416
66420
  */
66417
66421
  export declare const OrganizationLanguageoverridesApiAxiosParamCreator: (configuration?: Configuration) => {
66418
66422
  /**
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.
66423
+ * 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
66424
  * @summary Delete a language override
66421
- * @param {string} locale The locale identifier
66422
66425
  * @param {string} key Filter by key
66423
66426
  * @param {*} [options] Override http request option.
66424
66427
  * @throws {RequiredError}
66425
66428
  */
66426
- deleteOrganizationLanguageOverride: (locale: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66429
+ deleteOrganizationLanguageOverride: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66427
66430
  /**
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.
66431
+ * 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
66432
  * @summary List an organization\'s language overrides
66430
- * @param {string} [locale] Filter by locale
66431
66433
  * @param {number} [page] Page number
66432
66434
  * @param {number} [pageSize] Number of items per page
66433
66435
  * @param {string} [orderBy] Field to order by
@@ -66435,34 +66437,31 @@ export declare const OrganizationLanguageoverridesApiAxiosParamCreator: (configu
66435
66437
  * @param {*} [options] Override http request option.
66436
66438
  * @throws {RequiredError}
66437
66439
  */
66438
- getOrganizationLanguageOverrides: (locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66440
+ getOrganizationLanguageOverrides: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66439
66441
  /**
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.
66442
+ * 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
66443
  * @summary Create or update a language override
66442
- * @param {string} locale The locale identifier
66443
66444
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66444
66445
  * @param {*} [options] Override http request option.
66445
66446
  * @throws {RequiredError}
66446
66447
  */
66447
- upsertOrganizationLanguageOverride: (locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66448
+ upsertOrganizationLanguageOverride: (organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66448
66449
  };
66449
66450
  /**
66450
66451
  * OrganizationLanguageoverridesApi - functional programming interface
66451
66452
  */
66452
66453
  export declare const OrganizationLanguageoverridesApiFp: (configuration?: Configuration) => {
66453
66454
  /**
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.
66455
+ * 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
66456
  * @summary Delete a language override
66456
- * @param {string} locale The locale identifier
66457
66457
  * @param {string} key Filter by key
66458
66458
  * @param {*} [options] Override http request option.
66459
66459
  * @throws {RequiredError}
66460
66460
  */
66461
- deleteOrganizationLanguageOverride(locale: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66461
+ deleteOrganizationLanguageOverride(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66462
66462
  /**
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.
66463
+ * 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
66464
  * @summary List an organization\'s language overrides
66465
- * @param {string} [locale] Filter by locale
66466
66465
  * @param {number} [page] Page number
66467
66466
  * @param {number} [pageSize] Number of items per page
66468
66467
  * @param {string} [orderBy] Field to order by
@@ -66470,23 +66469,22 @@ export declare const OrganizationLanguageoverridesApiFp: (configuration?: Config
66470
66469
  * @param {*} [options] Override http request option.
66471
66470
  * @throws {RequiredError}
66472
66471
  */
66473
- getOrganizationLanguageOverrides(locale?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>>;
66472
+ getOrganizationLanguageOverrides(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>>;
66474
66473
  /**
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.
66474
+ * 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
66475
  * @summary Create or update a language override
66477
- * @param {string} locale The locale identifier
66478
66476
  * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66479
66477
  * @param {*} [options] Override http request option.
66480
66478
  * @throws {RequiredError}
66481
66479
  */
66482
- upsertOrganizationLanguageOverride(locale: string, organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66480
+ upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66483
66481
  };
66484
66482
  /**
66485
66483
  * OrganizationLanguageoverridesApi - factory interface
66486
66484
  */
66487
66485
  export declare const OrganizationLanguageoverridesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66488
66486
  /**
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.
66487
+ * 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
66488
  * @summary Delete a language override
66491
66489
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66492
66490
  * @param {*} [options] Override http request option.
@@ -66494,7 +66492,7 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66494
66492
  */
66495
66493
  deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
66496
66494
  /**
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.
66495
+ * 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
66496
  * @summary List an organization\'s language overrides
66499
66497
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66500
66498
  * @param {*} [options] Override http request option.
@@ -66502,7 +66500,7 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66502
66500
  */
66503
66501
  getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationLanguageOverrides200Response>;
66504
66502
  /**
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.
66503
+ * 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
66504
  * @summary Create or update a language override
66507
66505
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66508
66506
  * @param {*} [options] Override http request option.
@@ -66514,10 +66512,6 @@ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: C
66514
66512
  * Request parameters for deleteOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66515
66513
  */
66516
66514
  export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest {
66517
- /**
66518
- * The locale identifier
66519
- */
66520
- readonly locale: string;
66521
66515
  /**
66522
66516
  * Filter by key
66523
66517
  */
@@ -66527,10 +66521,6 @@ export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverr
66527
66521
  * Request parameters for getOrganizationLanguageOverrides operation in OrganizationLanguageoverridesApi.
66528
66522
  */
66529
66523
  export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest {
66530
- /**
66531
- * Filter by locale
66532
- */
66533
- readonly locale?: string;
66534
66524
  /**
66535
66525
  * Page number
66536
66526
  */
@@ -66552,10 +66542,6 @@ export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverride
66552
66542
  * Request parameters for upsertOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66553
66543
  */
66554
66544
  export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest {
66555
- /**
66556
- * The locale identifier
66557
- */
66558
- readonly locale: string;
66559
66545
  readonly organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs;
66560
66546
  }
66561
66547
  /**
@@ -66563,7 +66549,7 @@ export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverr
66563
66549
  */
66564
66550
  export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66565
66551
  /**
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.
66552
+ * 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
66553
  * @summary Delete a language override
66568
66554
  * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66569
66555
  * @param {*} [options] Override http request option.
@@ -66571,7 +66557,7 @@ export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66571
66557
  */
66572
66558
  deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
66573
66559
  /**
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.
66560
+ * 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
66561
  * @summary List an organization\'s language overrides
66576
66562
  * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66577
66563
  * @param {*} [options] Override http request option.
@@ -66579,7 +66565,7 @@ export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66579
66565
  */
66580
66566
  getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationLanguageOverrides200Response, any, {}>>;
66581
66567
  /**
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.
66568
+ * 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
66569
  * @summary Create or update a language override
66584
66570
  * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66585
66571
  * @param {*} [options] Override http request option.