@aurigma/ng-backoffice-api-client 2.55.1
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/README.md +79 -0
- package/aurigma-ng-backoffice-api-client.d.ts +4 -0
- package/aurigma-ng-backoffice-api-client.metadata.json +1 -0
- package/bundles/aurigma-ng-backoffice-api-client.umd.js +5377 -0
- package/bundles/aurigma-ng-backoffice-api-client.umd.js.map +1 -0
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js +2 -0
- package/bundles/aurigma-ng-backoffice-api-client.umd.min.js.map +1 -0
- package/esm2015/aurigma-ng-backoffice-api-client.js +5 -0
- package/esm2015/lib/backoffice-api-client.js +4211 -0
- package/esm2015/lib/backoffice.module.js +35 -0
- package/esm2015/public-api.js +6 -0
- package/fesm2015/aurigma-ng-backoffice-api-client.js +4245 -0
- package/fesm2015/aurigma-ng-backoffice-api-client.js.map +1 -0
- package/lib/backoffice-api-client.d.ts +1904 -0
- package/lib/backoffice.module.d.ts +6 -0
- package/package.json +31 -0
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,1904 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { HttpClient, HttpResponseBase } from '@angular/common/http';
|
|
4
|
+
export declare const API_BASE_URL: InjectionToken<string>;
|
|
5
|
+
export declare class ApiClientConfiguration {
|
|
6
|
+
apiUrl: string;
|
|
7
|
+
apiKey: string;
|
|
8
|
+
private authorizationToken;
|
|
9
|
+
getAuthorizationToken(): Promise<string>;
|
|
10
|
+
setAuthorizationToken(token: string): void;
|
|
11
|
+
}
|
|
12
|
+
export declare class ApiClientBase {
|
|
13
|
+
private configuration;
|
|
14
|
+
constructor(configuration: ApiClientConfiguration);
|
|
15
|
+
protected transformOptions(options: any): Promise<any>;
|
|
16
|
+
protected getBaseUrl(defultUrl: string): string;
|
|
17
|
+
protected transformResult(url: string, res: HttpResponseBase, cb: (res: HttpResponseBase) => Observable<any>): Observable<any>;
|
|
18
|
+
}
|
|
19
|
+
export interface IBuildInfoApiClient {
|
|
20
|
+
/**
|
|
21
|
+
* Returns assembly build info.
|
|
22
|
+
* @return Success
|
|
23
|
+
*/
|
|
24
|
+
headInfo(): Observable<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Returns assembly build info.
|
|
27
|
+
* @return Success
|
|
28
|
+
*/
|
|
29
|
+
getInfo(): Observable<BuildInfoModel>;
|
|
30
|
+
}
|
|
31
|
+
export declare class BuildInfoApiClient extends ApiClientBase implements IBuildInfoApiClient {
|
|
32
|
+
private http;
|
|
33
|
+
private baseUrl;
|
|
34
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
35
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
36
|
+
/**
|
|
37
|
+
* Returns assembly build info.
|
|
38
|
+
* @return Success
|
|
39
|
+
*/
|
|
40
|
+
headInfo(): Observable<void>;
|
|
41
|
+
protected processHeadInfo(response: HttpResponseBase): Observable<void>;
|
|
42
|
+
/**
|
|
43
|
+
* Returns assembly build info.
|
|
44
|
+
* @return Success
|
|
45
|
+
*/
|
|
46
|
+
getInfo(): Observable<BuildInfoModel>;
|
|
47
|
+
protected processGetInfo(response: HttpResponseBase): Observable<BuildInfoModel>;
|
|
48
|
+
}
|
|
49
|
+
export interface IProductReferencesManagementApiClient {
|
|
50
|
+
/**
|
|
51
|
+
* Returns all storefront product references relevant to the specified query parameters.
|
|
52
|
+
* @param storefrontId Storefront identifier.
|
|
53
|
+
* @param productReference (optional) Product reference filter.
|
|
54
|
+
Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
|
|
55
|
+
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
56
|
+
* @param productId (optional) Customer's Canvas product filter.
|
|
57
|
+
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
58
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
59
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
60
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
61
|
+
* @param search (optional) Search string for partial match.
|
|
62
|
+
* @param sku (optional) SKU filter.
|
|
63
|
+
* @param tags (optional) List of tags that product should have.
|
|
64
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
65
|
+
* @param tenantId (optional) Tenant identifier.
|
|
66
|
+
* @return Success
|
|
67
|
+
*/
|
|
68
|
+
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
69
|
+
/**
|
|
70
|
+
* Creates a new storefront product reference.
|
|
71
|
+
* @param storefrontId Storefront identifier.
|
|
72
|
+
* @param tenantId (optional) Tenant identifier.
|
|
73
|
+
* @param body (optional) Create operation parameters.
|
|
74
|
+
* @return Success
|
|
75
|
+
*/
|
|
76
|
+
create(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProductReferenceDto | null | undefined): Observable<ProductReferenceDto>;
|
|
77
|
+
/**
|
|
78
|
+
* Returns a storefront product reference.
|
|
79
|
+
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
80
|
+
* @param storefrontId Storefront identifier.
|
|
81
|
+
* @param tenantId (optional) Tenant identifier.
|
|
82
|
+
* @return Success
|
|
83
|
+
*/
|
|
84
|
+
get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductReferenceDto>;
|
|
85
|
+
/**
|
|
86
|
+
* Deletes the storefront product reference.
|
|
87
|
+
* @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
|
|
88
|
+
* @param storefrontId Storefront identifier.
|
|
89
|
+
* @param tenantId (optional) Tenant identifier.
|
|
90
|
+
* @return Success
|
|
91
|
+
*/
|
|
92
|
+
delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductReferenceDto>;
|
|
93
|
+
}
|
|
94
|
+
export declare class ProductReferencesManagementApiClient extends ApiClientBase implements IProductReferencesManagementApiClient {
|
|
95
|
+
private http;
|
|
96
|
+
private baseUrl;
|
|
97
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
98
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
99
|
+
/**
|
|
100
|
+
* Returns all storefront product references relevant to the specified query parameters.
|
|
101
|
+
* @param storefrontId Storefront identifier.
|
|
102
|
+
* @param productReference (optional) Product reference filter.
|
|
103
|
+
Product reference is an external reference to Customer's Canvas product, e.g online store product identifier.
|
|
104
|
+
* @param productSpecificationId (optional) Customer's Canvas product specification filter.
|
|
105
|
+
* @param productId (optional) Customer's Canvas product filter.
|
|
106
|
+
* @param productLinkId (optional) Customer's Canvas product link filter.
|
|
107
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
108
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
109
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
110
|
+
* @param search (optional) Search string for partial match.
|
|
111
|
+
* @param sku (optional) SKU filter.
|
|
112
|
+
* @param tags (optional) List of tags that product should have.
|
|
113
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
114
|
+
* @param tenantId (optional) Tenant identifier.
|
|
115
|
+
* @return Success
|
|
116
|
+
*/
|
|
117
|
+
getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, productId?: number | null | undefined, productLinkId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductReferenceDto>;
|
|
118
|
+
protected processGetAll(response: HttpResponseBase): Observable<PagedOfProductReferenceDto>;
|
|
119
|
+
/**
|
|
120
|
+
* Creates a new storefront product reference.
|
|
121
|
+
* @param storefrontId Storefront identifier.
|
|
122
|
+
* @param tenantId (optional) Tenant identifier.
|
|
123
|
+
* @param body (optional) Create operation parameters.
|
|
124
|
+
* @return Success
|
|
125
|
+
*/
|
|
126
|
+
create(storefrontId: number, tenantId?: number | null | undefined, body?: CreateProductReferenceDto | null | undefined): Observable<ProductReferenceDto>;
|
|
127
|
+
protected processCreate(response: HttpResponseBase): Observable<ProductReferenceDto>;
|
|
128
|
+
/**
|
|
129
|
+
* Returns a storefront product reference.
|
|
130
|
+
* @param reference An external reference to Customer's Canvas product, e.g online store product identifier.
|
|
131
|
+
* @param storefrontId Storefront identifier.
|
|
132
|
+
* @param tenantId (optional) Tenant identifier.
|
|
133
|
+
* @return Success
|
|
134
|
+
*/
|
|
135
|
+
get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductReferenceDto>;
|
|
136
|
+
protected processGet(response: HttpResponseBase): Observable<ProductReferenceDto>;
|
|
137
|
+
/**
|
|
138
|
+
* Deletes the storefront product reference.
|
|
139
|
+
* @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier.
|
|
140
|
+
* @param storefrontId Storefront identifier.
|
|
141
|
+
* @param tenantId (optional) Tenant identifier.
|
|
142
|
+
* @return Success
|
|
143
|
+
*/
|
|
144
|
+
delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined): Observable<ProductReferenceDto>;
|
|
145
|
+
protected processDelete(response: HttpResponseBase): Observable<ProductReferenceDto>;
|
|
146
|
+
}
|
|
147
|
+
export interface IProductsManagementApiClient {
|
|
148
|
+
/**
|
|
149
|
+
* Returns all products, relevant to the specified query parameters.
|
|
150
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
151
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
152
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
153
|
+
* @param search (optional) Search string for partial match.
|
|
154
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
155
|
+
* @param tags (optional) List of tags that product should have.
|
|
156
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
157
|
+
* @param tenantId (optional) Tenant identifier.
|
|
158
|
+
* @return Success
|
|
159
|
+
*/
|
|
160
|
+
getAllProducts(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
161
|
+
/**
|
|
162
|
+
* Creates a new product and returns its description.
|
|
163
|
+
* @param tenantId (optional) Tenant identifier.
|
|
164
|
+
* @param body (optional)
|
|
165
|
+
* @return Success
|
|
166
|
+
*/
|
|
167
|
+
createProduct(tenantId?: number | null | undefined, body?: CreateProductDto | null | undefined): Observable<ProductDto>;
|
|
168
|
+
/**
|
|
169
|
+
* Returns a product by its identifier.
|
|
170
|
+
* @param id Product identifier.
|
|
171
|
+
* @param productVersionId (optional) Product version identifier.
|
|
172
|
+
* @param tenantId (optional) Tenant identifier.
|
|
173
|
+
* @return Success
|
|
174
|
+
*/
|
|
175
|
+
getProduct(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductDto>;
|
|
176
|
+
/**
|
|
177
|
+
* Deletes a product by its identifier.
|
|
178
|
+
* @param id Product identifier.
|
|
179
|
+
* @param tenantId (optional) Tenant identifier.
|
|
180
|
+
* @return Success
|
|
181
|
+
*/
|
|
182
|
+
deleteProduct(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
183
|
+
/**
|
|
184
|
+
* Returns a list of product options.
|
|
185
|
+
* @param id Product identifier.
|
|
186
|
+
* @param productVersionId (optional) Product version identifier.
|
|
187
|
+
* @param tenantId (optional) Tenant identifier.
|
|
188
|
+
* @return Success
|
|
189
|
+
*/
|
|
190
|
+
getProductOptions(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductOptionDto>;
|
|
191
|
+
/**
|
|
192
|
+
* Returns a list of product variants.
|
|
193
|
+
* @param id Product identifier.
|
|
194
|
+
* @param productVersionId (optional) Product version identifier.
|
|
195
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
196
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
197
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
198
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
199
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
200
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
201
|
+
* @param tenantId (optional) Tenant identifier.
|
|
202
|
+
* @return Success
|
|
203
|
+
*/
|
|
204
|
+
getProductVariants(id: number, productVersionId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDto>;
|
|
205
|
+
/**
|
|
206
|
+
* Returns a product variant.
|
|
207
|
+
* @param id Product identifier.
|
|
208
|
+
* @param productVariantId Product variant identifier.
|
|
209
|
+
* @param productVersionId (optional) Product version identifier.
|
|
210
|
+
* @param tenantId (optional) Tenant identifier.
|
|
211
|
+
* @return Success
|
|
212
|
+
*/
|
|
213
|
+
getProductVariant(id: number, productVariantId: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductVariantDto>;
|
|
214
|
+
/**
|
|
215
|
+
* Returns a list of product variant designs.
|
|
216
|
+
* @param id Product identifier.
|
|
217
|
+
* @param productVersionId (optional) Product version identifier.
|
|
218
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
219
|
+
* @param search (optional) Search string for design name partial match.
|
|
220
|
+
* @param designCustomFields (optional) Custom attributes dictionary filter for designs. For example: {"public":"true","name":"my item"}
|
|
221
|
+
* @param designPath (optional) Path filter for designs. Subfolders included by default.
|
|
222
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
223
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
224
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
225
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
226
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
227
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
228
|
+
* @param tenantId (optional) Tenant identifier.
|
|
229
|
+
* @return Success
|
|
230
|
+
*/
|
|
231
|
+
getProductVariantDesigns(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, designCustomFields?: string | null | undefined, designPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDesignDto>;
|
|
232
|
+
/**
|
|
233
|
+
* Returns a list of product variant mockups.
|
|
234
|
+
* @param id Product identifier.
|
|
235
|
+
* @param productVersionId (optional) Product version identifier.
|
|
236
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
237
|
+
* @param search (optional) Search string for design name partial match.
|
|
238
|
+
* @param mockupCustomFields (optional) Custom attributes dictionary filter for mockups. For example: {"public":"true","name":"my item"}
|
|
239
|
+
* @param mockupPath (optional) Path filter for mockups. Subfolders included by default.
|
|
240
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
241
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
242
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
243
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
244
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
245
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
246
|
+
* @param tenantId (optional) Tenant identifier.
|
|
247
|
+
* @return Success
|
|
248
|
+
*/
|
|
249
|
+
getProductVariantMockups(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, mockupCustomFields?: string | null | undefined, mockupPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantMockupDto>;
|
|
250
|
+
/**
|
|
251
|
+
* Returns a list of product variant documents.
|
|
252
|
+
* @param id Product identifier.
|
|
253
|
+
* @param productVersionId (optional) Product version identifier.
|
|
254
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
255
|
+
* @param search (optional) Search string for document name partial match.
|
|
256
|
+
* @param documentCustomFields (optional) Custom attributes dictionary filter for documents. For example: {"public":"true","name":"my item"}
|
|
257
|
+
* @param documentPath (optional) Path filter for documents. Subfolders included by default.
|
|
258
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
259
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
260
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
261
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
262
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
263
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
264
|
+
* @param tenantId (optional) Tenant identifier.
|
|
265
|
+
* @return Success
|
|
266
|
+
*/
|
|
267
|
+
getProductVariantDocuments(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, documentCustomFields?: string | null | undefined, documentPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDocumentDto>;
|
|
268
|
+
/**
|
|
269
|
+
* Set product variants price. Variants identifiers will be changed.
|
|
270
|
+
* @param id Product identifier.
|
|
271
|
+
* @param productVersionId (optional) Product version identifier.
|
|
272
|
+
* @param tenantId (optional) Tenant identifier.
|
|
273
|
+
* @param body (optional) Set product variants price operation parameters.
|
|
274
|
+
* @return Success
|
|
275
|
+
*/
|
|
276
|
+
setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Observable<void>;
|
|
277
|
+
/**
|
|
278
|
+
* Set product variants availability. Variants identifiers will be changed.
|
|
279
|
+
* @param id Product identifier.
|
|
280
|
+
* @param productVersionId (optional) Product version identifier.
|
|
281
|
+
* @param tenantId (optional) Tenant identifier.
|
|
282
|
+
* @param body (optional) Set product variants availability operation parameters.
|
|
283
|
+
* @return Success
|
|
284
|
+
*/
|
|
285
|
+
setProductVariantAvailability(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined): Observable<void>;
|
|
286
|
+
/**
|
|
287
|
+
* Set product variants SKU. Variants identifiers will be changed.
|
|
288
|
+
* @param id Product identifier.
|
|
289
|
+
* @param productVersionId (optional) Product version identifier.
|
|
290
|
+
* @param tenantId (optional) Tenant identifier.
|
|
291
|
+
* @param body (optional) Set product variants SKU operation parameters.
|
|
292
|
+
* @return Success
|
|
293
|
+
*/
|
|
294
|
+
setProductVariantSku(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined): Observable<void>;
|
|
295
|
+
/**
|
|
296
|
+
* Imports products from a specific CSV file and returns a list of imported products descriptions.
|
|
297
|
+
* @param tenantId (optional) Tenant identifier.
|
|
298
|
+
* @param file (optional)
|
|
299
|
+
* @return Success
|
|
300
|
+
*/
|
|
301
|
+
importProducts(tenantId?: number | null | undefined, file?: FileParameter | null | undefined): Observable<PagedOfProductDto>;
|
|
302
|
+
/**
|
|
303
|
+
* Creates new designs connections for a specified product.
|
|
304
|
+
* @param id Product identifier.
|
|
305
|
+
* @param tenantId (optional) Tenant identifier.
|
|
306
|
+
* @param body (optional) Product designs connections creation parameters.
|
|
307
|
+
* @return Success
|
|
308
|
+
*/
|
|
309
|
+
createDesignsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductDesignConnectionsDto | null | undefined): Observable<void>;
|
|
310
|
+
/**
|
|
311
|
+
* Removes designs connections for a specified product.
|
|
312
|
+
* @param id Product identifier.
|
|
313
|
+
* @param tenantId (optional) Tenant identifier.
|
|
314
|
+
* @param body (optional) Product designs connections creation parameters.
|
|
315
|
+
* @return Success
|
|
316
|
+
*/
|
|
317
|
+
removeDesignsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDesignConnectionsDto | null | undefined): Observable<void>;
|
|
318
|
+
/**
|
|
319
|
+
* Creates new mockups connections for a specified product.
|
|
320
|
+
* @param id Product identifier.
|
|
321
|
+
* @param tenantId (optional) Tenant identifier.
|
|
322
|
+
* @param body (optional) Product mockups connections creation parameters.
|
|
323
|
+
* @return Success
|
|
324
|
+
*/
|
|
325
|
+
createMockupsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductMockupConnectionsDto | null | undefined): Observable<void>;
|
|
326
|
+
/**
|
|
327
|
+
* Removes mockups connections for a specified product.
|
|
328
|
+
* @param id Product identifier.
|
|
329
|
+
* @param tenantId (optional) Tenant identifier.
|
|
330
|
+
* @param body (optional) Product mockups connections creation parameters.
|
|
331
|
+
* @return Success
|
|
332
|
+
*/
|
|
333
|
+
removeMockupsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductMockupConnectionsDto | null | undefined): Observable<void>;
|
|
334
|
+
/**
|
|
335
|
+
* Creates new documents connections for a specified product.
|
|
336
|
+
* @param id Product identifier.
|
|
337
|
+
* @param tenantId (optional) Tenant identifier.
|
|
338
|
+
* @param body (optional) Product documents connections creation parameters.
|
|
339
|
+
* @return Success
|
|
340
|
+
*/
|
|
341
|
+
createDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductDocumentConnectionsDto | null | undefined): Observable<void>;
|
|
342
|
+
/**
|
|
343
|
+
* Removes documents connections for a specified product.
|
|
344
|
+
* @param id Product identifier.
|
|
345
|
+
* @param tenantId (optional) Tenant identifier.
|
|
346
|
+
* @param body (optional) Product documents connections creation parameters.
|
|
347
|
+
* @return Success
|
|
348
|
+
*/
|
|
349
|
+
removeDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDocumentConnectionsDto | null | undefined): Observable<void>;
|
|
350
|
+
/**
|
|
351
|
+
* Returns all available product personalization workflows.
|
|
352
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
353
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
354
|
+
* @param search (optional) Search string for partial by personalization workflow name.
|
|
355
|
+
* @param tenantId (optional) Tenant identifier.
|
|
356
|
+
* @return Success
|
|
357
|
+
*/
|
|
358
|
+
getAvailablePersonalizationWorkflows(skip?: number | null | undefined, take?: number | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfPersonalizationWorkflowDto>;
|
|
359
|
+
/**
|
|
360
|
+
* Returns all available product processing pipelines.
|
|
361
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
362
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
363
|
+
* @param search (optional) Search string for partial by processing pipeline name.
|
|
364
|
+
* @param tenantId (optional) Tenant identifier.
|
|
365
|
+
* @return Success
|
|
366
|
+
*/
|
|
367
|
+
getAvailableProcessingPipelines(skip?: number | null | undefined, take?: number | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProcessingPipelineDto>;
|
|
368
|
+
}
|
|
369
|
+
export declare class ProductsManagementApiClient extends ApiClientBase implements IProductsManagementApiClient {
|
|
370
|
+
private http;
|
|
371
|
+
private baseUrl;
|
|
372
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
373
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
374
|
+
/**
|
|
375
|
+
* Returns all products, relevant to the specified query parameters.
|
|
376
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
377
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
378
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
379
|
+
* @param search (optional) Search string for partial match.
|
|
380
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
381
|
+
* @param tags (optional) List of tags that product should have.
|
|
382
|
+
* @param customFields (optional) Serialized custom fields dictionary filter. For example: {"public":"true","name":"my item"}.
|
|
383
|
+
* @param tenantId (optional) Tenant identifier.
|
|
384
|
+
* @return Success
|
|
385
|
+
*/
|
|
386
|
+
getAllProducts(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, sku?: string | null | undefined, tags?: string[] | null | undefined, customFields?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductDto>;
|
|
387
|
+
protected processGetAllProducts(response: HttpResponseBase): Observable<PagedOfProductDto>;
|
|
388
|
+
/**
|
|
389
|
+
* Creates a new product and returns its description.
|
|
390
|
+
* @param tenantId (optional) Tenant identifier.
|
|
391
|
+
* @param body (optional)
|
|
392
|
+
* @return Success
|
|
393
|
+
*/
|
|
394
|
+
createProduct(tenantId?: number | null | undefined, body?: CreateProductDto | null | undefined): Observable<ProductDto>;
|
|
395
|
+
protected processCreateProduct(response: HttpResponseBase): Observable<ProductDto>;
|
|
396
|
+
/**
|
|
397
|
+
* Returns a product by its identifier.
|
|
398
|
+
* @param id Product identifier.
|
|
399
|
+
* @param productVersionId (optional) Product version identifier.
|
|
400
|
+
* @param tenantId (optional) Tenant identifier.
|
|
401
|
+
* @return Success
|
|
402
|
+
*/
|
|
403
|
+
getProduct(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductDto>;
|
|
404
|
+
protected processGetProduct(response: HttpResponseBase): Observable<ProductDto>;
|
|
405
|
+
/**
|
|
406
|
+
* Deletes a product by its identifier.
|
|
407
|
+
* @param id Product identifier.
|
|
408
|
+
* @param tenantId (optional) Tenant identifier.
|
|
409
|
+
* @return Success
|
|
410
|
+
*/
|
|
411
|
+
deleteProduct(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
412
|
+
protected processDeleteProduct(response: HttpResponseBase): Observable<void>;
|
|
413
|
+
/**
|
|
414
|
+
* Returns a list of product options.
|
|
415
|
+
* @param id Product identifier.
|
|
416
|
+
* @param productVersionId (optional) Product version identifier.
|
|
417
|
+
* @param tenantId (optional) Tenant identifier.
|
|
418
|
+
* @return Success
|
|
419
|
+
*/
|
|
420
|
+
getProductOptions(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductOptionDto>;
|
|
421
|
+
protected processGetProductOptions(response: HttpResponseBase): Observable<PagedOfProductOptionDto>;
|
|
422
|
+
/**
|
|
423
|
+
* Returns a list of product variants.
|
|
424
|
+
* @param id Product identifier.
|
|
425
|
+
* @param productVersionId (optional) Product version identifier.
|
|
426
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
427
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
428
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
429
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
430
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
431
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
432
|
+
* @param tenantId (optional) Tenant identifier.
|
|
433
|
+
* @return Success
|
|
434
|
+
*/
|
|
435
|
+
getProductVariants(id: number, productVersionId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDto>;
|
|
436
|
+
protected processGetProductVariants(response: HttpResponseBase): Observable<PagedOfProductVariantDto>;
|
|
437
|
+
/**
|
|
438
|
+
* Returns a product variant.
|
|
439
|
+
* @param id Product identifier.
|
|
440
|
+
* @param productVariantId Product variant identifier.
|
|
441
|
+
* @param productVersionId (optional) Product version identifier.
|
|
442
|
+
* @param tenantId (optional) Tenant identifier.
|
|
443
|
+
* @return Success
|
|
444
|
+
*/
|
|
445
|
+
getProductVariant(id: number, productVariantId: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined): Observable<ProductVariantDto>;
|
|
446
|
+
protected processGetProductVariant(response: HttpResponseBase): Observable<ProductVariantDto>;
|
|
447
|
+
/**
|
|
448
|
+
* Returns a list of product variant designs.
|
|
449
|
+
* @param id Product identifier.
|
|
450
|
+
* @param productVersionId (optional) Product version identifier.
|
|
451
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
452
|
+
* @param search (optional) Search string for design name partial match.
|
|
453
|
+
* @param designCustomFields (optional) Custom attributes dictionary filter for designs. For example: {"public":"true","name":"my item"}
|
|
454
|
+
* @param designPath (optional) Path filter for designs. Subfolders included by default.
|
|
455
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
456
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
457
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
458
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
459
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
460
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
461
|
+
* @param tenantId (optional) Tenant identifier.
|
|
462
|
+
* @return Success
|
|
463
|
+
*/
|
|
464
|
+
getProductVariantDesigns(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, designCustomFields?: string | null | undefined, designPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDesignDto>;
|
|
465
|
+
protected processGetProductVariantDesigns(response: HttpResponseBase): Observable<PagedOfProductVariantDesignDto>;
|
|
466
|
+
/**
|
|
467
|
+
* Returns a list of product variant mockups.
|
|
468
|
+
* @param id Product identifier.
|
|
469
|
+
* @param productVersionId (optional) Product version identifier.
|
|
470
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
471
|
+
* @param search (optional) Search string for design name partial match.
|
|
472
|
+
* @param mockupCustomFields (optional) Custom attributes dictionary filter for mockups. For example: {"public":"true","name":"my item"}
|
|
473
|
+
* @param mockupPath (optional) Path filter for mockups. Subfolders included by default.
|
|
474
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
475
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
476
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
477
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
478
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
479
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
480
|
+
* @param tenantId (optional) Tenant identifier.
|
|
481
|
+
* @return Success
|
|
482
|
+
*/
|
|
483
|
+
getProductVariantMockups(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, mockupCustomFields?: string | null | undefined, mockupPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantMockupDto>;
|
|
484
|
+
protected processGetProductVariantMockups(response: HttpResponseBase): Observable<PagedOfProductVariantMockupDto>;
|
|
485
|
+
/**
|
|
486
|
+
* Returns a list of product variant documents.
|
|
487
|
+
* @param id Product identifier.
|
|
488
|
+
* @param productVersionId (optional) Product version identifier.
|
|
489
|
+
* @param productVariantId (optional) Product variant identifier.
|
|
490
|
+
* @param search (optional) Search string for document name partial match.
|
|
491
|
+
* @param documentCustomFields (optional) Custom attributes dictionary filter for documents. For example: {"public":"true","name":"my item"}
|
|
492
|
+
* @param documentPath (optional) Path filter for documents. Subfolders included by default.
|
|
493
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
494
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
495
|
+
* @param options (optional) Defines options filter e.g.: "{ "opt1_id": "opt1_val1_id, opt1_val2_id", "opt2_id": "opt2_val1_id" }".
|
|
496
|
+
* @param productFilterId (optional) Defines special filter based on product filter with specified identifier.
|
|
497
|
+
* @param takeAvailableOnly (optional) Defines special filter for available product variants.
|
|
498
|
+
* @param sku (optional) SKU of linked ecommerce product.
|
|
499
|
+
* @param tenantId (optional) Tenant identifier.
|
|
500
|
+
* @return Success
|
|
501
|
+
*/
|
|
502
|
+
getProductVariantDocuments(id: number, productVersionId?: number | null | undefined, productVariantId?: number | null | undefined, search?: string | null | undefined, documentCustomFields?: string | null | undefined, documentPath?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, options?: string | null | undefined, productFilterId?: number | null | undefined, takeAvailableOnly?: boolean | null | undefined, sku?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProductVariantDocumentDto>;
|
|
503
|
+
protected processGetProductVariantDocuments(response: HttpResponseBase): Observable<PagedOfProductVariantDocumentDto>;
|
|
504
|
+
/**
|
|
505
|
+
* Set product variants price. Variants identifiers will be changed.
|
|
506
|
+
* @param id Product identifier.
|
|
507
|
+
* @param productVersionId (optional) Product version identifier.
|
|
508
|
+
* @param tenantId (optional) Tenant identifier.
|
|
509
|
+
* @param body (optional) Set product variants price operation parameters.
|
|
510
|
+
* @return Success
|
|
511
|
+
*/
|
|
512
|
+
setProductVariantPrice(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantPriceDto | null | undefined): Observable<void>;
|
|
513
|
+
protected processSetProductVariantPrice(response: HttpResponseBase): Observable<void>;
|
|
514
|
+
/**
|
|
515
|
+
* Set product variants availability. Variants identifiers will be changed.
|
|
516
|
+
* @param id Product identifier.
|
|
517
|
+
* @param productVersionId (optional) Product version identifier.
|
|
518
|
+
* @param tenantId (optional) Tenant identifier.
|
|
519
|
+
* @param body (optional) Set product variants availability operation parameters.
|
|
520
|
+
* @return Success
|
|
521
|
+
*/
|
|
522
|
+
setProductVariantAvailability(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantAvailabilityDto | null | undefined): Observable<void>;
|
|
523
|
+
protected processSetProductVariantAvailability(response: HttpResponseBase): Observable<void>;
|
|
524
|
+
/**
|
|
525
|
+
* Set product variants SKU. Variants identifiers will be changed.
|
|
526
|
+
* @param id Product identifier.
|
|
527
|
+
* @param productVersionId (optional) Product version identifier.
|
|
528
|
+
* @param tenantId (optional) Tenant identifier.
|
|
529
|
+
* @param body (optional) Set product variants SKU operation parameters.
|
|
530
|
+
* @return Success
|
|
531
|
+
*/
|
|
532
|
+
setProductVariantSku(id: number, productVersionId?: number | null | undefined, tenantId?: number | null | undefined, body?: SetProductVariantSkuDto | null | undefined): Observable<void>;
|
|
533
|
+
protected processSetProductVariantSku(response: HttpResponseBase): Observable<void>;
|
|
534
|
+
/**
|
|
535
|
+
* Imports products from a specific CSV file and returns a list of imported products descriptions.
|
|
536
|
+
* @param tenantId (optional) Tenant identifier.
|
|
537
|
+
* @param file (optional)
|
|
538
|
+
* @return Success
|
|
539
|
+
*/
|
|
540
|
+
importProducts(tenantId?: number | null | undefined, file?: FileParameter | null | undefined): Observable<PagedOfProductDto>;
|
|
541
|
+
protected processImportProducts(response: HttpResponseBase): Observable<PagedOfProductDto>;
|
|
542
|
+
/**
|
|
543
|
+
* Creates new designs connections for a specified product.
|
|
544
|
+
* @param id Product identifier.
|
|
545
|
+
* @param tenantId (optional) Tenant identifier.
|
|
546
|
+
* @param body (optional) Product designs connections creation parameters.
|
|
547
|
+
* @return Success
|
|
548
|
+
*/
|
|
549
|
+
createDesignsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductDesignConnectionsDto | null | undefined): Observable<void>;
|
|
550
|
+
protected processCreateDesignsConnections(response: HttpResponseBase): Observable<void>;
|
|
551
|
+
/**
|
|
552
|
+
* Removes designs connections for a specified product.
|
|
553
|
+
* @param id Product identifier.
|
|
554
|
+
* @param tenantId (optional) Tenant identifier.
|
|
555
|
+
* @param body (optional) Product designs connections creation parameters.
|
|
556
|
+
* @return Success
|
|
557
|
+
*/
|
|
558
|
+
removeDesignsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDesignConnectionsDto | null | undefined): Observable<void>;
|
|
559
|
+
protected processRemoveDesignsConnections(response: HttpResponseBase): Observable<void>;
|
|
560
|
+
/**
|
|
561
|
+
* Creates new mockups connections for a specified product.
|
|
562
|
+
* @param id Product identifier.
|
|
563
|
+
* @param tenantId (optional) Tenant identifier.
|
|
564
|
+
* @param body (optional) Product mockups connections creation parameters.
|
|
565
|
+
* @return Success
|
|
566
|
+
*/
|
|
567
|
+
createMockupsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductMockupConnectionsDto | null | undefined): Observable<void>;
|
|
568
|
+
protected processCreateMockupsConnections(response: HttpResponseBase): Observable<void>;
|
|
569
|
+
/**
|
|
570
|
+
* Removes mockups connections for a specified product.
|
|
571
|
+
* @param id Product identifier.
|
|
572
|
+
* @param tenantId (optional) Tenant identifier.
|
|
573
|
+
* @param body (optional) Product mockups connections creation parameters.
|
|
574
|
+
* @return Success
|
|
575
|
+
*/
|
|
576
|
+
removeMockupsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductMockupConnectionsDto | null | undefined): Observable<void>;
|
|
577
|
+
protected processRemoveMockupsConnections(response: HttpResponseBase): Observable<void>;
|
|
578
|
+
/**
|
|
579
|
+
* Creates new documents connections for a specified product.
|
|
580
|
+
* @param id Product identifier.
|
|
581
|
+
* @param tenantId (optional) Tenant identifier.
|
|
582
|
+
* @param body (optional) Product documents connections creation parameters.
|
|
583
|
+
* @return Success
|
|
584
|
+
*/
|
|
585
|
+
createDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: CreateProductDocumentConnectionsDto | null | undefined): Observable<void>;
|
|
586
|
+
protected processCreateDocumentsConnections(response: HttpResponseBase): Observable<void>;
|
|
587
|
+
/**
|
|
588
|
+
* Removes documents connections for a specified product.
|
|
589
|
+
* @param id Product identifier.
|
|
590
|
+
* @param tenantId (optional) Tenant identifier.
|
|
591
|
+
* @param body (optional) Product documents connections creation parameters.
|
|
592
|
+
* @return Success
|
|
593
|
+
*/
|
|
594
|
+
removeDocumentsConnections(id: number, tenantId?: number | null | undefined, body?: RemoveProductDocumentConnectionsDto | null | undefined): Observable<void>;
|
|
595
|
+
protected processRemoveDocumentsConnections(response: HttpResponseBase): Observable<void>;
|
|
596
|
+
/**
|
|
597
|
+
* Returns all available product personalization workflows.
|
|
598
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
599
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
600
|
+
* @param search (optional) Search string for partial by personalization workflow name.
|
|
601
|
+
* @param tenantId (optional) Tenant identifier.
|
|
602
|
+
* @return Success
|
|
603
|
+
*/
|
|
604
|
+
getAvailablePersonalizationWorkflows(skip?: number | null | undefined, take?: number | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfPersonalizationWorkflowDto>;
|
|
605
|
+
protected processGetAvailablePersonalizationWorkflows(response: HttpResponseBase): Observable<PagedOfPersonalizationWorkflowDto>;
|
|
606
|
+
/**
|
|
607
|
+
* Returns all available product processing pipelines.
|
|
608
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
609
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
610
|
+
* @param search (optional) Search string for partial by processing pipeline name.
|
|
611
|
+
* @param tenantId (optional) Tenant identifier.
|
|
612
|
+
* @return Success
|
|
613
|
+
*/
|
|
614
|
+
getAvailableProcessingPipelines(skip?: number | null | undefined, take?: number | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfProcessingPipelineDto>;
|
|
615
|
+
protected processGetAvailableProcessingPipelines(response: HttpResponseBase): Observable<PagedOfProcessingPipelineDto>;
|
|
616
|
+
}
|
|
617
|
+
export interface IStorefrontsManagementApiClient {
|
|
618
|
+
/**
|
|
619
|
+
* Returns all storefronts, relevant to the specified query parameters.
|
|
620
|
+
* @param types (optional) Storefront type filter.
|
|
621
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
622
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
623
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
624
|
+
* @param search (optional) Search string for partial match.
|
|
625
|
+
* @param tenantId (optional) Tenant identifier.
|
|
626
|
+
* @return Success
|
|
627
|
+
*/
|
|
628
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
629
|
+
/**
|
|
630
|
+
* Returns a storefront by identifier.
|
|
631
|
+
* @param id Storefront identifier.
|
|
632
|
+
* @param tenantId (optional) Tenant identifier.
|
|
633
|
+
* @return Success
|
|
634
|
+
*/
|
|
635
|
+
get(id: number, tenantId?: number | null | undefined): Observable<StorefrontDto>;
|
|
636
|
+
/**
|
|
637
|
+
* Deletes an existing storefront by its identifier.
|
|
638
|
+
* @param id Storefront identifier.
|
|
639
|
+
* @param tenantId (optional) Tenant identifier.
|
|
640
|
+
* @return Success
|
|
641
|
+
*/
|
|
642
|
+
delete(id: number, tenantId?: number | null | undefined): Observable<StorefrontDto>;
|
|
643
|
+
/**
|
|
644
|
+
* Creates new custom storefront.
|
|
645
|
+
* @param tenantId (optional) Tenant identifier.
|
|
646
|
+
* @param body (optional) Custom storefront creation model.
|
|
647
|
+
* @return Success
|
|
648
|
+
*/
|
|
649
|
+
createCustomStorefront(tenantId?: number | null | undefined, body?: CreateCustomStorefrontDto | null | undefined): Observable<CustomStorefrontDto>;
|
|
650
|
+
/**
|
|
651
|
+
* Returns extended information about custom storefront.
|
|
652
|
+
* @param id Storefront identifier.
|
|
653
|
+
* @param tenantId (optional) Tenant identifier.
|
|
654
|
+
* @return Success
|
|
655
|
+
*/
|
|
656
|
+
getCustomStorefront(id: number, tenantId?: number | null | undefined): Observable<CustomStorefrontDto>;
|
|
657
|
+
/**
|
|
658
|
+
* Creates new NopCommerce storefront.
|
|
659
|
+
* @param tenantId (optional) Tenant identifier.
|
|
660
|
+
* @param body (optional) NopCommerce storefront creation model.
|
|
661
|
+
* @return Success
|
|
662
|
+
*/
|
|
663
|
+
createNopCommerceStorefront(tenantId?: number | null | undefined, body?: CreateNopCommerceStorefrontDto | null | undefined): Observable<NopCommerceStorefrontDto>;
|
|
664
|
+
/**
|
|
665
|
+
* Returns extended information about NopCommerce storefront.
|
|
666
|
+
* @param id Storefront identifier.
|
|
667
|
+
* @param tenantId (optional) Tenant identifier.
|
|
668
|
+
* @return Success
|
|
669
|
+
*/
|
|
670
|
+
getNopCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<NopCommerceStorefrontDto>;
|
|
671
|
+
/**
|
|
672
|
+
* Creates new WooCommerce storefront.
|
|
673
|
+
* @param tenantId (optional) Tenant identifier.
|
|
674
|
+
* @param body (optional) WooCommerce storefront creation model.
|
|
675
|
+
* @return Success
|
|
676
|
+
*/
|
|
677
|
+
createWooCommerceStorefront(tenantId?: number | null | undefined, body?: CreateWooCommerceStorefrontDto | null | undefined): Observable<WooCommerceStorefrontDto>;
|
|
678
|
+
/**
|
|
679
|
+
* Returns extended information about WooCommerce storefront.
|
|
680
|
+
* @param id Storefront identifier.
|
|
681
|
+
* @param tenantId (optional) Tenant identifier.
|
|
682
|
+
* @return Success
|
|
683
|
+
*/
|
|
684
|
+
getWooCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<WooCommerceStorefrontDto>;
|
|
685
|
+
/**
|
|
686
|
+
* Creates new Magento storefront.
|
|
687
|
+
* @param tenantId (optional) Tenant identifier.
|
|
688
|
+
* @param body (optional) Magento storefront creation model.
|
|
689
|
+
* @return Success
|
|
690
|
+
*/
|
|
691
|
+
createMagentoStorefront(tenantId?: number | null | undefined, body?: CreateMagentoStorefrontDto | null | undefined): Observable<MagentoStorefrontDto>;
|
|
692
|
+
/**
|
|
693
|
+
* Returns extended information about Magento storefront.
|
|
694
|
+
* @param id Storefront identifier.
|
|
695
|
+
* @param tenantId (optional) Tenant identifier.
|
|
696
|
+
* @return Success
|
|
697
|
+
*/
|
|
698
|
+
getMagentoStorefront(id: number, tenantId?: number | null | undefined): Observable<MagentoStorefrontDto>;
|
|
699
|
+
/**
|
|
700
|
+
* Creates new BigCommerce storefront.
|
|
701
|
+
* @param tenantId (optional) Tenant identifier.
|
|
702
|
+
* @param body (optional) BigCommerce storefront creation model.
|
|
703
|
+
* @return Success
|
|
704
|
+
*/
|
|
705
|
+
createBigCommerceStorefront(tenantId?: number | null | undefined, body?: CreateBigCommerceStorefrontDto | null | undefined): Observable<BigCommerceStorefrontDto>;
|
|
706
|
+
/**
|
|
707
|
+
* Returns extended information about BigCommerce storefront.
|
|
708
|
+
* @param id Storefront identifier.
|
|
709
|
+
* @param tenantId (optional) Tenant identifier.
|
|
710
|
+
* @return Success
|
|
711
|
+
*/
|
|
712
|
+
getBigCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<MagentoStorefrontDto>;
|
|
713
|
+
}
|
|
714
|
+
export declare class StorefrontsManagementApiClient extends ApiClientBase implements IStorefrontsManagementApiClient {
|
|
715
|
+
private http;
|
|
716
|
+
private baseUrl;
|
|
717
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
718
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
719
|
+
/**
|
|
720
|
+
* Returns all storefronts, relevant to the specified query parameters.
|
|
721
|
+
* @param types (optional) Storefront type filter.
|
|
722
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
723
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
724
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
725
|
+
* @param search (optional) Search string for partial match.
|
|
726
|
+
* @param tenantId (optional) Tenant identifier.
|
|
727
|
+
* @return Success
|
|
728
|
+
*/
|
|
729
|
+
getAll(types?: StorefrontType[] | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfStorefrontDto>;
|
|
730
|
+
protected processGetAll(response: HttpResponseBase): Observable<PagedOfStorefrontDto>;
|
|
731
|
+
/**
|
|
732
|
+
* Returns a storefront by identifier.
|
|
733
|
+
* @param id Storefront identifier.
|
|
734
|
+
* @param tenantId (optional) Tenant identifier.
|
|
735
|
+
* @return Success
|
|
736
|
+
*/
|
|
737
|
+
get(id: number, tenantId?: number | null | undefined): Observable<StorefrontDto>;
|
|
738
|
+
protected processGet(response: HttpResponseBase): Observable<StorefrontDto>;
|
|
739
|
+
/**
|
|
740
|
+
* Deletes an existing storefront by its identifier.
|
|
741
|
+
* @param id Storefront identifier.
|
|
742
|
+
* @param tenantId (optional) Tenant identifier.
|
|
743
|
+
* @return Success
|
|
744
|
+
*/
|
|
745
|
+
delete(id: number, tenantId?: number | null | undefined): Observable<StorefrontDto>;
|
|
746
|
+
protected processDelete(response: HttpResponseBase): Observable<StorefrontDto>;
|
|
747
|
+
/**
|
|
748
|
+
* Creates new custom storefront.
|
|
749
|
+
* @param tenantId (optional) Tenant identifier.
|
|
750
|
+
* @param body (optional) Custom storefront creation model.
|
|
751
|
+
* @return Success
|
|
752
|
+
*/
|
|
753
|
+
createCustomStorefront(tenantId?: number | null | undefined, body?: CreateCustomStorefrontDto | null | undefined): Observable<CustomStorefrontDto>;
|
|
754
|
+
protected processCreateCustomStorefront(response: HttpResponseBase): Observable<CustomStorefrontDto>;
|
|
755
|
+
/**
|
|
756
|
+
* Returns extended information about custom storefront.
|
|
757
|
+
* @param id Storefront identifier.
|
|
758
|
+
* @param tenantId (optional) Tenant identifier.
|
|
759
|
+
* @return Success
|
|
760
|
+
*/
|
|
761
|
+
getCustomStorefront(id: number, tenantId?: number | null | undefined): Observable<CustomStorefrontDto>;
|
|
762
|
+
protected processGetCustomStorefront(response: HttpResponseBase): Observable<CustomStorefrontDto>;
|
|
763
|
+
/**
|
|
764
|
+
* Creates new NopCommerce storefront.
|
|
765
|
+
* @param tenantId (optional) Tenant identifier.
|
|
766
|
+
* @param body (optional) NopCommerce storefront creation model.
|
|
767
|
+
* @return Success
|
|
768
|
+
*/
|
|
769
|
+
createNopCommerceStorefront(tenantId?: number | null | undefined, body?: CreateNopCommerceStorefrontDto | null | undefined): Observable<NopCommerceStorefrontDto>;
|
|
770
|
+
protected processCreateNopCommerceStorefront(response: HttpResponseBase): Observable<NopCommerceStorefrontDto>;
|
|
771
|
+
/**
|
|
772
|
+
* Returns extended information about NopCommerce storefront.
|
|
773
|
+
* @param id Storefront identifier.
|
|
774
|
+
* @param tenantId (optional) Tenant identifier.
|
|
775
|
+
* @return Success
|
|
776
|
+
*/
|
|
777
|
+
getNopCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<NopCommerceStorefrontDto>;
|
|
778
|
+
protected processGetNopCommerceStorefront(response: HttpResponseBase): Observable<NopCommerceStorefrontDto>;
|
|
779
|
+
/**
|
|
780
|
+
* Creates new WooCommerce storefront.
|
|
781
|
+
* @param tenantId (optional) Tenant identifier.
|
|
782
|
+
* @param body (optional) WooCommerce storefront creation model.
|
|
783
|
+
* @return Success
|
|
784
|
+
*/
|
|
785
|
+
createWooCommerceStorefront(tenantId?: number | null | undefined, body?: CreateWooCommerceStorefrontDto | null | undefined): Observable<WooCommerceStorefrontDto>;
|
|
786
|
+
protected processCreateWooCommerceStorefront(response: HttpResponseBase): Observable<WooCommerceStorefrontDto>;
|
|
787
|
+
/**
|
|
788
|
+
* Returns extended information about WooCommerce storefront.
|
|
789
|
+
* @param id Storefront identifier.
|
|
790
|
+
* @param tenantId (optional) Tenant identifier.
|
|
791
|
+
* @return Success
|
|
792
|
+
*/
|
|
793
|
+
getWooCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<WooCommerceStorefrontDto>;
|
|
794
|
+
protected processGetWooCommerceStorefront(response: HttpResponseBase): Observable<WooCommerceStorefrontDto>;
|
|
795
|
+
/**
|
|
796
|
+
* Creates new Magento storefront.
|
|
797
|
+
* @param tenantId (optional) Tenant identifier.
|
|
798
|
+
* @param body (optional) Magento storefront creation model.
|
|
799
|
+
* @return Success
|
|
800
|
+
*/
|
|
801
|
+
createMagentoStorefront(tenantId?: number | null | undefined, body?: CreateMagentoStorefrontDto | null | undefined): Observable<MagentoStorefrontDto>;
|
|
802
|
+
protected processCreateMagentoStorefront(response: HttpResponseBase): Observable<MagentoStorefrontDto>;
|
|
803
|
+
/**
|
|
804
|
+
* Returns extended information about Magento storefront.
|
|
805
|
+
* @param id Storefront identifier.
|
|
806
|
+
* @param tenantId (optional) Tenant identifier.
|
|
807
|
+
* @return Success
|
|
808
|
+
*/
|
|
809
|
+
getMagentoStorefront(id: number, tenantId?: number | null | undefined): Observable<MagentoStorefrontDto>;
|
|
810
|
+
protected processGetMagentoStorefront(response: HttpResponseBase): Observable<MagentoStorefrontDto>;
|
|
811
|
+
/**
|
|
812
|
+
* Creates new BigCommerce storefront.
|
|
813
|
+
* @param tenantId (optional) Tenant identifier.
|
|
814
|
+
* @param body (optional) BigCommerce storefront creation model.
|
|
815
|
+
* @return Success
|
|
816
|
+
*/
|
|
817
|
+
createBigCommerceStorefront(tenantId?: number | null | undefined, body?: CreateBigCommerceStorefrontDto | null | undefined): Observable<BigCommerceStorefrontDto>;
|
|
818
|
+
protected processCreateBigCommerceStorefront(response: HttpResponseBase): Observable<BigCommerceStorefrontDto>;
|
|
819
|
+
/**
|
|
820
|
+
* Returns extended information about BigCommerce storefront.
|
|
821
|
+
* @param id Storefront identifier.
|
|
822
|
+
* @param tenantId (optional) Tenant identifier.
|
|
823
|
+
* @return Success
|
|
824
|
+
*/
|
|
825
|
+
getBigCommerceStorefront(id: number, tenantId?: number | null | undefined): Observable<MagentoStorefrontDto>;
|
|
826
|
+
protected processGetBigCommerceStorefront(response: HttpResponseBase): Observable<MagentoStorefrontDto>;
|
|
827
|
+
}
|
|
828
|
+
export interface IUsersManagementApiClient {
|
|
829
|
+
/**
|
|
830
|
+
* Returns a tenant users list.
|
|
831
|
+
* @param tenantId (optional) Tenant identifier.
|
|
832
|
+
* @return Success
|
|
833
|
+
*/
|
|
834
|
+
getAll(tenantId?: number | null | undefined): Observable<PagedOfTenantUserDto>;
|
|
835
|
+
/**
|
|
836
|
+
* Creates a new tenant user.
|
|
837
|
+
* @param tenantId (optional) Tenant identifier.
|
|
838
|
+
* @param body (optional) User creation model.
|
|
839
|
+
* @return Success
|
|
840
|
+
*/
|
|
841
|
+
create(tenantId?: number | null | undefined, body?: CreateTenantUserDto | null | undefined): Observable<TenantUserDto>;
|
|
842
|
+
/**
|
|
843
|
+
* Returns a tenant user by user identifier.
|
|
844
|
+
* @param id User identifier.
|
|
845
|
+
* @param tenantId (optional) Tenant identifier.
|
|
846
|
+
* @return Success
|
|
847
|
+
*/
|
|
848
|
+
get(id: number, tenantId?: number | null | undefined): Observable<TenantUserDto>;
|
|
849
|
+
/**
|
|
850
|
+
* Deletes an existing tenant user.
|
|
851
|
+
* @param id User identifier.
|
|
852
|
+
* @param tenantId (optional) Tenant identifier.
|
|
853
|
+
* @return Success
|
|
854
|
+
*/
|
|
855
|
+
delete(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
856
|
+
/**
|
|
857
|
+
* Returns all tenant user roles, relevant to the specified query parameters.
|
|
858
|
+
* @param search (optional) Search string for partial match.
|
|
859
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
860
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
861
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
862
|
+
* @param tenantId (optional) Tenant identifier.
|
|
863
|
+
* @return Success
|
|
864
|
+
*/
|
|
865
|
+
getAllRoles(search?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfTenantUserRoleDto>;
|
|
866
|
+
}
|
|
867
|
+
export declare class UsersManagementApiClient extends ApiClientBase implements IUsersManagementApiClient {
|
|
868
|
+
private http;
|
|
869
|
+
private baseUrl;
|
|
870
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
871
|
+
constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
|
|
872
|
+
/**
|
|
873
|
+
* Returns a tenant users list.
|
|
874
|
+
* @param tenantId (optional) Tenant identifier.
|
|
875
|
+
* @return Success
|
|
876
|
+
*/
|
|
877
|
+
getAll(tenantId?: number | null | undefined): Observable<PagedOfTenantUserDto>;
|
|
878
|
+
protected processGetAll(response: HttpResponseBase): Observable<PagedOfTenantUserDto>;
|
|
879
|
+
/**
|
|
880
|
+
* Creates a new tenant user.
|
|
881
|
+
* @param tenantId (optional) Tenant identifier.
|
|
882
|
+
* @param body (optional) User creation model.
|
|
883
|
+
* @return Success
|
|
884
|
+
*/
|
|
885
|
+
create(tenantId?: number | null | undefined, body?: CreateTenantUserDto | null | undefined): Observable<TenantUserDto>;
|
|
886
|
+
protected processCreate(response: HttpResponseBase): Observable<TenantUserDto>;
|
|
887
|
+
/**
|
|
888
|
+
* Returns a tenant user by user identifier.
|
|
889
|
+
* @param id User identifier.
|
|
890
|
+
* @param tenantId (optional) Tenant identifier.
|
|
891
|
+
* @return Success
|
|
892
|
+
*/
|
|
893
|
+
get(id: number, tenantId?: number | null | undefined): Observable<TenantUserDto>;
|
|
894
|
+
protected processGet(response: HttpResponseBase): Observable<TenantUserDto>;
|
|
895
|
+
/**
|
|
896
|
+
* Deletes an existing tenant user.
|
|
897
|
+
* @param id User identifier.
|
|
898
|
+
* @param tenantId (optional) Tenant identifier.
|
|
899
|
+
* @return Success
|
|
900
|
+
*/
|
|
901
|
+
delete(id: number, tenantId?: number | null | undefined): Observable<void>;
|
|
902
|
+
protected processDelete(response: HttpResponseBase): Observable<void>;
|
|
903
|
+
/**
|
|
904
|
+
* Returns all tenant user roles, relevant to the specified query parameters.
|
|
905
|
+
* @param search (optional) Search string for partial match.
|
|
906
|
+
* @param skip (optional) Defines page start offset from beginning of sorted result list.
|
|
907
|
+
* @param take (optional) Defines page length (how many consequent items of sorted result list should be taken).
|
|
908
|
+
* @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC".
|
|
909
|
+
* @param tenantId (optional) Tenant identifier.
|
|
910
|
+
* @return Success
|
|
911
|
+
*/
|
|
912
|
+
getAllRoles(search?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, tenantId?: number | null | undefined): Observable<PagedOfTenantUserRoleDto>;
|
|
913
|
+
protected processGetAllRoles(response: HttpResponseBase): Observable<PagedOfTenantUserRoleDto>;
|
|
914
|
+
}
|
|
915
|
+
/** Information about a service. */
|
|
916
|
+
export interface BuildInfoModel {
|
|
917
|
+
/** Version number. */
|
|
918
|
+
version?: string | null;
|
|
919
|
+
/** Build date (UTC). */
|
|
920
|
+
buildDate?: string | null;
|
|
921
|
+
/** Build configuration (Debug | Release). */
|
|
922
|
+
configuration?: string | null;
|
|
923
|
+
/** Service name. */
|
|
924
|
+
appName?: string | null;
|
|
925
|
+
}
|
|
926
|
+
/** Available product reference target types. */
|
|
927
|
+
export declare enum ProductReferenceType {
|
|
928
|
+
ProductSpecification = "ProductSpecification",
|
|
929
|
+
Product = "Product",
|
|
930
|
+
ProductLink = "ProductLink"
|
|
931
|
+
}
|
|
932
|
+
/** DTO class, containing information about storefront product reference. */
|
|
933
|
+
export interface ProductReferenceDto {
|
|
934
|
+
/** Product reference is an external reference to Customer's Canvas product, e.g online store product identifier. */
|
|
935
|
+
productReference?: string | null;
|
|
936
|
+
/** Product reference target type. */
|
|
937
|
+
productReferenceType?: ProductReferenceType;
|
|
938
|
+
/** Product reference name, e.g. online store product name. */
|
|
939
|
+
productReferenceName?: string | null;
|
|
940
|
+
/** Customer's Canvas product specification identifier. */
|
|
941
|
+
productSpecificationId?: number;
|
|
942
|
+
/** Customer's Canvas product identifier. */
|
|
943
|
+
productId?: number;
|
|
944
|
+
/** Customer's Canvas product version identifier. */
|
|
945
|
+
productVersionId?: number;
|
|
946
|
+
/** Customer's Canvas product link identifier. */
|
|
947
|
+
productLinkId?: number;
|
|
948
|
+
/** Storefront identifier. */
|
|
949
|
+
storefrontId?: number;
|
|
950
|
+
/** Tenant identifier. */
|
|
951
|
+
tenantId?: number;
|
|
952
|
+
/** Storefront product reference creation date and time. */
|
|
953
|
+
created?: string;
|
|
954
|
+
}
|
|
955
|
+
/** DTO, containing results of paged query. */
|
|
956
|
+
export interface PagedOfProductReferenceDto {
|
|
957
|
+
total?: number;
|
|
958
|
+
items?: ProductReferenceDto[] | null;
|
|
959
|
+
}
|
|
960
|
+
/** Conflict types. */
|
|
961
|
+
export declare enum ConflictType {
|
|
962
|
+
NameConflict = "NameConflict",
|
|
963
|
+
FolderOverwriteConflict = "FolderOverwriteConflict",
|
|
964
|
+
IdConflict = "IdConflict",
|
|
965
|
+
GeneralConflict = "GeneralConflict"
|
|
966
|
+
}
|
|
967
|
+
/** Information about operation conflict. */
|
|
968
|
+
export interface GeneralConflictDto {
|
|
969
|
+
/** Problem description. */
|
|
970
|
+
description?: string | null;
|
|
971
|
+
/** Coflict type. */
|
|
972
|
+
type?: ConflictType;
|
|
973
|
+
}
|
|
974
|
+
/** Dto class, containing create operation parameters for storefront product reference. */
|
|
975
|
+
export interface CreateProductReferenceDto {
|
|
976
|
+
/** Product reference is an external reference to Customer's Canvas product, e.g online store product identifier. */
|
|
977
|
+
productReference: string;
|
|
978
|
+
/** Product reference target type. */
|
|
979
|
+
productReferenceType?: ProductReferenceType;
|
|
980
|
+
/** Product reference name, e.g. online store product name. */
|
|
981
|
+
productReferenceName?: string | null;
|
|
982
|
+
/** Customer's Canvas product specification identifier. */
|
|
983
|
+
productSpecificationId?: number | null;
|
|
984
|
+
/** Customer's Canvas product identifier. */
|
|
985
|
+
productId?: number | null;
|
|
986
|
+
/** Customer's Canvas product link identifier. */
|
|
987
|
+
productLinkId?: number | null;
|
|
988
|
+
}
|
|
989
|
+
export interface ProblemDetails {
|
|
990
|
+
type?: string | null;
|
|
991
|
+
title?: string | null;
|
|
992
|
+
status?: number | null;
|
|
993
|
+
detail?: string | null;
|
|
994
|
+
instance?: string | null;
|
|
995
|
+
}
|
|
996
|
+
/** DTO class, containing information about storefront product reference. */
|
|
997
|
+
export interface ProductReferenceInfo {
|
|
998
|
+
/** Product reference is an external reference to Customer's Canvas product, e.g online store product identifier. */
|
|
999
|
+
productReference?: string | null;
|
|
1000
|
+
/** Product reference target type. */
|
|
1001
|
+
productReferenceType?: ProductReferenceType;
|
|
1002
|
+
/** Product reference name, e.g. online store product name. */
|
|
1003
|
+
productReferenceName?: string | null;
|
|
1004
|
+
/** Customer's Canvas product specification identifier. */
|
|
1005
|
+
productSpecificationId?: number;
|
|
1006
|
+
/** Customer's Canvas product identifier. */
|
|
1007
|
+
productId?: number;
|
|
1008
|
+
/** Customer's Canvas product link identifier. */
|
|
1009
|
+
productLinkId?: number;
|
|
1010
|
+
/** Storefront identifier. */
|
|
1011
|
+
storefrontId?: number;
|
|
1012
|
+
}
|
|
1013
|
+
/** DTO class, containing information about storefront product reference creation conflict. */
|
|
1014
|
+
export interface ProductReferenceCreationConflictDto {
|
|
1015
|
+
/** List of storefront product references, which are already exist. */
|
|
1016
|
+
existingReferences?: ProductReferenceInfo[] | null;
|
|
1017
|
+
/** Problem description. */
|
|
1018
|
+
description?: string | null;
|
|
1019
|
+
/** Coflict type. */
|
|
1020
|
+
type?: ConflictType;
|
|
1021
|
+
}
|
|
1022
|
+
/** Dto class, containing information about a product resource of type image. */
|
|
1023
|
+
export interface ImageInfo {
|
|
1024
|
+
/** Product resource identifier. */
|
|
1025
|
+
resourceId?: string | null;
|
|
1026
|
+
/** Product Resource URL. */
|
|
1027
|
+
url?: string | null;
|
|
1028
|
+
}
|
|
1029
|
+
/** Dto class, containing information about a product. */
|
|
1030
|
+
export interface ProductDto {
|
|
1031
|
+
/** Product identifier. */
|
|
1032
|
+
id?: number;
|
|
1033
|
+
/** Product version identifier. */
|
|
1034
|
+
productVersionId?: number;
|
|
1035
|
+
/** Tenant identifier. */
|
|
1036
|
+
tenantId?: number;
|
|
1037
|
+
/** Product name. */
|
|
1038
|
+
name?: string | null;
|
|
1039
|
+
/** Product description. */
|
|
1040
|
+
description?: string | null;
|
|
1041
|
+
/** Product image info. */
|
|
1042
|
+
image?: ImageInfo | null;
|
|
1043
|
+
/** Product creation time. */
|
|
1044
|
+
created?: string;
|
|
1045
|
+
/** Product modification time. */
|
|
1046
|
+
lastModified?: string | null;
|
|
1047
|
+
/** Product tags. */
|
|
1048
|
+
tags?: string[] | null;
|
|
1049
|
+
/** Product custom fields. */
|
|
1050
|
+
customFields?: {
|
|
1051
|
+
[key: string]: string;
|
|
1052
|
+
} | null;
|
|
1053
|
+
/** Personalization workflow identifier. */
|
|
1054
|
+
personalizationWorkflowId?: number;
|
|
1055
|
+
/** Processing pipeline identifier. */
|
|
1056
|
+
processingPipelineId?: number;
|
|
1057
|
+
/** Default storefront identifier. */
|
|
1058
|
+
storefrontId?: number | null;
|
|
1059
|
+
/** Default storefront product identifier. */
|
|
1060
|
+
storefrontProductId?: string | null;
|
|
1061
|
+
/** Default storefront product name. */
|
|
1062
|
+
storefrontProductName?: string | null;
|
|
1063
|
+
}
|
|
1064
|
+
/** DTO, containing results of paged query. */
|
|
1065
|
+
export interface PagedOfProductDto {
|
|
1066
|
+
total?: number;
|
|
1067
|
+
items?: ProductDto[] | null;
|
|
1068
|
+
}
|
|
1069
|
+
/** Product option value creation operation parameters. */
|
|
1070
|
+
export interface CreateProductOptionValueDto {
|
|
1071
|
+
/** Product option value. */
|
|
1072
|
+
value?: string | null;
|
|
1073
|
+
}
|
|
1074
|
+
/** Product option creation operation parameters. */
|
|
1075
|
+
export interface CreateProductOptionDto {
|
|
1076
|
+
/** Option title. */
|
|
1077
|
+
title?: string | null;
|
|
1078
|
+
/** Option traits. */
|
|
1079
|
+
traits?: string[] | null;
|
|
1080
|
+
/** Product option values. */
|
|
1081
|
+
values?: CreateProductOptionValueDto[] | null;
|
|
1082
|
+
/** Flag that indicates if option can be used for product design connections creation. */
|
|
1083
|
+
useForDesignBinding?: boolean;
|
|
1084
|
+
/** Flag that indicates if option can be used for product mockup connections creation. */
|
|
1085
|
+
useForMockupBinding?: boolean;
|
|
1086
|
+
/** Flag that indicates if option can be used for product document connections creation. */
|
|
1087
|
+
useForDocumentBinding?: boolean;
|
|
1088
|
+
}
|
|
1089
|
+
/** Product option creation operation parameters. */
|
|
1090
|
+
export interface CreateProductDto {
|
|
1091
|
+
/** Product name. */
|
|
1092
|
+
name?: string | null;
|
|
1093
|
+
/** Product description. */
|
|
1094
|
+
description?: string | null;
|
|
1095
|
+
/** Personalization workflow identifier. */
|
|
1096
|
+
personalizationWorkflowId?: number;
|
|
1097
|
+
/** Processing pipeline identifier. */
|
|
1098
|
+
processingPipelineId?: number;
|
|
1099
|
+
/** Product tags. */
|
|
1100
|
+
tags?: string[] | null;
|
|
1101
|
+
/** Product custom fields. */
|
|
1102
|
+
customFields?: {
|
|
1103
|
+
[key: string]: string;
|
|
1104
|
+
} | null;
|
|
1105
|
+
/** Product options parameters. */
|
|
1106
|
+
options?: CreateProductOptionDto[] | null;
|
|
1107
|
+
}
|
|
1108
|
+
/** Available option types. */
|
|
1109
|
+
export declare enum OptionType {
|
|
1110
|
+
Simple = "Simple",
|
|
1111
|
+
Size = "Size",
|
|
1112
|
+
PageCount = "PageCount"
|
|
1113
|
+
}
|
|
1114
|
+
/** Available appearance types. */
|
|
1115
|
+
export declare enum AppearanceDataType {
|
|
1116
|
+
Radio = "Radio",
|
|
1117
|
+
Dropdown = "Dropdown",
|
|
1118
|
+
Chips = "Chips",
|
|
1119
|
+
ColorGrid = "ColorGrid",
|
|
1120
|
+
ColorList = "ColorList",
|
|
1121
|
+
ImageGrid = "ImageGrid",
|
|
1122
|
+
ImageList = "ImageList"
|
|
1123
|
+
}
|
|
1124
|
+
/** DTO class, containing information about a product option appearance item. */
|
|
1125
|
+
export interface AppearanceDataItemDto {
|
|
1126
|
+
/** Appearance item key. */
|
|
1127
|
+
key?: string | null;
|
|
1128
|
+
/** Appearance item value. */
|
|
1129
|
+
value?: string | null;
|
|
1130
|
+
}
|
|
1131
|
+
/** DTO class, containing information about a product option appearance. */
|
|
1132
|
+
export interface AppearanceDataDto {
|
|
1133
|
+
/** Appearance type. */
|
|
1134
|
+
type?: AppearanceDataType;
|
|
1135
|
+
/** Appearance items. */
|
|
1136
|
+
items?: AppearanceDataItemDto[] | null;
|
|
1137
|
+
}
|
|
1138
|
+
/** Option value description for 'Simple' option type. */
|
|
1139
|
+
export interface SimpleOptionValue {
|
|
1140
|
+
/** String Value. */
|
|
1141
|
+
value?: string | null;
|
|
1142
|
+
}
|
|
1143
|
+
/** DTO class, containing information about a product option value. */
|
|
1144
|
+
export interface ProductOptionValueDto {
|
|
1145
|
+
/** Product option value identifier. */
|
|
1146
|
+
id?: number;
|
|
1147
|
+
/** Product option value title. */
|
|
1148
|
+
title?: string | null;
|
|
1149
|
+
/** Product option value sort index. */
|
|
1150
|
+
sortIndex?: number;
|
|
1151
|
+
/** Indicates if product option value is used as a default value. */
|
|
1152
|
+
isDefault?: boolean;
|
|
1153
|
+
/** Product option value identifying tag. */
|
|
1154
|
+
tag?: string | null;
|
|
1155
|
+
/** Product option value description for 'Simple' option type. */
|
|
1156
|
+
simpleOptionValue?: SimpleOptionValue | null;
|
|
1157
|
+
/** Product option value description. */
|
|
1158
|
+
description?: string | null;
|
|
1159
|
+
/** Product option value colors. */
|
|
1160
|
+
colors?: string[] | null;
|
|
1161
|
+
/** Product option value image. */
|
|
1162
|
+
image?: ImageInfo | null;
|
|
1163
|
+
}
|
|
1164
|
+
/** DTO class, containing information about a product option. */
|
|
1165
|
+
export interface ProductOptionDto {
|
|
1166
|
+
/** Product option identifier. */
|
|
1167
|
+
id?: number;
|
|
1168
|
+
/** Product version identifier */
|
|
1169
|
+
productVersionId?: number;
|
|
1170
|
+
/** Product identifier. */
|
|
1171
|
+
productId?: number;
|
|
1172
|
+
/** Tenant identifier. */
|
|
1173
|
+
tenantId?: number;
|
|
1174
|
+
/** Option type ('Simple' / 'Size' / 'PageCount'). */
|
|
1175
|
+
type?: OptionType;
|
|
1176
|
+
/** Option traits. */
|
|
1177
|
+
traits?: string[] | null;
|
|
1178
|
+
/** Product option title. */
|
|
1179
|
+
title?: string | null;
|
|
1180
|
+
/** Product option sort index. */
|
|
1181
|
+
sortIndex?: number;
|
|
1182
|
+
/** Product option identifying tag. */
|
|
1183
|
+
tag?: string | null;
|
|
1184
|
+
/** Specifies if the option is used for design binding. */
|
|
1185
|
+
useForDesignBinding?: boolean;
|
|
1186
|
+
/** Specifies if the option is used for mockup binding. */
|
|
1187
|
+
useForMockupBinding?: boolean;
|
|
1188
|
+
/** Specifies if the option is used for document binding. */
|
|
1189
|
+
useForDocumentBinding?: boolean;
|
|
1190
|
+
/** Product option description. */
|
|
1191
|
+
description?: string | null;
|
|
1192
|
+
/** Product option tooltip. */
|
|
1193
|
+
tooltip?: string | null;
|
|
1194
|
+
/** Product option appearance. */
|
|
1195
|
+
appearanceData?: AppearanceDataDto | null;
|
|
1196
|
+
/** Product option image info. */
|
|
1197
|
+
image?: ImageInfo | null;
|
|
1198
|
+
/** A list of product option values. */
|
|
1199
|
+
productOptionValues?: ProductOptionValueDto[] | null;
|
|
1200
|
+
}
|
|
1201
|
+
/** DTO, containing results of paged query. */
|
|
1202
|
+
export interface PagedOfProductOptionDto {
|
|
1203
|
+
total?: number;
|
|
1204
|
+
items?: ProductOptionDto[] | null;
|
|
1205
|
+
}
|
|
1206
|
+
/** Dto class, containing information about a product variant option. */
|
|
1207
|
+
export interface ProductVariantOptionDto {
|
|
1208
|
+
/** Product option identifier. */
|
|
1209
|
+
productOptionId?: number | null;
|
|
1210
|
+
/** Product option value identifier. */
|
|
1211
|
+
productOptionValueId?: number | null;
|
|
1212
|
+
/** Product option type ('Simple' / 'Size' / 'PageCount'). */
|
|
1213
|
+
productOptionType?: OptionType;
|
|
1214
|
+
/** Product option traits. */
|
|
1215
|
+
productOptionTraits?: string[] | null;
|
|
1216
|
+
/** Product option title. */
|
|
1217
|
+
productOptionTitle?: string | null;
|
|
1218
|
+
/** Product option value title. */
|
|
1219
|
+
productOptionValueTitle?: string | null;
|
|
1220
|
+
/** Product option value description for 'Simple' option type. */
|
|
1221
|
+
simpleOptionValue?: SimpleOptionValue | null;
|
|
1222
|
+
}
|
|
1223
|
+
/** DTO class, containing information about a product variant. */
|
|
1224
|
+
export interface ProductVariantDto {
|
|
1225
|
+
/** Product variant identifier. */
|
|
1226
|
+
id?: number;
|
|
1227
|
+
/** Product variant unique identifier. */
|
|
1228
|
+
uid?: string | null;
|
|
1229
|
+
/** Product version identifier. */
|
|
1230
|
+
productVersionId?: number;
|
|
1231
|
+
/** Product identifier. */
|
|
1232
|
+
productId?: number;
|
|
1233
|
+
/** Tenant identifier. */
|
|
1234
|
+
tenantId?: number;
|
|
1235
|
+
/** Product variant available. */
|
|
1236
|
+
isAvailable?: boolean;
|
|
1237
|
+
/** Product variant price. */
|
|
1238
|
+
price?: number | null;
|
|
1239
|
+
/** Product variant sort index. */
|
|
1240
|
+
sortIndex?: number;
|
|
1241
|
+
/** Product variant identifier (usually SKU) in storefront / online store. */
|
|
1242
|
+
storefrontProductVariantId?: string | null;
|
|
1243
|
+
/** Product variant SKU. */
|
|
1244
|
+
sku?: string | null;
|
|
1245
|
+
/** A list of product variant options. */
|
|
1246
|
+
productVariantOptions?: ProductVariantOptionDto[] | null;
|
|
1247
|
+
}
|
|
1248
|
+
/** DTO, containing results of paged query. */
|
|
1249
|
+
export interface PagedOfProductVariantDto {
|
|
1250
|
+
total?: number;
|
|
1251
|
+
items?: ProductVariantDto[] | null;
|
|
1252
|
+
}
|
|
1253
|
+
/** Available product variant resource types. */
|
|
1254
|
+
export declare enum ProductVariantResourceType {
|
|
1255
|
+
Preview = "Preview",
|
|
1256
|
+
EditorModel = "EditorModel",
|
|
1257
|
+
Custom = "Custom"
|
|
1258
|
+
}
|
|
1259
|
+
/** Product variant resource description for 'Preview' resource type. */
|
|
1260
|
+
export interface ProductVariantResourcePreview {
|
|
1261
|
+
/** Preview with in pixels. */
|
|
1262
|
+
width?: number | null;
|
|
1263
|
+
/** Preview height in pixels. */
|
|
1264
|
+
height?: number | null;
|
|
1265
|
+
/** Mockup which is used to create preview. */
|
|
1266
|
+
mockupId?: string | null;
|
|
1267
|
+
/** Design surface index which is used to create preivew. */
|
|
1268
|
+
surfaceIndex?: number | null;
|
|
1269
|
+
}
|
|
1270
|
+
/** Dto class, containing information about a product variant resource. */
|
|
1271
|
+
export interface ProductVariantResourceDto {
|
|
1272
|
+
/** Resource identifier. */
|
|
1273
|
+
resourceId?: string | null;
|
|
1274
|
+
/** Resource name. */
|
|
1275
|
+
name?: string | null;
|
|
1276
|
+
/** Resource url. */
|
|
1277
|
+
url?: string | null;
|
|
1278
|
+
/** Resource type. */
|
|
1279
|
+
type?: ProductVariantResourceType;
|
|
1280
|
+
/** Product variant resource description for 'Preview' resource type. */
|
|
1281
|
+
resourcePreview?: ProductVariantResourcePreview | null;
|
|
1282
|
+
}
|
|
1283
|
+
/** Dto class, containing information about a product variant design. */
|
|
1284
|
+
export interface ProductVariantDesignDto {
|
|
1285
|
+
/** Product variant identifier. */
|
|
1286
|
+
productVariantId?: number;
|
|
1287
|
+
/** Product version identifier. */
|
|
1288
|
+
productVersionId?: number;
|
|
1289
|
+
/** Product identifier. */
|
|
1290
|
+
productId?: number;
|
|
1291
|
+
/** Tenant identifier. */
|
|
1292
|
+
tenantId?: number;
|
|
1293
|
+
/** Product variant available. */
|
|
1294
|
+
isAvailable?: boolean;
|
|
1295
|
+
/** Product variant price. */
|
|
1296
|
+
price?: number | null;
|
|
1297
|
+
/** Product variant sort index. */
|
|
1298
|
+
sortIndex?: number;
|
|
1299
|
+
/** Product variant identifier (usually SKU) in storefront / online store. */
|
|
1300
|
+
storefrontProductVariantId?: string | null;
|
|
1301
|
+
/** Product variant SKU. */
|
|
1302
|
+
sku?: string | null;
|
|
1303
|
+
/** Design identifier. */
|
|
1304
|
+
designId?: string | null;
|
|
1305
|
+
/** Design name. */
|
|
1306
|
+
designName?: string | null;
|
|
1307
|
+
/** Design grouping tag. */
|
|
1308
|
+
designGroup?: string | null;
|
|
1309
|
+
/** Design data schema tag. Indicates if design has data schema. */
|
|
1310
|
+
designHasDataSchema?: boolean;
|
|
1311
|
+
/** Design toggle set tag. Indicated if design has toggle set. */
|
|
1312
|
+
designHasToggleSet?: boolean;
|
|
1313
|
+
/** A list of product variant options. */
|
|
1314
|
+
productVariantOptions?: ProductVariantOptionDto[] | null;
|
|
1315
|
+
/** A list of product variant resources. */
|
|
1316
|
+
productVariantResources?: ProductVariantResourceDto[] | null;
|
|
1317
|
+
}
|
|
1318
|
+
/** DTO, containing results of paged query. */
|
|
1319
|
+
export interface PagedOfProductVariantDesignDto {
|
|
1320
|
+
total?: number;
|
|
1321
|
+
items?: ProductVariantDesignDto[] | null;
|
|
1322
|
+
}
|
|
1323
|
+
/** Available mockup types. */
|
|
1324
|
+
export declare enum ProductVariantMockupType {
|
|
1325
|
+
Thumbnail = "Thumbnail",
|
|
1326
|
+
Editor = "Editor",
|
|
1327
|
+
Preview = "Preview"
|
|
1328
|
+
}
|
|
1329
|
+
/** Available surface usage types. */
|
|
1330
|
+
export declare enum SurfaceUsageType {
|
|
1331
|
+
Individual = "Individual",
|
|
1332
|
+
Custom = "Custom",
|
|
1333
|
+
All = "All"
|
|
1334
|
+
}
|
|
1335
|
+
/** Dto class, containing information about a product variant mockup. */
|
|
1336
|
+
export interface ProductVariantMockupDto {
|
|
1337
|
+
/** Product variant identifier. */
|
|
1338
|
+
productVariantId?: number;
|
|
1339
|
+
/** Product version identifier. */
|
|
1340
|
+
productVersionId?: number;
|
|
1341
|
+
/** Product identifier. */
|
|
1342
|
+
productId?: number;
|
|
1343
|
+
/** Tenant identifier. */
|
|
1344
|
+
tenantId?: number | null;
|
|
1345
|
+
/** Product variant identifier in online store (usually SKU). */
|
|
1346
|
+
storefrontProductVariantId?: string | null;
|
|
1347
|
+
/** Product variant SKU. */
|
|
1348
|
+
sku?: string | null;
|
|
1349
|
+
/** Mockup identifier. */
|
|
1350
|
+
mockupId?: string | null;
|
|
1351
|
+
/** Mockup name. */
|
|
1352
|
+
mockupName?: string | null;
|
|
1353
|
+
/** Mockup type. */
|
|
1354
|
+
mockupType?: ProductVariantMockupType;
|
|
1355
|
+
/** Surface index indicates a surface of a design to which mockup should be applied. */
|
|
1356
|
+
surfaceIndex?: number | null;
|
|
1357
|
+
/** Surface usage type defines a scheme for applying mockup to design surfaces. */
|
|
1358
|
+
surfaceUsageType?: SurfaceUsageType;
|
|
1359
|
+
/** A list of product variant options. */
|
|
1360
|
+
productVariantOptions?: ProductVariantOptionDto[] | null;
|
|
1361
|
+
}
|
|
1362
|
+
/** DTO, containing results of paged query. */
|
|
1363
|
+
export interface PagedOfProductVariantMockupDto {
|
|
1364
|
+
total?: number;
|
|
1365
|
+
items?: ProductVariantMockupDto[] | null;
|
|
1366
|
+
}
|
|
1367
|
+
/** DTO class, containing information about a product variant document. */
|
|
1368
|
+
export interface ProductVariantDocumentDto {
|
|
1369
|
+
/** Product variant identifier. */
|
|
1370
|
+
productVariantId?: number;
|
|
1371
|
+
/** Product version identifier. */
|
|
1372
|
+
productVersionId?: number;
|
|
1373
|
+
/** Product identifier. */
|
|
1374
|
+
productId?: number;
|
|
1375
|
+
/** Tenant identifier. */
|
|
1376
|
+
tenantId?: number;
|
|
1377
|
+
/** Product variant available. */
|
|
1378
|
+
isAvailable?: boolean;
|
|
1379
|
+
/** Product variant price. */
|
|
1380
|
+
price?: number | null;
|
|
1381
|
+
/** Product variant sort index. */
|
|
1382
|
+
sortIndex?: number;
|
|
1383
|
+
/** Product variant identifier (usually SKU) in storefront / online store. */
|
|
1384
|
+
storefrontProductVariantId?: string | null;
|
|
1385
|
+
/** Product variant SKU. */
|
|
1386
|
+
sku?: string | null;
|
|
1387
|
+
/** Document identifier. */
|
|
1388
|
+
documentId?: string | null;
|
|
1389
|
+
/** Document name. */
|
|
1390
|
+
documentName?: string | null;
|
|
1391
|
+
/** Document grouping tag. */
|
|
1392
|
+
documentGroup?: string | null;
|
|
1393
|
+
/** A list of product variant options. */
|
|
1394
|
+
productVariantOptions?: ProductVariantOptionDto[] | null;
|
|
1395
|
+
/** A list of product variant resources. */
|
|
1396
|
+
productVariantResources?: ProductVariantResourceDto[] | null;
|
|
1397
|
+
}
|
|
1398
|
+
/** DTO, containing results of paged query. */
|
|
1399
|
+
export interface PagedOfProductVariantDocumentDto {
|
|
1400
|
+
total?: number;
|
|
1401
|
+
items?: ProductVariantDocumentDto[] | null;
|
|
1402
|
+
}
|
|
1403
|
+
/** Parameters for setting product variants price. */
|
|
1404
|
+
export interface ProductVariantPriceDto {
|
|
1405
|
+
/** Price. */
|
|
1406
|
+
price?: number | null;
|
|
1407
|
+
/** Identifiers of variants for price setting. */
|
|
1408
|
+
variantIds?: number[] | null;
|
|
1409
|
+
}
|
|
1410
|
+
/** Product variants price setting operation parameters. */
|
|
1411
|
+
export interface SetProductVariantPriceDto {
|
|
1412
|
+
/** List of product variants grouped by price value. */
|
|
1413
|
+
items?: ProductVariantPriceDto[] | null;
|
|
1414
|
+
}
|
|
1415
|
+
/** Parameters for setting product variants availability. */
|
|
1416
|
+
export interface ProductVariantAvailabilityDto {
|
|
1417
|
+
/** Availability. */
|
|
1418
|
+
availability?: boolean;
|
|
1419
|
+
/** Identifiers of variants for availability setting. */
|
|
1420
|
+
variantIds?: number[] | null;
|
|
1421
|
+
}
|
|
1422
|
+
/** Product variants availability setting operation parameters. */
|
|
1423
|
+
export interface SetProductVariantAvailabilityDto {
|
|
1424
|
+
/** List of product variants grouped by availability value. */
|
|
1425
|
+
items?: ProductVariantAvailabilityDto[] | null;
|
|
1426
|
+
}
|
|
1427
|
+
/** Parameters for setting product variants SKU. */
|
|
1428
|
+
export interface ProductVariantSkuDto {
|
|
1429
|
+
/** SKU. */
|
|
1430
|
+
sku?: string | null;
|
|
1431
|
+
/** Identifiers of variants for SKU setting. */
|
|
1432
|
+
variantIds?: number[] | null;
|
|
1433
|
+
}
|
|
1434
|
+
/** Product variants SKU setting operation parameters. */
|
|
1435
|
+
export interface SetProductVariantSkuDto {
|
|
1436
|
+
/** List of product variants grouped by SKU value. */
|
|
1437
|
+
items?: ProductVariantSkuDto[] | null;
|
|
1438
|
+
}
|
|
1439
|
+
/** Product asset connection options description. */
|
|
1440
|
+
export interface ProductAssetConnectionOptionsDto {
|
|
1441
|
+
/** Product option identifier. */
|
|
1442
|
+
optionId?: number;
|
|
1443
|
+
/** Product option values identifiers. */
|
|
1444
|
+
optionValueIds?: number[] | null;
|
|
1445
|
+
}
|
|
1446
|
+
/** Product design connection description. */
|
|
1447
|
+
export interface ProductDesignConnectionDto {
|
|
1448
|
+
/** Design identifier. */
|
|
1449
|
+
designId?: string | null;
|
|
1450
|
+
/** Connection options. Set empty if design should be available for all product variants. */
|
|
1451
|
+
options?: ProductAssetConnectionOptionsDto[] | null;
|
|
1452
|
+
}
|
|
1453
|
+
/** Product designs connections creation model. */
|
|
1454
|
+
export interface CreateProductDesignConnectionsDto {
|
|
1455
|
+
/** Connection parameters list. */
|
|
1456
|
+
connections?: ProductDesignConnectionDto[] | null;
|
|
1457
|
+
}
|
|
1458
|
+
/** Product asset connection removing parameters. */
|
|
1459
|
+
export interface RemoveProductAssetConnectionDto {
|
|
1460
|
+
/** Asset identifier. */
|
|
1461
|
+
assetId?: string | null;
|
|
1462
|
+
/** Connection options. Set empty if all product variants connections should be removed. */
|
|
1463
|
+
options?: ProductAssetConnectionOptionsDto[] | null;
|
|
1464
|
+
}
|
|
1465
|
+
/** Product designs connections removing model. */
|
|
1466
|
+
export interface RemoveProductDesignConnectionsDto {
|
|
1467
|
+
/** Connection parameters list. */
|
|
1468
|
+
connections?: RemoveProductAssetConnectionDto[] | null;
|
|
1469
|
+
}
|
|
1470
|
+
/** Product mockup type. */
|
|
1471
|
+
export declare enum ProductMockupType {
|
|
1472
|
+
Thumbnail = "Thumbnail",
|
|
1473
|
+
Editor = "Editor",
|
|
1474
|
+
Preview = "Preview"
|
|
1475
|
+
}
|
|
1476
|
+
/** Product mockup connection description. */
|
|
1477
|
+
export interface ProductMockupConnectionDto {
|
|
1478
|
+
/** Mockup identifier. */
|
|
1479
|
+
mockupId?: string | null;
|
|
1480
|
+
/** Connection options. Set empty if mockup should be available for all product variants. */
|
|
1481
|
+
options?: ProductAssetConnectionOptionsDto[] | null;
|
|
1482
|
+
/** Product mockup types. Single mockup may be used as editor, preview and thumbnail mockup at the same time. */
|
|
1483
|
+
mockupTypes?: ProductMockupType[] | null;
|
|
1484
|
+
/** Product mockup target surfaces. Comma-separated surface indexes ("1,2,3") or `all` value may be set. */
|
|
1485
|
+
surfaces?: string | null;
|
|
1486
|
+
}
|
|
1487
|
+
/** Product mockups connections creation model. */
|
|
1488
|
+
export interface CreateProductMockupConnectionsDto {
|
|
1489
|
+
/** Connection parameters list. */
|
|
1490
|
+
connections?: ProductMockupConnectionDto[] | null;
|
|
1491
|
+
}
|
|
1492
|
+
/** Product mockups connections removing model. */
|
|
1493
|
+
export interface RemoveProductMockupConnectionsDto {
|
|
1494
|
+
/** Connection parameters list. */
|
|
1495
|
+
connections?: RemoveProductAssetConnectionDto[] | null;
|
|
1496
|
+
}
|
|
1497
|
+
/** Product document connection description. */
|
|
1498
|
+
export interface ProductDocumentConnectionDto {
|
|
1499
|
+
/** Document identifier. */
|
|
1500
|
+
documentId?: string | null;
|
|
1501
|
+
/** Connection options. Set empty if document should be available for all product variants. */
|
|
1502
|
+
options?: ProductAssetConnectionOptionsDto[] | null;
|
|
1503
|
+
}
|
|
1504
|
+
/** Product documents connections creation model. */
|
|
1505
|
+
export interface CreateProductDocumentConnectionsDto {
|
|
1506
|
+
/** Connection parameters list. */
|
|
1507
|
+
connections?: ProductDocumentConnectionDto[] | null;
|
|
1508
|
+
}
|
|
1509
|
+
/** Product documents connections removing model. */
|
|
1510
|
+
export interface RemoveProductDocumentConnectionsDto {
|
|
1511
|
+
/** Connection parameters list. */
|
|
1512
|
+
connections?: RemoveProductAssetConnectionDto[] | null;
|
|
1513
|
+
}
|
|
1514
|
+
/** Type of editor that should be configured by workflow. */
|
|
1515
|
+
export declare enum WorkflowType {
|
|
1516
|
+
UIFramework = "UIFramework",
|
|
1517
|
+
SimpleEditor = "SimpleEditor",
|
|
1518
|
+
DesignEditor = "DesignEditor",
|
|
1519
|
+
WorkflowElements = "WorkflowElements"
|
|
1520
|
+
}
|
|
1521
|
+
/** Personalization workflow description DTO. */
|
|
1522
|
+
export interface PersonalizationWorkflowDto {
|
|
1523
|
+
/** Workflow identifier. */
|
|
1524
|
+
id?: number;
|
|
1525
|
+
/** Workflow name. */
|
|
1526
|
+
name?: string | null;
|
|
1527
|
+
/** Workflow type. */
|
|
1528
|
+
workflowType?: WorkflowType;
|
|
1529
|
+
}
|
|
1530
|
+
/** DTO, containing results of paged query. */
|
|
1531
|
+
export interface PagedOfPersonalizationWorkflowDto {
|
|
1532
|
+
total?: number;
|
|
1533
|
+
items?: PersonalizationWorkflowDto[] | null;
|
|
1534
|
+
}
|
|
1535
|
+
/** Dto class, containing information about processing pipeline details. */
|
|
1536
|
+
export interface ProcessingPipelineDto {
|
|
1537
|
+
/** Processing pipeline identifier. */
|
|
1538
|
+
id?: number;
|
|
1539
|
+
/** Processing pipeline name. */
|
|
1540
|
+
name?: string | null;
|
|
1541
|
+
}
|
|
1542
|
+
/** DTO, containing results of paged query. */
|
|
1543
|
+
export interface PagedOfProcessingPipelineDto {
|
|
1544
|
+
total?: number;
|
|
1545
|
+
items?: ProcessingPipelineDto[] | null;
|
|
1546
|
+
}
|
|
1547
|
+
/** Storefront types. */
|
|
1548
|
+
export declare enum StorefrontType {
|
|
1549
|
+
Custom = "Custom",
|
|
1550
|
+
ShopifyLegacy = "ShopifyLegacy",
|
|
1551
|
+
DocketManager = "DocketManager",
|
|
1552
|
+
CustomSaml = "CustomSaml",
|
|
1553
|
+
NopCommerce = "NopCommerce",
|
|
1554
|
+
WooCommerce = "WooCommerce",
|
|
1555
|
+
Magento = "Magento",
|
|
1556
|
+
BigCommerce = "BigCommerce",
|
|
1557
|
+
Shopify = "Shopify",
|
|
1558
|
+
ShopifyCustom = "ShopifyCustom"
|
|
1559
|
+
}
|
|
1560
|
+
/** Dto class, containing information about a storefront. */
|
|
1561
|
+
export interface StorefrontDto {
|
|
1562
|
+
/** Storefront identifier. */
|
|
1563
|
+
id?: number;
|
|
1564
|
+
/** Tenant identifier. */
|
|
1565
|
+
tenantId?: number;
|
|
1566
|
+
/** Storefront name. */
|
|
1567
|
+
name?: string | null;
|
|
1568
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1569
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1570
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1571
|
+
postProcessingPipelineId?: number | null;
|
|
1572
|
+
/** Storefront ecommerce system type. */
|
|
1573
|
+
type?: StorefrontType;
|
|
1574
|
+
/** Storefront entity creation date and time. */
|
|
1575
|
+
created?: string;
|
|
1576
|
+
/** Connected shops URLs. */
|
|
1577
|
+
shopUrls?: string[] | null;
|
|
1578
|
+
}
|
|
1579
|
+
/** DTO, containing results of paged query. */
|
|
1580
|
+
export interface PagedOfStorefrontDto {
|
|
1581
|
+
total?: number;
|
|
1582
|
+
items?: StorefrontDto[] | null;
|
|
1583
|
+
}
|
|
1584
|
+
/** Custom storefront creation model. */
|
|
1585
|
+
export interface CreateCustomStorefrontDto {
|
|
1586
|
+
/** Storefront name. */
|
|
1587
|
+
name: string;
|
|
1588
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1589
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1590
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1591
|
+
postProcessingPipelineId?: number | null;
|
|
1592
|
+
/** Name of header that will be used to provide API key to target storefront system. */
|
|
1593
|
+
apiKeyHeaderName?: string | null;
|
|
1594
|
+
/** API key for target storefront system. */
|
|
1595
|
+
apiKey?: string | null;
|
|
1596
|
+
/** List of storefront shops URLs. */
|
|
1597
|
+
shopUrls: string[];
|
|
1598
|
+
}
|
|
1599
|
+
/** Custom storefront description. */
|
|
1600
|
+
export interface CustomStorefrontDto {
|
|
1601
|
+
/** Name of header that will be used to provide API key to target storefront system. */
|
|
1602
|
+
apiKeyHeaderName?: string | null;
|
|
1603
|
+
/** API key for target storefront system. */
|
|
1604
|
+
apiKey?: string | null;
|
|
1605
|
+
/** Storefront identifier. */
|
|
1606
|
+
id?: number;
|
|
1607
|
+
/** Tenant identifier. */
|
|
1608
|
+
tenantId?: number;
|
|
1609
|
+
/** Storefront name. */
|
|
1610
|
+
name?: string | null;
|
|
1611
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1612
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1613
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1614
|
+
postProcessingPipelineId?: number | null;
|
|
1615
|
+
/** Storefront ecommerce system type. */
|
|
1616
|
+
type?: StorefrontType;
|
|
1617
|
+
/** Storefront entity creation date and time. */
|
|
1618
|
+
created?: string;
|
|
1619
|
+
/** Connected shops URLs. */
|
|
1620
|
+
shopUrls?: string[] | null;
|
|
1621
|
+
}
|
|
1622
|
+
/** NopCommerce storefront creation model. */
|
|
1623
|
+
export interface CreateNopCommerceStorefrontDto {
|
|
1624
|
+
/** NopCommerce storefront name. */
|
|
1625
|
+
name: string;
|
|
1626
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1627
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1628
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1629
|
+
postProcessingPipelineId?: number | null;
|
|
1630
|
+
/** List of NopCommerce shops URLs. */
|
|
1631
|
+
shopUrls: string[];
|
|
1632
|
+
/** NopCommerce back-end application URL. */
|
|
1633
|
+
backendUrl: string;
|
|
1634
|
+
}
|
|
1635
|
+
/** NopCommerce storefront settings. */
|
|
1636
|
+
export interface NopCommerceSettingsDto {
|
|
1637
|
+
/** Customer's Canvas Asset Storage URL. */
|
|
1638
|
+
assetStorageUrl?: string | null;
|
|
1639
|
+
/** Customer's Canvas Asset Processor URL. */
|
|
1640
|
+
assetProcessorUrl?: string | null;
|
|
1641
|
+
/** Customer's Canvas tenant identifier. */
|
|
1642
|
+
tenantId?: number;
|
|
1643
|
+
/** Customer's Canvas storefront identifier. */
|
|
1644
|
+
storefrontId?: number;
|
|
1645
|
+
/** Customer's Canvas custom application client identifier. */
|
|
1646
|
+
clientId?: string | null;
|
|
1647
|
+
/** Customer's Canvas custom application client secret. */
|
|
1648
|
+
clientSecret?: string | null;
|
|
1649
|
+
/** NopCommerce plugin API key. */
|
|
1650
|
+
pluginApiKey?: string | null;
|
|
1651
|
+
}
|
|
1652
|
+
/** NopCommerce storefront description. */
|
|
1653
|
+
export interface NopCommerceStorefrontDto {
|
|
1654
|
+
/** NopCommerce storefront settings. */
|
|
1655
|
+
settings?: NopCommerceSettingsDto | null;
|
|
1656
|
+
/** Storefront identifier. */
|
|
1657
|
+
id?: number;
|
|
1658
|
+
/** Tenant identifier. */
|
|
1659
|
+
tenantId?: number;
|
|
1660
|
+
/** Storefront name. */
|
|
1661
|
+
name?: string | null;
|
|
1662
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1663
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1664
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1665
|
+
postProcessingPipelineId?: number | null;
|
|
1666
|
+
/** Storefront ecommerce system type. */
|
|
1667
|
+
type?: StorefrontType;
|
|
1668
|
+
/** Storefront entity creation date and time. */
|
|
1669
|
+
created?: string;
|
|
1670
|
+
/** Connected shops URLs. */
|
|
1671
|
+
shopUrls?: string[] | null;
|
|
1672
|
+
}
|
|
1673
|
+
/** WooCommerce storefront creation model. */
|
|
1674
|
+
export interface CreateWooCommerceStorefrontDto {
|
|
1675
|
+
/** WooCommerce storefront name. */
|
|
1676
|
+
name: string;
|
|
1677
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1678
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1679
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1680
|
+
postProcessingPipelineId?: number | null;
|
|
1681
|
+
/** List of WooCommerce shops URLs. */
|
|
1682
|
+
shopUrls: string[];
|
|
1683
|
+
/** WooCommerce back-end application URL. */
|
|
1684
|
+
backendUrl: string;
|
|
1685
|
+
}
|
|
1686
|
+
/** WooCommerce storefront settings. */
|
|
1687
|
+
export interface WooCommerceSettingsDto {
|
|
1688
|
+
/** Customer's Canvas Asset Storage URL. */
|
|
1689
|
+
assetStorageUrl?: string | null;
|
|
1690
|
+
/** Customer's Canvas Asset Processor URL. */
|
|
1691
|
+
assetProcessorUrl?: string | null;
|
|
1692
|
+
/** Customer's Canvas tenant identifier. */
|
|
1693
|
+
tenantId?: number;
|
|
1694
|
+
/** Customer's Canvas storefront identifier. */
|
|
1695
|
+
storefrontId?: number;
|
|
1696
|
+
/** Customer's Canvas custom application client identifier. */
|
|
1697
|
+
clientId?: string | null;
|
|
1698
|
+
/** Customer's Canvas custom application client secret. */
|
|
1699
|
+
clientSecret?: string | null;
|
|
1700
|
+
/** WooCommerce plugin API key. */
|
|
1701
|
+
pluginApiKey?: string | null;
|
|
1702
|
+
}
|
|
1703
|
+
/** WooCommerce storefront description. */
|
|
1704
|
+
export interface WooCommerceStorefrontDto {
|
|
1705
|
+
/** WooCommerce storefront settings. */
|
|
1706
|
+
settings?: WooCommerceSettingsDto | null;
|
|
1707
|
+
/** Storefront identifier. */
|
|
1708
|
+
id?: number;
|
|
1709
|
+
/** Tenant identifier. */
|
|
1710
|
+
tenantId?: number;
|
|
1711
|
+
/** Storefront name. */
|
|
1712
|
+
name?: string | null;
|
|
1713
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1714
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1715
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1716
|
+
postProcessingPipelineId?: number | null;
|
|
1717
|
+
/** Storefront ecommerce system type. */
|
|
1718
|
+
type?: StorefrontType;
|
|
1719
|
+
/** Storefront entity creation date and time. */
|
|
1720
|
+
created?: string;
|
|
1721
|
+
/** Connected shops URLs. */
|
|
1722
|
+
shopUrls?: string[] | null;
|
|
1723
|
+
}
|
|
1724
|
+
/** Magento storefront creation model. */
|
|
1725
|
+
export interface CreateMagentoStorefrontDto {
|
|
1726
|
+
/** Storefront name. */
|
|
1727
|
+
name: string;
|
|
1728
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1729
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1730
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1731
|
+
postProcessingPipelineId?: number | null;
|
|
1732
|
+
/** List of Magento shops URLs. */
|
|
1733
|
+
shopUrls: string[];
|
|
1734
|
+
/** Magento back-end application URL. */
|
|
1735
|
+
backendUrl: string;
|
|
1736
|
+
/** Magento API key. */
|
|
1737
|
+
shopApiKey: string;
|
|
1738
|
+
/** Magento shop code. */
|
|
1739
|
+
shopCode?: string | null;
|
|
1740
|
+
}
|
|
1741
|
+
/** Magento storefront settings. */
|
|
1742
|
+
export interface MagentoSettingsDto {
|
|
1743
|
+
/** Customer's Canvas Asset Storage URL. */
|
|
1744
|
+
assetStorageUrl?: string | null;
|
|
1745
|
+
/** Customer's Canvas Asset Processor URL. */
|
|
1746
|
+
assetProcessorUrl?: string | null;
|
|
1747
|
+
/** Customer's Canvas tenant identifier. */
|
|
1748
|
+
tenantId?: number;
|
|
1749
|
+
/** Customer's Canvas storefront identifier. */
|
|
1750
|
+
storefrontId?: number;
|
|
1751
|
+
/** Customer's Canvas custom application client identifier. */
|
|
1752
|
+
clientId?: string | null;
|
|
1753
|
+
/** Customer's Canvas custom application client secret. */
|
|
1754
|
+
clientSecret?: string | null;
|
|
1755
|
+
}
|
|
1756
|
+
/** Magento storefront description. */
|
|
1757
|
+
export interface MagentoStorefrontDto {
|
|
1758
|
+
/** Magento storefront settings. */
|
|
1759
|
+
settings?: MagentoSettingsDto | null;
|
|
1760
|
+
/** Storefront identifier. */
|
|
1761
|
+
id?: number;
|
|
1762
|
+
/** Tenant identifier. */
|
|
1763
|
+
tenantId?: number;
|
|
1764
|
+
/** Storefront name. */
|
|
1765
|
+
name?: string | null;
|
|
1766
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1767
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1768
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1769
|
+
postProcessingPipelineId?: number | null;
|
|
1770
|
+
/** Storefront ecommerce system type. */
|
|
1771
|
+
type?: StorefrontType;
|
|
1772
|
+
/** Storefront entity creation date and time. */
|
|
1773
|
+
created?: string;
|
|
1774
|
+
/** Connected shops URLs. */
|
|
1775
|
+
shopUrls?: string[] | null;
|
|
1776
|
+
}
|
|
1777
|
+
/** BigCommerce storefront creation model. */
|
|
1778
|
+
export interface CreateBigCommerceStorefrontDto {
|
|
1779
|
+
/** Storefront name. */
|
|
1780
|
+
name: string;
|
|
1781
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1782
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1783
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1784
|
+
postProcessingPipelineId?: number | null;
|
|
1785
|
+
/** List of shops URLs. */
|
|
1786
|
+
shopUrls: string[];
|
|
1787
|
+
/** BigCommerce access token. */
|
|
1788
|
+
accessToken: string;
|
|
1789
|
+
/** BigCommerce client name. */
|
|
1790
|
+
clientName: string;
|
|
1791
|
+
/** BigCommerce client identifier. */
|
|
1792
|
+
clientId: string;
|
|
1793
|
+
/** BigCommerce client secret. */
|
|
1794
|
+
clientSecret: string;
|
|
1795
|
+
/** BigCommerce integration name. */
|
|
1796
|
+
integrationName: string;
|
|
1797
|
+
/** BigCommerce API path. */
|
|
1798
|
+
apiPath: string;
|
|
1799
|
+
}
|
|
1800
|
+
/** BigCommerce storefront settings. */
|
|
1801
|
+
export interface BigCommerceSettingsDto {
|
|
1802
|
+
/** BigCommerce access token. */
|
|
1803
|
+
accessToken?: string | null;
|
|
1804
|
+
/** BigCommerce client name. */
|
|
1805
|
+
bigCommerceClientName?: string | null;
|
|
1806
|
+
/** BigCommerce API path. */
|
|
1807
|
+
apiPath?: string | null;
|
|
1808
|
+
/** BigCommerce client secret. */
|
|
1809
|
+
bigCommerceClientSecret?: string | null;
|
|
1810
|
+
/** BigCommerce client identifier. */
|
|
1811
|
+
bigCommerceClientId?: string | null;
|
|
1812
|
+
/** BigCommerce integration name. */
|
|
1813
|
+
integrationName?: string | null;
|
|
1814
|
+
}
|
|
1815
|
+
/** BigCommerce storefront description. */
|
|
1816
|
+
export interface BigCommerceStorefrontDto {
|
|
1817
|
+
/** BigCommerce integration settings. */
|
|
1818
|
+
settings?: BigCommerceSettingsDto | null;
|
|
1819
|
+
/** Storefront identifier. */
|
|
1820
|
+
id?: number;
|
|
1821
|
+
/** Tenant identifier. */
|
|
1822
|
+
tenantId?: number;
|
|
1823
|
+
/** Storefront name. */
|
|
1824
|
+
name?: string | null;
|
|
1825
|
+
/** Status of project that should become a trigger to start project items processing automatically. */
|
|
1826
|
+
processingPipelinesTriggerProjectStatus?: number | null;
|
|
1827
|
+
/** Identifier of pipeline that should be used for post-processing for projects when all project items are processed. */
|
|
1828
|
+
postProcessingPipelineId?: number | null;
|
|
1829
|
+
/** Storefront ecommerce system type. */
|
|
1830
|
+
type?: StorefrontType;
|
|
1831
|
+
/** Storefront entity creation date and time. */
|
|
1832
|
+
created?: string;
|
|
1833
|
+
/** Connected shops URLs. */
|
|
1834
|
+
shopUrls?: string[] | null;
|
|
1835
|
+
}
|
|
1836
|
+
/** Tenant user description. */
|
|
1837
|
+
export interface TenantUserDto {
|
|
1838
|
+
/** User identifier. */
|
|
1839
|
+
id?: number;
|
|
1840
|
+
/** User login. */
|
|
1841
|
+
login?: string | null;
|
|
1842
|
+
/** User email address. */
|
|
1843
|
+
email?: string | null;
|
|
1844
|
+
/** User first name. */
|
|
1845
|
+
firstName?: string | null;
|
|
1846
|
+
/** User last name. */
|
|
1847
|
+
lastName?: string | null;
|
|
1848
|
+
/** User status. */
|
|
1849
|
+
isActive?: boolean;
|
|
1850
|
+
/** User roles. */
|
|
1851
|
+
roleNames?: string[] | null;
|
|
1852
|
+
}
|
|
1853
|
+
/** DTO, containing results of paged query. */
|
|
1854
|
+
export interface PagedOfTenantUserDto {
|
|
1855
|
+
total?: number;
|
|
1856
|
+
items?: TenantUserDto[] | null;
|
|
1857
|
+
}
|
|
1858
|
+
/** Tenant user creation model. */
|
|
1859
|
+
export interface CreateTenantUserDto {
|
|
1860
|
+
/** User login (up to 256 symbols). */
|
|
1861
|
+
login: string;
|
|
1862
|
+
/** User first name (up to 64 symbols). */
|
|
1863
|
+
firstName: string;
|
|
1864
|
+
/** User last name (up to 64 symbols). */
|
|
1865
|
+
lastName: string;
|
|
1866
|
+
/** User email address (up to 256 symbols). */
|
|
1867
|
+
email: string;
|
|
1868
|
+
/** User status. */
|
|
1869
|
+
isActive?: boolean;
|
|
1870
|
+
/** User roles (e.g. 'Admin', 'User'). */
|
|
1871
|
+
roleNames?: string[] | null;
|
|
1872
|
+
/** User password (up to 32 symbols). */
|
|
1873
|
+
password: string;
|
|
1874
|
+
}
|
|
1875
|
+
/** Tenant user role description. */
|
|
1876
|
+
export interface TenantUserRoleDto {
|
|
1877
|
+
/** Role identifier. */
|
|
1878
|
+
id?: number;
|
|
1879
|
+
/** Role name. */
|
|
1880
|
+
name?: string | null;
|
|
1881
|
+
}
|
|
1882
|
+
/** DTO, containing results of paged query. */
|
|
1883
|
+
export interface PagedOfTenantUserRoleDto {
|
|
1884
|
+
total?: number;
|
|
1885
|
+
items?: TenantUserRoleDto[] | null;
|
|
1886
|
+
}
|
|
1887
|
+
export interface FileParameter {
|
|
1888
|
+
data: any;
|
|
1889
|
+
fileName: string;
|
|
1890
|
+
}
|
|
1891
|
+
export declare class ApiException extends Error {
|
|
1892
|
+
message: string;
|
|
1893
|
+
status: number;
|
|
1894
|
+
response: string;
|
|
1895
|
+
headers: {
|
|
1896
|
+
[key: string]: any;
|
|
1897
|
+
};
|
|
1898
|
+
result: any;
|
|
1899
|
+
constructor(message: string, status: number, response: string, headers: {
|
|
1900
|
+
[key: string]: any;
|
|
1901
|
+
}, result: any);
|
|
1902
|
+
protected isApiException: boolean;
|
|
1903
|
+
static isApiException(obj: any): obj is ApiException;
|
|
1904
|
+
}
|