@compassdigital/sdk.typescript 4.67.0 → 4.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +58 -57
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +503 -501
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +1 -1
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +3 -3
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +2 -2
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +11 -11
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/email.d.ts +1 -1
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +2 -2
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +9 -9
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +6 -4
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +149 -109
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +3 -3
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +7 -7
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +10 -10
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +3 -3
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +8 -8
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +10 -10
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/search.d.ts +8 -8
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +7 -7
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +8 -8
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +2 -2
- package/lib/interface/tax.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -16
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +6 -6
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +10395 -10394
- package/src/interface/ai.ts +22 -22
- package/src/interface/announcement.ts +60 -60
- package/src/interface/auth.ts +68 -68
- package/src/interface/calendar.ts +94 -94
- package/src/interface/centricos.ts +145 -145
- package/src/interface/compassconnect.ts +59 -59
- package/src/interface/config.ts +166 -166
- package/src/interface/datalake.ts +13 -13
- package/src/interface/email.ts +13 -13
- package/src/interface/file.ts +18 -18
- package/src/interface/frictionless.ts +177 -177
- package/src/interface/kds.ts +49 -49
- package/src/interface/location.ts +771 -769
- package/src/interface/mealplan.ts +155 -154
- package/src/interface/menu.ts +4079 -4018
- package/src/interface/notification.ts +51 -51
- package/src/interface/order.ts +464 -464
- package/src/interface/partner.ts +823 -823
- package/src/interface/payment.ts +278 -278
- package/src/interface/promo.ts +373 -373
- package/src/interface/report.ts +348 -348
- package/src/interface/search.ts +135 -135
- package/src/interface/shoppingcart.ts +429 -429
- package/src/interface/task.ts +212 -212
- package/src/interface/tax.ts +69 -69
- package/src/interface/user.ts +410 -410
- package/src/interface/vendor.ts +215 -215
|
@@ -1,240 +1,240 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
2
|
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
3
3
|
|
|
4
|
-
import { RequestQuery, BaseRequest } from
|
|
4
|
+
import { RequestQuery, BaseRequest } from './util';
|
|
5
5
|
|
|
6
6
|
export interface FrictionlessSupportResponseDTO {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
// Whether the brand supports frictionless checkins
|
|
8
|
+
supported: boolean;
|
|
9
|
+
// The version of the frictionless support
|
|
10
|
+
version?: 'NFC' | 'QR';
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
export interface UnauthorizedErrorDTO {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
message: string;
|
|
15
|
+
code: number;
|
|
16
|
+
data: Record<string, any>;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export interface ForbiddenErrorDTO {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
message: string;
|
|
21
|
+
code: number;
|
|
22
|
+
data: Record<string, any>;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export interface NotFoundErrorDTO {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
message: string;
|
|
27
|
+
code: number;
|
|
28
|
+
data: Record<string, any>;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
export interface MealplanDTO {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
// The unique identifier of the mealplan tender
|
|
33
|
+
tenderID: string;
|
|
34
|
+
// The name of the mealplan
|
|
35
|
+
name: string;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
export interface CreditCardDTO {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
// The CreditCard Type. This field is not validated. It is used to enrich checkin metadata
|
|
40
|
+
cardType: string;
|
|
41
|
+
// The last 4 digits of the credit card
|
|
42
|
+
last4: string;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
export interface PaymentMethodDTO {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
mealplan?: MealplanDTO;
|
|
47
|
+
creditCard?: CreditCardDTO;
|
|
48
|
+
// Token used for identify the payment method
|
|
49
|
+
token: string;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
export interface CreateFrictionlessQRCodeCommandDTO {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
// The unique identifier of the brand that the checkin should be created with
|
|
54
|
+
brandID: string;
|
|
55
|
+
// The unique identifier of the user that the checkin should be created with
|
|
56
|
+
userID: string;
|
|
57
|
+
paymentMethod: PaymentMethodDTO;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export interface QRCodeCreationResponseDTO {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
// The base64 encoded QR code
|
|
62
|
+
qrcode: string;
|
|
63
|
+
// The expiration time of the QR code in unix time. Always in future.
|
|
64
|
+
expiration: number;
|
|
65
|
+
// The unique identifier for the checkin created for this QR code
|
|
66
|
+
id: string;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export interface DisplayMessageDTO {
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
title: string;
|
|
71
|
+
description: string;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
export interface ErrorDataDTO {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
description: string;
|
|
76
|
+
timestamp: string;
|
|
77
|
+
statusCode: number;
|
|
78
|
+
displayMessage: DisplayMessageDTO;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
export interface UnprocessableEntityErrorDTO {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
code: number;
|
|
83
|
+
message: string;
|
|
84
|
+
data: ErrorDataDTO;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
export interface GetCheckInStatusResponseDTO {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
88
|
+
// The status of the checkin
|
|
89
|
+
status:
|
|
90
|
+
| 'CREATING'
|
|
91
|
+
| 'ACTIVE'
|
|
92
|
+
| 'ERROR'
|
|
93
|
+
| 'CANCELED'
|
|
94
|
+
| 'PROCESSING'
|
|
95
|
+
| 'UPDATE_PAYMENT_REQUIRED'
|
|
96
|
+
| 'COMPLETED';
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
export interface GetCheckinResponseDTO {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
100
|
+
// The unique identifier for this checkin
|
|
101
|
+
id: string;
|
|
102
|
+
// The third-party provider that the checkin was created on. The value varies based on the technology installed in the station.
|
|
103
|
+
provider: 'AWS' | 'SC';
|
|
104
|
+
// The status of the checkin
|
|
105
|
+
status:
|
|
106
|
+
| 'CREATING'
|
|
107
|
+
| 'ACTIVE'
|
|
108
|
+
| 'ERROR'
|
|
109
|
+
| 'CANCELED'
|
|
110
|
+
| 'PROCESSING'
|
|
111
|
+
| 'UPDATE_PAYMENT_REQUIRED'
|
|
112
|
+
| 'COMPLETED';
|
|
113
|
+
// The reason why the checkin failed. This field is only present when the status is 'FAILED'
|
|
114
|
+
reasonOfFail?: string;
|
|
115
|
+
// The ID of the checkin that was created in the third-party system. They might call this entity with other terminology
|
|
116
|
+
thirdPartyCorrelatedID?: string;
|
|
117
|
+
// The shopping cart ID for this checkin. This field is only present if the checkin was processed or is being processed but the shopping cart was already created.
|
|
118
|
+
shoppingCartID?: string;
|
|
119
|
+
// The unique identifier of the brand that the checkin was created on
|
|
120
|
+
brandID: string;
|
|
121
|
+
// The unique identifier of the user that created the checkin
|
|
122
|
+
userID: string;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
export interface CheckInPaymentRequiredDTO {
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
// The unique identifier for this checkin
|
|
127
|
+
id: string;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
export interface FailedCheckInDTO {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
131
|
+
// The unique identifier for this checkin
|
|
132
|
+
id: string;
|
|
133
|
+
// The unique identifier of the user that created the checkin
|
|
134
|
+
shopperID: string;
|
|
135
|
+
// The unique identifier of the brand that the checkin was created on
|
|
136
|
+
brandID: string;
|
|
137
|
+
// The reason why the checkin failed
|
|
138
|
+
reason: string;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
export interface AmazonJWOAuthEventDTO {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
142
|
+
// Value that uniquely identifies each authorization event that occurs when a shopper interacts with a JWO gate
|
|
143
|
+
id: string;
|
|
144
|
+
// Contains the timestamp when the authorization event took place
|
|
145
|
+
timestamp: string;
|
|
146
|
+
// Contains an enumerated string that tells the system where the authorization event took place. Current values are ENTRY for the JWO Entry Gate and EXIT for the Exit Gate
|
|
147
|
+
location: 'ENTRY' | 'EXIT';
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
export interface AmazonJWOIdentityKeysRequestDTO {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
151
|
+
authEvent: AmazonJWOAuthEventDTO;
|
|
152
|
+
// The Payload of the QR Code generated for the shopper to scan. Amazon calls this "Identity Key"
|
|
153
|
+
identityKey: string;
|
|
154
|
+
// The unique identifier for this request.
|
|
155
|
+
requestId: string;
|
|
156
|
+
// The unique identifier for the store that the shopper is interacting with on Amazon System
|
|
157
|
+
storeId: string;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
export interface VisitorDetailsDTO {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
// The unique identifier for this visitor on AWS System. Coincides with our Checkin ID
|
|
162
|
+
id: string;
|
|
163
|
+
type: 'SHOPPER' | 'ASSOCIATE' | 'CASH_SHOPPER';
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
export interface AmazonJWOIdentityKeysResponseDTO {
|
|
167
|
-
|
|
167
|
+
visitorDetails: VisitorDetailsDTO;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
export interface BadRequestErrorDTO {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
171
|
+
message: string;
|
|
172
|
+
code: number;
|
|
173
|
+
data: Record<string, any>;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
export interface ShoppingTrip {
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
177
|
+
// Contains a timestamp for the time the shopping trip starts. This value is not validated on our service.
|
|
178
|
+
startTime: string;
|
|
179
|
+
// Contains a timestamp for the time the shopping trip ends. This value is not validated on our service.
|
|
180
|
+
endTime: string;
|
|
181
|
+
authEvents: AmazonJWOAuthEventDTO[];
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
export interface QuantityDTO {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
// Contains the number of each item the shopper purchased
|
|
186
|
+
value: string;
|
|
187
|
+
// Contains the type of unique identifier your store uses to identify each item in the cart
|
|
188
|
+
unit: 'unit' | 'each';
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
export interface CartItemDTO {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
192
|
+
// Contain a unique identifier for the item in the cart. This identifier will be an SKU for Compass
|
|
193
|
+
id: string;
|
|
194
|
+
// Contains the type of unique identifier the store uses to identify each item in the cart. This field will be always SKU for Compass
|
|
195
|
+
type: 'SKU';
|
|
196
|
+
quantity: QuantityDTO;
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
export interface ShopperIdentity {
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
// Contains a unique identifier for each shopper AWS sends back. Refers to our CheckIn ID.
|
|
201
|
+
id: string;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
export interface AmazonJWOOrderingRequestDTO {
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
205
|
+
// Contains a UUID for each checkout request. Amazon generates this UUID for each request. If Amazon has to send the same request more than once, the requestId will be different for each request. Compare the requestId to the idempotentShoppingTripId field, which remains the same throughout the shopping trip.
|
|
206
|
+
requestId: string;
|
|
207
|
+
// Contains a Universally Unique ID (UUID) for the current shopping trip. Amazon generates this UUID for each shopping trip
|
|
208
|
+
idempotentShoppingTripId: string;
|
|
209
|
+
// The storeId field contains a unique identifier for your store on AWS system
|
|
210
|
+
storeId: string;
|
|
211
|
+
shoppingTrip: ShoppingTrip;
|
|
212
|
+
cartItems: CartItemDTO[];
|
|
213
|
+
shopperIdentity: ShopperIdentity;
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export interface AmazonJWOOrderingResponseDTO {
|
|
217
|
-
|
|
217
|
+
purchaseId: string;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
// GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
|
|
221
221
|
|
|
222
222
|
export interface GetFrictionlessBrandFrictionlessStatusPath {
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
// Brand ID as Encoded CDL ID
|
|
224
|
+
id_brand: string;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
export interface GetFrictionlessBrandFrictionlessStatusQuery {
|
|
228
|
-
|
|
229
|
-
|
|
228
|
+
// Graphql query string
|
|
229
|
+
_query?: string;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
export type GetFrictionlessBrandFrictionlessStatusResponse = FrictionlessSupportResponseDTO;
|
|
233
233
|
|
|
234
234
|
export interface GetFrictionlessBrandFrictionlessStatusRequest
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
235
|
+
extends BaseRequest,
|
|
236
|
+
RequestQuery<GetFrictionlessBrandFrictionlessStatusQuery>,
|
|
237
|
+
GetFrictionlessBrandFrictionlessStatusPath {}
|
|
238
238
|
|
|
239
239
|
// POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
|
|
240
240
|
|
|
@@ -243,92 +243,92 @@ export type PostFrictionlessQrCodeBody = CreateFrictionlessQRCodeCommandDTO;
|
|
|
243
243
|
export type PostFrictionlessQrCodeResponse = QRCodeCreationResponseDTO;
|
|
244
244
|
|
|
245
245
|
export interface PostFrictionlessQrCodeRequest extends BaseRequest {
|
|
246
|
-
|
|
246
|
+
body: PostFrictionlessQrCodeBody;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
// GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn Status
|
|
250
250
|
|
|
251
251
|
export interface GetFrictionlessCheckinStatusPath {
|
|
252
|
-
|
|
252
|
+
id_checkin: string;
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
export interface GetFrictionlessCheckinStatusQuery {
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
// Graphql query string
|
|
257
|
+
_query?: string;
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
export type GetFrictionlessCheckinStatusResponse = GetCheckInStatusResponseDTO;
|
|
261
261
|
|
|
262
262
|
export interface GetFrictionlessCheckinStatusRequest
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
263
|
+
extends BaseRequest,
|
|
264
|
+
RequestQuery<GetFrictionlessCheckinStatusQuery>,
|
|
265
|
+
GetFrictionlessCheckinStatusPath {}
|
|
266
266
|
|
|
267
267
|
// GET /frictionless/checkin/{id_checkin} - Fetch CheckIn
|
|
268
268
|
|
|
269
269
|
export interface GetFrictionlessCheckinPath {
|
|
270
|
-
|
|
270
|
+
id_checkin: string;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
export interface GetFrictionlessCheckinQuery {
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
// Graphql query string
|
|
275
|
+
_query?: string;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
export type GetFrictionlessCheckinResponse = GetCheckinResponseDTO;
|
|
279
279
|
|
|
280
280
|
export interface GetFrictionlessCheckinRequest
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
extends BaseRequest,
|
|
282
|
+
RequestQuery<GetFrictionlessCheckinQuery>,
|
|
283
|
+
GetFrictionlessCheckinPath {}
|
|
284
284
|
|
|
285
285
|
// GET /frictionless/users/{user_id}/checkins/payment-issues - List check-ins with update payment required per user
|
|
286
286
|
|
|
287
287
|
export interface GetFrictionlessUsersPaymentIssuesPath {
|
|
288
|
-
|
|
288
|
+
user_id: string;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
export interface GetFrictionlessUsersPaymentIssuesQuery {
|
|
292
|
-
|
|
293
|
-
|
|
292
|
+
// Graphql query string
|
|
293
|
+
_query?: string;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
export type GetFrictionlessUsersPaymentIssuesResponse = CheckInPaymentRequiredDTO[];
|
|
297
297
|
|
|
298
298
|
export interface GetFrictionlessUsersPaymentIssuesRequest
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
extends BaseRequest,
|
|
300
|
+
RequestQuery<GetFrictionlessUsersPaymentIssuesQuery>,
|
|
301
|
+
GetFrictionlessUsersPaymentIssuesPath {}
|
|
302
302
|
|
|
303
303
|
// GET /frictionless/failed-checkins - List check-ins on error
|
|
304
304
|
|
|
305
305
|
export interface GetFrictionlessFailedCheckinsQuery {
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
// Graphql query string
|
|
307
|
+
_query?: string;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
export type GetFrictionlessFailedCheckinsResponse = FailedCheckInDTO[];
|
|
311
311
|
|
|
312
312
|
export interface GetFrictionlessFailedCheckinsRequest
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
extends BaseRequest,
|
|
314
|
+
RequestQuery<GetFrictionlessFailedCheckinsQuery> {}
|
|
315
315
|
|
|
316
316
|
// POST /frictionless/checkins/{id_checkin}/reprocess - Reprocess checkin on error
|
|
317
317
|
|
|
318
318
|
export interface PostFrictionlessCheckinsReprocessPath {
|
|
319
|
-
|
|
319
|
+
id_checkin: string;
|
|
320
320
|
}
|
|
321
321
|
|
|
322
322
|
export type PostFrictionlessCheckinsReprocessResponse = {};
|
|
323
323
|
|
|
324
324
|
export interface PostFrictionlessCheckinsReprocessRequest
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
extends BaseRequest,
|
|
326
|
+
PostFrictionlessCheckinsReprocessPath {}
|
|
327
327
|
|
|
328
328
|
// POST /frictionless/checkins/{checkin_id}/reprocess-payment - Update payment at checkin and trigger reprocessing
|
|
329
329
|
|
|
330
330
|
export interface PostFrictionlessCheckinReprocessPaymentPath {
|
|
331
|
-
|
|
331
|
+
checkin_id: string;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
export type PostFrictionlessCheckinReprocessPaymentBody = PaymentMethodDTO;
|
|
@@ -336,22 +336,22 @@ export type PostFrictionlessCheckinReprocessPaymentBody = PaymentMethodDTO;
|
|
|
336
336
|
export type PostFrictionlessCheckinReprocessPaymentResponse = {};
|
|
337
337
|
|
|
338
338
|
export interface PostFrictionlessCheckinReprocessPaymentRequest
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
339
|
+
extends BaseRequest,
|
|
340
|
+
PostFrictionlessCheckinReprocessPaymentPath {
|
|
341
|
+
body: PostFrictionlessCheckinReprocessPaymentBody;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
344
|
// POST /frictionless/amazon-jwo-connector/v1/identity/identity-keys - Amazon JWO Identity Key Connector
|
|
345
345
|
|
|
346
346
|
export type PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody =
|
|
347
|
-
|
|
347
|
+
AmazonJWOIdentityKeysRequestDTO;
|
|
348
348
|
|
|
349
349
|
export type PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse =
|
|
350
|
-
|
|
350
|
+
AmazonJWOIdentityKeysResponseDTO;
|
|
351
351
|
|
|
352
352
|
export interface PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysRequest
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
extends BaseRequest {
|
|
354
|
+
body: PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
// POST /frictionless/amazon-jwo-connector/v1/order/purchases - Amazon JWO Ordering Connector
|
|
@@ -359,8 +359,8 @@ export interface PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysRequest
|
|
|
359
359
|
export type PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody = AmazonJWOOrderingRequestDTO;
|
|
360
360
|
|
|
361
361
|
export type PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse =
|
|
362
|
-
|
|
362
|
+
AmazonJWOOrderingResponseDTO;
|
|
363
363
|
|
|
364
364
|
export interface PostFrictionlessAmazonJwoConnectorV1OrderPurchasesRequest extends BaseRequest {
|
|
365
|
-
|
|
365
|
+
body: PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody;
|
|
366
366
|
}
|