@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 +2 -2
- package/api.ts +37 -68
- package/dist/api.d.ts +30 -44
- package/dist/api.js +34 -48
- package/dist/esm/api.d.ts +30 -44
- package/dist/esm/api.js +34 -48
- package/docs/EventEmailType.md +2 -0
- package/docs/EventsEmailsApi.md +1 -1
- package/docs/OrganizationLanguageOverride.md +2 -4
- package/docs/OrganizationLanguageOverrideUpsertInputs.md +2 -2
- package/docs/OrganizationLanguageoverridesApi.md +5 -14
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -643,6 +643,7 @@ var EventEmailType;
|
|
|
643
643
|
EventEmailType["Reminder"] = "reminder";
|
|
644
644
|
EventEmailType["Approval"] = "approval";
|
|
645
645
|
EventEmailType["Denial"] = "denial";
|
|
646
|
+
EventEmailType["Transfer"] = "transfer";
|
|
646
647
|
})(EventEmailType || (exports.EventEmailType = EventEmailType = {}));
|
|
647
648
|
var EventReportDateType;
|
|
648
649
|
(function (EventReportDateType) {
|
|
@@ -31376,7 +31377,7 @@ exports.EventsCouponsApi = EventsCouponsApi;
|
|
|
31376
31377
|
const EventsEmailsApiAxiosParamCreator = function (configuration) {
|
|
31377
31378
|
return {
|
|
31378
31379
|
/**
|
|
31379
|
-
* Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or
|
|
31380
|
+
* 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.
|
|
31380
31381
|
* @summary Get an event\'s email configuration
|
|
31381
31382
|
* @param {string} eventId The event identifier
|
|
31382
31383
|
* @param {string} type The type identifier
|
|
@@ -31466,7 +31467,7 @@ const EventsEmailsApiFp = function (configuration) {
|
|
|
31466
31467
|
const localVarAxiosParamCreator = (0, exports.EventsEmailsApiAxiosParamCreator)(configuration);
|
|
31467
31468
|
return {
|
|
31468
31469
|
/**
|
|
31469
|
-
* Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or
|
|
31470
|
+
* 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.
|
|
31470
31471
|
* @summary Get an event\'s email configuration
|
|
31471
31472
|
* @param {string} eventId The event identifier
|
|
31472
31473
|
* @param {string} type The type identifier
|
|
@@ -31510,7 +31511,7 @@ const EventsEmailsApiFactory = function (configuration, basePath, axios) {
|
|
|
31510
31511
|
const localVarFp = (0, exports.EventsEmailsApiFp)(configuration);
|
|
31511
31512
|
return {
|
|
31512
31513
|
/**
|
|
31513
|
-
* Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or
|
|
31514
|
+
* 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.
|
|
31514
31515
|
* @summary Get an event\'s email configuration
|
|
31515
31516
|
* @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
|
|
31516
31517
|
* @param {*} [options] Override http request option.
|
|
@@ -31537,7 +31538,7 @@ exports.EventsEmailsApiFactory = EventsEmailsApiFactory;
|
|
|
31537
31538
|
*/
|
|
31538
31539
|
class EventsEmailsApi extends base_1.BaseAPI {
|
|
31539
31540
|
/**
|
|
31540
|
-
* Returns the configuration (body, reply-to, enabled state, calendar file setting) for a given event email type such as confirmation, cancellation, reminder, approval, or
|
|
31541
|
+
* 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.
|
|
31541
31542
|
* @summary Get an event\'s email configuration
|
|
31542
31543
|
* @param {EventsEmailsApiGetEventEmailRequest} requestParameters Request parameters.
|
|
31543
31544
|
* @param {*} [options] Override http request option.
|
|
@@ -83253,20 +83254,16 @@ exports.OrganizationIntegrationsApi = OrganizationIntegrationsApi;
|
|
|
83253
83254
|
const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuration) {
|
|
83254
83255
|
return {
|
|
83255
83256
|
/**
|
|
83256
|
-
* Deletes the organization\'s i18n string override for the given
|
|
83257
|
+
* 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
83258
|
* @summary Delete a language override
|
|
83258
|
-
* @param {string} locale The locale identifier
|
|
83259
83259
|
* @param {string} key Filter by key
|
|
83260
83260
|
* @param {*} [options] Override http request option.
|
|
83261
83261
|
* @throws {RequiredError}
|
|
83262
83262
|
*/
|
|
83263
|
-
deleteOrganizationLanguageOverride: (
|
|
83264
|
-
// verify required parameter 'locale' is not null or undefined
|
|
83265
|
-
(0, common_1.assertParamExists)('deleteOrganizationLanguageOverride', 'locale', locale);
|
|
83263
|
+
deleteOrganizationLanguageOverride: (key_1, ...args_1) => __awaiter(this, [key_1, ...args_1], void 0, function* (key, options = {}) {
|
|
83266
83264
|
// verify required parameter 'key' is not null or undefined
|
|
83267
83265
|
(0, common_1.assertParamExists)('deleteOrganizationLanguageOverride', 'key', key);
|
|
83268
|
-
const localVarPath = `/organization/language-overrides
|
|
83269
|
-
.replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
|
|
83266
|
+
const localVarPath = `/organization/language-overrides`;
|
|
83270
83267
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83271
83268
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
83272
83269
|
let baseOptions;
|
|
@@ -83293,9 +83290,8 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
|
|
|
83293
83290
|
};
|
|
83294
83291
|
}),
|
|
83295
83292
|
/**
|
|
83296
|
-
* Returns a paginated list of the organization\'s i18n string overrides,
|
|
83293
|
+
* 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
83294
|
* @summary List an organization\'s language overrides
|
|
83298
|
-
* @param {string} [locale] Filter by locale
|
|
83299
83295
|
* @param {number} [page] Page number
|
|
83300
83296
|
* @param {number} [pageSize] Number of items per page
|
|
83301
83297
|
* @param {string} [orderBy] Field to order by
|
|
@@ -83303,7 +83299,7 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
|
|
|
83303
83299
|
* @param {*} [options] Override http request option.
|
|
83304
83300
|
* @throws {RequiredError}
|
|
83305
83301
|
*/
|
|
83306
|
-
getOrganizationLanguageOverrides: (
|
|
83302
|
+
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
83303
|
const localVarPath = `/organization/language-overrides`;
|
|
83308
83304
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83309
83305
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -83318,9 +83314,6 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
|
|
|
83318
83314
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
83319
83315
|
// authentication OrganizationId required
|
|
83320
83316
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
83321
|
-
if (locale !== undefined) {
|
|
83322
|
-
localVarQueryParameter['locale'] = locale;
|
|
83323
|
-
}
|
|
83324
83317
|
if (page !== undefined) {
|
|
83325
83318
|
localVarQueryParameter['page'] = page;
|
|
83326
83319
|
}
|
|
@@ -83343,20 +83336,16 @@ const OrganizationLanguageoverridesApiAxiosParamCreator = function (configuratio
|
|
|
83343
83336
|
};
|
|
83344
83337
|
}),
|
|
83345
83338
|
/**
|
|
83346
|
-
* Upserts the organization\'s i18n string override for
|
|
83339
|
+
* 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
83340
|
* @summary Create or update a language override
|
|
83348
|
-
* @param {string} locale The locale identifier
|
|
83349
83341
|
* @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
|
|
83350
83342
|
* @param {*} [options] Override http request option.
|
|
83351
83343
|
* @throws {RequiredError}
|
|
83352
83344
|
*/
|
|
83353
|
-
upsertOrganizationLanguageOverride: (
|
|
83354
|
-
// verify required parameter 'locale' is not null or undefined
|
|
83355
|
-
(0, common_1.assertParamExists)('upsertOrganizationLanguageOverride', 'locale', locale);
|
|
83345
|
+
upsertOrganizationLanguageOverride: (organizationLanguageOverrideUpsertInputs_1, ...args_1) => __awaiter(this, [organizationLanguageOverrideUpsertInputs_1, ...args_1], void 0, function* (organizationLanguageOverrideUpsertInputs, options = {}) {
|
|
83356
83346
|
// verify required parameter 'organizationLanguageOverrideUpsertInputs' is not null or undefined
|
|
83357
83347
|
(0, common_1.assertParamExists)('upsertOrganizationLanguageOverride', 'organizationLanguageOverrideUpsertInputs', organizationLanguageOverrideUpsertInputs);
|
|
83358
|
-
const localVarPath = `/organization/language-overrides
|
|
83359
|
-
.replace(`{${"locale"}}`, encodeURIComponent(String(locale)));
|
|
83348
|
+
const localVarPath = `/organization/language-overrides`;
|
|
83360
83349
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83361
83350
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
83362
83351
|
let baseOptions;
|
|
@@ -83391,26 +83380,24 @@ const OrganizationLanguageoverridesApiFp = function (configuration) {
|
|
|
83391
83380
|
const localVarAxiosParamCreator = (0, exports.OrganizationLanguageoverridesApiAxiosParamCreator)(configuration);
|
|
83392
83381
|
return {
|
|
83393
83382
|
/**
|
|
83394
|
-
* Deletes the organization\'s i18n string override for the given
|
|
83383
|
+
* 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
83384
|
* @summary Delete a language override
|
|
83396
|
-
* @param {string} locale The locale identifier
|
|
83397
83385
|
* @param {string} key Filter by key
|
|
83398
83386
|
* @param {*} [options] Override http request option.
|
|
83399
83387
|
* @throws {RequiredError}
|
|
83400
83388
|
*/
|
|
83401
|
-
deleteOrganizationLanguageOverride(
|
|
83389
|
+
deleteOrganizationLanguageOverride(key, options) {
|
|
83402
83390
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83403
83391
|
var _a, _b, _c;
|
|
83404
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationLanguageOverride(
|
|
83392
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteOrganizationLanguageOverride(key, options);
|
|
83405
83393
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
83406
83394
|
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
83395
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83408
83396
|
});
|
|
83409
83397
|
},
|
|
83410
83398
|
/**
|
|
83411
|
-
* Returns a paginated list of the organization\'s i18n string overrides,
|
|
83399
|
+
* 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
83400
|
* @summary List an organization\'s language overrides
|
|
83413
|
-
* @param {string} [locale] Filter by locale
|
|
83414
83401
|
* @param {number} [page] Page number
|
|
83415
83402
|
* @param {number} [pageSize] Number of items per page
|
|
83416
83403
|
* @param {string} [orderBy] Field to order by
|
|
@@ -83418,27 +83405,26 @@ const OrganizationLanguageoverridesApiFp = function (configuration) {
|
|
|
83418
83405
|
* @param {*} [options] Override http request option.
|
|
83419
83406
|
* @throws {RequiredError}
|
|
83420
83407
|
*/
|
|
83421
|
-
getOrganizationLanguageOverrides(
|
|
83408
|
+
getOrganizationLanguageOverrides(page, pageSize, orderBy, search, options) {
|
|
83422
83409
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83423
83410
|
var _a, _b, _c;
|
|
83424
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationLanguageOverrides(
|
|
83411
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationLanguageOverrides(page, pageSize, orderBy, search, options);
|
|
83425
83412
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
83426
83413
|
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
83414
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
83428
83415
|
});
|
|
83429
83416
|
},
|
|
83430
83417
|
/**
|
|
83431
|
-
* Upserts the organization\'s i18n string override for
|
|
83418
|
+
* 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
83419
|
* @summary Create or update a language override
|
|
83433
|
-
* @param {string} locale The locale identifier
|
|
83434
83420
|
* @param {OrganizationLanguageOverrideUpsertInputs} organizationLanguageOverrideUpsertInputs
|
|
83435
83421
|
* @param {*} [options] Override http request option.
|
|
83436
83422
|
* @throws {RequiredError}
|
|
83437
83423
|
*/
|
|
83438
|
-
upsertOrganizationLanguageOverride(
|
|
83424
|
+
upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs, options) {
|
|
83439
83425
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83440
83426
|
var _a, _b, _c;
|
|
83441
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.upsertOrganizationLanguageOverride(
|
|
83427
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.upsertOrganizationLanguageOverride(organizationLanguageOverrideUpsertInputs, options);
|
|
83442
83428
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
83443
83429
|
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
83430
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -83454,34 +83440,34 @@ const OrganizationLanguageoverridesApiFactory = function (configuration, basePat
|
|
|
83454
83440
|
const localVarFp = (0, exports.OrganizationLanguageoverridesApiFp)(configuration);
|
|
83455
83441
|
return {
|
|
83456
83442
|
/**
|
|
83457
|
-
* Deletes the organization\'s i18n string override for the given
|
|
83443
|
+
* 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
83444
|
* @summary Delete a language override
|
|
83459
83445
|
* @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
83460
83446
|
* @param {*} [options] Override http request option.
|
|
83461
83447
|
* @throws {RequiredError}
|
|
83462
83448
|
*/
|
|
83463
83449
|
deleteOrganizationLanguageOverride(requestParameters, options) {
|
|
83464
|
-
return localVarFp.deleteOrganizationLanguageOverride(requestParameters.
|
|
83450
|
+
return localVarFp.deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(axios, basePath));
|
|
83465
83451
|
},
|
|
83466
83452
|
/**
|
|
83467
|
-
* Returns a paginated list of the organization\'s i18n string overrides,
|
|
83453
|
+
* 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
83454
|
* @summary List an organization\'s language overrides
|
|
83469
83455
|
* @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
|
|
83470
83456
|
* @param {*} [options] Override http request option.
|
|
83471
83457
|
* @throws {RequiredError}
|
|
83472
83458
|
*/
|
|
83473
83459
|
getOrganizationLanguageOverrides(requestParameters = {}, options) {
|
|
83474
|
-
return localVarFp.getOrganizationLanguageOverrides(requestParameters.
|
|
83460
|
+
return localVarFp.getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
83475
83461
|
},
|
|
83476
83462
|
/**
|
|
83477
|
-
* Upserts the organization\'s i18n string override for
|
|
83463
|
+
* 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
83464
|
* @summary Create or update a language override
|
|
83479
83465
|
* @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
83480
83466
|
* @param {*} [options] Override http request option.
|
|
83481
83467
|
* @throws {RequiredError}
|
|
83482
83468
|
*/
|
|
83483
83469
|
upsertOrganizationLanguageOverride(requestParameters, options) {
|
|
83484
|
-
return localVarFp.upsertOrganizationLanguageOverride(requestParameters.
|
|
83470
|
+
return localVarFp.upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(axios, basePath));
|
|
83485
83471
|
},
|
|
83486
83472
|
};
|
|
83487
83473
|
};
|
|
@@ -83491,34 +83477,34 @@ exports.OrganizationLanguageoverridesApiFactory = OrganizationLanguageoverridesA
|
|
|
83491
83477
|
*/
|
|
83492
83478
|
class OrganizationLanguageoverridesApi extends base_1.BaseAPI {
|
|
83493
83479
|
/**
|
|
83494
|
-
* Deletes the organization\'s i18n string override for the given
|
|
83480
|
+
* 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
83481
|
* @summary Delete a language override
|
|
83496
83482
|
* @param {OrganizationLanguageoverridesApiDeleteOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
83497
83483
|
* @param {*} [options] Override http request option.
|
|
83498
83484
|
* @throws {RequiredError}
|
|
83499
83485
|
*/
|
|
83500
83486
|
deleteOrganizationLanguageOverride(requestParameters, options) {
|
|
83501
|
-
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).deleteOrganizationLanguageOverride(requestParameters.
|
|
83487
|
+
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).deleteOrganizationLanguageOverride(requestParameters.key, options).then((request) => request(this.axios, this.basePath));
|
|
83502
83488
|
}
|
|
83503
83489
|
/**
|
|
83504
|
-
* Returns a paginated list of the organization\'s i18n string overrides,
|
|
83490
|
+
* 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
83491
|
* @summary List an organization\'s language overrides
|
|
83506
83492
|
* @param {OrganizationLanguageoverridesApiGetOrganizationLanguageOverridesRequest} requestParameters Request parameters.
|
|
83507
83493
|
* @param {*} [options] Override http request option.
|
|
83508
83494
|
* @throws {RequiredError}
|
|
83509
83495
|
*/
|
|
83510
83496
|
getOrganizationLanguageOverrides(requestParameters = {}, options) {
|
|
83511
|
-
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).getOrganizationLanguageOverrides(requestParameters.
|
|
83497
|
+
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).getOrganizationLanguageOverrides(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
83512
83498
|
}
|
|
83513
83499
|
/**
|
|
83514
|
-
* Upserts the organization\'s i18n string override for
|
|
83500
|
+
* 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
83501
|
* @summary Create or update a language override
|
|
83516
83502
|
* @param {OrganizationLanguageoverridesApiUpsertOrganizationLanguageOverrideRequest} requestParameters Request parameters.
|
|
83517
83503
|
* @param {*} [options] Override http request option.
|
|
83518
83504
|
* @throws {RequiredError}
|
|
83519
83505
|
*/
|
|
83520
83506
|
upsertOrganizationLanguageOverride(requestParameters, options) {
|
|
83521
|
-
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).upsertOrganizationLanguageOverride(requestParameters.
|
|
83507
|
+
return (0, exports.OrganizationLanguageoverridesApiFp)(this.configuration).upsertOrganizationLanguageOverride(requestParameters.organizationLanguageOverrideUpsertInputs, options).then((request) => request(this.axios, this.basePath));
|
|
83522
83508
|
}
|
|
83523
83509
|
}
|
|
83524
83510
|
exports.OrganizationLanguageoverridesApi = OrganizationLanguageoverridesApi;
|
package/dist/esm/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
|
-
'
|
|
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
|
-
'
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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: (
|
|
66429
|
+
deleteOrganizationLanguageOverride: (key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
66427
66430
|
/**
|
|
66428
|
-
* Returns a paginated list of the organization\'s i18n string overrides,
|
|
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: (
|
|
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
|
|
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: (
|
|
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
|
|
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(
|
|
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,
|
|
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(
|
|
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
|
|
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(
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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,
|
|
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
|
|
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.
|