@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.
Files changed (78) hide show
  1. package/lib/index.d.ts +103 -81
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +90 -63
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/ai.d.ts +50 -0
  6. package/lib/interface/ai.d.ts.map +1 -0
  7. package/lib/interface/ai.js +5 -0
  8. package/lib/interface/ai.js.map +1 -0
  9. package/lib/interface/calendar.d.ts +1 -1
  10. package/lib/interface/datalake.d.ts +3 -3
  11. package/lib/interface/datalake.d.ts.map +1 -1
  12. package/lib/interface/delivery.d.ts +2 -2
  13. package/lib/interface/delivery.d.ts.map +1 -1
  14. package/lib/interface/file.d.ts +1 -1
  15. package/lib/interface/file.d.ts.map +1 -1
  16. package/lib/interface/frictionless.d.ts +24 -24
  17. package/lib/interface/frictionless.d.ts.map +1 -1
  18. package/lib/interface/location.d.ts +23 -14
  19. package/lib/interface/location.d.ts.map +1 -1
  20. package/lib/interface/location.js +12 -0
  21. package/lib/interface/location.js.map +1 -1
  22. package/lib/interface/mealplan.d.ts +6 -5
  23. package/lib/interface/mealplan.d.ts.map +1 -1
  24. package/lib/interface/menu.d.ts +585 -492
  25. package/lib/interface/menu.d.ts.map +1 -1
  26. package/lib/interface/menu.js +6 -0
  27. package/lib/interface/menu.js.map +1 -1
  28. package/lib/interface/notification.d.ts +2 -2
  29. package/lib/interface/notification.d.ts.map +1 -1
  30. package/lib/interface/order.d.ts +6 -6
  31. package/lib/interface/order.d.ts.map +1 -1
  32. package/lib/interface/partner.d.ts +11 -6
  33. package/lib/interface/partner.d.ts.map +1 -1
  34. package/lib/interface/partner.js +6 -0
  35. package/lib/interface/partner.js.map +1 -1
  36. package/lib/interface/payment.d.ts +4 -4
  37. package/lib/interface/payment.d.ts.map +1 -1
  38. package/lib/interface/payment.js +1 -1
  39. package/lib/interface/payment.js.map +1 -1
  40. package/lib/interface/promo.d.ts +13 -6
  41. package/lib/interface/promo.d.ts.map +1 -1
  42. package/lib/interface/promo.js +8 -0
  43. package/lib/interface/promo.js.map +1 -1
  44. package/lib/interface/report.d.ts +8 -8
  45. package/lib/interface/report.d.ts.map +1 -1
  46. package/lib/interface/shoppingcart.d.ts +14 -9
  47. package/lib/interface/shoppingcart.d.ts.map +1 -1
  48. package/lib/interface/shoppingcart.js +5 -0
  49. package/lib/interface/shoppingcart.js.map +1 -1
  50. package/lib/interface/task.d.ts +14 -14
  51. package/lib/interface/task.d.ts.map +1 -1
  52. package/lib/interface/user.d.ts +16 -21
  53. package/lib/interface/user.d.ts.map +1 -1
  54. package/lib/interface/vendor.d.ts +5 -5
  55. package/lib/interface/vendor.d.ts.map +1 -1
  56. package/manifest.json +4 -0
  57. package/package.json +2 -2
  58. package/src/index.ts +248 -193
  59. package/src/interface/ai.ts +72 -0
  60. package/src/interface/announcement.ts +1 -1
  61. package/src/interface/calendar.ts +1 -1
  62. package/src/interface/datalake.ts +5 -3
  63. package/src/interface/delivery.ts +15 -2
  64. package/src/interface/file.ts +1 -1
  65. package/src/interface/frictionless.ts +30 -36
  66. package/src/interface/location.ts +28 -20
  67. package/src/interface/mealplan.ts +8 -6
  68. package/src/interface/menu.ts +671 -574
  69. package/src/interface/notification.ts +2 -2
  70. package/src/interface/order.ts +23 -12
  71. package/src/interface/partner.ts +10 -6
  72. package/src/interface/payment.ts +5 -5
  73. package/src/interface/promo.ts +12 -6
  74. package/src/interface/report.ts +8 -8
  75. package/src/interface/shoppingcart.ts +14 -9
  76. package/src/interface/task.ts +26 -14
  77. package/src/interface/user.ts +21 -27
  78. package/src/interface/vendor.ts +5 -5
