@digital8/lighting-illusions-ts-sdk 0.0.627 → 0.0.629

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.
Files changed (68) hide show
  1. package/.openapi-generator/FILES +8 -22
  2. package/README.md +6 -18
  3. package/dist/apis/index.d.ts +0 -1
  4. package/dist/apis/index.js +0 -1
  5. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  6. package/dist/models/ExternalApiLogResource.js +1 -3
  7. package/dist/models/WishlistCheckResource.d.ts +32 -0
  8. package/dist/models/WishlistCheckResource.js +51 -0
  9. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/WishlistCheckResourceArrayResponse.js +50 -0
  11. package/dist/models/WishlistToggleResource.d.ts +38 -0
  12. package/dist/models/WishlistToggleResource.js +55 -0
  13. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/WishlistToggleResourceArrayResponse.js +50 -0
  15. package/dist/models/index.d.ts +4 -10
  16. package/dist/models/index.js +4 -10
  17. package/docs/{StoreDefinitionRequest.md → WishlistCheckResource.md} +6 -8
  18. package/docs/{DefinitionResourceArrayResponse.md → WishlistCheckResourceArrayResponse.md} +5 -5
  19. package/docs/{DefinitionListResource.md → WishlistToggleResource.md} +8 -8
  20. package/docs/{DefinitionListResourceArrayResponse.md → WishlistToggleResourceArrayResponse.md} +5 -5
  21. package/package.json +1 -1
  22. package/src/apis/index.ts +0 -1
  23. package/src/models/ExternalApiLogResource.ts +2 -3
  24. package/src/models/WishlistCheckResource.ts +66 -0
  25. package/src/models/WishlistCheckResourceArrayResponse.ts +73 -0
  26. package/src/models/WishlistToggleResource.ts +75 -0
  27. package/src/models/WishlistToggleResourceArrayResponse.ts +73 -0
  28. package/src/models/index.ts +4 -10
  29. package/dist/apis/DefinitionApi.d.ts +0 -85
  30. package/dist/apis/DefinitionApi.js +0 -355
  31. package/dist/models/DefinitionListResource.d.ts +0 -38
  32. package/dist/models/DefinitionListResource.js +0 -55
  33. package/dist/models/DefinitionListResourceArrayResponse.d.ts +0 -33
  34. package/dist/models/DefinitionListResourceArrayResponse.js +0 -50
  35. package/dist/models/DefinitionResource.d.ts +0 -44
  36. package/dist/models/DefinitionResource.js +0 -59
  37. package/dist/models/DefinitionResourceArrayResponse.d.ts +0 -33
  38. package/dist/models/DefinitionResourceArrayResponse.js +0 -50
  39. package/dist/models/GetAllDefinitionRequest.d.ts +0 -80
  40. package/dist/models/GetAllDefinitionRequest.js +0 -76
  41. package/dist/models/IndexDefinitionRequest.d.ts +0 -92
  42. package/dist/models/IndexDefinitionRequest.js +0 -80
  43. package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +0 -40
  44. package/dist/models/PaginatedDefinitionListResourceResponse.js +0 -57
  45. package/dist/models/PaginatedDefinitionResourceResponse.d.ts +0 -40
  46. package/dist/models/PaginatedDefinitionResourceResponse.js +0 -57
  47. package/dist/models/StoreDefinitionRequest.d.ts +0 -38
  48. package/dist/models/StoreDefinitionRequest.js +0 -55
  49. package/dist/models/UpdateDefinitionRequest.d.ts +0 -38
  50. package/dist/models/UpdateDefinitionRequest.js +0 -55
  51. package/docs/DefinitionApi.md +0 -407
  52. package/docs/DefinitionResource.md +0 -38
  53. package/docs/GetAllDefinitionRequest.md +0 -44
  54. package/docs/IndexDefinitionRequest.md +0 -48
  55. package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
  56. package/docs/PaginatedDefinitionResourceResponse.md +0 -36
  57. package/docs/UpdateDefinitionRequest.md +0 -36
  58. package/src/apis/DefinitionApi.ts +0 -286
  59. package/src/models/DefinitionListResource.ts +0 -75
  60. package/src/models/DefinitionListResourceArrayResponse.ts +0 -73
  61. package/src/models/DefinitionResource.ts +0 -84
  62. package/src/models/DefinitionResourceArrayResponse.ts +0 -73
  63. package/src/models/GetAllDefinitionRequest.ts +0 -127
  64. package/src/models/IndexDefinitionRequest.ts +0 -143
  65. package/src/models/PaginatedDefinitionListResourceResponse.ts +0 -90
  66. package/src/models/PaginatedDefinitionResourceResponse.ts +0 -90
  67. package/src/models/StoreDefinitionRequest.ts +0 -75
  68. package/src/models/UpdateDefinitionRequest.ts +0 -75
