@connectedxm/admin-sdk 7.9.5 → 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.d.ts CHANGED
@@ -8235,6 +8235,15 @@ export interface GetOrganizationDomain200Response {
8235
8235
  export declare enum GetOrganizationDomain200ResponseStatusEnum {
8236
8236
  Ok = "ok"
8237
8237
  }
8238
+ export interface GetOrganizationLanguageOverrides200Response {
8239
+ 'status': GetOrganizationLanguageOverrides200ResponseStatusEnum;
8240
+ 'message': string;
8241
+ 'data': Array<OrganizationLanguageOverride>;
8242
+ 'count'?: number;
8243
+ }
8244
+ export declare enum GetOrganizationLanguageOverrides200ResponseStatusEnum {
8245
+ Ok = "ok"
8246
+ }
8238
8247
  export interface GetOrganizationModule200Response {
8239
8248
  'status': GetOrganizationModule200ResponseStatusEnum;
8240
8249
  'message': string;
@@ -10004,6 +10013,20 @@ export declare enum OrganizationActionType {
10004
10013
  export interface OrganizationAllOfOAuth {
10005
10014
  'id': string;
10006
10015
  }
10016
+ export interface OrganizationLanguageOverride {
10017
+ 'key': string;
10018
+ 'values': {
10019
+ [key: string]: any;
10020
+ };
10021
+ 'createdAt': string;
10022
+ 'updatedAt': string;
10023
+ }
10024
+ export interface OrganizationLanguageOverrideUpsertInputs {
10025
+ 'key': string;
10026
+ 'values': {
10027
+ [key: string]: any;
10028
+ };
10029
+ }
10007
10030
  export interface OrganizationMembership {
10008
10031
  'id': string;
10009
10032
  'organizationId': string;
@@ -66391,6 +66414,164 @@ export declare class OrganizationIntegrationsApi extends BaseAPI {
66391
66414
  */
66392
66415
  updateIntegration(requestParameters: OrganizationIntegrationsApiUpdateIntegrationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateIntegration200Response, any, {}>>;
66393
66416
  }
66417
+ /**
66418
+ * OrganizationLanguageoverridesApi - axios parameter creator
66419
+ */
66420
+ export declare const OrganizationLanguageoverridesApiAxiosParamCreator: (configuration?: Configuration) => {
66421
+ /**
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.
66423
+ * @summary Delete a language override
66424
+ * @param {string} key Filter by key
66425
+ * @param {*} [options] Override http request option.
66426
+ * @throws {RequiredError}
66427
+ */
66428
+ deleteOrganizationLanguageOverride: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66429
+ /**
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.
66431
+ * @summary List an organization\'s language overrides
66432
+ * @param {number} [page] Page number
66433
+ * @param {number} [pageSize] Number of items per page
66434
+ * @param {string} [orderBy] Field to order by
66435
+ * @param {string} [search] Search query
66436
+ * @param {*} [options] Override http request option.
66437
+ * @throws {RequiredError}
66438
+ */
66439
+ getOrganizationLanguageOverrides: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66440
+ /**
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.
66442
+ * @summary Create or update a language override
66443
+ * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66444
+ * @param {*} [options] Override http request option.
66445
+ * @throws {RequiredError}
66446
+ */
66447
+ upsertOrganizationLanguageOverride: (organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
66448
+ };
66449
+ /**
66450
+ * OrganizationLanguageoverridesApi - functional programming interface
66451
+ */
66452
+ export declare const OrganizationLanguageoverridesApiFp: (configuration?: Configuration) => {
66453
+ /**
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
+ * @summary Delete a language override
66456
+ * @param {string} key Filter by key
66457
+ * @param {*} [options] Override http request option.
66458
+ * @throws {RequiredError}
66459
+ */
66460
+ deleteOrganizationLanguageOverride(key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66461
+ /**
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.
66463
+ * @summary List an organization\'s language overrides
66464
+ * @param {number} [page] Page number
66465
+ * @param {number} [pageSize] Number of items per page
66466
+ * @param {string} [orderBy] Field to order by
66467
+ * @param {string} [search] Search query
66468
+ * @param {*} [options] Override http request option.
66469
+ * @throws {RequiredError}
66470
+ */
66471
+ getOrganizationLanguageOverrides(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetOrganizationLanguageOverrides200Response>>;
66472
+ /**
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.
66474
+ * @summary Create or update a language override
66475
+ * @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
66476
+ * @param {*} [options] Override http request option.
66477
+ * @throws {RequiredError}
66478
+ */
66479
+ upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SyncAccounts200Response>>;
66480
+ };
66481
+ /**
66482
+ * OrganizationLanguageoverridesApi - factory interface
66483
+ */
66484
+ export declare const OrganizationLanguageoverridesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
66485
+ /**
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.
66487
+ * @summary Delete a language override
66488
+ * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66489
+ * @param {*} [options] Override http request option.
66490
+ * @throws {RequiredError}
66491
+ */
66492
+ deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
66493
+ /**
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.
66495
+ * @summary List an organization\'s language overrides
66496
+ * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66497
+ * @param {*} [options] Override http request option.
66498
+ * @throws {RequiredError}
66499
+ */
66500
+ getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetOrganizationLanguageOverrides200Response>;
66501
+ /**
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.
66503
+ * @summary Create or update a language override
66504
+ * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66505
+ * @param {*} [options] Override http request option.
66506
+ * @throws {RequiredError}
66507
+ */
66508
+ upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): AxiosPromise<SyncAccounts200Response>;
66509
+ };
66510
+ /**
66511
+ * Request parameters for deleteOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66512
+ */
66513
+ export interface OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest {
66514
+ /**
66515
+ * Filter by key
66516
+ */
66517
+ readonly key: string;
66518
+ }
66519
+ /**
66520
+ * Request parameters for getOrganizationLanguageOverrides operation in OrganizationLanguageoverridesApi.
66521
+ */
66522
+ export interface OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest {
66523
+ /**
66524
+ * Page number
66525
+ */
66526
+ readonly page?: number;
66527
+ /**
66528
+ * Number of items per page
66529
+ */
66530
+ readonly pageSize?: number;
66531
+ /**
66532
+ * Field to order by
66533
+ */
66534
+ readonly orderBy?: string;
66535
+ /**
66536
+ * Search query
66537
+ */
66538
+ readonly search?: string;
66539
+ }
66540
+ /**
66541
+ * Request parameters for upsertOrganizationLanguageOverride operation in OrganizationLanguageoverridesApi.
66542
+ */
66543
+ export interface OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest {
66544
+ readonly organizationLanguageOverrideUpsertInputs: OrganizationLanguageOverrideUpsertInputs;
66545
+ }
66546
+ /**
66547
+ * OrganizationLanguageoverridesApi - object-oriented interface
66548
+ */
66549
+ export declare class OrganizationLanguageoverridesApi extends BaseAPI {
66550
+ /**
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.
66552
+ * @summary Delete a language override
66553
+ * @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66554
+ * @param {*} [options] Override http request option.
66555
+ * @throws {RequiredError}
66556
+ */
66557
+ deleteOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
66558
+ /**
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.
66560
+ * @summary List an organization\'s language overrides
66561
+ * @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
66562
+ * @param {*} [options] Override http request option.
66563
+ * @throws {RequiredError}
66564
+ */
66565
+ getOrganizationLanguageOverrides(requestParameters?: OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOrganizationLanguageOverrides200Response, any, {}>>;
66566
+ /**
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.
66568
+ * @summary Create or update a language override
66569
+ * @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
66570
+ * @param {*} [options] Override http request option.
66571
+ * @throws {RequiredError}
66572
+ */
66573
+ upsertOrganizationLanguageOverride(requestParameters: OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SyncAccounts200Response, any, {}>>;
66574
+ }
66394
66575
  /**
66395
66576
  * OrganizationModulesApi - axios parameter creator
66396
66577
  */