@digital8/lighting-illusions-ts-sdk 0.0.2154 → 0.0.2156

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 +0 -32
  2. package/README.md +2 -23
  3. package/dist/apis/index.d.ts +0 -1
  4. package/dist/apis/index.js +0 -1
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +1 -3
  7. package/dist/models/OrderFulfillmentResource.d.ts +2 -2
  8. package/dist/models/OrderFulfillmentResource.js +6 -2
  9. package/dist/models/ProductChildResource.d.ts +6 -0
  10. package/dist/models/ProductChildResource.js +4 -0
  11. package/dist/models/StoreFrontendResource.d.ts +1 -1
  12. package/dist/models/StoreFrontendResource.js +1 -3
  13. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  14. package/dist/models/StoreSpecialDateResource.js +3 -1
  15. package/dist/models/index.d.ts +0 -15
  16. package/dist/models/index.js +0 -15
  17. package/docs/ProductChildResource.md +2 -0
  18. package/docs/StoreSpecialDateResource.md +1 -1
  19. package/package.json +1 -1
  20. package/src/apis/index.ts +0 -1
  21. package/src/models/AddressResource.ts +2 -3
  22. package/src/models/OrderFulfillmentResource.ts +6 -4
  23. package/src/models/ProductChildResource.ts +9 -0
  24. package/src/models/StoreFrontendResource.ts +2 -3
  25. package/src/models/StoreSpecialDateResource.ts +4 -3
  26. package/src/models/index.ts +0 -15
  27. package/dist/apis/CouponsApi.d.ts +0 -116
  28. package/dist/apis/CouponsApi.js +0 -440
  29. package/dist/models/CouponListResource.d.ts +0 -87
  30. package/dist/models/CouponListResource.js +0 -82
  31. package/dist/models/CouponListResourceArrayResponse.d.ts +0 -33
  32. package/dist/models/CouponListResourceArrayResponse.js +0 -50
  33. package/dist/models/CouponLiteResource.d.ts +0 -44
  34. package/dist/models/CouponLiteResource.js +0 -57
  35. package/dist/models/CouponLiteResourceArrayResponse.d.ts +0 -33
  36. package/dist/models/CouponLiteResourceArrayResponse.js +0 -50
  37. package/dist/models/CouponResource.d.ts +0 -166
  38. package/dist/models/CouponResource.js +0 -135
  39. package/dist/models/CouponResourceArrayResponse.d.ts +0 -33
  40. package/dist/models/CouponResourceArrayResponse.js +0 -50
  41. package/dist/models/CouponType.d.ts +0 -26
  42. package/dist/models/CouponType.js +0 -52
  43. package/dist/models/CreateCouponRequest.d.ts +0 -134
  44. package/dist/models/CreateCouponRequest.js +0 -114
  45. package/dist/models/CreateCouponRequestCouponablesInner.d.ts +0 -48
  46. package/dist/models/CreateCouponRequestCouponablesInner.js +0 -61
  47. package/dist/models/PaginatedCouponListResourceResponse.d.ts +0 -40
  48. package/dist/models/PaginatedCouponListResourceResponse.js +0 -57
  49. package/dist/models/PaginatedCouponLiteResourceResponse.d.ts +0 -40
  50. package/dist/models/PaginatedCouponLiteResourceResponse.js +0 -57
  51. package/dist/models/PaginatedCouponResourceResponse.d.ts +0 -40
  52. package/dist/models/PaginatedCouponResourceResponse.js +0 -57
  53. package/dist/models/SearchAllCouponsRequest.d.ts +0 -101
  54. package/dist/models/SearchAllCouponsRequest.js +0 -85
  55. package/dist/models/SearchCouponsRequest.d.ts +0 -137
  56. package/dist/models/SearchCouponsRequest.js +0 -97
  57. package/dist/models/UpdateCouponRequest.d.ts +0 -128
  58. package/dist/models/UpdateCouponRequest.js +0 -110
  59. package/docs/CouponListResource.md +0 -52
  60. package/docs/CouponListResourceArrayResponse.md +0 -34
  61. package/docs/CouponLiteResource.md +0 -38
  62. package/docs/CouponLiteResourceArrayResponse.md +0 -34
  63. package/docs/CouponResource.md +0 -78
  64. package/docs/CouponResourceArrayResponse.md +0 -34
  65. package/docs/CouponType.md +0 -32
  66. package/docs/CouponsApi.md +0 -407
  67. package/docs/CreateCouponRequest.md +0 -62
  68. package/docs/CreateCouponRequestCouponablesInner.md +0 -36
  69. package/docs/PaginatedCouponListResourceResponse.md +0 -36
  70. package/docs/PaginatedCouponLiteResourceResponse.md +0 -36
  71. package/docs/PaginatedCouponResourceResponse.md +0 -36
  72. package/docs/SearchAllCouponsRequest.md +0 -50
  73. package/docs/SearchCouponsRequest.md +0 -62
  74. package/docs/UpdateCouponRequest.md +0 -60
  75. package/src/apis/CouponsApi.ts +0 -345
  76. package/src/models/CouponListResource.ts +0 -152
  77. package/src/models/CouponListResourceArrayResponse.ts +0 -73
  78. package/src/models/CouponLiteResource.ts +0 -83
  79. package/src/models/CouponLiteResourceArrayResponse.ts +0 -73
  80. package/src/models/CouponResource.ts +0 -276
  81. package/src/models/CouponResourceArrayResponse.ts +0 -73
  82. package/src/models/CouponType.ts +0 -54
  83. package/src/models/CreateCouponRequest.ts +0 -216
  84. package/src/models/CreateCouponRequestCouponablesInner.ts +0 -86
  85. package/src/models/PaginatedCouponListResourceResponse.ts +0 -90
  86. package/src/models/PaginatedCouponLiteResourceResponse.ts +0 -90
  87. package/src/models/PaginatedCouponResourceResponse.ts +0 -90
  88. package/src/models/SearchAllCouponsRequest.ts +0 -154
  89. package/src/models/SearchCouponsRequest.ts +0 -202
  90. package/src/models/UpdateCouponRequest.ts +0 -207
