@compassdigital/sdk.typescript 4.5.0 → 4.7.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.
Files changed (82) hide show
  1. package/lib/index.d.ts +96 -29
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +103 -28
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/ai.d.ts +3 -3
  6. package/lib/interface/ai.d.ts.map +1 -1
  7. package/lib/interface/announcement.d.ts +2 -2
  8. package/lib/interface/announcement.d.ts.map +1 -1
  9. package/lib/interface/calendar.d.ts +1 -1
  10. package/lib/interface/calendar.d.ts.map +1 -1
  11. package/lib/interface/centricos.d.ts +3 -3
  12. package/lib/interface/centricos.d.ts.map +1 -1
  13. package/lib/interface/compassconnect.d.ts +1 -1
  14. package/lib/interface/compassconnect.d.ts.map +1 -1
  15. package/lib/interface/config.d.ts +77 -17
  16. package/lib/interface/config.d.ts.map +1 -1
  17. package/lib/interface/datalake.d.ts +2 -2
  18. package/lib/interface/datalake.d.ts.map +1 -1
  19. package/lib/interface/delivery.d.ts +3 -3
  20. package/lib/interface/delivery.d.ts.map +1 -1
  21. package/lib/interface/email.d.ts +2 -2
  22. package/lib/interface/email.d.ts.map +1 -1
  23. package/lib/interface/file.d.ts +1 -1
  24. package/lib/interface/file.d.ts.map +1 -1
  25. package/lib/interface/frictionless.d.ts +132 -33
  26. package/lib/interface/frictionless.d.ts.map +1 -1
  27. package/lib/interface/kds.d.ts +1 -1
  28. package/lib/interface/kds.d.ts.map +1 -1
  29. package/lib/interface/location.d.ts +10 -10
  30. package/lib/interface/location.d.ts.map +1 -1
  31. package/lib/interface/mealplan.d.ts +2 -1
  32. package/lib/interface/mealplan.d.ts.map +1 -1
  33. package/lib/interface/menu.d.ts +324 -261
  34. package/lib/interface/menu.d.ts.map +1 -1
  35. package/lib/interface/notification.d.ts +2 -2
  36. package/lib/interface/notification.d.ts.map +1 -1
  37. package/lib/interface/order.d.ts +3 -3
  38. package/lib/interface/order.d.ts.map +1 -1
  39. package/lib/interface/partner.d.ts +16 -16
  40. package/lib/interface/partner.d.ts.map +1 -1
  41. package/lib/interface/payment.d.ts +12 -4
  42. package/lib/interface/payment.d.ts.map +1 -1
  43. package/lib/interface/promo.d.ts +4 -4
  44. package/lib/interface/promo.d.ts.map +1 -1
  45. package/lib/interface/report.d.ts +1 -1
  46. package/lib/interface/report.d.ts.map +1 -1
  47. package/lib/interface/shoppingcart.d.ts +7 -7
  48. package/lib/interface/shoppingcart.d.ts.map +1 -1
  49. package/lib/interface/task.d.ts +5 -5
  50. package/lib/interface/task.d.ts.map +1 -1
  51. package/lib/interface/user.d.ts +4 -4
  52. package/lib/interface/user.d.ts.map +1 -1
  53. package/lib/interface/vendor.d.ts +1 -1
  54. package/lib/interface/vendor.d.ts.map +1 -1
  55. package/manifest.json +2 -2
  56. package/package.json +2 -2
  57. package/src/index.ts +261 -71
  58. package/src/interface/ai.ts +3 -3
  59. package/src/interface/announcement.ts +2 -2
  60. package/src/interface/calendar.ts +1 -1
  61. package/src/interface/centricos.ts +3 -3
  62. package/src/interface/compassconnect.ts +1 -1
  63. package/src/interface/config.ts +83 -17
  64. package/src/interface/datalake.ts +2 -2
  65. package/src/interface/delivery.ts +3 -3
  66. package/src/interface/email.ts +2 -2
  67. package/src/interface/file.ts +1 -1
  68. package/src/interface/frictionless.ts +193 -43
  69. package/src/interface/kds.ts +1 -1
  70. package/src/interface/location.ts +10 -10
  71. package/src/interface/mealplan.ts +2 -1
  72. package/src/interface/menu.ts +357 -268
  73. package/src/interface/notification.ts +2 -2
  74. package/src/interface/order.ts +3 -3
  75. package/src/interface/partner.ts +16 -16
  76. package/src/interface/payment.ts +17 -4
  77. package/src/interface/promo.ts +4 -4
  78. package/src/interface/report.ts +1 -1
  79. package/src/interface/shoppingcart.ts +7 -7
  80. package/src/interface/task.ts +5 -5
  81. package/src/interface/user.ts +4 -4
  82. package/src/interface/vendor.ts +1 -1