@@ -39,11 +39,6 @@ docs/CategoryAutomationFieldType.md
39
39
  docs/CategoryAutomationRuleResource.md
40
40
  docs/CategoryAutomationRuleResourceArrayResponse.md
41
41
  docs/CouponDiscountType.md
42
- docs/DefinitionApi.md
43
- docs/DefinitionListResource.md
44
- docs/DefinitionListResourceArrayResponse.md
45
- docs/DefinitionResource.md
46
- docs/DefinitionResourceArrayResponse.md
47
42
  docs/DescriptionResource.md
48
43
  docs/DescriptionResourceArrayResponse.md
49
44
  docs/DestroyAttributeValueRequest.md
@@ -70,7 +65,6 @@ docs/ExternalApiProvider.md
70
65
  docs/ExternalApiSyncStatus.md
71
66
  docs/GenericResponse.md
72
67
  docs/GetAllAttributeRequest.md
73
- docs/GetAllDefinitionRequest.md
74
68
  docs/GetAllDocumentRequest.md
75
69
  docs/GetAllGoogleCategoryRequest.md
76
70
  docs/GetAllOverlayTemplateRequest.md
@@ -91,7 +85,6 @@ docs/GoogleCategoryApi.md
91
85
  docs/GoogleCategoryResource.md
92
86
  docs/GoogleCategoryResourceArrayResponse.md
93
87
  docs/IndexAttributeRequest.md
94
- docs/IndexDefinitionRequest.md
95
88
  docs/IndexDocumentRequest.md
96
89
  docs/IndexExternalApiLogRequest.md
97
90
  docs/IndexOverlayTemplateRequest.md
@@ -121,8 +114,6 @@ docs/PaginatedAttributeListResourceResponse.md
121
114
  docs/PaginatedAttributeLiteResourceResponse.md
122
115
  docs/PaginatedAttributeProductTypeRelationResourceResponse.md
123
116
  docs/PaginatedAttributeResourceResponse.md
124
- docs/PaginatedDefinitionListResourceResponse.md
125
- docs/PaginatedDefinitionResourceResponse.md
126
117
  docs/PaginatedDocumentResourceResponse.md
127
118
  docs/PaginatedExternalApiLogListResourceResponse.md
128
119
  docs/PaginatedExternalApiLogResourceResponse.md
@@ -231,7 +222,6 @@ docs/SiteResourceArrayResponse.md
231
222
  docs/StoreAssetFileRequest.md
232
223
  docs/StoreAttributeRequest.md
233
224
  docs/StoreAttributeValueRequest.md
234
- docs/StoreDefinitionRequest.md
235
225
  docs/StoreDocumentFileRequest.md
236
226
  docs/StoreDocumentRequest.md
237
227
  docs/StoreOverlayTemplateAssetRequest.md
@@ -269,7 +259,6 @@ docs/TagResourceArrayResponse.md
269
259
  docs/TagType.md
270
260
  docs/UpdateAttributeRequest.md
271
261
  docs/UpdateAttributeValueRequest.md
272
- docs/UpdateDefinitionRequest.md
273
262
  docs/UpdateDocumentRequest.md
274
263
  docs/UpdateFilterOrderAttributeRequest.md
275
264
  docs/UpdateFilterOrderAttributeRequestValuesInner.md
@@ -286,10 +275,13 @@ docs/UpdateSiteNotificationRequest.md
286
275
  docs/UpdateSiteRequest.md
287
276
  docs/UpdateSupplierRequest.md
288
277
  docs/UpdateTagRequest.md
278
+ docs/WishlistCheckResource.md
279
+ docs/WishlistCheckResourceArrayResponse.md
280
+ docs/WishlistToggleResource.md
281
+ docs/WishlistToggleResourceArrayResponse.md
289
282
  package.json
290
283
  src/apis/AssetApi.ts
291
284
  src/apis/AttributeApi.ts
292
- src/apis/DefinitionApi.ts
293
285
  src/apis/DocumentApi.ts
