@compassdigital/sdk.typescript 4.19.0 → 4.21.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/src/index.ts CHANGED
@@ -9275,7 +9275,7 @@ export class ServiceClient extends BaseServiceClient {
9275
9275
  }
9276
9276
 
9277
9277
  /**
9278
- * GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in UTC.
9278
+ * GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in site's local timezone.
9279
9279
  *
9280
9280
  * @param location_group - TODO: add parameter to swagger.json
9281
9281
  * @param options - additional request options
@@ -9297,7 +9297,7 @@ export class ServiceClient extends BaseServiceClient {
9297
9297
  }
9298
9298
 
9299
9299
  /**
9300
- * PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in UTC.
9300
+ * PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
9301
9301
  *
9302
9302
  * @param location_group - TODO: add parameter to swagger.json
9303
9303
  * @param body
@@ -9319,7 +9319,7 @@ export class ServiceClient extends BaseServiceClient {
9319
9319
  }
9320
9320
 
9321
9321
  /**
9322
- * DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group.
9322
+ * DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group. Times are in site's local timezone.
9323
9323
  *
9324
9324
  * @param location_group - TODO: add parameter to swagger.json
9325
9325
  * @param options - additional request options
@@ -9339,11 +9339,13 @@ export class ServiceClient extends BaseServiceClient {
9339
9339
  }
9340
9340
 
9341
9341
  /**
9342
- * GET /centricos/report/config/default - Get default report configuration. Times are in UTC.
9342
+ * GET /centricos/report/group/{location_group}/config/default - Get default report configuration. Times are in site's local timezone.
9343
9343
  *
9344
+ * @param location_group - TODO: add parameter to swagger.json
9344
9345
  * @param options - additional request options
9345
9346
  */
9346
9347
  get_centricos_report_config_default(
9348
+ location_group: string,
9347
9349
  options?: {
9348
9350
  query?: GetCentricosReportConfigDefaultQuery;
9349
9351
  } & RequestOptions
@@ -9352,7 +9354,7 @@ export class ServiceClient extends BaseServiceClient {
9352
9354
  "centricos",
9353
9355
  "get_centricos_report_config_default",
9354
9356
  "get",
9355
- `/centricos/report/config/default`,
9357
+ `/centricos/report/group/${location_group}/config/default`,
9356
9358
  null,
9357
9359
  options
9358
9360
  );
@@ -68,11 +68,6 @@ export interface ReportGroupConfigRequest {
68
68
  day_parts: DayPart[];
69
69
  }
70
70
 
71
- export interface ReportDefaultConfigResponse {
72
- day_time: string;
73
- day_parts: DayPart[];
74
- }
75
-
76
71
  export interface LookerEmbedURLResponse {
77
72
  url: string;
78
73
  }
@@ -146,7 +141,7 @@ export interface PostCentricosOrdersExportRequest
146
141
  extends BaseRequest,
147
142
  RequestQuery<PostCentricosOrdersExportQuery> {}
148
143
 
149
- // GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in UTC.
144
+ // GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in site's local timezone.
150
145
 
151
146
  export interface GetCentricosReportGroupConfigPath {
152
147
  // TODO: add parameter to swagger.json
@@ -165,7 +160,7 @@ export interface GetCentricosReportGroupConfigRequest
165
160
  RequestQuery<GetCentricosReportGroupConfigQuery>,
166
161
  GetCentricosReportGroupConfigPath {}
167
162
 
168
- // PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in UTC.
163
+ // PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
169
164
 
170
165
  export interface PutCentricosReportGroupConfigPath {
171
166
  // TODO: add parameter to swagger.json
@@ -182,7 +177,7 @@ export interface PutCentricosReportGroupConfigRequest
182
177
  body: PutCentricosReportGroupConfigBody;
183
178
  }
184
179
 
185
- // DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group.
180
+ // DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group. Times are in site's local timezone.
186
181
 
187
182
  export interface DeleteCentricosReportGroupConfigPath {
188
183
  // TODO: add parameter to swagger.json
@@ -195,18 +190,24 @@ export interface DeleteCentricosReportGroupConfigRequest
195
190
  extends BaseRequest,
196
191
  DeleteCentricosReportGroupConfigPath {}
197
192
 
198
- // GET /centricos/report/config/default - Get default report configuration. Times are in UTC.
193
+ // GET /centricos/report/group/{location_group}/config/default - Get default report configuration. Times are in site's local timezone.
194
+
195
+ export interface GetCentricosReportConfigDefaultPath {
196
+ // TODO: add parameter to swagger.json
197
+ location_group: string;
198
+ }
199
199
 
200
200
  export interface GetCentricosReportConfigDefaultQuery {
201
201
  // Graphql query string
202
202
  _query?: string;
203
203
  }
204
204
 
205
- export type GetCentricosReportConfigDefaultResponse = ReportDefaultConfigResponse;
205
+ export type GetCentricosReportConfigDefaultResponse = ReportGroupConfigResponse;
206
206
 
207
207
  export interface GetCentricosReportConfigDefaultRequest
208
208
  extends BaseRequest,
209
- RequestQuery<GetCentricosReportConfigDefaultQuery> {}
209
+ RequestQuery<GetCentricosReportConfigDefaultQuery>,
210
+ GetCentricosReportConfigDefaultPath {}
210
211
 
211
212
  // GET /centricos/looker/embedurl - Get a signed URL for looker embeding
212
213
 
@@ -281,6 +281,7 @@ export interface Group {
281
281
  [index: string]: any;
282
282
  };
283
283
  style?: Record<string, any>;
284
+ timezone?: string;
284
285
  [index: string]: any;
285
286
  }
286
287
 
@@ -1,5 +0,0 @@
1
- {
2
- "conventionalCommits.scopes": [
3
- "typescript.sdk"
4
- ]
5
- }