@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.
Files changed (104) hide show
  1. package/demo/test.html +1554 -674
  2. package/dist/bundle/drt-sdk.js +1 -1
  3. package/dist/cjs/index.d.ts +1 -0
  4. package/dist/cjs/src/definitions/portal.d.ts +2 -0
  5. package/dist/cjs/src/definitions/portal.js +2 -0
  6. package/dist/cjs/src/generated/portal/core/OpenAPI.js +1 -1
  7. package/dist/cjs/src/generated/portal/index.d.ts +3 -0
  8. package/dist/cjs/src/generated/portal/index.js +3 -1
  9. package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
  10. package/dist/cjs/src/generated/portal/models/SupportTicketResponseDto.js +2 -0
  11. package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
  12. package/dist/cjs/src/generated/portal/models/SupportTicketStatusResponseDto.js +2 -0
  13. package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
  14. package/dist/cjs/src/generated/portal/services/SuperUserSupportTicketsService.js +40 -0
  15. package/dist/cjs/src/generated/portal/types.d.ts +2 -0
  16. package/dist/cjs/src/generated/shopper/services/AccountService.d.ts +4 -16
  17. package/dist/cjs/src/generated/shopper/services/AccountService.js +4 -36
  18. package/dist/cjs/src/generated/shopper/services/CartService.d.ts +2 -8
  19. package/dist/cjs/src/generated/shopper/services/CartService.js +2 -18
  20. package/dist/cjs/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  21. package/dist/cjs/src/generated/shopper/services/CheckoutService.js +5 -45
  22. package/dist/cjs/src/generated/shopper/services/CodeService.d.ts +5 -20
  23. package/dist/cjs/src/generated/shopper/services/CodeService.js +5 -45
  24. package/dist/cjs/src/generated/shopper/services/DonationService.d.ts +2 -8
  25. package/dist/cjs/src/generated/shopper/services/DonationService.js +2 -16
  26. package/dist/cjs/src/generated/shopper/services/EventService.d.ts +4 -16
  27. package/dist/cjs/src/generated/shopper/services/EventService.js +4 -36
  28. package/dist/cjs/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  29. package/dist/cjs/src/generated/shopper/services/GiftCardService.js +5 -45
  30. package/dist/cjs/src/generated/shopper/services/OrderService.d.ts +14 -56
  31. package/dist/cjs/src/generated/shopper/services/OrderService.js +14 -126
  32. package/dist/cjs/src/generated/shopper/services/PaymentService.d.ts +3 -12
  33. package/dist/cjs/src/generated/shopper/services/PaymentService.js +3 -27
  34. package/dist/cjs/src/generated/shopper/services/ProductService.d.ts +3 -12
  35. package/dist/cjs/src/generated/shopper/services/ProductService.js +3 -27
  36. package/dist/cjs/src/generated/shopper/services/SeatService.d.ts +6 -24
  37. package/dist/cjs/src/generated/shopper/services/SeatService.js +6 -54
  38. package/dist/cjs/src/generated/shopper/services/SessionService.d.ts +2 -8
  39. package/dist/cjs/src/generated/shopper/services/SessionService.js +2 -18
  40. package/dist/cjs/src/scripts/build-all.js +46 -2
  41. package/dist/cjs/src/staging/wrapService.js +1 -1
  42. package/dist/esm/index.d.ts +1 -0
  43. package/dist/esm/src/definitions/portal.d.ts +2 -0
  44. package/dist/esm/src/definitions/portal.js +2 -0
  45. package/dist/esm/src/generated/portal/core/OpenAPI.js +1 -1
  46. package/dist/esm/src/generated/portal/index.d.ts +3 -0
  47. package/dist/esm/src/generated/portal/index.js +1 -0
  48. package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.d.ts +26 -0
  49. package/dist/esm/src/generated/portal/models/SupportTicketResponseDto.js +1 -0
  50. package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.d.ts +4 -0
  51. package/dist/esm/src/generated/portal/models/SupportTicketStatusResponseDto.js +1 -0
  52. package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.d.ts +21 -0
  53. package/dist/esm/src/generated/portal/services/SuperUserSupportTicketsService.js +36 -0
  54. package/dist/esm/src/generated/portal/types.d.ts +2 -0
  55. package/dist/esm/src/generated/shopper/services/AccountService.d.ts +4 -16
  56. package/dist/esm/src/generated/shopper/services/AccountService.js +4 -36
  57. package/dist/esm/src/generated/shopper/services/CartService.d.ts +2 -8
  58. package/dist/esm/src/generated/shopper/services/CartService.js +2 -18
  59. package/dist/esm/src/generated/shopper/services/CheckoutService.d.ts +5 -20
  60. package/dist/esm/src/generated/shopper/services/CheckoutService.js +5 -45
  61. package/dist/esm/src/generated/shopper/services/CodeService.d.ts +5 -20
  62. package/dist/esm/src/generated/shopper/services/CodeService.js +5 -45
  63. package/dist/esm/src/generated/shopper/services/DonationService.d.ts +2 -8
  64. package/dist/esm/src/generated/shopper/services/DonationService.js +2 -16
  65. package/dist/esm/src/generated/shopper/services/EventService.d.ts +4 -16
  66. package/dist/esm/src/generated/shopper/services/EventService.js +4 -36
  67. package/dist/esm/src/generated/shopper/services/GiftCardService.d.ts +5 -20
  68. package/dist/esm/src/generated/shopper/services/GiftCardService.js +5 -45
  69. package/dist/esm/src/generated/shopper/services/OrderService.d.ts +14 -56
  70. package/dist/esm/src/generated/shopper/services/OrderService.js +14 -126
  71. package/dist/esm/src/generated/shopper/services/PaymentService.d.ts +3 -12
  72. package/dist/esm/src/generated/shopper/services/PaymentService.js +3 -27
  73. package/dist/esm/src/generated/shopper/services/ProductService.d.ts +3 -12
  74. package/dist/esm/src/generated/shopper/services/ProductService.js +3 -27
  75. package/dist/esm/src/generated/shopper/services/SeatService.d.ts +6 -24
  76. package/dist/esm/src/generated/shopper/services/SeatService.js +6 -54
  77. package/dist/esm/src/generated/shopper/services/SessionService.d.ts +2 -8
  78. package/dist/esm/src/generated/shopper/services/SessionService.js +2 -18
  79. package/dist/esm/src/scripts/build-all.js +46 -2
  80. package/dist/esm/src/staging/wrapService.js +1 -1
  81. package/drt-api-specs-staging.json +14 -0
  82. package/package.json +38 -38
  83. package/public/sdk/latest/drt-sdk.js +1 -1
  84. package/src/definitions/portal.ts +2 -0
  85. package/src/generated/portal/core/OpenAPI.ts +1 -1
  86. package/src/generated/portal/index.ts +3 -0
  87. package/src/generated/portal/models/SupportTicketResponseDto.ts +31 -0
  88. package/src/generated/portal/models/SupportTicketStatusResponseDto.ts +9 -0
  89. package/src/generated/portal/services/SuperUserSupportTicketsService.ts +46 -0
  90. package/src/generated/portal/types.ts +2 -0
  91. package/src/generated/shopper/services/AccountService.ts +0 -44
  92. package/src/generated/shopper/services/CartService.ts +0 -22
  93. package/src/generated/shopper/services/CheckoutService.ts +0 -55
  94. package/src/generated/shopper/services/CodeService.ts +0 -55
  95. package/src/generated/shopper/services/DonationService.ts +0 -20
  96. package/src/generated/shopper/services/EventService.ts +0 -44
  97. package/src/generated/shopper/services/GiftCardService.ts +0 -55
  98. package/src/generated/shopper/services/OrderService.ts +0 -154
  99. package/src/generated/shopper/services/PaymentService.ts +0 -33
  100. package/src/generated/shopper/services/ProductService.ts +0 -33
  101. package/src/generated/shopper/services/SeatService.ts +0 -66
  102. package/src/generated/shopper/services/SessionService.ts +0 -22
  103. package/src/scripts/build-all.ts +59 -2
  104. package/src/staging/wrapService.ts +1 -1
