@drttix/drt-sdk 0.9.7 → 0.9.8
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/demo/test.html +1554 -674
- package/dist/bundle/drt-sdk.js +1 -1
- package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
- package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
- package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/cjs/src/scripts/build-all.js +39 -0
- package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
- package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
- package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
- package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
- package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
- package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
- package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
- package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
- package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
- package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
- package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
- package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
- package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
- package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
- package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
- package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
- package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
- package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
- package/dist/esm/src/scripts/build-all.js +39 -0
- package/package.json +1 -1
- package/public/sdk/latest/drt-sdk.js +1 -1
- package/src/generated/shopper/services/AccountService.ts +0 -44
- package/src/generated/shopper/services/CartService.ts +0 -22
- package/src/generated/shopper/services/CheckoutService.ts +0 -55
- package/src/generated/shopper/services/CodeService.ts +0 -55
- package/src/generated/shopper/services/DonationService.ts +0 -20
- package/src/generated/shopper/services/EventService.ts +0 -44
- package/src/generated/shopper/services/GiftCardService.ts +0 -55
- package/src/generated/shopper/services/OrderService.ts +0 -154
- package/src/generated/shopper/services/PaymentService.ts +0 -33
- package/src/generated/shopper/services/ProductService.ts +0 -33
- package/src/generated/shopper/services/SeatService.ts +0 -66
- package/src/generated/shopper/services/SessionService.ts +0 -22
- package/src/scripts/build-all.ts +52 -0
|
@@ -9,55 +9,40 @@ export declare class CodeService {
|
|
|
9
9
|
* Request access to an event
|
|
10
10
|
* Allows a shopper to request access to an event using their shopper GUID and account ID.
|
|
11
11
|
* @param eventId ID of the event for which access is requested
|
|
12
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
13
|
-
* @param accountid Unique identifier for the account.
|
|
14
|
-
* @param apikey API key for authentication.
|
|
15
12
|
* @returns HasAccessResponse Access request submitted successfully.
|
|
16
13
|
* @throws ApiError
|
|
17
14
|
*/
|
|
18
|
-
static requestEventAccess(eventId: number
|
|
15
|
+
static requestEventAccess(eventId: number): CancelablePromise<HasAccessResponse>;
|
|
19
16
|
/**
|
|
20
17
|
* Apply a code to the current shopper session
|
|
21
18
|
* Applies a code to the current shopper session.
|
|
22
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
23
|
-
* @param accountid Unique identifier for the account.
|
|
24
|
-
* @param apikey API key for authentication.
|
|
25
19
|
* @param requestBody Code to be applied
|
|
26
20
|
* @returns SuccessWithTime Code applied successfully.
|
|
27
21
|
* @throws ApiError
|
|
28
22
|
*/
|
|
29
|
-
static applyCode(
|
|
23
|
+
static applyCode(requestBody: CodeDto): CancelablePromise<SuccessWithTime>;
|
|
30
24
|
/**
|
|
31
25
|
* Apply a coupon to the current shopper session
|
|
32
26
|
* Applies a coupon to the current shopper session.
|
|
33
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
34
|
-
* @param accountid Unique identifier for the account.
|
|
35
|
-
* @param apikey API key for authentication.
|
|
36
27
|
* @param requestBody Coupon code to be applied
|
|
37
28
|
* @returns UniversalCodeResponse Coupon applied successfully.
|
|
38
29
|
* @throws ApiError
|
|
39
30
|
*/
|
|
40
|
-
static applyCoupon(
|
|
31
|
+
static applyCoupon(requestBody: CodeDto): CancelablePromise<UniversalCodeResponse>;
|
|
41
32
|
/**
|
|
42
33
|
* Remove a coupon from the current shopper session
|
|
43
34
|
* Removes a coupon from the current shopper session.
|
|
44
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
45
|
-
* @param accountid Unique identifier for the account.
|
|
46
|
-
* @param apikey API key for authentication.
|
|
47
35
|
* @param requestBody Coupon code to be removed
|
|
48
36
|
* @returns UniversalCodeResponse Coupon removed successfully.
|
|
49
37
|
* @throws ApiError
|
|
50
38
|
*/
|
|
51
|
-
static removeCoupon(
|
|
39
|
+
static removeCoupon(requestBody: CodeDto): CancelablePromise<UniversalCodeResponse>;
|
|
52
40
|
/**
|
|
53
41
|
* Apply Priority Code
|
|
54
42
|
* Applies a priority code to the cart.
|
|
55
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
56
|
-
* @param accountid Unique identifier for the account.
|
|
57
|
-
* @param apikey API key for authentication.
|
|
58
43
|
* @param requestBody Priority code data to be applied
|
|
59
44
|
* @returns SuccessWithTime Priority code applied successfully.
|
|
60
45
|
* @throws ApiError
|
|
61
46
|
*/
|
|
62
|
-
static applyPriorityCode(
|
|
47
|
+
static applyPriorityCode(requestBody: PriorityCode): CancelablePromise<SuccessWithTime>;
|
|
63
48
|
}
|
|
@@ -5,21 +5,13 @@ export class CodeService {
|
|
|
5
5
|
* Request access to an event
|
|
6
6
|
* Allows a shopper to request access to an event using their shopper GUID and account ID.
|
|
7
7
|
* @param eventId ID of the event for which access is requested
|
|
8
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
9
|
-
* @param accountid Unique identifier for the account.
|
|
10
|
-
* @param apikey API key for authentication.
|
|
11
8
|
* @returns HasAccessResponse Access request submitted successfully.
|
|
12
9
|
* @throws ApiError
|
|
13
10
|
*/
|
|
14
|
-
static requestEventAccess(eventId
|
|
11
|
+
static requestEventAccess(eventId) {
|
|
15
12
|
return __request(OpenAPI, {
|
|
16
13
|
method: 'GET',
|
|
17
14
|
url: '/code/access',
|
|
18
|
-
headers: {
|
|
19
|
-
'shopperguid': shopperguid,
|
|
20
|
-
'accountid': accountid,
|
|
21
|
-
'apikey': apikey,
|
|
22
|
-
},
|
|
23
15
|
query: {
|
|
24
16
|
'eventId': eventId,
|
|
25
17
|
},
|
|
@@ -33,22 +25,14 @@ export class CodeService {
|
|
|
33
25
|
/**
|
|
34
26
|
* Apply a code to the current shopper session
|
|
35
27
|
* Applies a code to the current shopper session.
|
|
36
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
37
|
-
* @param accountid Unique identifier for the account.
|
|
38
|
-
* @param apikey API key for authentication.
|
|
39
28
|
* @param requestBody Code to be applied
|
|
40
29
|
* @returns SuccessWithTime Code applied successfully.
|
|
41
30
|
* @throws ApiError
|
|
42
31
|
*/
|
|
43
|
-
static applyCode(
|
|
32
|
+
static applyCode(requestBody) {
|
|
44
33
|
return __request(OpenAPI, {
|
|
45
34
|
method: 'POST',
|
|
46
35
|
url: '/code',
|
|
47
|
-
headers: {
|
|
48
|
-
'shopperguid': shopperguid,
|
|
49
|
-
'accountid': accountid,
|
|
50
|
-
'apikey': apikey,
|
|
51
|
-
},
|
|
52
36
|
body: requestBody,
|
|
53
37
|
mediaType: 'application/json',
|
|
54
38
|
errors: {
|
|
@@ -61,22 +45,14 @@ export class CodeService {
|
|
|
61
45
|
/**
|
|
62
46
|
* Apply a coupon to the current shopper session
|
|
63
47
|
* Applies a coupon to the current shopper session.
|
|
64
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
65
|
-
* @param accountid Unique identifier for the account.
|
|
66
|
-
* @param apikey API key for authentication.
|
|
67
48
|
* @param requestBody Coupon code to be applied
|
|
68
49
|
* @returns UniversalCodeResponse Coupon applied successfully.
|
|
69
50
|
* @throws ApiError
|
|
70
51
|
*/
|
|
71
|
-
static applyCoupon(
|
|
52
|
+
static applyCoupon(requestBody) {
|
|
72
53
|
return __request(OpenAPI, {
|
|
73
54
|
method: 'POST',
|
|
74
55
|
url: '/code/discount',
|
|
75
|
-
headers: {
|
|
76
|
-
'shopperguid': shopperguid,
|
|
77
|
-
'accountid': accountid,
|
|
78
|
-
'apikey': apikey,
|
|
79
|
-
},
|
|
80
56
|
body: requestBody,
|
|
81
57
|
mediaType: 'application/json',
|
|
82
58
|
errors: {
|
|
@@ -89,22 +65,14 @@ export class CodeService {
|
|
|
89
65
|
/**
|
|
90
66
|
* Remove a coupon from the current shopper session
|
|
91
67
|
* Removes a coupon from the current shopper session.
|
|
92
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
93
|
-
* @param accountid Unique identifier for the account.
|
|
94
|
-
* @param apikey API key for authentication.
|
|
95
68
|
* @param requestBody Coupon code to be removed
|
|
96
69
|
* @returns UniversalCodeResponse Coupon removed successfully.
|
|
97
70
|
* @throws ApiError
|
|
98
71
|
*/
|
|
99
|
-
static removeCoupon(
|
|
72
|
+
static removeCoupon(requestBody) {
|
|
100
73
|
return __request(OpenAPI, {
|
|
101
74
|
method: 'DELETE',
|
|
102
75
|
url: '/code/discount',
|
|
103
|
-
headers: {
|
|
104
|
-
'shopperguid': shopperguid,
|
|
105
|
-
'accountid': accountid,
|
|
106
|
-
'apikey': apikey,
|
|
107
|
-
},
|
|
108
76
|
body: requestBody,
|
|
109
77
|
mediaType: 'application/json',
|
|
110
78
|
errors: {
|
|
@@ -117,22 +85,14 @@ export class CodeService {
|
|
|
117
85
|
/**
|
|
118
86
|
* Apply Priority Code
|
|
119
87
|
* Applies a priority code to the cart.
|
|
120
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
121
|
-
* @param accountid Unique identifier for the account.
|
|
122
|
-
* @param apikey API key for authentication.
|
|
123
88
|
* @param requestBody Priority code data to be applied
|
|
124
89
|
* @returns SuccessWithTime Priority code applied successfully.
|
|
125
90
|
* @throws ApiError
|
|
126
91
|
*/
|
|
127
|
-
static applyPriorityCode(
|
|
92
|
+
static applyPriorityCode(requestBody) {
|
|
128
93
|
return __request(OpenAPI, {
|
|
129
94
|
method: 'POST',
|
|
130
95
|
url: '/code/priority',
|
|
131
|
-
headers: {
|
|
132
|
-
'shopperguid': shopperguid,
|
|
133
|
-
'accountid': accountid,
|
|
134
|
-
'apikey': apikey,
|
|
135
|
-
},
|
|
136
96
|
body: requestBody,
|
|
137
97
|
mediaType: 'application/json',
|
|
138
98
|
errors: {
|
|
@@ -6,23 +6,17 @@ export declare class DonationService {
|
|
|
6
6
|
/**
|
|
7
7
|
* Get all donations for a shopper
|
|
8
8
|
* Retrieves all donations and contributions associated with the specified shopper and account.
|
|
9
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
10
|
-
* @param accountid Unique identifier for the account.
|
|
11
|
-
* @param apikey API key for authentication.
|
|
12
9
|
* @returns DonationsandContributions Returns a list of donations and contributions for the shopper.
|
|
13
10
|
* @throws ApiError
|
|
14
11
|
*/
|
|
15
|
-
static getDonations(
|
|
12
|
+
static getDonations(): CancelablePromise<DonationsandContributions>;
|
|
16
13
|
/**
|
|
17
14
|
* Add a donation or contribution
|
|
18
15
|
* Adds a new donation or contribution for the specified shopper and account.
|
|
19
16
|
* @param ipAddress API key for authentication.
|
|
20
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
21
|
-
* @param accountid Unique identifier for the account.
|
|
22
|
-
* @param apikey API key for authentication.
|
|
23
17
|
* @param requestBody Donation or contribution details to add.
|
|
24
18
|
* @returns DonationResult Returns the result of the donation addition.
|
|
25
19
|
* @throws ApiError
|
|
26
20
|
*/
|
|
27
|
-
static postDonation(ipAddress: string,
|
|
21
|
+
static postDonation(ipAddress: string, requestBody: DonationContribution): CancelablePromise<DonationResult>;
|
|
28
22
|
}
|
|
@@ -4,21 +4,13 @@ export class DonationService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Get all donations for a shopper
|
|
6
6
|
* Retrieves all donations and contributions associated with the specified shopper and account.
|
|
7
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
8
|
-
* @param accountid Unique identifier for the account.
|
|
9
|
-
* @param apikey API key for authentication.
|
|
10
7
|
* @returns DonationsandContributions Returns a list of donations and contributions for the shopper.
|
|
11
8
|
* @throws ApiError
|
|
12
9
|
*/
|
|
13
|
-
static getDonations(
|
|
10
|
+
static getDonations() {
|
|
14
11
|
return __request(OpenAPI, {
|
|
15
12
|
method: 'GET',
|
|
16
13
|
url: '/donation',
|
|
17
|
-
headers: {
|
|
18
|
-
'shopperguid': shopperguid,
|
|
19
|
-
'accountid': accountid,
|
|
20
|
-
'apikey': apikey,
|
|
21
|
-
},
|
|
22
14
|
errors: {
|
|
23
15
|
400: `Bad Request error with error details.`,
|
|
24
16
|
404: `Not found error with error details.`,
|
|
@@ -30,22 +22,16 @@ export class DonationService {
|
|
|
30
22
|
* Add a donation or contribution
|
|
31
23
|
* Adds a new donation or contribution for the specified shopper and account.
|
|
32
24
|
* @param ipAddress API key for authentication.
|
|
33
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
34
|
-
* @param accountid Unique identifier for the account.
|
|
35
|
-
* @param apikey API key for authentication.
|
|
36
25
|
* @param requestBody Donation or contribution details to add.
|
|
37
26
|
* @returns DonationResult Returns the result of the donation addition.
|
|
38
27
|
* @throws ApiError
|
|
39
28
|
*/
|
|
40
|
-
static postDonation(ipAddress,
|
|
29
|
+
static postDonation(ipAddress, requestBody) {
|
|
41
30
|
return __request(OpenAPI, {
|
|
42
31
|
method: 'POST',
|
|
43
32
|
url: '/donation',
|
|
44
33
|
headers: {
|
|
45
34
|
'ipAddress': ipAddress,
|
|
46
|
-
'shopperguid': shopperguid,
|
|
47
|
-
'accountid': accountid,
|
|
48
|
-
'apikey': apikey,
|
|
49
35
|
},
|
|
50
36
|
body: requestBody,
|
|
51
37
|
mediaType: 'application/json',
|
|
@@ -8,44 +8,32 @@ export declare class EventService {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get all events for a shopper
|
|
10
10
|
* Retrieves all events associated with the shopper.
|
|
11
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
12
|
-
* @param accountid Unique identifier for the account.
|
|
13
|
-
* @param apikey API key for authentication.
|
|
14
11
|
* @returns GetEventsResponse Returns a list of events and their groups.
|
|
15
12
|
* @throws ApiError
|
|
16
13
|
*/
|
|
17
|
-
static getEvents(
|
|
14
|
+
static getEvents(): CancelablePromise<GetEventsResponse>;
|
|
18
15
|
/**
|
|
19
16
|
* Get events for a specific performer
|
|
20
17
|
* Retrieves events associated with a specific performer.
|
|
21
18
|
* @param performer The name of the performer to filter events by.
|
|
22
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
23
|
-
* @param accountid Unique identifier for the account.
|
|
24
|
-
* @param apikey API key for authentication.
|
|
25
19
|
* @returns PerformerEventList Returns a list of event IDs and their primary status.
|
|
26
20
|
* @throws ApiError
|
|
27
21
|
*/
|
|
28
|
-
static getPerformers(performer: string
|
|
22
|
+
static getPerformers(performer: string): CancelablePromise<Array<PerformerEventList>>;
|
|
29
23
|
/**
|
|
30
24
|
* Get event details by ID
|
|
31
25
|
* Retrieves detailed information for a specific event.
|
|
32
26
|
* @param id
|
|
33
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
34
|
-
* @param accountid Unique identifier for the account.
|
|
35
|
-
* @param apikey API key for authentication.
|
|
36
27
|
* @returns FullEventDetails Returns the event details.
|
|
37
28
|
* @throws ApiError
|
|
38
29
|
*/
|
|
39
|
-
static getEventById(id: number
|
|
30
|
+
static getEventById(id: number): CancelablePromise<FullEventDetails>;
|
|
40
31
|
/**
|
|
41
32
|
* Assign names to the waitlist
|
|
42
33
|
* Updates the waitlist with shopper details.
|
|
43
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
44
|
-
* @param accountid Unique identifier for the account.
|
|
45
|
-
* @param apikey API key for authentication.
|
|
46
34
|
* @param requestBody Details of the waitlist update
|
|
47
35
|
* @returns WaitlistResponse Returns the result of the waitlist update.
|
|
48
36
|
* @throws ApiError
|
|
49
37
|
*/
|
|
50
|
-
static postWishlist(
|
|
38
|
+
static postWishlist(requestBody: WaitlistUpdate): CancelablePromise<WaitlistResponse>;
|
|
51
39
|
}
|
|
@@ -4,21 +4,13 @@ export class EventService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Get all events for a shopper
|
|
6
6
|
* Retrieves all events associated with the shopper.
|
|
7
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
8
|
-
* @param accountid Unique identifier for the account.
|
|
9
|
-
* @param apikey API key for authentication.
|
|
10
7
|
* @returns GetEventsResponse Returns a list of events and their groups.
|
|
11
8
|
* @throws ApiError
|
|
12
9
|
*/
|
|
13
|
-
static getEvents(
|
|
10
|
+
static getEvents() {
|
|
14
11
|
return __request(OpenAPI, {
|
|
15
12
|
method: 'GET',
|
|
16
13
|
url: '/event',
|
|
17
|
-
headers: {
|
|
18
|
-
'shopperguid': shopperguid,
|
|
19
|
-
'accountid': accountid,
|
|
20
|
-
'apikey': apikey,
|
|
21
|
-
},
|
|
22
14
|
errors: {
|
|
23
15
|
400: `Bad Request error with error details.`,
|
|
24
16
|
404: `Not found error with error details.`,
|
|
@@ -30,21 +22,13 @@ export class EventService {
|
|
|
30
22
|
* Get events for a specific performer
|
|
31
23
|
* Retrieves events associated with a specific performer.
|
|
32
24
|
* @param performer The name of the performer to filter events by.
|
|
33
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
34
|
-
* @param accountid Unique identifier for the account.
|
|
35
|
-
* @param apikey API key for authentication.
|
|
36
25
|
* @returns PerformerEventList Returns a list of event IDs and their primary status.
|
|
37
26
|
* @throws ApiError
|
|
38
27
|
*/
|
|
39
|
-
static getPerformers(performer
|
|
28
|
+
static getPerformers(performer) {
|
|
40
29
|
return __request(OpenAPI, {
|
|
41
30
|
method: 'GET',
|
|
42
31
|
url: '/event/performer',
|
|
43
|
-
headers: {
|
|
44
|
-
'shopperguid': shopperguid,
|
|
45
|
-
'accountid': accountid,
|
|
46
|
-
'apikey': apikey,
|
|
47
|
-
},
|
|
48
32
|
query: {
|
|
49
33
|
'performer': performer,
|
|
50
34
|
},
|
|
@@ -59,24 +43,16 @@ export class EventService {
|
|
|
59
43
|
* Get event details by ID
|
|
60
44
|
* Retrieves detailed information for a specific event.
|
|
61
45
|
* @param id
|
|
62
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
63
|
-
* @param accountid Unique identifier for the account.
|
|
64
|
-
* @param apikey API key for authentication.
|
|
65
46
|
* @returns FullEventDetails Returns the event details.
|
|
66
47
|
* @throws ApiError
|
|
67
48
|
*/
|
|
68
|
-
static getEventById(id
|
|
49
|
+
static getEventById(id) {
|
|
69
50
|
return __request(OpenAPI, {
|
|
70
51
|
method: 'GET',
|
|
71
52
|
url: '/event/{id}',
|
|
72
53
|
path: {
|
|
73
54
|
'id': id,
|
|
74
55
|
},
|
|
75
|
-
headers: {
|
|
76
|
-
'shopperguid': shopperguid,
|
|
77
|
-
'accountid': accountid,
|
|
78
|
-
'apikey': apikey,
|
|
79
|
-
},
|
|
80
56
|
errors: {
|
|
81
57
|
400: `Bad Request error with error details.`,
|
|
82
58
|
404: `Not found error with error details.`,
|
|
@@ -87,22 +63,14 @@ export class EventService {
|
|
|
87
63
|
/**
|
|
88
64
|
* Assign names to the waitlist
|
|
89
65
|
* Updates the waitlist with shopper details.
|
|
90
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
91
|
-
* @param accountid Unique identifier for the account.
|
|
92
|
-
* @param apikey API key for authentication.
|
|
93
66
|
* @param requestBody Details of the waitlist update
|
|
94
67
|
* @returns WaitlistResponse Returns the result of the waitlist update.
|
|
95
68
|
* @throws ApiError
|
|
96
69
|
*/
|
|
97
|
-
static postWishlist(
|
|
70
|
+
static postWishlist(requestBody) {
|
|
98
71
|
return __request(OpenAPI, {
|
|
99
72
|
method: 'POST',
|
|
100
73
|
url: '/event/waitlist',
|
|
101
|
-
headers: {
|
|
102
|
-
'shopperguid': shopperguid,
|
|
103
|
-
'accountid': accountid,
|
|
104
|
-
'apikey': apikey,
|
|
105
|
-
},
|
|
106
74
|
body: requestBody,
|
|
107
75
|
mediaType: 'application/json',
|
|
108
76
|
errors: {
|
|
@@ -11,52 +11,37 @@ export declare class GiftCardService {
|
|
|
11
11
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
12
12
|
* @param code Gift card code
|
|
13
13
|
* @param pin Gift card PIN
|
|
14
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
15
|
-
* @param accountid Unique identifier for the account.
|
|
16
|
-
* @param apikey API key for authentication.
|
|
17
14
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
18
15
|
* @throws ApiError
|
|
19
16
|
*/
|
|
20
|
-
static lookupGiftCard(code: string, pin: string
|
|
17
|
+
static lookupGiftCard(code: string, pin: string): CancelablePromise<GiftCardLookupResponse>;
|
|
21
18
|
/**
|
|
22
19
|
* Apply a gift card to the current session
|
|
23
20
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
24
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
25
|
-
* @param accountid Unique identifier for the account.
|
|
26
|
-
* @param apikey API key for authentication.
|
|
27
21
|
* @param requestBody Gift card details to apply
|
|
28
22
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
29
23
|
* @throws ApiError
|
|
30
24
|
*/
|
|
31
|
-
static applyGiftCard(
|
|
25
|
+
static applyGiftCard(requestBody: GiftCardApplyDto): CancelablePromise<GiftCardApplyResponse>;
|
|
32
26
|
/**
|
|
33
27
|
* Remove the gift card from the current session
|
|
34
28
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
35
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
36
|
-
* @param accountid Unique identifier for the account.
|
|
37
|
-
* @param apikey API key for authentication.
|
|
38
29
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
39
30
|
* @throws ApiError
|
|
40
31
|
*/
|
|
41
|
-
static removeGiftCard(
|
|
32
|
+
static removeGiftCard(): CancelablePromise<GiftCardRemoveResponse>;
|
|
42
33
|
/**
|
|
43
34
|
* Get gift card checkout information
|
|
44
35
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
45
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
46
|
-
* @param accountid Unique identifier for the account.
|
|
47
|
-
* @param apikey API key for authentication.
|
|
48
36
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
49
37
|
* @throws ApiError
|
|
50
38
|
*/
|
|
51
|
-
static getGiftCardCheckoutInfo(
|
|
39
|
+
static getGiftCardCheckoutInfo(): CancelablePromise<GiftCardCheckoutInfo>;
|
|
52
40
|
/**
|
|
53
41
|
* Get gift card edit form data
|
|
54
42
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
55
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
56
|
-
* @param accountid Unique identifier for the account.
|
|
57
|
-
* @param apikey API key for authentication.
|
|
58
43
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
59
44
|
* @throws ApiError
|
|
60
45
|
*/
|
|
61
|
-
static getGiftCardEditForm(
|
|
46
|
+
static getGiftCardEditForm(): CancelablePromise<GiftCardEditFormResponse>;
|
|
62
47
|
}
|
|
@@ -6,21 +6,13 @@ export class GiftCardService {
|
|
|
6
6
|
* Retrieves gift card balance and availability information for the specified code and PIN.
|
|
7
7
|
* @param code Gift card code
|
|
8
8
|
* @param pin Gift card PIN
|
|
9
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
10
|
-
* @param accountid Unique identifier for the account.
|
|
11
|
-
* @param apikey API key for authentication.
|
|
12
9
|
* @returns GiftCardLookupResponse Returns gift card balance and availability information.
|
|
13
10
|
* @throws ApiError
|
|
14
11
|
*/
|
|
15
|
-
static lookupGiftCard(code, pin
|
|
12
|
+
static lookupGiftCard(code, pin) {
|
|
16
13
|
return __request(OpenAPI, {
|
|
17
14
|
method: 'GET',
|
|
18
15
|
url: '/gift-card',
|
|
19
|
-
headers: {
|
|
20
|
-
'shopperguid': shopperguid,
|
|
21
|
-
'accountid': accountid,
|
|
22
|
-
'apikey': apikey,
|
|
23
|
-
},
|
|
24
16
|
query: {
|
|
25
17
|
'code': code,
|
|
26
18
|
'pin': pin,
|
|
@@ -35,22 +27,14 @@ export class GiftCardService {
|
|
|
35
27
|
/**
|
|
36
28
|
* Apply a gift card to the current session
|
|
37
29
|
* Applies a gift card to the current shopper session. Removes any previously applied gift card.
|
|
38
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
39
|
-
* @param accountid Unique identifier for the account.
|
|
40
|
-
* @param apikey API key for authentication.
|
|
41
30
|
* @param requestBody Gift card details to apply
|
|
42
31
|
* @returns GiftCardApplyResponse Gift card applied successfully.
|
|
43
32
|
* @throws ApiError
|
|
44
33
|
*/
|
|
45
|
-
static applyGiftCard(
|
|
34
|
+
static applyGiftCard(requestBody) {
|
|
46
35
|
return __request(OpenAPI, {
|
|
47
36
|
method: 'POST',
|
|
48
37
|
url: '/gift-card',
|
|
49
|
-
headers: {
|
|
50
|
-
'shopperguid': shopperguid,
|
|
51
|
-
'accountid': accountid,
|
|
52
|
-
'apikey': apikey,
|
|
53
|
-
},
|
|
54
38
|
body: requestBody,
|
|
55
39
|
mediaType: 'application/json',
|
|
56
40
|
errors: {
|
|
@@ -63,21 +47,13 @@ export class GiftCardService {
|
|
|
63
47
|
/**
|
|
64
48
|
* Remove the gift card from the current session
|
|
65
49
|
* Removes all gift cards from the current shopper session and recalculates payment totals.
|
|
66
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
67
|
-
* @param accountid Unique identifier for the account.
|
|
68
|
-
* @param apikey API key for authentication.
|
|
69
50
|
* @returns GiftCardRemoveResponse Gift card removed successfully.
|
|
70
51
|
* @throws ApiError
|
|
71
52
|
*/
|
|
72
|
-
static removeGiftCard(
|
|
53
|
+
static removeGiftCard() {
|
|
73
54
|
return __request(OpenAPI, {
|
|
74
55
|
method: 'DELETE',
|
|
75
56
|
url: '/gift-card',
|
|
76
|
-
headers: {
|
|
77
|
-
'shopperguid': shopperguid,
|
|
78
|
-
'accountid': accountid,
|
|
79
|
-
'apikey': apikey,
|
|
80
|
-
},
|
|
81
57
|
errors: {
|
|
82
58
|
400: `Bad Request error with error details.`,
|
|
83
59
|
404: `Not found error with error details.`,
|
|
@@ -88,21 +64,13 @@ export class GiftCardService {
|
|
|
88
64
|
/**
|
|
89
65
|
* Get gift card checkout information
|
|
90
66
|
* Retrieves gift card information for the checkout page, including applied gift card details and remaining balance.
|
|
91
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
92
|
-
* @param accountid Unique identifier for the account.
|
|
93
|
-
* @param apikey API key for authentication.
|
|
94
67
|
* @returns GiftCardCheckoutInfo Returns gift card checkout information.
|
|
95
68
|
* @throws ApiError
|
|
96
69
|
*/
|
|
97
|
-
static getGiftCardCheckoutInfo(
|
|
70
|
+
static getGiftCardCheckoutInfo() {
|
|
98
71
|
return __request(OpenAPI, {
|
|
99
72
|
method: 'GET',
|
|
100
73
|
url: '/gift-card/checkout',
|
|
101
|
-
headers: {
|
|
102
|
-
'shopperguid': shopperguid,
|
|
103
|
-
'accountid': accountid,
|
|
104
|
-
'apikey': apikey,
|
|
105
|
-
},
|
|
106
74
|
errors: {
|
|
107
75
|
400: `Bad Request error with error details.`,
|
|
108
76
|
404: `Not found error with error details.`,
|
|
@@ -113,21 +81,13 @@ export class GiftCardService {
|
|
|
113
81
|
/**
|
|
114
82
|
* Get gift card edit form data
|
|
115
83
|
* Retrieves the currently applied gift card information for editing purposes.
|
|
116
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
117
|
-
* @param accountid Unique identifier for the account.
|
|
118
|
-
* @param apikey API key for authentication.
|
|
119
84
|
* @returns GiftCardEditFormResponse Returns the applied gift card code and amount.
|
|
120
85
|
* @throws ApiError
|
|
121
86
|
*/
|
|
122
|
-
static getGiftCardEditForm(
|
|
87
|
+
static getGiftCardEditForm() {
|
|
123
88
|
return __request(OpenAPI, {
|
|
124
89
|
method: 'GET',
|
|
125
90
|
url: '/gift-card/edit',
|
|
126
|
-
headers: {
|
|
127
|
-
'shopperguid': shopperguid,
|
|
128
|
-
'accountid': accountid,
|
|
129
|
-
'apikey': apikey,
|
|
130
|
-
},
|
|
131
91
|
errors: {
|
|
132
92
|
400: `Bad Request error with error details.`,
|
|
133
93
|
404: `Not found error with error details.`,
|