294
286
  src/apis/ExternalApiLogApi.ts
295
287
  src/apis/GoogleCategoryApi.ts
@@ -338,10 +330,6 @@ src/models/CategoryAutomationFieldType.ts
338
330
  src/models/CategoryAutomationRuleResource.ts
339
331
  src/models/CategoryAutomationRuleResourceArrayResponse.ts
340
332
  src/models/CouponDiscountType.ts
341
- src/models/DefinitionListResource.ts
342
- src/models/DefinitionListResourceArrayResponse.ts
343
- src/models/DefinitionResource.ts
344
- src/models/DefinitionResourceArrayResponse.ts
345
333
  src/models/DescriptionResource.ts
346
334
  src/models/DescriptionResourceArrayResponse.ts
347
335
  src/models/DestroyAttributeValueRequest.ts
@@ -366,7 +354,6 @@ src/models/ExternalApiProvider.ts
366
354
  src/models/ExternalApiSyncStatus.ts
367
355
  src/models/GenericResponse.ts
368
356
  src/models/GetAllAttributeRequest.ts
369
- src/models/GetAllDefinitionRequest.ts
370
357
  src/models/GetAllDocumentRequest.ts
371
358
  src/models/GetAllGoogleCategoryRequest.ts
372
359
  src/models/GetAllOverlayTemplateRequest.ts
@@ -386,7 +373,6 @@ src/models/GlobalSearchResponseResourceArrayResponse.ts
386
373
  src/models/GoogleCategoryResource.ts
387
374
  src/models/GoogleCategoryResourceArrayResponse.ts
388
375
  src/models/IndexAttributeRequest.ts
389
- src/models/IndexDefinitionRequest.ts
390
376
  src/models/IndexDocumentRequest.ts
391
377
  src/models/IndexExternalApiLogRequest.ts
392
378
  src/models/IndexOverlayTemplateRequest.ts
@@ -415,8 +401,6 @@ src/models/PaginatedAttributeListResourceResponse.ts
415
401
  src/models/PaginatedAttributeLiteResourceResponse.ts
416
402
  src/models/PaginatedAttributeProductTypeRelationResourceResponse.ts
417
403
  src/models/PaginatedAttributeResourceResponse.ts
418
- src/models/PaginatedDefinitionListResourceResponse.ts
419
- src/models/PaginatedDefinitionResourceResponse.ts
420
404
  src/models/PaginatedDocumentResourceResponse.ts
421
405
  src/models/PaginatedExternalApiLogListResourceResponse.ts
422
406
  src/models/PaginatedExternalApiLogResourceResponse.ts
@@ -520,7 +504,6 @@ src/models/SiteResourceArrayResponse.ts
520
504
  src/models/StoreAssetFileRequest.ts
521
505
  src/models/StoreAttributeRequest.ts
522
506
  src/models/StoreAttributeValueRequest.ts
523
- src/models/StoreDefinitionRequest.ts
524
507
  src/models/StoreDocumentFileRequest.ts
525
508
  src/models/StoreDocumentRequest.ts
526
509
  src/models/StoreOverlayTemplateAssetRequest.ts
@@ -556,7 +539,6 @@ src/models/TagResourceArrayResponse.ts
556
539
  src/models/TagType.ts
557
540
  src/models/UpdateAttributeRequest.ts
558
541
  src/models/UpdateAttributeValueRequest.ts
559
- src/models/UpdateDefinitionRequest.ts
560
542
  src/models/UpdateDocumentRequest.ts
561
543
  src/models/UpdateFilterOrderAttributeRequest.ts
562
544
  src/models/UpdateFilterOrderAttributeRequestValuesInner.ts
@@ -573,6 +555,10 @@ src/models/UpdateSiteNotificationRequest.ts
573
555
  src/models/UpdateSiteRequest.ts
574
556
  src/models/UpdateSupplierRequest.ts
575
557
  src/models/UpdateTagRequest.ts
558
+ src/models/WishlistCheckResource.ts
559
+ src/models/WishlistCheckResourceArrayResponse.ts
560
+ src/models/WishlistToggleResource.ts
561
+ src/models/WishlistToggleResourceArrayResponse.ts
576
562
  src/models/index.ts
577
563
  src/runtime.ts
