@drttix/drt-sdk 0.9.7 → 0.9.9
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/index.d.ts +1 -0
- package/dist/cjs/src/definitions/portal.d.ts +2 -0
- package/dist/cjs/src/definitions/portal.js +2 -0
- package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/cjs/src/generated/portal/index.d.ts +3 -0
- package/dist/cjs/src/generated/portal/index.js +3 -1
- package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
- package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
- package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.js +2 -0
- package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
- package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.js +40 -0
- package/dist/cjs/src/generated/portal/types.d.ts +2 -0
- 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 +46 -2
- package/dist/cjs/src/staging/wrapService.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/src/definitions/portal.d.ts +2 -0
- package/dist/esm/src/definitions/portal.js +2 -0
- package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
- package/dist/esm/src/generated/portal/index.d.ts +3 -0
- package/dist/esm/src/generated/portal/index.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
- package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
- package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.js +1 -0
- package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
- package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.js +36 -0
- package/dist/esm/src/generated/portal/types.d.ts +2 -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 +46 -2
- package/dist/esm/src/staging/wrapService.js +1 -1
- package/drt-api-specs-staging.json +14 -0
- package/package.json +38 -38
- package/public/sdk/latest/drt-sdk.js +1 -1
- package/src/definitions/portal.ts +2 -0
- package/src/generated/portal/core/OpenAPI.ts +1 -1
- package/src/generated/portal/index.ts +3 -0
- package/src/generated/portal/models/SupportTicketResponseDto.ts +31 -0
- package/src/generated/portal/models/SupportTicketStatusResponseDto.ts +9 -0
- package/src/generated/portal/services/SuperUserSupportTicketsService.ts +46 -0
- package/src/generated/portal/types.ts +2 -0
- 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 +59 -2
- package/src/staging/wrapService.ts +1 -1
|
@@ -5,21 +5,13 @@ export class OrderService {
|
|
|
5
5
|
* Get order receipt by guid
|
|
6
6
|
* Fetches the receipt for an order using its unique guid.
|
|
7
7
|
* @param guid Unique identifier for an order.
|
|
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 Receipt Returns the order receipt.
|
|
12
9
|
* @throws ApiError
|
|
13
10
|
*/
|
|
14
|
-
static getReceipt(guid
|
|
11
|
+
static getReceipt(guid) {
|
|
15
12
|
return __request(OpenAPI, {
|
|
16
13
|
method: 'GET',
|
|
17
14
|
url: '/order/receipt',
|
|
18
|
-
headers: {
|
|
19
|
-
'shopperguid': shopperguid,
|
|
20
|
-
'accountid': accountid,
|
|
21
|
-
'apikey': apikey,
|
|
22
|
-
},
|
|
23
15
|
query: {
|
|
24
16
|
'guid': guid,
|
|
25
17
|
},
|
|
@@ -34,21 +26,13 @@ export class OrderService {
|
|
|
34
26
|
* Get Gwallet link by guid
|
|
35
27
|
* Fetches the Gwallet link for an order using its unique guid.
|
|
36
28
|
* @param guid Unique identifier for an order.
|
|
37
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
38
|
-
* @param accountid Unique identifier for the account.
|
|
39
|
-
* @param apikey API key for authentication.
|
|
40
29
|
* @returns LinkWithSuccess Returns the Gwallet link.
|
|
41
30
|
* @throws ApiError
|
|
42
31
|
*/
|
|
43
|
-
static getGwalletLink(guid
|
|
32
|
+
static getGwalletLink(guid) {
|
|
44
33
|
return __request(OpenAPI, {
|
|
45
34
|
method: 'GET',
|
|
46
35
|
url: '/order/gwallet',
|
|
47
|
-
headers: {
|
|
48
|
-
'shopperguid': shopperguid,
|
|
49
|
-
'accountid': accountid,
|
|
50
|
-
'apikey': apikey,
|
|
51
|
-
},
|
|
52
36
|
query: {
|
|
53
37
|
'guid': guid,
|
|
54
38
|
},
|
|
@@ -63,21 +47,13 @@ export class OrderService {
|
|
|
63
47
|
* Get testing guid
|
|
64
48
|
* Fetches a testing guid for development purposes.
|
|
65
49
|
* @param guid Unique identifier for an order.
|
|
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 GuidReturn Returns a testing guid.
|
|
70
51
|
* @throws ApiError
|
|
71
52
|
*/
|
|
72
|
-
static getTestingGuid(guid
|
|
53
|
+
static getTestingGuid(guid) {
|
|
73
54
|
return __request(OpenAPI, {
|
|
74
55
|
method: 'GET',
|
|
75
56
|
url: '/order/testing',
|
|
76
|
-
headers: {
|
|
77
|
-
'shopperguid': shopperguid,
|
|
78
|
-
'accountid': accountid,
|
|
79
|
-
'apikey': apikey,
|
|
80
|
-
},
|
|
81
57
|
query: {
|
|
82
58
|
'guid': guid,
|
|
83
59
|
},
|
|
@@ -92,21 +68,13 @@ export class OrderService {
|
|
|
92
68
|
* Get assign names by guid
|
|
93
69
|
* Fetches the assign names information for an order using its unique guid.
|
|
94
70
|
* @param guid Unique identifier for an order.
|
|
95
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
96
|
-
* @param accountid Unique identifier for the account.
|
|
97
|
-
* @param apikey API key for authentication.
|
|
98
71
|
* @returns AssignNamesReturn Returns the assign names information.
|
|
99
72
|
* @throws ApiError
|
|
100
73
|
*/
|
|
101
|
-
static getAssignNames(guid
|
|
74
|
+
static getAssignNames(guid) {
|
|
102
75
|
return __request(OpenAPI, {
|
|
103
76
|
method: 'GET',
|
|
104
77
|
url: '/order/assign-names',
|
|
105
|
-
headers: {
|
|
106
|
-
'shopperguid': shopperguid,
|
|
107
|
-
'accountid': accountid,
|
|
108
|
-
'apikey': apikey,
|
|
109
|
-
},
|
|
110
78
|
query: {
|
|
111
79
|
'guid': guid,
|
|
112
80
|
},
|
|
@@ -121,22 +89,14 @@ export class OrderService {
|
|
|
121
89
|
* Post assign names
|
|
122
90
|
* Assigns names to an order using its unique guid and the provided names.
|
|
123
91
|
* @param guid Unique identifier for an order.
|
|
124
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
125
|
-
* @param accountid Unique identifier for the account.
|
|
126
|
-
* @param apikey API key for authentication.
|
|
127
92
|
* @param requestBody Names to be assigned to the order.
|
|
128
93
|
* @returns SuccessResponse Returns success status after assigning names.
|
|
129
94
|
* @throws ApiError
|
|
130
95
|
*/
|
|
131
|
-
static postAssignNames(guid,
|
|
96
|
+
static postAssignNames(guid, requestBody) {
|
|
132
97
|
return __request(OpenAPI, {
|
|
133
98
|
method: 'POST',
|
|
134
99
|
url: '/order/assign-names',
|
|
135
|
-
headers: {
|
|
136
|
-
'shopperguid': shopperguid,
|
|
137
|
-
'accountid': accountid,
|
|
138
|
-
'apikey': apikey,
|
|
139
|
-
},
|
|
140
100
|
query: {
|
|
141
101
|
'guid': guid,
|
|
142
102
|
},
|
|
@@ -153,22 +113,14 @@ export class OrderService {
|
|
|
153
113
|
* Post email tickets
|
|
154
114
|
* Sends email tickets for an order using its unique guid and the provided email update.
|
|
155
115
|
* @param guid Unique identifier for an order.
|
|
156
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
157
|
-
* @param accountid Unique identifier for the account.
|
|
158
|
-
* @param apikey API key for authentication.
|
|
159
116
|
* @param requestBody Email update containing the email address to send tickets.
|
|
160
117
|
* @returns SuccessResponse Returns success status after sending email tickets.
|
|
161
118
|
* @throws ApiError
|
|
162
119
|
*/
|
|
163
|
-
static postEmailTickets(guid,
|
|
120
|
+
static postEmailTickets(guid, requestBody) {
|
|
164
121
|
return __request(OpenAPI, {
|
|
165
122
|
method: 'POST',
|
|
166
123
|
url: '/order/email-tickets',
|
|
167
|
-
headers: {
|
|
168
|
-
'shopperguid': shopperguid,
|
|
169
|
-
'accountid': accountid,
|
|
170
|
-
'apikey': apikey,
|
|
171
|
-
},
|
|
172
124
|
query: {
|
|
173
125
|
'guid': guid,
|
|
174
126
|
},
|
|
@@ -185,21 +137,13 @@ export class OrderService {
|
|
|
185
137
|
* Get ticket block by guid
|
|
186
138
|
* Fetches the ticket block for an order using its unique guid.
|
|
187
139
|
* @param guid Unique identifier for an order.
|
|
188
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
189
|
-
* @param accountid Unique identifier for the account.
|
|
190
|
-
* @param apikey API key for authentication.
|
|
191
140
|
* @returns PickupReturn Returns the ticket block for the order.
|
|
192
141
|
* @throws ApiError
|
|
193
142
|
*/
|
|
194
|
-
static getTicketBlock(guid
|
|
143
|
+
static getTicketBlock(guid) {
|
|
195
144
|
return __request(OpenAPI, {
|
|
196
145
|
method: 'GET',
|
|
197
146
|
url: '/order/pickup',
|
|
198
|
-
headers: {
|
|
199
|
-
'shopperguid': shopperguid,
|
|
200
|
-
'accountid': accountid,
|
|
201
|
-
'apikey': apikey,
|
|
202
|
-
},
|
|
203
147
|
query: {
|
|
204
148
|
'guid': guid,
|
|
205
149
|
},
|
|
@@ -214,21 +158,13 @@ export class OrderService {
|
|
|
214
158
|
* Post ticket block by guid
|
|
215
159
|
* Sends the ticket block for an order using its unique guid.
|
|
216
160
|
* @param guid Unique identifier for an order.
|
|
217
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
218
|
-
* @param accountid Unique identifier for the account.
|
|
219
|
-
* @param apikey API key for authentication.
|
|
220
161
|
* @returns SuccessResponse Returns the ticket block for the order.
|
|
221
162
|
* @throws ApiError
|
|
222
163
|
*/
|
|
223
|
-
static postPickup(guid
|
|
164
|
+
static postPickup(guid) {
|
|
224
165
|
return __request(OpenAPI, {
|
|
225
166
|
method: 'POST',
|
|
226
167
|
url: '/order/pickup',
|
|
227
|
-
headers: {
|
|
228
|
-
'shopperguid': shopperguid,
|
|
229
|
-
'accountid': accountid,
|
|
230
|
-
'apikey': apikey,
|
|
231
|
-
},
|
|
232
168
|
query: {
|
|
233
169
|
'guid': guid,
|
|
234
170
|
},
|
|
@@ -243,21 +179,13 @@ export class OrderService {
|
|
|
243
179
|
* Send order receipt via email
|
|
244
180
|
* Sends the order receipt to the shopper's email address for the specified order guid.
|
|
245
181
|
* @param guid Unique identifier for an order.
|
|
246
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
247
|
-
* @param accountid Unique identifier for the account.
|
|
248
|
-
* @param apikey API key for authentication.
|
|
249
182
|
* @returns SuccessResponse Returns success status after emailing the receipt.
|
|
250
183
|
* @throws ApiError
|
|
251
184
|
*/
|
|
252
|
-
static postEmailReceipt(guid
|
|
185
|
+
static postEmailReceipt(guid) {
|
|
253
186
|
return __request(OpenAPI, {
|
|
254
187
|
method: 'POST',
|
|
255
188
|
url: '/order/email-receipt',
|
|
256
|
-
headers: {
|
|
257
|
-
'shopperguid': shopperguid,
|
|
258
|
-
'accountid': accountid,
|
|
259
|
-
'apikey': apikey,
|
|
260
|
-
},
|
|
261
189
|
query: {
|
|
262
190
|
'guid': guid,
|
|
263
191
|
},
|
|
@@ -272,21 +200,13 @@ export class OrderService {
|
|
|
272
200
|
* Get refund request information
|
|
273
201
|
* Fetches the refund request information for an order using its unique guid.
|
|
274
202
|
* @param guid Unique identifier for an order.
|
|
275
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
276
|
-
* @param accountid Unique identifier for the account.
|
|
277
|
-
* @param apikey API key for authentication.
|
|
278
203
|
* @returns RefundRequestInfo Returns the refund request information for the order.
|
|
279
204
|
* @throws ApiError
|
|
280
205
|
*/
|
|
281
|
-
static getRefundRequest(guid
|
|
206
|
+
static getRefundRequest(guid) {
|
|
282
207
|
return __request(OpenAPI, {
|
|
283
208
|
method: 'GET',
|
|
284
209
|
url: '/order/refund-request',
|
|
285
|
-
headers: {
|
|
286
|
-
'shopperguid': shopperguid,
|
|
287
|
-
'accountid': accountid,
|
|
288
|
-
'apikey': apikey,
|
|
289
|
-
},
|
|
290
210
|
query: {
|
|
291
211
|
'guid': guid,
|
|
292
212
|
},
|
|
@@ -301,22 +221,14 @@ export class OrderService {
|
|
|
301
221
|
* Submit a refund request
|
|
302
222
|
* Submits a refund request for an order using its unique guid and the provided refund details.
|
|
303
223
|
* @param guid Unique identifier for an order.
|
|
304
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
305
|
-
* @param accountid Unique identifier for the account.
|
|
306
|
-
* @param apikey API key for authentication.
|
|
307
224
|
* @param requestBody Refund request details.
|
|
308
225
|
* @returns SuccessResponse Returns success status after submitting the refund request.
|
|
309
226
|
* @throws ApiError
|
|
310
227
|
*/
|
|
311
|
-
static postRefundRequest(guid,
|
|
228
|
+
static postRefundRequest(guid, requestBody) {
|
|
312
229
|
return __request(OpenAPI, {
|
|
313
230
|
method: 'POST',
|
|
314
231
|
url: '/order/refund-request',
|
|
315
|
-
headers: {
|
|
316
|
-
'shopperguid': shopperguid,
|
|
317
|
-
'accountid': accountid,
|
|
318
|
-
'apikey': apikey,
|
|
319
|
-
},
|
|
320
232
|
query: {
|
|
321
233
|
'guid': guid,
|
|
322
234
|
},
|
|
@@ -333,22 +245,14 @@ export class OrderService {
|
|
|
333
245
|
* Recalculate order totals
|
|
334
246
|
* Recalculates the totals for an order using the provided recalculation data.
|
|
335
247
|
* @param guid Unique identifier for an order.
|
|
336
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
337
|
-
* @param accountid Unique identifier for the account.
|
|
338
|
-
* @param apikey API key for authentication.
|
|
339
248
|
* @param requestBody Order recalculation data.
|
|
340
249
|
* @returns RecalcResponse Returns the recalculated order totals and success status.
|
|
341
250
|
* @throws ApiError
|
|
342
251
|
*/
|
|
343
|
-
static postRecalcOrder(guid,
|
|
252
|
+
static postRecalcOrder(guid, requestBody) {
|
|
344
253
|
return __request(OpenAPI, {
|
|
345
254
|
method: 'POST',
|
|
346
255
|
url: '/order/recalc',
|
|
347
|
-
headers: {
|
|
348
|
-
'shopperguid': shopperguid,
|
|
349
|
-
'accountid': accountid,
|
|
350
|
-
'apikey': apikey,
|
|
351
|
-
},
|
|
352
256
|
query: {
|
|
353
257
|
'guid': guid,
|
|
354
258
|
},
|
|
@@ -364,22 +268,14 @@ export class OrderService {
|
|
|
364
268
|
/**
|
|
365
269
|
* Register a stream for a shopper
|
|
366
270
|
* Registers a stream for the specified shopper and account using the provided stream registration details.
|
|
367
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
368
|
-
* @param accountid Unique identifier for the account.
|
|
369
|
-
* @param apikey API key for authentication.
|
|
370
271
|
* @param requestBody Stream registration details.
|
|
371
272
|
* @returns RegisterStreamResponse Returns the stream registration response.
|
|
372
273
|
* @throws ApiError
|
|
373
274
|
*/
|
|
374
|
-
static postRegisterStream(
|
|
275
|
+
static postRegisterStream(requestBody) {
|
|
375
276
|
return __request(OpenAPI, {
|
|
376
277
|
method: 'POST',
|
|
377
278
|
url: '/order/stream-register',
|
|
378
|
-
headers: {
|
|
379
|
-
'shopperguid': shopperguid,
|
|
380
|
-
'accountid': accountid,
|
|
381
|
-
'apikey': apikey,
|
|
382
|
-
},
|
|
383
279
|
body: requestBody,
|
|
384
280
|
mediaType: 'application/json',
|
|
385
281
|
errors: {
|
|
@@ -392,22 +288,14 @@ export class OrderService {
|
|
|
392
288
|
/**
|
|
393
289
|
* Deregister a stream for a shopper
|
|
394
290
|
* Removes the stream registration for the specified shopper and account using the provided stream registration details.
|
|
395
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
396
|
-
* @param accountid Unique identifier for the account.
|
|
397
|
-
* @param apikey API key for authentication.
|
|
398
291
|
* @param requestBody Stream registration details to be deregistered.
|
|
399
292
|
* @returns SuccessResponse Returns success status after deregistering the stream.
|
|
400
293
|
* @throws ApiError
|
|
401
294
|
*/
|
|
402
|
-
static deleteRegisteredStream(
|
|
295
|
+
static deleteRegisteredStream(requestBody) {
|
|
403
296
|
return __request(OpenAPI, {
|
|
404
297
|
method: 'DELETE',
|
|
405
298
|
url: '/order/stream-register',
|
|
406
|
-
headers: {
|
|
407
|
-
'shopperguid': shopperguid,
|
|
408
|
-
'accountid': accountid,
|
|
409
|
-
'apikey': apikey,
|
|
410
|
-
},
|
|
411
299
|
body: requestBody,
|
|
412
300
|
mediaType: 'application/json',
|
|
413
301
|
errors: {
|
|
@@ -8,33 +8,24 @@ export declare class PaymentService {
|
|
|
8
8
|
/**
|
|
9
9
|
* Summarize payment
|
|
10
10
|
* Saves the payment data for the shopper with the provided confirmation token.
|
|
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
|
* @param requestBody Summary request body containing the confirmation token.
|
|
15
12
|
* @returns SuccessResponse Returns a success response.
|
|
16
13
|
* @throws ApiError
|
|
17
14
|
*/
|
|
18
|
-
static summarizePayment(
|
|
15
|
+
static summarizePayment(requestBody: SummaryBody): CancelablePromise<SuccessResponse>;
|
|
19
16
|
/**
|
|
20
17
|
* Complete payment
|
|
21
18
|
* Completes the payment for the shopper using the provided cart hash and IP address.
|
|
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 Payment completion request body containing cart hash and IP address.
|
|
26
20
|
* @returns PaymentSuccess Returns the result of the payment completion.
|
|
27
21
|
* @throws ApiError
|
|
28
22
|
*/
|
|
29
|
-
static completePayment(
|
|
23
|
+
static completePayment(requestBody: CompleteBody): CancelablePromise<PaymentSuccess>;
|
|
30
24
|
/**
|
|
31
25
|
* Create payment customer session
|
|
32
26
|
* Creates a new payment customer session for the shopper and account.
|
|
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 CreateCustomerResponse Returns the created customer session.
|
|
37
28
|
* @throws ApiError
|
|
38
29
|
*/
|
|
39
|
-
static createCustomerSession(
|
|
30
|
+
static createCustomerSession(): CancelablePromise<CreateCustomerResponse>;
|
|
40
31
|
}
|
|
@@ -4,22 +4,14 @@ export class PaymentService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Summarize payment
|
|
6
6
|
* Saves the payment data for the shopper with the provided confirmation token.
|
|
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
|
* @param requestBody Summary request body containing the confirmation token.
|
|
11
8
|
* @returns SuccessResponse Returns a success response.
|
|
12
9
|
* @throws ApiError
|
|
13
10
|
*/
|
|
14
|
-
static summarizePayment(
|
|
11
|
+
static summarizePayment(requestBody) {
|
|
15
12
|
return __request(OpenAPI, {
|
|
16
13
|
method: 'POST',
|
|
17
14
|
url: '/payment/summary',
|
|
18
|
-
headers: {
|
|
19
|
-
'shopperguid': shopperguid,
|
|
20
|
-
'accountid': accountid,
|
|
21
|
-
'apikey': apikey,
|
|
22
|
-
},
|
|
23
15
|
body: requestBody,
|
|
24
16
|
mediaType: 'application/json',
|
|
25
17
|
errors: {
|
|
@@ -32,22 +24,14 @@ export class PaymentService {
|
|
|
32
24
|
/**
|
|
33
25
|
* Complete payment
|
|
34
26
|
* Completes the payment for the shopper using the provided cart hash and IP address.
|
|
35
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
36
|
-
* @param accountid Unique identifier for the account.
|
|
37
|
-
* @param apikey API key for authentication.
|
|
38
27
|
* @param requestBody Payment completion request body containing cart hash and IP address.
|
|
39
28
|
* @returns PaymentSuccess Returns the result of the payment completion.
|
|
40
29
|
* @throws ApiError
|
|
41
30
|
*/
|
|
42
|
-
static completePayment(
|
|
31
|
+
static completePayment(requestBody) {
|
|
43
32
|
return __request(OpenAPI, {
|
|
44
33
|
method: 'POST',
|
|
45
34
|
url: '/payment/complete',
|
|
46
|
-
headers: {
|
|
47
|
-
'shopperguid': shopperguid,
|
|
48
|
-
'accountid': accountid,
|
|
49
|
-
'apikey': apikey,
|
|
50
|
-
},
|
|
51
35
|
body: requestBody,
|
|
52
36
|
mediaType: 'application/json',
|
|
53
37
|
errors: {
|
|
@@ -60,21 +44,13 @@ export class PaymentService {
|
|
|
60
44
|
/**
|
|
61
45
|
* Create payment customer session
|
|
62
46
|
* Creates a new payment customer session for the shopper and account.
|
|
63
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
64
|
-
* @param accountid Unique identifier for the account.
|
|
65
|
-
* @param apikey API key for authentication.
|
|
66
47
|
* @returns CreateCustomerResponse Returns the created customer session.
|
|
67
48
|
* @throws ApiError
|
|
68
49
|
*/
|
|
69
|
-
static createCustomerSession(
|
|
50
|
+
static createCustomerSession() {
|
|
70
51
|
return __request(OpenAPI, {
|
|
71
52
|
method: 'POST',
|
|
72
53
|
url: '/payment/customer',
|
|
73
|
-
headers: {
|
|
74
|
-
'shopperguid': shopperguid,
|
|
75
|
-
'accountid': accountid,
|
|
76
|
-
'apikey': apikey,
|
|
77
|
-
},
|
|
78
54
|
errors: {
|
|
79
55
|
400: `Bad Request error with error details.`,
|
|
80
56
|
404: `Not found error with error details.`,
|
|
@@ -8,33 +8,24 @@ export declare class ProductService {
|
|
|
8
8
|
/**
|
|
9
9
|
* Get all products
|
|
10
10
|
* Retrieves all products available for the specified account.
|
|
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 ProductData Returns a list of products for the account.
|
|
15
12
|
* @throws ApiError
|
|
16
13
|
*/
|
|
17
|
-
static getProducts(
|
|
14
|
+
static getProducts(): CancelablePromise<ProductData>;
|
|
18
15
|
/**
|
|
19
16
|
* Add a product
|
|
20
17
|
* Adds a new product to the specified account.
|
|
21
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
22
|
-
* @param accountid Unique identifier for the account.
|
|
23
|
-
* @param apikey API key for authentication.
|
|
24
18
|
* @param requestBody Product details to add.
|
|
25
19
|
* @returns ProductAddResponse Returns the result of the product addition.
|
|
26
20
|
* @throws ApiError
|
|
27
21
|
*/
|
|
28
|
-
static addProduct(
|
|
22
|
+
static addProduct(requestBody: ProductBody): CancelablePromise<ProductAddResponse>;
|
|
29
23
|
/**
|
|
30
24
|
* Remove a product
|
|
31
25
|
* Removes a product from the specified account.
|
|
32
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
33
|
-
* @param accountid Unique identifier for the account.
|
|
34
|
-
* @param apikey API key for authentication.
|
|
35
26
|
* @param requestBody Product details to remove.
|
|
36
27
|
* @returns ProductUpdateResponse Returns the result of the product removal.
|
|
37
28
|
* @throws ApiError
|
|
38
29
|
*/
|
|
39
|
-
static deleteProduct(
|
|
30
|
+
static deleteProduct(requestBody: ProductDeleteBody): CancelablePromise<ProductUpdateResponse>;
|
|
40
31
|
}
|
|
@@ -4,21 +4,13 @@ export class ProductService {
|
|
|
4
4
|
/**
|
|
5
5
|
* Get all products
|
|
6
6
|
* Retrieves all products available for the specified 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 ProductData Returns a list of products for the account.
|
|
11
8
|
* @throws ApiError
|
|
12
9
|
*/
|
|
13
|
-
static getProducts(
|
|
10
|
+
static getProducts() {
|
|
14
11
|
return __request(OpenAPI, {
|
|
15
12
|
method: 'GET',
|
|
16
13
|
url: '/product',
|
|
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.`,
|
|
@@ -29,22 +21,14 @@ export class ProductService {
|
|
|
29
21
|
/**
|
|
30
22
|
* Add a product
|
|
31
23
|
* Adds a new product to the specified account.
|
|
32
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
33
|
-
* @param accountid Unique identifier for the account.
|
|
34
|
-
* @param apikey API key for authentication.
|
|
35
24
|
* @param requestBody Product details to add.
|
|
36
25
|
* @returns ProductAddResponse Returns the result of the product addition.
|
|
37
26
|
* @throws ApiError
|
|
38
27
|
*/
|
|
39
|
-
static addProduct(
|
|
28
|
+
static addProduct(requestBody) {
|
|
40
29
|
return __request(OpenAPI, {
|
|
41
30
|
method: 'POST',
|
|
42
31
|
url: '/product',
|
|
43
|
-
headers: {
|
|
44
|
-
'shopperguid': shopperguid,
|
|
45
|
-
'accountid': accountid,
|
|
46
|
-
'apikey': apikey,
|
|
47
|
-
},
|
|
48
32
|
body: requestBody,
|
|
49
33
|
mediaType: 'application/json',
|
|
50
34
|
errors: {
|
|
@@ -57,22 +41,14 @@ export class ProductService {
|
|
|
57
41
|
/**
|
|
58
42
|
* Remove a product
|
|
59
43
|
* Removes a product from the specified account.
|
|
60
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
61
|
-
* @param accountid Unique identifier for the account.
|
|
62
|
-
* @param apikey API key for authentication.
|
|
63
44
|
* @param requestBody Product details to remove.
|
|
64
45
|
* @returns ProductUpdateResponse Returns the result of the product removal.
|
|
65
46
|
* @throws ApiError
|
|
66
47
|
*/
|
|
67
|
-
static deleteProduct(
|
|
48
|
+
static deleteProduct(requestBody) {
|
|
68
49
|
return __request(OpenAPI, {
|
|
69
50
|
method: 'DELETE',
|
|
70
51
|
url: '/product',
|
|
71
|
-
headers: {
|
|
72
|
-
'shopperguid': shopperguid,
|
|
73
|
-
'accountid': accountid,
|
|
74
|
-
'apikey': apikey,
|
|
75
|
-
},
|
|
76
52
|
body: requestBody,
|
|
77
53
|
mediaType: 'application/json',
|
|
78
54
|
errors: {
|
|
@@ -17,67 +17,49 @@ export declare class SeatService {
|
|
|
17
17
|
/**
|
|
18
18
|
* Hold a reserved seat
|
|
19
19
|
* Holds a reserved seat for the shopper.
|
|
20
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
21
|
-
* @param accountid Unique identifier for the account.
|
|
22
|
-
* @param apikey API key for authentication.
|
|
23
20
|
* @param requestBody Seat data for holding a reserved seat
|
|
24
21
|
* @returns SeatHoldReturn Successfully held the reserved seat.
|
|
25
22
|
* @throws ApiError
|
|
26
23
|
*/
|
|
27
|
-
static holdReservedSeat(
|
|
24
|
+
static holdReservedSeat(requestBody: SeatData): CancelablePromise<SeatHoldReturn>;
|
|
28
25
|
/**
|
|
29
26
|
* Hold a general admission seat
|
|
30
27
|
* Holds a general admission seat for the shopper.
|
|
31
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
32
|
-
* @param accountid Unique identifier for the account.
|
|
33
|
-
* @param apikey API key for authentication.
|
|
34
28
|
* @param requestBody Seat data for holding a general admission seat
|
|
35
29
|
* @returns GAResponse Successfully held the general admission seat.
|
|
36
30
|
* @throws ApiError
|
|
37
31
|
*/
|
|
38
|
-
static holdGaSeat(
|
|
32
|
+
static holdGaSeat(requestBody: GAHold): CancelablePromise<GAResponse>;
|
|
39
33
|
/**
|
|
40
34
|
* Hold a reserved seat for a BA event
|
|
41
35
|
* Holds a reserved seat for a BA event.
|
|
42
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
43
|
-
* @param accountid Unique identifier for the account.
|
|
44
|
-
* @param apikey API key for authentication.
|
|
45
36
|
* @param requestBody Seat data for holding a reserved seat for a BA event
|
|
46
37
|
* @returns SeatHoldReturn Successfully held the reserved seat for a BA event.
|
|
47
38
|
* @throws ApiError
|
|
48
39
|
*/
|
|
49
|
-
static holdBaSeat(
|
|
40
|
+
static holdBaSeat(requestBody: BAHold): CancelablePromise<SeatHoldReturn>;
|
|
50
41
|
/**
|
|
51
42
|
* Release a reserved seat
|
|
52
43
|
* Releases a reserved seat for the shopper.
|
|
53
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
54
|
-
* @param accountid Unique identifier for the account.
|
|
55
|
-
* @param apikey API key for authentication.
|
|
56
44
|
* @param requestBody Seat data for releasing a reserved seat
|
|
57
45
|
* @returns any Successfully released the reserved seat.
|
|
58
46
|
* @throws ApiError
|
|
59
47
|
*/
|
|
60
|
-
static releaseReservedSeat(
|
|
48
|
+
static releaseReservedSeat(requestBody: SeatData): CancelablePromise<any>;
|
|
61
49
|
/**
|
|
62
50
|
* Release a general admission seat
|
|
63
51
|
* Releases a general admission seat for the shopper.
|
|
64
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
65
|
-
* @param accountid Unique identifier for the account.
|
|
66
|
-
* @param apikey API key for authentication.
|
|
67
52
|
* @param requestBody Seat data for releasing a general admission seat
|
|
68
53
|
* @returns any
|
|
69
54
|
* @throws ApiError
|
|
70
55
|
*/
|
|
71
|
-
static releaseGaSeat(
|
|
56
|
+
static releaseGaSeat(requestBody: GASeatRelease): CancelablePromise<any>;
|
|
72
57
|
/**
|
|
73
58
|
* Update tier information for a seat
|
|
74
59
|
* Updates the tier information for a seat.
|
|
75
|
-
* @param shopperguid Unique identifier for the shopper.
|
|
76
|
-
* @param accountid Unique identifier for the account.
|
|
77
|
-
* @param apikey API key for authentication.
|
|
78
60
|
* @param requestBody Data for updating tier information
|
|
79
61
|
* @returns UpdateTierData Successfully updated the tier information.
|
|
80
62
|
* @throws ApiError
|
|
81
63
|
*/
|
|
82
|
-
static updateTier(
|
|
64
|
+
static updateTier(requestBody: UpdateTierData): CancelablePromise<UpdateTierData>;
|
|
83
65
|
}
|