@compassdigital/sdk.typescript 3.77.0 → 4.0.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 +103 -81
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +90 -63
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +50 -0
- package/lib/interface/ai.d.ts.map +1 -0
- package/lib/interface/ai.js +5 -0
- package/lib/interface/ai.js.map +1 -0
- package/lib/interface/calendar.d.ts +1 -1
- package/lib/interface/datalake.d.ts +3 -3
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/delivery.d.ts +2 -2
- package/lib/interface/delivery.d.ts.map +1 -1
- package/lib/interface/file.d.ts +1 -1
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +24 -24
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/location.d.ts +23 -14
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/location.js +12 -0
- package/lib/interface/location.js.map +1 -1
- package/lib/interface/mealplan.d.ts +6 -5
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +585 -492
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/menu.js +6 -0
- package/lib/interface/menu.js.map +1 -1
- package/lib/interface/notification.d.ts +2 -2
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +6 -6
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +11 -6
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/partner.js +6 -0
- package/lib/interface/partner.js.map +1 -1
- package/lib/interface/payment.d.ts +4 -4
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/payment.js +1 -1
- package/lib/interface/payment.js.map +1 -1
- package/lib/interface/promo.d.ts +13 -6
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/promo.js +8 -0
- package/lib/interface/promo.js.map +1 -1
- package/lib/interface/report.d.ts +8 -8
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +14 -9
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/shoppingcart.js +5 -0
- package/lib/interface/shoppingcart.js.map +1 -1
- package/lib/interface/task.d.ts +14 -14
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -21
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +5 -5
- package/lib/interface/vendor.d.ts.map +1 -1
- package/manifest.json +4 -0
- package/package.json +2 -2
- package/src/index.ts +248 -193
- package/src/interface/ai.ts +72 -0
- package/src/interface/announcement.ts +1 -1
- package/src/interface/calendar.ts +1 -1
- package/src/interface/datalake.ts +5 -3
- package/src/interface/delivery.ts +15 -2
- package/src/interface/file.ts +1 -1
- package/src/interface/frictionless.ts +30 -36
- package/src/interface/location.ts +28 -20
- package/src/interface/mealplan.ts +8 -6
- package/src/interface/menu.ts +671 -574
- package/src/interface/notification.ts +2 -2
- package/src/interface/order.ts +23 -12
- package/src/interface/partner.ts +10 -6
- package/src/interface/payment.ts +5 -5
- package/src/interface/promo.ts +12 -6
- package/src/interface/report.ts +8 -8
- package/src/interface/shoppingcart.ts +14 -9
- package/src/interface/task.ts +26 -14
- package/src/interface/user.ts +21 -27
- package/src/interface/vendor.ts +5 -5
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
|
|
3
|
+
|
|
4
|
+
import { RequestQuery, BaseRequest } from "./util";
|
|
5
|
+
|
|
6
|
+
export interface OptionsDTO {
|
|
7
|
+
temperature?: number;
|
|
8
|
+
max_tokens?: number;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface MessageDTO {
|
|
12
|
+
actor: string;
|
|
13
|
+
content: string;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface GenerateTextRequest {
|
|
17
|
+
options?: OptionsDTO;
|
|
18
|
+
messages: MessageDTO[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface GenerateTextResponse {
|
|
22
|
+
messages: MessageDTO[];
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export interface BadRequestErrorDTO {
|
|
26
|
+
message: string;
|
|
27
|
+
code: number;
|
|
28
|
+
data: any;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface UnauthorizedErrorDTO {
|
|
32
|
+
message: string;
|
|
33
|
+
code: number;
|
|
34
|
+
data: any;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type InternalServerErrorException = any;
|
|
38
|
+
|
|
39
|
+
export interface GenerateImageRequest {
|
|
40
|
+
prompt: string;
|
|
41
|
+
number_of_images?: number;
|
|
42
|
+
negative_prompt?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export interface ImageDTO {
|
|
46
|
+
data: string;
|
|
47
|
+
mime_type: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export interface GenerateImageResponse {
|
|
51
|
+
images: ImageDTO[];
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// POST /ai/language/generate - Generate text from a given prompt
|
|
55
|
+
|
|
56
|
+
export type PostAiLanguageGenerateBody = GenerateTextRequest;
|
|
57
|
+
|
|
58
|
+
export type PostAiLanguageGenerateResponse = GenerateTextResponse;
|
|
59
|
+
|
|
60
|
+
export interface PostAiLanguageGenerateRequest extends BaseRequest {
|
|
61
|
+
body: PostAiLanguageGenerateBody;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// POST /ai/image/generate - Generate image from a given prompt
|
|
65
|
+
|
|
66
|
+
export type PostAiImageGenerateBody = GenerateImageRequest;
|
|
67
|
+
|
|
68
|
+
export type PostAiImageGenerateResponse = GenerateImageResponse;
|
|
69
|
+
|
|
70
|
+
export interface PostAiImageGenerateRequest extends BaseRequest {
|
|
71
|
+
body: PostAiImageGenerateBody;
|
|
72
|
+
}
|
|
@@ -62,7 +62,7 @@ export interface PostAnnouncementRequest extends BaseRequest {
|
|
|
62
62
|
// GET /announcement/resource/{id} - Get Announcements
|
|
63
63
|
|
|
64
64
|
export interface GetAnnouncementResourcePath {
|
|
65
|
-
// Id of the entity to which announcement is specifically related
|
|
65
|
+
// Id of the entity to which announcement is specifically related.
|
|
66
66
|
id: string;
|
|
67
67
|
}
|
|
68
68
|
|
|
@@ -117,7 +117,7 @@ export interface GetCalendarCdlPath {
|
|
|
117
117
|
|
|
118
118
|
export interface GetCalendarCdlQuery {
|
|
119
119
|
// Start date in ms to get 7 day calendar from. Defaults now.
|
|
120
|
-
start_date?:
|
|
120
|
+
start_date?: string;
|
|
121
121
|
// Graphql query string
|
|
122
122
|
_query?: string;
|
|
123
123
|
}
|
|
@@ -29,11 +29,13 @@ export interface PostDatalakeSqlRequest extends BaseRequest {
|
|
|
29
29
|
|
|
30
30
|
// GET /swagger.json
|
|
31
31
|
|
|
32
|
-
export interface
|
|
32
|
+
export interface GetDatalakeSwaggerQuery {
|
|
33
33
|
// Graphql query string
|
|
34
34
|
_query?: string;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export type
|
|
37
|
+
export type GetDatalakeSwaggerResponse = any;
|
|
38
38
|
|
|
39
|
-
export interface
|
|
39
|
+
export interface GetDatalakeSwaggerRequest
|
|
40
|
+
extends BaseRequest,
|
|
41
|
+
RequestQuery<GetDatalakeSwaggerQuery> {}
|
|
@@ -57,13 +57,26 @@ export interface Delivery {
|
|
|
57
57
|
};
|
|
58
58
|
customer?: string;
|
|
59
59
|
loading_code?: string;
|
|
60
|
-
state?:
|
|
60
|
+
state?:
|
|
61
|
+
| "RESERVED"
|
|
62
|
+
| "CONFIRMED"
|
|
63
|
+
| "ENROUTE_LOADING_AREA"
|
|
64
|
+
| "ARRIVING_LOADING_AREA"
|
|
65
|
+
| "WAITING_LOADING"
|
|
66
|
+
| "LOADING"
|
|
67
|
+
| "ENROUTE_CUSTOMER"
|
|
68
|
+
| "ARRIVING_CUSTOMER"
|
|
69
|
+
| "WAITING_CUSTOMER"
|
|
70
|
+
| "UNLOADING"
|
|
71
|
+
| "COMPLETED"
|
|
72
|
+
| "CANCELLED"
|
|
73
|
+
| "CUSTOMER_NO_SHOW";
|
|
61
74
|
state_reason?: string;
|
|
62
75
|
tracker_url?: string;
|
|
63
76
|
}
|
|
64
77
|
|
|
65
78
|
export interface Available {
|
|
66
|
-
deliverable:
|
|
79
|
+
deliverable: true;
|
|
67
80
|
}
|
|
68
81
|
|
|
69
82
|
export interface PostAvailabilityBody {
|
package/src/interface/file.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface PostFileBody {
|
|
|
21
21
|
// If not specified, random name+timestamp will be generated, otherwise filename+timestamp format is used
|
|
22
22
|
file_name?: string;
|
|
23
23
|
// Set custom bucket to save in. Defaults to images.compassdigital.org
|
|
24
|
-
bucket_name?:
|
|
24
|
+
bucket_name?: "images.compassdigital.org" | "assets.compassdigital.org";
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export type PostFileResponse = File;
|
|
@@ -13,7 +13,7 @@ export interface StandardCognitionEvent {
|
|
|
13
13
|
|
|
14
14
|
export interface FrictionlessSupportResponse {
|
|
15
15
|
supported: boolean;
|
|
16
|
-
version?:
|
|
16
|
+
version?: "NFC" | "QR";
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export interface ForbiddenErrorDTO {
|
|
@@ -67,95 +67,89 @@ export interface FailedCheckInDTO {
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
export interface CheckCheckInStatusResponseDTO {
|
|
70
|
-
status:
|
|
70
|
+
status: "CREATING" | "ACTIVE" | "ERROR" | "CANCELED" | "PROCESSING" | "COMPLETED";
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
// POST /frictionless/webhook/standardcognition - Receive frictionless standard cognition events
|
|
74
74
|
|
|
75
|
-
export type
|
|
76
|
-
StandardCognitionEvent;
|
|
75
|
+
export type StandardCognitionEventWebhookControllerExecuteBody = StandardCognitionEvent;
|
|
77
76
|
|
|
78
|
-
export type
|
|
77
|
+
export type StandardCognitionEventWebhookControllerExecuteResponse = {};
|
|
79
78
|
|
|
80
|
-
export interface
|
|
81
|
-
|
|
82
|
-
body: PostFrictionlessStandardCognitionEventWebhookControllerExecuteBody;
|
|
79
|
+
export interface StandardCognitionEventWebhookControllerExecuteRequest extends BaseRequest {
|
|
80
|
+
body: StandardCognitionEventWebhookControllerExecuteBody;
|
|
83
81
|
}
|
|
84
82
|
|
|
85
83
|
// GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
|
|
86
84
|
|
|
87
|
-
export interface
|
|
85
|
+
export interface CheckFrictionlessSupportControllerExecutePath {
|
|
88
86
|
// Brand ID as Encoded CDL ID
|
|
89
87
|
id_brand: string;
|
|
90
88
|
}
|
|
91
89
|
|
|
92
|
-
export interface
|
|
90
|
+
export interface CheckFrictionlessSupportControllerExecuteQuery {
|
|
93
91
|
// Graphql query string
|
|
94
92
|
_query?: string;
|
|
95
93
|
}
|
|
96
94
|
|
|
97
|
-
export type
|
|
98
|
-
FrictionlessSupportResponse;
|
|
95
|
+
export type CheckFrictionlessSupportControllerExecuteResponse = FrictionlessSupportResponse;
|
|
99
96
|
|
|
100
|
-
export interface
|
|
97
|
+
export interface CheckFrictionlessSupportControllerExecuteRequest
|
|
101
98
|
extends BaseRequest,
|
|
102
|
-
RequestQuery<
|
|
103
|
-
|
|
99
|
+
RequestQuery<CheckFrictionlessSupportControllerExecuteQuery>,
|
|
100
|
+
CheckFrictionlessSupportControllerExecutePath {}
|
|
104
101
|
|
|
105
102
|
// POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
|
|
106
103
|
|
|
107
|
-
export type
|
|
108
|
-
CreateFrictionlessQRCodeCommand;
|
|
104
|
+
export type CreateQRCodeUserCheckInControllerExecuteBody = CreateFrictionlessQRCodeCommand;
|
|
109
105
|
|
|
110
|
-
export type
|
|
106
|
+
export type CreateQRCodeUserCheckInControllerExecuteResponse = {};
|
|
111
107
|
|
|
112
|
-
export interface
|
|
113
|
-
|
|
114
|
-
body: PostFrictionlessCreateQRCodeUserCheckInControllerExecuteBody;
|
|
108
|
+
export interface CreateQRCodeUserCheckInControllerExecuteRequest extends BaseRequest {
|
|
109
|
+
body: CreateQRCodeUserCheckInControllerExecuteBody;
|
|
115
110
|
}
|
|
116
111
|
|
|
117
112
|
// GET /frictionless/failed-checkins - List check-ins on error
|
|
118
113
|
|
|
119
|
-
export interface
|
|
114
|
+
export interface ListFailedCheckinsControllerExecuteQuery {
|
|
120
115
|
// Graphql query string
|
|
121
116
|
_query?: string;
|
|
122
117
|
}
|
|
123
118
|
|
|
124
|
-
export type
|
|
119
|
+
export type ListFailedCheckinsControllerExecuteResponse = FailedCheckInDTO[];
|
|
125
120
|
|
|
126
|
-
export interface
|
|
121
|
+
export interface ListFailedCheckinsControllerExecuteRequest
|
|
127
122
|
extends BaseRequest,
|
|
128
|
-
RequestQuery<
|
|
123
|
+
RequestQuery<ListFailedCheckinsControllerExecuteQuery> {}
|
|
129
124
|
|
|
130
125
|
// POST /frictionless/checkin/{id_checkin}/reprocess - Reprocess checkin on error
|
|
131
126
|
|
|
132
|
-
export interface
|
|
127
|
+
export interface ReprocessCheckinOnErrorControllerExecutePath {
|
|
133
128
|
// TODO: add parameter to swagger.json
|
|
134
129
|
id_checkin: string;
|
|
135
130
|
}
|
|
136
131
|
|
|
137
|
-
export type
|
|
132
|
+
export type ReprocessCheckinOnErrorControllerExecuteResponse = {};
|
|
138
133
|
|
|
139
|
-
export interface
|
|
134
|
+
export interface ReprocessCheckinOnErrorControllerExecuteRequest
|
|
140
135
|
extends BaseRequest,
|
|
141
|
-
|
|
136
|
+
ReprocessCheckinOnErrorControllerExecutePath {}
|
|
142
137
|
|
|
143
138
|
// GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn status
|
|
144
139
|
|
|
145
|
-
export interface
|
|
140
|
+
export interface CheckCheckinStatusControllerExecutePath {
|
|
146
141
|
// TODO: add parameter to swagger.json
|
|
147
142
|
id_checkin: string;
|
|
148
143
|
}
|
|
149
144
|
|
|
150
|
-
export interface
|
|
145
|
+
export interface CheckCheckinStatusControllerExecuteQuery {
|
|
151
146
|
// Graphql query string
|
|
152
147
|
_query?: string;
|
|
153
148
|
}
|
|
154
149
|
|
|
155
|
-
export type
|
|
156
|
-
CheckCheckInStatusResponseDTO;
|
|
150
|
+
export type CheckCheckinStatusControllerExecuteResponse = CheckCheckInStatusResponseDTO;
|
|
157
151
|
|
|
158
|
-
export interface
|
|
152
|
+
export interface CheckCheckinStatusControllerExecuteRequest
|
|
159
153
|
extends BaseRequest,
|
|
160
|
-
RequestQuery<
|
|
161
|
-
|
|
154
|
+
RequestQuery<CheckCheckinStatusControllerExecuteQuery>,
|
|
155
|
+
CheckCheckinStatusControllerExecutePath {}
|
|
@@ -416,7 +416,11 @@ export interface BadRequest {
|
|
|
416
416
|
error?: string;
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
|
|
419
|
+
enum PartnerStatus {
|
|
420
|
+
AWAIT_PARTNER = "await_partner",
|
|
421
|
+
AWAIT_SCOUT = "await_scout",
|
|
422
|
+
COMPLETED = "completed",
|
|
423
|
+
}
|
|
420
424
|
|
|
421
425
|
export interface WaitTime {
|
|
422
426
|
// maxium wait time to the next time slot in minutes
|
|
@@ -427,7 +431,11 @@ export interface WaitTime {
|
|
|
427
431
|
ready_time: number;
|
|
428
432
|
}
|
|
429
433
|
|
|
430
|
-
|
|
434
|
+
enum BrandOrMenuState {
|
|
435
|
+
OPEN = "open",
|
|
436
|
+
CLOSED = "closed",
|
|
437
|
+
PREORDER = "preorder",
|
|
438
|
+
}
|
|
431
439
|
|
|
432
440
|
export interface MenuAssociations {
|
|
433
441
|
menu_associations?: MenuAssociation[];
|
|
@@ -470,9 +478,9 @@ export interface GetLocationsRequest extends BaseRequest, RequestQuery<GetLocati
|
|
|
470
478
|
// GET /location/search - Gets Location within a radius of the provided point
|
|
471
479
|
|
|
472
480
|
export interface GetLocationSearchQuery {
|
|
473
|
-
|
|
481
|
+
//@deprecated
|
|
474
482
|
lat?: number;
|
|
475
|
-
|
|
483
|
+
//@deprecated
|
|
476
484
|
long?: number;
|
|
477
485
|
// Operation id to be used
|
|
478
486
|
operation_id?: number;
|
|
@@ -1285,13 +1293,13 @@ export interface GetLocationV2GroupsQuery {
|
|
|
1285
1293
|
// Filter groups by multigroup id. Should be like an array of string
|
|
1286
1294
|
id_multigroups?: string;
|
|
1287
1295
|
// The number of items per page to return
|
|
1288
|
-
limit?:
|
|
1296
|
+
limit?: string;
|
|
1289
1297
|
// ASC or DESC
|
|
1290
|
-
sortOrder?:
|
|
1298
|
+
sortOrder?: "ASC" | "DESC";
|
|
1291
1299
|
// The page number to return
|
|
1292
|
-
page?:
|
|
1300
|
+
page?: string;
|
|
1293
1301
|
// Expand group results with children locations and brands
|
|
1294
|
-
expanded?:
|
|
1302
|
+
expanded?: string;
|
|
1295
1303
|
// Filter groups by given string
|
|
1296
1304
|
filter?: string;
|
|
1297
1305
|
// Graphql query string
|
|
@@ -1318,38 +1326,38 @@ export interface GetLocationV2GroupsRequest
|
|
|
1318
1326
|
|
|
1319
1327
|
// GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
1320
1328
|
|
|
1321
|
-
export interface
|
|
1329
|
+
export interface GetLocationMenuAssociationBrandPath {
|
|
1322
1330
|
// brand id
|
|
1323
1331
|
id: string;
|
|
1324
1332
|
}
|
|
1325
1333
|
|
|
1326
|
-
export interface
|
|
1334
|
+
export interface GetLocationMenuAssociationBrandQuery {
|
|
1327
1335
|
// Graphql query string
|
|
1328
1336
|
_query?: string;
|
|
1329
1337
|
}
|
|
1330
1338
|
|
|
1331
|
-
export type
|
|
1339
|
+
export type GetLocationMenuAssociationBrandResponse = MenuAssociations;
|
|
1332
1340
|
|
|
1333
|
-
export interface
|
|
1341
|
+
export interface GetLocationMenuAssociationBrandRequest
|
|
1334
1342
|
extends BaseRequest,
|
|
1335
|
-
RequestQuery<
|
|
1336
|
-
|
|
1343
|
+
RequestQuery<GetLocationMenuAssociationBrandQuery>,
|
|
1344
|
+
GetLocationMenuAssociationBrandPath {}
|
|
1337
1345
|
|
|
1338
1346
|
// GET /location/menu_association/{id}/menu - Get menu association for a brand
|
|
1339
1347
|
|
|
1340
|
-
export interface
|
|
1348
|
+
export interface GetLocationMenuAssociationMenuPath {
|
|
1341
1349
|
// menu id
|
|
1342
1350
|
id: string;
|
|
1343
1351
|
}
|
|
1344
1352
|
|
|
1345
|
-
export interface
|
|
1353
|
+
export interface GetLocationMenuAssociationMenuQuery {
|
|
1346
1354
|
// Graphql query string
|
|
1347
1355
|
_query?: string;
|
|
1348
1356
|
}
|
|
1349
1357
|
|
|
1350
|
-
export type
|
|
1358
|
+
export type GetLocationMenuAssociationMenuResponse = MenuAssociations;
|
|
1351
1359
|
|
|
1352
|
-
export interface
|
|
1360
|
+
export interface GetLocationMenuAssociationMenuRequest
|
|
1353
1361
|
extends BaseRequest,
|
|
1354
|
-
RequestQuery<
|
|
1355
|
-
|
|
1362
|
+
RequestQuery<GetLocationMenuAssociationMenuQuery>,
|
|
1363
|
+
GetLocationMenuAssociationMenuPath {}
|
|
@@ -19,12 +19,14 @@ export interface Tender {
|
|
|
19
19
|
balance?: number;
|
|
20
20
|
amount?: number;
|
|
21
21
|
type?: string;
|
|
22
|
-
is?:
|
|
23
|
-
validated?: boolean;
|
|
24
|
-
};
|
|
22
|
+
is?: TenderIs;
|
|
25
23
|
currency?: string;
|
|
26
24
|
}
|
|
27
25
|
|
|
26
|
+
export interface TenderIs {
|
|
27
|
+
validated?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
28
30
|
export interface TendersAndAuth {
|
|
29
31
|
tenders?: Tender[];
|
|
30
32
|
auth?: {
|
|
@@ -198,7 +200,7 @@ export interface DeleteMealplanTenderResponse {
|
|
|
198
200
|
id?: string;
|
|
199
201
|
name?: string;
|
|
200
202
|
balance?: number;
|
|
201
|
-
is?:
|
|
203
|
+
is?: TenderIs;
|
|
202
204
|
transaction_id?: string;
|
|
203
205
|
tender_id?: number;
|
|
204
206
|
currency?: string;
|
|
@@ -272,7 +274,7 @@ export interface PutMealplanVerifyRequest extends BaseRequest, PutMealplanVerify
|
|
|
272
274
|
// POST /mealplan/{id}/authorize - Authorize Transaction
|
|
273
275
|
|
|
274
276
|
export interface PostMealplanAuthorizePath {
|
|
275
|
-
//
|
|
277
|
+
// Meal plan ID
|
|
276
278
|
id: string;
|
|
277
279
|
}
|
|
278
280
|
|
|
@@ -288,7 +290,7 @@ export interface PostMealplanAuthorizeResponse {
|
|
|
288
290
|
id?: string;
|
|
289
291
|
name?: string;
|
|
290
292
|
balance?: number;
|
|
291
|
-
is?:
|
|
293
|
+
is?: TenderIs;
|
|
292
294
|
transaction_id?: string;
|
|
293
295
|
currency?: string;
|
|
294
296
|
}
|