@connectedxm/admin-sdk 7.4.0 → 7.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -1260,7 +1260,7 @@ export interface BaseEventPass {
1260
1260
  'ticket': BaseEventPassType;
1261
1261
  'location': string | null;
1262
1262
  'usedAt': string | null;
1263
- 'transfer': BaseEventPassTransfer | null;
1263
+ 'transferId': string | null;
1264
1264
  'responses': Array<BaseRegistrationQuestionResponse>;
1265
1265
  'status': PurchaseStatus;
1266
1266
  'reservationId': string | null;
@@ -1283,9 +1283,6 @@ export interface BaseEventPassAttendeeAccount {
1283
1283
  'lastName': string | null;
1284
1284
  'email': string;
1285
1285
  }
1286
- export interface BaseEventPassTransfer {
1287
- 'id': string;
1288
- }
1289
1286
  export interface BaseEventPassType {
1290
1287
  'id': string;
1291
1288
  'slug': string;
@@ -3265,6 +3262,8 @@ export interface Coupon {
3265
3262
  'applyToSessions': boolean;
3266
3263
  'registrationId': string | null;
3267
3264
  'registration': BaseEventAttendee | null;
3265
+ 'allowedTiers': Array<BaseTier>;
3266
+ 'disallowedTiers': Array<BaseTier>;
3268
3267
  'lineItem': PaymentLineItem | null;
3269
3268
  'parentCouponId': string | null;
3270
3269
  'parentCoupon': BaseCoupon | null;
@@ -4889,7 +4888,7 @@ export interface EventPass {
4889
4888
  'ticket': BaseEventPassType;
4890
4889
  'location': string | null;
4891
4890
  'usedAt': string | null;
4892
- 'transfer': BaseEventPassTransfer | null;
4891
+ 'transferId': string | null;
4893
4892
  'responses': Array<BaseRegistrationQuestionResponse>;
4894
4893
  'status': PurchaseStatus;
4895
4894
  'reservationId': string | null;
@@ -30535,6 +30534,17 @@ export declare class EventsCohostsApi extends BaseAPI {
30535
30534
  * EventsCouponsApi - axios parameter creator
30536
30535
  */
30537
30536
  export declare const EventsCouponsApiAxiosParamCreator: (configuration?: Configuration) => {
30537
+ /**
30538
+ * Add Event Coupon Tier endpoint
30539
+ * @summary Add Event Coupon Tier
30540
+ * @param {string} eventId The event identifier
30541
+ * @param {string} couponId The coupon identifier
30542
+ * @param {string} tierId The tier identifier
30543
+ * @param {boolean} allowed Filter by allowed
30544
+ * @param {*} [options] Override http request option.
30545
+ * @throws {RequiredError}
30546
+ */
30547
+ addEventCouponTier: (eventId: string, couponId: string, tierId: string, allowed: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30538
30548
  /**
30539
30549
  * Create Event Coupon endpoint
30540
30550
  * @summary Create Event Coupon
@@ -30607,6 +30617,20 @@ export declare const EventsCouponsApiAxiosParamCreator: (configuration?: Configu
30607
30617
  * @throws {RequiredError}
30608
30618
  */
30609
30619
  getEventCouponPayments: (eventId: string, couponId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30620
+ /**
30621
+ * Get Event Coupon Tiers endpoint
30622
+ * @summary Get Event Coupon Tiers
30623
+ * @param {string} eventId The event identifier
30624
+ * @param {string} couponId The coupon identifier
30625
+ * @param {boolean} allowed Filter by allowed
30626
+ * @param {number} [page] Page number
30627
+ * @param {number} [pageSize] Number of items per page
30628
+ * @param {string} [orderBy] Field to order by
30629
+ * @param {string} [search] Search query
30630
+ * @param {*} [options] Override http request option.
30631
+ * @throws {RequiredError}
30632
+ */
30633
+ getEventCouponTiers: (eventId: string, couponId: string, allowed: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30610
30634
  /**
30611
30635
  * Get Event Coupon Variants endpoint
30612
30636
  * @summary Get Event Coupon Variants
@@ -30634,6 +30658,17 @@ export declare const EventsCouponsApiAxiosParamCreator: (configuration?: Configu
30634
30658
  * @throws {RequiredError}
30635
30659
  */
30636
30660
  getEventCoupons: (eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30661
+ /**
30662
+ * Remove Event Coupon Tier endpoint
30663
+ * @summary Remove Event Coupon Tier
30664
+ * @param {string} eventId The event identifier
30665
+ * @param {string} couponId The coupon identifier
30666
+ * @param {string} tierId The tier identifier
30667
+ * @param {boolean} allowed Filter by allowed
30668
+ * @param {*} [options] Override http request option.
30669
+ * @throws {RequiredError}
30670
+ */
30671
+ removeEventCouponTier: (eventId: string, couponId: string, tierId: string, allowed: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30637
30672
  /**
30638
30673
  * Sync Event Coupon To Variants endpoint
30639
30674
  * @summary Sync Event Coupon To Variants
@@ -30659,6 +30694,17 @@ export declare const EventsCouponsApiAxiosParamCreator: (configuration?: Configu
30659
30694
  * EventsCouponsApi - functional programming interface
30660
30695
  */
30661
30696
  export declare const EventsCouponsApiFp: (configuration?: Configuration) => {
30697
+ /**
30698
+ * Add Event Coupon Tier endpoint
30699
+ * @summary Add Event Coupon Tier
30700
+ * @param {string} eventId The event identifier
30701
+ * @param {string} couponId The coupon identifier
30702
+ * @param {string} tierId The tier identifier
30703
+ * @param {boolean} allowed Filter by allowed
30704
+ * @param {*} [options] Override http request option.
30705
+ * @throws {RequiredError}
30706
+ */
30707
+ addEventCouponTier(eventId: string, couponId: string, tierId: string, allowed: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventCoupon200Response>>;
30662
30708
  /**
30663
30709
  * Create Event Coupon endpoint
30664
30710
  * @summary Create Event Coupon
@@ -30731,6 +30777,20 @@ export declare const EventsCouponsApiFp: (configuration?: Configuration) => {
30731
30777
  * @throws {RequiredError}
30732
30778
  */
30733
30779
  getEventCouponPayments(eventId: string, couponId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountPayments200Response>>;
30780
+ /**
30781
+ * Get Event Coupon Tiers endpoint
30782
+ * @summary Get Event Coupon Tiers
30783
+ * @param {string} eventId The event identifier
30784
+ * @param {string} couponId The coupon identifier
30785
+ * @param {boolean} allowed Filter by allowed
30786
+ * @param {number} [page] Page number
30787
+ * @param {number} [pageSize] Number of items per page
30788
+ * @param {string} [orderBy] Field to order by
30789
+ * @param {string} [search] Search query
30790
+ * @param {*} [options] Override http request option.
30791
+ * @throws {RequiredError}
30792
+ */
30793
+ getEventCouponTiers(eventId: string, couponId: string, allowed: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
30734
30794
  /**
30735
30795
  * Get Event Coupon Variants endpoint
30736
30796
  * @summary Get Event Coupon Variants
@@ -30758,6 +30818,17 @@ export declare const EventsCouponsApiFp: (configuration?: Configuration) => {
30758
30818
  * @throws {RequiredError}
30759
30819
  */
30760
30820
  getEventCoupons(eventId: string, prePaid?: boolean, includeVariants?: object, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAttendeeCoupons200Response>>;
30821
+ /**
30822
+ * Remove Event Coupon Tier endpoint
30823
+ * @summary Remove Event Coupon Tier
30824
+ * @param {string} eventId The event identifier
30825
+ * @param {string} couponId The coupon identifier
30826
+ * @param {string} tierId The tier identifier
30827
+ * @param {boolean} allowed Filter by allowed
30828
+ * @param {*} [options] Override http request option.
30829
+ * @throws {RequiredError}
30830
+ */
30831
+ removeEventCouponTier(eventId: string, couponId: string, tierId: string, allowed: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventCoupon200Response>>;
30761
30832
  /**
30762
30833
  * Sync Event Coupon To Variants endpoint
30763
30834
  * @summary Sync Event Coupon To Variants
@@ -30783,6 +30854,14 @@ export declare const EventsCouponsApiFp: (configuration?: Configuration) => {
30783
30854
  * EventsCouponsApi - factory interface
30784
30855
  */
30785
30856
  export declare const EventsCouponsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
30857
+ /**
30858
+ * Add Event Coupon Tier endpoint
30859
+ * @summary Add Event Coupon Tier
30860
+ * @param {EventsCouponsApiAddEventCouponTierRequest} requestParameters Request parameters.
30861
+ * @param {*} [options] Override http request option.
30862
+ * @throws {RequiredError}
30863
+ */
30864
+ addEventCouponTier(requestParameters: EventsCouponsApiAddEventCouponTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventCoupon200Response>;
30786
30865
  /**
30787
30866
  * Create Event Coupon endpoint
30788
30867
  * @summary Create Event Coupon
@@ -30839,6 +30918,14 @@ export declare const EventsCouponsApiFactory: (configuration?: Configuration, ba
30839
30918
  * @throws {RequiredError}
30840
30919
  */
30841
30920
  getEventCouponPayments(requestParameters: EventsCouponsApiGetEventCouponPaymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountPayments200Response>;
30921
+ /**
30922
+ * Get Event Coupon Tiers endpoint
30923
+ * @summary Get Event Coupon Tiers
30924
+ * @param {EventsCouponsApiGetEventCouponTiersRequest} requestParameters Request parameters.
30925
+ * @param {*} [options] Override http request option.
30926
+ * @throws {RequiredError}
30927
+ */
30928
+ getEventCouponTiers(requestParameters: EventsCouponsApiGetEventCouponTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response>;
30842
30929
  /**
30843
30930
  * Get Event Coupon Variants endpoint
30844
30931
  * @summary Get Event Coupon Variants
@@ -30855,6 +30942,14 @@ export declare const EventsCouponsApiFactory: (configuration?: Configuration, ba
30855
30942
  * @throws {RequiredError}
30856
30943
  */
30857
30944
  getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAttendeeCoupons200Response>;
30945
+ /**
30946
+ * Remove Event Coupon Tier endpoint
30947
+ * @summary Remove Event Coupon Tier
30948
+ * @param {EventsCouponsApiRemoveEventCouponTierRequest} requestParameters Request parameters.
30949
+ * @param {*} [options] Override http request option.
30950
+ * @throws {RequiredError}
30951
+ */
30952
+ removeEventCouponTier(requestParameters: EventsCouponsApiRemoveEventCouponTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventCoupon200Response>;
30858
30953
  /**
30859
30954
  * Sync Event Coupon To Variants endpoint
30860
30955
  * @summary Sync Event Coupon To Variants
@@ -30872,6 +30967,27 @@ export declare const EventsCouponsApiFactory: (configuration?: Configuration, ba
30872
30967
  */
30873
30968
  updateEventCoupon(requestParameters: EventsCouponsApiUpdateEventCouponRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventCoupon200Response>;
30874
30969
  };
30970
+ /**
30971
+ * Request parameters for addEventCouponTier operation in EventsCouponsApi.
30972
+ */
30973
+ export interface EventsCouponsApiAddEventCouponTierRequest {
30974
+ /**
30975
+ * The event identifier
30976
+ */
30977
+ readonly eventId: string;
30978
+ /**
30979
+ * The coupon identifier
30980
+ */
30981
+ readonly couponId: string;
30982
+ /**
30983
+ * The tier identifier
30984
+ */
30985
+ readonly tierId: string;
30986
+ /**
30987
+ * Filter by allowed
30988
+ */
30989
+ readonly allowed: boolean;
30990
+ }
30875
30991
  /**
30876
30992
  * Request parameters for createEventCoupon operation in EventsCouponsApi.
30877
30993
  */
@@ -30993,6 +31109,39 @@ export interface EventsCouponsApiGetEventCouponPaymentsRequest {
30993
31109
  */
30994
31110
  readonly search?: string;
30995
31111
  }
31112
+ /**
31113
+ * Request parameters for getEventCouponTiers operation in EventsCouponsApi.
31114
+ */
31115
+ export interface EventsCouponsApiGetEventCouponTiersRequest {
31116
+ /**
31117
+ * The event identifier
31118
+ */
31119
+ readonly eventId: string;
31120
+ /**
31121
+ * The coupon identifier
31122
+ */
31123
+ readonly couponId: string;
31124
+ /**
31125
+ * Filter by allowed
31126
+ */
31127
+ readonly allowed: boolean;
31128
+ /**
31129
+ * Page number
31130
+ */
31131
+ readonly page?: number;
31132
+ /**
31133
+ * Number of items per page
31134
+ */
31135
+ readonly pageSize?: number;
31136
+ /**
31137
+ * Field to order by
31138
+ */
31139
+ readonly orderBy?: string;
31140
+ /**
31141
+ * Search query
31142
+ */
31143
+ readonly search?: string;
31144
+ }
30996
31145
  /**
30997
31146
  * Request parameters for getEventCouponVariants operation in EventsCouponsApi.
30998
31147
  */
@@ -31055,6 +31204,27 @@ export interface EventsCouponsApiGetEventCouponsRequest {
31055
31204
  */
31056
31205
  readonly search?: string;
31057
31206
  }
31207
+ /**
31208
+ * Request parameters for removeEventCouponTier operation in EventsCouponsApi.
31209
+ */
31210
+ export interface EventsCouponsApiRemoveEventCouponTierRequest {
31211
+ /**
31212
+ * The event identifier
31213
+ */
31214
+ readonly eventId: string;
31215
+ /**
31216
+ * The coupon identifier
31217
+ */
31218
+ readonly couponId: string;
31219
+ /**
31220
+ * The tier identifier
31221
+ */
31222
+ readonly tierId: string;
31223
+ /**
31224
+ * Filter by allowed
31225
+ */
31226
+ readonly allowed: boolean;
31227
+ }
31058
31228
  /**
31059
31229
  * Request parameters for syncEventCouponToVariants operation in EventsCouponsApi.
31060
31230
  */
@@ -31087,6 +31257,14 @@ export interface EventsCouponsApiUpdateEventCouponRequest {
31087
31257
  * EventsCouponsApi - object-oriented interface
31088
31258
  */
31089
31259
  export declare class EventsCouponsApi extends BaseAPI {
31260
+ /**
31261
+ * Add Event Coupon Tier endpoint
31262
+ * @summary Add Event Coupon Tier
31263
+ * @param {EventsCouponsApiAddEventCouponTierRequest} requestParameters Request parameters.
31264
+ * @param {*} [options] Override http request option.
31265
+ * @throws {RequiredError}
31266
+ */
31267
+ addEventCouponTier(requestParameters: EventsCouponsApiAddEventCouponTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventCoupon200Response, any, {}>>;
31090
31268
  /**
31091
31269
  * Create Event Coupon endpoint
31092
31270
  * @summary Create Event Coupon
@@ -31143,6 +31321,14 @@ export declare class EventsCouponsApi extends BaseAPI {
31143
31321
  * @throws {RequiredError}
31144
31322
  */
31145
31323
  getEventCouponPayments(requestParameters: EventsCouponsApiGetEventCouponPaymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountPayments200Response, any, {}>>;
31324
+ /**
31325
+ * Get Event Coupon Tiers endpoint
31326
+ * @summary Get Event Coupon Tiers
31327
+ * @param {EventsCouponsApiGetEventCouponTiersRequest} requestParameters Request parameters.
31328
+ * @param {*} [options] Override http request option.
31329
+ * @throws {RequiredError}
31330
+ */
31331
+ getEventCouponTiers(requestParameters: EventsCouponsApiGetEventCouponTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountTiers200Response, any, {}>>;
31146
31332
  /**
31147
31333
  * Get Event Coupon Variants endpoint
31148
31334
  * @summary Get Event Coupon Variants
@@ -31159,6 +31345,14 @@ export declare class EventsCouponsApi extends BaseAPI {
31159
31345
  * @throws {RequiredError}
31160
31346
  */
31161
31347
  getEventCoupons(requestParameters: EventsCouponsApiGetEventCouponsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventAttendeeCoupons200Response, any, {}>>;
31348
+ /**
31349
+ * Remove Event Coupon Tier endpoint
31350
+ * @summary Remove Event Coupon Tier
31351
+ * @param {EventsCouponsApiRemoveEventCouponTierRequest} requestParameters Request parameters.
31352
+ * @param {*} [options] Override http request option.
31353
+ * @throws {RequiredError}
31354
+ */
31355
+ removeEventCouponTier(requestParameters: EventsCouponsApiRemoveEventCouponTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventCoupon200Response, any, {}>>;
31162
31356
  /**
31163
31357
  * Sync Event Coupon To Variants endpoint
31164
31358
  * @summary Sync Event Coupon To Variants