@digital8/lighting-illusions-ts-sdk 0.0.1127 → 0.0.1129

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 (97) hide show
  1. package/.openapi-generator/FILES +0 -40
  2. package/README.md +2 -33
  3. package/dist/apis/SupplierApi.d.ts +1 -33
  4. package/dist/apis/SupplierApi.js +0 -122
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/SupplierResource.d.ts +0 -6
  8. package/dist/models/SupplierResource.js +0 -4
  9. package/dist/models/index.d.ts +0 -19
  10. package/dist/models/index.js +0 -19
  11. package/docs/SupplierApi.md +0 -138
  12. package/docs/SupplierResource.md +0 -2
  13. package/package.json +1 -1
  14. package/src/apis/SupplierApi.ts +0 -112
  15. package/src/apis/index.ts +0 -1
  16. package/src/models/SupplierResource.ts +0 -9
  17. package/src/models/index.ts +0 -19
  18. package/dist/apis/StoreApi.d.ts +0 -175
  19. package/dist/apis/StoreApi.js +0 -686
  20. package/dist/models/AddressResource.d.ts +0 -74
  21. package/dist/models/AddressResource.js +0 -79
  22. package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
  23. package/dist/models/AddressResourceArrayResponse.js +0 -50
  24. package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
  25. package/dist/models/AttachStoresSupplierRequest.js +0 -51
  26. package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
  27. package/dist/models/AttachSuppliersStoreRequest.js +0 -51
  28. package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
  29. package/dist/models/DetachStoresSupplierRequest.js +0 -51
  30. package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
  31. package/dist/models/DetachSuppliersStoreRequest.js +0 -51
  32. package/dist/models/GetAllStoreRequest.d.ts +0 -93
  33. package/dist/models/GetAllStoreRequest.js +0 -81
  34. package/dist/models/StoreListResource.d.ts +0 -93
  35. package/dist/models/StoreListResource.js +0 -84
  36. package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
  37. package/dist/models/StoreListResourceArrayResponse.js +0 -50
  38. package/dist/models/StoreResource.d.ts +0 -114
  39. package/dist/models/StoreResource.js +0 -101
  40. package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
  41. package/dist/models/StoreResourceArrayResponse.js +0 -50
  42. package/dist/models/StoreSpecialDateResource.d.ts +0 -56
  43. package/dist/models/StoreSpecialDateResource.js +0 -65
  44. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
  45. package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
  46. package/dist/models/StoreStoreRequest.d.ts +0 -94
  47. package/dist/models/StoreStoreRequest.js +0 -85
  48. package/dist/models/StoreStoreRequestAddress.d.ts +0 -68
  49. package/dist/models/StoreStoreRequestAddress.js +0 -73
  50. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -50
  51. package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
  52. package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
  53. package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
  54. package/dist/models/UpdateStoreRequest.d.ts +0 -94
  55. package/dist/models/UpdateStoreRequest.js +0 -85
  56. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +0 -56
  57. package/dist/models/UpdateStoreRequestSpecialDatesInner.js +0 -57
  58. package/docs/AddressResource.md +0 -48
  59. package/docs/AddressResourceArrayResponse.md +0 -34
  60. package/docs/AttachStoresSupplierRequest.md +0 -34
  61. package/docs/AttachSuppliersStoreRequest.md +0 -34
  62. package/docs/DetachStoresSupplierRequest.md +0 -34
  63. package/docs/DetachSuppliersStoreRequest.md +0 -34
  64. package/docs/GetAllStoreRequest.md +0 -48
  65. package/docs/StoreApi.md +0 -689
  66. package/docs/StoreListResource.md +0 -54
  67. package/docs/StoreListResourceArrayResponse.md +0 -34
  68. package/docs/StoreResource.md +0 -60
  69. package/docs/StoreResourceArrayResponse.md +0 -34
  70. package/docs/StoreSpecialDateResource.md +0 -42
  71. package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
  72. package/docs/StoreStoreRequest.md +0 -54
  73. package/docs/StoreStoreRequestAddress.md +0 -46
  74. package/docs/StoreStoreRequestSpecialDatesInner.md +0 -40
  75. package/docs/StoreStoreSpecialDateRequest.md +0 -40
  76. package/docs/UpdateStoreRequest.md +0 -54
  77. package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
  78. package/src/apis/StoreApi.ts +0 -575
  79. package/src/models/AddressResource.ts +0 -129
  80. package/src/models/AddressResourceArrayResponse.ts +0 -73
  81. package/src/models/AttachStoresSupplierRequest.ts +0 -66
  82. package/src/models/AttachSuppliersStoreRequest.ts +0 -66
  83. package/src/models/DetachStoresSupplierRequest.ts +0 -66
  84. package/src/models/DetachSuppliersStoreRequest.ts +0 -66
  85. package/src/models/GetAllStoreRequest.ts +0 -144
  86. package/src/models/StoreListResource.ts +0 -160
  87. package/src/models/StoreListResourceArrayResponse.ts +0 -73
  88. package/src/models/StoreResource.ts +0 -209
  89. package/src/models/StoreResourceArrayResponse.ts +0 -73
  90. package/src/models/StoreSpecialDateResource.ts +0 -101
  91. package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
  92. package/src/models/StoreStoreRequest.ts +0 -167
  93. package/src/models/StoreStoreRequestAddress.ts +0 -119
  94. package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
  95. package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
  96. package/src/models/UpdateStoreRequest.ts +0 -167
  97. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +0 -97
