@digital8/lighting-illusions-ts-sdk 0.0.634 → 0.0.635
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 +38 -4
- package/README.md +26 -4
- 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/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/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- 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 +62 -0
- package/dist/models/OverlayTemplateAssetFrontendResource.js +71 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +33 -0
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +50 -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/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/StoreDefinitionRequest.d.ts +38 -0
- package/dist/models/StoreDefinitionRequest.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
- package/dist/models/UpdateDefinitionRequest.js +55 -0
- package/dist/models/index.d.ts +18 -1
- package/dist/models/index.js +18 -1
- package/docs/AssetFrontendResource.md +48 -0
- package/docs/AssetFrontendResourceArrayResponse.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/PaginatedDefinitionListResourceResponse.md +36 -0
- package/docs/PaginatedDefinitionResourceResponse.md +36 -0
- package/docs/ProductCompareResource.md +70 -0
- package/docs/ProductCompareResourceArrayResponse.md +34 -0
- package/docs/StoreDefinitionRequest.md +36 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- 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/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/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllDefinitionRequest.ts +127 -0
- package/src/models/IndexDefinitionRequest.ts +143 -0
- package/src/models/OverlayTemplateAssetFrontendResource.ts +111 -0
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
- package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
- package/src/models/ProductCompareResource.ts +236 -0
- package/src/models/ProductCompareResourceArrayResponse.ts +73 -0
- package/src/models/StoreDefinitionRequest.ts +75 -0
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/UpdateDefinitionRequest.ts +75 -0
- package/src/models/index.ts +18 -1
- package/dist/apis/NetsuiteApi.d.ts +0 -29
- package/dist/apis/NetsuiteApi.js +0 -125
- 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/SyncProductNetsuiteProductRequest.ts +0 -266
|
@@ -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 StoreDefinitionRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface StoreDefinitionRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StoreDefinitionRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StoreDefinitionRequest
|
|
32
|
+
*/
|
|
33
|
+
content: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the StoreDefinitionRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfStoreDefinitionRequest(value: object): value is StoreDefinitionRequest {
|
|
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 StoreDefinitionRequestFromJSON(json: any): StoreDefinitionRequest {
|
|
46
|
+
return StoreDefinitionRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function StoreDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreDefinitionRequest {
|
|
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 StoreDefinitionRequestToJSON(json: any): StoreDefinitionRequest {
|
|
61
|
+
return StoreDefinitionRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function StoreDefinitionRequestToJSONTyped(value?: StoreDefinitionRequest | 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
|
+
|
|
@@ -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';
|
|
@@ -33,6 +35,10 @@ export * from './CategoryAutomationFieldType';
|
|
|
33
35
|
export * from './CategoryAutomationRuleResource';
|
|
34
36
|
export * from './CategoryAutomationRuleResourceArrayResponse';
|
|
35
37
|
export * from './CouponDiscountType';
|
|
38
|
+
export * from './DefinitionListResource';
|
|
39
|
+
export * from './DefinitionListResourceArrayResponse';
|
|
40
|
+
export * from './DefinitionResource';
|
|
41
|
+
export * from './DefinitionResourceArrayResponse';
|
|
36
42
|
export * from './DescriptionResource';
|
|
37
43
|
export * from './DescriptionResourceArrayResponse';
|
|
38
44
|
export * from './DestroyAttributeValueRequest';
|
|
@@ -43,6 +49,8 @@ export * from './DetachDocumentsProductChildSiteDetailRequest';
|
|
|
43
49
|
export * from './DetachProductsProductCategoryRequest';
|
|
44
50
|
export * from './DocumentFileForUploadResource';
|
|
45
51
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
52
|
+
export * from './DocumentFrontendResource';
|
|
53
|
+
export * from './DocumentFrontendResourceArrayResponse';
|
|
46
54
|
export * from './DocumentLiteResource';
|
|
47
55
|
export * from './DocumentLiteResourceArrayResponse';
|
|
48
56
|
export * from './DocumentResource';
|
|
@@ -55,6 +63,7 @@ export * from './ExternalApiProvider';
|
|
|
55
63
|
export * from './ExternalApiSyncStatus';
|
|
56
64
|
export * from './GenericResponse';
|
|
57
65
|
export * from './GetAllAttributeRequest';
|
|
66
|
+
export * from './GetAllDefinitionRequest';
|
|
58
67
|
export * from './GetAllDocumentRequest';
|
|
59
68
|
export * from './GetAllGoogleCategoryRequest';
|
|
60
69
|
export * from './GetAllOverlayTemplateRequest';
|
|
@@ -74,6 +83,7 @@ export * from './GlobalSearchResponseResourceArrayResponse';
|
|
|
74
83
|
export * from './GoogleCategoryResource';
|
|
75
84
|
export * from './GoogleCategoryResourceArrayResponse';
|
|
76
85
|
export * from './IndexAttributeRequest';
|
|
86
|
+
export * from './IndexDefinitionRequest';
|
|
77
87
|
export * from './IndexDocumentRequest';
|
|
78
88
|
export * from './IndexExternalApiLogRequest';
|
|
79
89
|
export * from './IndexOverlayTemplateRequest';
|
|
@@ -87,6 +97,8 @@ export * from './IndexSupplierRequest';
|
|
|
87
97
|
export * from './IndexTagRequest';
|
|
88
98
|
export * from './ModelAttributeResource';
|
|
89
99
|
export * from './ModelAttributeResourceArrayResponse';
|
|
100
|
+
export * from './OverlayTemplateAssetFrontendResource';
|
|
101
|
+
export * from './OverlayTemplateAssetFrontendResourceArrayResponse';
|
|
90
102
|
export * from './OverlayTemplateAssetPosition';
|
|
91
103
|
export * from './OverlayTemplateAssetResource';
|
|
92
104
|
export * from './OverlayTemplateAssetResourceArrayResponse';
|
|
@@ -100,6 +112,8 @@ export * from './PaginatedAttributeListResourceResponse';
|
|
|
100
112
|
export * from './PaginatedAttributeLiteResourceResponse';
|
|
101
113
|
export * from './PaginatedAttributeProductTypeRelationResourceResponse';
|
|
102
114
|
export * from './PaginatedAttributeResourceResponse';
|
|
115
|
+
export * from './PaginatedDefinitionListResourceResponse';
|
|
116
|
+
export * from './PaginatedDefinitionResourceResponse';
|
|
103
117
|
export * from './PaginatedDocumentResourceResponse';
|
|
104
118
|
export * from './PaginatedExternalApiLogListResourceResponse';
|
|
105
119
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
@@ -161,6 +175,8 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
161
175
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
162
176
|
export * from './ProductChildSiteDetailResource';
|
|
163
177
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
178
|
+
export * from './ProductCompareResource';
|
|
179
|
+
export * from './ProductCompareResourceArrayResponse';
|
|
164
180
|
export * from './ProductListResource';
|
|
165
181
|
export * from './ProductListResourceArrayResponse';
|
|
166
182
|
export * from './ProductLiteResource';
|
|
@@ -201,6 +217,7 @@ export * from './SiteResourceArrayResponse';
|
|
|
201
217
|
export * from './StoreAssetFileRequest';
|
|
202
218
|
export * from './StoreAttributeRequest';
|
|
203
219
|
export * from './StoreAttributeValueRequest';
|
|
220
|
+
export * from './StoreDefinitionRequest';
|
|
204
221
|
export * from './StoreDocumentFileRequest';
|
|
205
222
|
export * from './StoreDocumentRequest';
|
|
206
223
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
@@ -227,7 +244,6 @@ export * from './SupplierLiteResource';
|
|
|
227
244
|
export * from './SupplierLiteResourceArrayResponse';
|
|
228
245
|
export * from './SupplierResource';
|
|
229
246
|
export * from './SupplierResourceArrayResponse';
|
|
230
|
-
export * from './SyncProductNetsuiteProductRequest';
|
|
231
247
|
export * from './TagListResource';
|
|
232
248
|
export * from './TagListResourceArrayResponse';
|
|
233
249
|
export * from './TagLiteResource';
|
|
@@ -237,6 +253,7 @@ export * from './TagResourceArrayResponse';
|
|
|
237
253
|
export * from './TagType';
|
|
238
254
|
export * from './UpdateAttributeRequest';
|
|
239
255
|
export * from './UpdateAttributeValueRequest';
|
|
256
|
+
export * from './UpdateDefinitionRequest';
|
|
240
257
|
export * from './UpdateDocumentRequest';
|
|
241
258
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
242
259
|
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,182 +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
|
-
* @interface SyncProductNetsuiteProductRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SyncProductNetsuiteProductRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
22
|
-
*/
|
|
23
|
-
internalId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
28
|
-
*/
|
|
29
|
-
productType?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
34
|
-
*/
|
|
35
|
-
upccode?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
40
|
-
*/
|
|
41
|
-
vendorname?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
46
|
-
*/
|
|
47
|
-
custitemAnxRetailId?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
52
|
-
*/
|
|
53
|
-
weight?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
58
|
-
*/
|
|
59
|
-
custitemAnxAllowOversell?: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
64
|
-
*/
|
|
65
|
-
onlineLocationCost?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
70
|
-
*/
|
|
71
|
-
popularityScore?: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {string}
|
|
75
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
76
|
-
*/
|
|
77
|
-
excludeFrontend?: string;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
82
|
-
*/
|
|
83
|
-
excludeSearch?: string;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
88
|
-
*/
|
|
89
|
-
oversized?: string;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
94
|
-
*/
|
|
95
|
-
isBundle?: string;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {string}
|
|
99
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
100
|
-
*/
|
|
101
|
-
bundleUpccode?: string;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Array<string>}
|
|
105
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
106
|
-
*/
|
|
107
|
-
published?: Array<string>;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {number}
|
|
111
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
112
|
-
*/
|
|
113
|
-
custitemrrpGst?: number;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
118
|
-
*/
|
|
119
|
-
liPrice?: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {string}
|
|
123
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
124
|
-
*/
|
|
125
|
-
cfdPrice?: string;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {string}
|
|
129
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
130
|
-
*/
|
|
131
|
-
labelLi?: string;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {string}
|
|
135
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
136
|
-
*/
|
|
137
|
-
labelCfd?: string;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {string}
|
|
141
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
142
|
-
*/
|
|
143
|
-
priceFeedLi?: string;
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {string}
|
|
147
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
148
|
-
*/
|
|
149
|
-
priceFeedCfd?: string;
|
|
150
|
-
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {string}
|
|
153
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
154
|
-
*/
|
|
155
|
-
socialFeed?: string;
|
|
156
|
-
/**
|
|
157
|
-
*
|
|
158
|
-
* @type {Array<string>}
|
|
159
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
160
|
-
*/
|
|
161
|
-
attribRoom?: Array<string>;
|
|
162
|
-
/**
|
|
163
|
-
*
|
|
164
|
-
* @type {Array<string>}
|
|
165
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
166
|
-
*/
|
|
167
|
-
attribStyle?: Array<string>;
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @type {string}
|
|
171
|
-
* @memberof SyncProductNetsuiteProductRequest
|
|
172
|
-
*/
|
|
173
|
-
attribPrimarycolour?: string;
|
|
174
|
-
}
|
|
175
|
-
/**
|
|
176
|
-
* Check if a given object implements the SyncProductNetsuiteProductRequest interface.
|
|
177
|
-
*/
|
|
178
|
-
export declare function instanceOfSyncProductNetsuiteProductRequest(value: object): value is SyncProductNetsuiteProductRequest;
|
|
179
|
-
export declare function SyncProductNetsuiteProductRequestFromJSON(json: any): SyncProductNetsuiteProductRequest;
|
|
180
|
-
export declare function SyncProductNetsuiteProductRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncProductNetsuiteProductRequest;
|
|
181
|
-
export declare function SyncProductNetsuiteProductRequestToJSON(json: any): SyncProductNetsuiteProductRequest;
|
|
182
|
-
export declare function SyncProductNetsuiteProductRequestToJSONTyped(value?: SyncProductNetsuiteProductRequest | null, ignoreDiscriminator?: boolean): any;
|