@digital8/lighting-illusions-ts-sdk 0.0.634 → 0.0.636
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/.openapi-generator/FILES +50 -6
- package/README.md +32 -5
- package/dist/apis/DefinitionApi.d.ts +85 -0
- package/dist/apis/DefinitionApi.js +355 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AssetFrontendResource.d.ts +74 -0
- package/dist/models/AssetFrontendResource.js +79 -0
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/AssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryFrontendResource.d.ts +70 -0
- package/dist/models/CategoryFrontendResource.js +73 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
- package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
- package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionListResource.d.ts +38 -0
- package/dist/models/DefinitionListResource.js +55 -0
- package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionListResourceArrayResponse.js +50 -0
- package/dist/models/DefinitionResource.d.ts +44 -0
- package/dist/models/DefinitionResource.js +59 -0
- package/dist/models/DefinitionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DefinitionResourceArrayResponse.js +50 -0
- package/dist/models/DocumentFrontendResource.d.ts +44 -0
- package/dist/models/DocumentFrontendResource.js +57 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/DocumentFrontendResourceArrayResponse.js +50 -0
- package/dist/models/GetAllDefinitionRequest.d.ts +80 -0
- package/dist/models/GetAllDefinitionRequest.js +76 -0
- package/dist/models/IndexDefinitionRequest.d.ts +92 -0
- package/dist/models/IndexDefinitionRequest.js +80 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +63 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.js +72 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +50 -0
- package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
- package/dist/models/OverlayTemplateAssetResource.js +3 -3
- package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionListResourceResponse.js +57 -0
- package/dist/models/PaginatedDefinitionResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedDefinitionResourceResponse.js +57 -0
- package/dist/models/ProductAvailability.d.ts +26 -0
- package/dist/models/ProductAvailability.js +52 -0
- package/dist/models/ProductCompareResource.d.ts +141 -0
- package/dist/models/ProductCompareResource.js +124 -0
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductCompareResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +12 -6
- package/dist/models/ProductSearchResultResource.js +8 -4
- package/dist/models/StoreDefinitionRequest.d.ts +38 -0
- package/dist/models/StoreDefinitionRequest.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/SupplierFrontendResource.d.ts +7 -8
- package/dist/models/SupplierFrontendResource.js +8 -9
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +24 -2
- package/dist/models/index.js +24 -2
- package/docs/AssetFrontendResource.md +48 -0
- package/docs/AssetFrontendResourceArrayResponse.md +34 -0
- package/docs/CategoryFrontendResource.md +46 -0
- package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
- package/docs/CategoryWithChildrenFrontendResource.md +36 -0
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
- package/docs/DefinitionApi.md +407 -0
- package/docs/DefinitionListResource.md +36 -0
- package/docs/DefinitionListResourceArrayResponse.md +34 -0
- package/docs/DefinitionResource.md +38 -0
- package/docs/DefinitionResourceArrayResponse.md +34 -0
- package/docs/DocumentFrontendResource.md +38 -0
- package/docs/DocumentFrontendResourceArrayResponse.md +34 -0
- package/docs/GetAllDefinitionRequest.md +44 -0
- package/docs/IndexDefinitionRequest.md +48 -0
- package/docs/OverlayTemplateAssetFrontendResource.md +44 -0
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +34 -0
- package/docs/OverlayTemplateAssetResource.md +1 -1
- package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
- package/docs/ProductCompareResource.md +70 -0
- package/docs/ProductCompareResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResultResource.md +4 -2
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/SupplierFrontendResource.md +4 -4
- package/docs/UpdateDefinitionRequest.md +36 -0
- package/package.json +1 -1
- package/src/apis/DefinitionApi.ts +286 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AssetFrontendResource.ts +129 -0
- package/src/models/AssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryFrontendResource.ts +133 -0
- package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
- package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
- package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionListResource.ts +75 -0
- package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
- package/src/models/DefinitionResource.ts +84 -0
- package/src/models/DefinitionResourceArrayResponse.ts +73 -0
- package/src/models/DocumentFrontendResource.ts +83 -0
- package/src/models/DocumentFrontendResourceArrayResponse.ts +73 -0
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/OverlayTemplateAssetFrontendResource.ts +119 -0
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/OverlayTemplateAssetResource.ts +10 -10
- package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/ProductAvailability.ts +54 -0
- package/src/models/ProductCompareResource.ts +236 -0
- package/src/models/ProductCompareResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +18 -9
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/SupplierFrontendResource.ts +20 -27
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +24 -2
- package/dist/apis/NetsuiteApi.d.ts +0 -29
- package/dist/apis/NetsuiteApi.js +0 -125
- package/dist/models/ProductStatus.d.ts +0 -24
- package/dist/models/ProductStatus.js +0 -50
- package/dist/models/SyncProductNetsuiteProductRequest.d.ts +0 -182
- package/dist/models/SyncProductNetsuiteProductRequest.js +0 -101
- package/docs/NetsuiteApi.md +0 -74
- package/docs/SyncProductNetsuiteProductRequest.md +0 -84
- package/src/apis/NetsuiteApi.ts +0 -69
- package/src/models/ProductStatus.ts +0 -52
- package/src/models/SyncProductNetsuiteProductRequest.ts +0 -266
|
@@ -13,6 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AssetLiteResource } from './AssetLiteResource';
|
|
17
|
+
import {
|
|
18
|
+
AssetLiteResourceFromJSON,
|
|
19
|
+
AssetLiteResourceFromJSONTyped,
|
|
20
|
+
AssetLiteResourceToJSON,
|
|
21
|
+
AssetLiteResourceToJSONTyped,
|
|
22
|
+
} from './AssetLiteResource';
|
|
16
23
|
import type { DescriptionResource } from './DescriptionResource';
|
|
17
24
|
import {
|
|
18
25
|
DescriptionResourceFromJSON,
|
|
@@ -20,20 +27,6 @@ import {
|
|
|
20
27
|
DescriptionResourceToJSON,
|
|
21
28
|
DescriptionResourceToJSONTyped,
|
|
22
29
|
} from './DescriptionResource';
|
|
23
|
-
import type { AssetResource } from './AssetResource';
|
|
24
|
-
import {
|
|
25
|
-
AssetResourceFromJSON,
|
|
26
|
-
AssetResourceFromJSONTyped,
|
|
27
|
-
AssetResourceToJSON,
|
|
28
|
-
AssetResourceToJSONTyped,
|
|
29
|
-
} from './AssetResource';
|
|
30
|
-
import type { SEOResource } from './SEOResource';
|
|
31
|
-
import {
|
|
32
|
-
SEOResourceFromJSON,
|
|
33
|
-
SEOResourceFromJSONTyped,
|
|
34
|
-
SEOResourceToJSON,
|
|
35
|
-
SEOResourceToJSONTyped,
|
|
36
|
-
} from './SEOResource';
|
|
37
30
|
|
|
38
31
|
/**
|
|
39
32
|
*
|
|
@@ -61,10 +54,10 @@ export interface SupplierFrontendResource {
|
|
|
61
54
|
slug: string;
|
|
62
55
|
/**
|
|
63
56
|
*
|
|
64
|
-
* @type {
|
|
57
|
+
* @type {AssetLiteResource}
|
|
65
58
|
* @memberof SupplierFrontendResource
|
|
66
59
|
*/
|
|
67
|
-
thumbnail:
|
|
60
|
+
thumbnail: AssetLiteResource | null;
|
|
68
61
|
/**
|
|
69
62
|
*
|
|
70
63
|
* @type {number}
|
|
@@ -73,16 +66,16 @@ export interface SupplierFrontendResource {
|
|
|
73
66
|
supplierEta: number;
|
|
74
67
|
/**
|
|
75
68
|
*
|
|
76
|
-
* @type {
|
|
69
|
+
* @type {object}
|
|
77
70
|
* @memberof SupplierFrontendResource
|
|
78
71
|
*/
|
|
79
|
-
seo:
|
|
72
|
+
seo: object;
|
|
80
73
|
/**
|
|
81
74
|
*
|
|
82
|
-
* @type {
|
|
75
|
+
* @type {DescriptionResource}
|
|
83
76
|
* @memberof SupplierFrontendResource
|
|
84
77
|
*/
|
|
85
|
-
|
|
78
|
+
description: DescriptionResource | null;
|
|
86
79
|
}
|
|
87
80
|
|
|
88
81
|
/**
|
|
@@ -95,7 +88,7 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
|
|
|
95
88
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
96
89
|
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
97
90
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
|
-
if (!('
|
|
91
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
99
92
|
return true;
|
|
100
93
|
}
|
|
101
94
|
|
|
@@ -112,10 +105,10 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
112
105
|
'id': json['id'],
|
|
113
106
|
'name': json['name'],
|
|
114
107
|
'slug': json['slug'],
|
|
115
|
-
'thumbnail':
|
|
108
|
+
'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
|
|
116
109
|
'supplierEta': json['supplierEta'],
|
|
117
|
-
'seo':
|
|
118
|
-
'
|
|
110
|
+
'seo': json['seo'],
|
|
111
|
+
'description': DescriptionResourceFromJSON(json['description']),
|
|
119
112
|
};
|
|
120
113
|
}
|
|
121
114
|
|
|
@@ -133,10 +126,10 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
|
|
|
133
126
|
'id': value['id'],
|
|
134
127
|
'name': value['name'],
|
|
135
128
|
'slug': value['slug'],
|
|
136
|
-
'thumbnail':
|
|
129
|
+
'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
|
|
137
130
|
'supplierEta': value['supplierEta'],
|
|
138
|
-
'seo':
|
|
139
|
-
'
|
|
131
|
+
'seo': value['seo'],
|
|
132
|
+
'description': DescriptionResourceToJSON(value['description']),
|
|
140
133
|
};
|
|
141
134
|
}
|
|
142
135
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* My API
|
|
5
|
+
* API documentation for my Laravel app
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateDefinitionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateDefinitionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateDefinitionRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateDefinitionRequest
|
|
32
|
+
*/
|
|
33
|
+
content: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UpdateDefinitionRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUpdateDefinitionRequest(value: object): value is UpdateDefinitionRequest {
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
+
if (!('content' in value) || value['content'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function UpdateDefinitionRequestFromJSON(json: any): UpdateDefinitionRequest {
|
|
46
|
+
return UpdateDefinitionRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UpdateDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDefinitionRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'content': json['content'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UpdateDefinitionRequestToJSON(json: any): UpdateDefinitionRequest {
|
|
61
|
+
return UpdateDefinitionRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpdateDefinitionRequestToJSONTyped(value?: UpdateDefinitionRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'content': value['content'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AssetFileForUploadResource';
|
|
4
4
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
5
|
+
export * from './AssetFrontendResource';
|
|
6
|
+
export * from './AssetFrontendResourceArrayResponse';
|
|
5
7
|
export * from './AssetLiteResource';
|
|
6
8
|
export * from './AssetLiteResourceArrayResponse';
|
|
7
9
|
export * from './AssetResource';
|
|
@@ -32,7 +34,15 @@ export * from './CategoryAutomationConditionType';
|
|
|
32
34
|
export * from './CategoryAutomationFieldType';
|
|
33
35
|
export * from './CategoryAutomationRuleResource';
|
|
34
36
|
export * from './CategoryAutomationRuleResourceArrayResponse';
|
|
37
|
+
export * from './CategoryFrontendResource';
|
|
38
|
+
export * from './CategoryFrontendResourceArrayResponse';
|
|
39
|
+
export * from './CategoryWithChildrenFrontendResource';
|
|
40
|
+
export * from './CategoryWithChildrenFrontendResourceArrayResponse';
|
|
35
41
|
export * from './CouponDiscountType';
|
|
42
|
+
export * from './DefinitionListResource';
|
|
43
|
+
export * from './DefinitionListResourceArrayResponse';
|
|
44
|
+
export * from './DefinitionResource';
|
|
45
|
+
export * from './DefinitionResourceArrayResponse';
|
|
36
46
|
export * from './DescriptionResource';
|
|
37
47
|
export * from './DescriptionResourceArrayResponse';
|
|
38
48
|
export * from './DestroyAttributeValueRequest';
|
|
@@ -43,6 +53,8 @@ export * from './DetachDocumentsProductChildSiteDetailRequest';
|
|
|
43
53
|
export * from './DetachProductsProductCategoryRequest';
|
|
44
54
|
export * from './DocumentFileForUploadResource';
|
|
45
55
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
56
|
+
export * from './DocumentFrontendResource';
|
|
57
|
+
export * from './DocumentFrontendResourceArrayResponse';
|
|
46
58
|
export * from './DocumentLiteResource';
|
|
47
59
|
export * from './DocumentLiteResourceArrayResponse';
|
|
48
60
|
export * from './DocumentResource';
|
|
@@ -55,6 +67,7 @@ export * from './ExternalApiProvider';
|
|
|
55
67
|
export * from './ExternalApiSyncStatus';
|
|
56
68
|
export * from './GenericResponse';
|
|
57
69
|
export * from './GetAllAttributeRequest';
|
|
70
|
+
export * from './GetAllDefinitionRequest';
|
|
58
71
|
export * from './GetAllDocumentRequest';
|
|
59
72
|
export * from './GetAllGoogleCategoryRequest';
|
|
60
73
|
export * from './GetAllOverlayTemplateRequest';
|
|
@@ -74,6 +87,7 @@ export * from './GlobalSearchResponseResourceArrayResponse';
|
|
|
74
87
|
export * from './GoogleCategoryResource';
|
|
75
88
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
76
89
|
export * from './IndexAttributeRequest';
|
|
90
|
+
export * from './IndexDefinitionRequest';
|
|
77
91
|
export * from './IndexDocumentRequest';
|
|
78
92
|
export * from './IndexExternalApiLogRequest';
|
|
79
93
|
export * from './IndexOverlayTemplateRequest';
|
|
@@ -87,6 +101,8 @@ export * from './IndexSupplierRequest';
|
|
|
87
101
|
export * from './IndexTagRequest';
|
|
88
102
|
export * from './ModelAttributeResource';
|
|
89
103
|
export * from './ModelAttributeResourceArrayResponse';
|
|
104
|
+
export * from './OverlayTemplateAssetFrontendResource';
|
|
105
|
+
export * from './OverlayTemplateAssetFrontendResourceArrayResponse';
|
|
90
106
|
export * from './OverlayTemplateAssetPosition';
|
|
91
107
|
export * from './OverlayTemplateAssetResource';
|
|
92
108
|
export * from './OverlayTemplateAssetResourceArrayResponse';
|
|
@@ -100,6 +116,9 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
100
116
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
101
117
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
102
118
|
export * from './PaginatedAttributeResourceResponse';
|
|
119
|
+
export * from './PaginatedCategoryFrontendResourceResponse';
|
|
120
|
+
export * from './PaginatedDefinitionListResourceResponse';
|
|
121
|
+
export * from './PaginatedDefinitionResourceResponse';
|
|
103
122
|
export * from './PaginatedDocumentResourceResponse';
|
|
104
123
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
105
124
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -139,6 +158,7 @@ export * from './PreviewAutomationRulesResource';
|
|
|
139
158
|
export * from './PreviewAutomationRulesResourceArrayResponse';
|
|
140
159
|
export * from './ProductAggregationResource';
|
|
141
160
|
export * from './ProductAggregationResourceArrayResponse';
|
|
161
|
+
export * from './ProductAvailability';
|
|
142
162
|
export * from './ProductCategoryHierarchyResource';
|
|
143
163
|
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
144
164
|
export * from './ProductCategoryListResource';
|
|
@@ -161,6 +181,8 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
161
181
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
162
182
|
export * from './ProductChildSiteDetailResource';
|
|
163
183
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
184
|
+
export * from './ProductCompareResource';
|
|
185
|
+
export * from './ProductCompareResourceArrayResponse';
|
|
164
186
|
export * from './ProductListResource';
|
|
165
187
|
export * from './ProductListResourceArrayResponse';
|
|
166
188
|
export * from './ProductLiteResource';
|
|
@@ -175,7 +197,6 @@ export * from './ProductSearchResponseResourcePriceInfo';
|
|
|
175
197
|
export * from './ProductSearchResultResource';
|
|
176
198
|
export * from './ProductSearchResultResourceArrayResponse';
|
|
177
199
|
export * from './ProductSortBy';
|
|
178
|
-
export * from './ProductStatus';
|
|
179
200
|
export * from './ProductTypeListResource';
|
|
180
201
|
export * from './ProductTypeListResourceArrayResponse';
|
|
181
202
|
export * from './ProductTypeLiteResource';
|
|
@@ -201,6 +222,7 @@ export * from './SiteResourceArrayResponse';
|
|
|
201
222
|
export * from './StoreAssetFileRequest';
|
|
202
223
|
export * from './StoreAttributeRequest';
|
|
203
224
|
export * from './StoreAttributeValueRequest';
|
|
225
|
+
export * from './StoreDefinitionRequest';
|
|
204
226
|
export * from './StoreDocumentFileRequest';
|
|
205
227
|
export * from './StoreDocumentRequest';
|
|
206
228
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
@@ -227,7 +249,6 @@ export * from './SupplierLiteResource';
|
|
|
227
249
|
export * from './SupplierLiteResourceArrayResponse';
|
|
228
250
|
export * from './SupplierResource';
|
|
229
251
|
export * from './SupplierResourceArrayResponse';
|
|
230
|
-
export * from './SyncProductNetsuiteProductRequest';
|
|
231
252
|
export * from './TagListResource';
|
|
232
253
|
export * from './TagListResourceArrayResponse';
|
|
233
254
|
export * from './TagLiteResource';
|
|
@@ -237,6 +258,7 @@ export * from './TagResourceArrayResponse';
|
|
|
237
258
|
export * from './TagType';
|
|
238
259
|
export * from './UpdateAttributeRequest';
|
|
239
260
|
export * from './UpdateAttributeValueRequest';
|
|
261
|
+
export * from './UpdateDefinitionRequest';
|
|
240
262
|
export * from './UpdateDocumentRequest';
|
|
241
263
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
242
264
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { GenericResponse, SyncProductNetsuiteProductRequest } from '../models/index';
|
|
14
|
-
export interface SyncProductNetsuiteProductOperationRequest {
|
|
15
|
-
syncProductNetsuiteProductRequest?: SyncProductNetsuiteProductRequest;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class NetsuiteApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
23
|
-
*/
|
|
24
|
-
syncProductNetsuiteProductRaw(requestParameters: SyncProductNetsuiteProductOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>>;
|
|
25
|
-
/**
|
|
26
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
27
|
-
*/
|
|
28
|
-
syncProductNetsuiteProduct(requestParameters?: SyncProductNetsuiteProductOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse>;
|
|
29
|
-
}
|
package/dist/apis/NetsuiteApi.js
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0: case 1: t = op; break;
|
|
50
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
-
default:
|
|
54
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
-
if (t[2]) _.ops.pop();
|
|
59
|
-
_.trys.pop(); continue;
|
|
60
|
-
}
|
|
61
|
-
op = body.call(thisArg, _);
|
|
62
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.NetsuiteApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var NetsuiteApi = /** @class */ (function (_super) {
|
|
74
|
-
__extends(NetsuiteApi, _super);
|
|
75
|
-
function NetsuiteApi() {
|
|
76
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
80
|
-
*/
|
|
81
|
-
NetsuiteApi.prototype.syncProductNetsuiteProductRaw = function (requestParameters, initOverrides) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, urlPath, response;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
switch (_a.label) {
|
|
86
|
-
case 0:
|
|
87
|
-
queryParameters = {};
|
|
88
|
-
headerParameters = {};
|
|
89
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
90
|
-
urlPath = "/admin-api/netsuite/products/sync";
|
|
91
|
-
return [4 /*yield*/, this.request({
|
|
92
|
-
path: urlPath,
|
|
93
|
-
method: 'POST',
|
|
94
|
-
headers: headerParameters,
|
|
95
|
-
query: queryParameters,
|
|
96
|
-
body: (0, index_1.SyncProductNetsuiteProductRequestToJSON)(requestParameters['syncProductNetsuiteProductRequest']),
|
|
97
|
-
}, initOverrides)];
|
|
98
|
-
case 1:
|
|
99
|
-
response = _a.sent();
|
|
100
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Auto-generated: syncProductNetsuiteProduct
|
|
107
|
-
*/
|
|
108
|
-
NetsuiteApi.prototype.syncProductNetsuiteProduct = function () {
|
|
109
|
-
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
110
|
-
var response;
|
|
111
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
112
|
-
return __generator(this, function (_a) {
|
|
113
|
-
switch (_a.label) {
|
|
114
|
-
case 0: return [4 /*yield*/, this.syncProductNetsuiteProductRaw(requestParameters, initOverrides)];
|
|
115
|
-
case 1:
|
|
116
|
-
response = _a.sent();
|
|
117
|
-
return [4 /*yield*/, response.value()];
|
|
118
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
};
|
|
123
|
-
return NetsuiteApi;
|
|
124
|
-
}(runtime.BaseAPI));
|
|
125
|
-
exports.NetsuiteApi = NetsuiteApi;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
*/
|
|
16
|
-
export declare const ProductStatus: {
|
|
17
|
-
readonly InStock: "in_stock";
|
|
18
|
-
};
|
|
19
|
-
export type ProductStatus = typeof ProductStatus[keyof typeof ProductStatus];
|
|
20
|
-
export declare function instanceOfProductStatus(value: any): boolean;
|
|
21
|
-
export declare function ProductStatusFromJSON(json: any): ProductStatus;
|
|
22
|
-
export declare function ProductStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
23
|
-
export declare function ProductStatusToJSON(value?: ProductStatus | null): any;
|
|
24
|
-
export declare function ProductStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductStatus;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ProductStatus = void 0;
|
|
17
|
-
exports.instanceOfProductStatus = instanceOfProductStatus;
|
|
18
|
-
exports.ProductStatusFromJSON = ProductStatusFromJSON;
|
|
19
|
-
exports.ProductStatusFromJSONTyped = ProductStatusFromJSONTyped;
|
|
20
|
-
exports.ProductStatusToJSON = ProductStatusToJSON;
|
|
21
|
-
exports.ProductStatusToJSONTyped = ProductStatusToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.ProductStatus = {
|
|
27
|
-
InStock: 'in_stock'
|
|
28
|
-
};
|
|
29
|
-
function instanceOfProductStatus(value) {
|
|
30
|
-
for (var key in exports.ProductStatus) {
|
|
31
|
-
if (Object.prototype.hasOwnProperty.call(exports.ProductStatus, key)) {
|
|
32
|
-
if (exports.ProductStatus[key] === value) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
function ProductStatusFromJSON(json) {
|
|
40
|
-
return ProductStatusFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
function ProductStatusToJSON(value) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
function ProductStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|