@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.
Files changed (67) hide show
  1. package/demo/test.html +1554 -674
  2. package/dist/bundle/drt-sdk.js +1 -1
  3. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
  4. package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
  5. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
  6. package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
  7. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  8. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
  9. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
  10. package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
  11. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
  12. package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
  13. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
  14. package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
  15. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  16. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
  17. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
  18. package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
  19. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
  20. package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
  21. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
  22. package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
  23. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
  24. package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
  25. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
  26. package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
  27. package/dist/cjs/src/scripts/build-all.js +39 -0
  28. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
  29. package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
  30. package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
  31. package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
  32. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  33. package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
  34. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
  35. package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
  36. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
  37. package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
  38. package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
  39. package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
  40. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  41. package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
  42. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
  43. package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
  44. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
  45. package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
  46. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
  47. package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
  48. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
  49. package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
  50. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
  51. package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
  52. package/dist/esm/src/scripts/build-all.js +39 -0
  53. package/package.json +1 -1
  54. package/public/sdk/latest/drt-sdk.js +1 -1
  55. package/src/generated/shopper/services/AccountService.ts +0 -44
  56. package/src/generated/shopper/services/CartService.ts +0 -22
  57. package/src/generated/shopper/services/CheckoutService.ts +0 -55
  58. package/src/generated/shopper/services/CodeService.ts +0 -55
  59. package/src/generated/shopper/services/DonationService.ts +0 -20
  60. package/src/generated/shopper/services/EventService.ts +0 -44
  61. package/src/generated/shopper/services/GiftCardService.ts +0 -55
  62. package/src/generated/shopper/services/OrderService.ts +0 -154
  63. package/src/generated/shopper/services/PaymentService.ts +0 -33
  64. package/src/generated/shopper/services/ProductService.ts +0 -33
  65. package/src/generated/shopper/services/SeatService.ts +0 -66
  66. package/src/generated/shopper/services/SessionService.ts +0 -22
  67. package/src/scripts/build-all.ts +52 -0
