@connectedxm/admin-sdk 11.8.2 → 11.9.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/README.md +2 -2
- package/api.ts +23 -12
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +15 -9
- package/dist/api.js +15 -10
- 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/api.d.ts +15 -9
- package/dist/esm/api.js +15 -10
- 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/AdvertisementsApi.md +4 -1
- package/docs/BaseEventOnSite.md +1 -1
- package/docs/EventOnSite.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @connectedxm/admin-sdk@11.
|
|
1
|
+
## @connectedxm/admin-sdk@11.9.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @connectedxm/admin-sdk@11.
|
|
39
|
+
npm install @connectedxm/admin-sdk@11.9.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
package/api.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1396,7 +1396,7 @@ export interface BaseEventMediaItemLike {
|
|
|
1396
1396
|
}
|
|
1397
1397
|
export interface BaseEventOnSite {
|
|
1398
1398
|
'eventId': string;
|
|
1399
|
-
'authenticationCode':
|
|
1399
|
+
'authenticationCode': string;
|
|
1400
1400
|
'badgeTemplate': string | null;
|
|
1401
1401
|
'createdAt': string;
|
|
1402
1402
|
'updatedAt': string;
|
|
@@ -5611,7 +5611,7 @@ export interface EventMediaItemUpdateInputs {
|
|
|
5611
5611
|
}
|
|
5612
5612
|
export interface EventOnSite {
|
|
5613
5613
|
'eventId': string;
|
|
5614
|
-
'authenticationCode':
|
|
5614
|
+
'authenticationCode': string;
|
|
5615
5615
|
'badgeTemplate': string | null;
|
|
5616
5616
|
'createdAt': string;
|
|
5617
5617
|
'updatedAt': string;
|
|
@@ -22425,8 +22425,9 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22425
22425
|
};
|
|
22426
22426
|
},
|
|
22427
22427
|
/**
|
|
22428
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
22428
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
22429
22429
|
* @summary List advertisements
|
|
22430
|
+
* @param {string} [accountId] Filter by accountId
|
|
22430
22431
|
* @param {number} [page] Page number
|
|
22431
22432
|
* @param {number} [pageSize] Number of items per page
|
|
22432
22433
|
* @param {string} [orderBy] Field to order by
|
|
@@ -22434,7 +22435,7 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22434
22435
|
* @param {*} [options] Override http request option.
|
|
22435
22436
|
* @throws {RequiredError}
|
|
22436
22437
|
*/
|
|
22437
|
-
getAdvertisements: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22438
|
+
getAdvertisements: async (accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22438
22439
|
const localVarPath = `/advertisements`;
|
|
22439
22440
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22440
22441
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22453,6 +22454,10 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
22453
22454
|
// authentication OrganizationId required
|
|
22454
22455
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
22455
22456
|
|
|
22457
|
+
if (accountId !== undefined) {
|
|
22458
|
+
localVarQueryParameter['accountId'] = accountId;
|
|
22459
|
+
}
|
|
22460
|
+
|
|
22456
22461
|
if (page !== undefined) {
|
|
22457
22462
|
localVarQueryParameter['page'] = page;
|
|
22458
22463
|
}
|
|
@@ -22608,8 +22613,9 @@ export const AdvertisementsApiFp = function(configuration?: Configuration) {
|
|
|
22608
22613
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22609
22614
|
},
|
|
22610
22615
|
/**
|
|
22611
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
22616
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
22612
22617
|
* @summary List advertisements
|
|
22618
|
+
* @param {string} [accountId] Filter by accountId
|
|
22613
22619
|
* @param {number} [page] Page number
|
|
22614
22620
|
* @param {number} [pageSize] Number of items per page
|
|
22615
22621
|
* @param {string} [orderBy] Field to order by
|
|
@@ -22617,8 +22623,8 @@ export const AdvertisementsApiFp = function(configuration?: Configuration) {
|
|
|
22617
22623
|
* @param {*} [options] Override http request option.
|
|
22618
22624
|
* @throws {RequiredError}
|
|
22619
22625
|
*/
|
|
22620
|
-
async getAdvertisements(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>> {
|
|
22621
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdvertisements(page, pageSize, orderBy, search, options);
|
|
22626
|
+
async getAdvertisements(accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>> {
|
|
22627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getAdvertisements(accountId, page, pageSize, orderBy, search, options);
|
|
22622
22628
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22623
22629
|
const localVarOperationServerBasePath = operationServerMap['AdvertisementsApi.getAdvertisements']?.[localVarOperationServerIndex]?.url;
|
|
22624
22630
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22697,14 +22703,14 @@ export const AdvertisementsApiFactory = function (configuration?: Configuration,
|
|
|
22697
22703
|
return localVarFp.getAdvertisementViews(requestParameters.advertisementId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
22698
22704
|
},
|
|
22699
22705
|
/**
|
|
22700
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
22706
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
22701
22707
|
* @summary List advertisements
|
|
22702
22708
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
22703
22709
|
* @param {*} [options] Override http request option.
|
|
22704
22710
|
* @throws {RequiredError}
|
|
22705
22711
|
*/
|
|
22706
22712
|
getAdvertisements(requestParameters: AdvertisementsApiGetAdvertisementsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetAdvertisements200Response> {
|
|
22707
|
-
return localVarFp.getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
22713
|
+
return localVarFp.getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
22708
22714
|
},
|
|
22709
22715
|
/**
|
|
22710
22716
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
@@ -22810,6 +22816,11 @@ export interface AdvertisementsApiGetAdvertisementViewsRequest {
|
|
|
22810
22816
|
* Request parameters for getAdvertisements operation in AdvertisementsApi.
|
|
22811
22817
|
*/
|
|
22812
22818
|
export interface AdvertisementsApiGetAdvertisementsRequest {
|
|
22819
|
+
/**
|
|
22820
|
+
* Filter by accountId
|
|
22821
|
+
*/
|
|
22822
|
+
readonly accountId?: string
|
|
22823
|
+
|
|
22813
22824
|
/**
|
|
22814
22825
|
* Page number
|
|
22815
22826
|
*/
|
|
@@ -22903,14 +22914,14 @@ export class AdvertisementsApi extends BaseAPI {
|
|
|
22903
22914
|
}
|
|
22904
22915
|
|
|
22905
22916
|
/**
|
|
22906
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
22917
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
22907
22918
|
* @summary List advertisements
|
|
22908
22919
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
22909
22920
|
* @param {*} [options] Override http request option.
|
|
22910
22921
|
* @throws {RequiredError}
|
|
22911
22922
|
*/
|
|
22912
22923
|
public getAdvertisements(requestParameters: AdvertisementsApiGetAdvertisementsRequest = {}, options?: RawAxiosRequestConfig) {
|
|
22913
|
-
return AdvertisementsApiFp(this.configuration).getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
22924
|
+
return AdvertisementsApiFp(this.configuration).getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
22914
22925
|
}
|
|
22915
22926
|
|
|
22916
22927
|
/**
|
package/base.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -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.
|
|
6
|
+
* The version of the OpenAPI document: 11.9.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1281,7 +1281,7 @@ export interface BaseEventMediaItemLike {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
export interface BaseEventOnSite {
|
|
1283
1283
|
'eventId': string;
|
|
1284
|
-
'authenticationCode':
|
|
1284
|
+
'authenticationCode': string;
|
|
1285
1285
|
'badgeTemplate': string | null;
|
|
1286
1286
|
'createdAt': string;
|
|
1287
1287
|
'updatedAt': string;
|
|
@@ -5111,7 +5111,7 @@ export interface EventMediaItemUpdateInputs {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
export interface EventOnSite {
|
|
5113
5113
|
'eventId': string;
|
|
5114
|
-
'authenticationCode':
|
|
5114
|
+
'authenticationCode': string;
|
|
5115
5115
|
'badgeTemplate': string | null;
|
|
5116
5116
|
'createdAt': string;
|
|
5117
5117
|
'updatedAt': string;
|
|
@@ -17214,8 +17214,9 @@ export declare const AdvertisementsApiAxiosParamCreator: (configuration?: Config
|
|
|
17214
17214
|
*/
|
|
17215
17215
|
getAdvertisementViews: (advertisementId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17216
17216
|
/**
|
|
17217
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17217
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17218
17218
|
* @summary List advertisements
|
|
17219
|
+
* @param {string} [accountId] Filter by accountId
|
|
17219
17220
|
* @param {number} [page] Page number
|
|
17220
17221
|
* @param {number} [pageSize] Number of items per page
|
|
17221
17222
|
* @param {string} [orderBy] Field to order by
|
|
@@ -17223,7 +17224,7 @@ export declare const AdvertisementsApiAxiosParamCreator: (configuration?: Config
|
|
|
17223
17224
|
* @param {*} [options] Override http request option.
|
|
17224
17225
|
* @throws {RequiredError}
|
|
17225
17226
|
*/
|
|
17226
|
-
getAdvertisements: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17227
|
+
getAdvertisements: (accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17227
17228
|
/**
|
|
17228
17229
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
17229
17230
|
* @summary Update an advertisement
|
|
@@ -17287,8 +17288,9 @@ export declare const AdvertisementsApiFp: (configuration?: Configuration) => {
|
|
|
17287
17288
|
*/
|
|
17288
17289
|
getAdvertisementViews(advertisementId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisementViews200Response>>;
|
|
17289
17290
|
/**
|
|
17290
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17291
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17291
17292
|
* @summary List advertisements
|
|
17293
|
+
* @param {string} [accountId] Filter by accountId
|
|
17292
17294
|
* @param {number} [page] Page number
|
|
17293
17295
|
* @param {number} [pageSize] Number of items per page
|
|
17294
17296
|
* @param {string} [orderBy] Field to order by
|
|
@@ -17296,7 +17298,7 @@ export declare const AdvertisementsApiFp: (configuration?: Configuration) => {
|
|
|
17296
17298
|
* @param {*} [options] Override http request option.
|
|
17297
17299
|
* @throws {RequiredError}
|
|
17298
17300
|
*/
|
|
17299
|
-
getAdvertisements(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>>;
|
|
17301
|
+
getAdvertisements(accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>>;
|
|
17300
17302
|
/**
|
|
17301
17303
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
17302
17304
|
* @summary Update an advertisement
|
|
@@ -17352,7 +17354,7 @@ export declare const AdvertisementsApiFactory: (configuration?: Configuration, b
|
|
|
17352
17354
|
*/
|
|
17353
17355
|
getAdvertisementViews(requestParameters: AdvertisementsApiGetAdvertisementViewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAdvertisementViews200Response>;
|
|
17354
17356
|
/**
|
|
17355
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17357
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17356
17358
|
* @summary List advertisements
|
|
17357
17359
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
17358
17360
|
* @param {*} [options] Override http request option.
|
|
@@ -17446,6 +17448,10 @@ export interface AdvertisementsApiGetAdvertisementViewsRequest {
|
|
|
17446
17448
|
* Request parameters for getAdvertisements operation in AdvertisementsApi.
|
|
17447
17449
|
*/
|
|
17448
17450
|
export interface AdvertisementsApiGetAdvertisementsRequest {
|
|
17451
|
+
/**
|
|
17452
|
+
* Filter by accountId
|
|
17453
|
+
*/
|
|
17454
|
+
readonly accountId?: string;
|
|
17449
17455
|
/**
|
|
17450
17456
|
* Page number
|
|
17451
17457
|
*/
|
|
@@ -17518,7 +17524,7 @@ export declare class AdvertisementsApi extends BaseAPI {
|
|
|
17518
17524
|
*/
|
|
17519
17525
|
getAdvertisementViews(requestParameters: AdvertisementsApiGetAdvertisementViewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAdvertisementViews200Response, any, {}, any>>;
|
|
17520
17526
|
/**
|
|
17521
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17527
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17522
17528
|
* @summary List advertisements
|
|
17523
17529
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
17524
17530
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8358,8 +8358,9 @@ const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8358
8358
|
};
|
|
8359
8359
|
}),
|
|
8360
8360
|
/**
|
|
8361
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8361
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8362
8362
|
* @summary List advertisements
|
|
8363
|
+
* @param {string} [accountId] Filter by accountId
|
|
8363
8364
|
* @param {number} [page] Page number
|
|
8364
8365
|
* @param {number} [pageSize] Number of items per page
|
|
8365
8366
|
* @param {string} [orderBy] Field to order by
|
|
@@ -8367,7 +8368,7 @@ const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8367
8368
|
* @param {*} [options] Override http request option.
|
|
8368
8369
|
* @throws {RequiredError}
|
|
8369
8370
|
*/
|
|
8370
|
-
getAdvertisements: (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 = {}) {
|
|
8371
|
+
getAdvertisements: (accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (accountId, page, pageSize, orderBy, search, options = {}) {
|
|
8371
8372
|
const localVarPath = `/advertisements`;
|
|
8372
8373
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8373
8374
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -8382,6 +8383,9 @@ const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8382
8383
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
8383
8384
|
// authentication OrganizationId required
|
|
8384
8385
|
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
8386
|
+
if (accountId !== undefined) {
|
|
8387
|
+
localVarQueryParameter['accountId'] = accountId;
|
|
8388
|
+
}
|
|
8385
8389
|
if (page !== undefined) {
|
|
8386
8390
|
localVarQueryParameter['page'] = page;
|
|
8387
8391
|
}
|
|
@@ -8540,8 +8544,9 @@ const AdvertisementsApiFp = function (configuration) {
|
|
|
8540
8544
|
});
|
|
8541
8545
|
},
|
|
8542
8546
|
/**
|
|
8543
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8547
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8544
8548
|
* @summary List advertisements
|
|
8549
|
+
* @param {string} [accountId] Filter by accountId
|
|
8545
8550
|
* @param {number} [page] Page number
|
|
8546
8551
|
* @param {number} [pageSize] Number of items per page
|
|
8547
8552
|
* @param {string} [orderBy] Field to order by
|
|
@@ -8549,10 +8554,10 @@ const AdvertisementsApiFp = function (configuration) {
|
|
|
8549
8554
|
* @param {*} [options] Override http request option.
|
|
8550
8555
|
* @throws {RequiredError}
|
|
8551
8556
|
*/
|
|
8552
|
-
getAdvertisements(page, pageSize, orderBy, search, options) {
|
|
8557
|
+
getAdvertisements(accountId, page, pageSize, orderBy, search, options) {
|
|
8553
8558
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8554
8559
|
var _a, _b, _c;
|
|
8555
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdvertisements(page, pageSize, orderBy, search, options);
|
|
8560
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdvertisements(accountId, page, pageSize, orderBy, search, options);
|
|
8556
8561
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8557
8562
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['AdvertisementsApi.getAdvertisements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8558
8563
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8635,14 +8640,14 @@ const AdvertisementsApiFactory = function (configuration, basePath, axios) {
|
|
|
8635
8640
|
return localVarFp.getAdvertisementViews(requestParameters.advertisementId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8636
8641
|
},
|
|
8637
8642
|
/**
|
|
8638
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8643
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8639
8644
|
* @summary List advertisements
|
|
8640
8645
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
8641
8646
|
* @param {*} [options] Override http request option.
|
|
8642
8647
|
* @throws {RequiredError}
|
|
8643
8648
|
*/
|
|
8644
8649
|
getAdvertisements(requestParameters = {}, options) {
|
|
8645
|
-
return localVarFp.getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8650
|
+
return localVarFp.getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8646
8651
|
},
|
|
8647
8652
|
/**
|
|
8648
8653
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
@@ -8712,14 +8717,14 @@ class AdvertisementsApi extends base_1.BaseAPI {
|
|
|
8712
8717
|
return (0, exports.AdvertisementsApiFp)(this.configuration).getAdvertisementViews(requestParameters.advertisementId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8713
8718
|
}
|
|
8714
8719
|
/**
|
|
8715
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8720
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8716
8721
|
* @summary List advertisements
|
|
8717
8722
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
8718
8723
|
* @param {*} [options] Override http request option.
|
|
8719
8724
|
* @throws {RequiredError}
|
|
8720
8725
|
*/
|
|
8721
8726
|
getAdvertisements(requestParameters = {}, options) {
|
|
8722
|
-
return (0, exports.AdvertisementsApiFp)(this.configuration).getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8727
|
+
return (0, exports.AdvertisementsApiFp)(this.configuration).getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8723
8728
|
}
|
|
8724
8729
|
/**
|
|
8725
8730
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Connected Admin API
|
|
6
6
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 11.
|
|
8
|
+
* The version of the OpenAPI document: 11.9.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1281,7 +1281,7 @@ export interface BaseEventMediaItemLike {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
export interface BaseEventOnSite {
|
|
1283
1283
|
'eventId': string;
|
|
1284
|
-
'authenticationCode':
|
|
1284
|
+
'authenticationCode': string;
|
|
1285
1285
|
'badgeTemplate': string | null;
|
|
1286
1286
|
'createdAt': string;
|
|
1287
1287
|
'updatedAt': string;
|
|
@@ -5111,7 +5111,7 @@ export interface EventMediaItemUpdateInputs {
|
|
|
5111
5111
|
}
|
|
5112
5112
|
export interface EventOnSite {
|
|
5113
5113
|
'eventId': string;
|
|
5114
|
-
'authenticationCode':
|
|
5114
|
+
'authenticationCode': string;
|
|
5115
5115
|
'badgeTemplate': string | null;
|
|
5116
5116
|
'createdAt': string;
|
|
5117
5117
|
'updatedAt': string;
|
|
@@ -17214,8 +17214,9 @@ export declare const AdvertisementsApiAxiosParamCreator: (configuration?: Config
|
|
|
17214
17214
|
*/
|
|
17215
17215
|
getAdvertisementViews: (advertisementId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17216
17216
|
/**
|
|
17217
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17217
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17218
17218
|
* @summary List advertisements
|
|
17219
|
+
* @param {string} [accountId] Filter by accountId
|
|
17219
17220
|
* @param {number} [page] Page number
|
|
17220
17221
|
* @param {number} [pageSize] Number of items per page
|
|
17221
17222
|
* @param {string} [orderBy] Field to order by
|
|
@@ -17223,7 +17224,7 @@ export declare const AdvertisementsApiAxiosParamCreator: (configuration?: Config
|
|
|
17223
17224
|
* @param {*} [options] Override http request option.
|
|
17224
17225
|
* @throws {RequiredError}
|
|
17225
17226
|
*/
|
|
17226
|
-
getAdvertisements: (page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17227
|
+
getAdvertisements: (accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
17227
17228
|
/**
|
|
17228
17229
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
17229
17230
|
* @summary Update an advertisement
|
|
@@ -17287,8 +17288,9 @@ export declare const AdvertisementsApiFp: (configuration?: Configuration) => {
|
|
|
17287
17288
|
*/
|
|
17288
17289
|
getAdvertisementViews(advertisementId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisementViews200Response>>;
|
|
17289
17290
|
/**
|
|
17290
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17291
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17291
17292
|
* @summary List advertisements
|
|
17293
|
+
* @param {string} [accountId] Filter by accountId
|
|
17292
17294
|
* @param {number} [page] Page number
|
|
17293
17295
|
* @param {number} [pageSize] Number of items per page
|
|
17294
17296
|
* @param {string} [orderBy] Field to order by
|
|
@@ -17296,7 +17298,7 @@ export declare const AdvertisementsApiFp: (configuration?: Configuration) => {
|
|
|
17296
17298
|
* @param {*} [options] Override http request option.
|
|
17297
17299
|
* @throws {RequiredError}
|
|
17298
17300
|
*/
|
|
17299
|
-
getAdvertisements(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>>;
|
|
17301
|
+
getAdvertisements(accountId?: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAdvertisements200Response>>;
|
|
17300
17302
|
/**
|
|
17301
17303
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
17302
17304
|
* @summary Update an advertisement
|
|
@@ -17352,7 +17354,7 @@ export declare const AdvertisementsApiFactory: (configuration?: Configuration, b
|
|
|
17352
17354
|
*/
|
|
17353
17355
|
getAdvertisementViews(requestParameters: AdvertisementsApiGetAdvertisementViewsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAdvertisementViews200Response>;
|
|
17354
17356
|
/**
|
|
17355
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17357
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17356
17358
|
* @summary List advertisements
|
|
17357
17359
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
17358
17360
|
* @param {*} [options] Override http request option.
|
|
@@ -17446,6 +17448,10 @@ export interface AdvertisementsApiGetAdvertisementViewsRequest {
|
|
|
17446
17448
|
* Request parameters for getAdvertisements operation in AdvertisementsApi.
|
|
17447
17449
|
*/
|
|
17448
17450
|
export interface AdvertisementsApiGetAdvertisementsRequest {
|
|
17451
|
+
/**
|
|
17452
|
+
* Filter by accountId
|
|
17453
|
+
*/
|
|
17454
|
+
readonly accountId?: string;
|
|
17449
17455
|
/**
|
|
17450
17456
|
* Page number
|
|
17451
17457
|
*/
|
|
@@ -17518,7 +17524,7 @@ export declare class AdvertisementsApi extends BaseAPI {
|
|
|
17518
17524
|
*/
|
|
17519
17525
|
getAdvertisementViews(requestParameters: AdvertisementsApiGetAdvertisementViewsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAdvertisementViews200Response, any, {}, any>>;
|
|
17520
17526
|
/**
|
|
17521
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
17527
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
17522
17528
|
* @summary List advertisements
|
|
17523
17529
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
17524
17530
|
* @param {*} [options] Override http request option.
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8283,8 +8283,9 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8283
8283
|
};
|
|
8284
8284
|
}),
|
|
8285
8285
|
/**
|
|
8286
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8286
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8287
8287
|
* @summary List advertisements
|
|
8288
|
+
* @param {string} [accountId] Filter by accountId
|
|
8288
8289
|
* @param {number} [page] Page number
|
|
8289
8290
|
* @param {number} [pageSize] Number of items per page
|
|
8290
8291
|
* @param {string} [orderBy] Field to order by
|
|
@@ -8292,7 +8293,7 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8292
8293
|
* @param {*} [options] Override http request option.
|
|
8293
8294
|
* @throws {RequiredError}
|
|
8294
8295
|
*/
|
|
8295
|
-
getAdvertisements: (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 = {}) {
|
|
8296
|
+
getAdvertisements: (accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [accountId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (accountId, page, pageSize, orderBy, search, options = {}) {
|
|
8296
8297
|
const localVarPath = `/advertisements`;
|
|
8297
8298
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8298
8299
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8307,6 +8308,9 @@ export const AdvertisementsApiAxiosParamCreator = function (configuration) {
|
|
|
8307
8308
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
8308
8309
|
// authentication OrganizationId required
|
|
8309
8310
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
8311
|
+
if (accountId !== undefined) {
|
|
8312
|
+
localVarQueryParameter['accountId'] = accountId;
|
|
8313
|
+
}
|
|
8310
8314
|
if (page !== undefined) {
|
|
8311
8315
|
localVarQueryParameter['page'] = page;
|
|
8312
8316
|
}
|
|
@@ -8464,8 +8468,9 @@ export const AdvertisementsApiFp = function (configuration) {
|
|
|
8464
8468
|
});
|
|
8465
8469
|
},
|
|
8466
8470
|
/**
|
|
8467
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8471
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8468
8472
|
* @summary List advertisements
|
|
8473
|
+
* @param {string} [accountId] Filter by accountId
|
|
8469
8474
|
* @param {number} [page] Page number
|
|
8470
8475
|
* @param {number} [pageSize] Number of items per page
|
|
8471
8476
|
* @param {string} [orderBy] Field to order by
|
|
@@ -8473,10 +8478,10 @@ export const AdvertisementsApiFp = function (configuration) {
|
|
|
8473
8478
|
* @param {*} [options] Override http request option.
|
|
8474
8479
|
* @throws {RequiredError}
|
|
8475
8480
|
*/
|
|
8476
|
-
getAdvertisements(page, pageSize, orderBy, search, options) {
|
|
8481
|
+
getAdvertisements(accountId, page, pageSize, orderBy, search, options) {
|
|
8477
8482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
8478
8483
|
var _a, _b, _c;
|
|
8479
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdvertisements(page, pageSize, orderBy, search, options);
|
|
8484
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAdvertisements(accountId, page, pageSize, orderBy, search, options);
|
|
8480
8485
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
8481
8486
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AdvertisementsApi.getAdvertisements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
8482
8487
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8558,14 +8563,14 @@ export const AdvertisementsApiFactory = function (configuration, basePath, axios
|
|
|
8558
8563
|
return localVarFp.getAdvertisementViews(requestParameters.advertisementId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8559
8564
|
},
|
|
8560
8565
|
/**
|
|
8561
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8566
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8562
8567
|
* @summary List advertisements
|
|
8563
8568
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
8564
8569
|
* @param {*} [options] Override http request option.
|
|
8565
8570
|
* @throws {RequiredError}
|
|
8566
8571
|
*/
|
|
8567
8572
|
getAdvertisements(requestParameters = {}, options) {
|
|
8568
|
-
return localVarFp.getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8573
|
+
return localVarFp.getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
8569
8574
|
},
|
|
8570
8575
|
/**
|
|
8571
8576
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
|
@@ -8634,14 +8639,14 @@ export class AdvertisementsApi extends BaseAPI {
|
|
|
8634
8639
|
return AdvertisementsApiFp(this.configuration).getAdvertisementViews(requestParameters.advertisementId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8635
8640
|
}
|
|
8636
8641
|
/**
|
|
8637
|
-
* Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
8642
|
+
* Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
8638
8643
|
* @summary List advertisements
|
|
8639
8644
|
* @param {AdvertisementsApiGetAdvertisementsRequest} requestParameters Request parameters.
|
|
8640
8645
|
* @param {*} [options] Override http request option.
|
|
8641
8646
|
* @throws {RequiredError}
|
|
8642
8647
|
*/
|
|
8643
8648
|
getAdvertisements(requestParameters = {}, options) {
|
|
8644
|
-
return AdvertisementsApiFp(this.configuration).getAdvertisements(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8649
|
+
return AdvertisementsApiFp(this.configuration).getAdvertisements(requestParameters.accountId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
8645
8650
|
}
|
|
8646
8651
|
/**
|
|
8647
8652
|
* Updates the details of an existing advertisement identified by advertisementId; requires update permission on advertisements.
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.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.
|
|
7
|
+
* The version of the OpenAPI document: 11.9.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.
|
|
5
|
+
* The version of the OpenAPI document: 11.9.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.
|
|
6
|
+
* The version of the OpenAPI document: 11.9.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -295,7 +295,7 @@ const { status, data } = await apiInstance.getAdvertisementViews(
|
|
|
295
295
|
# **getAdvertisements**
|
|
296
296
|
> GetAdvertisements200Response getAdvertisements()
|
|
297
297
|
|
|
298
|
-
Returns a paginated list of advertisements for the organization, supporting search and ordering, and requiring read permission on advertisements.
|
|
298
|
+
Returns a paginated list of advertisements for the organization, optionally filtered by accountId, supporting search and ordering, and requiring read permission on advertisements.
|
|
299
299
|
|
|
300
300
|
### Example
|
|
301
301
|
|
|
@@ -308,12 +308,14 @@ import {
|
|
|
308
308
|
const configuration = new Configuration();
|
|
309
309
|
const apiInstance = new AdvertisementsApi(configuration);
|
|
310
310
|
|
|
311
|
+
let accountId: string; //Filter by accountId (optional) (default to undefined)
|
|
311
312
|
let page: number; //Page number (optional) (default to 1)
|
|
312
313
|
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
313
314
|
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
314
315
|
let search: string; //Search query (optional) (default to undefined)
|
|
315
316
|
|
|
316
317
|
const { status, data } = await apiInstance.getAdvertisements(
|
|
318
|
+
accountId,
|
|
317
319
|
page,
|
|
318
320
|
pageSize,
|
|
319
321
|
orderBy,
|
|
@@ -325,6 +327,7 @@ const { status, data } = await apiInstance.getAdvertisements(
|
|
|
325
327
|
|
|
326
328
|
|Name | Type | Description | Notes|
|
|
327
329
|
|------------- | ------------- | ------------- | -------------|
|
|
330
|
+
| **accountId** | [**string**] | Filter by accountId | (optional) defaults to undefined|
|
|
328
331
|
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
329
332
|
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
330
333
|
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
package/docs/BaseEventOnSite.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**eventId** | **string** | | [default to undefined]
|
|
9
|
-
**authenticationCode** | **
|
|
9
|
+
**authenticationCode** | **string** | | [default to undefined]
|
|
10
10
|
**badgeTemplate** | **string** | | [default to undefined]
|
|
11
11
|
**createdAt** | **string** | | [default to undefined]
|
|
12
12
|
**updatedAt** | **string** | | [default to undefined]
|
package/docs/EventOnSite.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**eventId** | **string** | | [default to undefined]
|
|
9
|
-
**authenticationCode** | **
|
|
9
|
+
**authenticationCode** | **string** | | [default to undefined]
|
|
10
10
|
**badgeTemplate** | **string** | | [default to undefined]
|
|
11
11
|
**createdAt** | **string** | | [default to undefined]
|
|
12
12
|
**updatedAt** | **string** | | [default to undefined]
|