578
564
  tsconfig.json
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.627
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.629
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -65,12 +65,6 @@ All URIs are relative to *http://localhost/api*
65
65
  *AttributeApi* | [**updateAttributeValue**](docs/AttributeApi.md#updateattributevalueoperation) | **PUT** /admin-api/attribute/value/{attributeValue}/update | Auto-generated: updateAttributeValue
66
66
  *AttributeApi* | [**updateFilterOrderAttribute**](docs/AttributeApi.md#updatefilterorderattributeoperation) | **PUT** /admin-api/attribute/update-filter-order | Auto-generated: updateFilterOrderAttribute
67
67
  *AttributeApi* | [**updateModelAttribute**](docs/AttributeApi.md#updatemodelattributeoperation) | **PUT** /admin-api/attribute/model-attribute/{modelAttribute}/update | Auto-generated: updateModelAttribute
68
- *DefinitionApi* | [**destroyDefinition**](docs/DefinitionApi.md#destroydefinition) | **DELETE** /admin-api/definition/{definition}/delete | Auto-generated: destroyDefinition
69
- *DefinitionApi* | [**getAllDefinition**](docs/DefinitionApi.md#getalldefinitionoperation) | **POST** /admin-api/definition/all | Auto-generated: getAllDefinition
70
- *DefinitionApi* | [**indexDefinition**](docs/DefinitionApi.md#indexdefinitionoperation) | **POST** /admin-api/definition/list | Auto-generated: indexDefinition
71
- *DefinitionApi* | [**showDefinition**](docs/DefinitionApi.md#showdefinition) | **GET** /admin-api/definition/{definition} | Auto-generated: showDefinition
72
- *DefinitionApi* | [**storeDefinition**](docs/DefinitionApi.md#storedefinitionoperation) | **POST** /admin-api/definition/create | Auto-generated: storeDefinition
73
- *DefinitionApi* | [**updateDefinition**](docs/DefinitionApi.md#updatedefinitionoperation) | **PUT** /admin-api/definition/{definition}/update | Auto-generated: updateDefinition
74
68
  *DocumentApi* | [**attachDocumentablesDocument**](docs/DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/attach-documentables | Auto-generated: attachDocumentablesDocument
75
69
  *DocumentApi* | [**destroyDocument**](docs/DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document}/delete | Auto-generated: destroyDocument
76
70
  *DocumentApi* | [**detachDocumentablesDocument**](docs/DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/detach-documentables | Auto-generated: detachDocumentablesDocument
@@ -199,10 +193,6 @@ All URIs are relative to *http://localhost/api*
199
193
  - [CategoryAutomationRuleResource](docs/CategoryAutomationRuleResource.md)
200
194
  - [CategoryAutomationRuleResourceArrayResponse](docs/CategoryAutomationRuleResourceArrayResponse.md)
201
195
  - [CouponDiscountType](docs/CouponDiscountType.md)
202
- - [DefinitionListResource](docs/DefinitionListResource.md)
203
- - [DefinitionListResourceArrayResponse](docs/DefinitionListResourceArrayResponse.md)
204
- - [DefinitionResource](docs/DefinitionResource.md)
205
- - [DefinitionResourceArrayResponse](docs/DefinitionResourceArrayResponse.md)
206
196
  - [DescriptionResource](docs/DescriptionResource.md)
207
197
  - [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
208
198
  - [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
@@ -227,7 +217,6 @@ All URIs are relative to *http://localhost/api*
227
217
  - [ExternalApiSyncStatus](docs/ExternalApiSyncStatus.md)
228
218
  - [GenericResponse](docs/GenericResponse.md)
229
219
  - [GetAllAttributeRequest](docs/GetAllAttributeRequest.md)
230
- - [GetAllDefinitionRequest](docs/GetAllDefinitionRequest.md)
231
220
  - [GetAllDocumentRequest](docs/GetAllDocumentRequest.md)
232
221
  - [GetAllGoogleCategoryRequest](docs/GetAllGoogleCategoryRequest.md)
233
222
  - [GetAllOverlayTemplateRequest](docs/GetAllOverlayTemplateRequest.md)
@@ -247,7 +236,6 @@ All URIs are relative to *http://localhost/api*
247
236
  - [GoogleCategoryResource](docs/GoogleCategoryResource.md)
248
237
  - [GoogleCategoryResourceArrayResponse](docs/GoogleCategoryResourceArrayResponse.md)
249
238
  - [IndexAttributeRequest](docs/IndexAttributeRequest.md)
250
- - [IndexDefinitionRequest](docs/IndexDefinitionRequest.md)
251
239
  - [IndexDocumentRequest](docs/IndexDocumentRequest.md)
252
240
  - [IndexExternalApiLogRequest](docs/IndexExternalApiLogRequest.md)
253
241
  - [IndexOverlayTemplateRequest](docs/IndexOverlayTemplateRequest.md)
@@ -276,8 +264,6 @@ All URIs are relative to *http://localhost/api*
276
264
  - [PaginatedAttributeLiteResourceResponse](docs/PaginatedAttributeLiteResourceResponse.md)
277
265
  - [PaginatedAttributeProductTypeRelationResourceResponse](docs/PaginatedAttributeProductTypeRelationResourceResponse.md)
278
266
  - [PaginatedAttributeResourceResponse](docs/PaginatedAttributeResourceResponse.md)
279
- - [PaginatedDefinitionListResourceResponse](docs/PaginatedDefinitionListResourceResponse.md)
280
- - [PaginatedDefinitionResourceResponse](docs/PaginatedDefinitionResourceResponse.md)
281
267
  - [PaginatedDocumentResourceResponse](docs/PaginatedDocumentResourceResponse.md)
282
268
  - [PaginatedExternalApiLogListResourceResponse](docs/PaginatedExternalApiLogListResourceResponse.md)
283
269
  - [PaginatedExternalApiLogResourceResponse](docs/PaginatedExternalApiLogResourceResponse.md)
@@ -381,7 +367,6 @@ All URIs are relative to *http://localhost/api*
381
367
  - [StoreAssetFileRequest](docs/StoreAssetFileRequest.md)
382
368
  - [StoreAttributeRequest](docs/StoreAttributeRequest.md)
383
369
  - [StoreAttributeValueRequest](docs/StoreAttributeValueRequest.md)
384
- - [StoreDefinitionRequest](docs/StoreDefinitionRequest.md)
385
370
  - [StoreDocumentFileRequest](docs/StoreDocumentFileRequest.md)
386
371
  - [StoreDocumentRequest](docs/StoreDocumentRequest.md)
387
372
  - [StoreOverlayTemplateAssetRequest](docs/StoreOverlayTemplateAssetRequest.md)
@@ -417,7 +402,6 @@ All URIs are relative to *http://localhost/api*
417
402
  - [TagType](docs/TagType.md)
418
403
  - [UpdateAttributeRequest](docs/UpdateAttributeRequest.md)
419
404
  - [UpdateAttributeValueRequest](docs/UpdateAttributeValueRequest.md)
420
- - [UpdateDefinitionRequest](docs/UpdateDefinitionRequest.md)
421
405
  - [UpdateDocumentRequest](docs/UpdateDocumentRequest.md)
422
406
  - [UpdateFilterOrderAttributeRequest](docs/UpdateFilterOrderAttributeRequest.md)
423
407
  - [UpdateFilterOrderAttributeRequestValuesInner](docs/UpdateFilterOrderAttributeRequestValuesInner.md)
@@ -434,6 +418,10 @@ All URIs are relative to *http://localhost/api*
434
418
  - [UpdateSiteRequest](docs/UpdateSiteRequest.md)
435
419
  - [UpdateSupplierRequest](docs/UpdateSupplierRequest.md)
436
420
  - [UpdateTagRequest](docs/UpdateTagRequest.md)
421
+ - [WishlistCheckResource](docs/WishlistCheckResource.md)
422
+ - [WishlistCheckResourceArrayResponse](docs/WishlistCheckResourceArrayResponse.md)
423
+ - [WishlistToggleResource](docs/WishlistToggleResource.md)
424
+ - [WishlistToggleResourceArrayResponse](docs/WishlistToggleResourceArrayResponse.md)
437
425
 
438
426
  ### Authorization
439
427
 
@@ -447,7 +435,7 @@ and is automatically generated by the
447
435
  [OpenAPI Generator](https://openapi-generator.tech) project:
448
436
 
449
437
  - API version: `1.0.0`
450
- - Package version: `0.0.627`
438
+ - Package version: `0.0.629`
451
439
  - Generator version: `7.19.0`
452
440
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
453
441
 
@@ -1,6 +1,5 @@
1
1
  export * from './AssetApi';
2
2
  export * from './AttributeApi';
3
- export * from './DefinitionApi';
4
3
  export * from './DocumentApi';
5
4
  export * from './ExternalApiLogApi';
6
5
  export * from './GoogleCategoryApi';
@@ -18,7 +18,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./AssetApi"), exports);
20
20
  __exportStar(require("./AttributeApi"), exports);
21
- __exportStar(require("./DefinitionApi"), exports);
22
21
  __exportStar(require("./DocumentApi"), exports);
23
22
  __exportStar(require("./ExternalApiLogApi"), exports);
24
23
  __exportStar(require("./GoogleCategoryApi"), exports);
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -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']),
@@ -0,0 +1,32 @@
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 WishlistCheckResource
16
+ */
17
+ export interface WishlistCheckResource {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof WishlistCheckResource
22
+ */
23
+ inWishlist: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the WishlistCheckResource interface.
27
+ */
28
+ export declare function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource;
29
+ export declare function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource;
30
+ export declare function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource;
31
+ export declare function WishlistCheckResourceToJSON(json: any): WishlistCheckResource;
32
+ export declare function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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.instanceOfWishlistCheckResource = instanceOfWishlistCheckResource;
17
+ exports.WishlistCheckResourceFromJSON = WishlistCheckResourceFromJSON;
18
+ exports.WishlistCheckResourceFromJSONTyped = WishlistCheckResourceFromJSONTyped;
19
+ exports.WishlistCheckResourceToJSON = WishlistCheckResourceToJSON;
20
+ exports.WishlistCheckResourceToJSONTyped = WishlistCheckResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the WishlistCheckResource interface.
23
+ */
24
+ function instanceOfWishlistCheckResource(value) {
25
+ if (!('inWishlist' in value) || value['inWishlist'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function WishlistCheckResourceFromJSON(json) {
30
+ return WishlistCheckResourceFromJSONTyped(json, false);
31
+ }
32
+ function WishlistCheckResourceFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'inWishlist': json['in_wishlist'],
38
+ };
39
+ }
40
+ function WishlistCheckResourceToJSON(json) {
41
+ return WishlistCheckResourceToJSONTyped(json, false);
42
+ }
43
+ function WishlistCheckResourceToJSONTyped(value, ignoreDiscriminator) {
44
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'in_wishlist': value['inWishlist'],
50
+ };
51
+ }
@@ -0,0 +1,33 @@
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 type { WishlistCheckResource } from './WishlistCheckResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WishlistCheckResourceArrayResponse
17
+ */
18
+ export interface WishlistCheckResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<WishlistCheckResource>}
22
+ * @memberof WishlistCheckResourceArrayResponse
23
+ */
24
+ data?: Array<WishlistCheckResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfWishlistCheckResourceArrayResponse(value: object): value is WishlistCheckResourceArrayResponse;
30
+ export declare function WishlistCheckResourceArrayResponseFromJSON(json: any): WishlistCheckResourceArrayResponse;
31
+ export declare function WishlistCheckResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResourceArrayResponse;
32
+ export declare function WishlistCheckResourceArrayResponseToJSON(json: any): WishlistCheckResourceArrayResponse;
33
+ export declare function WishlistCheckResourceArrayResponseToJSONTyped(value?: WishlistCheckResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfWishlistCheckResourceArrayResponse = instanceOfWishlistCheckResourceArrayResponse;
17
+ exports.WishlistCheckResourceArrayResponseFromJSON = WishlistCheckResourceArrayResponseFromJSON;
18
+ exports.WishlistCheckResourceArrayResponseFromJSONTyped = WishlistCheckResourceArrayResponseFromJSONTyped;
19
+ exports.WishlistCheckResourceArrayResponseToJSON = WishlistCheckResourceArrayResponseToJSON;
20
+ exports.WishlistCheckResourceArrayResponseToJSONTyped = WishlistCheckResourceArrayResponseToJSONTyped;
21
+ var WishlistCheckResource_1 = require("./WishlistCheckResource");
22
+ /**
23
+ * Check if a given object implements the WishlistCheckResourceArrayResponse interface.
24
+ */
25
+ function instanceOfWishlistCheckResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function WishlistCheckResourceArrayResponseFromJSON(json) {
29
+ return WishlistCheckResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function WishlistCheckResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(WishlistCheckResource_1.WishlistCheckResourceFromJSON)),
37
+ };
38
+ }
39
+ function WishlistCheckResourceArrayResponseToJSON(json) {
40
+ return WishlistCheckResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function WishlistCheckResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(WishlistCheckResource_1.WishlistCheckResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,38 @@
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 WishlistToggleResource
16
+ */
17
+ export interface WishlistToggleResource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WishlistToggleResource
22
+ */
23
+ action: string;
24
+ /**
25
+ *
26
+ * @type {Array<number>}
27
+ * @memberof WishlistToggleResource
28
+ */
29
+ product: Array<number>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the WishlistToggleResource interface.
33
+ */
34
+ export declare function instanceOfWishlistToggleResource(value: object): value is WishlistToggleResource;
35
+ export declare function WishlistToggleResourceFromJSON(json: any): WishlistToggleResource;
36
+ export declare function WishlistToggleResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResource;
37
+ export declare function WishlistToggleResourceToJSON(json: any): WishlistToggleResource;
38
+ export declare function WishlistToggleResourceToJSONTyped(value?: WishlistToggleResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfWishlistToggleResource = instanceOfWishlistToggleResource;
17
+ exports.WishlistToggleResourceFromJSON = WishlistToggleResourceFromJSON;
18
+ exports.WishlistToggleResourceFromJSONTyped = WishlistToggleResourceFromJSONTyped;
19
+ exports.WishlistToggleResourceToJSON = WishlistToggleResourceToJSON;
20
+ exports.WishlistToggleResourceToJSONTyped = WishlistToggleResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the WishlistToggleResource interface.
23
+ */
24
+ function instanceOfWishlistToggleResource(value) {
25
+ if (!('action' in value) || value['action'] === undefined)
26
+ return false;
27
+ if (!('product' in value) || value['product'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function WishlistToggleResourceFromJSON(json) {
32
+ return WishlistToggleResourceFromJSONTyped(json, false);
33
+ }
34
+ function WishlistToggleResourceFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'action': json['action'],
40
+ 'product': json['product'],
41
+ };
42
+ }
43
+ function WishlistToggleResourceToJSON(json) {
44
+ return WishlistToggleResourceToJSONTyped(json, false);
45
+ }
46
+ function WishlistToggleResourceToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'action': value['action'],
53
+ 'product': value['product'],
54
+ };
55
+ }
@@ -0,0 +1,33 @@
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 type { WishlistToggleResource } from './WishlistToggleResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WishlistToggleResourceArrayResponse
17
+ */
18
+ export interface WishlistToggleResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<WishlistToggleResource>}
22
+ * @memberof WishlistToggleResourceArrayResponse
23
+ */
24
+ data?: Array<WishlistToggleResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfWishlistToggleResourceArrayResponse(value: object): value is WishlistToggleResourceArrayResponse;
30
+ export declare function WishlistToggleResourceArrayResponseFromJSON(json: any): WishlistToggleResourceArrayResponse;
31
+ export declare function WishlistToggleResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistToggleResourceArrayResponse;
32
+ export declare function WishlistToggleResourceArrayResponseToJSON(json: any): WishlistToggleResourceArrayResponse;
33
+ export declare function WishlistToggleResourceArrayResponseToJSONTyped(value?: WishlistToggleResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfWishlistToggleResourceArrayResponse = instanceOfWishlistToggleResourceArrayResponse;
17
+ exports.WishlistToggleResourceArrayResponseFromJSON = WishlistToggleResourceArrayResponseFromJSON;
18
+ exports.WishlistToggleResourceArrayResponseFromJSONTyped = WishlistToggleResourceArrayResponseFromJSONTyped;
19
+ exports.WishlistToggleResourceArrayResponseToJSON = WishlistToggleResourceArrayResponseToJSON;
20
+ exports.WishlistToggleResourceArrayResponseToJSONTyped = WishlistToggleResourceArrayResponseToJSONTyped;
21
+ var WishlistToggleResource_1 = require("./WishlistToggleResource");
22
+ /**
23
+ * Check if a given object implements the WishlistToggleResourceArrayResponse interface.
24
+ */
25
+ function instanceOfWishlistToggleResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function WishlistToggleResourceArrayResponseFromJSON(json) {
29
+ return WishlistToggleResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function WishlistToggleResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(WishlistToggleResource_1.WishlistToggleResourceFromJSON)),
37
+ };
38
+ }
39
+ function WishlistToggleResourceArrayResponseToJSON(json) {
40
+ return WishlistToggleResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function WishlistToggleResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(WishlistToggleResource_1.WishlistToggleResourceToJSON)),
49
+ };
50
+ }