package/lib/index.js CHANGED
@@ -1186,7 +1186,7 @@ class ServiceClient extends base_1.BaseServiceClient {
1186
1186
  /**
1187
1187
  * POST /mealplan/{id}/authorize - Authorize Transaction
1188
1188
  *
1189
- * @param id - TODO: add parameter to swagger.json
1189
+ * @param id - Meal plan ID
1190
1190
  * @param body
1191
1191
  * @param options - additional request options
1192
1192
  */
@@ -1207,8 +1207,8 @@ class ServiceClient extends base_1.BaseServiceClient {
1207
1207
  *
1208
1208
  * @param options - additional request options
1209
1209
  */
1210
- get_swagger(options) {
1211
- return this.request("datalake", "get_swagger", "get", `/swagger.json`, null, options);
1210
+ get_datalake_swagger(options) {
1211
+ return this.request("datalake", "get_datalake_swagger", "get", `/swagger.json`, null, options);
1212
1212
  }
1213
1213
  /**
1214
1214
  * POST /promo - Create a new promotion
@@ -1452,7 +1452,7 @@ class ServiceClient extends base_1.BaseServiceClient {
1452
1452
  /**
1453
1453
  * GET /announcement/resource/{id} - Get Announcements
1454
1454
  *
1455
- * @param id - Id of the entity to which announcement is specifically related.; TODO: mark parameter as required in swagger
1455
+ * @param id - Id of the entity to which announcement is specifically related.
1456
1456
  * @param options - additional request options
1457
1457
  */
1458
1458
  get_announcement_resource(id, options) {
@@ -1941,8 +1941,8 @@ class ServiceClient extends base_1.BaseServiceClient {
1941
1941
  * @param body
1942
1942
  * @param options - additional request options
1943
1943
  */
1944
- post_menu(body, options) {
1945
- return this.request("menu", "post_menu", "post", `/menu`, body, options);
1944
+ create_menu(body, options) {
1945
+ return this.request("menu", "create_menu", "post", `/menu`, body, options);
1946
1946
  }
1947
1947
  /**
1948
1948
  * HEAD /menu/{id} - Get an individual Menu
@@ -1950,8 +1950,8 @@ class ServiceClient extends base_1.BaseServiceClient {
1950
1950
  * @param id - menu
1951
1951
  * @param options - additional request options
1952
1952
  */
1953
- head_menu(id, options) {
1954
- return this.request("menu", "head_menu", "head", `/menu/${id}`, null, options);
1953
+ get_menu_headers(id, options) {
1954
+ return this.request("menu", "get_menu_headers", "head", `/menu/${id}`, null, options);
1955
1955
  }
1956
1956
  /**
1957
1957
  * GET /menu/{id} - Get an individual Menu
@@ -1969,8 +1969,8 @@ class ServiceClient extends base_1.BaseServiceClient {
1969
1969
  * @param body
1970
1970
  * @param options - additional request options
1971
1971
  */
1972
- put_menu(id, body, options) {
1973
- return this.request("menu", "put_menu", "put", `/menu/${id}`, body, options);
1972
+ update_menu(id, body, options) {
1973
+ return this.request("menu", "update_menu", "put", `/menu/${id}`, body, options);
1974
1974
  }
1975
1975
  /**
1976
1976
  * DELETE /menu/{id} - Delete a Menu
@@ -1997,8 +1997,8 @@ class ServiceClient extends base_1.BaseServiceClient {
1997
1997
  * @param body
1998
1998
  * @param options - additional request options
1999
1999
  */
2000
- post_menu_import_menu(body, options) {
2001
- return this.request("menu", "post_menu_import_menu", "post", `/menu/import`, body, options);
2000
+ import_menu(body, options) {
2001
+ return this.request("menu", "import_menu", "post", `/menu/import`, body, options);
2002
2002
  }
2003
2003
  /**
2004
2004
  * GET /menu/item/{id} - Get menu item
@@ -2006,8 +2006,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2006
2006
  * @param id - Item ID
2007
2007
  * @param options - additional request options
2008
2008
  */
2009
- get_menu_item(id, options) {
2010
- return this.request("menu", "get_menu_item", "get", `/menu/item/${id}`, null, options);
2009
+ get_item(id, options) {
2010
+ return this.request("menu", "get_item", "get", `/menu/item/${id}`, null, options);
2011
2011
  }
2012
2012
  /**
2013
2013
  * DELETE /menu/item/{id} - Delete a menu item
@@ -2015,8 +2015,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2015
2015
  * @param id - Item ID
2016
2016
  * @param options - additional request options
2017
2017
  */
2018
- delete_menu_item(id, options) {
2019
- return this.request("menu", "delete_menu_item", "delete", `/menu/item/${id}`, null, options);
2018
+ delete_item(id, options) {
2019
+ return this.request("menu", "delete_item", "delete", `/menu/item/${id}`, null, options);
2020
2020
  }
2021
2021
  /**
2022
2022
  * POST /menu/item - Create a menu item
@@ -2024,8 +2024,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2024
2024
  * @param body
2025
2025
  * @param options - additional request options
2026
2026
  */
2027
- post_menu_item(body, options) {
2028
- return this.request("menu", "post_menu_item", "post", `/menu/item`, body, options);
2027
+ create_item(body, options) {
2028
+ return this.request("menu", "create_item", "post", `/menu/item`, body, options);
2029
2029
  }
2030
2030
  /**
2031
2031
  * GET /menu/items - Search for menu items
@@ -2041,8 +2041,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2041
2041
  * @param location - Location ID
2042
2042
  * @param options - additional request options
2043
2043
  */
2044
- post_menu_import_items_canteen(location, options) {
2045
- return this.request("menu", "post_menu_import_items_canteen", "post", `/menu/items/import/${location}`, null, options);
2044
+ import_items_canteen(location, options) {
2045
+ return this.request("menu", "import_items_canteen", "post", `/menu/items/import/${location}`, null, options);
2046
2046
  }
2047
2047
  /**
2048
2048
  * GET /menu/items/location/{location} - Get all menu items for a location
@@ -2050,8 +2050,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2050
2050
  * @param location - Location ID
2051
2051
  * @param options - additional request options
2052
2052
  */
2053
- get_menu_location_items(location, options) {
2054
- return this.request("menu", "get_menu_location_items", "get", `/menu/items/location/${location}`, null, options);
2053
+ get_location_items(location, options) {
2054
+ return this.request("menu", "get_location_items", "get", `/menu/items/location/${location}`, null, options);
2055
2055
  }
2056
2056
  /**
2057
2057
  * GET /menu/item/random/location/{location} - Get a random item
@@ -2059,8 +2059,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2059
2059
  * @param location - Location ID
2060
2060
  * @param options - additional request options
2061
2061
  */
2062
- get_menu_location_item_random(location, options) {
2063
- return this.request("menu", "get_menu_location_item_random", "get", `/menu/item/random/location/${location}`, null, options);
2062
+ get_location_item_random(location, options) {
2063
+ return this.request("menu", "get_location_item_random", "get", `/menu/item/random/location/${location}`, null, options);
2064
2064
  }
2065
2065
  /**
2066
2066
  * GET /menu/items/random/location/{location} - Get a set of random items
@@ -2068,8 +2068,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2068
2068
  * @param location - Location ID
2069
2069
  * @param options - additional request options
2070
2070
  */
2071
- get_menu_location_items_random(location, options) {
2072
- return this.request("menu", "get_menu_location_items_random", "get", `/menu/items/random/location/${location}`, null, options);
2071
+ get_location_items_random(location, options) {
2072
+ return this.request("menu", "get_location_items_random", "get", `/menu/items/random/location/${location}`, null, options);
2073
2073
  }
2074
2074
  /**
2075
2075
  * GET /menu/sector/{sector} - Get menus that belong to sector
@@ -2077,8 +2077,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2077
2077
  * @param sector - Sector ID
2078
2078
  * @param options - additional request options
2079
2079
  */
2080
- get_menu_sector_menus(sector, options) {
2081
- return this.request("menu", "get_menu_sector_menus", "get", `/menu/sector/${sector}`, null, options);
2080
+ get_sector_menus(sector, options) {
2081
+ return this.request("menu", "get_sector_menus", "get", `/menu/sector/${sector}`, null, options);
2082
2082
  }
2083
2083
  /**
2084
2084
  * GET /menu/company/{company} - Get menus that belong to company
@@ -2086,8 +2086,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2086
2086
  * @param company - Company ID
2087
2087
  * @param options - additional request options
2088
2088
  */
2089
- get_menu_company_menus(company, options) {
2090
- return this.request("menu", "get_menu_company_menus", "get", `/menu/company/${company}`, null, options);
2089
+ get_company_menus(company, options) {
2090
+ return this.request("menu", "get_company_menus", "get", `/menu/company/${company}`, null, options);
2091
2091
  }
2092
2092
  /**
2093
2093
  * POST /menu/modifier/group - Create a new Menu Modifier Group
@@ -2095,8 +2095,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2095
2095
  * @param body
2096
2096
  * @param options - additional request options
2097
2097
  */
2098
- post_menu_modifier_group(body, options) {
2099
- return this.request("menu", "post_menu_modifier_group", "post", `/menu/modifier/group`, body, options);
2098
+ create_modifier_group(body, options) {
2099
+ return this.request("menu", "create_modifier_group", "post", `/menu/modifier/group`, body, options);
2100
2100
  }
2101
2101
  /**
2102
2102
  * GET /menu/modifier/group/{id} - Get a Menu Modifier Group
@@ -2104,8 +2104,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2104
2104
  * @param id - modifier_group
2105
2105
  * @param options - additional request options
2106
2106
  */
2107
- get_menu_modifier_group(id, options) {
2108
- return this.request("menu", "get_menu_modifier_group", "get", `/menu/modifier/group/${id}`, null, options);
2107
+ get_modifier_group(id, options) {
2108
+ return this.request("menu", "get_modifier_group", "get", `/menu/modifier/group/${id}`, null, options);
2109
2109
  }
2110
2110
  /**
2111
2111
  * PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
@@ -2114,8 +2114,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2114
2114
  * @param body
2115
2115
  * @param options - additional request options
2116
2116
  */
2117
- put_menu_modifier_group(id, body, options) {
2118
- return this.request("menu", "put_menu_modifier_group", "put", `/menu/modifier/group/${id}`, body, options);
2117
+ update_modifier_group(id, body, options) {
2118
+ return this.request("menu", "update_modifier_group", "put", `/menu/modifier/group/${id}`, body, options);
2119
2119
  }
2120
2120
  /**
2121
2121
  * DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
@@ -2123,8 +2123,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2123
2123
  * @param id - modifier_group
2124
2124
  * @param options - additional request options
2125
2125
  */
2126
- delete_menu_modifier_group(id, options) {
2127
- return this.request("menu", "delete_menu_modifier_group", "delete", `/menu/modifier/group/${id}`, null, options);
2126
+ delete_modifier_group(id, options) {
2127
+ return this.request("menu", "delete_modifier_group", "delete", `/menu/modifier/group/${id}`, null, options);
2128
2128
  }
2129
2129
  /**
2130
2130
  * GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
@@ -2132,8 +2132,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2132
2132
  * @param company - Company ID
2133
2133
  * @param options - additional request options
2134
2134
  */
2135
- get_menu_company_modifier_groups(company, options) {
2136
- return this.request("menu", "get_menu_company_modifier_groups", "get", `/menu/modifier/group/company/${company}`, null, options);
2135
+ get_company_modifier_groups(company, options) {
2136
+ return this.request("menu", "get_company_modifier_groups", "get", `/menu/modifier/group/company/${company}`, null, options);
2137
2137
  }
2138
2138
  /**
2139
2139
  * GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
@@ -2141,8 +2141,8 @@ class ServiceClient extends base_1.BaseServiceClient {
2141
2141
  * @param company - Company ID
2142
2142
  * @param options - additional request options
2143
2143
  */
2144
- get_menu_company_modifier_groups_export(company, options) {
2145
- return this.request("menu", "get_menu_company_modifier_groups_export", "get", `/menu/modifier/group/company/${company}/export`, null, options);
2144
+ get_company_modifier_groups_export(company, options) {
2145
+ return this.request("menu", "get_company_modifier_groups_export", "get", `/menu/modifier/group/company/${company}/export`, null, options);
2146
2146
  }
2147
2147
  /**
2148
2148
  * GET /menu/{id}/export - Export menu set to zipped excel file.
@@ -2878,29 +2878,29 @@ class ServiceClient extends base_1.BaseServiceClient {
2878
2878
  return this.request("menu", "get_menu_v3_draft_category_relationships_items_count", "get", `/menu/v3/draft/category/relationships/items/count`, null, options);
2879
2879
  }
2880
2880
  /**
2881
- * GET /menu/v3/category/relationships/modifier-group/{id}
2881
+ * GET /menu/v3/category/relationships/item/{id}
2882
2882
  *
2883
2883
  * @param id
2884
2884
  * @param options - additional request options
2885
2885
  */
2886
- get_menu_v3_category_relationships_modifier_group(id, options) {
2887
- return this.request("menu", "get_menu_v3_category_relationships_modifier_group", "get", `/menu/v3/category/relationships/modifier-group/${id}`, null, options);
2886
+ get_menu_v3_category_relationships_item(id, options) {
2887
+ return this.request("menu", "get_menu_v3_category_relationships_item", "get", `/menu/v3/category/relationships/item/${id}`, null, options);
2888
2888
  }
2889
2889
  /**
2890
- * GET /menu/v3/category/relationships/modifier-groups
2890
+ * GET /menu/v3/category/relationships/items
2891
2891
  *
2892
2892
  * @param options - additional request options
2893
2893
  */
2894
- get_menu_v3_category_relationships_modifier_groups(options) {
2895
- return this.request("menu", "get_menu_v3_category_relationships_modifier_groups", "get", `/menu/v3/category/relationships/modifier-groups`, null, options);
2894
+ get_menu_v3_category_relationships_items(options) {
2895
+ return this.request("menu", "get_menu_v3_category_relationships_items", "get", `/menu/v3/category/relationships/items`, null, options);
2896
2896
  }
2897
2897
  /**
2898
- * GET /menu/v3/category/relationships/modifier-groups/count
2898
+ * GET /menu/v3/category/relationships/items/count
2899
2899
  *
2900
2900
  * @param options - additional request options
2901
2901
  */
2902
- get_menu_v3_category_relationships_modifier_groups_count(options) {
2903
- return this.request("menu", "get_menu_v3_category_relationships_modifier_groups_count", "get", `/menu/v3/category/relationships/modifier-groups/count`, null, options);
2902
+ get_menu_v3_category_relationships_items_count(options) {
2903
+ return this.request("menu", "get_menu_v3_category_relationships_items_count", "get", `/menu/v3/category/relationships/items/count`, null, options);
2904
2904
  }
2905
2905
  /**
2906
2906
  * POST /menu/v3/draft/item
@@ -3165,6 +3165,15 @@ class ServiceClient extends base_1.BaseServiceClient {
3165
3165
  get_menu_v3_draft_modifier_groups_count(options) {
3166
3166
  return this.request("menu", "get_menu_v3_draft_modifier_groups_count", "get", `/menu/v3/draft/modifier-groups/count`, null, options);
3167
3167
  }
3168
+ /**
3169
+ * POST /menu/v3/draft/modifier-group/{id}/duplicate
3170
+ *
3171
+ * @param id
3172
+ * @param options - additional request options
3173
+ */
3174
+ post_menu_v3_draft_modifier_group_duplicate(id, options) {
3175
+ return this.request("menu", "post_menu_v3_draft_modifier_group_duplicate", "post", `/menu/v3/draft/modifier-group/${id}/duplicate`, null, options);
3176
+ }
3168
3177
  /**
3169
3178
  * GET /menu/v3/modifier-group/{id}
3170
3179
  *
@@ -3662,8 +3671,8 @@ class ServiceClient extends base_1.BaseServiceClient {
3662
3671
  * @param body
3663
3672
  * @param options - additional request options
3664
3673
  */
3665
- post_frictionless_StandardCognitionEventWebhookController_execute(body, options) {
3666
- return this.request("frictionless", "post_frictionless_StandardCognitionEventWebhookController_execute", "post", `/frictionless/webhook/standardcognition`, body, options);
3674
+ StandardCognitionEventWebhookController_execute(body, options) {
3675
+ return this.request("frictionless", "StandardCognitionEventWebhookController_execute", "post", `/frictionless/webhook/standardcognition`, body, options);
3667
3676
  }
3668
3677
  /**
3669
3678
  * GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
@@ -3671,8 +3680,8 @@ class ServiceClient extends base_1.BaseServiceClient {
3671
3680
  * @param id_brand - Brand ID as Encoded CDL ID
3672
3681
  * @param options - additional request options
3673
3682
  */
3674
- get_frictionless_CheckFrictionlessSupportController_execute(id_brand, options) {
3675
- return this.request("frictionless", "get_frictionless_CheckFrictionlessSupportController_execute", "get", `/frictionless/brand/${id_brand}/frictionless-status`, null, options);
3683
+ CheckFrictionlessSupportController_execute(id_brand, options) {
3684
+ return this.request("frictionless", "CheckFrictionlessSupportController_execute", "get", `/frictionless/brand/${id_brand}/frictionless-status`, null, options);
3676
3685
  }
3677
3686
  /**
3678
3687
  * POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
@@ -3680,16 +3689,16 @@ class ServiceClient extends base_1.BaseServiceClient {
3680
3689
  * @param body
3681
3690
  * @param options - additional request options
3682
3691
  */
3683
- post_frictionless_CreateQRCodeUserCheckInController_execute(body, options) {
3684
- return this.request("frictionless", "post_frictionless_CreateQRCodeUserCheckInController_execute", "post", `/frictionless/qrcode`, body, options);
3692
+ CreateQRCodeUserCheckInController_execute(body, options) {
3693
+ return this.request("frictionless", "CreateQRCodeUserCheckInController_execute", "post", `/frictionless/qrcode`, body, options);
3685
3694
  }
3686
3695
  /**
3687
3696
  * GET /frictionless/failed-checkins - List check-ins on error
3688
3697
  *
3689
3698
  * @param options - additional request options
3690
3699
  */
3691
- get_frictionless_ListFailedCheckinsController_execute(options) {
3692
- return this.request("frictionless", "get_frictionless_ListFailedCheckinsController_execute", "get", `/frictionless/failed-checkins`, null, options);
3700
+ ListFailedCheckinsController_execute(options) {
3701
+ return this.request("frictionless", "ListFailedCheckinsController_execute", "get", `/frictionless/failed-checkins`, null, options);
3693
3702
  }
3694
3703
  /**
3695
3704
  * POST /frictionless/checkin/{id_checkin}/reprocess - Reprocess checkin on error
@@ -3697,8 +3706,8 @@ class ServiceClient extends base_1.BaseServiceClient {
3697
3706
  * @param id_checkin - TODO: add parameter to swagger.json
3698
3707
  * @param options - additional request options
3699
3708
  */
3700
- post_frictionless_ReprocessCheckinOnErrorController_execute(id_checkin, options) {
3701
- return this.request("frictionless", "post_frictionless_ReprocessCheckinOnErrorController_execute", "post", `/frictionless/checkin/${id_checkin}/reprocess`, null, options);
3709
+ ReprocessCheckinOnErrorController_execute(id_checkin, options) {
3710
+ return this.request("frictionless", "ReprocessCheckinOnErrorController_execute", "post", `/frictionless/checkin/${id_checkin}/reprocess`, null, options);
3702
3711
  }
3703
3712
  /**
3704
3713
  * GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn status
@@ -3706,8 +3715,26 @@ class ServiceClient extends base_1.BaseServiceClient {
3706
3715
  * @param id_checkin - TODO: add parameter to swagger.json
3707
3716
  * @param options - additional request options
3708
3717
  */
3709
- get_frictionless_CheckCheckinStatusController_execute(id_checkin, options) {
3710
- return this.request("frictionless", "get_frictionless_CheckCheckinStatusController_execute", "get", `/frictionless/checkin/${id_checkin}/status`, null, options);
3718
+ CheckCheckinStatusController_execute(id_checkin, options) {
3719
+ return this.request("frictionless", "CheckCheckinStatusController_execute", "get", `/frictionless/checkin/${id_checkin}/status`, null, options);
3720
+ }
3721
+ /**
3722
+ * POST /ai/language/generate - Generate text from a given prompt
3723
+ *
3724
+ * @param body
3725
+ * @param options - additional request options
3726
+ */
3727
+ post_ai_language_generate(body, options) {
3728
+ return this.request("ai", "post_ai_language_generate", "post", `/ai/language/generate`, body, options);
3729
+ }
3730
+ /**
3731
+ * POST /ai/image/generate - Generate image from a given prompt
3732
+ *
3733
+ * @param body
3734
+ * @param options - additional request options
3735
+ */
3736
+ post_ai_image_generate(body, options) {
3737
+ return this.request("ai", "post_ai_image_generate", "post", `/ai/image/generate`, body, options);
3711
3738
  }
3712
3739
  }
3713
3740
  exports.ServiceClient = ServiceClient;