@digital8/lighting-illusions-ts-sdk 0.0.1101 → 0.0.1102

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 (122) hide show
  1. package/.openapi-generator/FILES +38 -4
  2. package/README.md +31 -4
  3. package/dist/apis/StoreApi.d.ts +158 -0
  4. package/dist/apis/StoreApi.js +621 -0
  5. package/dist/apis/SupplierApi.d.ts +33 -1
  6. package/dist/apis/SupplierApi.js +122 -0
  7. package/dist/apis/index.d.ts +1 -0
  8. package/dist/apis/index.js +1 -0
  9. package/dist/models/AddressResource.d.ts +74 -0
  10. package/dist/models/AddressResource.js +79 -0
  11. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/AddressResourceArrayResponse.js +50 -0
  13. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  14. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  15. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  16. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  17. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  18. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  19. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  20. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  21. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  22. package/dist/models/ExternalApiLogResource.js +3 -1
  23. package/dist/models/GetAllStoreRequest.d.ts +87 -0
  24. package/dist/models/GetAllStoreRequest.js +79 -0
  25. package/dist/models/ProductChildOverlayRelationResource.d.ts +0 -6
  26. package/dist/models/ProductChildOverlayRelationResource.js +0 -4
  27. package/dist/models/ProductChildResource.d.ts +0 -19
  28. package/dist/models/ProductChildResource.js +0 -13
  29. package/dist/models/StoreListResource.d.ts +93 -0
  30. package/dist/models/StoreListResource.js +84 -0
  31. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  33. package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
  34. package/dist/models/StoreProductCategoryRequest.js +6 -2
  35. package/dist/models/StoreProductChildRequest.d.ts +2 -2
  36. package/dist/models/StoreProductChildRequest.js +6 -2
  37. package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
  38. package/dist/models/StoreProductChildRequestSitesInner.js +6 -2
  39. package/dist/models/StoreResource.d.ts +117 -0
  40. package/dist/models/StoreResource.js +100 -0
  41. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  42. package/dist/models/StoreResourceArrayResponse.js +50 -0
  43. package/dist/models/StoreSpecialDateResource.d.ts +56 -0
  44. package/dist/models/StoreSpecialDateResource.js +65 -0
  45. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  46. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  47. package/dist/models/StoreStoreRequest.d.ts +177 -0
  48. package/dist/models/StoreStoreRequest.js +124 -0
  49. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
  50. package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
  51. package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
  52. package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
  53. package/dist/models/SupplierResource.d.ts +6 -0
  54. package/dist/models/SupplierResource.js +4 -0
  55. package/dist/models/UpdateProductChildRequest.d.ts +2 -2
  56. package/dist/models/UpdateProductChildRequest.js +6 -2
  57. package/dist/models/UpdateStoreRequest.d.ts +177 -0
  58. package/dist/models/UpdateStoreRequest.js +124 -0
  59. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
  60. package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
  61. package/dist/models/index.d.ts +18 -2
  62. package/dist/models/index.js +18 -2
  63. package/docs/AddressResource.md +48 -0
  64. package/docs/{ProductClassResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
  65. package/docs/{ProductClassResource.md → AttachStoresSupplierRequest.md} +6 -10
  66. package/docs/AttachSuppliersStoreRequest.md +34 -0
  67. package/docs/DetachStoresSupplierRequest.md +34 -0
  68. package/docs/DetachSuppliersStoreRequest.md +34 -0
  69. package/docs/GetAllStoreRequest.md +46 -0
  70. package/docs/ProductChildOverlayRelationResource.md +0 -2
  71. package/docs/ProductChildResource.md +0 -6
  72. package/docs/StoreApi.md +617 -0
  73. package/docs/StoreListResource.md +54 -0
  74. package/docs/StoreListResourceArrayResponse.md +34 -0
  75. package/docs/StoreResource.md +62 -0
  76. package/docs/StoreResourceArrayResponse.md +34 -0
  77. package/docs/StoreSpecialDateResource.md +42 -0
  78. package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
  79. package/docs/StoreStoreRequest.md +82 -0
  80. package/docs/StoreStoreRequestSpecialDatesInner.md +40 -0
  81. package/docs/StoreStoreSpecialDateRequest.md +40 -0
  82. package/docs/SupplierApi.md +138 -0
  83. package/docs/SupplierResource.md +2 -0
  84. package/docs/UpdateStoreRequest.md +82 -0
  85. package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
  86. package/package.json +1 -1
  87. package/src/apis/StoreApi.ts +513 -0
  88. package/src/apis/SupplierApi.ts +112 -0
  89. package/src/apis/index.ts +1 -0
  90. package/src/models/AddressResource.ts +129 -0
  91. package/src/models/AddressResourceArrayResponse.ts +73 -0
  92. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  93. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  94. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  95. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  96. package/src/models/ExternalApiLogResource.ts +3 -2
  97. package/src/models/GetAllStoreRequest.ts +136 -0
  98. package/src/models/ProductChildOverlayRelationResource.ts +0 -9
  99. package/src/models/ProductChildResource.ts +0 -34
  100. package/src/models/StoreListResource.ts +160 -0
  101. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  102. package/src/models/StoreProductCategoryRequest.ts +6 -4
  103. package/src/models/StoreProductChildRequest.ts +6 -4
  104. package/src/models/StoreProductChildRequestSitesInner.ts +6 -4
  105. package/src/models/StoreResource.ts +196 -0
  106. package/src/models/StoreResourceArrayResponse.ts +73 -0
  107. package/src/models/StoreSpecialDateResource.ts +101 -0
  108. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  109. package/src/models/StoreStoreRequest.ts +278 -0
  110. package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
  111. package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
  112. package/src/models/SupplierResource.ts +9 -0
  113. package/src/models/UpdateProductChildRequest.ts +6 -4
  114. package/src/models/UpdateStoreRequest.ts +278 -0
  115. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
  116. package/src/models/index.ts +18 -2
  117. package/dist/models/ProductClassResource.d.ts +0 -44
  118. package/dist/models/ProductClassResource.js +0 -57
  119. package/dist/models/ProductClassResourceArrayResponse.d.ts +0 -33
  120. package/dist/models/ProductClassResourceArrayResponse.js +0 -50
  121. package/src/models/ProductClassResource.ts +0 -83
  122. package/src/models/ProductClassResourceArrayResponse.ts +0 -73
@@ -1,26 +1,22 @@
1
1
 
2
- # ProductClassResource
2
+ # AttachStoresSupplierRequest
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `order` | number
9
+ `storeIds` | Array<number>
12
10
 
13
11
  ## Example
14
12
 
15
13
  ```typescript
16
- import type { ProductClassResource } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { AttachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
17
15
 
18
16
  // TODO: Update the object below with actual values
19
17
  const example = {
20
- "id": null,
21
- "name": null,
22
- "order": null,
23
- } satisfies ProductClassResource
18
+ "storeIds": null,
19
+ } satisfies AttachStoresSupplierRequest
24
20
 
25
21
  console.log(example)
26
22
 
@@ -29,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
29
25
  console.log(exampleJSON)
30
26
 
31
27
  // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as ProductClassResource
28
+ const exampleParsed = JSON.parse(exampleJSON) as AttachStoresSupplierRequest
33
29
  console.log(exampleParsed)
34
30
  ```
35
31
 
@@ -0,0 +1,34 @@
1
+
2
+ # AttachSuppliersStoreRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `supplierIds` | Array<number>
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { AttachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "supplierIds": null,
19
+ } satisfies AttachSuppliersStoreRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as AttachSuppliersStoreRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # DetachStoresSupplierRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `storeIds` | Array<number>
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DetachStoresSupplierRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "storeIds": null,
19
+ } satisfies DetachStoresSupplierRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as DetachStoresSupplierRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # DetachSuppliersStoreRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `supplierIds` | Array<number>
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { DetachSuppliersStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "supplierIds": null,
19
+ } satisfies DetachSuppliersStoreRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as DetachSuppliersStoreRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,46 @@
1
+
2
+ # GetAllStoreRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `search` | string
10
+ `sortBy` | string
11
+ `sortDirection` | string
12
+ `relatedId` | number
13
+ `relatedType` | string
14
+ `includesRelations` | boolean
15
+ `siteId` | Array<string>
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import type { GetAllStoreRequest } from '@digital8/lighting-illusions-ts-sdk'
21
+
22
+ // TODO: Update the object below with actual values
23
+ const example = {
24
+ "search": null,
25
+ "sortBy": null,
26
+ "sortDirection": null,
27
+ "relatedId": null,
28
+ "relatedType": null,
29
+ "includesRelations": null,
30
+ "siteId": null,
31
+ } satisfies GetAllStoreRequest
32
+
33
+ console.log(example)
34
+
35
+ // Convert the instance to a JSON string
36
+ const exampleJSON: string = JSON.stringify(example)
37
+ console.log(exampleJSON)
38
+
39
+ // Parse the JSON string back to an object
40
+ const exampleParsed = JSON.parse(exampleJSON) as GetAllStoreRequest
41
+ console.log(exampleParsed)
42
+ ```
43
+
44
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
45
+
46
+
@@ -7,7 +7,6 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `parentId` | number
11
10
  `parentName` | string
12
11
  `name` | string
13
12
  `modelNumber` | string
@@ -25,7 +24,6 @@ import type { ProductChildOverlayRelationResource } from '@digital8/lighting-ill
25
24
  // TODO: Update the object below with actual values
26
25
  const example = {
27
26
  "id": null,
28
- "parentId": null,
29
27
  "parentName": null,
30
28
  "name": null,
31
29
  "modelNumber": null,
@@ -34,9 +34,6 @@ Name | Type
34
34
  `assets` | [Array<AssetResource>](AssetResource.md)
35
35
  `thumbnail` | [AssetResource](AssetResource.md)
36
36
  `attributes` | object
37
- `productClasses` | [Array<ProductClassResource>](ProductClassResource.md)
38
- `productClassString` | string
39
- `isPrivilegedAdmin` | boolean
40
37
 
41
38
  ## Example
42
39
 
@@ -73,9 +70,6 @@ const example = {
73
70
  "assets": null,
74
71
  "thumbnail": null,
75
72
  "attributes": null,
76
- "productClasses": null,
77
- "productClassString": null,
78
- "isPrivilegedAdmin": null,
79
73
  } satisfies ProductChildResource
80
74
 
81
75
  console.log(example)