@digital8/lighting-illusions-ts-sdk 0.0.1450 → 0.0.1452

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 (96) hide show
  1. package/.openapi-generator/FILES +42 -0
  2. package/README.md +26 -2
  3. package/dist/apis/ProductRegistrationApi.d.ts +79 -0
  4. package/dist/apis/ProductRegistrationApi.js +316 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AddressResource.d.ts +80 -0
  8. package/dist/models/AddressResource.js +77 -0
  9. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/AddressResourceArrayResponse.js +50 -0
  11. package/dist/models/GetAllProductRegistrationRequest.d.ts +81 -0
  12. package/dist/models/GetAllProductRegistrationRequest.js +77 -0
  13. package/dist/models/IndexProductChildRequest.d.ts +1 -0
  14. package/dist/models/IndexProductChildRequest.js +1 -0
  15. package/dist/models/IndexProductRegistrationRequest.d.ts +124 -0
  16. package/dist/models/IndexProductRegistrationRequest.js +95 -0
  17. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
  18. package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
  19. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
  20. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
  21. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
  22. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
  23. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
  24. package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
  25. package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
  26. package/dist/models/ProductRegistrationAssetResource.js +58 -0
  27. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
  28. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
  29. package/dist/models/ProductRegistrationCustomerLiteResource.d.ts +44 -0
  30. package/dist/models/ProductRegistrationCustomerLiteResource.js +57 -0
  31. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/ProductRegistrationCustomerLiteResourceArrayResponse.js +50 -0
  33. package/dist/models/ProductRegistrationCustomerResource.d.ts +50 -0
  34. package/dist/models/ProductRegistrationCustomerResource.js +61 -0
  35. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
  36. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
  37. package/dist/models/ProductRegistrationListResource.d.ts +51 -0
  38. package/dist/models/ProductRegistrationListResource.js +60 -0
  39. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
  40. package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
  41. package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
  42. package/dist/models/ProductRegistrationLiteResource.js +53 -0
  43. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
  44. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
  45. package/dist/models/ProductRegistrationResource.d.ts +76 -0
  46. package/dist/models/ProductRegistrationResource.js +75 -0
  47. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
  48. package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
  49. package/dist/models/index.d.ts +20 -0
  50. package/dist/models/index.js +20 -0
  51. package/docs/AddressResource.md +50 -0
  52. package/docs/AddressResourceArrayResponse.md +34 -0
  53. package/docs/GetAllProductRegistrationRequest.md +44 -0
  54. package/docs/IndexProductRegistrationRequest.md +56 -0
  55. package/docs/ListAssetsProductRegistrationRequest.md +52 -0
  56. package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
  57. package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
  58. package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
  59. package/docs/ProductRegistrationApi.md +275 -0
  60. package/docs/ProductRegistrationAssetResource.md +38 -0
  61. package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
  62. package/docs/ProductRegistrationCustomerLiteResource.md +38 -0
  63. package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +34 -0
  64. package/docs/ProductRegistrationCustomerResource.md +40 -0
  65. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
  66. package/docs/ProductRegistrationListResource.md +40 -0
  67. package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
  68. package/docs/ProductRegistrationLiteResource.md +36 -0
  69. package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
  70. package/docs/ProductRegistrationResource.md +48 -0
  71. package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
  72. package/package.json +1 -1
  73. package/src/apis/ProductRegistrationApi.ts +238 -0
  74. package/src/apis/index.ts +1 -0
  75. package/src/models/AddressResource.ts +135 -0
  76. package/src/models/AddressResourceArrayResponse.ts +73 -0
  77. package/src/models/GetAllProductRegistrationRequest.ts +128 -0
  78. package/src/models/IndexProductChildRequest.ts +1 -0
  79. package/src/models/IndexProductRegistrationRequest.ts +184 -0
  80. package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
  81. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
  82. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
  83. package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
  84. package/src/models/ProductRegistrationAssetResource.ts +91 -0
  85. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
  86. package/src/models/ProductRegistrationCustomerLiteResource.ts +83 -0
  87. package/src/models/ProductRegistrationCustomerLiteResourceArrayResponse.ts +73 -0
  88. package/src/models/ProductRegistrationCustomerResource.ts +92 -0
  89. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
  90. package/src/models/ProductRegistrationListResource.ts +99 -0
  91. package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
  92. package/src/models/ProductRegistrationLiteResource.ts +74 -0
  93. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
  94. package/src/models/ProductRegistrationResource.ts +141 -0
  95. package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
  96. package/src/models/index.ts +20 -0
