@compassdigital/sdk.typescript 4.113.0 → 4.114.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.113.0",
3
+ "version": "4.114.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",
package/src/index.ts CHANGED
@@ -82,6 +82,8 @@ import {
82
82
  DeleteLocationResponse,
83
83
  PatchLocationBody,
84
84
  PatchLocationResponse,
85
+ PostLocationBatchGetBody,
86
+ PostLocationBatchGetResponse,
85
87
  GetLocationMultigroupsQuery,
86
88
  GetLocationMultigroupsResponse,
87
89
  PostLocationMultigroupBody,
@@ -106,6 +108,8 @@ import {
106
108
  DeleteLocationGroupResponse,
107
109
  PatchLocationGroupBody,
108
110
  PatchLocationGroupResponse,
111
+ PostLocationGroupBatchGetBody,
112
+ PostLocationGroupBatchGetResponse,
109
113
  GetLocationGroupWaittimesQuery,
110
114
  GetLocationGroupWaittimesResponse,
111
115
  GetLocationGroupDeliverydestinationsQuery,
@@ -1871,6 +1875,26 @@ export class ServiceClient extends BaseServiceClient {
1871
1875
  return this.request('location', '/location/{id}', 'patch', `/location/${id}`, body, options);
1872
1876
  }
1873
1877
 
1878
+ /**
1879
+ * POST /location/batch-get - Get multiple locations by their IDs
1880
+ *
1881
+ * @param body
1882
+ * @param options - additional request options
1883
+ */
1884
+ post_location_batch_get(
1885
+ body: PostLocationBatchGetBody,
1886
+ options?: RequestOptions,
1887
+ ): ResponsePromise<PostLocationBatchGetResponse> {
1888
+ return this.request(
1889
+ 'location',
1890
+ '/location/batch-get',
1891
+ 'post',
1892
+ `/location/batch-get`,
1893
+ body,
1894
+ options,
1895
+ );
1896
+ }
1897
+
1874
1898
  /**
1875
1899
  * GET /location/multigroup - Get all the top level multigroups
1876
1900
  *
@@ -2124,6 +2148,26 @@ export class ServiceClient extends BaseServiceClient {
2124
2148
  );
2125
2149
  }
2126
2150
 
2151
+ /**
2152
+ * POST /location/group/batch-get - Get multiple location groups by their IDs
2153
+ *
2154
+ * @param body
2155
+ * @param options - additional request options
2156
+ */
2157
+ post_location_group_batch_get(
2158
+ body: PostLocationGroupBatchGetBody,
2159
+ options?: RequestOptions,
2160
+ ): ResponsePromise<PostLocationGroupBatchGetResponse> {
2161
+ return this.request(
2162
+ 'location',
2163
+ '/location/group/batch-get',
2164
+ 'post',
2165
+ `/location/group/batch-get`,
2166
+ body,
2167
+ options,
2168
+ );
2169
+ }
2170
+
2127
2171
  /**
2128
2172
  * GET /location/group/{id}/waittimes - Get an individual Group's estimated wait times based on id
2129
2173
  *
@@ -602,6 +602,18 @@ export interface PatchLocationRequest extends BaseRequest, PatchLocationPath {
602
602
  body: PatchLocationBody;
603
603
  }
604
604
 
605
+ // POST /location/batch-get - Get multiple locations by their IDs
606
+
607
+ export interface PostLocationBatchGetBody {
608
+ ids?: string[];
609
+ }
610
+
611
+ export type PostLocationBatchGetResponse = Locations;
612
+
613
+ export interface PostLocationBatchGetRequest extends BaseRequest {
614
+ body: PostLocationBatchGetBody;
615
+ }
616
+
605
617
  // GET /location/multigroup - Get all the top level multigroups
606
618
 
607
619
  export interface GetLocationMultigroupsQuery {
@@ -830,6 +842,18 @@ export interface PatchLocationGroupRequest extends BaseRequest, PatchLocationGro
830
842
  body: PatchLocationGroupBody;
831
843
  }
832
844
 
845
+ // POST /location/group/batch-get - Get multiple location groups by their IDs
846
+
847
+ export interface PostLocationGroupBatchGetBody {
848
+ ids?: string[];
849
+ }
850
+
851
+ export type PostLocationGroupBatchGetResponse = Groups;
852
+
853
+ export interface PostLocationGroupBatchGetRequest extends BaseRequest {
854
+ body: PostLocationGroupBatchGetBody;
855
+ }
856
+
833
857
  // GET /location/group/{id}/waittimes - Get an individual Group's estimated wait times based on id
834
858
 
835
859
  export interface GetLocationGroupWaittimesPath {