@connectedxm/admin-sdk 11.0.2 → 11.2.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/.openapi-generator/FILES +3 -2
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +392 -33
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +2 -1
- package/dist/AdminApi.js +1 -0
- package/dist/api.d.ts +223 -34
- package/dist/api.js +299 -26
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +2 -1
- package/dist/esm/AdminApi.js +2 -1
- package/dist/esm/api.d.ts +223 -34
- package/dist/esm/api.js +278 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/{CreateOrganizationWebhook200Response.md → AddEventPassChangeWebhook200Response.md} +3 -3
- package/docs/BadgeColorRuleType.md +2 -0
- package/docs/BaseEventOnSiteBadgeColorRule.md +4 -0
- package/docs/EventBadgeColorRuleCreateInputs.md +4 -0
- package/docs/EventBadgeColorRuleUpdateInputs.md +4 -0
- package/docs/EventOnSiteBadgeColorRule.md +6 -0
- package/docs/EventsPasschangewebhooksApi.md +181 -0
- package/docs/{GetOrganizationWebhooks200Response.md → GetEventPassChangeWebhooks200Response.md} +3 -3
- package/docs/OrganizationWebhooksApi.md +10 -10
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.0
|
|
7
|
+
* The version of the OpenAPI document: 11.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -85,6 +85,10 @@ export var AddEventOnSiteLabelPassType200ResponseStatusEnum;
|
|
|
85
85
|
(function (AddEventOnSiteLabelPassType200ResponseStatusEnum) {
|
|
86
86
|
AddEventOnSiteLabelPassType200ResponseStatusEnum["Ok"] = "ok";
|
|
87
87
|
})(AddEventOnSiteLabelPassType200ResponseStatusEnum || (AddEventOnSiteLabelPassType200ResponseStatusEnum = {}));
|
|
88
|
+
export var AddEventPassChangeWebhook200ResponseStatusEnum;
|
|
89
|
+
(function (AddEventPassChangeWebhook200ResponseStatusEnum) {
|
|
90
|
+
AddEventPassChangeWebhook200ResponseStatusEnum["Ok"] = "ok";
|
|
91
|
+
})(AddEventPassChangeWebhook200ResponseStatusEnum || (AddEventPassChangeWebhook200ResponseStatusEnum = {}));
|
|
88
92
|
export var AddEventPassTypeExchangeTarget200ResponseStatusEnum;
|
|
89
93
|
(function (AddEventPassTypeExchangeTarget200ResponseStatusEnum) {
|
|
90
94
|
AddEventPassTypeExchangeTarget200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -124,6 +128,7 @@ export var BadgeColorRuleType;
|
|
|
124
128
|
BadgeColorRuleType["Attribute"] = "attribute";
|
|
125
129
|
BadgeColorRuleType["Tier"] = "tier";
|
|
126
130
|
BadgeColorRuleType["PassType"] = "passType";
|
|
131
|
+
BadgeColorRuleType["PassAttribute"] = "passAttribute";
|
|
127
132
|
})(BadgeColorRuleType || (BadgeColorRuleType = {}));
|
|
128
133
|
export var BarChartSummaryDataTypeEnum;
|
|
129
134
|
(function (BarChartSummaryDataTypeEnum) {
|
|
@@ -474,10 +479,6 @@ export var CreateOrganizationTeamMember200ResponseStatusEnum;
|
|
|
474
479
|
(function (CreateOrganizationTeamMember200ResponseStatusEnum) {
|
|
475
480
|
CreateOrganizationTeamMember200ResponseStatusEnum["Ok"] = "ok";
|
|
476
481
|
})(CreateOrganizationTeamMember200ResponseStatusEnum || (CreateOrganizationTeamMember200ResponseStatusEnum = {}));
|
|
477
|
-
export var CreateOrganizationWebhook200ResponseStatusEnum;
|
|
478
|
-
(function (CreateOrganizationWebhook200ResponseStatusEnum) {
|
|
479
|
-
CreateOrganizationWebhook200ResponseStatusEnum["Ok"] = "ok";
|
|
480
|
-
})(CreateOrganizationWebhook200ResponseStatusEnum || (CreateOrganizationWebhook200ResponseStatusEnum = {}));
|
|
481
482
|
export var CreatePreset200ResponseStatusEnum;
|
|
482
483
|
(function (CreatePreset200ResponseStatusEnum) {
|
|
483
484
|
CreatePreset200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -1182,6 +1183,10 @@ export var GetEventPassAttributes200ResponseStatusEnum;
|
|
|
1182
1183
|
(function (GetEventPassAttributes200ResponseStatusEnum) {
|
|
1183
1184
|
GetEventPassAttributes200ResponseStatusEnum["Ok"] = "ok";
|
|
1184
1185
|
})(GetEventPassAttributes200ResponseStatusEnum || (GetEventPassAttributes200ResponseStatusEnum = {}));
|
|
1186
|
+
export var GetEventPassChangeWebhooks200ResponseStatusEnum;
|
|
1187
|
+
(function (GetEventPassChangeWebhooks200ResponseStatusEnum) {
|
|
1188
|
+
GetEventPassChangeWebhooks200ResponseStatusEnum["Ok"] = "ok";
|
|
1189
|
+
})(GetEventPassChangeWebhooks200ResponseStatusEnum || (GetEventPassChangeWebhooks200ResponseStatusEnum = {}));
|
|
1185
1190
|
export var GetEventPassMatches200ResponseStatusEnum;
|
|
1186
1191
|
(function (GetEventPassMatches200ResponseStatusEnum) {
|
|
1187
1192
|
GetEventPassMatches200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -1714,10 +1719,6 @@ export var GetOrganizationUsers200ResponseStatusEnum;
|
|
|
1714
1719
|
(function (GetOrganizationUsers200ResponseStatusEnum) {
|
|
1715
1720
|
GetOrganizationUsers200ResponseStatusEnum["Ok"] = "ok";
|
|
1716
1721
|
})(GetOrganizationUsers200ResponseStatusEnum || (GetOrganizationUsers200ResponseStatusEnum = {}));
|
|
1717
|
-
export var GetOrganizationWebhooks200ResponseStatusEnum;
|
|
1718
|
-
(function (GetOrganizationWebhooks200ResponseStatusEnum) {
|
|
1719
|
-
GetOrganizationWebhooks200ResponseStatusEnum["Ok"] = "ok";
|
|
1720
|
-
})(GetOrganizationWebhooks200ResponseStatusEnum || (GetOrganizationWebhooks200ResponseStatusEnum = {}));
|
|
1721
1722
|
export var GetPayment200ResponseStatusEnum;
|
|
1722
1723
|
(function (GetPayment200ResponseStatusEnum) {
|
|
1723
1724
|
GetPayment200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -39509,6 +39510,274 @@ export class EventsPagesTranslationsApi extends BaseAPI {
|
|
|
39509
39510
|
return EventsPagesTranslationsApiFp(this.configuration).updateEventPageTranslation(requestParameters.eventId, requestParameters.pageId, requestParameters.locale, requestParameters.eventPageTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
39510
39511
|
}
|
|
39511
39512
|
}
|
|
39513
|
+
/**
|
|
39514
|
+
* EventsPasschangewebhooksApi - axios parameter creator
|
|
39515
|
+
*/
|
|
39516
|
+
export const EventsPasschangewebhooksApiAxiosParamCreator = function (configuration) {
|
|
39517
|
+
return {
|
|
39518
|
+
/**
|
|
39519
|
+
* Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
|
|
39520
|
+
* @summary Connect a webhook to an event\'s pass change log
|
|
39521
|
+
* @param {string} eventId The event identifier
|
|
39522
|
+
* @param {string} webhookId The webhook identifier
|
|
39523
|
+
* @param {*} [options] Override http request option.
|
|
39524
|
+
* @throws {RequiredError}
|
|
39525
|
+
*/
|
|
39526
|
+
addEventPassChangeWebhook: (eventId_1, webhookId_1, ...args_1) => __awaiter(this, [eventId_1, webhookId_1, ...args_1], void 0, function* (eventId, webhookId, options = {}) {
|
|
39527
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
39528
|
+
assertParamExists('addEventPassChangeWebhook', 'eventId', eventId);
|
|
39529
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39530
|
+
assertParamExists('addEventPassChangeWebhook', 'webhookId', webhookId);
|
|
39531
|
+
const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
|
|
39532
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
39533
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39534
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39535
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39536
|
+
let baseOptions;
|
|
39537
|
+
if (configuration) {
|
|
39538
|
+
baseOptions = configuration.baseOptions;
|
|
39539
|
+
}
|
|
39540
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
39541
|
+
const localVarHeaderParameter = {};
|
|
39542
|
+
const localVarQueryParameter = {};
|
|
39543
|
+
// authentication ApiKeyAuth required
|
|
39544
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
39545
|
+
// authentication OrganizationId required
|
|
39546
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
39547
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
39548
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39549
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39550
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39551
|
+
return {
|
|
39552
|
+
url: toPathString(localVarUrlObj),
|
|
39553
|
+
options: localVarRequestOptions,
|
|
39554
|
+
};
|
|
39555
|
+
}),
|
|
39556
|
+
/**
|
|
39557
|
+
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
39558
|
+
* @summary List an event\'s pass change log webhooks
|
|
39559
|
+
* @param {string} eventId The event identifier
|
|
39560
|
+
* @param {number} [page] Page number
|
|
39561
|
+
* @param {number} [pageSize] Number of items per page
|
|
39562
|
+
* @param {string} [orderBy] Field to order by
|
|
39563
|
+
* @param {string} [search] Search query
|
|
39564
|
+
* @param {*} [options] Override http request option.
|
|
39565
|
+
* @throws {RequiredError}
|
|
39566
|
+
*/
|
|
39567
|
+
getEventPassChangeWebhooks: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
|
|
39568
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
39569
|
+
assertParamExists('getEventPassChangeWebhooks', 'eventId', eventId);
|
|
39570
|
+
const localVarPath = `/events/{eventId}/passChangeWebhooks`
|
|
39571
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
39572
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39573
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39574
|
+
let baseOptions;
|
|
39575
|
+
if (configuration) {
|
|
39576
|
+
baseOptions = configuration.baseOptions;
|
|
39577
|
+
}
|
|
39578
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
39579
|
+
const localVarHeaderParameter = {};
|
|
39580
|
+
const localVarQueryParameter = {};
|
|
39581
|
+
// authentication ApiKeyAuth required
|
|
39582
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
39583
|
+
// authentication OrganizationId required
|
|
39584
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
39585
|
+
if (page !== undefined) {
|
|
39586
|
+
localVarQueryParameter['page'] = page;
|
|
39587
|
+
}
|
|
39588
|
+
if (pageSize !== undefined) {
|
|
39589
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
39590
|
+
}
|
|
39591
|
+
if (orderBy !== undefined) {
|
|
39592
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
39593
|
+
}
|
|
39594
|
+
if (search !== undefined) {
|
|
39595
|
+
localVarQueryParameter['search'] = search;
|
|
39596
|
+
}
|
|
39597
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
39598
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39599
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39600
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39601
|
+
return {
|
|
39602
|
+
url: toPathString(localVarUrlObj),
|
|
39603
|
+
options: localVarRequestOptions,
|
|
39604
|
+
};
|
|
39605
|
+
}),
|
|
39606
|
+
/**
|
|
39607
|
+
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
39608
|
+
* @summary Disconnect a webhook from an event\'s pass change log
|
|
39609
|
+
* @param {string} eventId The event identifier
|
|
39610
|
+
* @param {string} webhookId The webhook identifier
|
|
39611
|
+
* @param {*} [options] Override http request option.
|
|
39612
|
+
* @throws {RequiredError}
|
|
39613
|
+
*/
|
|
39614
|
+
removeEventPassChangeWebhook: (eventId_1, webhookId_1, ...args_1) => __awaiter(this, [eventId_1, webhookId_1, ...args_1], void 0, function* (eventId, webhookId, options = {}) {
|
|
39615
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
39616
|
+
assertParamExists('removeEventPassChangeWebhook', 'eventId', eventId);
|
|
39617
|
+
// verify required parameter 'webhookId' is not null or undefined
|
|
39618
|
+
assertParamExists('removeEventPassChangeWebhook', 'webhookId', webhookId);
|
|
39619
|
+
const localVarPath = `/events/{eventId}/passChangeWebhooks/{webhookId}`
|
|
39620
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
39621
|
+
.replace(`{${"webhookId"}}`, encodeURIComponent(String(webhookId)));
|
|
39622
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
39623
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
39624
|
+
let baseOptions;
|
|
39625
|
+
if (configuration) {
|
|
39626
|
+
baseOptions = configuration.baseOptions;
|
|
39627
|
+
}
|
|
39628
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
39629
|
+
const localVarHeaderParameter = {};
|
|
39630
|
+
const localVarQueryParameter = {};
|
|
39631
|
+
// authentication ApiKeyAuth required
|
|
39632
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
39633
|
+
// authentication OrganizationId required
|
|
39634
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
39635
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
39636
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39637
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
39638
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
39639
|
+
return {
|
|
39640
|
+
url: toPathString(localVarUrlObj),
|
|
39641
|
+
options: localVarRequestOptions,
|
|
39642
|
+
};
|
|
39643
|
+
}),
|
|
39644
|
+
};
|
|
39645
|
+
};
|
|
39646
|
+
/**
|
|
39647
|
+
* EventsPasschangewebhooksApi - functional programming interface
|
|
39648
|
+
*/
|
|
39649
|
+
export const EventsPasschangewebhooksApiFp = function (configuration) {
|
|
39650
|
+
const localVarAxiosParamCreator = EventsPasschangewebhooksApiAxiosParamCreator(configuration);
|
|
39651
|
+
return {
|
|
39652
|
+
/**
|
|
39653
|
+
* Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
|
|
39654
|
+
* @summary Connect a webhook to an event\'s pass change log
|
|
39655
|
+
* @param {string} eventId The event identifier
|
|
39656
|
+
* @param {string} webhookId The webhook identifier
|
|
39657
|
+
* @param {*} [options] Override http request option.
|
|
39658
|
+
* @throws {RequiredError}
|
|
39659
|
+
*/
|
|
39660
|
+
addEventPassChangeWebhook(eventId, webhookId, options) {
|
|
39661
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39662
|
+
var _a, _b, _c;
|
|
39663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventPassChangeWebhook(eventId, webhookId, options);
|
|
39664
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39665
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasschangewebhooksApi.addEventPassChangeWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39666
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39667
|
+
});
|
|
39668
|
+
},
|
|
39669
|
+
/**
|
|
39670
|
+
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
39671
|
+
* @summary List an event\'s pass change log webhooks
|
|
39672
|
+
* @param {string} eventId The event identifier
|
|
39673
|
+
* @param {number} [page] Page number
|
|
39674
|
+
* @param {number} [pageSize] Number of items per page
|
|
39675
|
+
* @param {string} [orderBy] Field to order by
|
|
39676
|
+
* @param {string} [search] Search query
|
|
39677
|
+
* @param {*} [options] Override http request option.
|
|
39678
|
+
* @throws {RequiredError}
|
|
39679
|
+
*/
|
|
39680
|
+
getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options) {
|
|
39681
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39682
|
+
var _a, _b, _c;
|
|
39683
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventPassChangeWebhooks(eventId, page, pageSize, orderBy, search, options);
|
|
39684
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39685
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasschangewebhooksApi.getEventPassChangeWebhooks']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39686
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39687
|
+
});
|
|
39688
|
+
},
|
|
39689
|
+
/**
|
|
39690
|
+
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
39691
|
+
* @summary Disconnect a webhook from an event\'s pass change log
|
|
39692
|
+
* @param {string} eventId The event identifier
|
|
39693
|
+
* @param {string} webhookId The webhook identifier
|
|
39694
|
+
* @param {*} [options] Override http request option.
|
|
39695
|
+
* @throws {RequiredError}
|
|
39696
|
+
*/
|
|
39697
|
+
removeEventPassChangeWebhook(eventId, webhookId, options) {
|
|
39698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
39699
|
+
var _a, _b, _c;
|
|
39700
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventPassChangeWebhook(eventId, webhookId, options);
|
|
39701
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
39702
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsPasschangewebhooksApi.removeEventPassChangeWebhook']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
39703
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39704
|
+
});
|
|
39705
|
+
},
|
|
39706
|
+
};
|
|
39707
|
+
};
|
|
39708
|
+
/**
|
|
39709
|
+
* EventsPasschangewebhooksApi - factory interface
|
|
39710
|
+
*/
|
|
39711
|
+
export const EventsPasschangewebhooksApiFactory = function (configuration, basePath, axios) {
|
|
39712
|
+
const localVarFp = EventsPasschangewebhooksApiFp(configuration);
|
|
39713
|
+
return {
|
|
39714
|
+
/**
|
|
39715
|
+
* Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
|
|
39716
|
+
* @summary Connect a webhook to an event\'s pass change log
|
|
39717
|
+
* @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
39718
|
+
* @param {*} [options] Override http request option.
|
|
39719
|
+
* @throws {RequiredError}
|
|
39720
|
+
*/
|
|
39721
|
+
addEventPassChangeWebhook(requestParameters, options) {
|
|
39722
|
+
return localVarFp.addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
39723
|
+
},
|
|
39724
|
+
/**
|
|
39725
|
+
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
39726
|
+
* @summary List an event\'s pass change log webhooks
|
|
39727
|
+
* @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
39728
|
+
* @param {*} [options] Override http request option.
|
|
39729
|
+
* @throws {RequiredError}
|
|
39730
|
+
*/
|
|
39731
|
+
getEventPassChangeWebhooks(requestParameters, options) {
|
|
39732
|
+
return localVarFp.getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
39733
|
+
},
|
|
39734
|
+
/**
|
|
39735
|
+
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
39736
|
+
* @summary Disconnect a webhook from an event\'s pass change log
|
|
39737
|
+
* @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
39738
|
+
* @param {*} [options] Override http request option.
|
|
39739
|
+
* @throws {RequiredError}
|
|
39740
|
+
*/
|
|
39741
|
+
removeEventPassChangeWebhook(requestParameters, options) {
|
|
39742
|
+
return localVarFp.removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(axios, basePath));
|
|
39743
|
+
},
|
|
39744
|
+
};
|
|
39745
|
+
};
|
|
39746
|
+
/**
|
|
39747
|
+
* EventsPasschangewebhooksApi - object-oriented interface
|
|
39748
|
+
*/
|
|
39749
|
+
export class EventsPasschangewebhooksApi extends BaseAPI {
|
|
39750
|
+
/**
|
|
39751
|
+
* Connects the specified webhook so it receives the event\'s pass change log rows, and requires update permission on events; the webhook must be verified.
|
|
39752
|
+
* @summary Connect a webhook to an event\'s pass change log
|
|
39753
|
+
* @param {EventsPasschangewebhooksApiAddEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
39754
|
+
* @param {*} [options] Override http request option.
|
|
39755
|
+
* @throws {RequiredError}
|
|
39756
|
+
*/
|
|
39757
|
+
addEventPassChangeWebhook(requestParameters, options) {
|
|
39758
|
+
return EventsPasschangewebhooksApiFp(this.configuration).addEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
39759
|
+
}
|
|
39760
|
+
/**
|
|
39761
|
+
* Returns a paginated list of the webhooks connected to the given event\'s pass change log; requires \"read\" permission on events.
|
|
39762
|
+
* @summary List an event\'s pass change log webhooks
|
|
39763
|
+
* @param {EventsPasschangewebhooksApiGetEventPassChangeWebhooksRequest} requestParameters Request parameters.
|
|
39764
|
+
* @param {*} [options] Override http request option.
|
|
39765
|
+
* @throws {RequiredError}
|
|
39766
|
+
*/
|
|
39767
|
+
getEventPassChangeWebhooks(requestParameters, options) {
|
|
39768
|
+
return EventsPasschangewebhooksApiFp(this.configuration).getEventPassChangeWebhooks(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
39769
|
+
}
|
|
39770
|
+
/**
|
|
39771
|
+
* Disconnects the specified webhook from the given event\'s pass change log and requires update permission on events.
|
|
39772
|
+
* @summary Disconnect a webhook from an event\'s pass change log
|
|
39773
|
+
* @param {EventsPasschangewebhooksApiRemoveEventPassChangeWebhookRequest} requestParameters Request parameters.
|
|
39774
|
+
* @param {*} [options] Override http request option.
|
|
39775
|
+
* @throws {RequiredError}
|
|
39776
|
+
*/
|
|
39777
|
+
removeEventPassChangeWebhook(requestParameters, options) {
|
|
39778
|
+
return EventsPasschangewebhooksApiFp(this.configuration).removeEventPassChangeWebhook(requestParameters.eventId, requestParameters.webhookId, options).then((request) => request(this.axios, this.basePath));
|
|
39779
|
+
}
|
|
39780
|
+
}
|
|
39512
39781
|
/**
|
|
39513
39782
|
* EventsPassesApi - axios parameter creator
|
|
39514
39783
|
*/
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.0
|
|
5
|
+
* The version of the OpenAPI document: 11.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.0
|
|
7
|
+
* The version of the OpenAPI document: 11.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.0
|
|
5
|
+
* The version of the OpenAPI document: 11.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 11.0
|
|
7
|
+
* The version of the OpenAPI document: 11.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 11.0
|
|
5
|
+
* The version of the OpenAPI document: 11.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 11.0
|
|
6
|
+
* The version of the OpenAPI document: 11.2.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/{CreateOrganizationWebhook200Response.md → AddEventPassChangeWebhook200Response.md}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AddEventPassChangeWebhook200Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
@@ -12,9 +12,9 @@ Name | Type | Description | Notes
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
14
14
|
```typescript
|
|
15
|
-
import {
|
|
15
|
+
import { AddEventPassChangeWebhook200Response } from '@connectedxm/admin-sdk';
|
|
16
16
|
|
|
17
|
-
const instance:
|
|
17
|
+
const instance: AddEventPassChangeWebhook200Response = {
|
|
18
18
|
status,
|
|
19
19
|
message,
|
|
20
20
|
data,
|
|
@@ -14,6 +14,8 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**attributeValue** | **string** | | [default to undefined]
|
|
15
15
|
**tierId** | **string** | | [default to undefined]
|
|
16
16
|
**passTypeId** | **string** | | [default to undefined]
|
|
17
|
+
**passAttributeId** | **string** | | [default to undefined]
|
|
18
|
+
**passAttributeValue** | **string** | | [default to undefined]
|
|
17
19
|
|
|
18
20
|
## Example
|
|
19
21
|
|
|
@@ -30,6 +32,8 @@ const instance: BaseEventOnSiteBadgeColorRule = {
|
|
|
30
32
|
attributeValue,
|
|
31
33
|
tierId,
|
|
32
34
|
passTypeId,
|
|
35
|
+
passAttributeId,
|
|
36
|
+
passAttributeValue,
|
|
33
37
|
};
|
|
34
38
|
```
|
|
35
39
|
|
|
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**attributeValue** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**tierId** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**passTypeId** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**passAttributeId** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**passAttributeValue** | **string** | | [optional] [default to undefined]
|
|
16
18
|
|
|
17
19
|
## Example
|
|
18
20
|
|
|
@@ -28,6 +30,8 @@ const instance: EventBadgeColorRuleCreateInputs = {
|
|
|
28
30
|
attributeValue,
|
|
29
31
|
tierId,
|
|
30
32
|
passTypeId,
|
|
33
|
+
passAttributeId,
|
|
34
|
+
passAttributeValue,
|
|
31
35
|
};
|
|
32
36
|
```
|
|
33
37
|
|
|
@@ -13,6 +13,8 @@ Name | Type | Description | Notes
|
|
|
13
13
|
**attributeValue** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**tierId** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**passTypeId** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**passAttributeId** | **string** | | [optional] [default to undefined]
|
|
17
|
+
**passAttributeValue** | **string** | | [optional] [default to undefined]
|
|
16
18
|
|
|
17
19
|
## Example
|
|
18
20
|
|
|
@@ -28,6 +30,8 @@ const instance: EventBadgeColorRuleUpdateInputs = {
|
|
|
28
30
|
attributeValue,
|
|
29
31
|
tierId,
|
|
30
32
|
passTypeId,
|
|
33
|
+
passAttributeId,
|
|
34
|
+
passAttributeValue,
|
|
31
35
|
};
|
|
32
36
|
```
|
|
33
37
|
|
|
@@ -14,9 +14,12 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**attributeValue** | **string** | | [default to undefined]
|
|
15
15
|
**tierId** | **string** | | [default to undefined]
|
|
16
16
|
**passTypeId** | **string** | | [default to undefined]
|
|
17
|
+
**passAttributeId** | **string** | | [default to undefined]
|
|
18
|
+
**passAttributeValue** | **string** | | [default to undefined]
|
|
17
19
|
**attribute** | [**BaseAccountAttribute**](BaseAccountAttribute.md) | | [default to undefined]
|
|
18
20
|
**tier** | [**BaseTier**](BaseTier.md) | | [default to undefined]
|
|
19
21
|
**passType** | [**BaseEventPassType**](BaseEventPassType.md) | | [default to undefined]
|
|
22
|
+
**passAttribute** | [**BaseEventAttribute**](BaseEventAttribute.md) | | [default to undefined]
|
|
20
23
|
**createdAt** | **string** | | [default to undefined]
|
|
21
24
|
**updatedAt** | **string** | | [default to undefined]
|
|
22
25
|
|
|
@@ -35,9 +38,12 @@ const instance: EventOnSiteBadgeColorRule = {
|
|
|
35
38
|
attributeValue,
|
|
36
39
|
tierId,
|
|
37
40
|
passTypeId,
|
|
41
|
+
passAttributeId,
|
|
42
|
+
passAttributeValue,
|
|
38
43
|
attribute,
|
|
39
44
|
tier,
|
|
40
45
|
passType,
|
|
46
|
+
passAttribute,
|
|
41
47
|
createdAt,
|
|
42
48
|
updatedAt,
|
|
43
49
|
};
|