@digital8/lighting-illusions-ts-sdk 0.0.2048 → 0.0.2050

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 (90) hide show
  1. package/.openapi-generator/FILES +8 -18
  2. package/README.md +8 -14
  3. package/dist/apis/CartsApi.d.ts +8 -8
  4. package/dist/apis/CartsApi.js +8 -8
  5. package/dist/apis/CustomersApi.d.ts +0 -17
  6. package/dist/apis/CustomersApi.js +0 -62
  7. package/dist/apis/OrdersApi.d.ts +8 -8
  8. package/dist/apis/OrdersApi.js +10 -10
  9. package/dist/models/AddressFrontendResource.d.ts +1 -1
  10. package/dist/models/AddressFrontendResource.js +3 -1
  11. package/dist/models/AddressResource.d.ts +1 -1
  12. package/dist/models/AddressResource.js +1 -3
  13. package/dist/models/AdminOrderResource.d.ts +1 -13
  14. package/dist/models/AdminOrderResource.js +3 -11
  15. package/dist/models/AttachCouponRequest.d.ts +32 -0
  16. package/dist/models/AttachCouponRequest.js +51 -0
  17. package/dist/models/AttachLineItemRequest.d.ts +44 -0
  18. package/dist/models/{AttachCartItemRequest.js → AttachLineItemRequest.js} +13 -13
  19. package/dist/models/CartListResource.d.ts +0 -48
  20. package/dist/models/CartListResource.js +0 -26
  21. package/dist/models/CartResource.d.ts +2 -2
  22. package/dist/models/CartResource.js +2 -2
  23. package/dist/models/DetachCouponRequest.d.ts +32 -0
  24. package/dist/models/DetachCouponRequest.js +51 -0
  25. package/dist/models/StoreListResource.d.ts +1 -1
  26. package/dist/models/StoreListResource.js +3 -1
  27. package/dist/models/StoreResource.d.ts +1 -1
  28. package/dist/models/StoreResource.js +1 -3
  29. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  30. package/dist/models/StoreSpecialDateResource.js +3 -1
  31. package/dist/models/UpdateLineItemRequest.d.ts +38 -0
  32. package/dist/models/{UpdateCartItemRequest.js → UpdateLineItemRequest.js} +13 -13
  33. package/dist/models/index.d.ts +4 -9
  34. package/dist/models/index.js +4 -9
  35. package/docs/AdminOrderResource.md +2 -6
  36. package/docs/{AttachCartCouponRequest.md → AttachCouponRequest.md} +4 -4
  37. package/docs/{AttachCartItemRequest.md → AttachLineItemRequest.md} +4 -4
  38. package/docs/CartListResource.md +0 -16
  39. package/docs/CartResource.md +2 -2
  40. package/docs/CartsApi.md +16 -16
  41. package/docs/CustomersApi.md +0 -69
  42. package/docs/{DetachCartCouponRequest.md → DetachCouponRequest.md} +4 -4
  43. package/docs/OrdersApi.md +18 -18
  44. package/docs/StoreSpecialDateResource.md +1 -1
  45. package/docs/{UpdateCartItemRequest.md → UpdateLineItemRequest.md} +4 -4
  46. package/package.json +1 -1
  47. package/src/apis/CartsApi.ts +25 -25
  48. package/src/apis/CustomersApi.ts +0 -58
  49. package/src/apis/OrdersApi.ts +26 -26
  50. package/src/models/AddressFrontendResource.ts +3 -2
  51. package/src/models/AddressResource.ts +2 -3
  52. package/src/models/AdminOrderResource.ts +4 -22
  53. package/src/models/AttachCouponRequest.ts +66 -0
  54. package/src/models/{AttachCartItemRequest.ts → AttachLineItemRequest.ts} +13 -13
  55. package/src/models/CartListResource.ts +0 -69
  56. package/src/models/CartResource.ts +4 -4
  57. package/src/models/DetachCouponRequest.ts +66 -0
  58. package/src/models/StoreListResource.ts +3 -2
  59. package/src/models/StoreResource.ts +2 -3
  60. package/src/models/StoreSpecialDateResource.ts +4 -3
  61. package/src/models/{UpdateCartItemRequest.ts → UpdateLineItemRequest.ts} +12 -12
  62. package/src/models/index.ts +4 -9
  63. package/dist/models/AttachCartCouponRequest.d.ts +0 -32
  64. package/dist/models/AttachCartCouponRequest.js +0 -51
  65. package/dist/models/AttachCartItemRequest.d.ts +0 -44
  66. package/dist/models/AttachOrderCouponRequest.d.ts +0 -32
  67. package/dist/models/AttachOrderCouponRequest.js +0 -51
  68. package/dist/models/AttachOrderLineItemRequest.d.ts +0 -44
  69. package/dist/models/AttachOrderLineItemRequest.js +0 -57
  70. package/dist/models/DetachCartCouponRequest.d.ts +0 -32
  71. package/dist/models/DetachCartCouponRequest.js +0 -51
  72. package/dist/models/DetachOrderCouponRequest.d.ts +0 -32
  73. package/dist/models/DetachOrderCouponRequest.js +0 -51
  74. package/dist/models/UpdateCartItemRequest.d.ts +0 -38
  75. package/dist/models/UpdateCustomerRequest.d.ts +0 -56
  76. package/dist/models/UpdateCustomerRequest.js +0 -63
  77. package/dist/models/UpdateOrderLineItemRequest.d.ts +0 -38
  78. package/dist/models/UpdateOrderLineItemRequest.js +0 -53
  79. package/docs/AttachOrderCouponRequest.md +0 -34
  80. package/docs/AttachOrderLineItemRequest.md +0 -38
  81. package/docs/DetachOrderCouponRequest.md +0 -34
  82. package/docs/UpdateCustomerRequest.md +0 -42
  83. package/docs/UpdateOrderLineItemRequest.md +0 -36
  84. package/src/models/AttachCartCouponRequest.ts +0 -66
  85. package/src/models/AttachOrderCouponRequest.ts +0 -66
  86. package/src/models/AttachOrderLineItemRequest.ts +0 -83
  87. package/src/models/DetachCartCouponRequest.ts +0 -66
  88. package/src/models/DetachOrderCouponRequest.ts +0 -66
  89. package/src/models/UpdateCustomerRequest.ts +0 -100
  90. package/src/models/UpdateOrderLineItemRequest.ts +0 -74