package/src/index.ts CHANGED
@@ -33,6 +33,8 @@ import {
33
33
  PostPaymentCashlessResponse,
34
34
  DeletePaymentCashlessBody,
35
35
  DeletePaymentCashlessResponse,
36
+ PostPaymentConfigvalidateBody,
37
+ PostPaymentConfigvalidateResponse,
36
38
  } from "./interface/payment";
37
39
 
38
40
  import {
@@ -646,6 +648,8 @@ import {
646
648
  GetMenuV3DraftCategoriesCountResponse,
647
649
  PostMenuV3DraftCategoriesBody,
648
650
  PostMenuV3DraftCategoriesResponse,
651
+ PostMenuV3DraftCategoryAttachmentQuery,
652
+ PostMenuV3DraftCategoryAttachmentResponse,
649
653
  GetMenuV3CategoryQuery,
650
654
  GetMenuV3CategoryResponse,
651
655
  GetMenuV3CategorysCountQuery,
@@ -682,16 +686,18 @@ import {
682
686
  PostMenuV3DraftItemsResponse,
683
687
  GetMenuV3DraftItemsCountQuery,
684
688
  GetMenuV3DraftItemsCountResponse,
689
+ GetMenuV3DraftItemLineRoutesQuery,
690
+ GetMenuV3DraftItemLineRoutesResponse,
685
691
  PatchMenuV3DraftItemsBulkUpdateBody,
686
692
  PatchMenuV3DraftItemsBulkUpdateResponse,
687
- PostMenuV3ItemAttachmentQuery,
688
- PostMenuV3ItemAttachmentResponse,
689
- PostMenuV3ItemsValidateBody,
690
- PostMenuV3ItemsValidateResponse,
691
- PostMenuV3ItemsImportBody,
692
- PostMenuV3ItemsImportResponse,
693
- PostMenuV3ItemsExportBody,
694
- PostMenuV3ItemsExportResponse,
693
+ PostMenuV3DraftItemAttachmentQuery,
694
+ PostMenuV3DraftItemAttachmentResponse,
695
+ PostMenuV3DraftItemsValidateBody,
696
+ PostMenuV3DraftItemsValidateResponse,
697
+ PostMenuV3DraftItemsImportBody,
698
+ PostMenuV3DraftItemsImportResponse,
699
+ PostMenuV3DraftItemsExportBody,
700
+ PostMenuV3DraftItemsExportResponse,
695
701
  GetMenuV3ItemQuery,
696
702
  GetMenuV3ItemResponse,
697
703
  GetMenuV3ItemsQuery,
@@ -771,6 +777,8 @@ import {
771
777
  GetMenuV3DraftModifiersCountResponse,
772
778
  PatchMenuV3DraftModifiersBulkUpdateBody,
773
779
  PatchMenuV3DraftModifiersBulkUpdateResponse,
780
+ PostMenuV3DraftModifiersAttachmentQuery,
781
+ PostMenuV3DraftModifiersAttachmentResponse,
774
782
  GetMenuV3ModifierQuery,
775
783
  GetMenuV3ModifierResponse,
776
784
  GetMenuV3ModifiersQuery,
@@ -852,17 +860,25 @@ import {
852
860
  } from "./interface/delivery";
853
861
 
854
862
  import {
855
- StandardCognitionEventWebhookControllerExecuteBody,
856
- StandardCognitionEventWebhookControllerExecuteResponse,
857
- CheckFrictionlessSupportControllerExecuteQuery,
858
- CheckFrictionlessSupportControllerExecuteResponse,
859
- CreateQRCodeUserCheckInControllerExecuteBody,
860
- CreateQRCodeUserCheckInControllerExecuteResponse,
861
- ListFailedCheckinsControllerExecuteQuery,
862
- ListFailedCheckinsControllerExecuteResponse,
863
- ReprocessCheckinOnErrorControllerExecuteResponse,
864
- CheckCheckinStatusControllerExecuteQuery,
865
- CheckCheckinStatusControllerExecuteResponse,
863
+ PostFrictionlessWebhookStandardcognitionBody,
864
+ PostFrictionlessWebhookStandardcognitionResponse,
865
+ PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody,
866
+ PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse,
867
+ PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody,
868
+ PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse,
869
+ GetFrictionlessBrandFrictionlessStatusQuery,
870
+ GetFrictionlessBrandFrictionlessStatusResponse,
871
+ PostFrictionlessQrCodeBody,
872
+ PostFrictionlessQrCodeResponse,
873
+ GetFrictionlessFailedCheckinsQuery,
874
+ GetFrictionlessFailedCheckinsResponse,
875
+ PostFrictionlessCheckinsReprocessResponse,
876
+ GetFrictionlessCheckinStatusQuery,
877
+ GetFrictionlessCheckinStatusResponse,
878
+ GetFrictionlessUsersPaymentIssuesQuery,
879
+ GetFrictionlessUsersPaymentIssuesResponse,
880
+ PostFrictionlessCheckinReprocessPaymentBody,
881
+ PostFrictionlessCheckinReprocessPaymentResponse,
866
882
  } from "./interface/frictionless";
867
883
 
868
884
  import {
@@ -1183,6 +1199,26 @@ export class ServiceClient extends BaseServiceClient {
1183
1199
  );
1184
1200
  }
1185
1201
 
1202
+ /**
1203
+ * POST /payment/configvalidate
1204
+ *
1205
+ * @param body
1206
+ * @param options - additional request options
1207
+ */
1208
+ post_payment_configvalidate(
1209
+ body: PostPaymentConfigvalidateBody,
1210
+ options?: RequestOptions
1211
+ ): ResponsePromise<PostPaymentConfigvalidateResponse> {
1212
+ return this.request(
1213
+ "payment",
1214
+ "post_payment_configvalidate",
1215
+ "post",
1216
+ `/payment/configvalidate`,
1217
+ body,
1218
+ options
1219
+ );
1220
+ }
1221
+
1186
1222
  /**
1187
1223
  * POST /order - Create an Order
1188
1224
  *
@@ -6736,6 +6772,30 @@ export class ServiceClient extends BaseServiceClient {
6736
6772
  );
6737
6773
  }
6738
6774
 
6775
+ /**
6776
+ * POST /menu/v3/draft/category/{id}/attachment/{name}
6777
+ *
6778
+ * @param id
6779
+ * @param name
6780
+ * @param options - additional request options
6781
+ */
6782
+ post_menu_v3_draft_category_attachment(
6783
+ id: string,
6784
+ name: "thumbnail",
6785
+ options?: {
6786
+ query?: PostMenuV3DraftCategoryAttachmentQuery;
6787
+ } & RequestOptions
6788
+ ): ResponsePromise<PostMenuV3DraftCategoryAttachmentResponse> {
6789
+ return this.request(
6790
+ "menu",
6791
+ "post_menu_v3_draft_category_attachment",
6792
+ "post",
6793
+ `/menu/v3/draft/category/${id}/attachment/${name}`,
6794
+ null,
6795
+ options
6796
+ );
6797
+ }
6798
+
6739
6799
  /**
6740
6800
  * GET /menu/v3/category/{id}
6741
6801
  *
@@ -7128,6 +7188,28 @@ export class ServiceClient extends BaseServiceClient {
7128
7188
  );
7129
7189
  }
7130
7190
 
7191
+ /**
7192
+ * GET /menu/v3/draft/item/{id}/line-routes
7193
+ *
7194
+ * @param id
7195
+ * @param options - additional request options
7196
+ */
7197
+ get_menu_v3_draft_item_line_routes(
7198
+ id: string,
7199
+ options?: {
7200
+ query?: GetMenuV3DraftItemLineRoutesQuery;
7201
+ } & RequestOptions
7202
+ ): ResponsePromise<GetMenuV3DraftItemLineRoutesResponse> {
7203
+ return this.request(
7204
+ "menu",
7205
+ "get_menu_v3_draft_item_line_routes",
7206
+ "get",
7207
+ `/menu/v3/draft/item/${id}/line-routes`,
7208
+ null,
7209
+ options
7210
+ );
7211
+ }
7212
+
7131
7213
  /**
7132
7214
  * PATCH /menu/v3/draft/items/bulk-update
7133
7215
  *
@@ -7149,84 +7231,84 @@ export class ServiceClient extends BaseServiceClient {
7149
7231
  }
7150
7232
 
7151
7233
  /**
7152
- * POST /menu/v3/item/{id}/attachment/{name}
7234
+ * POST /menu/v3/draft/item/{id}/attachment/{name}
7153
7235
  *
7154
7236
  * @param id
7155
7237
  * @param name
7156
7238
  * @param options - additional request options
7157
7239
  */
7158
- post_menu_v3_item_attachment(
7240
+ post_menu_v3_draft_item_attachment(
7159
7241
  id: string,
7160
7242
  name: "thumbnail",
7161
7243
  options?: {
7162
- query?: PostMenuV3ItemAttachmentQuery;
7244
+ query?: PostMenuV3DraftItemAttachmentQuery;
7163
7245
  } & RequestOptions
7164
- ): ResponsePromise<PostMenuV3ItemAttachmentResponse> {
7246
+ ): ResponsePromise<PostMenuV3DraftItemAttachmentResponse> {
7165
7247
  return this.request(
7166
7248
  "menu",
7167
- "post_menu_v3_item_attachment",
7249
+ "post_menu_v3_draft_item_attachment",
7168
7250
  "post",
7169
- `/menu/v3/item/${id}/attachment/${name}`,
7251
+ `/menu/v3/draft/item/${id}/attachment/${name}`,
7170
7252
  null,
7171
7253
  options
7172
7254
  );
7173
7255
  }
7174
7256
 
7175
7257
  /**
7176
- * POST /menu/v3/items/validate
7258
+ * POST /menu/v3/draft/items/validate
7177
7259
  *
7178
7260
  * @param body
7179
7261
  * @param options - additional request options
7180
7262
  */
7181
- post_menu_v3_items_validate(
7182
- body: PostMenuV3ItemsValidateBody,
7263
+ post_menu_v3_draft_items_validate(
7264
+ body: PostMenuV3DraftItemsValidateBody,
7183
7265
  options?: RequestOptions
7184
- ): ResponsePromise<PostMenuV3ItemsValidateResponse> {
7266
+ ): ResponsePromise<PostMenuV3DraftItemsValidateResponse> {
7185
7267
  return this.request(
7186
7268
  "menu",
7187
- "post_menu_v3_items_validate",
7269
+ "post_menu_v3_draft_items_validate",
7188
7270
  "post",
7189
- `/menu/v3/items/validate`,
7271
+ `/menu/v3/draft/items/validate`,
7190
7272
  body,
7191
7273
  options
7192
7274
  );
7193
7275
  }
7194
7276
 
7195
7277
  /**
7196
- * POST /menu/v3/items/import
7278
+ * POST /menu/v3/draft/items/import
7197
7279
  *
7198
7280
  * @param body
7199
7281
  * @param options - additional request options
7200
7282
  */
7201
- post_menu_v3_items_import(
7202
- body: PostMenuV3ItemsImportBody,
7283
+ post_menu_v3_draft_items_import(
7284
+ body: PostMenuV3DraftItemsImportBody,
7203
7285
  options?: RequestOptions
7204
- ): ResponsePromise<PostMenuV3ItemsImportResponse> {
7286
+ ): ResponsePromise<PostMenuV3DraftItemsImportResponse> {
7205
7287
  return this.request(
7206
7288
  "menu",
7207
- "post_menu_v3_items_import",
7289
+ "post_menu_v3_draft_items_import",
7208
7290
  "post",
7209
- `/menu/v3/items/import`,
7291
+ `/menu/v3/draft/items/import`,
7210
7292
  body,
7211
7293
  options
7212
7294
  );
7213
7295
  }
7214
7296
 
7215
7297
  /**
7216
- * POST /menu/v3/items/export
7298
+ * POST /menu/v3/draft/items/export
7217
7299
  *
7218
7300
  * @param body
7219
7301
  * @param options - additional request options
7220
7302
  */
7221
- post_menu_v3_items_export(
7222
- body: PostMenuV3ItemsExportBody,
7303
+ post_menu_v3_draft_items_export(
7304
+ body: PostMenuV3DraftItemsExportBody,
7223
7305
  options?: RequestOptions
7224
- ): ResponsePromise<PostMenuV3ItemsExportResponse> {
7306
+ ): ResponsePromise<PostMenuV3DraftItemsExportResponse> {
7225
7307
  return this.request(
7226
7308
  "menu",
7227
- "post_menu_v3_items_export",
7309
+ "post_menu_v3_draft_items_export",
7228
7310
  "post",
7229
- `/menu/v3/items/export`,
7311
+ `/menu/v3/draft/items/export`,
7230
7312
  body,
7231
7313
  options
7232
7314
  );
@@ -8082,6 +8164,30 @@ export class ServiceClient extends BaseServiceClient {
8082
8164
  );
8083
8165
  }
8084
8166
 
8167
+ /**
8168
+ * POST /menu/v3/draft/modifiers/{id}/attachment/{name}
8169
+ *
8170
+ * @param id
8171
+ * @param name
8172
+ * @param options - additional request options
8173
+ */
8174
+ post_menu_v3_draft_modifiers_attachment(
8175
+ id: string,
8176
+ name: "thumbnail",
8177
+ options?: {
8178
+ query?: PostMenuV3DraftModifiersAttachmentQuery;
8179
+ } & RequestOptions
8180
+ ): ResponsePromise<PostMenuV3DraftModifiersAttachmentResponse> {
8181
+ return this.request(
8182
+ "menu",
8183
+ "post_menu_v3_draft_modifiers_attachment",
8184
+ "post",
8185
+ `/menu/v3/draft/modifiers/${id}/attachment/${name}`,
8186
+ null,
8187
+ options
8188
+ );
8189
+ }
8190
+
8085
8191
  /**
8086
8192
  * GET /menu/v3/modifier/{id}
8087
8193
  *
@@ -8737,13 +8843,13 @@ export class ServiceClient extends BaseServiceClient {
8737
8843
  * @param body
8738
8844
  * @param options - additional request options
8739
8845
  */
8740
- StandardCognitionEventWebhookController_execute(
8741
- body: StandardCognitionEventWebhookControllerExecuteBody,
8846
+ post_frictionless_webhook_standardcognition(
8847
+ body: PostFrictionlessWebhookStandardcognitionBody,
8742
8848
  options?: RequestOptions
8743
- ): ResponsePromise<StandardCognitionEventWebhookControllerExecuteResponse> {
8849
+ ): ResponsePromise<PostFrictionlessWebhookStandardcognitionResponse> {
8744
8850
  return this.request(
8745
8851
  "frictionless",
8746
- "StandardCognitionEventWebhookController_execute",
8852
+ "post_frictionless_webhook_standardcognition",
8747
8853
  "post",
8748
8854
  `/frictionless/webhook/standardcognition`,
8749
8855
  body,
@@ -8751,21 +8857,61 @@ export class ServiceClient extends BaseServiceClient {
8751
8857
  );
8752
8858
  }
8753
8859
 
8860
+ /**
8861
+ * POST /frictionless/amazon-jwo-connector/v1/identity/identity-keys - Amazon JWO Identity Key Connector
8862
+ *
8863
+ * @param body
8864
+ * @param options - additional request options
8865
+ */
8866
+ post_frictionless_amazon_jwo_connector_v1_identity_identity_keys(
8867
+ body: PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysBody,
8868
+ options?: RequestOptions
8869
+ ): ResponsePromise<PostFrictionlessAmazonJwoConnectorV1IdentityIdentityKeysResponse> {
8870
+ return this.request(
8871
+ "frictionless",
8872
+ "post_frictionless_amazon_jwo_connector_v1_identity_identity_keys",
8873
+ "post",
8874
+ `/frictionless/amazon-jwo-connector/v1/identity/identity-keys`,
8875
+ body,
8876
+ options
8877
+ );
8878
+ }
8879
+
8880
+ /**
8881
+ * POST /frictionless/amazon-jwo-connector/v1/order/purchases - Amazon JWO Ordering Connector
8882
+ *
8883
+ * @param body
8884
+ * @param options - additional request options
8885
+ */
8886
+ post_frictionless_amazon_jwo_connector_v1_order_purchases(
8887
+ body: PostFrictionlessAmazonJwoConnectorV1OrderPurchasesBody,
8888
+ options?: RequestOptions
8889
+ ): ResponsePromise<PostFrictionlessAmazonJwoConnectorV1OrderPurchasesResponse> {
8890
+ return this.request(
8891
+ "frictionless",
8892
+ "post_frictionless_amazon_jwo_connector_v1_order_purchases",
8893
+ "post",
8894
+ `/frictionless/amazon-jwo-connector/v1/order/purchases`,
8895
+ body,
8896
+ options
8897
+ );
8898
+ }
8899
+
8754
8900
  /**
8755
8901
  * GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
8756
8902
  *
8757
8903
  * @param id_brand - Brand ID as Encoded CDL ID
8758
8904
  * @param options - additional request options
8759
8905
  */
8760
- CheckFrictionlessSupportController_execute(
8906
+ get_frictionless_brand_frictionless_status(
8761
8907
  id_brand: string,
8762
8908
  options?: {
8763
- query?: CheckFrictionlessSupportControllerExecuteQuery;
8909
+ query?: GetFrictionlessBrandFrictionlessStatusQuery;
8764
8910
  } & RequestOptions
8765
- ): ResponsePromise<CheckFrictionlessSupportControllerExecuteResponse> {
8911
+ ): ResponsePromise<GetFrictionlessBrandFrictionlessStatusResponse> {
8766
8912
  return this.request(
8767
8913
  "frictionless",
8768
- "CheckFrictionlessSupportController_execute",
8914
+ "get_frictionless_brand_frictionless_status",
8769
8915
  "get",
8770
8916
  `/frictionless/brand/${id_brand}/frictionless-status`,
8771
8917
  null,
@@ -8779,13 +8925,13 @@ export class ServiceClient extends BaseServiceClient {
8779
8925
  * @param body
8780
8926
  * @param options - additional request options
8781
8927
  */
8782
- CreateQRCodeUserCheckInController_execute(
8783
- body: CreateQRCodeUserCheckInControllerExecuteBody,
8928
+ post_frictionless_qr_code(
8929
+ body: PostFrictionlessQrCodeBody,
8784
8930
  options?: RequestOptions
8785
- ): ResponsePromise<CreateQRCodeUserCheckInControllerExecuteResponse> {
8931
+ ): ResponsePromise<PostFrictionlessQrCodeResponse> {
8786
8932
  return this.request(
8787
8933
  "frictionless",
8788
- "CreateQRCodeUserCheckInController_execute",
8934
+ "post_frictionless_qr_code",
8789
8935
  "post",
8790
8936
  `/frictionless/qrcode`,
8791
8937
  body,
@@ -8798,14 +8944,14 @@ export class ServiceClient extends BaseServiceClient {
8798
8944
  *
8799
8945
  * @param options - additional request options
8800
8946
  */
8801
- ListFailedCheckinsController_execute(
8947
+ get_frictionless_failed_checkins(
8802
8948
  options?: {
8803
- query?: ListFailedCheckinsControllerExecuteQuery;
8949
+ query?: GetFrictionlessFailedCheckinsQuery;
8804
8950
  } & RequestOptions
8805
- ): ResponsePromise<ListFailedCheckinsControllerExecuteResponse> {
8951
+ ): ResponsePromise<GetFrictionlessFailedCheckinsResponse> {
8806
8952
  return this.request(
8807
8953
  "frictionless",
8808
- "ListFailedCheckinsController_execute",
8954
+ "get_frictionless_failed_checkins",
8809
8955
  "get",
8810
8956
  `/frictionless/failed-checkins`,
8811
8957
  null,
@@ -8814,40 +8960,40 @@ export class ServiceClient extends BaseServiceClient {
8814
8960
  }
8815
8961
 
8816
8962
  /**
8817
- * POST /frictionless/checkin/{id_checkin}/reprocess - Reprocess checkin on error
8963
+ * POST /frictionless/checkins/{id_checkin}/reprocess - Reprocess checkin on error
8818
8964
  *
8819
- * @param id_checkin - TODO: add parameter to swagger.json
8965
+ * @param id_checkin
8820
8966
  * @param options - additional request options
8821
8967
  */
8822
- ReprocessCheckinOnErrorController_execute(
8968
+ post_frictionless_checkins_reprocess(
8823
8969
  id_checkin: string,
8824
8970
  options?: RequestOptions
8825
- ): ResponsePromise<ReprocessCheckinOnErrorControllerExecuteResponse> {
8971
+ ): ResponsePromise<PostFrictionlessCheckinsReprocessResponse> {
8826
8972
  return this.request(
8827
8973
  "frictionless",
8828
- "ReprocessCheckinOnErrorController_execute",
8974
+ "post_frictionless_checkins_reprocess",
8829
8975
  "post",
8830
- `/frictionless/checkin/${id_checkin}/reprocess`,
8976
+ `/frictionless/checkins/${id_checkin}/reprocess`,
8831
8977
  null,
8832
8978
  options
8833
8979
  );
8834
8980
  }
8835
8981
 
8836
8982
  /**
8837
- * GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn status
8983
+ * GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn Status
8838
8984
  *
8839
- * @param id_checkin - TODO: add parameter to swagger.json
8985
+ * @param id_checkin
8840
8986
  * @param options - additional request options
8841
8987
  */
8842
- CheckCheckinStatusController_execute(
8988
+ get_frictionless_checkin_status(
8843
8989
  id_checkin: string,
8844
8990
  options?: {
8845
- query?: CheckCheckinStatusControllerExecuteQuery;
8991
+ query?: GetFrictionlessCheckinStatusQuery;
8846
8992
  } & RequestOptions
8847
- ): ResponsePromise<CheckCheckinStatusControllerExecuteResponse> {
8993
+ ): ResponsePromise<GetFrictionlessCheckinStatusResponse> {
8848
8994
  return this.request(
8849
8995
  "frictionless",
8850
- "CheckCheckinStatusController_execute",
8996
+ "get_frictionless_checkin_status",
8851
8997
  "get",
8852
8998
  `/frictionless/checkin/${id_checkin}/status`,
8853
8999
  null,
@@ -8855,6 +9001,50 @@ export class ServiceClient extends BaseServiceClient {
8855
9001
  );
8856
9002
  }
8857
9003
 
9004
+ /**
9005
+ * GET /frictionless/users/{user_id}/checkins/payment-issues - List check-ins with update payment required per user
9006
+ *
9007
+ * @param user_id
9008
+ * @param options - additional request options
9009
+ */
9010
+ get_frictionless_users_payment_issues(
9011
+ user_id: string,
9012
+ options?: {
9013
+ query?: GetFrictionlessUsersPaymentIssuesQuery;
9014
+ } & RequestOptions
9015
+ ): ResponsePromise<GetFrictionlessUsersPaymentIssuesResponse> {
9016
+ return this.request(
9017
+ "frictionless",
9018
+ "get_frictionless_users_payment_issues",
9019
+ "get",
9020
+ `/frictionless/users/${user_id}/checkins/payment-issues`,
9021
+ null,
9022
+ options
9023
+ );
9024
+ }
9025
+
9026
+ /**
9027
+ * POST /frictionless/checkins/{checkin_id}/reprocess-payment - Update payment at checkin and trigger reprocessing
9028
+ *
9029
+ * @param checkin_id
9030
+ * @param body
9031
+ * @param options - additional request options
9032
+ */
9033
+ post_frictionless_checkin_reprocess_payment(
9034
+ checkin_id: string,
9035
+ body: PostFrictionlessCheckinReprocessPaymentBody,
9036
+ options?: RequestOptions
9037
+ ): ResponsePromise<PostFrictionlessCheckinReprocessPaymentResponse> {
9038
+ return this.request(
9039
+ "frictionless",
9040
+ "post_frictionless_checkin_reprocess_payment",
9041
+ "post",
9042
+ `/frictionless/checkins/${checkin_id}/reprocess-payment`,
9043
+ body,
9044
+ options
9045
+ );
9046
+ }
9047
+
8858
9048
  /**
8859
9049
  * POST /ai/language/generate - Generate text from a given prompt
8860
9050
  *
@@ -25,16 +25,16 @@ export interface GenerateTextResponse {
25
25
  export interface BadRequestErrorDTO {
26
26
  message: string;
27
27
  code: number;
28
- data: any;
28
+ data: Record<string, any>;
29
29
  }
30
30
 
31
31
  export interface UnauthorizedErrorDTO {
32
32
  message: string;
33
33
  code: number;
34
- data: any;
34
+ data: Record<string, any>;
35
35
  }
36
36
 
37
- export type InternalServerErrorException = any;
37
+ export type InternalServerErrorException = Record<string, any>;
38
38
 
39
39
  export interface GenerateImageRequest {
40
40
  prompt: string;
@@ -6,7 +6,7 @@ import { RequestQuery, BaseRequest } from "./util";
6
6
  export interface Error {
7
7
  code?: number;
8
8
  message?: string;
9
- data?: any;
9
+ data?: Record<string, any>;
10
10
  }
11
11
 
12
12
  export interface Success {
@@ -33,7 +33,7 @@ export interface Announcement {
33
33
  en?: Announcement_info;
34
34
  fr?: Announcement_info;
35
35
  };
36
- date?: any;
36
+ date?: Record<string, any>;
37
37
  [index: string]: any;
38
38
  }
39
39
 
@@ -6,7 +6,7 @@ import { RequestQuery, BaseRequest } from "./util";
6
6
  export interface Error {
7
7
  message?: string;
8
8
  code?: number;
9
- data?: any;
9
+ data?: Record<string, any>;
10
10
  }
11
11
 
12
12
  export interface Event {
@@ -15,16 +15,16 @@ export interface AIItemDescriptionResponse {
15
15
  export interface BadRequestErrorDTO {
16
16
  message: string;
17
17
  code: number;
18
- data: any;
18
+ data: Record<string, any>;
19
19
  }
20
20
 
21
21
  export interface UnauthorizedErrorDTO {
22
22
  message: string;
23
23
  code: number;
24
- data: any;
24
+ data: Record<string, any>;
25
25
  }
26
26
 
27
- export type InternalServerErrorException = any;
27
+ export type InternalServerErrorException = Record<string, any>;
28
28
 
29
29
  export interface AIItemImageRequest {
30
30
  name?: string;
@@ -13,7 +13,7 @@ export interface OMSRequest {
13
13
  export interface Error {
14
14
  message?: string;
15
15
  code?: number;
16
- data?: any;
16
+ data?: Record<string, any>;
17
17
  }
18
18
 
19
19
  export interface Auth {