@connectedxm/admin-sdk 15.1.0 → 15.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 +13 -0
- package/AdminApi.ts +3 -0
- package/README.md +2 -2
- package/api.ts +263 -1
- 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 +171 -1
- package/dist/api.js +175 -24
- 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 +171 -1
- package/dist/esm/api.js +148 -1
- 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/EventSponsorshipProgress.md +28 -0
- package/docs/EventSponsorshipProgressAccount.md +26 -0
- package/docs/EventSponsorshipProgressLevel.md +22 -0
- package/docs/EventsSponsorshipprogressApi.md +71 -0
- package/docs/GetEventSponsorshipProgress200Response.md +26 -0
- package/docs/SponsorshipAdvertisementProgress.md +28 -0
- package/docs/SponsorshipBenefitProgress.md +28 -0
- package/docs/SponsorshipBrandingField.md +10 -0
- package/docs/SponsorshipBrandingProgress.md +24 -0
- package/docs/SponsorshipProgress.md +24 -0
- package/docs/SponsorshipProgressCheck.md +30 -0
- package/docs/UnavailableSponsorshipAdvertisementProgress.md +26 -0
- package/docs/UnavailableSponsorshipBenefitProgress.md +26 -0
- package/package.json +1 -1
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: 15.
|
|
5
|
+
* The version of the OpenAPI document: 15.2.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6796,6 +6796,23 @@ export interface EventSponsorshipLevelUpdateInputs {
|
|
|
6796
6796
|
'benefitAllowance'?: number;
|
|
6797
6797
|
'benefitPriority'?: number;
|
|
6798
6798
|
}
|
|
6799
|
+
export interface EventSponsorshipProgress {
|
|
6800
|
+
'id': string;
|
|
6801
|
+
'name': string;
|
|
6802
|
+
'account': EventSponsorshipProgressAccount | null;
|
|
6803
|
+
'level': EventSponsorshipProgressLevel;
|
|
6804
|
+
'progress': SponsorshipProgress;
|
|
6805
|
+
}
|
|
6806
|
+
export interface EventSponsorshipProgressAccount {
|
|
6807
|
+
'id': string;
|
|
6808
|
+
'fullName': string | null;
|
|
6809
|
+
'firstName': string | null;
|
|
6810
|
+
'lastName': string | null;
|
|
6811
|
+
}
|
|
6812
|
+
export interface EventSponsorshipProgressLevel {
|
|
6813
|
+
'id': string;
|
|
6814
|
+
'name': string;
|
|
6815
|
+
}
|
|
6799
6816
|
export interface EventSponsorshipTranslation {
|
|
6800
6817
|
'id': number;
|
|
6801
6818
|
'locale': string;
|
|
@@ -8781,6 +8798,15 @@ export interface GetEventSponsorshipLevels200Response {
|
|
|
8781
8798
|
export declare enum GetEventSponsorshipLevels200ResponseStatusEnum {
|
|
8782
8799
|
Ok = "ok"
|
|
8783
8800
|
}
|
|
8801
|
+
export interface GetEventSponsorshipProgress200Response {
|
|
8802
|
+
'status': GetEventSponsorshipProgress200ResponseStatusEnum;
|
|
8803
|
+
'message': string;
|
|
8804
|
+
'data': Array<EventSponsorshipProgress>;
|
|
8805
|
+
'count'?: number;
|
|
8806
|
+
}
|
|
8807
|
+
export declare enum GetEventSponsorshipProgress200ResponseStatusEnum {
|
|
8808
|
+
Ok = "ok"
|
|
8809
|
+
}
|
|
8784
8810
|
export interface GetEventSponsorshipTranslation200Response {
|
|
8785
8811
|
'status': GetEventSponsorshipTranslation200ResponseStatusEnum;
|
|
8786
8812
|
'message': string;
|
|
@@ -13283,6 +13309,38 @@ export declare enum SideEffectTriggerType {
|
|
|
13283
13309
|
PassWithQuestionChoice = "PASS_WITH_QUESTION_CHOICE",
|
|
13284
13310
|
PurchasedAddon = "PURCHASED_ADDON"
|
|
13285
13311
|
}
|
|
13312
|
+
export interface SponsorshipAdvertisementProgress {
|
|
13313
|
+
'type': SponsorshipAdvertisementProgressTypeEnum;
|
|
13314
|
+
'complete': boolean;
|
|
13315
|
+
'created': number;
|
|
13316
|
+
'allowance': number;
|
|
13317
|
+
'unavailable': boolean;
|
|
13318
|
+
}
|
|
13319
|
+
export declare enum SponsorshipAdvertisementProgressTypeEnum {
|
|
13320
|
+
Advertisements = "advertisements"
|
|
13321
|
+
}
|
|
13322
|
+
export interface SponsorshipBenefitProgress {
|
|
13323
|
+
'type': SponsorshipBenefitProgressTypeEnum;
|
|
13324
|
+
'complete': boolean;
|
|
13325
|
+
'created': number;
|
|
13326
|
+
'allowance': number;
|
|
13327
|
+
'unavailable': boolean;
|
|
13328
|
+
}
|
|
13329
|
+
export declare enum SponsorshipBenefitProgressTypeEnum {
|
|
13330
|
+
Benefits = "benefits"
|
|
13331
|
+
}
|
|
13332
|
+
export declare enum SponsorshipBrandingField {
|
|
13333
|
+
Logo = "logo",
|
|
13334
|
+
Link = "link"
|
|
13335
|
+
}
|
|
13336
|
+
export interface SponsorshipBrandingProgress {
|
|
13337
|
+
'type': SponsorshipBrandingProgressTypeEnum;
|
|
13338
|
+
'complete': boolean;
|
|
13339
|
+
'missing': Array<SponsorshipBrandingField>;
|
|
13340
|
+
}
|
|
13341
|
+
export declare enum SponsorshipBrandingProgressTypeEnum {
|
|
13342
|
+
Branding = "branding"
|
|
13343
|
+
}
|
|
13286
13344
|
export interface SponsorshipLevelTranslation {
|
|
13287
13345
|
'id': number;
|
|
13288
13346
|
'locale': string;
|
|
@@ -13292,6 +13350,15 @@ export interface SponsorshipLevelTranslation {
|
|
|
13292
13350
|
'createdAt': string;
|
|
13293
13351
|
'updatedAt': string;
|
|
13294
13352
|
}
|
|
13353
|
+
export interface SponsorshipProgress {
|
|
13354
|
+
'complete': boolean;
|
|
13355
|
+
'checks': Array<SponsorshipProgressCheck>;
|
|
13356
|
+
'attention': Array<SponsorshipProgressCheck>;
|
|
13357
|
+
}
|
|
13358
|
+
/**
|
|
13359
|
+
* @type SponsorshipProgressCheck
|
|
13360
|
+
*/
|
|
13361
|
+
export type SponsorshipProgressCheck = SponsorshipAdvertisementProgress | SponsorshipBenefitProgress | SponsorshipBrandingProgress | UnavailableSponsorshipAdvertisementProgress | UnavailableSponsorshipBenefitProgress;
|
|
13295
13362
|
export interface StandardReport {
|
|
13296
13363
|
'id': string;
|
|
13297
13364
|
'type': ReportType;
|
|
@@ -14358,6 +14425,24 @@ export interface TriggerUpdateInputs {
|
|
|
14358
14425
|
'code'?: string | null;
|
|
14359
14426
|
'enabled'?: boolean;
|
|
14360
14427
|
}
|
|
14428
|
+
export interface UnavailableSponsorshipAdvertisementProgress {
|
|
14429
|
+
'type': UnavailableSponsorshipAdvertisementProgressTypeEnum;
|
|
14430
|
+
'complete': boolean;
|
|
14431
|
+
'unavailable': boolean;
|
|
14432
|
+
'allowance': number;
|
|
14433
|
+
}
|
|
14434
|
+
export declare enum UnavailableSponsorshipAdvertisementProgressTypeEnum {
|
|
14435
|
+
Advertisements = "advertisements"
|
|
14436
|
+
}
|
|
14437
|
+
export interface UnavailableSponsorshipBenefitProgress {
|
|
14438
|
+
'type': UnavailableSponsorshipBenefitProgressTypeEnum;
|
|
14439
|
+
'complete': boolean;
|
|
14440
|
+
'unavailable': boolean;
|
|
14441
|
+
'allowance': number;
|
|
14442
|
+
}
|
|
14443
|
+
export declare enum UnavailableSponsorshipBenefitProgressTypeEnum {
|
|
14444
|
+
Benefits = "benefits"
|
|
14445
|
+
}
|
|
14361
14446
|
export interface UpdateAnnouncementTemplateTranslation200Response {
|
|
14362
14447
|
'status': UpdateAnnouncementTemplateTranslation200ResponseStatusEnum;
|
|
14363
14448
|
'message': string;
|
|
@@ -62363,6 +62448,91 @@ export declare class EventsSponsorshiplevelsTranslationsApi extends BaseAPI {
|
|
|
62363
62448
|
*/
|
|
62364
62449
|
updateEventSponsorshipLevelTranslation(requestParameters: EventsSponsorshiplevelsTranslationsApiUpdateEventSponsorshipLevelTranslationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventSponsorshipLevelTranslation200Response, any, {}, any>>;
|
|
62365
62450
|
}
|
|
62451
|
+
/**
|
|
62452
|
+
* EventsSponsorshipprogressApi - axios parameter creator
|
|
62453
|
+
*/
|
|
62454
|
+
export declare const EventsSponsorshipprogressApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
62455
|
+
/**
|
|
62456
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
62457
|
+
* @summary List derived sponsor progress for an event
|
|
62458
|
+
* @param {string} eventId The event identifier
|
|
62459
|
+
* @param {number} [page] Page number
|
|
62460
|
+
* @param {number} [pageSize] Number of items per page
|
|
62461
|
+
* @param {string} [orderBy] Field to order by
|
|
62462
|
+
* @param {string} [search] Search query
|
|
62463
|
+
* @param {*} [options] Override http request option.
|
|
62464
|
+
* @throws {RequiredError}
|
|
62465
|
+
*/
|
|
62466
|
+
getEventSponsorshipProgress: (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
62467
|
+
};
|
|
62468
|
+
/**
|
|
62469
|
+
* EventsSponsorshipprogressApi - functional programming interface
|
|
62470
|
+
*/
|
|
62471
|
+
export declare const EventsSponsorshipprogressApiFp: (configuration?: Configuration) => {
|
|
62472
|
+
/**
|
|
62473
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
62474
|
+
* @summary List derived sponsor progress for an event
|
|
62475
|
+
* @param {string} eventId The event identifier
|
|
62476
|
+
* @param {number} [page] Page number
|
|
62477
|
+
* @param {number} [pageSize] Number of items per page
|
|
62478
|
+
* @param {string} [orderBy] Field to order by
|
|
62479
|
+
* @param {string} [search] Search query
|
|
62480
|
+
* @param {*} [options] Override http request option.
|
|
62481
|
+
* @throws {RequiredError}
|
|
62482
|
+
*/
|
|
62483
|
+
getEventSponsorshipProgress(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventSponsorshipProgress200Response>>;
|
|
62484
|
+
};
|
|
62485
|
+
/**
|
|
62486
|
+
* EventsSponsorshipprogressApi - factory interface
|
|
62487
|
+
*/
|
|
62488
|
+
export declare const EventsSponsorshipprogressApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
62489
|
+
/**
|
|
62490
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
62491
|
+
* @summary List derived sponsor progress for an event
|
|
62492
|
+
* @param {EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest} requestParameters Request parameters.
|
|
62493
|
+
* @param {*} [options] Override http request option.
|
|
62494
|
+
* @throws {RequiredError}
|
|
62495
|
+
*/
|
|
62496
|
+
getEventSponsorshipProgress(requestParameters: EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSponsorshipProgress200Response>;
|
|
62497
|
+
};
|
|
62498
|
+
/**
|
|
62499
|
+
* Request parameters for getEventSponsorshipProgress operation in EventsSponsorshipprogressApi.
|
|
62500
|
+
*/
|
|
62501
|
+
export interface EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest {
|
|
62502
|
+
/**
|
|
62503
|
+
* The event identifier
|
|
62504
|
+
*/
|
|
62505
|
+
readonly eventId: string;
|
|
62506
|
+
/**
|
|
62507
|
+
* Page number
|
|
62508
|
+
*/
|
|
62509
|
+
readonly page?: number;
|
|
62510
|
+
/**
|
|
62511
|
+
* Number of items per page
|
|
62512
|
+
*/
|
|
62513
|
+
readonly pageSize?: number;
|
|
62514
|
+
/**
|
|
62515
|
+
* Field to order by
|
|
62516
|
+
*/
|
|
62517
|
+
readonly orderBy?: string;
|
|
62518
|
+
/**
|
|
62519
|
+
* Search query
|
|
62520
|
+
*/
|
|
62521
|
+
readonly search?: string;
|
|
62522
|
+
}
|
|
62523
|
+
/**
|
|
62524
|
+
* EventsSponsorshipprogressApi - object-oriented interface
|
|
62525
|
+
*/
|
|
62526
|
+
export declare class EventsSponsorshipprogressApi extends BaseAPI {
|
|
62527
|
+
/**
|
|
62528
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
62529
|
+
* @summary List derived sponsor progress for an event
|
|
62530
|
+
* @param {EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest} requestParameters Request parameters.
|
|
62531
|
+
* @param {*} [options] Override http request option.
|
|
62532
|
+
* @throws {RequiredError}
|
|
62533
|
+
*/
|
|
62534
|
+
getEventSponsorshipProgress(requestParameters: EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventSponsorshipProgress200Response, any, {}, any>>;
|
|
62535
|
+
}
|
|
62366
62536
|
/**
|
|
62367
62537
|
* EventsSponsorshipsApi - axios parameter creator
|
|
62368
62538
|
*/
|
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: 15.
|
|
7
|
+
* The version of the OpenAPI document: 15.2.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1582,6 +1582,10 @@ export var GetEventSponsorshipLevels200ResponseStatusEnum;
|
|
|
1582
1582
|
(function (GetEventSponsorshipLevels200ResponseStatusEnum) {
|
|
1583
1583
|
GetEventSponsorshipLevels200ResponseStatusEnum["Ok"] = "ok";
|
|
1584
1584
|
})(GetEventSponsorshipLevels200ResponseStatusEnum || (GetEventSponsorshipLevels200ResponseStatusEnum = {}));
|
|
1585
|
+
export var GetEventSponsorshipProgress200ResponseStatusEnum;
|
|
1586
|
+
(function (GetEventSponsorshipProgress200ResponseStatusEnum) {
|
|
1587
|
+
GetEventSponsorshipProgress200ResponseStatusEnum["Ok"] = "ok";
|
|
1588
|
+
})(GetEventSponsorshipProgress200ResponseStatusEnum || (GetEventSponsorshipProgress200ResponseStatusEnum = {}));
|
|
1585
1589
|
export var GetEventSponsorshipTranslation200ResponseStatusEnum;
|
|
1586
1590
|
(function (GetEventSponsorshipTranslation200ResponseStatusEnum) {
|
|
1587
1591
|
GetEventSponsorshipTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -2802,6 +2806,23 @@ export var SideEffectTriggerType;
|
|
|
2802
2806
|
SideEffectTriggerType["PassWithQuestionChoice"] = "PASS_WITH_QUESTION_CHOICE";
|
|
2803
2807
|
SideEffectTriggerType["PurchasedAddon"] = "PURCHASED_ADDON";
|
|
2804
2808
|
})(SideEffectTriggerType || (SideEffectTriggerType = {}));
|
|
2809
|
+
export var SponsorshipAdvertisementProgressTypeEnum;
|
|
2810
|
+
(function (SponsorshipAdvertisementProgressTypeEnum) {
|
|
2811
|
+
SponsorshipAdvertisementProgressTypeEnum["Advertisements"] = "advertisements";
|
|
2812
|
+
})(SponsorshipAdvertisementProgressTypeEnum || (SponsorshipAdvertisementProgressTypeEnum = {}));
|
|
2813
|
+
export var SponsorshipBenefitProgressTypeEnum;
|
|
2814
|
+
(function (SponsorshipBenefitProgressTypeEnum) {
|
|
2815
|
+
SponsorshipBenefitProgressTypeEnum["Benefits"] = "benefits";
|
|
2816
|
+
})(SponsorshipBenefitProgressTypeEnum || (SponsorshipBenefitProgressTypeEnum = {}));
|
|
2817
|
+
export var SponsorshipBrandingField;
|
|
2818
|
+
(function (SponsorshipBrandingField) {
|
|
2819
|
+
SponsorshipBrandingField["Logo"] = "logo";
|
|
2820
|
+
SponsorshipBrandingField["Link"] = "link";
|
|
2821
|
+
})(SponsorshipBrandingField || (SponsorshipBrandingField = {}));
|
|
2822
|
+
export var SponsorshipBrandingProgressTypeEnum;
|
|
2823
|
+
(function (SponsorshipBrandingProgressTypeEnum) {
|
|
2824
|
+
SponsorshipBrandingProgressTypeEnum["Branding"] = "branding";
|
|
2825
|
+
})(SponsorshipBrandingProgressTypeEnum || (SponsorshipBrandingProgressTypeEnum = {}));
|
|
2805
2826
|
export var StorageConfigTypeEnum;
|
|
2806
2827
|
(function (StorageConfigTypeEnum) {
|
|
2807
2828
|
StorageConfigTypeEnum["Aws"] = "aws";
|
|
@@ -2999,6 +3020,14 @@ export var ThreadType;
|
|
|
2999
3020
|
ThreadType["Direct"] = "direct";
|
|
3000
3021
|
ThreadType["Default"] = "default";
|
|
3001
3022
|
})(ThreadType || (ThreadType = {}));
|
|
3023
|
+
export var UnavailableSponsorshipAdvertisementProgressTypeEnum;
|
|
3024
|
+
(function (UnavailableSponsorshipAdvertisementProgressTypeEnum) {
|
|
3025
|
+
UnavailableSponsorshipAdvertisementProgressTypeEnum["Advertisements"] = "advertisements";
|
|
3026
|
+
})(UnavailableSponsorshipAdvertisementProgressTypeEnum || (UnavailableSponsorshipAdvertisementProgressTypeEnum = {}));
|
|
3027
|
+
export var UnavailableSponsorshipBenefitProgressTypeEnum;
|
|
3028
|
+
(function (UnavailableSponsorshipBenefitProgressTypeEnum) {
|
|
3029
|
+
UnavailableSponsorshipBenefitProgressTypeEnum["Benefits"] = "benefits";
|
|
3030
|
+
})(UnavailableSponsorshipBenefitProgressTypeEnum || (UnavailableSponsorshipBenefitProgressTypeEnum = {}));
|
|
3002
3031
|
export var UpdateAnnouncementTemplateTranslation200ResponseStatusEnum;
|
|
3003
3032
|
(function (UpdateAnnouncementTemplateTranslation200ResponseStatusEnum) {
|
|
3004
3033
|
UpdateAnnouncementTemplateTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -74169,6 +74198,124 @@ export class EventsSponsorshiplevelsTranslationsApi extends BaseAPI {
|
|
|
74169
74198
|
return EventsSponsorshiplevelsTranslationsApiFp(this.configuration).updateEventSponsorshipLevelTranslation(requestParameters.eventId, requestParameters.levelId, requestParameters.locale, requestParameters.eventSponsorshipLevelTranslationUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
74170
74199
|
}
|
|
74171
74200
|
}
|
|
74201
|
+
/**
|
|
74202
|
+
* EventsSponsorshipprogressApi - axios parameter creator
|
|
74203
|
+
*/
|
|
74204
|
+
export const EventsSponsorshipprogressApiAxiosParamCreator = function (configuration) {
|
|
74205
|
+
return {
|
|
74206
|
+
/**
|
|
74207
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
74208
|
+
* @summary List derived sponsor progress for an event
|
|
74209
|
+
* @param {string} eventId The event identifier
|
|
74210
|
+
* @param {number} [page] Page number
|
|
74211
|
+
* @param {number} [pageSize] Number of items per page
|
|
74212
|
+
* @param {string} [orderBy] Field to order by
|
|
74213
|
+
* @param {string} [search] Search query
|
|
74214
|
+
* @param {*} [options] Override http request option.
|
|
74215
|
+
* @throws {RequiredError}
|
|
74216
|
+
*/
|
|
74217
|
+
getEventSponsorshipProgress: (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 = {}) {
|
|
74218
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
74219
|
+
assertParamExists('getEventSponsorshipProgress', 'eventId', eventId);
|
|
74220
|
+
const localVarPath = `/events/{eventId}/sponsorshipProgress`
|
|
74221
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
74222
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
74223
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
74224
|
+
let baseOptions;
|
|
74225
|
+
if (configuration) {
|
|
74226
|
+
baseOptions = configuration.baseOptions;
|
|
74227
|
+
}
|
|
74228
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
74229
|
+
const localVarHeaderParameter = {};
|
|
74230
|
+
const localVarQueryParameter = {};
|
|
74231
|
+
// authentication ApiKeyAuth required
|
|
74232
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
74233
|
+
// authentication OrganizationId required
|
|
74234
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
74235
|
+
if (page !== undefined) {
|
|
74236
|
+
localVarQueryParameter['page'] = page;
|
|
74237
|
+
}
|
|
74238
|
+
if (pageSize !== undefined) {
|
|
74239
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
74240
|
+
}
|
|
74241
|
+
if (orderBy !== undefined) {
|
|
74242
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
74243
|
+
}
|
|
74244
|
+
if (search !== undefined) {
|
|
74245
|
+
localVarQueryParameter['search'] = search;
|
|
74246
|
+
}
|
|
74247
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
74248
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
74249
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
74250
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
74251
|
+
return {
|
|
74252
|
+
url: toPathString(localVarUrlObj),
|
|
74253
|
+
options: localVarRequestOptions,
|
|
74254
|
+
};
|
|
74255
|
+
}),
|
|
74256
|
+
};
|
|
74257
|
+
};
|
|
74258
|
+
/**
|
|
74259
|
+
* EventsSponsorshipprogressApi - functional programming interface
|
|
74260
|
+
*/
|
|
74261
|
+
export const EventsSponsorshipprogressApiFp = function (configuration) {
|
|
74262
|
+
const localVarAxiosParamCreator = EventsSponsorshipprogressApiAxiosParamCreator(configuration);
|
|
74263
|
+
return {
|
|
74264
|
+
/**
|
|
74265
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
74266
|
+
* @summary List derived sponsor progress for an event
|
|
74267
|
+
* @param {string} eventId The event identifier
|
|
74268
|
+
* @param {number} [page] Page number
|
|
74269
|
+
* @param {number} [pageSize] Number of items per page
|
|
74270
|
+
* @param {string} [orderBy] Field to order by
|
|
74271
|
+
* @param {string} [search] Search query
|
|
74272
|
+
* @param {*} [options] Override http request option.
|
|
74273
|
+
* @throws {RequiredError}
|
|
74274
|
+
*/
|
|
74275
|
+
getEventSponsorshipProgress(eventId, page, pageSize, orderBy, search, options) {
|
|
74276
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74277
|
+
var _a, _b, _c;
|
|
74278
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventSponsorshipProgress(eventId, page, pageSize, orderBy, search, options);
|
|
74279
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
74280
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsSponsorshipprogressApi.getEventSponsorshipProgress']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
74281
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
74282
|
+
});
|
|
74283
|
+
},
|
|
74284
|
+
};
|
|
74285
|
+
};
|
|
74286
|
+
/**
|
|
74287
|
+
* EventsSponsorshipprogressApi - factory interface
|
|
74288
|
+
*/
|
|
74289
|
+
export const EventsSponsorshipprogressApiFactory = function (configuration, basePath, axios) {
|
|
74290
|
+
const localVarFp = EventsSponsorshipprogressApiFp(configuration);
|
|
74291
|
+
return {
|
|
74292
|
+
/**
|
|
74293
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
74294
|
+
* @summary List derived sponsor progress for an event
|
|
74295
|
+
* @param {EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest} requestParameters Request parameters.
|
|
74296
|
+
* @param {*} [options] Override http request option.
|
|
74297
|
+
* @throws {RequiredError}
|
|
74298
|
+
*/
|
|
74299
|
+
getEventSponsorshipProgress(requestParameters, options) {
|
|
74300
|
+
return localVarFp.getEventSponsorshipProgress(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
74301
|
+
},
|
|
74302
|
+
};
|
|
74303
|
+
};
|
|
74304
|
+
/**
|
|
74305
|
+
* EventsSponsorshipprogressApi - object-oriented interface
|
|
74306
|
+
*/
|
|
74307
|
+
export class EventsSponsorshipprogressApi extends BaseAPI {
|
|
74308
|
+
/**
|
|
74309
|
+
* Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
74310
|
+
* @summary List derived sponsor progress for an event
|
|
74311
|
+
* @param {EventsSponsorshipprogressApiGetEventSponsorshipProgressRequest} requestParameters Request parameters.
|
|
74312
|
+
* @param {*} [options] Override http request option.
|
|
74313
|
+
* @throws {RequiredError}
|
|
74314
|
+
*/
|
|
74315
|
+
getEventSponsorshipProgress(requestParameters, options) {
|
|
74316
|
+
return EventsSponsorshipprogressApiFp(this.configuration).getEventSponsorshipProgress(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
74317
|
+
}
|
|
74318
|
+
}
|
|
74172
74319
|
/**
|
|
74173
74320
|
* EventsSponsorshipsApi - axios parameter creator
|
|
74174
74321
|
*/
|
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: 15.
|
|
5
|
+
* The version of the OpenAPI document: 15.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: 15.
|
|
7
|
+
* The version of the OpenAPI document: 15.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: 15.
|
|
5
|
+
* The version of the OpenAPI document: 15.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: 15.
|
|
7
|
+
* The version of the OpenAPI document: 15.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: 15.
|
|
5
|
+
* The version of the OpenAPI document: 15.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: 15.
|
|
6
|
+
* The version of the OpenAPI document: 15.2.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# EventSponsorshipProgress
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
**account** | [**EventSponsorshipProgressAccount**](EventSponsorshipProgressAccount.md) | | [default to undefined]
|
|
11
|
+
**level** | [**EventSponsorshipProgressLevel**](EventSponsorshipProgressLevel.md) | | [default to undefined]
|
|
12
|
+
**progress** | [**SponsorshipProgress**](SponsorshipProgress.md) | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { EventSponsorshipProgress } from '@connectedxm/admin-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: EventSponsorshipProgress = {
|
|
20
|
+
id,
|
|
21
|
+
name,
|
|
22
|
+
account,
|
|
23
|
+
level,
|
|
24
|
+
progress,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# EventSponsorshipProgressAccount
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**fullName** | **string** | | [default to undefined]
|
|
10
|
+
**firstName** | **string** | | [default to undefined]
|
|
11
|
+
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { EventSponsorshipProgressAccount } from '@connectedxm/admin-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: EventSponsorshipProgressAccount = {
|
|
19
|
+
id,
|
|
20
|
+
fullName,
|
|
21
|
+
firstName,
|
|
22
|
+
lastName,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# EventSponsorshipProgressLevel
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**name** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { EventSponsorshipProgressLevel } from '@connectedxm/admin-sdk';
|
|
15
|
+
|
|
16
|
+
const instance: EventSponsorshipProgressLevel = {
|
|
17
|
+
id,
|
|
18
|
+
name,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# EventsSponsorshipprogressApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://admin-api.connected.dev*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getEventSponsorshipProgress**](#geteventsponsorshipprogress) | **GET** /events/{eventId}/sponsorshipProgress | List derived sponsor progress for an event|
|
|
8
|
+
|
|
9
|
+
# **getEventSponsorshipProgress**
|
|
10
|
+
> GetEventSponsorshipProgress200Response getEventSponsorshipProgress()
|
|
11
|
+
|
|
12
|
+
Returns a paginated list of sponsorships for the event with the same derived progress the sponsor sees, least-complete first, supporting search; requires read permission on sponsors, events, and accounts.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
EventsSponsorshipprogressApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@connectedxm/admin-sdk';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new EventsSponsorshipprogressApi(configuration);
|
|
24
|
+
|
|
25
|
+
let eventId: string; //The event identifier (default to undefined)
|
|
26
|
+
let page: number; //Page number (optional) (default to 1)
|
|
27
|
+
let pageSize: number; //Number of items per page (optional) (default to 25)
|
|
28
|
+
let orderBy: string; //Field to order by (optional) (default to undefined)
|
|
29
|
+
let search: string; //Search query (optional) (default to undefined)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.getEventSponsorshipProgress(
|
|
32
|
+
eventId,
|
|
33
|
+
page,
|
|
34
|
+
pageSize,
|
|
35
|
+
orderBy,
|
|
36
|
+
search
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **eventId** | [**string**] | The event identifier | defaults to undefined|
|
|
45
|
+
| **page** | [**number**] | Page number | (optional) defaults to 1|
|
|
46
|
+
| **pageSize** | [**number**] | Number of items per page | (optional) defaults to 25|
|
|
47
|
+
| **orderBy** | [**string**] | Field to order by | (optional) defaults to undefined|
|
|
48
|
+
| **search** | [**string**] | Search query | (optional) defaults to undefined|
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**GetEventSponsorshipProgress200Response**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth), [OrganizationId](../README.md#OrganizationId)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | Successful response | - |
|
|
69
|
+
|
|
70
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
71
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# GetEventSponsorshipProgress200Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**status** | **string** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
10
|
+
**data** | [**Array<EventSponsorshipProgress>**](EventSponsorshipProgress.md) | | [default to undefined]
|
|
11
|
+
**count** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { GetEventSponsorshipProgress200Response } from '@connectedxm/admin-sdk';
|
|
17
|
+
|
|
18
|
+
const instance: GetEventSponsorshipProgress200Response = {
|
|
19
|
+
status,
|
|
20
|
+
message,
|
|
21
|
+
data,
|
|
22
|
+
count,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# SponsorshipAdvertisementProgress
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**type** | **string** | | [default to undefined]
|
|
9
|
+
**complete** | **boolean** | | [default to undefined]
|
|
10
|
+
**created** | **number** | | [default to undefined]
|
|
11
|
+
**allowance** | **number** | | [default to undefined]
|
|
12
|
+
**unavailable** | **boolean** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { SponsorshipAdvertisementProgress } from '@connectedxm/admin-sdk';
|
|
18
|
+
|
|
19
|
+
const instance: SponsorshipAdvertisementProgress = {
|
|
20
|
+
type,
|
|
21
|
+
complete,
|
|
22
|
+
created,
|
|
23
|
+
allowance,
|
|
24
|
+
unavailable,
|
|
25
|
+
};
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|