@compassdigital/sdk.typescript 4.139.0 → 4.142.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.
@@ -0,0 +1,202 @@
1
+ import { RequestQuery, BaseRequest } from './util';
2
+ export interface CatalogResponseDTO {
3
+ id: number;
4
+ parent_id: number | null;
5
+ name: string;
6
+ display: Record<string, any>;
7
+ meta: Record<string, any> | null;
8
+ items: Record<string, any> | null;
9
+ }
10
+ export type CatalogItemResponseDTO = Record<string, any>;
11
+ export interface PaginationQueryDTO {
12
+ page?: number;
13
+ limit?: number;
14
+ sort_by?: string;
15
+ order?: 'ASC' | 'DESC';
16
+ }
17
+ export type FilterQueryDTO = Record<string, any>;
18
+ export interface ListParamsDTO {
19
+ pagination?: PaginationQueryDTO;
20
+ filter?: FilterQueryDTO;
21
+ }
22
+ export type CatalogItemsListResponseDTO = Record<string, any>;
23
+ export interface SearchConditionDTO {
24
+ contains?: string;
25
+ equals?: Record<string, any>;
26
+ moreThan?: Record<string, any>;
27
+ lessThan?: Record<string, any>;
28
+ not?: Record<string, any>;
29
+ in?: string[];
30
+ arrayContains?: string[];
31
+ moreThanOrEqual?: Record<string, any>;
32
+ lessThanOrEqual?: Record<string, any>;
33
+ }
34
+ export type BaseItemDTO = Record<string, any>;
35
+ export interface GetCatalogStatusQuery {
36
+ _query?: string;
37
+ }
38
+ export type GetCatalogStatusResponse = {};
39
+ export interface GetCatalogStatusRequest extends BaseRequest, RequestQuery<GetCatalogStatusQuery> {
40
+ }
41
+ export interface GetCatalogConnectionsStatusQuery {
42
+ _query?: string;
43
+ }
44
+ export type GetCatalogConnectionsStatusResponse = {};
45
+ export interface GetCatalogConnectionsStatusRequest extends BaseRequest, RequestQuery<GetCatalogConnectionsStatusQuery> {
46
+ }
47
+ export interface PostCatalogBody {
48
+ name?: string;
49
+ display?: Record<string, any>;
50
+ parent_id?: number | null;
51
+ meta?: Record<string, any>;
52
+ }
53
+ export type PostCatalogResponse = CatalogResponseDTO;
54
+ export interface PostCatalogRequest extends BaseRequest {
55
+ body: PostCatalogBody;
56
+ }
57
+ export interface PatchCatalogPath {
58
+ id: number;
59
+ }
60
+ export interface PatchCatalogBody {
61
+ name?: string | null;
62
+ display?: Record<string, any> | null;
63
+ parent_id?: number | null;
64
+ meta?: Record<string, any> | null;
65
+ }
66
+ export type PatchCatalogResponse = CatalogResponseDTO;
67
+ export interface PatchCatalogRequest extends BaseRequest, PatchCatalogPath {
68
+ body: PatchCatalogBody;
69
+ }
70
+ export interface GetCatalogPath {
71
+ id: number;
72
+ }
73
+ export interface GetCatalogQuery {
74
+ _query?: string;
75
+ }
76
+ export type GetCatalogResponse = CatalogResponseDTO;
77
+ export interface GetCatalogRequest extends BaseRequest, RequestQuery<GetCatalogQuery>, GetCatalogPath {
78
+ }
79
+ export interface DeleteCatalogPath {
80
+ id: number;
81
+ }
82
+ export type DeleteCatalogResponse = CatalogResponseDTO;
83
+ export interface DeleteCatalogRequest extends BaseRequest, DeleteCatalogPath {
84
+ }
85
+ export interface PostCatalogItemPath {
86
+ id: number;
87
+ }
88
+ export interface PostCatalogItemBody {
89
+ base_item_id?: string;
90
+ name?: string;
91
+ catalog_item_id?: number | null;
92
+ label?: string | null;
93
+ description?: string | null;
94
+ price?: number | null;
95
+ overrides?: Record<string, any> | null;
96
+ options?: Record<string, any> | null;
97
+ meta?: Record<string, any> | null;
98
+ is_visible?: boolean | null;
99
+ is_out_of_stock?: boolean | null;
100
+ }
101
+ export type PostCatalogItemResponse = CatalogItemResponseDTO;
102
+ export interface PostCatalogItemRequest extends BaseRequest, PostCatalogItemPath {
103
+ body: PostCatalogItemBody;
104
+ }
105
+ export interface PostCatalogItemsBulkPath {
106
+ id: number;
107
+ }
108
+ export type PostCatalogItemsBulkBody = string[];
109
+ export type PostCatalogItemsBulkResponse = CatalogItemResponseDTO[];
110
+ export interface PostCatalogItemsBulkRequest extends BaseRequest, PostCatalogItemsBulkPath {
111
+ body: PostCatalogItemsBulkBody;
112
+ }
113
+ export interface PatchCatalogItemPath {
114
+ catalog_id: number;
115
+ id: number;
116
+ }
117
+ export interface PatchCatalogItemBody {
118
+ base_item_id?: string;
119
+ name?: string | null;
120
+ label?: string | null;
121
+ description?: string | null;
122
+ price?: number | null;
123
+ overrides?: Record<string, any> | null;
124
+ options?: Record<string, any> | null;
125
+ meta?: Record<string, any> | null;
126
+ is_visible?: boolean | null;
127
+ is_out_of_stock?: boolean | null;
128
+ }
129
+ export type PatchCatalogItemResponse = CatalogItemResponseDTO;
130
+ export interface PatchCatalogItemRequest extends BaseRequest, PatchCatalogItemPath {
131
+ body: PatchCatalogItemBody;
132
+ }
133
+ export interface DeleteCatalogItemPath {
134
+ catalog_id: number;
135
+ id: number;
136
+ }
137
+ export type DeleteCatalogItemResponse = CatalogItemResponseDTO;
138
+ export interface DeleteCatalogItemRequest extends BaseRequest, DeleteCatalogItemPath {
139
+ }
140
+ export interface PostListCatalogItemsPath {
141
+ id: number;
142
+ }
143
+ export type PostListCatalogItemsBody = ListParamsDTO;
144
+ export type PostListCatalogItemsResponse = CatalogItemsListResponseDTO;
145
+ export interface PostListCatalogItemsRequest extends BaseRequest, PostListCatalogItemsPath {
146
+ body: PostListCatalogItemsBody;
147
+ }
148
+ export interface GetListCatalogItemsPath {
149
+ id: number;
150
+ }
151
+ export interface GetListCatalogItemsQuery {
152
+ page: number;
153
+ limit: number;
154
+ sort_by: string;
155
+ order: string;
156
+ filter: FilterQueryDTO;
157
+ _query?: string;
158
+ }
159
+ export type GetListCatalogItemsResponse = CatalogItemsListResponseDTO;
160
+ export interface GetListCatalogItemsRequest extends BaseRequest, RequestQuery<GetListCatalogItemsQuery>, GetListCatalogItemsPath {
161
+ }
162
+ export interface PostCloneCatalogPath {
163
+ id: number;
164
+ }
165
+ export type PostCloneCatalogResponse = CatalogResponseDTO;
166
+ export interface PostCloneCatalogRequest extends BaseRequest, PostCloneCatalogPath {
167
+ }
168
+ export interface PostCatalogBaseItemBody {
169
+ name?: string;
170
+ description?: string | null;
171
+ price?: number | null;
172
+ barcode?: string | null;
173
+ reporting?: Record<string, any> | null;
174
+ tax?: Record<string, any> | null;
175
+ meta?: Record<string, any> | null;
176
+ }
177
+ export type PostCatalogBaseItemResponse = BaseItemDTO;
178
+ export interface PostCatalogBaseItemRequest extends BaseRequest {
179
+ body: PostCatalogBaseItemBody;
180
+ }
181
+ export interface GetCatalogBaseItemsQuery {
182
+ _query?: string;
183
+ }
184
+ export interface GetCatalogBaseItemsBody {
185
+ search?: string | null;
186
+ limit?: number;
187
+ offset?: number;
188
+ }
189
+ export type GetCatalogBaseItemsResponse = BaseItemDTO[];
190
+ export interface GetCatalogBaseItemsRequest extends BaseRequest, RequestQuery<GetCatalogBaseItemsQuery> {
191
+ body: GetCatalogBaseItemsBody;
192
+ }
193
+ export interface GetCatalogBaseItemPath {
194
+ id: string;
195
+ }
196
+ export interface GetCatalogBaseItemQuery {
197
+ _query?: string;
198
+ }
199
+ export type GetCatalogBaseItemResponse = BaseItemDTO;
200
+ export interface GetCatalogBaseItemRequest extends BaseRequest, RequestQuery<GetCatalogBaseItemQuery>, GetCatalogBaseItemPath {
201
+ }
202
+ //# sourceMappingURL=catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../src/interface/catalog.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,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E,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,MAAM,2BAA2B,GAAG,WAAW,CAAC;AAEtD,MAAM,WAAW,0BAA2B,SAAQ,WAAW;IAC9D,IAAI,EAAE,uBAAuB,CAAC;CAC9B;AAID,MAAM,WAAW,wBAAwB;IAExC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACvC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,2BAA2B,GAAG,WAAW,EAAE,CAAC;AAExD,MAAM,WAAW,0BAChB,SAAQ,WAAW,EAClB,YAAY,CAAC,wBAAwB,CAAC;IACvC,IAAI,EAAE,uBAAuB,CAAC;CAC9B;AAID,MAAM,WAAW,sBAAsB;IACtC,EAAE,EAAE,MAAM,CAAC;CACX;AAED,MAAM,WAAW,uBAAuB;IAEvC,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,MAAM,0BAA0B,GAAG,WAAW,CAAC;AAErD,MAAM,WAAW,yBAChB,SAAQ,WAAW,EAClB,YAAY,CAAC,uBAAuB,CAAC,EACrC,sBAAsB;CAAG"}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /* eslint-disable */
3
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ //# sourceMappingURL=catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../src/interface/catalog.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,sDAAsD"}
@@ -0,0 +1,14 @@
1
+ export interface FakeCommand {
2
+ id: string;
3
+ type: 'FakeCommand';
4
+ version: '0.0.1';
5
+ timestamp: string;
6
+ traceContext: {
7
+ traceId?: string;
8
+ };
9
+ payload: {
10
+ foo: string;
11
+ };
12
+ source: string;
13
+ }
14
+ //# sourceMappingURL=FakeCommand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FakeCommand.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/FakeCommand.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=FakeCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FakeCommand.js","sourceRoot":"","sources":["../../../src/messages/commands/FakeCommand.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
@@ -1,2 +1,3 @@
1
+ export { FakeCommand } from './FakeCommand';
1
2
  export { SendPushNotificationCommand } from './SendPushNotificationCommand';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/commands/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC"}