@@ -59,54 +59,6 @@ export interface CartListResource {
59
59
  * @memberof CartListResource
60
60
  */
61
61
  source: string;
62
- /**
63
- *
64
- * @type {string}
65
- * @memberof CartListResource
66
- */
67
- shippingType?: string | null;
68
- /**
69
- *
70
- * @type {number}
71
- * @memberof CartListResource
72
- */
73
- shippingSubtotal?: number | null;
74
- /**
75
- *
76
- * @type {boolean}
77
- * @memberof CartListResource
78
- */
79
- overrideShipping: boolean;
80
- /**
81
- *
82
- * @type {number}
83
- * @memberof CartListResource
84
- */
85
- insuranceAmount?: number | null;
86
- /**
87
- *
88
- * @type {boolean}
89
- * @memberof CartListResource
90
- */
91
- includeInsurance: boolean;
92
- /**
93
- *
94
- * @type {boolean}
95
- * @memberof CartListResource
96
- */
97
- overrideInsurance: boolean;
98
- /**
99
- *
100
- * @type {boolean}
101
- * @memberof CartListResource
102
- */
103
- useAsBillingAddress: boolean;
104
- /**
105
- *
106
- * @type {Date}
107
- * @memberof CartListResource
108
- */
109
- expiryDate: Date;
110
62
  /**
111
63
  *
112
64
  * @type {Date}
@@ -156,11 +108,6 @@ export interface CartListResource {
156
108
  */
157
109
  export function instanceOfCartListResource(value: object): value is CartListResource {
158
110
  if (!('source' in value) || value['source'] === undefined) return false;
159
- if (!('overrideShipping' in value) || value['overrideShipping'] === undefined) return false;
160
- if (!('includeInsurance' in value) || value['includeInsurance'] === undefined) return false;
161
- if (!('overrideInsurance' in value) || value['overrideInsurance'] === undefined) return false;
162
- if (!('useAsBillingAddress' in value) || value['useAsBillingAddress'] === undefined) return false;
163
- if (!('expiryDate' in value) || value['expiryDate'] === undefined) return false;
164
111
  if (!('site' in value) || value['site'] === undefined) return false;
165
112
  if (!('customer' in value) || value['customer'] === undefined) return false;
166
113
  if (!('lineItems' in value) || value['lineItems'] === undefined) return false;
@@ -182,14 +129,6 @@ export function CartListResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
182
129
  'id': json['id'] == null ? undefined : json['id'],
183
130
  'guestEmail': json['guestEmail'] == null ? undefined : json['guestEmail'],
184
131
  'source': json['source'],
185
- 'shippingType': json['shippingType'] == null ? undefined : json['shippingType'],
186
- 'shippingSubtotal': json['shippingSubtotal'] == null ? undefined : json['shippingSubtotal'],
187
- 'overrideShipping': json['overrideShipping'],
188
- 'insuranceAmount': json['insuranceAmount'] == null ? undefined : json['insuranceAmount'],
189
- 'includeInsurance': json['includeInsurance'],
190
- 'overrideInsurance': json['overrideInsurance'],
191
- 'useAsBillingAddress': json['useAsBillingAddress'],
192
- 'expiryDate': (new Date(json['expiryDate'])),
193
132
  'checkoutCompletedAt': json['checkoutCompletedAt'] == null ? undefined : (new Date(json['checkoutCompletedAt'])),
194
133
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
195
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -214,14 +153,6 @@ export function CartListResourceToJSONTyped(value?: CartListResource | null, ign
214
153
  'id': value['id'],
215
154
  'guestEmail': value['guestEmail'],
216
155
  'source': value['source'],
217
- 'shippingType': value['shippingType'],
218
- 'shippingSubtotal': value['shippingSubtotal'],
219
- 'overrideShipping': value['overrideShipping'],
220
- 'insuranceAmount': value['insuranceAmount'],
221
- 'includeInsurance': value['includeInsurance'],
222
- 'overrideInsurance': value['overrideInsurance'],
223
- 'useAsBillingAddress': value['useAsBillingAddress'],
224
- 'expiryDate': value['expiryDate'].toISOString(),
225
156
  'checkoutCompletedAt': value['checkoutCompletedAt'] == null ? value['checkoutCompletedAt'] : value['checkoutCompletedAt'].toISOString(),
226
157
  'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
227
158
  'site': SiteLiteResourceToJSON(value['site']),
@@ -129,10 +129,10 @@ export interface CartResource {
129
129
  overrideShipping: boolean;
130
130
  /**
131
131
  *
132
- * @type {number}
132
+ * @type {string}
133
133
  * @memberof CartResource
134
134
  */
135
- insuranceAmount?: number | null;
135
+ lockedInsuranceAmount?: string | null;
136
136
  /**
137
137
  *
138
138
  * @type {boolean}
@@ -315,7 +315,7 @@ export function CartResourceFromJSONTyped(json: any, ignoreDiscriminator: boolea
315
315
  'shippingType': json['shippingType'],
316
316
  'shippingSubtotal': json['shippingSubtotal'] == null ? undefined : json['shippingSubtotal'],
317
317
  'overrideShipping': json['overrideShipping'],
318
- 'insuranceAmount': json['insuranceAmount'] == null ? undefined : json['insuranceAmount'],
318
+ 'lockedInsuranceAmount': json['lockedInsuranceAmount'] == null ? undefined : json['lockedInsuranceAmount'],
319
319
  'includeInsurance': json['includeInsurance'],
320
320
  'overrideInsurance': json['overrideInsurance'],
321
321
  'useAsBillingAddress': json['useAsBillingAddress'],
@@ -363,7 +363,7 @@ export function CartResourceToJSONTyped(value?: CartResource | null, ignoreDiscr
363
363
  'shippingType': value['shippingType'],
364
364
  'shippingSubtotal': value['shippingSubtotal'],
365
365
  'overrideShipping': value['overrideShipping'],
366
- 'insuranceAmount': value['insuranceAmount'],
366
+ 'lockedInsuranceAmount': value['lockedInsuranceAmount'],
367
367
  'includeInsurance': value['includeInsurance'],
368
368
  'overrideInsurance': value['overrideInsurance'],
369
369
  'useAsBillingAddress': value['useAsBillingAddress'],
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface DetachCouponRequest
20
+ */
21
+ export interface DetachCouponRequest {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof DetachCouponRequest
26
+ */
27
+ couponIds: Array<number>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DetachCouponRequest interface.
32
+ */
33
+ export function instanceOfDetachCouponRequest(value: object): value is DetachCouponRequest {
34
+ if (!('couponIds' in value) || value['couponIds'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DetachCouponRequestFromJSON(json: any): DetachCouponRequest {
39
+ return DetachCouponRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DetachCouponRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachCouponRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'couponIds': json['coupon_ids'],
49
+ };
50
+ }
51
+
52
+ export function DetachCouponRequestToJSON(json: any): DetachCouponRequest {
53
+ return DetachCouponRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DetachCouponRequestToJSONTyped(value?: DetachCouponRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'coupon_ids': value['couponIds'],
64
+ };
65
+ }
66
+
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website?: string | null;
83
+ website: string;
84
84
  /**
85
85
  *
86
86
  * @type {number}
@@ -112,6 +112,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
112
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
113
113
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
114
  if (!('email' in value) || value['email'] === undefined) return false;
115
+ if (!('website' in value) || value['website'] === undefined) return false;
115
116
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
116
117
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
117
118
  return true;
@@ -135,7 +136,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
135
136
  'latitude': json['latitude'],
136
137
  'tagLine': json['tagLine'],
137
138
  'email': json['email'],
138
- 'website': json['website'] == null ? undefined : json['website'],
139
+ 'website': json['website'],
139
140
  'netsuiteId': json['netsuiteId'],
140
141
  'displayNetsuiteId': json['displayNetsuiteId'],
141
142
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine: string;
92
+ tagLine?: string | null;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -149,7 +149,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
149
149
  if (!('phone' in value) || value['phone'] === undefined) return false;
150
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
152
  if (!('email' in value) || value['email'] === undefined) return false;
154
153
  if (!('website' in value) || value['website'] === undefined) return false;
155
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
@@ -176,7 +175,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
176
175
  'phone': json['phone'],
177
176
  'longitude': json['longitude'],
178
177
  'latitude': json['latitude'],
179
- 'tagLine': json['tagLine'],
178
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
180
179
  'email': json['email'],
181
180
  'website': json['website'],
182
181
  'netsuiteId': json['netsuiteId'],
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {object}
43
43
  * @memberof StoreSpecialDateResource
44
44
  */
45
- date?: string | null;
45
+ date: object;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
69
69
  export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
70
70
  if (!('name' in value) || value['name'] === undefined) return false;
71
71
  if (!('hours' in value) || value['hours'] === undefined) return false;
72
+ if (!('date' in value) || value['date'] === undefined) return false;
72
73
  if (!('closed' in value) || value['closed'] === undefined) return false;
73
74
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
74
75
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
88
89
  'id': json['id'] == null ? undefined : json['id'],
89
90
  'name': json['name'],
90
91
  'hours': json['hours'],
91
- 'date': json['date'] == null ? undefined : json['date'],
92
+ 'date': json['date'],
92
93
  'closed': json['closed'],
93
94
  'displayStartDate': json['displayStartDate'],
94
95
  'displayEndDate': json['displayEndDate'],
@@ -16,36 +16,36 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface UpdateCartItemRequest
19
+ * @interface UpdateLineItemRequest
20
20
  */
21
- export interface UpdateCartItemRequest {
21
+ export interface UpdateLineItemRequest {
22
22
  /**
23
23
  *
24
24
  * @type {number}
25
- * @memberof UpdateCartItemRequest
25
+ * @memberof UpdateLineItemRequest
26
26
  */
27
27
  quantity: number;
28
28
  /**
29
29
  *
30
30
  * @type {number}
31
- * @memberof UpdateCartItemRequest
31
+ * @memberof UpdateLineItemRequest
32
32
  */
33
33
  productPrice?: number | null;
34
34
  }
35
35
 
36
36
  /**
37
- * Check if a given object implements the UpdateCartItemRequest interface.
37
+ * Check if a given object implements the UpdateLineItemRequest interface.
38
38
  */
39
- export function instanceOfUpdateCartItemRequest(value: object): value is UpdateCartItemRequest {
39
+ export function instanceOfUpdateLineItemRequest(value: object): value is UpdateLineItemRequest {
40
40
  if (!('quantity' in value) || value['quantity'] === undefined) return false;
41
41
  return true;
42
42
  }
43
43
 
44
- export function UpdateCartItemRequestFromJSON(json: any): UpdateCartItemRequest {
45
- return UpdateCartItemRequestFromJSONTyped(json, false);
44
+ export function UpdateLineItemRequestFromJSON(json: any): UpdateLineItemRequest {
45
+ return UpdateLineItemRequestFromJSONTyped(json, false);
46
46
  }
47
47
 
48
- export function UpdateCartItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateCartItemRequest {
48
+ export function UpdateLineItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLineItemRequest {
49
49
  if (json == null) {
50
50
  return json;
51
51
  }
@@ -56,11 +56,11 @@ export function UpdateCartItemRequestFromJSONTyped(json: any, ignoreDiscriminato
56
56
  };
57
57
  }
58
58
 
59
- export function UpdateCartItemRequestToJSON(json: any): UpdateCartItemRequest {
60
- return UpdateCartItemRequestToJSONTyped(json, false);
59
+ export function UpdateLineItemRequestToJSON(json: any): UpdateLineItemRequest {
60
+ return UpdateLineItemRequestToJSONTyped(json, false);
61
61
  }
62
62
 
63
- export function UpdateCartItemRequestToJSONTyped(value?: UpdateCartItemRequest | null, ignoreDiscriminator: boolean = false): any {
63
+ export function UpdateLineItemRequestToJSONTyped(value?: UpdateLineItemRequest | null, ignoreDiscriminator: boolean = false): any {
64
64
  if (value == null) {
65
65
  return value;
66
66
  }
@@ -23,15 +23,13 @@ export * from './AssetWithOverlayLinkResource';
23
23
  export * from './AssetWithOverlayLinkResourceArrayResponse';
24
24
  export * from './AttachAttributesToProductRangeRequest';
25
25
  export * from './AttachAttributesToProductRangeRequestAttributesInner';
26
- export * from './AttachCartCouponRequest';
27
- export * from './AttachCartItemRequest';
26
+ export * from './AttachCouponRequest';
28
27
  export * from './AttachDocumentablesToDocumentRequest';
29
28
  export * from './AttachDocumentablesToDocumentRequestDocumentablesInner';
30
29
  export * from './AttachDocumentsToProductChildRequest';
31
30
  export * from './AttachDocumentsToProductChildRequestDocumentsInner';
32
31
  export * from './AttachDocumentsToProductRangeRequest';
33
- export * from './AttachOrderCouponRequest';
34
- export * from './AttachOrderLineItemRequest';
32
+ export * from './AttachLineItemRequest';
35
33
  export * from './AttachProductChildrenRequest';
36
34
  export * from './AttachProductChildrenToProductRangeRequest';
37
35
  export * from './AttachProductsToProductCategoryRequest';
@@ -139,12 +137,11 @@ export * from './DeleteAttributeValueRequest';
139
137
  export * from './DescriptionResource';
140
138
  export * from './DescriptionResourceArrayResponse';
141
139
  export * from './DetachAttributesFromProductRangeRequest';
142
- export * from './DetachCartCouponRequest';
140
+ export * from './DetachCouponRequest';
143
141
  export * from './DetachDocumentablesFromDocumentRequest';
144
142
  export * from './DetachDocumentablesFromDocumentRequestDocumentablesInner';
145
143
  export * from './DetachDocumentsFromProductChildRequest';
146
144
  export * from './DetachDocumentsFromProductRangeRequest';
147
- export * from './DetachOrderCouponRequest';
148
145
  export * from './DetachProductChildrenFromProductRangeRequest';
149
146
  export * from './DetachProductsFromProductCategoryRequest';
150
147
  export * from './DetachStoresFromSupplierRequest';
@@ -581,17 +578,15 @@ export * from './UpdateAttributeProductTypeRequest';
581
578
  export * from './UpdateAttributeRequest';
582
579
  export * from './UpdateAttributeValueRequest';
583
580
  export * from './UpdateBlogCategoryRequest';
584
- export * from './UpdateCartItemRequest';
585
581
  export * from './UpdateCartRequest';
586
- export * from './UpdateCustomerRequest';
587
582
  export * from './UpdateDefinitionRequest';
588
583
  export * from './UpdateDocumentRequest';
589
584
  export * from './UpdateLabelRequest';
585
+ export * from './UpdateLineItemRequest';
590
586
  export * from './UpdateMenuItemRequest';
591
587
  export * from './UpdateMenuRequest';
592
588
  export * from './UpdateMenuRequestMenuItemOrderInner';
593
589
  export * from './UpdateModelAttributeRequest';
594
- export * from './UpdateOrderLineItemRequest';
595
590
  export * from './UpdateOrderRequest';
596
591
  export * from './UpdateOverlayTemplateAssetRequest';
597
592
  export * from './UpdateOverlayTemplateRequest';
@@ -1,32 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AttachCartCouponRequest
16
- */
17
- export interface AttachCartCouponRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AttachCartCouponRequest
22
- */
23
- couponCode: string;
24
- }
25
- /**
26
- * Check if a given object implements the AttachCartCouponRequest interface.
27
- */
28
- export declare function instanceOfAttachCartCouponRequest(value: object): value is AttachCartCouponRequest;
29
- export declare function AttachCartCouponRequestFromJSON(json: any): AttachCartCouponRequest;
30
- export declare function AttachCartCouponRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachCartCouponRequest;
31
- export declare function AttachCartCouponRequestToJSON(json: any): AttachCartCouponRequest;
32
- export declare function AttachCartCouponRequestToJSONTyped(value?: AttachCartCouponRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfAttachCartCouponRequest = instanceOfAttachCartCouponRequest;
17
- exports.AttachCartCouponRequestFromJSON = AttachCartCouponRequestFromJSON;
18
- exports.AttachCartCouponRequestFromJSONTyped = AttachCartCouponRequestFromJSONTyped;
19
- exports.AttachCartCouponRequestToJSON = AttachCartCouponRequestToJSON;
20
- exports.AttachCartCouponRequestToJSONTyped = AttachCartCouponRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the AttachCartCouponRequest interface.
23
- */
24
- function instanceOfAttachCartCouponRequest(value) {
25
- if (!('couponCode' in value) || value['couponCode'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function AttachCartCouponRequestFromJSON(json) {
30
- return AttachCartCouponRequestFromJSONTyped(json, false);
31
- }
32
- function AttachCartCouponRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'couponCode': json['coupon_code'],
38
- };
39
- }
40
- function AttachCartCouponRequestToJSON(json) {
41
- return AttachCartCouponRequestToJSONTyped(json, false);
42
- }
43
- function AttachCartCouponRequestToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'coupon_code': value['couponCode'],
50
- };
51
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AttachCartItemRequest
16
- */
17
- export interface AttachCartItemRequest {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof AttachCartItemRequest
22
- */
23
- productChildId: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof AttachCartItemRequest
28
- */
29
- quantity: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof AttachCartItemRequest
34
- */
35
- productPrice?: number | null;
36
- }
37
- /**
38
- * Check if a given object implements the AttachCartItemRequest interface.
39
- */
40
- export declare function instanceOfAttachCartItemRequest(value: object): value is AttachCartItemRequest;
41
- export declare function AttachCartItemRequestFromJSON(json: any): AttachCartItemRequest;
42
- export declare function AttachCartItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachCartItemRequest;
43
- export declare function AttachCartItemRequestToJSON(json: any): AttachCartItemRequest;
44
- export declare function AttachCartItemRequestToJSONTyped(value?: AttachCartItemRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,32 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AttachOrderCouponRequest
16
- */
17
- export interface AttachOrderCouponRequest {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof AttachOrderCouponRequest
22
- */
23
- couponCode: string;
24
- }
25
- /**
26
- * Check if a given object implements the AttachOrderCouponRequest interface.
27
- */
28
- export declare function instanceOfAttachOrderCouponRequest(value: object): value is AttachOrderCouponRequest;
29
- export declare function AttachOrderCouponRequestFromJSON(json: any): AttachOrderCouponRequest;
30
- export declare function AttachOrderCouponRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachOrderCouponRequest;
31
- export declare function AttachOrderCouponRequestToJSON(json: any): AttachOrderCouponRequest;
32
- export declare function AttachOrderCouponRequestToJSONTyped(value?: AttachOrderCouponRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * My API
6
- * API documentation for my Laravel app
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfAttachOrderCouponRequest = instanceOfAttachOrderCouponRequest;
17
- exports.AttachOrderCouponRequestFromJSON = AttachOrderCouponRequestFromJSON;
18
- exports.AttachOrderCouponRequestFromJSONTyped = AttachOrderCouponRequestFromJSONTyped;
19
- exports.AttachOrderCouponRequestToJSON = AttachOrderCouponRequestToJSON;
20
- exports.AttachOrderCouponRequestToJSONTyped = AttachOrderCouponRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the AttachOrderCouponRequest interface.
23
- */
24
- function instanceOfAttachOrderCouponRequest(value) {
25
- if (!('couponCode' in value) || value['couponCode'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function AttachOrderCouponRequestFromJSON(json) {
30
- return AttachOrderCouponRequestFromJSONTyped(json, false);
31
- }
32
- function AttachOrderCouponRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'couponCode': json['coupon_code'],
38
- };
39
- }
40
- function AttachOrderCouponRequestToJSON(json) {
41
- return AttachOrderCouponRequestToJSONTyped(json, false);
42
- }
43
- function AttachOrderCouponRequestToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'coupon_code': value['couponCode'],
50
- };
51
- }
@@ -1,44 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface AttachOrderLineItemRequest
16
- */
17
- export interface AttachOrderLineItemRequest {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof AttachOrderLineItemRequest
22
- */
23
- productChildId: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof AttachOrderLineItemRequest
28
- */
29
- quantity: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof AttachOrderLineItemRequest
34
- */
35
- productPrice?: number | null;
36
- }
37
- /**
38
- * Check if a given object implements the AttachOrderLineItemRequest interface.
39
- */
40
- export declare function instanceOfAttachOrderLineItemRequest(value: object): value is AttachOrderLineItemRequest;
41
- export declare function AttachOrderLineItemRequestFromJSON(json: any): AttachOrderLineItemRequest;
42
- export declare function AttachOrderLineItemRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachOrderLineItemRequest;
43
- export declare function AttachOrderLineItemRequestToJSON(json: any): AttachOrderLineItemRequest;
44
- export declare function AttachOrderLineItemRequestToJSONTyped(value?: AttachOrderLineItemRequest | null, ignoreDiscriminator?: boolean): any;