@compassdigital/sdk.typescript 4.965.0 → 4.967.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 +46 -33
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +17 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +19 -2
- package/lib/interface/config.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/location.d.ts +2 -2
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +3 -3
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/order.d.ts +1 -1
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +15 -15
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +1 -1
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/user.d.ts +2 -2
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/messages/events/OrderCreatedEvent.d.ts +1 -1
- package/lib/messages/events/OrderCreatedEvent.d.ts.map +1 -1
- package/lib/messages/events/OrderIssueCreatedEvent.d.ts +1 -1
- package/lib/messages/events/OrderIssueCreatedEvent.d.ts.map +1 -1
- package/lib/messages/events/OrderRefundCreatedEvent.d.ts +1 -1
- package/lib/messages/events/OrderRefundCreatedEvent.d.ts.map +1 -1
- package/lib/messages/events/OrderRefundDeniedEvent.d.ts +1 -1
- package/lib/messages/events/OrderRefundDeniedEvent.d.ts.map +1 -1
- package/lib/messages/events/OrderUpdatedEvent.d.ts +1 -1
- package/lib/messages/events/OrderUpdatedEvent.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +71 -32
- package/src/interface/config.ts +31 -2
- package/src/interface/file.ts +2 -2
- package/src/interface/location.ts +2 -2
- package/src/interface/mealplan.ts +3 -3
- package/src/interface/order.ts +1 -1
- package/src/interface/payment.ts +15 -15
- package/src/interface/shoppingcart.ts +1 -1
- package/src/interface/user.ts +2 -2
- package/src/messages/events/OrderCreatedEvent.ts +1 -1
- package/src/messages/events/OrderIssueCreatedEvent.ts +1 -1
- package/src/messages/events/OrderRefundCreatedEvent.ts +1 -1
- package/src/messages/events/OrderRefundDeniedEvent.ts +1 -1
- package/src/messages/events/OrderUpdatedEvent.ts +1 -1
package/src/index.ts
CHANGED
|
@@ -378,6 +378,9 @@ import {
|
|
|
378
378
|
|
|
379
379
|
import {
|
|
380
380
|
GetConfigAppconfigResponse,
|
|
381
|
+
GetConfigAppconfigsResponse,
|
|
382
|
+
PatchConfigAppconfigsBody,
|
|
383
|
+
PatchConfigAppconfigsResponse,
|
|
381
384
|
GetConfigAppClientsResponse,
|
|
382
385
|
PutConfigAppClientsBody,
|
|
383
386
|
PutConfigAppClientsResponse,
|
|
@@ -1777,7 +1780,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1777
1780
|
*/
|
|
1778
1781
|
post_payment_transaction(
|
|
1779
1782
|
id: string,
|
|
1780
|
-
body
|
|
1783
|
+
body?: PostPaymentTransactionBody,
|
|
1781
1784
|
options?: RequestOptions,
|
|
1782
1785
|
): ResponsePromise<PostPaymentTransactionResponse> {
|
|
1783
1786
|
return this.request(
|
|
@@ -1799,7 +1802,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1799
1802
|
*/
|
|
1800
1803
|
post_payment_transaction_auth(
|
|
1801
1804
|
id: string,
|
|
1802
|
-
body
|
|
1805
|
+
body?: PostPaymentTransactionAuthBody,
|
|
1803
1806
|
options?: RequestOptions,
|
|
1804
1807
|
): ResponsePromise<PostPaymentTransactionAuthResponse> {
|
|
1805
1808
|
return this.request(
|
|
@@ -1823,7 +1826,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1823
1826
|
post_payment_transaction_refund(
|
|
1824
1827
|
id: string,
|
|
1825
1828
|
transaction_id: string,
|
|
1826
|
-
body
|
|
1829
|
+
body?: PostPaymentTransactionRefundBody,
|
|
1827
1830
|
options?: RequestOptions,
|
|
1828
1831
|
): ResponsePromise<PostPaymentTransactionRefundResponse> {
|
|
1829
1832
|
return this.request(
|
|
@@ -1845,7 +1848,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1845
1848
|
*/
|
|
1846
1849
|
post_payment_transaction_capture(
|
|
1847
1850
|
id: string,
|
|
1848
|
-
body
|
|
1851
|
+
body?: PostPaymentTransactionCaptureBody,
|
|
1849
1852
|
options?: RequestOptions,
|
|
1850
1853
|
): ResponsePromise<PostPaymentTransactionCaptureResponse> {
|
|
1851
1854
|
return this.request(
|
|
@@ -1867,7 +1870,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1867
1870
|
*/
|
|
1868
1871
|
post_payment_transaction_void(
|
|
1869
1872
|
id: string,
|
|
1870
|
-
body
|
|
1873
|
+
body?: PostPaymentTransactionVoidBody,
|
|
1871
1874
|
options?: RequestOptions,
|
|
1872
1875
|
): ResponsePromise<PostPaymentTransactionVoidResponse> {
|
|
1873
1876
|
return this.request(
|
|
@@ -1911,7 +1914,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1911
1914
|
*/
|
|
1912
1915
|
post_payment_paymenttoken(
|
|
1913
1916
|
id: string,
|
|
1914
|
-
body
|
|
1917
|
+
body?: PostPaymentPaymenttokenBody,
|
|
1915
1918
|
options?: RequestOptions,
|
|
1916
1919
|
): ResponsePromise<PostPaymentPaymenttokenResponse> {
|
|
1917
1920
|
return this.request(
|
|
@@ -1931,7 +1934,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1931
1934
|
* @param options - additional request options
|
|
1932
1935
|
*/
|
|
1933
1936
|
post_payment_consumer(
|
|
1934
|
-
body
|
|
1937
|
+
body?: PostPaymentConsumerBody,
|
|
1935
1938
|
options?: RequestOptions,
|
|
1936
1939
|
): ResponsePromise<PostPaymentConsumerResponse> {
|
|
1937
1940
|
return this.request(
|
|
@@ -1951,7 +1954,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1951
1954
|
* @param options - additional request options
|
|
1952
1955
|
*/
|
|
1953
1956
|
post_payment_method(
|
|
1954
|
-
body
|
|
1957
|
+
body?: PostPaymentMethodBody,
|
|
1955
1958
|
options?: RequestOptions,
|
|
1956
1959
|
): ResponsePromise<PostPaymentMethodResponse> {
|
|
1957
1960
|
return this.request('payment', '/payment/method', 'POST', `/payment/method`, body, options);
|
|
@@ -1977,7 +1980,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1977
1980
|
* @param options - additional request options
|
|
1978
1981
|
*/
|
|
1979
1982
|
post_payment_token(
|
|
1980
|
-
body
|
|
1983
|
+
body?: PostPaymentTokenBody,
|
|
1981
1984
|
options?: RequestOptions,
|
|
1982
1985
|
): ResponsePromise<PostPaymentTokenResponse> {
|
|
1983
1986
|
return this.request('payment', '/payment/token', 'POST', `/payment/token`, body, options);
|
|
@@ -1990,7 +1993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
1990
1993
|
* @param options - additional request options
|
|
1991
1994
|
*/
|
|
1992
1995
|
put_payment_token(
|
|
1993
|
-
body
|
|
1996
|
+
body?: PutPaymentTokenBody,
|
|
1994
1997
|
options?: RequestOptions,
|
|
1995
1998
|
): ResponsePromise<PutPaymentTokenResponse> {
|
|
1996
1999
|
return this.request('payment', '/payment/token', 'PUT', `/payment/token`, body, options);
|
|
@@ -2003,7 +2006,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2003
2006
|
* @param options - additional request options
|
|
2004
2007
|
*/
|
|
2005
2008
|
delete_payment_token(
|
|
2006
|
-
body
|
|
2009
|
+
body?: DeletePaymentTokenBody,
|
|
2007
2010
|
options?: RequestOptions,
|
|
2008
2011
|
): ResponsePromise<DeletePaymentTokenResponse> {
|
|
2009
2012
|
return this.request('payment', '/payment/token', 'DELETE', `/payment/token`, body, options);
|
|
@@ -2071,7 +2074,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2071
2074
|
*/
|
|
2072
2075
|
post_payment_cashless(
|
|
2073
2076
|
id: string,
|
|
2074
|
-
body
|
|
2077
|
+
body?: PostPaymentCashlessBody,
|
|
2075
2078
|
options?: RequestOptions,
|
|
2076
2079
|
): ResponsePromise<PostPaymentCashlessResponse> {
|
|
2077
2080
|
return this.request(
|
|
@@ -2093,7 +2096,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2093
2096
|
*/
|
|
2094
2097
|
delete_payment_cashless(
|
|
2095
2098
|
id: string,
|
|
2096
|
-
body
|
|
2099
|
+
body?: DeletePaymentCashlessBody,
|
|
2097
2100
|
options?: RequestOptions,
|
|
2098
2101
|
): ResponsePromise<DeletePaymentCashlessResponse> {
|
|
2099
2102
|
return this.request(
|
|
@@ -2113,7 +2116,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2113
2116
|
* @param options - additional request options
|
|
2114
2117
|
*/
|
|
2115
2118
|
post_payment_configvalidate(
|
|
2116
|
-
body
|
|
2119
|
+
body?: PostPaymentConfigvalidateBody,
|
|
2117
2120
|
options?: RequestOptions,
|
|
2118
2121
|
): ResponsePromise<PostPaymentConfigvalidateResponse> {
|
|
2119
2122
|
return this.request(
|
|
@@ -2133,7 +2136,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2133
2136
|
* @param options - additional request options
|
|
2134
2137
|
*/
|
|
2135
2138
|
post_payment_validatemerchant(
|
|
2136
|
-
body
|
|
2139
|
+
body?: PostPaymentValidatemerchantBody,
|
|
2137
2140
|
options?: RequestOptions,
|
|
2138
2141
|
): ResponsePromise<PostPaymentValidatemerchantResponse> {
|
|
2139
2142
|
return this.request(
|
|
@@ -2251,7 +2254,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2251
2254
|
*/
|
|
2252
2255
|
post_order_issue(
|
|
2253
2256
|
id: string,
|
|
2254
|
-
body
|
|
2257
|
+
body?: PostOrderIssueBody,
|
|
2255
2258
|
options?: RequestOptions,
|
|
2256
2259
|
): ResponsePromise<PostOrderIssueResponse> {
|
|
2257
2260
|
return this.request(
|
|
@@ -2610,7 +2613,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2610
2613
|
*/
|
|
2611
2614
|
delete_location(
|
|
2612
2615
|
id: string,
|
|
2613
|
-
body
|
|
2616
|
+
body?: DeleteLocationBody,
|
|
2614
2617
|
options?: RequestOptions,
|
|
2615
2618
|
): ResponsePromise<DeleteLocationResponse> {
|
|
2616
2619
|
return this.request(
|
|
@@ -2824,7 +2827,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
2824
2827
|
*/
|
|
2825
2828
|
delete_location_group(
|
|
2826
2829
|
id: string,
|
|
2827
|
-
body
|
|
2830
|
+
body?: DeleteLocationGroupBody,
|
|
2828
2831
|
options?: RequestOptions,
|
|
2829
2832
|
): ResponsePromise<DeleteLocationGroupResponse> {
|
|
2830
2833
|
return this.request(
|
|
@@ -3990,7 +3993,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
3990
3993
|
*/
|
|
3991
3994
|
post_shoppingcart_clone_cart(
|
|
3992
3995
|
id: string,
|
|
3993
|
-
body
|
|
3996
|
+
body?: PostShoppingcartCloneCartBody,
|
|
3994
3997
|
options?: {
|
|
3995
3998
|
query?: PostShoppingcartCloneCartQuery;
|
|
3996
3999
|
} & RequestOptions,
|
|
@@ -4636,7 +4639,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4636
4639
|
*/
|
|
4637
4640
|
delete_mealplan(
|
|
4638
4641
|
id: string,
|
|
4639
|
-
body
|
|
4642
|
+
body?: DeleteMealplanBody,
|
|
4640
4643
|
options?: RequestOptions,
|
|
4641
4644
|
): ResponsePromise<DeleteMealplanResponse> {
|
|
4642
4645
|
return this.request(
|
|
@@ -4658,7 +4661,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4658
4661
|
*/
|
|
4659
4662
|
post_mealplan_callback(
|
|
4660
4663
|
id: string,
|
|
4661
|
-
body
|
|
4664
|
+
body?: PostMealplanCallbackBody,
|
|
4662
4665
|
options?: {
|
|
4663
4666
|
query?: PostMealplanCallbackQuery;
|
|
4664
4667
|
} & RequestOptions,
|
|
@@ -4818,7 +4821,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
4818
4821
|
*/
|
|
4819
4822
|
post_mealplan_authorize(
|
|
4820
4823
|
id: string,
|
|
4821
|
-
body
|
|
4824
|
+
body?: PostMealplanAuthorizeBody,
|
|
4822
4825
|
options?: RequestOptions,
|
|
4823
4826
|
): ResponsePromise<PostMealplanAuthorizeResponse> {
|
|
4824
4827
|
return this.request(
|
|
@@ -5371,6 +5374,42 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
5371
5374
|
);
|
|
5372
5375
|
}
|
|
5373
5376
|
|
|
5377
|
+
/**
|
|
5378
|
+
* GET /config/appconfigs - Get the minimum app versions and app store links for every platform and app
|
|
5379
|
+
*
|
|
5380
|
+
* @param options - additional request options
|
|
5381
|
+
*/
|
|
5382
|
+
get_config_appconfigs(options?: RequestOptions): ResponsePromise<GetConfigAppconfigsResponse> {
|
|
5383
|
+
return this.request(
|
|
5384
|
+
'config',
|
|
5385
|
+
'/config/appconfigs',
|
|
5386
|
+
'GET',
|
|
5387
|
+
`/config/appconfigs`,
|
|
5388
|
+
null,
|
|
5389
|
+
options,
|
|
5390
|
+
);
|
|
5391
|
+
}
|
|
5392
|
+
|
|
5393
|
+
/**
|
|
5394
|
+
* PATCH /config/appconfigs - Update the minimum app versions and app store links of the apps sent
|
|
5395
|
+
*
|
|
5396
|
+
* @param body
|
|
5397
|
+
* @param options - additional request options
|
|
5398
|
+
*/
|
|
5399
|
+
patch_config_appconfigs(
|
|
5400
|
+
body: PatchConfigAppconfigsBody,
|
|
5401
|
+
options?: RequestOptions,
|
|
5402
|
+
): ResponsePromise<PatchConfigAppconfigsResponse> {
|
|
5403
|
+
return this.request(
|
|
5404
|
+
'config',
|
|
5405
|
+
'/config/appconfigs',
|
|
5406
|
+
'PATCH',
|
|
5407
|
+
`/config/appconfigs`,
|
|
5408
|
+
body,
|
|
5409
|
+
options,
|
|
5410
|
+
);
|
|
5411
|
+
}
|
|
5412
|
+
|
|
5374
5413
|
/**
|
|
5375
5414
|
* GET /config/app-clients - Get the per-client exclusive access settings
|
|
5376
5415
|
*
|
|
@@ -6338,7 +6377,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6338
6377
|
* @param options - additional request options
|
|
6339
6378
|
*/
|
|
6340
6379
|
post_user_zendesk(
|
|
6341
|
-
body
|
|
6380
|
+
body?: PostUserZendeskBody,
|
|
6342
6381
|
options?: RequestOptions,
|
|
6343
6382
|
): ResponsePromise<PostUserZendeskResponse> {
|
|
6344
6383
|
return this.request('user', '/user/zendesk', 'POST', `/user/zendesk`, body, options);
|
|
@@ -6863,7 +6902,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
6863
6902
|
* @param options - additional request options
|
|
6864
6903
|
*/
|
|
6865
6904
|
post_user_embedurl(
|
|
6866
|
-
body
|
|
6905
|
+
body?: PostUserEmbedurlBody,
|
|
6867
6906
|
options?: RequestOptions,
|
|
6868
6907
|
): ResponsePromise<PostUserEmbedurlResponse> {
|
|
6869
6908
|
return this.request(
|
|
@@ -7065,7 +7104,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7065
7104
|
* @param body
|
|
7066
7105
|
* @param options - additional request options
|
|
7067
7106
|
*/
|
|
7068
|
-
post_file(body
|
|
7107
|
+
post_file(body?: PostFileBody, options?: RequestOptions): ResponsePromise<PostFileResponse> {
|
|
7069
7108
|
return this.request('file', '/file', 'POST', `/file`, body, options);
|
|
7070
7109
|
}
|
|
7071
7110
|
|
|
@@ -7076,7 +7115,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
7076
7115
|
* @param options - additional request options
|
|
7077
7116
|
*/
|
|
7078
7117
|
delete_file(
|
|
7079
|
-
body
|
|
7118
|
+
body?: DeleteFileBody,
|
|
7080
7119
|
options?: RequestOptions,
|
|
7081
7120
|
): ResponsePromise<DeleteFileResponse> {
|
|
7082
7121
|
return this.request('file', '/file', 'DELETE', `/file`, body, options);
|
|
@@ -15960,7 +15999,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
15960
15999
|
*/
|
|
15961
16000
|
post_consumer_customer_rewards(
|
|
15962
16001
|
id: string,
|
|
15963
|
-
body
|
|
16002
|
+
body?: PostConsumerCustomerRewardsBody,
|
|
15964
16003
|
options?: {
|
|
15965
16004
|
query?: PostConsumerCustomerRewardsQuery;
|
|
15966
16005
|
} & RequestOptions,
|
|
@@ -16811,7 +16850,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
16811
16850
|
*/
|
|
16812
16851
|
put_centricos_site_thrive_integration(
|
|
16813
16852
|
siteId: string,
|
|
16814
|
-
body
|
|
16853
|
+
body?: PutCentricosSiteThriveIntegrationBody,
|
|
16815
16854
|
options?: RequestOptions,
|
|
16816
16855
|
): ResponsePromise<PutCentricosSiteThriveIntegrationResponse> {
|
|
16817
16856
|
return this.request(
|
|
@@ -16833,7 +16872,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
16833
16872
|
*/
|
|
16834
16873
|
put_centricos_site_boost_integration(
|
|
16835
16874
|
siteId: string,
|
|
16836
|
-
body
|
|
16875
|
+
body?: PutCentricosSiteBoostIntegrationBody,
|
|
16837
16876
|
options?: RequestOptions,
|
|
16838
16877
|
): ResponsePromise<PutCentricosSiteBoostIntegrationResponse> {
|
|
16839
16878
|
return this.request(
|
|
@@ -16855,7 +16894,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
16855
16894
|
*/
|
|
16856
16895
|
put_centricos_site_agilysys_integration(
|
|
16857
16896
|
siteId: string,
|
|
16858
|
-
body
|
|
16897
|
+
body?: PutCentricosSiteAgilysysIntegrationBody,
|
|
16859
16898
|
options?: RequestOptions,
|
|
16860
16899
|
): ResponsePromise<PutCentricosSiteAgilysysIntegrationResponse> {
|
|
16861
16900
|
return this.request(
|
|
@@ -17028,7 +17067,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
17028
17067
|
put_centricos_station_integration(
|
|
17029
17068
|
station_id: string,
|
|
17030
17069
|
integration_type: string,
|
|
17031
|
-
body
|
|
17070
|
+
body?: PutCentricosStationIntegrationBody,
|
|
17032
17071
|
options?: RequestOptions,
|
|
17033
17072
|
): ResponsePromise<PutCentricosStationIntegrationResponse> {
|
|
17034
17073
|
return this.request(
|
|
@@ -18731,7 +18770,7 @@ export class ServiceClient extends BaseServiceClient {
|
|
|
18731
18770
|
*/
|
|
18732
18771
|
post_rewards(
|
|
18733
18772
|
id: string,
|
|
18734
|
-
body
|
|
18773
|
+
body?: PostRewardsBody,
|
|
18735
18774
|
options?: {
|
|
18736
18775
|
query?: PostRewardsQuery;
|
|
18737
18776
|
} & RequestOptions,
|
package/src/interface/config.ts
CHANGED
|
@@ -33,8 +33,21 @@ export interface Success {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
export interface AppConfig {
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
// The oldest version of the app a user may run, as `major.minor.patch` (e.g. `8.71.0`).
|
|
37
|
+
min: string;
|
|
38
|
+
// Where the user updates the app: an app store link or a store deep link such as `itms-apps://`.
|
|
39
|
+
url: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface AppConfigs {
|
|
43
|
+
ios?: PlatformAppConfigs;
|
|
44
|
+
android?: PlatformAppConfigs;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export interface PlatformAppConfigs {
|
|
48
|
+
boost?: AppConfig;
|
|
49
|
+
thrive?: AppConfig;
|
|
50
|
+
jjkitchen?: AppConfig;
|
|
38
51
|
}
|
|
39
52
|
|
|
40
53
|
export interface PublicMealplanConfig {
|
|
@@ -636,6 +649,22 @@ export type GetConfigAppconfigResponse = AppConfig;
|
|
|
636
649
|
|
|
637
650
|
export interface GetConfigAppconfigRequest extends BaseRequest {}
|
|
638
651
|
|
|
652
|
+
// GET /config/appconfigs - Get the minimum app versions and app store links for every platform and app
|
|
653
|
+
|
|
654
|
+
export type GetConfigAppconfigsResponse = AppConfigs;
|
|
655
|
+
|
|
656
|
+
export interface GetConfigAppconfigsRequest extends BaseRequest {}
|
|
657
|
+
|
|
658
|
+
// PATCH /config/appconfigs - Update the minimum app versions and app store links of the apps sent
|
|
659
|
+
|
|
660
|
+
export type PatchConfigAppconfigsBody = AppConfigs;
|
|
661
|
+
|
|
662
|
+
export type PatchConfigAppconfigsResponse = AppConfigs;
|
|
663
|
+
|
|
664
|
+
export interface PatchConfigAppconfigsRequest extends BaseRequest {
|
|
665
|
+
body: PatchConfigAppconfigsBody;
|
|
666
|
+
}
|
|
667
|
+
|
|
639
668
|
// GET /config/app-clients - Get the per-client exclusive access settings
|
|
640
669
|
|
|
641
670
|
export type GetConfigAppClientsResponse = AppClientsConfig;
|
package/src/interface/file.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface PostFileBody {
|
|
|
27
27
|
export type PostFileResponse = File;
|
|
28
28
|
|
|
29
29
|
export interface PostFileRequest extends BaseRequest {
|
|
30
|
-
body
|
|
30
|
+
body?: PostFileBody;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
// DELETE /file - Delete a file from CDL S3
|
|
@@ -44,5 +44,5 @@ export interface DeleteFileResponse {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export interface DeleteFileRequest extends BaseRequest {
|
|
47
|
-
body
|
|
47
|
+
body?: DeleteFileBody;
|
|
48
48
|
}
|
|
@@ -840,7 +840,7 @@ export interface DeleteLocationBody {
|
|
|
840
840
|
export type DeleteLocationResponse = Location;
|
|
841
841
|
|
|
842
842
|
export interface DeleteLocationRequest extends BaseRequest, DeleteLocationPath {
|
|
843
|
-
body
|
|
843
|
+
body?: DeleteLocationBody;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
846
|
// PATCH /location/{id} - Update a Location
|
|
@@ -1034,7 +1034,7 @@ export interface DeleteLocationGroupBody {
|
|
|
1034
1034
|
export type DeleteLocationGroupResponse = Group;
|
|
1035
1035
|
|
|
1036
1036
|
export interface DeleteLocationGroupRequest extends BaseRequest, DeleteLocationGroupPath {
|
|
1037
|
-
body
|
|
1037
|
+
body?: DeleteLocationGroupBody;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
// PATCH /location/group/{id} - Update a Group
|
|
@@ -286,7 +286,7 @@ export interface DeleteMealplanBody {
|
|
|
286
286
|
export type DeleteMealplanResponse = TendersAndAuth;
|
|
287
287
|
|
|
288
288
|
export interface DeleteMealplanRequest extends BaseRequest, DeleteMealplanPath {
|
|
289
|
-
body
|
|
289
|
+
body?: DeleteMealplanBody;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
// POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
|
|
@@ -318,7 +318,7 @@ export interface PostMealplanCallbackRequest
|
|
|
318
318
|
extends BaseRequest,
|
|
319
319
|
RequestQuery<PostMealplanCallbackQuery>,
|
|
320
320
|
PostMealplanCallbackPath {
|
|
321
|
-
body
|
|
321
|
+
body?: PostMealplanCallbackBody;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
324
|
// GET /mealplan/{id}/barcode - Retrieve dynamic Atrium barcode ID for kiosk scan-and-pay
|
|
@@ -470,7 +470,7 @@ export interface PostMealplanAuthorizeResponse {
|
|
|
470
470
|
}
|
|
471
471
|
|
|
472
472
|
export interface PostMealplanAuthorizeRequest extends BaseRequest, PostMealplanAuthorizePath {
|
|
473
|
-
body
|
|
473
|
+
body?: PostMealplanAuthorizeBody;
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
// POST /mealplan/{id}/internal/tenders - Check the user's tender balance
|
package/src/interface/order.ts
CHANGED
|
@@ -678,7 +678,7 @@ export type PostOrderIssueBody = OrderIssue;
|
|
|
678
678
|
export type PostOrderIssueResponse = Issue;
|
|
679
679
|
|
|
680
680
|
export interface PostOrderIssueRequest extends BaseRequest, PostOrderIssuePath {
|
|
681
|
-
body
|
|
681
|
+
body?: PostOrderIssueBody;
|
|
682
682
|
}
|
|
683
683
|
|
|
684
684
|
// PATCH /order/{id}/refund - Issue a refund on an existing order
|
package/src/interface/payment.ts
CHANGED
|
@@ -270,7 +270,7 @@ export interface PostPaymentTransactionBody {
|
|
|
270
270
|
export type PostPaymentTransactionResponse = Transaction;
|
|
271
271
|
|
|
272
272
|
export interface PostPaymentTransactionRequest extends BaseRequest, PostPaymentTransactionPath {
|
|
273
|
-
body
|
|
273
|
+
body?: PostPaymentTransactionBody;
|
|
274
274
|
}
|
|
275
275
|
|
|
276
276
|
// POST /payment/{id}/transaction/auth - This endpoint is used to only authorize a transaction. It will not charge the transaction.
|
|
@@ -310,7 +310,7 @@ export type PostPaymentTransactionAuthResponse = Transaction;
|
|
|
310
310
|
export interface PostPaymentTransactionAuthRequest
|
|
311
311
|
extends BaseRequest,
|
|
312
312
|
PostPaymentTransactionAuthPath {
|
|
313
|
-
body
|
|
313
|
+
body?: PostPaymentTransactionAuthBody;
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
// POST /payment/{id}/transaction/{transaction_id}/refund
|
|
@@ -334,7 +334,7 @@ export type PostPaymentTransactionRefundResponse = Refund;
|
|
|
334
334
|
export interface PostPaymentTransactionRefundRequest
|
|
335
335
|
extends BaseRequest,
|
|
336
336
|
PostPaymentTransactionRefundPath {
|
|
337
|
-
body
|
|
337
|
+
body?: PostPaymentTransactionRefundBody;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
340
|
// POST /payment/{id}/transaction/capture - This endpoint is used to capture a transaction that has been authorized already. So there won't be second authorization.
|
|
@@ -369,7 +369,7 @@ export type PostPaymentTransactionCaptureResponse = Transaction;
|
|
|
369
369
|
export interface PostPaymentTransactionCaptureRequest
|
|
370
370
|
extends BaseRequest,
|
|
371
371
|
PostPaymentTransactionCapturePath {
|
|
372
|
-
body
|
|
372
|
+
body?: PostPaymentTransactionCaptureBody;
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
// POST /payment/{id}/transaction/void - This endpoint is used to void a transaction that has been authorized already.So user's auth will be voided faster instead of waiting for the auth to expire.
|
|
@@ -391,7 +391,7 @@ export type PostPaymentTransactionVoidResponse = Transaction;
|
|
|
391
391
|
export interface PostPaymentTransactionVoidRequest
|
|
392
392
|
extends BaseRequest,
|
|
393
393
|
PostPaymentTransactionVoidPath {
|
|
394
|
-
body
|
|
394
|
+
body?: PostPaymentTransactionVoidBody;
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
// GET /payment/{id}/clienttoken
|
|
@@ -441,7 +441,7 @@ export interface PostPaymentPaymenttokenBody {
|
|
|
441
441
|
export type PostPaymentPaymenttokenResponse = PaymentMethod;
|
|
442
442
|
|
|
443
443
|
export interface PostPaymentPaymenttokenRequest extends BaseRequest, PostPaymentPaymenttokenPath {
|
|
444
|
-
body
|
|
444
|
+
body?: PostPaymentPaymenttokenBody;
|
|
445
445
|
}
|
|
446
446
|
|
|
447
447
|
// POST /payment/consumer
|
|
@@ -454,7 +454,7 @@ export interface PostPaymentConsumerBody {
|
|
|
454
454
|
export type PostPaymentConsumerResponse = ConsumerId;
|
|
455
455
|
|
|
456
456
|
export interface PostPaymentConsumerRequest extends BaseRequest {
|
|
457
|
-
body
|
|
457
|
+
body?: PostPaymentConsumerBody;
|
|
458
458
|
}
|
|
459
459
|
|
|
460
460
|
// POST /payment/method
|
|
@@ -471,7 +471,7 @@ export interface PostPaymentMethodResponse {
|
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
export interface PostPaymentMethodRequest extends BaseRequest {
|
|
474
|
-
body
|
|
474
|
+
body?: PostPaymentMethodBody;
|
|
475
475
|
}
|
|
476
476
|
|
|
477
477
|
// GET /payment/token
|
|
@@ -504,7 +504,7 @@ export interface PostPaymentTokenBody {
|
|
|
504
504
|
export type PostPaymentTokenResponse = PaymentCard;
|
|
505
505
|
|
|
506
506
|
export interface PostPaymentTokenRequest extends BaseRequest {
|
|
507
|
-
body
|
|
507
|
+
body?: PostPaymentTokenBody;
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
// PUT /payment/token
|
|
@@ -518,7 +518,7 @@ export interface PutPaymentTokenBody {
|
|
|
518
518
|
export type PutPaymentTokenResponse = PaymentCard;
|
|
519
519
|
|
|
520
520
|
export interface PutPaymentTokenRequest extends BaseRequest {
|
|
521
|
-
body
|
|
521
|
+
body?: PutPaymentTokenBody;
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
// DELETE /payment/token
|
|
@@ -533,7 +533,7 @@ export interface DeletePaymentTokenBody {
|
|
|
533
533
|
export type DeletePaymentTokenResponse = Success;
|
|
534
534
|
|
|
535
535
|
export interface DeletePaymentTokenRequest extends BaseRequest {
|
|
536
|
-
body
|
|
536
|
+
body?: DeletePaymentTokenBody;
|
|
537
537
|
}
|
|
538
538
|
|
|
539
539
|
// GET /payment/methods
|
|
@@ -594,7 +594,7 @@ export interface PostPaymentCashlessResponse {
|
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
export interface PostPaymentCashlessRequest extends BaseRequest, PostPaymentCashlessPath {
|
|
597
|
-
body
|
|
597
|
+
body?: PostPaymentCashlessBody;
|
|
598
598
|
}
|
|
599
599
|
|
|
600
600
|
// DELETE /payment/{id}/cashless
|
|
@@ -614,7 +614,7 @@ export interface DeletePaymentCashlessResponse {
|
|
|
614
614
|
}
|
|
615
615
|
|
|
616
616
|
export interface DeletePaymentCashlessRequest extends BaseRequest, DeletePaymentCashlessPath {
|
|
617
|
-
body
|
|
617
|
+
body?: DeletePaymentCashlessBody;
|
|
618
618
|
}
|
|
619
619
|
|
|
620
620
|
// POST /payment/configvalidate
|
|
@@ -627,7 +627,7 @@ export interface PostPaymentConfigvalidateBody {
|
|
|
627
627
|
export type PostPaymentConfigvalidateResponse = Success;
|
|
628
628
|
|
|
629
629
|
export interface PostPaymentConfigvalidateRequest extends BaseRequest {
|
|
630
|
-
body
|
|
630
|
+
body?: PostPaymentConfigvalidateBody;
|
|
631
631
|
}
|
|
632
632
|
|
|
633
633
|
// POST /payment/validatemerchant
|
|
@@ -640,7 +640,7 @@ export interface PostPaymentValidatemerchantBody {
|
|
|
640
640
|
export type PostPaymentValidatemerchantResponse = ApplePayMerchantSession;
|
|
641
641
|
|
|
642
642
|
export interface PostPaymentValidatemerchantRequest extends BaseRequest {
|
|
643
|
-
body
|
|
643
|
+
body?: PostPaymentValidatemerchantBody;
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
// GET /payment/ping
|
|
@@ -1173,7 +1173,7 @@ export interface PostShoppingcartCloneCartRequest
|
|
|
1173
1173
|
extends BaseRequest,
|
|
1174
1174
|
RequestQuery<PostShoppingcartCloneCartQuery>,
|
|
1175
1175
|
PostShoppingcartCloneCartPath {
|
|
1176
|
-
body
|
|
1176
|
+
body?: PostShoppingcartCloneCartBody;
|
|
1177
1177
|
}
|
|
1178
1178
|
|
|
1179
1179
|
// PUT /shoppingcart/{id}/checkout - handle ui checkout flow and call taxjar for full tax breakdown
|
package/src/interface/user.ts
CHANGED
|
@@ -435,7 +435,7 @@ export interface PostUserZendeskResponse {
|
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
export interface PostUserZendeskRequest extends BaseRequest {
|
|
438
|
-
body
|
|
438
|
+
body?: PostUserZendeskBody;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
441
|
// POST /user - Create an User
|
|
@@ -900,7 +900,7 @@ export interface PostUserEmbedurlResponse {
|
|
|
900
900
|
}
|
|
901
901
|
|
|
902
902
|
export interface PostUserEmbedurlRequest extends BaseRequest {
|
|
903
|
-
body
|
|
903
|
+
body?: PostUserEmbedurlBody;
|
|
904
904
|
}
|
|
905
905
|
|
|
906
906
|
// GET /user/profile - Returns user profile with limited information
|
|
@@ -250,7 +250,7 @@ export interface OrderMeta {
|
|
|
250
250
|
checkin_uuid?: string;
|
|
251
251
|
refunds?: RefundTransaction[];
|
|
252
252
|
// which ui the order was placed on
|
|
253
|
-
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat';
|
|
253
|
+
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat' | 'agent' | 'mcp';
|
|
254
254
|
transaction?: TransactionDetails;
|
|
255
255
|
shoppingcart?: ShoppingCartDetails;
|
|
256
256
|
// Indicate whether the order is active or inactive
|
|
@@ -151,7 +151,7 @@ export interface MultiLanguageLabel {
|
|
|
151
151
|
export interface OrderMeta {
|
|
152
152
|
checkin_uuid?: string;
|
|
153
153
|
refunds?: RefundTransaction[];
|
|
154
|
-
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat';
|
|
154
|
+
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat' | 'agent' | 'mcp';
|
|
155
155
|
transaction?: TransactionDetails;
|
|
156
156
|
shoppingcart?: ShoppingCartDetails;
|
|
157
157
|
active?: boolean;
|
|
@@ -151,7 +151,7 @@ export interface MultiLanguageLabel {
|
|
|
151
151
|
export interface OrderMeta {
|
|
152
152
|
checkin_uuid?: string;
|
|
153
153
|
refunds?: RefundTransaction[];
|
|
154
|
-
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat';
|
|
154
|
+
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat' | 'agent' | 'mcp';
|
|
155
155
|
transaction?: TransactionDetails;
|
|
156
156
|
shoppingcart?: ShoppingCartDetails;
|
|
157
157
|
active?: boolean;
|
|
@@ -151,7 +151,7 @@ export interface MultiLanguageLabel {
|
|
|
151
151
|
export interface OrderMeta {
|
|
152
152
|
checkin_uuid?: string;
|
|
153
153
|
refunds?: RefundTransaction[];
|
|
154
|
-
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat';
|
|
154
|
+
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat' | 'agent' | 'mcp';
|
|
155
155
|
transaction?: TransactionDetails;
|
|
156
156
|
shoppingcart?: ShoppingCartDetails;
|
|
157
157
|
active?: boolean;
|
|
@@ -250,7 +250,7 @@ export interface OrderMeta {
|
|
|
250
250
|
checkin_uuid?: string;
|
|
251
251
|
refunds?: RefundTransaction[];
|
|
252
252
|
// which ui the order was placed on
|
|
253
|
-
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat';
|
|
253
|
+
source?: 'web' | 'mobile' | 'centric_hub' | 'time2eat' | 'agent' | 'mcp';
|
|
254
254
|
transaction?: TransactionDetails;
|
|
255
255
|
shoppingcart?: ShoppingCartDetails;
|
|
256
256
|
// Indicate whether the order is active or inactive
|