@@ -18,158 +18,116 @@ export declare class OrderService {
18
18
  * Get order receipt by guid
19
19
  * Fetches the receipt for an order using its unique guid.
20
20
  * @param guid Unique identifier for an order.
21
- * @param shopperguid Unique identifier for the shopper.
22
- * @param accountid Unique identifier for the account.
23
- * @param apikey API key for authentication.
24
21
  * @returns Receipt Returns the order receipt.
25
22
  * @throws ApiError
26
23
  */
27
- static getReceipt(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<Receipt>;
24
+ static getReceipt(guid: string): CancelablePromise<Receipt>;
28
25
  /**
29
26
  * Get Gwallet link by guid
30
27
  * Fetches the Gwallet link for an order using its unique guid.
31
28
  * @param guid Unique identifier for an order.
32
- * @param shopperguid Unique identifier for the shopper.
33
- * @param accountid Unique identifier for the account.
34
- * @param apikey API key for authentication.
35
29
  * @returns LinkWithSuccess Returns the Gwallet link.
36
30
  * @throws ApiError
37
31
  */
38
- static getGwalletLink(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<LinkWithSuccess>;
32
+ static getGwalletLink(guid: string): CancelablePromise<LinkWithSuccess>;
39
33
  /**
40
34
  * Get testing guid
41
35
  * Fetches a testing guid for development purposes.
42
36
  * @param guid Unique identifier for an order.
43
- * @param shopperguid Unique identifier for the shopper.
44
- * @param accountid Unique identifier for the account.
45
- * @param apikey API key for authentication.
46
37
  * @returns GuidReturn Returns a testing guid.
47
38
  * @throws ApiError
48
39
  */
49
- static getTestingGuid(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<GuidReturn>;
40
+ static getTestingGuid(guid: string): CancelablePromise<GuidReturn>;
50
41
  /**
51
42
  * Get assign names by guid
52
43
  * Fetches the assign names information for an order using its unique guid.
53
44
  * @param guid Unique identifier for an order.
54
- * @param shopperguid Unique identifier for the shopper.
55
- * @param accountid Unique identifier for the account.
56
- * @param apikey API key for authentication.
57
45
  * @returns AssignNamesReturn Returns the assign names information.
58
46
  * @throws ApiError
59
47
  */
60
- static getAssignNames(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<AssignNamesReturn>;
48
+ static getAssignNames(guid: string): CancelablePromise<AssignNamesReturn>;
61
49
  /**
62
50
  * Post assign names
63
51
  * Assigns names to an order using its unique guid and the provided names.
64
52
  * @param guid Unique identifier for an order.
65
- * @param shopperguid Unique identifier for the shopper.
66
- * @param accountid Unique identifier for the account.
67
- * @param apikey API key for authentication.
68
53
  * @param requestBody Names to be assigned to the order.
69
54
  * @returns SuccessResponse Returns success status after assigning names.
70
55
  * @throws ApiError
71
56
  */
72
- static postAssignNames(guid: string, shopperguid: string, accountid: string, apikey: string, requestBody: NameUpdate): CancelablePromise<SuccessResponse>;
57
+ static postAssignNames(guid: string, requestBody: NameUpdate): CancelablePromise<SuccessResponse>;
73
58
  /**
74
59
  * Post email tickets
75
60
  * Sends email tickets for an order using its unique guid and the provided email update.
76
61
  * @param guid Unique identifier for an order.
77
- * @param shopperguid Unique identifier for the shopper.
78
- * @param accountid Unique identifier for the account.
79
- * @param apikey API key for authentication.
80
62
  * @param requestBody Email update containing the email address to send tickets.
81
63
  * @returns SuccessResponse Returns success status after sending email tickets.
82
64
  * @throws ApiError
83
65
  */
84
- static postEmailTickets(guid: string, shopperguid: string, accountid: string, apikey: string, requestBody: EmailUpdate): CancelablePromise<SuccessResponse>;
66
+ static postEmailTickets(guid: string, requestBody: EmailUpdate): CancelablePromise<SuccessResponse>;
85
67
  /**
86
68
  * Get ticket block by guid
87
69
  * Fetches the ticket block for an order using its unique guid.
88
70
  * @param guid Unique identifier for an order.
89
- * @param shopperguid Unique identifier for the shopper.
90
- * @param accountid Unique identifier for the account.
91
- * @param apikey API key for authentication.
92
71
  * @returns PickupReturn Returns the ticket block for the order.
93
72
  * @throws ApiError
94
73
  */
95
- static getTicketBlock(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<PickupReturn>;
74
+ static getTicketBlock(guid: string): CancelablePromise<PickupReturn>;
96
75
  /**
97
76
  * Post ticket block by guid
98
77
  * Sends the ticket block for an order using its unique guid.
99
78
  * @param guid Unique identifier for an order.
100
- * @param shopperguid Unique identifier for the shopper.
101
- * @param accountid Unique identifier for the account.
102
- * @param apikey API key for authentication.
103
79
  * @returns SuccessResponse Returns the ticket block for the order.
104
80
  * @throws ApiError
105
81
  */
106
- static postPickup(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<SuccessResponse>;
82
+ static postPickup(guid: string): CancelablePromise<SuccessResponse>;
107
83
  /**
108
84
  * Send order receipt via email
109
85
  * Sends the order receipt to the shopper's email address for the specified order guid.
110
86
  * @param guid Unique identifier for an order.
111
- * @param shopperguid Unique identifier for the shopper.
112
- * @param accountid Unique identifier for the account.
113
- * @param apikey API key for authentication.
114
87
  * @returns SuccessResponse Returns success status after emailing the receipt.
115
88
  * @throws ApiError
116
89
  */
117
- static postEmailReceipt(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<SuccessResponse>;
90
+ static postEmailReceipt(guid: string): CancelablePromise<SuccessResponse>;
118
91
  /**
119
92
  * Get refund request information
120
93
  * Fetches the refund request information for an order using its unique guid.
121
94
  * @param guid Unique identifier for an order.
122
- * @param shopperguid Unique identifier for the shopper.
123
- * @param accountid Unique identifier for the account.
124
- * @param apikey API key for authentication.
125
95
  * @returns RefundRequestInfo Returns the refund request information for the order.
126
96
  * @throws ApiError
127
97
  */
128
- static getRefundRequest(guid: string, shopperguid: string, accountid: string, apikey: string): CancelablePromise<RefundRequestInfo>;
98
+ static getRefundRequest(guid: string): CancelablePromise<RefundRequestInfo>;
129
99
  /**
130
100
  * Submit a refund request
131
101
  * Submits a refund request for an order using its unique guid and the provided refund details.
132
102
  * @param guid Unique identifier for an order.
133
- * @param shopperguid Unique identifier for the shopper.
134
- * @param accountid Unique identifier for the account.
135
- * @param apikey API key for authentication.
136
103
  * @param requestBody Refund request details.
137
104
  * @returns SuccessResponse Returns success status after submitting the refund request.
138
105
  * @throws ApiError
139
106
  */
140
- static postRefundRequest(guid: string, shopperguid: string, accountid: string, apikey: string, requestBody: RefundRequest): CancelablePromise<SuccessResponse>;
107
+ static postRefundRequest(guid: string, requestBody: RefundRequest): CancelablePromise<SuccessResponse>;
141
108
  /**
142
109
  * Recalculate order totals
143
110
  * Recalculates the totals for an order using the provided recalculation data.
144
111
  * @param guid Unique identifier for an order.
145
- * @param shopperguid Unique identifier for the shopper.
146
- * @param accountid Unique identifier for the account.
147
- * @param apikey API key for authentication.
148
112
  * @param requestBody Order recalculation data.
149
113
  * @returns RecalcResponse Returns the recalculated order totals and success status.
150
114
  * @throws ApiError
151
115
  */
152
- static postRecalcOrder(guid: string, shopperguid: string, accountid: string, apikey: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
116
+ static postRecalcOrder(guid: string, requestBody: OrderRecalc): CancelablePromise<RecalcResponse>;
153
117
  /**
154
118
  * Register a stream for a shopper
155
119
  * Registers a stream for the specified shopper and account using the provided stream registration details.
156
- * @param shopperguid Unique identifier for the shopper.
157
- * @param accountid Unique identifier for the account.
158
- * @param apikey API key for authentication.
159
120
  * @param requestBody Stream registration details.
160
121
  * @returns RegisterStreamResponse Returns the stream registration response.
161
122
  * @throws ApiError
162
123
  */
163
- static postRegisterStream(shopperguid: string, accountid: string, apikey: string, requestBody: RegisterStreamRequest): CancelablePromise<RegisterStreamResponse>;
124
+ static postRegisterStream(requestBody: RegisterStreamRequest): CancelablePromise<RegisterStreamResponse>;
164
125
  /**
165
126
  * Deregister a stream for a shopper
166
127
  * Removes the stream registration for the specified shopper and account using the provided stream registration details.
167
- * @param shopperguid Unique identifier for the shopper.
168
- * @param accountid Unique identifier for the account.
169
- * @param apikey API key for authentication.
170
128
  * @param requestBody Stream registration details to be deregistered.
171
129
  * @returns SuccessResponse Returns success status after deregistering the stream.
172
130
  * @throws ApiError
173
131
  */
174
- static deleteRegisteredStream(shopperguid: string, accountid: string, apikey: string, requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
132
+ static deleteRegisteredStream(requestBody: RegisterStreamRequest): CancelablePromise<SuccessResponse>;
175
133
  }
@@ -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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey, requestBody) {
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, shopperguid, accountid, apikey, requestBody) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey) {
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, shopperguid, accountid, apikey, requestBody) {
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, shopperguid, accountid, apikey, requestBody) {
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(shopperguid, accountid, apikey, requestBody) {
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(shopperguid, accountid, apikey, requestBody) {
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(shopperguid: string, accountid: string, apikey: string, requestBody: SummaryBody): CancelablePromise<SuccessResponse>;
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(shopperguid: string, accountid: string, apikey: string, requestBody: CompleteBody): CancelablePromise<PaymentSuccess>;
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(shopperguid: string, accountid: string, apikey: string): CancelablePromise<CreateCustomerResponse>;
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(shopperguid, accountid, apikey, requestBody) {
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(shopperguid, accountid, apikey, requestBody) {
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(shopperguid, accountid, apikey) {
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(shopperguid: string, accountid: string, apikey: string): CancelablePromise<ProductData>;
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(shopperguid: string, accountid: string, apikey: string, requestBody: ProductBody): CancelablePromise<ProductAddResponse>;
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(shopperguid: string, accountid: string, apikey: string, requestBody: ProductDeleteBody): CancelablePromise<ProductUpdateResponse>;
30
+ static deleteProduct(requestBody: ProductDeleteBody): CancelablePromise<ProductUpdateResponse>;
40
31
  }