@aurigma/axios-storefront-api-client 2.2.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,973 @@
1
+ /// <reference types="node" />
2
+ import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';
3
+ export declare class ApiClientConfiguration {
4
+ apiUrl: string;
5
+ apiKey: string;
6
+ private authorizationToken;
7
+ getAuthorizationToken(): Promise<string>;
8
+ setAuthorizationToken(token: string): void;
9
+ }
10
+ export declare class ApiClientBase {
11
+ private configuration;
12
+ constructor(configuration: ApiClientConfiguration);
13
+ protected transformOptions(options: AxiosRequestConfig): Promise<AxiosRequestConfig>;
14
+ protected getBaseUrl(defultUrl: string): string;
15
+ protected transformResult(url: string, res: AxiosResponse, cb: (res: AxiosResponse) => Promise<any>): Promise<any>;
16
+ }
17
+ export interface IBuildInfoApiClient {
18
+ /**
19
+ * Gets assembly build info
20
+ * @return Success
21
+ */
22
+ headInfo(): Promise<void>;
23
+ /**
24
+ * Gets assembly build info
25
+ * @return Success
26
+ */
27
+ getInfo(): Promise<BuildInfoModel>;
28
+ }
29
+ export declare class BuildInfoApiClient extends ApiClientBase implements IBuildInfoApiClient {
30
+ private instance;
31
+ private baseUrl;
32
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
33
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
34
+ /**
35
+ * Gets assembly build info
36
+ * @return Success
37
+ */
38
+ headInfo(cancelToken?: CancelToken | undefined): Promise<void>;
39
+ protected processHeadInfo(response: AxiosResponse): Promise<void>;
40
+ /**
41
+ * Gets assembly build info
42
+ * @return Success
43
+ */
44
+ getInfo(cancelToken?: CancelToken | undefined): Promise<BuildInfoModel>;
45
+ protected processGetInfo(response: AxiosResponse): Promise<BuildInfoModel>;
46
+ }
47
+ export interface IProductReferencesApiClient {
48
+ /**
49
+ * Gets all storefront product references relevant to specified query parameters
50
+ * @param storefrontId Storefront identifier
51
+ * @param productReference (optional) Product reference filter. Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier
52
+ * @param productSpecificationId (optional) Cusomer's Canvas product specification filter
53
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
54
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
55
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
56
+ * @param search (optional) Search string for partial match
57
+ * @param tenantId (optional) Tenant identifier
58
+ * @param userId (optional) User identifier
59
+ * @return Success
60
+ */
61
+ getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProductReferenceDto>;
62
+ /**
63
+ * Creates new storefront product reference
64
+ * @param storefrontId Storefront identifier
65
+ * @param tenantId (optional) Tenant identifier
66
+ * @param userId (optional) User identifier
67
+ * @param body (optional) Create operation parameters
68
+ * @return Success
69
+ */
70
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateProductReferenceDto | undefined): Promise<ProductReferenceDto>;
71
+ /**
72
+ * Gets storefront product reference
73
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
74
+ * @param storefrontId Storefront identifier
75
+ * @param tenantId (optional) Tenant identifier
76
+ * @param userId (optional) User identifier
77
+ * @return Success
78
+ */
79
+ get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProductReferenceDto>;
80
+ /**
81
+ * Deletes storefront product reference
82
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
83
+ * @param storefrontId Storefront identifier
84
+ * @param tenantId (optional) Tenant identifier
85
+ * @param userId (optional) User identifier
86
+ * @return Success
87
+ */
88
+ delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProductReferenceDto>;
89
+ /**
90
+ * Gets product specification by storefront product reference
91
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
92
+ * @param storefrontId Storefront identifier
93
+ * @param tenantId (optional) Tenant identifier
94
+ * @param userId (optional) User identifier
95
+ * @return Success
96
+ */
97
+ getProductSpecification(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProductSpecificationDto>;
98
+ /**
99
+ * Gets product configuration information by storefront product reference
100
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
101
+ * @param storefrontId Storefront identifier
102
+ * @param tenantId (optional) Tenant identifier
103
+ * @param userId (optional) User identifier
104
+ * @return Success
105
+ */
106
+ getProductConfig(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProductReferenceDto>;
107
+ }
108
+ export declare class ProductReferencesApiClient extends ApiClientBase implements IProductReferencesApiClient {
109
+ private instance;
110
+ private baseUrl;
111
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
112
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
113
+ /**
114
+ * Gets all storefront product references relevant to specified query parameters
115
+ * @param storefrontId Storefront identifier
116
+ * @param productReference (optional) Product reference filter. Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier
117
+ * @param productSpecificationId (optional) Cusomer's Canvas product specification filter
118
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
119
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
120
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
121
+ * @param search (optional) Search string for partial match
122
+ * @param tenantId (optional) Tenant identifier
123
+ * @param userId (optional) User identifier
124
+ * @return Success
125
+ */
126
+ getAll(storefrontId: number, productReference?: string | null | undefined, productSpecificationId?: number | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProductReferenceDto>;
127
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfProductReferenceDto>;
128
+ /**
129
+ * Creates new storefront product reference
130
+ * @param storefrontId Storefront identifier
131
+ * @param tenantId (optional) Tenant identifier
132
+ * @param userId (optional) User identifier
133
+ * @param body (optional) Create operation parameters
134
+ * @return Success
135
+ */
136
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateProductReferenceDto | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
137
+ protected processCreate(response: AxiosResponse): Promise<ProductReferenceDto>;
138
+ /**
139
+ * Gets storefront product reference
140
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
141
+ * @param storefrontId Storefront identifier
142
+ * @param tenantId (optional) Tenant identifier
143
+ * @param userId (optional) User identifier
144
+ * @return Success
145
+ */
146
+ get(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
147
+ protected processGet(response: AxiosResponse): Promise<ProductReferenceDto>;
148
+ /**
149
+ * Deletes storefront product reference
150
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
151
+ * @param storefrontId Storefront identifier
152
+ * @param tenantId (optional) Tenant identifier
153
+ * @param userId (optional) User identifier
154
+ * @return Success
155
+ */
156
+ delete(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
157
+ protected processDelete(response: AxiosResponse): Promise<ProductReferenceDto>;
158
+ /**
159
+ * Gets product specification by storefront product reference
160
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
161
+ * @param storefrontId Storefront identifier
162
+ * @param tenantId (optional) Tenant identifier
163
+ * @param userId (optional) User identifier
164
+ * @return Success
165
+ */
166
+ getProductSpecification(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSpecificationDto>;
167
+ protected processGetProductSpecification(response: AxiosResponse): Promise<ProductSpecificationDto>;
168
+ /**
169
+ * Gets product configuration information by storefront product reference
170
+ * @param reference Product reference - external reference to Customer's Canvas product specification, e.g online store product identifier
171
+ * @param storefrontId Storefront identifier
172
+ * @param tenantId (optional) Tenant identifier
173
+ * @param userId (optional) User identifier
174
+ * @return Success
175
+ */
176
+ getProductConfig(reference: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductReferenceDto>;
177
+ protected processGetProductConfig(response: AxiosResponse): Promise<ProductReferenceDto>;
178
+ }
179
+ export interface IProductSpecificationsApiClient {
180
+ /**
181
+ * Gets all product specifications relevant to specified query parameters
182
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
183
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
184
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
185
+ * @param search (optional) Search string for partial match
186
+ * @param tenantId (optional) Tenant identifier
187
+ * @param userId (optional) User identifier
188
+ * @return Success
189
+ */
190
+ getAll(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProductSpecificationDto>;
191
+ /**
192
+ * Gets product specification by id
193
+ * @param id Product specification identifier
194
+ * @param tenantId (optional) Tenant identifier
195
+ * @param userId (optional) User identifier
196
+ * @return Success
197
+ */
198
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProductSpecificationDto>;
199
+ /**
200
+ * Gets product configuration description by product specification id
201
+ * @param id Product specification identifier
202
+ * @param tenantId (optional) Tenant identifier
203
+ * @param userId (optional) User identifier
204
+ * @return Success
205
+ */
206
+ getConfiguration(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<string>;
207
+ }
208
+ export declare class ProductSpecificationsApiClient extends ApiClientBase implements IProductSpecificationsApiClient {
209
+ private instance;
210
+ private baseUrl;
211
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
212
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
213
+ /**
214
+ * Gets all product specifications relevant to specified query parameters
215
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
216
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
217
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
218
+ * @param search (optional) Search string for partial match
219
+ * @param tenantId (optional) Tenant identifier
220
+ * @param userId (optional) User identifier
221
+ * @return Success
222
+ */
223
+ getAll(skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProductSpecificationDto>;
224
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfProductSpecificationDto>;
225
+ /**
226
+ * Gets product specification by id
227
+ * @param id Product specification identifier
228
+ * @param tenantId (optional) Tenant identifier
229
+ * @param userId (optional) User identifier
230
+ * @return Success
231
+ */
232
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProductSpecificationDto>;
233
+ protected processGet(response: AxiosResponse): Promise<ProductSpecificationDto>;
234
+ /**
235
+ * Gets product configuration description by product specification id
236
+ * @param id Product specification identifier
237
+ * @param tenantId (optional) Tenant identifier
238
+ * @param userId (optional) User identifier
239
+ * @return Success
240
+ */
241
+ getConfiguration(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<string>;
242
+ protected processGetConfiguration(response: AxiosResponse): Promise<string>;
243
+ }
244
+ export interface IProjectsApiClient {
245
+ /**
246
+ * Gets all projects relevant to specified query parameters
247
+ * @param storefrontId Storefront identifier
248
+ * @param ownerId (optional) Project owner (storefront user id) filter
249
+ * @param productReference (optional) Product reference filter
250
+ * @param status (optional) Project status filter
251
+ * @param datePeriod (optional) Project date period filter
252
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
253
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
254
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
255
+ * @param search (optional) Search string for partial match
256
+ * @param tenantId (optional) Tenant identifier
257
+ * @param userId (optional) User identifier
258
+ * @return Success
259
+ */
260
+ getAll(storefrontId: number, ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProjectDto>;
261
+ /**
262
+ * Creates new project
263
+ * @param storefrontId Storefront identifier
264
+ * @param tenantId (optional) Tenant identifier
265
+ * @param userId (optional) User identifier
266
+ * @param body (optional) Create operation parameters
267
+ * @return Success
268
+ */
269
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateProjectDto | undefined): Promise<ProjectDto>;
270
+ /**
271
+ * Gets project by id
272
+ * @param id Project identifier
273
+ * @param tenantId (optional) Tenant identifier
274
+ * @param userId (optional) User identifier
275
+ * @return Success
276
+ */
277
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProjectDto>;
278
+ /**
279
+ * Gets available project transitions
280
+ * @param id Project identifier
281
+ * @param tenantId (optional) Tenant identifier
282
+ * @param userId (optional) User identifier
283
+ * @return Success
284
+ */
285
+ getAvailableTransitions(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProjectTransitionDto>;
286
+ /**
287
+ * Changes project status
288
+ * @param id Project identifier
289
+ * @param transition Transition identifying name
290
+ * @param tenantId (optional) Tenant identifier
291
+ * @param userId (optional) User identifier
292
+ * @return Success
293
+ */
294
+ changeStatus(id: number, transition: string | null, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProjectStatusDto>;
295
+ /**
296
+ * Force changes project status
297
+ * @param id Project identifier
298
+ * @param status Project status code
299
+ * @param tenantId (optional) Tenant identifier
300
+ * @param userId (optional) User identifier
301
+ * @return Success
302
+ */
303
+ forceStatus(id: number, status: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProjectStatusDto>;
304
+ /**
305
+ * Gets all project statuses
306
+ * @param tenantId (optional) Tenant identifier
307
+ * @param userId (optional) User identifier
308
+ * @return Success
309
+ */
310
+ getAllStatuses(tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProjectStatusDto>;
311
+ /**
312
+ * Gets all project transitions
313
+ * @param tenantId (optional) Tenant identifier
314
+ * @param userId (optional) User identifier
315
+ * @return Success
316
+ */
317
+ getAllTransitions(tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfProjectTransitionDto>;
318
+ /**
319
+ * Gets project pdf url
320
+ * @param id Project unique identifier
321
+ * @param designUserId User identifier
322
+ * @param designId Design identifier
323
+ * @param tenantId (optional) Tenant identifier
324
+ * @param userId (optional) User identifier
325
+ * @return Success
326
+ */
327
+ getProjectPdfUrl(id: number, designUserId: string, designId: string, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<ProjectPdfResultDto>;
328
+ /**
329
+ * Gets project pdf files in zip archive
330
+ * @param id Project unique identifier
331
+ * @param designUserId User identifier
332
+ * @param designId Design identifier
333
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with proper filename supplied (default value is 'false')
334
+ * @param tenantId (optional) Tenant identifier
335
+ * @param userId (optional) User identifier
336
+ * @return Success
337
+ */
338
+ getProjectPdfZip(id: number, designUserId: string, designId: string, attachment?: boolean | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<FileResponse>;
339
+ /**
340
+ * Gets project order data from ecommerce system
341
+ * @param id Project identifier
342
+ * @return Success
343
+ */
344
+ getProjectOrder(id: number): Promise<any>;
345
+ }
346
+ export declare class ProjectsApiClient extends ApiClientBase implements IProjectsApiClient {
347
+ private instance;
348
+ private baseUrl;
349
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
350
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
351
+ /**
352
+ * Gets all projects relevant to specified query parameters
353
+ * @param storefrontId Storefront identifier
354
+ * @param ownerId (optional) Project owner (storefront user id) filter
355
+ * @param productReference (optional) Product reference filter
356
+ * @param status (optional) Project status filter
357
+ * @param datePeriod (optional) Project date period filter
358
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
359
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
360
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
361
+ * @param search (optional) Search string for partial match
362
+ * @param tenantId (optional) Tenant identifier
363
+ * @param userId (optional) User identifier
364
+ * @return Success
365
+ */
366
+ getAll(storefrontId: number, ownerId?: string | null | undefined, productReference?: string | null | undefined, status?: number | null | undefined, datePeriod?: DatePeriod | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectDto>;
367
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfProjectDto>;
368
+ /**
369
+ * Creates new project
370
+ * @param storefrontId Storefront identifier
371
+ * @param tenantId (optional) Tenant identifier
372
+ * @param userId (optional) User identifier
373
+ * @param body (optional) Create operation parameters
374
+ * @return Success
375
+ */
376
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateProjectDto | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectDto>;
377
+ protected processCreate(response: AxiosResponse): Promise<ProjectDto>;
378
+ /**
379
+ * Gets project by id
380
+ * @param id Project identifier
381
+ * @param tenantId (optional) Tenant identifier
382
+ * @param userId (optional) User identifier
383
+ * @return Success
384
+ */
385
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectDto>;
386
+ protected processGet(response: AxiosResponse): Promise<ProjectDto>;
387
+ /**
388
+ * Gets available project transitions
389
+ * @param id Project identifier
390
+ * @param tenantId (optional) Tenant identifier
391
+ * @param userId (optional) User identifier
392
+ * @return Success
393
+ */
394
+ getAvailableTransitions(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectTransitionDto>;
395
+ protected processGetAvailableTransitions(response: AxiosResponse): Promise<PagedOfProjectTransitionDto>;
396
+ /**
397
+ * Changes project status
398
+ * @param id Project identifier
399
+ * @param transition Transition identifying name
400
+ * @param tenantId (optional) Tenant identifier
401
+ * @param userId (optional) User identifier
402
+ * @return Success
403
+ */
404
+ changeStatus(id: number, transition: string | null, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
405
+ protected processChangeStatus(response: AxiosResponse): Promise<ProjectStatusDto>;
406
+ /**
407
+ * Force changes project status
408
+ * @param id Project identifier
409
+ * @param status Project status code
410
+ * @param tenantId (optional) Tenant identifier
411
+ * @param userId (optional) User identifier
412
+ * @return Success
413
+ */
414
+ forceStatus(id: number, status: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectStatusDto>;
415
+ protected processForceStatus(response: AxiosResponse): Promise<ProjectStatusDto>;
416
+ /**
417
+ * Gets all project statuses
418
+ * @param tenantId (optional) Tenant identifier
419
+ * @param userId (optional) User identifier
420
+ * @return Success
421
+ */
422
+ getAllStatuses(tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectStatusDto>;
423
+ protected processGetAllStatuses(response: AxiosResponse): Promise<PagedOfProjectStatusDto>;
424
+ /**
425
+ * Gets all project transitions
426
+ * @param tenantId (optional) Tenant identifier
427
+ * @param userId (optional) User identifier
428
+ * @return Success
429
+ */
430
+ getAllTransitions(tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfProjectTransitionDto>;
431
+ protected processGetAllTransitions(response: AxiosResponse): Promise<PagedOfProjectTransitionDto>;
432
+ /**
433
+ * Gets project pdf url
434
+ * @param id Project unique identifier
435
+ * @param designUserId User identifier
436
+ * @param designId Design identifier
437
+ * @param tenantId (optional) Tenant identifier
438
+ * @param userId (optional) User identifier
439
+ * @return Success
440
+ */
441
+ getProjectPdfUrl(id: number, designUserId: string, designId: string, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<ProjectPdfResultDto>;
442
+ protected processGetProjectPdfUrl(response: AxiosResponse): Promise<ProjectPdfResultDto>;
443
+ /**
444
+ * Gets project pdf files in zip archive
445
+ * @param id Project unique identifier
446
+ * @param designUserId User identifier
447
+ * @param designId Design identifier
448
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with proper filename supplied (default value is 'false')
449
+ * @param tenantId (optional) Tenant identifier
450
+ * @param userId (optional) User identifier
451
+ * @return Success
452
+ */
453
+ getProjectPdfZip(id: number, designUserId: string, designId: string, attachment?: boolean | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
454
+ protected processGetProjectPdfZip(response: AxiosResponse): Promise<FileResponse>;
455
+ /**
456
+ * Gets project order data from ecommerce system
457
+ * @param id Project identifier
458
+ * @return Success
459
+ */
460
+ getProjectOrder(id: number, cancelToken?: CancelToken | undefined): Promise<any>;
461
+ protected processGetProjectOrder(response: AxiosResponse): Promise<any>;
462
+ }
463
+ export interface IStorefrontsApiClient {
464
+ /**
465
+ * Gets all storefronts relevant to specified query parameters
466
+ * @param types (optional) Storefront type filter
467
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
468
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
469
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
470
+ * @param search (optional) Search string for partial match
471
+ * @param tenantId (optional) Tenant identifier
472
+ * @param userId (optional) User identifier
473
+ * @return Success
474
+ */
475
+ 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, userId?: number | null | undefined): Promise<PagedOfStorefrontDto>;
476
+ /**
477
+ * Gets storefront
478
+ * @param id Storefront identifier
479
+ * @param tenantId (optional) Tenant identifier
480
+ * @param userId (optional) User identifier
481
+ * @return Success
482
+ */
483
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<StorefrontDto>;
484
+ }
485
+ export declare class StorefrontsApiClient extends ApiClientBase implements IStorefrontsApiClient {
486
+ private instance;
487
+ private baseUrl;
488
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
489
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
490
+ /**
491
+ * Gets all storefronts relevant to specified query parameters
492
+ * @param types (optional) Storefront type filter
493
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
494
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
495
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
496
+ * @param search (optional) Search string for partial match
497
+ * @param tenantId (optional) Tenant identifier
498
+ * @param userId (optional) User identifier
499
+ * @return Success
500
+ */
501
+ 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, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontDto>;
502
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfStorefrontDto>;
503
+ /**
504
+ * Gets storefront
505
+ * @param id Storefront identifier
506
+ * @param tenantId (optional) Tenant identifier
507
+ * @param userId (optional) User identifier
508
+ * @return Success
509
+ */
510
+ get(id: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<StorefrontDto>;
511
+ protected processGet(response: AxiosResponse): Promise<StorefrontDto>;
512
+ }
513
+ export interface IStorefrontUsersApiClient {
514
+ /**
515
+ * Gets all storefront users relevant to specified query parameters
516
+ * @param storefrontId Storefront identifier
517
+ * @param storefrontUserId (optional) Storefront user identifier
518
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
519
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
520
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
521
+ * @param search (optional) Search string for partial match
522
+ * @param tenantId (optional) Tenant identifier
523
+ * @param userId (optional) User identifier
524
+ * @return Success
525
+ */
526
+ getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<PagedOfStorefrontUserDto>;
527
+ /**
528
+ * Creates new storefront user
529
+ * @param storefrontId Storefront identifier
530
+ * @param tenantId (optional) Tenant identifier
531
+ * @param userId (optional) User identifier
532
+ * @param body (optional) Create operation parameters
533
+ * @return Success
534
+ */
535
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateStorefrontUserDto | undefined): Promise<StorefrontUserDto>;
536
+ /**
537
+ * Gets storefront user by id
538
+ * @param id Storefront user identifier
539
+ * @param storefrontId Storefront identifier
540
+ * @param tenantId (optional) Tenant identifier
541
+ * @param userId (optional) User identifier
542
+ * @return Success
543
+ */
544
+ get(id: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<StorefrontUserDto>;
545
+ /**
546
+ * Merges anonymous storefront user data to regular storefront user account
547
+ * @param storefrontId Storefront identifier
548
+ * @param tenantId (optional) Tenant identifier
549
+ * @param userId (optional) User identifier
550
+ * @param body (optional) Merge operation parameters
551
+ * @return Success
552
+ */
553
+ mergeAnonymous(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: MergeAnonymousUserDataInput | undefined): Promise<void>;
554
+ /**
555
+ * Gets storefront user token
556
+ * @param storefrontUserId Storefront user identifier
557
+ * @param storefrontId Storefront identifier
558
+ * @param tenantId (optional) Tenant identifier
559
+ * @param userId (optional) User identifier
560
+ * @return Success
561
+ */
562
+ getToken(storefrontUserId: string, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<void>;
563
+ }
564
+ export declare class StorefrontUsersApiClient extends ApiClientBase implements IStorefrontUsersApiClient {
565
+ private instance;
566
+ private baseUrl;
567
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
568
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
569
+ /**
570
+ * Gets all storefront users relevant to specified query parameters
571
+ * @param storefrontId Storefront identifier
572
+ * @param storefrontUserId (optional) Storefront user identifier
573
+ * @param skip (optional) Defines page start offset from beginning of sorted result list
574
+ * @param take (optional) Defines page length (how much consequent items of sorted result list should be taken)
575
+ * @param sorting (optional) Defines sorting order of result list e.g.: "Title ASC, LastModified DESC"
576
+ * @param search (optional) Search string for partial match
577
+ * @param tenantId (optional) Tenant identifier
578
+ * @param userId (optional) User identifier
579
+ * @return Success
580
+ */
581
+ getAll(storefrontId: number, storefrontUserId?: string | null | undefined, skip?: number | null | undefined, take?: number | null | undefined, sorting?: string | null | undefined, search?: string | null | undefined, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<PagedOfStorefrontUserDto>;
582
+ protected processGetAll(response: AxiosResponse): Promise<PagedOfStorefrontUserDto>;
583
+ /**
584
+ * Creates new storefront user
585
+ * @param storefrontId Storefront identifier
586
+ * @param tenantId (optional) Tenant identifier
587
+ * @param userId (optional) User identifier
588
+ * @param body (optional) Create operation parameters
589
+ * @return Success
590
+ */
591
+ create(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: CreateStorefrontUserDto | undefined, cancelToken?: CancelToken | undefined): Promise<StorefrontUserDto>;
592
+ protected processCreate(response: AxiosResponse): Promise<StorefrontUserDto>;
593
+ /**
594
+ * Gets storefront user by id
595
+ * @param id Storefront user identifier
596
+ * @param storefrontId Storefront identifier
597
+ * @param tenantId (optional) Tenant identifier
598
+ * @param userId (optional) User identifier
599
+ * @return Success
600
+ */
601
+ get(id: string | null, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<StorefrontUserDto>;
602
+ protected processGet(response: AxiosResponse): Promise<StorefrontUserDto>;
603
+ /**
604
+ * Merges anonymous storefront user data to regular storefront user account
605
+ * @param storefrontId Storefront identifier
606
+ * @param tenantId (optional) Tenant identifier
607
+ * @param userId (optional) User identifier
608
+ * @param body (optional) Merge operation parameters
609
+ * @return Success
610
+ */
611
+ mergeAnonymous(storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, body?: MergeAnonymousUserDataInput | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
612
+ protected processMergeAnonymous(response: AxiosResponse): Promise<void>;
613
+ /**
614
+ * Gets storefront user token
615
+ * @param storefrontUserId Storefront user identifier
616
+ * @param storefrontId Storefront identifier
617
+ * @param tenantId (optional) Tenant identifier
618
+ * @param userId (optional) User identifier
619
+ * @return Success
620
+ */
621
+ getToken(storefrontUserId: string, storefrontId: number, tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
622
+ protected processGetToken(response: AxiosResponse): Promise<void>;
623
+ }
624
+ export interface ITenantInfoApiClient {
625
+ /**
626
+ * Gets information about tenant applications
627
+ * @param tenantId (optional) Tenant identifier
628
+ * @param userId (optional) User identifier
629
+ * @return Success
630
+ */
631
+ getApplicationsInfo(tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<TenantApplicationsInfoDto>;
632
+ /**
633
+ * Gets information about tenant
634
+ * @param tenantId (optional) Tenant identifier
635
+ * @param userId (optional) User identifier
636
+ * @return Success
637
+ */
638
+ getInfo(tenantId?: number | null | undefined, userId?: number | null | undefined): Promise<TenantInfoDto>;
639
+ }
640
+ export declare class TenantInfoApiClient extends ApiClientBase implements ITenantInfoApiClient {
641
+ private instance;
642
+ private baseUrl;
643
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
644
+ constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
645
+ /**
646
+ * Gets information about tenant applications
647
+ * @param tenantId (optional) Tenant identifier
648
+ * @param userId (optional) User identifier
649
+ * @return Success
650
+ */
651
+ getApplicationsInfo(tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<TenantApplicationsInfoDto>;
652
+ protected processGetApplicationsInfo(response: AxiosResponse): Promise<TenantApplicationsInfoDto>;
653
+ /**
654
+ * Gets information about tenant
655
+ * @param tenantId (optional) Tenant identifier
656
+ * @param userId (optional) User identifier
657
+ * @return Success
658
+ */
659
+ getInfo(tenantId?: number | null | undefined, userId?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise<TenantInfoDto>;
660
+ protected processGetInfo(response: AxiosResponse): Promise<TenantInfoDto>;
661
+ }
662
+ /** Information about a service */
663
+ export interface BuildInfoModel {
664
+ /** Version number */
665
+ version?: string | null;
666
+ /** Build date (UTC) */
667
+ buildDate?: string | null;
668
+ /** Build configuration (Debug | Release) */
669
+ configuration?: string | null;
670
+ /** Service name */
671
+ appName?: string | null;
672
+ }
673
+ /** Storefront product reference dto class */
674
+ export interface ProductReferenceDto {
675
+ /** Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier */
676
+ productReference?: string | null;
677
+ /** Customer's Canvas product specification identifier */
678
+ productSpecificationId?: number;
679
+ /** Storefront identifier */
680
+ storefrontId?: number;
681
+ /** Tenant identifier */
682
+ tenantId?: number;
683
+ /** Storefront product reference creation date and time */
684
+ created?: string;
685
+ }
686
+ /** Paged list of items */
687
+ export interface PagedOfProductReferenceDto {
688
+ /** Items count */
689
+ total?: number;
690
+ /** Items list */
691
+ items?: ProductReferenceDto[] | null;
692
+ }
693
+ /** Dto class, containing create operation parameters for storefront product reference */
694
+ export interface CreateProductReferenceDto {
695
+ /** Product reference is an external reference to Customer's Canvas product specification, e.g online store product identifier */
696
+ productReference: string;
697
+ /** Customer's Canvas product specification identifier */
698
+ productSpecificationId: number;
699
+ }
700
+ export interface ProblemDetails {
701
+ type?: string | null;
702
+ title?: string | null;
703
+ status?: number | null;
704
+ detail?: string | null;
705
+ instance?: string | null;
706
+ }
707
+ /** Product attribute dto class */
708
+ export interface ProductAttributeDto {
709
+ /** Product attribute name */
710
+ name?: string | null;
711
+ /** Product attribute type */
712
+ type?: string | null;
713
+ /** Product attribute value */
714
+ value?: any | null;
715
+ }
716
+ /** Product specification dto class */
717
+ export interface ProductSpecificationDto {
718
+ /** Product specification identifier */
719
+ id?: number;
720
+ /** Tenant identifier */
721
+ tenantId?: number;
722
+ /** Product specification name */
723
+ name?: string | null;
724
+ /** List of product attributes */
725
+ productAttributes?: ProductAttributeDto[] | null;
726
+ /** Product specification creation time */
727
+ created?: string;
728
+ /** Product specification modification time */
729
+ lastModified?: string | null;
730
+ }
731
+ /** Paged list of items */
732
+ export interface PagedOfProductSpecificationDto {
733
+ /** Items count */
734
+ total?: number;
735
+ /** Items list */
736
+ items?: ProductSpecificationDto[] | null;
737
+ }
738
+ /** Available date period filter values for queries */
739
+ export declare enum DatePeriod {
740
+ All = "All",
741
+ Today = "Today",
742
+ Last7Days = "Last7Days",
743
+ Last30Days = "Last30Days"
744
+ }
745
+ /** Project item dto class */
746
+ export interface ProjectItemDto {
747
+ /** Item name */
748
+ name?: string | null;
749
+ /** Item quantity information */
750
+ quantity?: number | null;
751
+ /** Item information */
752
+ fields?: {
753
+ [key: string]: any;
754
+ } | null;
755
+ /** Additional item information */
756
+ hidden?: any | null;
757
+ /** List of item associated design identifiers */
758
+ designIds?: string[] | null;
759
+ /** SKU */
760
+ sku?: string | null;
761
+ }
762
+ /** Project dto class */
763
+ export interface ProjectDto {
764
+ /** Project identifier */
765
+ id?: number;
766
+ /** Product reference (i.e external reference to Customer's Canvas product specification) */
767
+ productReference?: string | null;
768
+ /** Storefront identifier */
769
+ storefrontId?: number;
770
+ /** Project tenant indentifier */
771
+ tenantId?: number;
772
+ /** Order identifier in ecommerce system */
773
+ orderId?: string | null;
774
+ /** Order url in ecommerce system */
775
+ orderUrl?: string | null;
776
+ /** Order number in ecommerce system */
777
+ orderNumber?: number | null;
778
+ /** Line item ID from external ecommerce system order. */
779
+ orderLineItemId?: string | null;
780
+ /** Line item index from external ecommerce system order. */
781
+ orderLineItemIndex?: number | null;
782
+ /** Customer identifier in ecommerce system */
783
+ customerId?: string | null;
784
+ /** Customer name in ecommerce system */
785
+ customerName?: string | null;
786
+ /** Project name */
787
+ name?: string | null;
788
+ /** Project owner identifier */
789
+ ownerId?: string | null;
790
+ /** List of project items */
791
+ items?: ProjectItemDto[] | null;
792
+ /** Project status code */
793
+ status?: number;
794
+ /** Project creation time */
795
+ created?: string;
796
+ /** Project modification time */
797
+ lastModified?: string | null;
798
+ /** Description of the project */
799
+ description?: string | null;
800
+ }
801
+ /** Paged list of items */
802
+ export interface PagedOfProjectDto {
803
+ /** Items count */
804
+ total?: number;
805
+ /** Items list */
806
+ items?: ProjectDto[] | null;
807
+ }
808
+ /** Dto class, containing create operation parameters for project entity */
809
+ export interface CreateProjectDto {
810
+ /** Product reference (i.e external reference to Customer's Canvas product specification - main subject of this project) */
811
+ productReference: string;
812
+ /** Order identifier in ecommerce system */
813
+ orderId?: string | null;
814
+ /** Order url in ecommerce system */
815
+ orderUrl?: string | null;
816
+ /** Order number in ecommerce system */
817
+ orderNumber?: number | null;
818
+ /** Line item index from ecommerce system order */
819
+ orderLineItemIndex?: number | null;
820
+ /** Line Item id from ecommerce system order */
821
+ orderLineItemId?: string | null;
822
+ /** Customer identifier in ecommerce system */
823
+ customerId?: string | null;
824
+ /** Customer name in ecommerce system */
825
+ customerName?: string | null;
826
+ /** Project name */
827
+ name?: string | null;
828
+ /** Project owner identifier */
829
+ ownerId: string;
830
+ /** List of project items */
831
+ items?: ProjectItemDto[] | null;
832
+ /** Description of the project */
833
+ description?: string | null;
834
+ }
835
+ /** Project transition dto class */
836
+ export interface ProjectTransitionDto {
837
+ /** Transition identifying name */
838
+ name?: string | null;
839
+ /** Transition display name */
840
+ displayName?: string | null;
841
+ /** Project status code from which transition to the result status code can be done */
842
+ startStatus?: number;
843
+ /** Transition result project status code */
844
+ resultStatus?: number;
845
+ }
846
+ /** Paged list of items */
847
+ export interface PagedOfProjectTransitionDto {
848
+ /** Items count */
849
+ total?: number;
850
+ /** Items list */
851
+ items?: ProjectTransitionDto[] | null;
852
+ }
853
+ /** Information about project transition conflict */
854
+ export interface ProjectTransitionConflictDto {
855
+ /** List of available project transitions */
856
+ availableTransitions?: ProjectTransitionDto[] | null;
857
+ }
858
+ /** Project status dto class */
859
+ export interface ProjectStatusDto {
860
+ /** Status code */
861
+ code?: number;
862
+ /** Status display name */
863
+ displayName?: string | null;
864
+ }
865
+ /** Paged list of items */
866
+ export interface PagedOfProjectStatusDto {
867
+ /** Items count */
868
+ total?: number;
869
+ /** Items list */
870
+ items?: ProjectStatusDto[] | null;
871
+ }
872
+ /** Dto class, containing result of get project pdf url operation */
873
+ export interface ProjectPdfResultDto {
874
+ /** Project pdf url */
875
+ url?: string | null;
876
+ }
877
+ /** Storefront types */
878
+ export declare enum StorefrontType {
879
+ Custom = "Custom",
880
+ Shopify = "Shopify",
881
+ DocketManager = "DocketManager",
882
+ Auth0Saml = "Auth0Saml"
883
+ }
884
+ /** Storefront dto class */
885
+ export interface StorefrontDto {
886
+ /** Storefront identifier */
887
+ id?: number;
888
+ /** Tenant identifier */
889
+ tenantId?: number;
890
+ /** Storefront name */
891
+ name?: string | null;
892
+ type?: StorefrontType;
893
+ /** Storefront entity creation date and time */
894
+ created?: string;
895
+ }
896
+ /** Paged list of items */
897
+ export interface PagedOfStorefrontDto {
898
+ /** Items count */
899
+ total?: number;
900
+ /** Items list */
901
+ items?: StorefrontDto[] | null;
902
+ }
903
+ /** Storefront user dto class */
904
+ export interface StorefrontUserDto {
905
+ /** Storefront user identifier */
906
+ userId?: string | null;
907
+ /** Storefront tenant indentifier */
908
+ tenantId?: number;
909
+ /** Storefront identifier */
910
+ storefrontId?: number | null;
911
+ /** Indicates whether user is an anonymous */
912
+ isAnonymous?: boolean;
913
+ }
914
+ /** Paged list of items */
915
+ export interface PagedOfStorefrontUserDto {
916
+ /** Items count */
917
+ total?: number;
918
+ /** Items list */
919
+ items?: StorefrontUserDto[] | null;
920
+ }
921
+ /** Dto class, containing create operation parameters for storefront user entity */
922
+ export interface CreateStorefrontUserDto {
923
+ /** Storefront user identifier */
924
+ storefrontUserId?: string | null;
925
+ /** Indicates whether user is an anonymous */
926
+ isAnonymous?: boolean;
927
+ }
928
+ /** Dto class, containing parameters for merge anonymous user operation */
929
+ export interface MergeAnonymousUserDataInput {
930
+ /** Anonymous storefront user identifier */
931
+ anonymousStorefrontUserId?: string | null;
932
+ /** Regular storefront user identifier */
933
+ regularStorefrontUserId?: string | null;
934
+ }
935
+ /** Dto class, containing information about tenant applications */
936
+ export interface TenantApplicationsInfoDto {
937
+ designEditorUrl?: string | null;
938
+ uiFrameworkUrl?: string | null;
939
+ preflightUrl?: string | null;
940
+ dynamicImageUrl?: string | null;
941
+ tenantId?: number;
942
+ }
943
+ /** Dto class, containing information about tenant */
944
+ export interface TenantInfoDto {
945
+ /** Tenant identifier */
946
+ tenantId?: number;
947
+ /** Tenancy name */
948
+ tenancyName?: string | null;
949
+ /** Tenant creation time */
950
+ tenantCreationTime?: string;
951
+ }
952
+ export interface FileResponse {
953
+ data: Blob;
954
+ status: number;
955
+ fileName?: string;
956
+ headers?: {
957
+ [name: string]: any;
958
+ };
959
+ }
960
+ export declare class ApiException extends Error {
961
+ message: string;
962
+ status: number;
963
+ response: string;
964
+ headers: {
965
+ [key: string]: any;
966
+ };
967
+ result: any;
968
+ constructor(message: string, status: number, response: string, headers: {
969
+ [key: string]: any;
970
+ }, result: any);
971
+ protected isApiException: boolean;
972
+ static isApiException(obj: any): obj is ApiException;
973
+ }