package/docs/StoreApi.md DELETED
@@ -1,689 +0,0 @@
1
- # StoreApi
2
-
3
- All URIs are relative to *http://localhost/api*
4
-
5
- | Method | HTTP request | Description |
6
- |------------- | ------------- | -------------|
7
- | [**attachSuppliersStore**](StoreApi.md#attachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/attach-suppliers | Auto-generated: attachSuppliersStore |
8
- | [**destroyStore**](StoreApi.md#destroystore) | **DELETE** /admin-api/store/{store}/delete | Auto-generated: destroyStore |
9
- | [**destroyStoreSpecialDate**](StoreApi.md#destroystorespecialdate) | **DELETE** /admin-api/store/{store}/special-dates/{storeSpecialDate} | Auto-generated: destroyStoreSpecialDate |
10
- | [**detachSuppliersStore**](StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore |
11
- | [**getAllStore**](StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore |
12
- | [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
13
- | [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
14
- | [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
15
- | [**updateStore**](StoreApi.md#updatestoreoperation) | **PUT** /admin-api/store/{store}/update | Auto-generated: updateStore |
16
- | [**updateStoreSpecialDate**](StoreApi.md#updatestorespecialdate) | **PUT** /admin-api/store/{store}/special-dates/{storeSpecialDate} | Auto-generated: updateStoreSpecialDate |
17
-
18
-
19
-
20
- ## attachSuppliersStore
21
-
22
- > StoreResource attachSuppliersStore(store, attachSuppliersStoreRequest)
23
-
24
- Auto-generated: attachSuppliersStore
25
-
26
- ### Example
27
-
28
- ```ts
29
- import {
30
- Configuration,
31
- StoreApi,
32
- } from '@digital8/lighting-illusions-ts-sdk';
33
- import type { AttachSuppliersStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
34
-
35
- async function example() {
36
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
37
- const api = new StoreApi();
38
-
39
- const body = {
40
- // number | The id of the store
41
- store: 56,
42
- // AttachSuppliersStoreRequest (optional)
43
- attachSuppliersStoreRequest: ...,
44
- } satisfies AttachSuppliersStoreOperationRequest;
45
-
46
- try {
47
- const data = await api.attachSuppliersStore(body);
48
- console.log(data);
49
- } catch (error) {
50
- console.error(error);
51
- }
52
- }
53
-
54
- // Run the test
55
- example().catch(console.error);
56
- ```
57
-
58
- ### Parameters
59
-
60
-
61
- | Name | Type | Description | Notes |
62
- |------------- | ------------- | ------------- | -------------|
63
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
64
- | **attachSuppliersStoreRequest** | [AttachSuppliersStoreRequest](AttachSuppliersStoreRequest.md) | | [Optional] |
65
-
66
- ### Return type
67
-
68
- [**StoreResource**](StoreResource.md)
69
-
70
- ### Authorization
71
-
72
- No authorization required
73
-
74
- ### HTTP request headers
75
-
76
- - **Content-Type**: `application/json`
77
- - **Accept**: `application/json`
78
-
79
-
80
- ### HTTP response details
81
- | Status code | Description | Response headers |
82
- |-------------|-------------|------------------|
83
- | **200** | Successful resource response | - |
84
-
85
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
86
-
87
-
88
- ## destroyStore
89
-
90
- > GenericResponse destroyStore(store)
91
-
92
- Auto-generated: destroyStore
93
-
94
- ### Example
95
-
96
- ```ts
97
- import {
98
- Configuration,
99
- StoreApi,
100
- } from '@digital8/lighting-illusions-ts-sdk';
101
- import type { DestroyStoreRequest } from '@digital8/lighting-illusions-ts-sdk';
102
-
103
- async function example() {
104
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
105
- const api = new StoreApi();
106
-
107
- const body = {
108
- // number | The id of the store
109
- store: 56,
110
- } satisfies DestroyStoreRequest;
111
-
112
- try {
113
- const data = await api.destroyStore(body);
114
- console.log(data);
115
- } catch (error) {
116
- console.error(error);
117
- }
118
- }
119
-
120
- // Run the test
121
- example().catch(console.error);
122
- ```
123
-
124
- ### Parameters
125
-
126
-
127
- | Name | Type | Description | Notes |
128
- |------------- | ------------- | ------------- | -------------|
129
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
130
-
131
- ### Return type
132
-
133
- [**GenericResponse**](GenericResponse.md)
134
-
135
- ### Authorization
136
-
137
- No authorization required
138
-
139
- ### HTTP request headers
140
-
141
- - **Content-Type**: Not defined
142
- - **Accept**: `application/json`
143
-
144
-
145
- ### HTTP response details
146
- | Status code | Description | Response headers |
147
- |-------------|-------------|------------------|
148
- | **200** | \\JsonResponse<array{message: string}> | - |
149
-
150
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
151
-
152
-
153
- ## destroyStoreSpecialDate
154
-
155
- > GenericResponse destroyStoreSpecialDate(store, storeSpecialDate)
156
-
157
- Auto-generated: destroyStoreSpecialDate
158
-
159
- ### Example
160
-
161
- ```ts
162
- import {
163
- Configuration,
164
- StoreApi,
165
- } from '@digital8/lighting-illusions-ts-sdk';
166
- import type { DestroyStoreSpecialDateRequest } from '@digital8/lighting-illusions-ts-sdk';
167
-
168
- async function example() {
169
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
170
- const api = new StoreApi();
171
-
172
- const body = {
173
- // number | The id of the store
174
- store: 56,
175
- // number | The id of the storeSpecialDate
176
- storeSpecialDate: 56,
177
- } satisfies DestroyStoreSpecialDateRequest;
178
-
179
- try {
180
- const data = await api.destroyStoreSpecialDate(body);
181
- console.log(data);
182
- } catch (error) {
183
- console.error(error);
184
- }
185
- }
186
-
187
- // Run the test
188
- example().catch(console.error);
189
- ```
190
-
191
- ### Parameters
192
-
193
-
194
- | Name | Type | Description | Notes |
195
- |------------- | ------------- | ------------- | -------------|
196
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
197
- | **storeSpecialDate** | `number` | The id of the storeSpecialDate | [Defaults to `undefined`] |
198
-
199
- ### Return type
200
-
201
- [**GenericResponse**](GenericResponse.md)
202
-
203
- ### Authorization
204
-
205
- No authorization required
206
-
207
- ### HTTP request headers
208
-
209
- - **Content-Type**: Not defined
210
- - **Accept**: `application/json`
211
-
212
-
213
- ### HTTP response details
214
- | Status code | Description | Response headers |
215
- |-------------|-------------|------------------|
216
- | **200** | \\JsonResponse<array{message: string}> | - |
217
-
218
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
219
-
220
-
221
- ## detachSuppliersStore
222
-
223
- > StoreResource detachSuppliersStore(store, detachSuppliersStoreRequest)
224
-
225
- Auto-generated: detachSuppliersStore
226
-
227
- ### Example
228
-
229
- ```ts
230
- import {
231
- Configuration,
232
- StoreApi,
233
- } from '@digital8/lighting-illusions-ts-sdk';
234
- import type { DetachSuppliersStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
235
-
236
- async function example() {
237
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
238
- const api = new StoreApi();
239
-
240
- const body = {
241
- // number | The id of the store
242
- store: 56,
243
- // DetachSuppliersStoreRequest (optional)
244
- detachSuppliersStoreRequest: ...,
245
- } satisfies DetachSuppliersStoreOperationRequest;
246
-
247
- try {
248
- const data = await api.detachSuppliersStore(body);
249
- console.log(data);
250
- } catch (error) {
251
- console.error(error);
252
- }
253
- }
254
-
255
- // Run the test
256
- example().catch(console.error);
257
- ```
258
-
259
- ### Parameters
260
-
261
-
262
- | Name | Type | Description | Notes |
263
- |------------- | ------------- | ------------- | -------------|
264
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
265
- | **detachSuppliersStoreRequest** | [DetachSuppliersStoreRequest](DetachSuppliersStoreRequest.md) | | [Optional] |
266
-
267
- ### Return type
268
-
269
- [**StoreResource**](StoreResource.md)
270
-
271
- ### Authorization
272
-
273
- No authorization required
274
-
275
- ### HTTP request headers
276
-
277
- - **Content-Type**: `application/json`
278
- - **Accept**: `application/json`
279
-
280
-
281
- ### HTTP response details
282
- | Status code | Description | Response headers |
283
- |-------------|-------------|------------------|
284
- | **200** | Successful resource response | - |
285
-
286
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
287
-
288
-
289
- ## getAllStore
290
-
291
- > StoreListResourceArrayResponse getAllStore(getAllStoreRequest)
292
-
293
- Auto-generated: getAllStore
294
-
295
- ### Example
296
-
297
- ```ts
298
- import {
299
- Configuration,
300
- StoreApi,
301
- } from '@digital8/lighting-illusions-ts-sdk';
302
- import type { GetAllStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
303
-
304
- async function example() {
305
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
306
- const api = new StoreApi();
307
-
308
- const body = {
309
- // GetAllStoreRequest (optional)
310
- getAllStoreRequest: ...,
311
- } satisfies GetAllStoreOperationRequest;
312
-
313
- try {
314
- const data = await api.getAllStore(body);
315
- console.log(data);
316
- } catch (error) {
317
- console.error(error);
318
- }
319
- }
320
-
321
- // Run the test
322
- example().catch(console.error);
323
- ```
324
-
325
- ### Parameters
326
-
327
-
328
- | Name | Type | Description | Notes |
329
- |------------- | ------------- | ------------- | -------------|
330
- | **getAllStoreRequest** | [GetAllStoreRequest](GetAllStoreRequest.md) | | [Optional] |
331
-
332
- ### Return type
333
-
334
- [**StoreListResourceArrayResponse**](StoreListResourceArrayResponse.md)
335
-
336
- ### Authorization
337
-
338
- No authorization required
339
-
340
- ### HTTP request headers
341
-
342
- - **Content-Type**: `application/json`
343
- - **Accept**: `application/json`
344
-
345
-
346
- ### HTTP response details
347
- | Status code | Description | Response headers |
348
- |-------------|-------------|------------------|
349
- | **200** | Successful resource response | - |
350
-
351
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
352
-
353
-
354
- ## showStore
355
-
356
- > StoreResource showStore(store)
357
-
358
- Auto-generated: showStore
359
-
360
- ### Example
361
-
362
- ```ts
363
- import {
364
- Configuration,
365
- StoreApi,
366
- } from '@digital8/lighting-illusions-ts-sdk';
367
- import type { ShowStoreRequest } from '@digital8/lighting-illusions-ts-sdk';
368
-
369
- async function example() {
370
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
371
- const api = new StoreApi();
372
-
373
- const body = {
374
- // number | The id of the store
375
- store: 56,
376
- } satisfies ShowStoreRequest;
377
-
378
- try {
379
- const data = await api.showStore(body);
380
- console.log(data);
381
- } catch (error) {
382
- console.error(error);
383
- }
384
- }
385
-
386
- // Run the test
387
- example().catch(console.error);
388
- ```
389
-
390
- ### Parameters
391
-
392
-
393
- | Name | Type | Description | Notes |
394
- |------------- | ------------- | ------------- | -------------|
395
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
396
-
397
- ### Return type
398
-
399
- [**StoreResource**](StoreResource.md)
400
-
401
- ### Authorization
402
-
403
- No authorization required
404
-
405
- ### HTTP request headers
406
-
407
- - **Content-Type**: Not defined
408
- - **Accept**: `application/json`
409
-
410
-
411
- ### HTTP response details
412
- | Status code | Description | Response headers |
413
- |-------------|-------------|------------------|
414
- | **200** | Successful resource response | - |
415
-
416
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
417
-
418
-
419
- ## storeStore
420
-
421
- > StoreResource storeStore(storeStoreRequest)
422
-
423
- Auto-generated: storeStore
424
-
425
- ### Example
426
-
427
- ```ts
428
- import {
429
- Configuration,
430
- StoreApi,
431
- } from '@digital8/lighting-illusions-ts-sdk';
432
- import type { StoreStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
433
-
434
- async function example() {
435
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
436
- const api = new StoreApi();
437
-
438
- const body = {
439
- // StoreStoreRequest (optional)
440
- storeStoreRequest: ...,
441
- } satisfies StoreStoreOperationRequest;
442
-
443
- try {
444
- const data = await api.storeStore(body);
445
- console.log(data);
446
- } catch (error) {
447
- console.error(error);
448
- }
449
- }
450
-
451
- // Run the test
452
- example().catch(console.error);
453
- ```
454
-
455
- ### Parameters
456
-
457
-
458
- | Name | Type | Description | Notes |
459
- |------------- | ------------- | ------------- | -------------|
460
- | **storeStoreRequest** | [StoreStoreRequest](StoreStoreRequest.md) | | [Optional] |
461
-
462
- ### Return type
463
-
464
- [**StoreResource**](StoreResource.md)
465
-
466
- ### Authorization
467
-
468
- No authorization required
469
-
470
- ### HTTP request headers
471
-
472
- - **Content-Type**: `application/json`
473
- - **Accept**: `application/json`
474
-
475
-
476
- ### HTTP response details
477
- | Status code | Description | Response headers |
478
- |-------------|-------------|------------------|
479
- | **200** | Successful resource response | - |
480
-
481
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
482
-
483
-
484
- ## storeStoreSpecialDate
485
-
486
- > StoreSpecialDateResource storeStoreSpecialDate(store, storeStoreSpecialDateRequest)
487
-
488
- Auto-generated: storeStoreSpecialDate
489
-
490
- ### Example
491
-
492
- ```ts
493
- import {
494
- Configuration,
495
- StoreApi,
496
- } from '@digital8/lighting-illusions-ts-sdk';
497
- import type { StoreStoreSpecialDateOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
498
-
499
- async function example() {
500
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
501
- const api = new StoreApi();
502
-
503
- const body = {
504
- // number | The id of the store
505
- store: 56,
506
- // StoreStoreSpecialDateRequest (optional)
507
- storeStoreSpecialDateRequest: ...,
508
- } satisfies StoreStoreSpecialDateOperationRequest;
509
-
510
- try {
511
- const data = await api.storeStoreSpecialDate(body);
512
- console.log(data);
513
- } catch (error) {
514
- console.error(error);
515
- }
516
- }
517
-
518
- // Run the test
519
- example().catch(console.error);
520
- ```
521
-
522
- ### Parameters
523
-
524
-
525
- | Name | Type | Description | Notes |
526
- |------------- | ------------- | ------------- | -------------|
527
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
528
- | **storeStoreSpecialDateRequest** | [StoreStoreSpecialDateRequest](StoreStoreSpecialDateRequest.md) | | [Optional] |
529
-
530
- ### Return type
531
-
532
- [**StoreSpecialDateResource**](StoreSpecialDateResource.md)
533
-
534
- ### Authorization
535
-
536
- No authorization required
537
-
538
- ### HTTP request headers
539
-
540
- - **Content-Type**: `application/json`
541
- - **Accept**: `application/json`
542
-
543
-
544
- ### HTTP response details
545
- | Status code | Description | Response headers |
546
- |-------------|-------------|------------------|
547
- | **200** | Successful resource response | - |
548
-
549
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
550
-
551
-
552
- ## updateStore
553
-
554
- > StoreResource updateStore(store, updateStoreRequest)
555
-
556
- Auto-generated: updateStore
557
-
558
- ### Example
559
-
560
- ```ts
561
- import {
562
- Configuration,
563
- StoreApi,
564
- } from '@digital8/lighting-illusions-ts-sdk';
565
- import type { UpdateStoreOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
566
-
567
- async function example() {
568
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
569
- const api = new StoreApi();
570
-
571
- const body = {
572
- // number | The id of the store
573
- store: 56,
574
- // UpdateStoreRequest (optional)
575
- updateStoreRequest: ...,
576
- } satisfies UpdateStoreOperationRequest;
577
-
578
- try {
579
- const data = await api.updateStore(body);
580
- console.log(data);
581
- } catch (error) {
582
- console.error(error);
583
- }
584
- }
585
-
586
- // Run the test
587
- example().catch(console.error);
588
- ```
589
-
590
- ### Parameters
591
-
592
-
593
- | Name | Type | Description | Notes |
594
- |------------- | ------------- | ------------- | -------------|
595
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
596
- | **updateStoreRequest** | [UpdateStoreRequest](UpdateStoreRequest.md) | | [Optional] |
597
-
598
- ### Return type
599
-
600
- [**StoreResource**](StoreResource.md)
601
-
602
- ### Authorization
603
-
604
- No authorization required
605
-
606
- ### HTTP request headers
607
-
608
- - **Content-Type**: `application/json`
609
- - **Accept**: `application/json`
610
-
611
-
612
- ### HTTP response details
613
- | Status code | Description | Response headers |
614
- |-------------|-------------|------------------|
615
- | **200** | Successful resource response | - |
616
-
617
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
618
-
619
-
620
- ## updateStoreSpecialDate
621
-
622
- > StoreSpecialDateResource updateStoreSpecialDate(store, storeSpecialDate, storeStoreSpecialDateRequest)
623
-
624
- Auto-generated: updateStoreSpecialDate
625
-
626
- ### Example
627
-
628
- ```ts
629
- import {
630
- Configuration,
631
- StoreApi,
632
- } from '@digital8/lighting-illusions-ts-sdk';
633
- import type { UpdateStoreSpecialDateRequest } from '@digital8/lighting-illusions-ts-sdk';
634
-
635
- async function example() {
636
- console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
637
- const api = new StoreApi();
638
-
639
- const body = {
640
- // number | The id of the store
641
- store: 56,
642
- // number | The id of the storeSpecialDate
643
- storeSpecialDate: 56,
644
- // StoreStoreSpecialDateRequest (optional)
645
- storeStoreSpecialDateRequest: ...,
646
- } satisfies UpdateStoreSpecialDateRequest;
647
-
648
- try {
649
- const data = await api.updateStoreSpecialDate(body);
650
- console.log(data);
651
- } catch (error) {
652
- console.error(error);
653
- }
654
- }
655
-
656
- // Run the test
657
- example().catch(console.error);
658
- ```
659
-
660
- ### Parameters
661
-
662
-
663
- | Name | Type | Description | Notes |
664
- |------------- | ------------- | ------------- | -------------|
665
- | **store** | `number` | The id of the store | [Defaults to `undefined`] |
666
- | **storeSpecialDate** | `number` | The id of the storeSpecialDate | [Defaults to `undefined`] |
667
- | **storeStoreSpecialDateRequest** | [StoreStoreSpecialDateRequest](StoreStoreSpecialDateRequest.md) | | [Optional] |
668
-
669
- ### Return type
670
-
671
- [**StoreSpecialDateResource**](StoreSpecialDateResource.md)
672
-
673
- ### Authorization
674
-
675
- No authorization required
676
-
677
- ### HTTP request headers
678
-
679
- - **Content-Type**: `application/json`
680
- - **Accept**: `application/json`
681
-
682
-
683
- ### HTTP response details
684
- | Status code | Description | Response headers |
685
- |-------------|-------------|------------------|
686
- | **200** | Successful resource response | - |
687
-
688
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
689
-