@@ -1,83 +0,0 @@
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 CouponLiteResource
20
- */
21
- export interface CouponLiteResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof CouponLiteResource
26
- */
27
- id?: number | null;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof CouponLiteResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof CouponLiteResource
38
- */
39
- code: string;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the CouponLiteResource interface.
44
- */
45
- export function instanceOfCouponLiteResource(value: object): value is CouponLiteResource {
46
- if (!('name' in value) || value['name'] === undefined) return false;
47
- if (!('code' in value) || value['code'] === undefined) return false;
48
- return true;
49
- }
50
-
51
- export function CouponLiteResourceFromJSON(json: any): CouponLiteResource {
52
- return CouponLiteResourceFromJSONTyped(json, false);
53
- }
54
-
55
- export function CouponLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponLiteResource {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'id': json['id'] == null ? undefined : json['id'],
62
- 'name': json['name'],
63
- 'code': json['code'],
64
- };
65
- }
66
-
67
- export function CouponLiteResourceToJSON(json: any): CouponLiteResource {
68
- return CouponLiteResourceToJSONTyped(json, false);
69
- }
70
-
71
- export function CouponLiteResourceToJSONTyped(value?: CouponLiteResource | null, ignoreDiscriminator: boolean = false): any {
72
- if (value == null) {
73
- return value;
74
- }
75
-
76
- return {
77
-
78
- 'id': value['id'],
79
- 'name': value['name'],
80
- 'code': value['code'],
81
- };
82
- }
83
-
@@ -1,73 +0,0 @@
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
- import type { CouponLiteResource } from './CouponLiteResource';
17
- import {
18
- CouponLiteResourceFromJSON,
19
- CouponLiteResourceFromJSONTyped,
20
- CouponLiteResourceToJSON,
21
- CouponLiteResourceToJSONTyped,
22
- } from './CouponLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface CouponLiteResourceArrayResponse
28
- */
29
- export interface CouponLiteResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<CouponLiteResource>}
33
- * @memberof CouponLiteResourceArrayResponse
34
- */
35
- data?: Array<CouponLiteResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the CouponLiteResourceArrayResponse interface.
40
- */
41
- export function instanceOfCouponLiteResourceArrayResponse(value: object): value is CouponLiteResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function CouponLiteResourceArrayResponseFromJSON(json: any): CouponLiteResourceArrayResponse {
46
- return CouponLiteResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function CouponLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponLiteResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(CouponLiteResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function CouponLiteResourceArrayResponseToJSON(json: any): CouponLiteResourceArrayResponse {
60
- return CouponLiteResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function CouponLiteResourceArrayResponseToJSONTyped(value?: CouponLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(CouponLiteResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,276 +0,0 @@
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
- import type { SiteLiteResource } from './SiteLiteResource';
17
- import {
18
- SiteLiteResourceFromJSON,
19
- SiteLiteResourceFromJSONTyped,
20
- SiteLiteResourceToJSON,
21
- SiteLiteResourceToJSONTyped,
22
- } from './SiteLiteResource';
23
- import type { CustomerListResource } from './CustomerListResource';
24
- import {
25
- CustomerListResourceFromJSON,
26
- CustomerListResourceFromJSONTyped,
27
- CustomerListResourceToJSON,
28
- CustomerListResourceToJSONTyped,
29
- } from './CustomerListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface CouponResource
35
- */
36
- export interface CouponResource {
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof CouponResource
41
- */
42
- id?: number | null;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof CouponResource
47
- */
48
- siteId: number;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof CouponResource
53
- */
54
- name: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof CouponResource
59
- */
60
- code: string;
61
- /**
62
- *
63
- * @type {object}
64
- * @memberof CouponResource
65
- */
66
- type: object;
67
- /**
68
- *
69
- * @type {object}
70
- * @memberof CouponResource
71
- */
72
- discountType: object;
73
- /**
74
- *
75
- * @type {number}
76
- * @memberof CouponResource
77
- */
78
- discountAmount: number;
79
- /**
80
- *
81
- * @type {number}
82
- * @memberof CouponResource
83
- */
84
- minAmount: number;
85
- /**
86
- *
87
- * @type {number}
88
- * @memberof CouponResource
89
- */
90
- minProducts: number;
91
- /**
92
- *
93
- * @type {number}
94
- * @memberof CouponResource
95
- */
96
- totalUseLimit: number;
97
- /**
98
- *
99
- * @type {number}
100
- * @memberof CouponResource
101
- */
102
- customerUseLimit: number;
103
- /**
104
- *
105
- * @type {boolean}
106
- * @memberof CouponResource
107
- */
108
- isAbandonedCart: boolean;
109
- /**
110
- *
111
- * @type {boolean}
112
- * @memberof CouponResource
113
- */
114
- isForAllProducts: boolean;
115
- /**
116
- *
117
- * @type {boolean}
118
- * @memberof CouponResource
119
- */
120
- isForAllCustomers: boolean;
121
- /**
122
- *
123
- * @type {Date}
124
- * @memberof CouponResource
125
- */
126
- startDate?: Date | null;
127
- /**
128
- *
129
- * @type {Date}
130
- * @memberof CouponResource
131
- */
132
- endDate?: Date | null;
133
- /**
134
- *
135
- * @type {SiteLiteResource}
136
- * @memberof CouponResource
137
- */
138
- site: SiteLiteResource | null;
139
- /**
140
- *
141
- * @type {object}
142
- * @memberof CouponResource
143
- */
144
- productChildren: object;
145
- /**
146
- *
147
- * @type {object}
148
- * @memberof CouponResource
149
- */
150
- categories: object;
151
- /**
152
- *
153
- * @type {object}
154
- * @memberof CouponResource
155
- */
156
- suppliers: object;
157
- /**
158
- *
159
- * @type {Array<CustomerListResource>}
160
- * @memberof CouponResource
161
- */
162
- customers: Array<CustomerListResource> | null;
163
- /**
164
- *
165
- * @type {number}
166
- * @memberof CouponResource
167
- */
168
- ordersCount: number;
169
- /**
170
- *
171
- * @type {number}
172
- * @memberof CouponResource
173
- */
174
- cartsCount: number;
175
- }
176
-
177
- /**
178
- * Check if a given object implements the CouponResource interface.
179
- */
180
- export function instanceOfCouponResource(value: object): value is CouponResource {
181
- if (!('siteId' in value) || value['siteId'] === undefined) return false;
182
- if (!('name' in value) || value['name'] === undefined) return false;
183
- if (!('code' in value) || value['code'] === undefined) return false;
184
- if (!('type' in value) || value['type'] === undefined) return false;
185
- if (!('discountType' in value) || value['discountType'] === undefined) return false;
186
- if (!('discountAmount' in value) || value['discountAmount'] === undefined) return false;
187
- if (!('minAmount' in value) || value['minAmount'] === undefined) return false;
188
- if (!('minProducts' in value) || value['minProducts'] === undefined) return false;
189
- if (!('totalUseLimit' in value) || value['totalUseLimit'] === undefined) return false;
190
- if (!('customerUseLimit' in value) || value['customerUseLimit'] === undefined) return false;
191
- if (!('isAbandonedCart' in value) || value['isAbandonedCart'] === undefined) return false;
192
- if (!('isForAllProducts' in value) || value['isForAllProducts'] === undefined) return false;
193
- if (!('isForAllCustomers' in value) || value['isForAllCustomers'] === undefined) return false;
194
- if (!('site' in value) || value['site'] === undefined) return false;
195
- if (!('productChildren' in value) || value['productChildren'] === undefined) return false;
196
- if (!('categories' in value) || value['categories'] === undefined) return false;
197
- if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
198
- if (!('customers' in value) || value['customers'] === undefined) return false;
199
- if (!('ordersCount' in value) || value['ordersCount'] === undefined) return false;
200
- if (!('cartsCount' in value) || value['cartsCount'] === undefined) return false;
201
- return true;
202
- }
203
-
204
- export function CouponResourceFromJSON(json: any): CouponResource {
205
- return CouponResourceFromJSONTyped(json, false);
206
- }
207
-
208
- export function CouponResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponResource {
209
- if (json == null) {
210
- return json;
211
- }
212
- return {
213
-
214
- 'id': json['id'] == null ? undefined : json['id'],
215
- 'siteId': json['siteId'],
216
- 'name': json['name'],
217
- 'code': json['code'],
218
- 'type': json['type'],
219
- 'discountType': json['discountType'],
220
- 'discountAmount': json['discountAmount'],
221
- 'minAmount': json['minAmount'],
222
- 'minProducts': json['minProducts'],
223
- 'totalUseLimit': json['totalUseLimit'],
224
- 'customerUseLimit': json['customerUseLimit'],
225
- 'isAbandonedCart': json['isAbandonedCart'],
226
- 'isForAllProducts': json['isForAllProducts'],
227
- 'isForAllCustomers': json['isForAllCustomers'],
228
- 'startDate': json['startDate'] == null ? undefined : (new Date(json['startDate'])),
229
- 'endDate': json['endDate'] == null ? undefined : (new Date(json['endDate'])),
230
- 'site': SiteLiteResourceFromJSON(json['site']),
231
- 'productChildren': json['productChildren'],
232
- 'categories': json['categories'],
233
- 'suppliers': json['suppliers'],
234
- 'customers': (json['customers'] == null ? null : (json['customers'] as Array<any>).map(CustomerListResourceFromJSON)),
235
- 'ordersCount': json['ordersCount'],
236
- 'cartsCount': json['cartsCount'],
237
- };
238
- }
239
-
240
- export function CouponResourceToJSON(json: any): CouponResource {
241
- return CouponResourceToJSONTyped(json, false);
242
- }
243
-
244
- export function CouponResourceToJSONTyped(value?: CouponResource | null, ignoreDiscriminator: boolean = false): any {
245
- if (value == null) {
246
- return value;
247
- }
248
-
249
- return {
250
-
251
- 'id': value['id'],
252
- 'siteId': value['siteId'],
253
- 'name': value['name'],
254
- 'code': value['code'],
255
- 'type': value['type'],
256
- 'discountType': value['discountType'],
257
- 'discountAmount': value['discountAmount'],
258
- 'minAmount': value['minAmount'],
259
- 'minProducts': value['minProducts'],
260
- 'totalUseLimit': value['totalUseLimit'],
261
- 'customerUseLimit': value['customerUseLimit'],
262
- 'isAbandonedCart': value['isAbandonedCart'],
263
- 'isForAllProducts': value['isForAllProducts'],
264
- 'isForAllCustomers': value['isForAllCustomers'],
265
- 'startDate': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
266
- 'endDate': value['endDate'] == null ? value['endDate'] : value['endDate'].toISOString(),
267
- 'site': SiteLiteResourceToJSON(value['site']),
268
- 'productChildren': value['productChildren'],
269
- 'categories': value['categories'],
270
- 'suppliers': value['suppliers'],
271
- 'customers': (value['customers'] == null ? null : (value['customers'] as Array<any>).map(CustomerListResourceToJSON)),
272
- 'ordersCount': value['ordersCount'],
273
- 'cartsCount': value['cartsCount'],
274
- };
275
- }
276
-
@@ -1,73 +0,0 @@
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
- import type { CouponResource } from './CouponResource';
17
- import {
18
- CouponResourceFromJSON,
19
- CouponResourceFromJSONTyped,
20
- CouponResourceToJSON,
21
- CouponResourceToJSONTyped,
22
- } from './CouponResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface CouponResourceArrayResponse
28
- */
29
- export interface CouponResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<CouponResource>}
33
- * @memberof CouponResourceArrayResponse
34
- */
35
- data?: Array<CouponResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the CouponResourceArrayResponse interface.
40
- */
41
- export function instanceOfCouponResourceArrayResponse(value: object): value is CouponResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function CouponResourceArrayResponseFromJSON(json: any): CouponResourceArrayResponse {
46
- return CouponResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function CouponResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(CouponResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function CouponResourceArrayResponseToJSON(json: any): CouponResourceArrayResponse {
60
- return CouponResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function CouponResourceArrayResponseToJSONTyped(value?: CouponResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(CouponResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,54 +0,0 @@
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
-
16
- /**
17
- *
18
- * @export
19
- */
20
- export const CouponType = {
21
- Subtotal: 'subtotal',
22
- Product: 'product',
23
- Shipping: 'shipping'
24
- } as const;
25
- export type CouponType = typeof CouponType[keyof typeof CouponType];
26
-
27
-
28
- export function instanceOfCouponType(value: any): boolean {
29
- for (const key in CouponType) {
30
- if (Object.prototype.hasOwnProperty.call(CouponType, key)) {
31
- if (CouponType[key as keyof typeof CouponType] === value) {
32
- return true;
33
- }
34
- }
35
- }
36
- return false;
37
- }
38
-
39
- export function CouponTypeFromJSON(json: any): CouponType {
40
- return CouponTypeFromJSONTyped(json, false);
41
- }
42
-
43
- export function CouponTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CouponType {
44
- return json as CouponType;
45
- }
46
-
47
- export function CouponTypeToJSON(value?: CouponType | null): any {
48
- return value as any;
49
- }
50
-
51
- export function CouponTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): CouponType {
52
- return value as CouponType;
53
- }
54
-