@compassdigital/sdk.typescript 4.150.0 → 4.151.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.
|
@@ -20,7 +20,7 @@ export interface Error {
|
|
|
20
20
|
message: string;
|
|
21
21
|
data: ErrorData;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface PostTimeslotsForBrandsBody {
|
|
24
24
|
brands: string[];
|
|
25
25
|
duration: number;
|
|
26
26
|
type: string;
|
|
@@ -46,8 +46,8 @@ export interface GetTimeslotsBrandQuery {
|
|
|
46
46
|
_query?: string;
|
|
47
47
|
}
|
|
48
48
|
export type GetTimeslotsBrandResponse = GetTimeslotResponse;
|
|
49
|
-
export type GetTimeslotsBrandsBody =
|
|
50
|
-
export type GetTimeslotsBrandsResponse =
|
|
49
|
+
export type GetTimeslotsBrandsBody = PostTimeslotsForBrandsBody;
|
|
50
|
+
export type GetTimeslotsBrandsResponse = PostTimeslotsForBrandsBody;
|
|
51
51
|
export type PostTimeslotsBrandIncrementBody = PostBrandIncrementRequest;
|
|
52
52
|
export type PostTimeslotsBrandIncrementResponse = {};
|
|
53
53
|
//# sourceMappingURL=timeslots.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeslots.d.ts","sourceRoot":"","sources":["../../src/interface/timeslots.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,QAAQ;IAExB,UAAU,EAAE,MAAM,CAAC;IAEnB,aAAa,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAEnC,SAAS,EAAE,QAAQ,EAAE,CAAC;CACtB;AAED,MAAM,WAAW,mBAAmB;IAEnC,KAAK,EAAE,MAAM,CAAC;IAEd,WAAW,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,SAAS;IAEzB,UAAU,EAAE,MAAM,CAAC;IAEnB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC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AE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,sBAAsB;IAEtC,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC;IAE5B,SAAS,EAAE,MAAM,CAAC;IAElB,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,yBAAyB,GAAG,mBAAmB,CAAC;AAI5D,MAAM,MAAM,sBAAsB,GAAG,0BAA0B,CAAC;AAEhE,MAAM,MAAM,0BAA0B,GAAG,0BAA0B,CAAC;AAIpE,MAAM,MAAM,+BAA+B,GAAG,yBAAyB,CAAC;AAExE,MAAM,MAAM,mCAAmC,GAAG,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@ export interface Error {
|
|
|
39
39
|
data: ErrorData;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export interface
|
|
42
|
+
export interface PostTimeslotsForBrandsBody {
|
|
43
43
|
// brands list
|
|
44
44
|
brands: string[];
|
|
45
45
|
// duration of timeslot
|
|
@@ -90,9 +90,9 @@ export type GetTimeslotsBrandResponse = GetTimeslotResponse;
|
|
|
90
90
|
|
|
91
91
|
// POST /timeslots/brands - Get timeslots for brands
|
|
92
92
|
|
|
93
|
-
export type GetTimeslotsBrandsBody =
|
|
93
|
+
export type GetTimeslotsBrandsBody = PostTimeslotsForBrandsBody;
|
|
94
94
|
|
|
95
|
-
export type GetTimeslotsBrandsResponse =
|
|
95
|
+
export type GetTimeslotsBrandsResponse = PostTimeslotsForBrandsBody;
|
|
96
96
|
|
|
97
97
|
// POST /timeslots/brand/increment - Update timeslots count for brands by key
|
|
98
98
|
|