@compassdigital/sdk.typescript 4.572.0 → 4.573.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.572.0",
3
+ "version": "4.573.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -1021,6 +1021,8 @@ import {
1021
1021
  DeleteMenuV4ModifierGroupModifiersDetachResponse,
1022
1022
  GetMenuV4ModifierGroupAttachableModifiersQuery,
1023
1023
  GetMenuV4ModifierGroupAttachableModifiersResponse,
1024
+ GetMenuV4ModifierGroupItemsQuery,
1025
+ GetMenuV4ModifierGroupItemsResponse,
1024
1026
  PatchMenuV4StockBusinessUnitBody,
1025
1027
  PatchMenuV4StockBusinessUnitResponse,
1026
1028
  PatchMenuV4StockBody,
@@ -11857,6 +11859,28 @@ export class ServiceClient extends BaseServiceClient {
11857
11859
  );
11858
11860
  }
11859
11861
 
11862
+ /**
11863
+ * GET /menu/v4/modifier-group/{id}/items
11864
+ *
11865
+ * @param id
11866
+ * @param options - additional request options
11867
+ */
11868
+ get_menu_v4_modifier_group_items(
11869
+ id: string,
11870
+ options?: {
11871
+ query?: GetMenuV4ModifierGroupItemsQuery;
11872
+ } & RequestOptions,
11873
+ ): ResponsePromise<GetMenuV4ModifierGroupItemsResponse> {
11874
+ return this.request(
11875
+ 'menu',
11876
+ '/menu/v4/modifier-group/{id}/items',
11877
+ 'GET',
11878
+ `/menu/v4/modifier-group/${id}/items`,
11879
+ null,
11880
+ options,
11881
+ );
11882
+ }
11883
+
11860
11884
  /**
11861
11885
  * PATCH /menu/v4/stock/business-unit
11862
11886
  *
@@ -181,6 +181,8 @@ export interface Tender {
181
181
  type?: string;
182
182
  id?: string;
183
183
  tax_exempt?: boolean;
184
+ // When true, declining-balance meal plan tenders use the stipend split flow (e.g. secondary card split) where platform rules enforce it. Centric Atrium uses this for the Stipend tender row (type remains declining_balance). Omitted or false means off.
185
+ stipend_split?: boolean;
184
186
  }
185
187
 
186
188
  export interface HealthResponse {
@@ -10764,6 +10764,38 @@ export interface GetMenuV4ModifierGroupAttachableModifiersRequest
10764
10764
  RequestQuery<GetMenuV4ModifierGroupAttachableModifiersQuery>,
10765
10765
  GetMenuV4ModifierGroupAttachableModifiersPath {}
10766
10766
 
10767
+ // GET /menu/v4/modifier-group/{id}/items
10768
+
10769
+ export interface GetMenuV4ModifierGroupItemsPath {
10770
+ id: string;
10771
+ }
10772
+
10773
+ export interface GetMenuV4ModifierGroupItemsQuery {
10774
+ // If specified, only the selected fields will be returned
10775
+ select?: string[];
10776
+ // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
10777
+ relationships?: string[];
10778
+ // Number of records to load per page
10779
+ limit?: number;
10780
+ page?: number;
10781
+ // A field to sort the results based on
10782
+ sort_by?: string;
10783
+ sort_order?: 'DESC' | 'ASC';
10784
+ // How soft deleted records should be shown in the list
10785
+ soft_deleted?: 'include' | 'exclude' | 'only';
10786
+ }
10787
+
10788
+ export interface GetMenuV4ModifierGroupItemsResponse {
10789
+ results: DraftItemToModifierGroupRelationshipDTO[];
10790
+ meta?: ListResponseMetadataDTO;
10791
+ [index: string]: any;
10792
+ }
10793
+
10794
+ export interface GetMenuV4ModifierGroupItemsRequest
10795
+ extends BaseRequest,
10796
+ RequestQuery<GetMenuV4ModifierGroupItemsQuery>,
10797
+ GetMenuV4ModifierGroupItemsPath {}
10798
+
10767
10799
  // PATCH /menu/v4/stock/business-unit
10768
10800
 
10769
10801
  export interface PatchMenuV4StockBusinessUnitBody {