@@ -0,0 +1,99 @@
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 { ProductRegistrationCustomerLiteResource } from './ProductRegistrationCustomerLiteResource';
17
+ import {
18
+ ProductRegistrationCustomerLiteResourceFromJSON,
19
+ ProductRegistrationCustomerLiteResourceFromJSONTyped,
20
+ ProductRegistrationCustomerLiteResourceToJSON,
21
+ ProductRegistrationCustomerLiteResourceToJSONTyped,
22
+ } from './ProductRegistrationCustomerLiteResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ProductRegistrationListResource
28
+ */
29
+ export interface ProductRegistrationListResource {
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ProductRegistrationListResource
34
+ */
35
+ id?: number | null;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProductRegistrationListResource
40
+ */
41
+ purchasedDate: string;
42
+ /**
43
+ *
44
+ * @type {ProductRegistrationCustomerLiteResource}
45
+ * @memberof ProductRegistrationListResource
46
+ */
47
+ customer: ProductRegistrationCustomerLiteResource | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ProductRegistrationListResource
52
+ */
53
+ createdAt?: string | null;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ProductRegistrationListResource interface.
58
+ */
59
+ export function instanceOfProductRegistrationListResource(value: object): value is ProductRegistrationListResource {
60
+ if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
61
+ if (!('customer' in value) || value['customer'] === undefined) return false;
62
+ return true;
63
+ }
64
+
65
+ export function ProductRegistrationListResourceFromJSON(json: any): ProductRegistrationListResource {
66
+ return ProductRegistrationListResourceFromJSONTyped(json, false);
67
+ }
68
+
69
+ export function ProductRegistrationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResource {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+
75
+ 'id': json['id'] == null ? undefined : json['id'],
76
+ 'purchasedDate': json['purchasedDate'],
77
+ 'customer': ProductRegistrationCustomerLiteResourceFromJSON(json['customer']),
78
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
79
+ };
80
+ }
81
+
82
+ export function ProductRegistrationListResourceToJSON(json: any): ProductRegistrationListResource {
83
+ return ProductRegistrationListResourceToJSONTyped(json, false);
84
+ }
85
+
86
+ export function ProductRegistrationListResourceToJSONTyped(value?: ProductRegistrationListResource | null, ignoreDiscriminator: boolean = false): any {
87
+ if (value == null) {
88
+ return value;
89
+ }
90
+
91
+ return {
92
+
93
+ 'id': value['id'],
94
+ 'purchasedDate': value['purchasedDate'],
95
+ 'customer': ProductRegistrationCustomerLiteResourceToJSON(value['customer']),
96
+ 'createdAt': value['createdAt'],
97
+ };
98
+ }
99
+
@@ -0,0 +1,73 @@
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 { ProductRegistrationListResource } from './ProductRegistrationListResource';
17
+ import {
18
+ ProductRegistrationListResourceFromJSON,
19
+ ProductRegistrationListResourceFromJSONTyped,
20
+ ProductRegistrationListResourceToJSON,
21
+ ProductRegistrationListResourceToJSONTyped,
22
+ } from './ProductRegistrationListResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ProductRegistrationListResourceArrayResponse
28
+ */
29
+ export interface ProductRegistrationListResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<ProductRegistrationListResource>}
33
+ * @memberof ProductRegistrationListResourceArrayResponse
34
+ */
35
+ data?: Array<ProductRegistrationListResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfProductRegistrationListResourceArrayResponse(value: object): value is ProductRegistrationListResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function ProductRegistrationListResourceArrayResponseFromJSON(json: any): ProductRegistrationListResourceArrayResponse {
46
+ return ProductRegistrationListResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ProductRegistrationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationListResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function ProductRegistrationListResourceArrayResponseToJSON(json: any): ProductRegistrationListResourceArrayResponse {
60
+ return ProductRegistrationListResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ProductRegistrationListResourceArrayResponseToJSONTyped(value?: ProductRegistrationListResourceArrayResponse | 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(ProductRegistrationListResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -0,0 +1,74 @@
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 ProductRegistrationLiteResource
20
+ */
21
+ export interface ProductRegistrationLiteResource {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ProductRegistrationLiteResource
26
+ */
27
+ id?: number | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ProductRegistrationLiteResource
32
+ */
33
+ purchasedDate: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ProductRegistrationLiteResource interface.
38
+ */
39
+ export function instanceOfProductRegistrationLiteResource(value: object): value is ProductRegistrationLiteResource {
40
+ if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function ProductRegistrationLiteResourceFromJSON(json: any): ProductRegistrationLiteResource {
45
+ return ProductRegistrationLiteResourceFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function ProductRegistrationLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResource {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'id': json['id'] == null ? undefined : json['id'],
55
+ 'purchasedDate': json['purchasedDate'],
56
+ };
57
+ }
58
+
59
+ export function ProductRegistrationLiteResourceToJSON(json: any): ProductRegistrationLiteResource {
60
+ return ProductRegistrationLiteResourceToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ProductRegistrationLiteResourceToJSONTyped(value?: ProductRegistrationLiteResource | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'id': value['id'],
71
+ 'purchasedDate': value['purchasedDate'],
72
+ };
73
+ }
74
+
@@ -0,0 +1,73 @@
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 { ProductRegistrationLiteResource } from './ProductRegistrationLiteResource';
17
+ import {
18
+ ProductRegistrationLiteResourceFromJSON,
19
+ ProductRegistrationLiteResourceFromJSONTyped,
20
+ ProductRegistrationLiteResourceToJSON,
21
+ ProductRegistrationLiteResourceToJSONTyped,
22
+ } from './ProductRegistrationLiteResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ProductRegistrationLiteResourceArrayResponse
28
+ */
29
+ export interface ProductRegistrationLiteResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<ProductRegistrationLiteResource>}
33
+ * @memberof ProductRegistrationLiteResourceArrayResponse
34
+ */
35
+ data?: Array<ProductRegistrationLiteResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ProductRegistrationLiteResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfProductRegistrationLiteResourceArrayResponse(value: object): value is ProductRegistrationLiteResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function ProductRegistrationLiteResourceArrayResponseFromJSON(json: any): ProductRegistrationLiteResourceArrayResponse {
46
+ return ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ProductRegistrationLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationLiteResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function ProductRegistrationLiteResourceArrayResponseToJSON(json: any): ProductRegistrationLiteResourceArrayResponse {
60
+ return ProductRegistrationLiteResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ProductRegistrationLiteResourceArrayResponseToJSONTyped(value?: ProductRegistrationLiteResourceArrayResponse | 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(ProductRegistrationLiteResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -0,0 +1,141 @@
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 { AddressResource } from './AddressResource';
17
+ import {
18
+ AddressResourceFromJSON,
19
+ AddressResourceFromJSONTyped,
20
+ AddressResourceToJSON,
21
+ AddressResourceToJSONTyped,
22
+ } from './AddressResource';
23
+ import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
24
+ import {
25
+ ProductRegistrationCustomerResourceFromJSON,
26
+ ProductRegistrationCustomerResourceFromJSONTyped,
27
+ ProductRegistrationCustomerResourceToJSON,
28
+ ProductRegistrationCustomerResourceToJSONTyped,
29
+ } from './ProductRegistrationCustomerResource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface ProductRegistrationResource
35
+ */
36
+ export interface ProductRegistrationResource {
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ProductRegistrationResource
41
+ */
42
+ id?: number | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof ProductRegistrationResource
47
+ */
48
+ purchasedDate: string;
49
+ /**
50
+ *
51
+ * @type {ProductRegistrationCustomerResource}
52
+ * @memberof ProductRegistrationResource
53
+ */
54
+ customer: ProductRegistrationCustomerResource | null;
55
+ /**
56
+ *
57
+ * @type {AddressResource}
58
+ * @memberof ProductRegistrationResource
59
+ */
60
+ address: AddressResource | null;
61
+ /**
62
+ *
63
+ * @type {object}
64
+ * @memberof ProductRegistrationResource
65
+ */
66
+ productChildren: object;
67
+ /**
68
+ *
69
+ * @type {object}
70
+ * @memberof ProductRegistrationResource
71
+ */
72
+ assets: object;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ProductRegistrationResource
77
+ */
78
+ createdAt?: string | null;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ProductRegistrationResource
83
+ */
84
+ updatedAt?: string | null;
85
+ }
86
+
87
+ /**
88
+ * Check if a given object implements the ProductRegistrationResource interface.
89
+ */
90
+ export function instanceOfProductRegistrationResource(value: object): value is ProductRegistrationResource {
91
+ if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
92
+ if (!('customer' in value) || value['customer'] === undefined) return false;
93
+ if (!('address' in value) || value['address'] === undefined) return false;
94
+ if (!('productChildren' in value) || value['productChildren'] === undefined) return false;
95
+ if (!('assets' in value) || value['assets'] === undefined) return false;
96
+ return true;
97
+ }
98
+
99
+ export function ProductRegistrationResourceFromJSON(json: any): ProductRegistrationResource {
100
+ return ProductRegistrationResourceFromJSONTyped(json, false);
101
+ }
102
+
103
+ export function ProductRegistrationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResource {
104
+ if (json == null) {
105
+ return json;
106
+ }
107
+ return {
108
+
109
+ 'id': json['id'] == null ? undefined : json['id'],
110
+ 'purchasedDate': json['purchasedDate'],
111
+ 'customer': ProductRegistrationCustomerResourceFromJSON(json['customer']),
112
+ 'address': AddressResourceFromJSON(json['address']),
113
+ 'productChildren': json['productChildren'],
114
+ 'assets': json['assets'],
115
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
116
+ 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
117
+ };
118
+ }
119
+
120
+ export function ProductRegistrationResourceToJSON(json: any): ProductRegistrationResource {
121
+ return ProductRegistrationResourceToJSONTyped(json, false);
122
+ }
123
+
124
+ export function ProductRegistrationResourceToJSONTyped(value?: ProductRegistrationResource | null, ignoreDiscriminator: boolean = false): any {
125
+ if (value == null) {
126
+ return value;
127
+ }
128
+
129
+ return {
130
+
131
+ 'id': value['id'],
132
+ 'purchasedDate': value['purchasedDate'],
133
+ 'customer': ProductRegistrationCustomerResourceToJSON(value['customer']),
134
+ 'address': AddressResourceToJSON(value['address']),
135
+ 'productChildren': value['productChildren'],
136
+ 'assets': value['assets'],
137
+ 'createdAt': value['createdAt'],
138
+ 'updatedAt': value['updatedAt'],
139
+ };
140
+ }
141
+
@@ -0,0 +1,73 @@
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 { ProductRegistrationResource } from './ProductRegistrationResource';
17
+ import {
18
+ ProductRegistrationResourceFromJSON,
19
+ ProductRegistrationResourceFromJSONTyped,
20
+ ProductRegistrationResourceToJSON,
21
+ ProductRegistrationResourceToJSONTyped,
22
+ } from './ProductRegistrationResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ProductRegistrationResourceArrayResponse
28
+ */
29
+ export interface ProductRegistrationResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<ProductRegistrationResource>}
33
+ * @memberof ProductRegistrationResourceArrayResponse
34
+ */
35
+ data?: Array<ProductRegistrationResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse {
46
+ return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse {
60
+ return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | 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(ProductRegistrationResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -1,5 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
+ export * from './AddressResource';
4
+ export * from './AddressResourceArrayResponse';
3
5
  export * from './AssetFileForUploadResource';
4
6
  export * from './AssetFileForUploadResourceArrayResponse';
5
7
  export * from './AssetFrontendResource';
@@ -84,6 +86,7 @@ export * from './GetAllOverlayTemplateRequest';
84
86
  export * from './GetAllProductCategoryRequest';
85
87
  export * from './GetAllProductChildRequest';
86
88
  export * from './GetAllProductRangeRequest';
89
+ export * from './GetAllProductRegistrationRequest';
87
90
  export * from './GetAllProductRequest';
88
91
  export * from './GetAllProductTypeRequest';
89
92
  export * from './GetAllSupplierRequest';
@@ -109,6 +112,7 @@ export * from './IndexOverlayTemplateRequest';
109
112
  export * from './IndexProductCategoryRequest';
110
113
  export * from './IndexProductChildRequest';
111
114
  export * from './IndexProductRangeRequest';
115
+ export * from './IndexProductRegistrationRequest';
112
116
  export * from './IndexProductRequest';
113
117
  export * from './IndexProductTypeRequest';
114
118
  export * from './IndexSiteNotificationRequest';
@@ -117,6 +121,7 @@ export * from './IndexSupplierRequest';
117
121
  export * from './IndexTagRequest';
118
122
  export * from './LabelResource';
119
123
  export * from './LabelResourceArrayResponse';
124
+ export * from './ListAssetsProductRegistrationRequest';
120
125
  export * from './ModelAttributeListResource';
121
126
  export * from './ModelAttributeListResourceArrayResponse';
122
127
  export * from './ModelAttributeResource';
@@ -162,6 +167,9 @@ export * from './PaginatedProductRangeListResourceResponse';
162
167
  export * from './PaginatedProductRangeLiteResourceResponse';
163
168
  export * from './PaginatedProductRangeResourceResponse';
164
169
  export * from './PaginatedProductRangeSearchResultResourceResponse';
170
+ export * from './PaginatedProductRegistrationAssetResourceResponse';
171
+ export * from './PaginatedProductRegistrationListResourceResponse';
172
+ export * from './PaginatedProductRegistrationResourceResponse';
165
173
  export * from './PaginatedProductResourceResponse';
166
174
  export * from './PaginatedProductSearchResultResourceResponse';
167
175
  export * from './PaginatedProductTypeListResourceResponse';
@@ -243,7 +251,19 @@ export * from './ProductRangeSiteDetailResource';
243
251
  export * from './ProductRangeSiteDetailResourceArrayResponse';
244
252
  export * from './ProductRangeSortBy';
245
253
  export * from './ProductRating';
254
+ export * from './ProductRegistrationAssetResource';
255
+ export * from './ProductRegistrationAssetResourceArrayResponse';
246
256
  export * from './ProductRegistrationAssetType';
257
+ export * from './ProductRegistrationCustomerLiteResource';
258
+ export * from './ProductRegistrationCustomerLiteResourceArrayResponse';
259
+ export * from './ProductRegistrationCustomerResource';
260
+ export * from './ProductRegistrationCustomerResourceArrayResponse';
261
+ export * from './ProductRegistrationListResource';
262
+ export * from './ProductRegistrationListResourceArrayResponse';
263
+ export * from './ProductRegistrationLiteResource';
264
+ export * from './ProductRegistrationLiteResourceArrayResponse';
265
+ export * from './ProductRegistrationResource';
266
+ export * from './ProductRegistrationResourceArrayResponse';
247
267
  export * from './ProductResource';
248
268
  export * from './ProductResourceArrayResponse';
249
269
  export * from './ProductSearchResponseResource';