@@ -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
  }
@@ -8,21 +8,13 @@ class OrderService {
8
8
  * Get order receipt by guid
9
9
  * Fetches the receipt for an order using its unique guid.
10
10
  * @param guid Unique identifier for an order.
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 Receipt Returns the order receipt.
15
12
  * @throws ApiError
16
13
  */
17
- static getReceipt(guid, shopperguid, accountid, apikey) {
14
+ static getReceipt(guid) {
18
15
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
19
16
  method: 'GET',
20
17
  url: '/order/receipt',
21
- headers: {
22
- 'shopperguid': shopperguid,
23
- 'accountid': accountid,
24
- 'apikey': apikey,
25
- },
26
18
  query: {
27
19
  'guid': guid,
28
20
  },
@@ -37,21 +29,13 @@ class OrderService {
37
29
  * Get Gwallet link by guid
38
30
  * Fetches the Gwallet link for an order using its unique guid.
39
31
  * @param guid Unique identifier for an order.
40
- * @param shopperguid Unique identifier for the shopper.
41
- * @param accountid Unique identifier for the account.
42
- * @param apikey API key for authentication.
43
32
  * @returns LinkWithSuccess Returns the Gwallet link.
44
33
  * @throws ApiError
45
34
  */
46
- static getGwalletLink(guid, shopperguid, accountid, apikey) {
35
+ static getGwalletLink(guid) {
47
36
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
48
37
  method: 'GET',
49
38
  url: '/order/gwallet',
50
- headers: {
51
- 'shopperguid': shopperguid,
52
- 'accountid': accountid,
53
- 'apikey': apikey,
54
- },
55
39
  query: {
56
40
  'guid': guid,
57
41
  },
@@ -66,21 +50,13 @@ class OrderService {
66
50
  * Get testing guid
67
51
  * Fetches a testing guid for development purposes.
68
52
  * @param guid Unique identifier for an order.
69
- * @param shopperguid Unique identifier for the shopper.
70
- * @param accountid Unique identifier for the account.
71
- * @param apikey API key for authentication.
72
53
  * @returns GuidReturn Returns a testing guid.
73
54
  * @throws ApiError
74
55
  */
75
- static getTestingGuid(guid, shopperguid, accountid, apikey) {
56
+ static getTestingGuid(guid) {
76
57
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
77
58
  method: 'GET',
78
59
  url: '/order/testing',
79
- headers: {
80
- 'shopperguid': shopperguid,
81
- 'accountid': accountid,
82
- 'apikey': apikey,
83
- },
84
60
  query: {
85
61
  'guid': guid,
86
62
  },
@@ -95,21 +71,13 @@ class OrderService {
95
71
  * Get assign names by guid
96
72
  * Fetches the assign names information for an order using its unique guid.
97
73
  * @param guid Unique identifier for an order.
98
- * @param shopperguid Unique identifier for the shopper.
99
- * @param accountid Unique identifier for the account.
100
- * @param apikey API key for authentication.
101
74
  * @returns AssignNamesReturn Returns the assign names information.
102
75
  * @throws ApiError
103
76
  */
104
- static getAssignNames(guid, shopperguid, accountid, apikey) {
77
+ static getAssignNames(guid) {
105
78
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
106
79
  method: 'GET',
107
80
  url: '/order/assign-names',
108
- headers: {
109
- 'shopperguid': shopperguid,
110
- 'accountid': accountid,
111
- 'apikey': apikey,
112
- },
113
81
  query: {
114
82
  'guid': guid,
115
83
  },
@@ -124,22 +92,14 @@ class OrderService {
124
92
  * Post assign names
125
93
  * Assigns names to an order using its unique guid and the provided names.
126
94
  * @param guid Unique identifier for an order.
127
- * @param shopperguid Unique identifier for the shopper.
128
- * @param accountid Unique identifier for the account.
129
- * @param apikey API key for authentication.
130
95
  * @param requestBody Names to be assigned to the order.
131
96
  * @returns SuccessResponse Returns success status after assigning names.
132
97
  * @throws ApiError
133
98
  */
134
- static postAssignNames(guid, shopperguid, accountid, apikey, requestBody) {
99
+ static postAssignNames(guid, requestBody) {
135
100
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
136
101
  method: 'POST',
137
102
  url: '/order/assign-names',
138
- headers: {
139
- 'shopperguid': shopperguid,
140
- 'accountid': accountid,
141
- 'apikey': apikey,
142
- },
143
103
  query: {
144
104
  'guid': guid,
145
105
  },
@@ -156,22 +116,14 @@ class OrderService {
156
116
  * Post email tickets
157
117
  * Sends email tickets for an order using its unique guid and the provided email update.
158
118
  * @param guid Unique identifier for an order.
159
- * @param shopperguid Unique identifier for the shopper.
160
- * @param accountid Unique identifier for the account.
161
- * @param apikey API key for authentication.
162
119
  * @param requestBody Email update containing the email address to send tickets.
163
120
  * @returns SuccessResponse Returns success status after sending email tickets.
164
121
  * @throws ApiError
165
122
  */
166
- static postEmailTickets(guid, shopperguid, accountid, apikey, requestBody) {
123
+ static postEmailTickets(guid, requestBody) {
167
124
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
168
125
  method: 'POST',
169
126
  url: '/order/email-tickets',
170
- headers: {
171
- 'shopperguid': shopperguid,
172
- 'accountid': accountid,
173
- 'apikey': apikey,
174
- },
175
127
  query: {
176
128
  'guid': guid,
177
129
  },
@@ -188,21 +140,13 @@ class OrderService {
188
140
  * Get ticket block by guid
189
141
  * Fetches the ticket block for an order using its unique guid.
190
142
  * @param guid Unique identifier for an order.
191
- * @param shopperguid Unique identifier for the shopper.
192
- * @param accountid Unique identifier for the account.
193
- * @param apikey API key for authentication.
194
143
  * @returns PickupReturn Returns the ticket block for the order.
195
144
  * @throws ApiError
196
145
  */
197
- static getTicketBlock(guid, shopperguid, accountid, apikey) {
146
+ static getTicketBlock(guid) {
198
147
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
199
148
  method: 'GET',
200
149
  url: '/order/pickup',
201
- headers: {
202
- 'shopperguid': shopperguid,
203
- 'accountid': accountid,
204
- 'apikey': apikey,
205
- },
206
150
  query: {
207
151
  'guid': guid,
208
152
  },
@@ -217,21 +161,13 @@ class OrderService {
217
161
  * Post ticket block by guid
218
162
  * Sends the ticket block for an order using its unique guid.
219
163
  * @param guid Unique identifier for an order.
220
- * @param shopperguid Unique identifier for the shopper.
221
- * @param accountid Unique identifier for the account.
222
- * @param apikey API key for authentication.
223
164
  * @returns SuccessResponse Returns the ticket block for the order.
224
165
  * @throws ApiError
225
166
  */
226
- static postPickup(guid, shopperguid, accountid, apikey) {
167
+ static postPickup(guid) {
227
168
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
228
169
  method: 'POST',
229
170
  url: '/order/pickup',
230
- headers: {
231
- 'shopperguid': shopperguid,
232
- 'accountid': accountid,
233
- 'apikey': apikey,
234
- },
235
171
  query: {
236
172
  'guid': guid,
237
173
  },
@@ -246,21 +182,13 @@ class OrderService {
246
182
  * Send order receipt via email
247
183
  * Sends the order receipt to the shopper's email address for the specified order guid.
248
184
  * @param guid Unique identifier for an order.
249
- * @param shopperguid Unique identifier for the shopper.
250
- * @param accountid Unique identifier for the account.
251
- * @param apikey API key for authentication.
252
185
  * @returns SuccessResponse Returns success status after emailing the receipt.
253
186
  * @throws ApiError
254
187
  */
255
- static postEmailReceipt(guid, shopperguid, accountid, apikey) {
188
+ static postEmailReceipt(guid) {
256
189
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
257
190
  method: 'POST',
258
191
  url: '/order/email-receipt',
259
- headers: {
260
- 'shopperguid': shopperguid,
261
- 'accountid': accountid,
262
- 'apikey': apikey,
263
- },
264
192
  query: {
265
193
  'guid': guid,
266
194
  },
@@ -275,21 +203,13 @@ class OrderService {
275
203
  * Get refund request information
276
204
  * Fetches the refund request information for an order using its unique guid.
277
205
  * @param guid Unique identifier for an order.
278
- * @param shopperguid Unique identifier for the shopper.
279
- * @param accountid Unique identifier for the account.
280
- * @param apikey API key for authentication.
281
206
  * @returns RefundRequestInfo Returns the refund request information for the order.
282
207
  * @throws ApiError
283
208
  */
284
- static getRefundRequest(guid, shopperguid, accountid, apikey) {
209
+ static getRefundRequest(guid) {
285
210
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
286
211
  method: 'GET',
287
212
  url: '/order/refund-request',
288
- headers: {
289
- 'shopperguid': shopperguid,
290
- 'accountid': accountid,
291
- 'apikey': apikey,
292
- },
293
213
  query: {
294
214
  'guid': guid,
295
215
  },
@@ -304,22 +224,14 @@ class OrderService {
304
224
  * Submit a refund request
305
225
  * Submits a refund request for an order using its unique guid and the provided refund details.
306
226
  * @param guid Unique identifier for an order.
307
- * @param shopperguid Unique identifier for the shopper.
308
- * @param accountid Unique identifier for the account.
309
- * @param apikey API key for authentication.
310
227
  * @param requestBody Refund request details.
311
228
  * @returns SuccessResponse Returns success status after submitting the refund request.
312
229
  * @throws ApiError
313
230
  */
314
- static postRefundRequest(guid, shopperguid, accountid, apikey, requestBody) {
231
+ static postRefundRequest(guid, requestBody) {
315
232
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
316
233
  method: 'POST',
317
234
  url: '/order/refund-request',
318
- headers: {
319
- 'shopperguid': shopperguid,
320
- 'accountid': accountid,
321
- 'apikey': apikey,
322
- },
323
235
  query: {
324
236
  'guid': guid,
325
237
  },
@@ -336,22 +248,14 @@ class OrderService {
336
248
  * Recalculate order totals
337
249
  * Recalculates the totals for an order using the provided recalculation data.
338
250
  * @param guid Unique identifier for an order.
339
- * @param shopperguid Unique identifier for the shopper.
340
- * @param accountid Unique identifier for the account.
341
- * @param apikey API key for authentication.
342
251
  * @param requestBody Order recalculation data.
343
252
  * @returns RecalcResponse Returns the recalculated order totals and success status.
344
253
  * @throws ApiError
345
254
  */
346
- static postRecalcOrder(guid, shopperguid, accountid, apikey, requestBody) {
255
+ static postRecalcOrder(guid, requestBody) {
347
256
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
348
257
  method: 'POST',
349
258
  url: '/order/recalc',
350
- headers: {
351
- 'shopperguid': shopperguid,
352
- 'accountid': accountid,
353
- 'apikey': apikey,
354
- },
355
259
  query: {
356
260
  'guid': guid,
357
261
  },
@@ -367,22 +271,14 @@ class OrderService {
367
271
  /**
368
272
  * Register a stream for a shopper
369
273
  * Registers a stream for the specified shopper and account using the provided stream registration details.
370
- * @param shopperguid Unique identifier for the shopper.
371
- * @param accountid Unique identifier for the account.
372
- * @param apikey API key for authentication.
373
274
  * @param requestBody Stream registration details.
374
275
  * @returns RegisterStreamResponse Returns the stream registration response.
375
276
  * @throws ApiError
376
277
  */
377
- static postRegisterStream(shopperguid, accountid, apikey, requestBody) {
278
+ static postRegisterStream(requestBody) {
378
279
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
379
280
  method: 'POST',
380
281
  url: '/order/stream-register',
381
- headers: {
382
- 'shopperguid': shopperguid,
383
- 'accountid': accountid,
384
- 'apikey': apikey,
385
- },
386
282
  body: requestBody,
387
283
  mediaType: 'application/json',
388
284
  errors: {
@@ -395,22 +291,14 @@ class OrderService {
395
291
  /**
396
292
  * Deregister a stream for a shopper
397
293
  * Removes the stream registration for the specified shopper and account using the provided stream registration details.
398
- * @param shopperguid Unique identifier for the shopper.
399
- * @param accountid Unique identifier for the account.
400
- * @param apikey API key for authentication.
401
294
  * @param requestBody Stream registration details to be deregistered.
402
295
  * @returns SuccessResponse Returns success status after deregistering the stream.
403
296
  * @throws ApiError
404
297
  */
405
- static deleteRegisteredStream(shopperguid, accountid, apikey, requestBody) {
298
+ static deleteRegisteredStream(requestBody) {
406
299
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
407
300
  method: 'DELETE',
408
301
  url: '/order/stream-register',
409
- headers: {
410
- 'shopperguid': shopperguid,
411
- 'accountid': accountid,
412
- 'apikey': apikey,
413
- },
414
302
  body: requestBody,
415
303
  mediaType: 'application/json',
416
304
  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
  }
@@ -7,22 +7,14 @@ class PaymentService {
7
7
  /**
8
8
  * Summarize payment
9
9
  * Saves the payment data for the shopper with the provided confirmation token.
10
- * @param shopperguid Unique identifier for the shopper.
11
- * @param accountid Unique identifier for the account.
12
- * @param apikey API key for authentication.
13
10
  * @param requestBody Summary request body containing the confirmation token.
14
11
  * @returns SuccessResponse Returns a success response.
15
12
  * @throws ApiError
16
13
  */
17
- static summarizePayment(shopperguid, accountid, apikey, requestBody) {
14
+ static summarizePayment(requestBody) {
18
15
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
19
16
  method: 'POST',
20
17
  url: '/payment/summary',
21
- headers: {
22
- 'shopperguid': shopperguid,
23
- 'accountid': accountid,
24
- 'apikey': apikey,
25
- },
26
18
  body: requestBody,
27
19
  mediaType: 'application/json',
28
20
  errors: {
@@ -35,22 +27,14 @@ class PaymentService {
35
27
  /**
36
28
  * Complete payment
37
29
  * Completes the payment for the shopper using the provided cart hash and IP address.
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 Payment completion request body containing cart hash and IP address.
42
31
  * @returns PaymentSuccess Returns the result of the payment completion.
43
32
  * @throws ApiError
44
33
  */
45
- static completePayment(shopperguid, accountid, apikey, requestBody) {
34
+ static completePayment(requestBody) {
46
35
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
47
36
  method: 'POST',
48
37
  url: '/payment/complete',
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 @@ class PaymentService {
63
47
  /**
64
48
  * Create payment customer session
65
49
  * Creates a new payment customer session for the shopper and account.
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 CreateCustomerResponse Returns the created customer session.
70
51
  * @throws ApiError
71
52
  */
72
- static createCustomerSession(shopperguid, accountid, apikey) {
53
+ static createCustomerSession() {
73
54
  return (0, request_1.request)(OpenAPI_1.OpenAPI, {
74
55
  method: 'POST',
75
56
  url: '/payment/customer',
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.`,
@@ -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
  }