@@ -0,0 +1,14 @@
1
+ export interface FakeEvent {
2
+ id: string;
3
+ type: 'FakeEvent';
4
+ version: '0.0.1';
5
+ timestamp: string;
6
+ traceContext: {
7
+ traceId?: string;
8
+ };
9
+ payload: {
10
+ foo: string;
11
+ };
12
+ source: string;
13
+ }
14
+ //# sourceMappingURL=FakeEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FakeEvent.d.ts","sourceRoot":"","sources":["../../../src/messages/events/FakeEvent.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,SAAS;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,WAAW,CAAC;IAClB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE;QACb,OAAO,CAAC,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,OAAO,EAAE;QACR,GAAG,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,MAAM,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ //# sourceMappingURL=FakeEvent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FakeEvent.js","sourceRoot":"","sources":["../../../src/messages/events/FakeEvent.ts"],"names":[],"mappings":";AAAA,sDAAsD"}
@@ -1 +1,2 @@
1
+ export { FakeEvent } from './FakeEvent';
1
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/events/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/messages/events/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC"}
@@ -1,3 +1,4 @@
1
1
  "use strict";
2
2
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
3
+ Object.defineProperty(exports, "__esModule", { value: true });
3
4
  //# sourceMappingURL=index.js.map
package/manifest.json CHANGED
@@ -72,6 +72,10 @@
72
72
  "name": "menu",
73
73
  "swagger": "../../api/platform2/menu/swagger.json"
74
74
  },
75
+ {
76
+ "name": "catalog",
77
+ "swagger": "../../api/platform2/catalog/swagger.json"
78
+ },
75
79
  {
76
80
  "name": "notification",
77
81
  "swagger": "../../api/platform2/notification/swagger.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compassdigital/sdk.typescript",
3
- "version": "4.139.0",
3
+ "version": "4.142.0",
4
4
  "description": "Compass Digital Labs TypeScript SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./lib/index.js",