@digital8/lighting-illusions-ts-sdk 0.0.633 → 0.0.634
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 +4 -24
- package/README.md +4 -14
- package/dist/apis/NetsuiteApi.d.ts +29 -0
- package/dist/apis/NetsuiteApi.js +125 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/SyncProductNetsuiteProductRequest.d.ts +182 -0
- package/dist/models/SyncProductNetsuiteProductRequest.js +101 -0
- package/dist/models/index.d.ts +1 -12
- package/dist/models/index.js +1 -12
- package/docs/NetsuiteApi.md +74 -0
- package/docs/StoreProductCategoryRequest.md +1 -1
- package/docs/SyncProductNetsuiteProductRequest.md +84 -0
- package/package.json +1 -1
- package/src/apis/NetsuiteApi.ts +69 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/StoreProductCategoryRequest.ts +2 -2
- package/src/models/SyncProductNetsuiteProductRequest.ts +266 -0
- package/src/models/index.ts +1 -12
- package/dist/models/AssetFrontendResource.d.ts +0 -74
- package/dist/models/AssetFrontendResource.js +0 -79
- package/dist/models/AssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/AssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/DocumentFrontendResource.d.ts +0 -44
- package/dist/models/DocumentFrontendResource.js +0 -57
- package/dist/models/DocumentFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/DocumentFrontendResourceArrayResponse.js +0 -50
- package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +0 -62
- package/dist/models/OverlayTemplateAssetFrontendResource.js +0 -71
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateAssetFrontendResourceArrayResponse.js +0 -50
- package/dist/models/ProductCompareResource.d.ts +0 -141
- package/dist/models/ProductCompareResource.js +0 -124
- package/dist/models/ProductCompareResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductCompareResourceArrayResponse.js +0 -50
- package/dist/models/WishlistCheckResource.d.ts +0 -32
- package/dist/models/WishlistCheckResource.js +0 -51
- package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
- package/dist/models/WishlistToggleResource.d.ts +0 -38
- package/dist/models/WishlistToggleResource.js +0 -55
- package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
- package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
- package/docs/AssetFrontendResource.md +0 -48
- package/docs/AssetFrontendResourceArrayResponse.md +0 -34
- package/docs/DocumentFrontendResource.md +0 -38
- package/docs/DocumentFrontendResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductCompareResource.md +0 -70
- package/docs/ProductCompareResourceArrayResponse.md +0 -34
- package/docs/WishlistCheckResource.md +0 -34
- package/docs/WishlistCheckResourceArrayResponse.md +0 -34
- package/docs/WishlistToggleResource.md +0 -36
- package/docs/WishlistToggleResourceArrayResponse.md +0 -34
- package/src/models/AssetFrontendResource.ts +0 -129
- package/src/models/AssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/DocumentFrontendResource.ts +0 -83
- package/src/models/DocumentFrontendResourceArrayResponse.ts +0 -73
- package/src/models/OverlayTemplateAssetFrontendResource.ts +0 -111
- package/src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts +0 -73
- package/src/models/ProductCompareResource.ts +0 -236
- package/src/models/ProductCompareResourceArrayResponse.ts +0 -73
- package/src/models/WishlistCheckResource.ts +0 -66
- package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
- package/src/models/WishlistToggleResource.ts +0 -75
- package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
package/.openapi-generator/FILES
CHANGED
|
@@ -5,8 +5,6 @@ README.md
|
|
|
5
5
|
docs/AssetApi.md
|
|
6
6
|
docs/AssetFileForUploadResource.md
|
|
7
7
|
docs/AssetFileForUploadResourceArrayResponse.md
|
|
8
|
-
docs/AssetFrontendResource.md
|
|
9
|
-
docs/AssetFrontendResourceArrayResponse.md
|
|
10
8
|
docs/AssetLiteResource.md
|
|
11
9
|
docs/AssetLiteResourceArrayResponse.md
|
|
12
10
|
docs/AssetResource.md
|
|
@@ -50,8 +48,6 @@ docs/DetachProductsProductCategoryRequest.md
|
|
|
50
48
|
docs/DocumentApi.md
|
|
51
49
|
docs/DocumentFileForUploadResource.md
|
|
52
50
|
docs/DocumentFileForUploadResourceArrayResponse.md
|
|
53
|
-
docs/DocumentFrontendResource.md
|
|
54
|
-
docs/DocumentFrontendResourceArrayResponse.md
|
|
55
51
|
docs/DocumentLiteResource.md
|
|
56
52
|
docs/DocumentLiteResourceArrayResponse.md
|
|
57
53
|
docs/DocumentResource.md
|
|
@@ -98,9 +94,8 @@ docs/IndexSupplierRequest.md
|
|
|
98
94
|
docs/IndexTagRequest.md
|
|
99
95
|
docs/ModelAttributeResource.md
|
|
100
96
|
docs/ModelAttributeResourceArrayResponse.md
|
|
97
|
+
docs/NetsuiteApi.md
|
|
101
98
|
docs/OverlayTemplateApi.md
|
|
102
|
-
docs/OverlayTemplateAssetFrontendResource.md
|
|
103
|
-
docs/OverlayTemplateAssetFrontendResourceArrayResponse.md
|
|
104
99
|
docs/OverlayTemplateAssetPosition.md
|
|
105
100
|
docs/OverlayTemplateAssetResource.md
|
|
106
101
|
docs/OverlayTemplateAssetResourceArrayResponse.md
|
|
@@ -178,8 +173,6 @@ docs/ProductChildSiteDetailLiteResource.md
|
|
|
178
173
|
docs/ProductChildSiteDetailLiteResourceArrayResponse.md
|
|
179
174
|
docs/ProductChildSiteDetailResource.md
|
|
180
175
|
docs/ProductChildSiteDetailResourceArrayResponse.md
|
|
181
|
-
docs/ProductCompareResource.md
|
|
182
|
-
docs/ProductCompareResourceArrayResponse.md
|
|
183
176
|
docs/ProductListResource.md
|
|
184
177
|
docs/ProductListResourceArrayResponse.md
|
|
185
178
|
docs/ProductLiteResource.md
|
|
@@ -249,6 +242,7 @@ docs/SupplierLiteResource.md
|
|
|
249
242
|
docs/SupplierLiteResourceArrayResponse.md
|
|
250
243
|
docs/SupplierResource.md
|
|
251
244
|
docs/SupplierResourceArrayResponse.md
|
|
245
|
+
docs/SyncProductNetsuiteProductRequest.md
|
|
252
246
|
docs/TagApi.md
|
|
253
247
|
docs/TagListResource.md
|
|
254
248
|
docs/TagListResourceArrayResponse.md
|
|
@@ -275,16 +269,13 @@ docs/UpdateSiteNotificationRequest.md
|
|
|
275
269
|
docs/UpdateSiteRequest.md
|
|
276
270
|
docs/UpdateSupplierRequest.md
|
|
277
271
|
docs/UpdateTagRequest.md
|
|
278
|
-
docs/WishlistCheckResource.md
|
|
279
|
-
docs/WishlistCheckResourceArrayResponse.md
|
|
280
|
-
docs/WishlistToggleResource.md
|
|
281
|
-
docs/WishlistToggleResourceArrayResponse.md
|
|
282
272
|
package.json
|
|
283
273
|
src/apis/AssetApi.ts
|
|
284
274
|
src/apis/AttributeApi.ts
|
|
285
275
|
src/apis/DocumentApi.ts
|
|
286
276
|
src/apis/ExternalApiLogApi.ts
|
|
287
277
|
src/apis/GoogleCategoryApi.ts
|
|
278
|
+
src/apis/NetsuiteApi.ts
|
|
288
279
|
src/apis/OverlayTemplateApi.ts
|
|
289
280
|
src/apis/ProductApi.ts
|
|
290
281
|
src/apis/ProductCategoryApi.ts
|
|
@@ -297,8 +288,6 @@ src/apis/index.ts
|
|
|
297
288
|
src/index.ts
|
|
298
289
|
src/models/AssetFileForUploadResource.ts
|
|
299
290
|
src/models/AssetFileForUploadResourceArrayResponse.ts
|
|
300
|
-
src/models/AssetFrontendResource.ts
|
|
301
|
-
src/models/AssetFrontendResourceArrayResponse.ts
|
|
302
291
|
src/models/AssetLiteResource.ts
|
|
303
292
|
src/models/AssetLiteResourceArrayResponse.ts
|
|
304
293
|
src/models/AssetResource.ts
|
|
@@ -340,8 +329,6 @@ src/models/DetachDocumentsProductChildSiteDetailRequest.ts
|
|
|
340
329
|
src/models/DetachProductsProductCategoryRequest.ts
|
|
341
330
|
src/models/DocumentFileForUploadResource.ts
|
|
342
331
|
src/models/DocumentFileForUploadResourceArrayResponse.ts
|
|
343
|
-
src/models/DocumentFrontendResource.ts
|
|
344
|
-
src/models/DocumentFrontendResourceArrayResponse.ts
|
|
345
332
|
src/models/DocumentLiteResource.ts
|
|
346
333
|
src/models/DocumentLiteResourceArrayResponse.ts
|
|
347
334
|
src/models/DocumentResource.ts
|
|
@@ -386,8 +373,6 @@ src/models/IndexSupplierRequest.ts
|
|
|
386
373
|
src/models/IndexTagRequest.ts
|
|
387
374
|
src/models/ModelAttributeResource.ts
|
|
388
375
|
src/models/ModelAttributeResourceArrayResponse.ts
|
|
389
|
-
src/models/OverlayTemplateAssetFrontendResource.ts
|
|
390
|
-
src/models/OverlayTemplateAssetFrontendResourceArrayResponse.ts
|
|
391
376
|
src/models/OverlayTemplateAssetPosition.ts
|
|
392
377
|
src/models/OverlayTemplateAssetResource.ts
|
|
393
378
|
src/models/OverlayTemplateAssetResourceArrayResponse.ts
|
|
@@ -462,8 +447,6 @@ src/models/ProductChildSiteDetailLiteResource.ts
|
|
|
462
447
|
src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
|
|
463
448
|
src/models/ProductChildSiteDetailResource.ts
|
|
464
449
|
src/models/ProductChildSiteDetailResourceArrayResponse.ts
|
|
465
|
-
src/models/ProductCompareResource.ts
|
|
466
|
-
src/models/ProductCompareResourceArrayResponse.ts
|
|
467
450
|
src/models/ProductListResource.ts
|
|
468
451
|
src/models/ProductListResourceArrayResponse.ts
|
|
469
452
|
src/models/ProductLiteResource.ts
|
|
@@ -530,6 +513,7 @@ src/models/SupplierLiteResource.ts
|
|
|
530
513
|
src/models/SupplierLiteResourceArrayResponse.ts
|
|
531
514
|
src/models/SupplierResource.ts
|
|
532
515
|
src/models/SupplierResourceArrayResponse.ts
|
|
516
|
+
src/models/SyncProductNetsuiteProductRequest.ts
|
|
533
517
|
src/models/TagListResource.ts
|
|
534
518
|
src/models/TagListResourceArrayResponse.ts
|
|
535
519
|
src/models/TagLiteResource.ts
|
|
@@ -555,10 +539,6 @@ src/models/UpdateSiteNotificationRequest.ts
|
|
|
555
539
|
src/models/UpdateSiteRequest.ts
|
|
556
540
|
src/models/UpdateSupplierRequest.ts
|
|
557
541
|
src/models/UpdateTagRequest.ts
|
|
558
|
-
src/models/WishlistCheckResource.ts
|
|
559
|
-
src/models/WishlistCheckResourceArrayResponse.ts
|
|
560
|
-
src/models/WishlistToggleResource.ts
|
|
561
|
-
src/models/WishlistToggleResourceArrayResponse.ts
|
|
562
542
|
src/models/index.ts
|
|
563
543
|
src/runtime.ts
|
|
564
544
|
tsconfig.json
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.634
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -76,6 +76,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
76
76
|
*DocumentApi* | [**updateDocument**](docs/DocumentApi.md#updatedocumentoperation) | **PUT** /admin-api/document/{document}/update | Auto-generated: updateDocument
|
|
77
77
|
*ExternalApiLogApi* | [**indexExternalApiLog**](docs/ExternalApiLogApi.md#indexexternalapilogoperation) | **POST** /admin-api/external-api-log/list | Auto-generated: indexExternalApiLog
|
|
78
78
|
*GoogleCategoryApi* | [**getAllGoogleCategory**](docs/GoogleCategoryApi.md#getallgooglecategoryoperation) | **POST** /admin-api/google-category/all | Auto-generated: getAllGoogleCategory
|
|
79
|
+
*NetsuiteApi* | [**syncProductNetsuiteProduct**](docs/NetsuiteApi.md#syncproductnetsuiteproductoperation) | **POST** /admin-api/netsuite/products/sync | Auto-generated: syncProductNetsuiteProduct
|
|
79
80
|
*OverlayTemplateApi* | [**attachAssetsOverlayTemplate**](docs/OverlayTemplateApi.md#attachassetsoverlaytemplateoperation) | **POST** /admin-api/overlay-template/{overlayTemplate}/attach-assets | Auto-generated: attachAssetsOverlayTemplate
|
|
80
81
|
*OverlayTemplateApi* | [**destroyOverlayTemplate**](docs/OverlayTemplateApi.md#destroyoverlaytemplate) | **DELETE** /admin-api/overlay-template/{overlayTemplate}/delete | Auto-generated: destroyOverlayTemplate
|
|
81
82
|
*OverlayTemplateApi* | [**destroyOverlayTemplateAsset**](docs/OverlayTemplateApi.md#destroyoverlaytemplateasset) | **DELETE** /admin-api/overlay-template/asset/{overlayTemplateAsset}/delete | Auto-generated: destroyOverlayTemplateAsset
|
|
@@ -160,8 +161,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
160
161
|
|
|
161
162
|
- [AssetFileForUploadResource](docs/AssetFileForUploadResource.md)
|
|
162
163
|
- [AssetFileForUploadResourceArrayResponse](docs/AssetFileForUploadResourceArrayResponse.md)
|
|
163
|
-
- [AssetFrontendResource](docs/AssetFrontendResource.md)
|
|
164
|
-
- [AssetFrontendResourceArrayResponse](docs/AssetFrontendResourceArrayResponse.md)
|
|
165
164
|
- [AssetLiteResource](docs/AssetLiteResource.md)
|
|
166
165
|
- [AssetLiteResourceArrayResponse](docs/AssetLiteResourceArrayResponse.md)
|
|
167
166
|
- [AssetResource](docs/AssetResource.md)
|
|
@@ -203,8 +202,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
203
202
|
- [DetachProductsProductCategoryRequest](docs/DetachProductsProductCategoryRequest.md)
|
|
204
203
|
- [DocumentFileForUploadResource](docs/DocumentFileForUploadResource.md)
|
|
205
204
|
- [DocumentFileForUploadResourceArrayResponse](docs/DocumentFileForUploadResourceArrayResponse.md)
|
|
206
|
-
- [DocumentFrontendResource](docs/DocumentFrontendResource.md)
|
|
207
|
-
- [DocumentFrontendResourceArrayResponse](docs/DocumentFrontendResourceArrayResponse.md)
|
|
208
205
|
- [DocumentLiteResource](docs/DocumentLiteResource.md)
|
|
209
206
|
- [DocumentLiteResourceArrayResponse](docs/DocumentLiteResourceArrayResponse.md)
|
|
210
207
|
- [DocumentResource](docs/DocumentResource.md)
|
|
@@ -249,8 +246,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
249
246
|
- [IndexTagRequest](docs/IndexTagRequest.md)
|
|
250
247
|
- [ModelAttributeResource](docs/ModelAttributeResource.md)
|
|
251
248
|
- [ModelAttributeResourceArrayResponse](docs/ModelAttributeResourceArrayResponse.md)
|
|
252
|
-
- [OverlayTemplateAssetFrontendResource](docs/OverlayTemplateAssetFrontendResource.md)
|
|
253
|
-
- [OverlayTemplateAssetFrontendResourceArrayResponse](docs/OverlayTemplateAssetFrontendResourceArrayResponse.md)
|
|
254
249
|
- [OverlayTemplateAssetPosition](docs/OverlayTemplateAssetPosition.md)
|
|
255
250
|
- [OverlayTemplateAssetResource](docs/OverlayTemplateAssetResource.md)
|
|
256
251
|
- [OverlayTemplateAssetResourceArrayResponse](docs/OverlayTemplateAssetResourceArrayResponse.md)
|
|
@@ -325,8 +320,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
325
320
|
- [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
|
|
326
321
|
- [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
|
|
327
322
|
- [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
|
|
328
|
-
- [ProductCompareResource](docs/ProductCompareResource.md)
|
|
329
|
-
- [ProductCompareResourceArrayResponse](docs/ProductCompareResourceArrayResponse.md)
|
|
330
323
|
- [ProductListResource](docs/ProductListResource.md)
|
|
331
324
|
- [ProductListResourceArrayResponse](docs/ProductListResourceArrayResponse.md)
|
|
332
325
|
- [ProductLiteResource](docs/ProductLiteResource.md)
|
|
@@ -393,6 +386,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
393
386
|
- [SupplierLiteResourceArrayResponse](docs/SupplierLiteResourceArrayResponse.md)
|
|
394
387
|
- [SupplierResource](docs/SupplierResource.md)
|
|
395
388
|
- [SupplierResourceArrayResponse](docs/SupplierResourceArrayResponse.md)
|
|
389
|
+
- [SyncProductNetsuiteProductRequest](docs/SyncProductNetsuiteProductRequest.md)
|
|
396
390
|
- [TagListResource](docs/TagListResource.md)
|
|
397
391
|
- [TagListResourceArrayResponse](docs/TagListResourceArrayResponse.md)
|
|
398
392
|
- [TagLiteResource](docs/TagLiteResource.md)
|
|
@@ -418,10 +412,6 @@ All URIs are relative to *http://localhost/api*
|
|
|
418
412
|
- [UpdateSiteRequest](docs/UpdateSiteRequest.md)
|
|
419
413
|
- [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
|
|
420
414
|
- [UpdateTagRequest](docs/UpdateTagRequest.md)
|
|
421
|
-
- [WishlistCheckResource](docs/WishlistCheckResource.md)
|
|
422
|
-
- [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
|
|
423
|
-
- [WishlistToggleResource](docs/WishlistToggleResource.md)
|
|
424
|
-
- [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
|
|
425
415
|
|
|
426
416
|
### Authorization
|
|
427
417
|
|
|
@@ -435,7 +425,7 @@ and is automatically generated by the
|
|
|
435
425
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
436
426
|
|
|
437
427
|
- API version: `1.0.0`
|
|
438
|
-
- Package version: `0.0.
|
|
428
|
+
- Package version: `0.0.634`
|
|
439
429
|
- Generator version: `7.19.0`
|
|
440
430
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
441
431
|
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './AttributeApi';
|
|
|
3
3
|
export * from './DocumentApi';
|
|
4
4
|
export * from './ExternalApiLogApi';
|
|
5
5
|
export * from './GoogleCategoryApi';
|
|
6
|
+
export * from './NetsuiteApi';
|
|
6
7
|
export * from './OverlayTemplateApi';
|
|
7
8
|
export * from './ProductApi';
|
|
8
9
|
export * from './ProductCategoryApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -21,6 +21,7 @@ __exportStar(require("./AttributeApi"), exports);
|
|
|
21
21
|
__exportStar(require("./DocumentApi"), exports);
|
|
22
22
|
__exportStar(require("./ExternalApiLogApi"), exports);
|
|
23
23
|
__exportStar(require("./GoogleCategoryApi"), exports);
|
|
24
|
+
__exportStar(require("./NetsuiteApi"), exports);
|
|
24
25
|
__exportStar(require("./OverlayTemplateApi"), exports);
|
|
25
26
|
__exportStar(require("./ProductApi"), exports);
|
|
26
27
|
__exportStar(require("./ProductCategoryApi"), exports);
|
|
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
-
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
-
return false;
|
|
42
40
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
43
41
|
return false;
|
|
44
42
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
58
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
61
59
|
'endpoint': json['endpoint'],
|
|
62
60
|
'responseCode': json['responseCode'],
|
|
63
|
-
'requestPayload': json['requestPayload'],
|
|
61
|
+
'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
|
|
64
62
|
'responsePayload': json['responsePayload'],
|
|
65
63
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
66
64
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -20,10 +20,10 @@ import type { StoreProductCategoryRequestAutomationRulesInner } from './StorePro
|
|
|
20
20
|
export interface StoreProductCategoryRequest {
|
|
21
21
|
/**
|
|
22
22
|
*
|
|
23
|
-
* @type {
|
|
23
|
+
* @type {string}
|
|
24
24
|
* @memberof StoreProductCategoryRequest
|
|
25
25
|
*/
|
|
26
|
-
siteId:
|
|
26
|
+
siteId: string;
|
|
27
27
|
/**
|
|
28
28
|
*
|
|
29
29
|
* @type {string}
|
|
@@ -0,0 +1,182 @@
|
|
|
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;
|