@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,44 @@
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 ProductRegistrationCustomerLiteResource
16
+ */
17
+ export interface ProductRegistrationCustomerLiteResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ProductRegistrationCustomerLiteResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductRegistrationCustomerLiteResource
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProductRegistrationCustomerLiteResource
34
+ */
35
+ email: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ProductRegistrationCustomerLiteResource interface.
39
+ */
40
+ export declare function instanceOfProductRegistrationCustomerLiteResource(value: object): value is ProductRegistrationCustomerLiteResource;
41
+ export declare function ProductRegistrationCustomerLiteResourceFromJSON(json: any): ProductRegistrationCustomerLiteResource;
42
+ export declare function ProductRegistrationCustomerLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerLiteResource;
43
+ export declare function ProductRegistrationCustomerLiteResourceToJSON(json: any): ProductRegistrationCustomerLiteResource;
44
+ export declare function ProductRegistrationCustomerLiteResourceToJSONTyped(value?: ProductRegistrationCustomerLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,57 @@
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.instanceOfProductRegistrationCustomerLiteResource = instanceOfProductRegistrationCustomerLiteResource;
17
+ exports.ProductRegistrationCustomerLiteResourceFromJSON = ProductRegistrationCustomerLiteResourceFromJSON;
18
+ exports.ProductRegistrationCustomerLiteResourceFromJSONTyped = ProductRegistrationCustomerLiteResourceFromJSONTyped;
19
+ exports.ProductRegistrationCustomerLiteResourceToJSON = ProductRegistrationCustomerLiteResourceToJSON;
20
+ exports.ProductRegistrationCustomerLiteResourceToJSONTyped = ProductRegistrationCustomerLiteResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ProductRegistrationCustomerLiteResource interface.
23
+ */
24
+ function instanceOfProductRegistrationCustomerLiteResource(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('email' in value) || value['email'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function ProductRegistrationCustomerLiteResourceFromJSON(json) {
32
+ return ProductRegistrationCustomerLiteResourceFromJSONTyped(json, false);
33
+ }
34
+ function ProductRegistrationCustomerLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'id': json['id'] == null ? undefined : json['id'],
40
+ 'name': json['name'],
41
+ 'email': json['email'],
42
+ };
43
+ }
44
+ function ProductRegistrationCustomerLiteResourceToJSON(json) {
45
+ return ProductRegistrationCustomerLiteResourceToJSONTyped(json, false);
46
+ }
47
+ function ProductRegistrationCustomerLiteResourceToJSONTyped(value, ignoreDiscriminator) {
48
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
+ if (value == null) {
50
+ return value;
51
+ }
52
+ return {
53
+ 'id': value['id'],
54
+ 'name': value['name'],
55
+ 'email': value['email'],
56
+ };
57
+ }
@@ -0,0 +1,33 @@
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
+ import type { ProductRegistrationCustomerLiteResource } from './ProductRegistrationCustomerLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductRegistrationCustomerLiteResourceArrayResponse
17
+ */
18
+ export interface ProductRegistrationCustomerLiteResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ProductRegistrationCustomerLiteResource>}
22
+ * @memberof ProductRegistrationCustomerLiteResourceArrayResponse
23
+ */
24
+ data?: Array<ProductRegistrationCustomerLiteResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProductRegistrationCustomerLiteResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfProductRegistrationCustomerLiteResourceArrayResponse(value: object): value is ProductRegistrationCustomerLiteResourceArrayResponse;
30
+ export declare function ProductRegistrationCustomerLiteResourceArrayResponseFromJSON(json: any): ProductRegistrationCustomerLiteResourceArrayResponse;
31
+ export declare function ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerLiteResourceArrayResponse;
32
+ export declare function ProductRegistrationCustomerLiteResourceArrayResponseToJSON(json: any): ProductRegistrationCustomerLiteResourceArrayResponse;
33
+ export declare function ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped(value?: ProductRegistrationCustomerLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfProductRegistrationCustomerLiteResourceArrayResponse = instanceOfProductRegistrationCustomerLiteResourceArrayResponse;
17
+ exports.ProductRegistrationCustomerLiteResourceArrayResponseFromJSON = ProductRegistrationCustomerLiteResourceArrayResponseFromJSON;
18
+ exports.ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped = ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped;
19
+ exports.ProductRegistrationCustomerLiteResourceArrayResponseToJSON = ProductRegistrationCustomerLiteResourceArrayResponseToJSON;
20
+ exports.ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped = ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped;
21
+ var ProductRegistrationCustomerLiteResource_1 = require("./ProductRegistrationCustomerLiteResource");
22
+ /**
23
+ * Check if a given object implements the ProductRegistrationCustomerLiteResourceArrayResponse interface.
24
+ */
25
+ function instanceOfProductRegistrationCustomerLiteResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function ProductRegistrationCustomerLiteResourceArrayResponseFromJSON(json) {
29
+ return ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function ProductRegistrationCustomerLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceFromJSON)),
37
+ };
38
+ }
39
+ function ProductRegistrationCustomerLiteResourceArrayResponseToJSON(json) {
40
+ return ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function ProductRegistrationCustomerLiteResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,50 @@
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 ProductRegistrationCustomerResource
16
+ */
17
+ export interface ProductRegistrationCustomerResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ProductRegistrationCustomerResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductRegistrationCustomerResource
28
+ */
29
+ name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProductRegistrationCustomerResource
34
+ */
35
+ email: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProductRegistrationCustomerResource
40
+ */
41
+ phone: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ProductRegistrationCustomerResource interface.
45
+ */
46
+ export declare function instanceOfProductRegistrationCustomerResource(value: object): value is ProductRegistrationCustomerResource;
47
+ export declare function ProductRegistrationCustomerResourceFromJSON(json: any): ProductRegistrationCustomerResource;
48
+ export declare function ProductRegistrationCustomerResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerResource;
49
+ export declare function ProductRegistrationCustomerResourceToJSON(json: any): ProductRegistrationCustomerResource;
50
+ export declare function ProductRegistrationCustomerResourceToJSONTyped(value?: ProductRegistrationCustomerResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
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.instanceOfProductRegistrationCustomerResource = instanceOfProductRegistrationCustomerResource;
17
+ exports.ProductRegistrationCustomerResourceFromJSON = ProductRegistrationCustomerResourceFromJSON;
18
+ exports.ProductRegistrationCustomerResourceFromJSONTyped = ProductRegistrationCustomerResourceFromJSONTyped;
19
+ exports.ProductRegistrationCustomerResourceToJSON = ProductRegistrationCustomerResourceToJSON;
20
+ exports.ProductRegistrationCustomerResourceToJSONTyped = ProductRegistrationCustomerResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ProductRegistrationCustomerResource interface.
23
+ */
24
+ function instanceOfProductRegistrationCustomerResource(value) {
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ if (!('email' in value) || value['email'] === undefined)
28
+ return false;
29
+ if (!('phone' in value) || value['phone'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function ProductRegistrationCustomerResourceFromJSON(json) {
34
+ return ProductRegistrationCustomerResourceFromJSONTyped(json, false);
35
+ }
36
+ function ProductRegistrationCustomerResourceFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'] == null ? undefined : json['id'],
42
+ 'name': json['name'],
43
+ 'email': json['email'],
44
+ 'phone': json['phone'],
45
+ };
46
+ }
47
+ function ProductRegistrationCustomerResourceToJSON(json) {
48
+ return ProductRegistrationCustomerResourceToJSONTyped(json, false);
49
+ }
50
+ function ProductRegistrationCustomerResourceToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'id': value['id'],
57
+ 'name': value['name'],
58
+ 'email': value['email'],
59
+ 'phone': value['phone'],
60
+ };
61
+ }
@@ -0,0 +1,33 @@
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
+ import type { ProductRegistrationCustomerResource } from './ProductRegistrationCustomerResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductRegistrationCustomerResourceArrayResponse
17
+ */
18
+ export interface ProductRegistrationCustomerResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ProductRegistrationCustomerResource>}
22
+ * @memberof ProductRegistrationCustomerResourceArrayResponse
23
+ */
24
+ data?: Array<ProductRegistrationCustomerResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProductRegistrationCustomerResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfProductRegistrationCustomerResourceArrayResponse(value: object): value is ProductRegistrationCustomerResourceArrayResponse;
30
+ export declare function ProductRegistrationCustomerResourceArrayResponseFromJSON(json: any): ProductRegistrationCustomerResourceArrayResponse;
31
+ export declare function ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationCustomerResourceArrayResponse;
32
+ export declare function ProductRegistrationCustomerResourceArrayResponseToJSON(json: any): ProductRegistrationCustomerResourceArrayResponse;
33
+ export declare function ProductRegistrationCustomerResourceArrayResponseToJSONTyped(value?: ProductRegistrationCustomerResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfProductRegistrationCustomerResourceArrayResponse = instanceOfProductRegistrationCustomerResourceArrayResponse;
17
+ exports.ProductRegistrationCustomerResourceArrayResponseFromJSON = ProductRegistrationCustomerResourceArrayResponseFromJSON;
18
+ exports.ProductRegistrationCustomerResourceArrayResponseFromJSONTyped = ProductRegistrationCustomerResourceArrayResponseFromJSONTyped;
19
+ exports.ProductRegistrationCustomerResourceArrayResponseToJSON = ProductRegistrationCustomerResourceArrayResponseToJSON;
20
+ exports.ProductRegistrationCustomerResourceArrayResponseToJSONTyped = ProductRegistrationCustomerResourceArrayResponseToJSONTyped;
21
+ var ProductRegistrationCustomerResource_1 = require("./ProductRegistrationCustomerResource");
22
+ /**
23
+ * Check if a given object implements the ProductRegistrationCustomerResourceArrayResponse interface.
24
+ */
25
+ function instanceOfProductRegistrationCustomerResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function ProductRegistrationCustomerResourceArrayResponseFromJSON(json) {
29
+ return ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function ProductRegistrationCustomerResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceFromJSON)),
37
+ };
38
+ }
39
+ function ProductRegistrationCustomerResourceArrayResponseToJSON(json) {
40
+ return ProductRegistrationCustomerResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function ProductRegistrationCustomerResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(ProductRegistrationCustomerResource_1.ProductRegistrationCustomerResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,51 @@
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
+ import type { ProductRegistrationCustomerLiteResource } from './ProductRegistrationCustomerLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductRegistrationListResource
17
+ */
18
+ export interface ProductRegistrationListResource {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ProductRegistrationListResource
23
+ */
24
+ id?: number | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ProductRegistrationListResource
29
+ */
30
+ purchasedDate: string;
31
+ /**
32
+ *
33
+ * @type {ProductRegistrationCustomerLiteResource}
34
+ * @memberof ProductRegistrationListResource
35
+ */
36
+ customer: ProductRegistrationCustomerLiteResource | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof ProductRegistrationListResource
41
+ */
42
+ createdAt?: string | null;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ProductRegistrationListResource interface.
46
+ */
47
+ export declare function instanceOfProductRegistrationListResource(value: object): value is ProductRegistrationListResource;
48
+ export declare function ProductRegistrationListResourceFromJSON(json: any): ProductRegistrationListResource;
49
+ export declare function ProductRegistrationListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResource;
50
+ export declare function ProductRegistrationListResourceToJSON(json: any): ProductRegistrationListResource;
51
+ export declare function ProductRegistrationListResourceToJSONTyped(value?: ProductRegistrationListResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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.instanceOfProductRegistrationListResource = instanceOfProductRegistrationListResource;
17
+ exports.ProductRegistrationListResourceFromJSON = ProductRegistrationListResourceFromJSON;
18
+ exports.ProductRegistrationListResourceFromJSONTyped = ProductRegistrationListResourceFromJSONTyped;
19
+ exports.ProductRegistrationListResourceToJSON = ProductRegistrationListResourceToJSON;
20
+ exports.ProductRegistrationListResourceToJSONTyped = ProductRegistrationListResourceToJSONTyped;
21
+ var ProductRegistrationCustomerLiteResource_1 = require("./ProductRegistrationCustomerLiteResource");
22
+ /**
23
+ * Check if a given object implements the ProductRegistrationListResource interface.
24
+ */
25
+ function instanceOfProductRegistrationListResource(value) {
26
+ if (!('purchasedDate' in value) || value['purchasedDate'] === undefined)
27
+ return false;
28
+ if (!('customer' in value) || value['customer'] === undefined)
29
+ return false;
30
+ return true;
31
+ }
32
+ function ProductRegistrationListResourceFromJSON(json) {
33
+ return ProductRegistrationListResourceFromJSONTyped(json, false);
34
+ }
35
+ function ProductRegistrationListResourceFromJSONTyped(json, ignoreDiscriminator) {
36
+ if (json == null) {
37
+ return json;
38
+ }
39
+ return {
40
+ 'id': json['id'] == null ? undefined : json['id'],
41
+ 'purchasedDate': json['purchasedDate'],
42
+ 'customer': (0, ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceFromJSON)(json['customer']),
43
+ 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
44
+ };
45
+ }
46
+ function ProductRegistrationListResourceToJSON(json) {
47
+ return ProductRegistrationListResourceToJSONTyped(json, false);
48
+ }
49
+ function ProductRegistrationListResourceToJSONTyped(value, ignoreDiscriminator) {
50
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'id': value['id'],
56
+ 'purchasedDate': value['purchasedDate'],
57
+ 'customer': (0, ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceToJSON)(value['customer']),
58
+ 'createdAt': value['createdAt'],
59
+ };
60
+ }
@@ -0,0 +1,33 @@
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
+ import type { ProductRegistrationListResource } from './ProductRegistrationListResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProductRegistrationListResourceArrayResponse
17
+ */
18
+ export interface ProductRegistrationListResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<ProductRegistrationListResource>}
22
+ * @memberof ProductRegistrationListResourceArrayResponse
23
+ */
24
+ data?: Array<ProductRegistrationListResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfProductRegistrationListResourceArrayResponse(value: object): value is ProductRegistrationListResourceArrayResponse;
30
+ export declare function ProductRegistrationListResourceArrayResponseFromJSON(json: any): ProductRegistrationListResourceArrayResponse;
31
+ export declare function ProductRegistrationListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationListResourceArrayResponse;
32
+ export declare function ProductRegistrationListResourceArrayResponseToJSON(json: any): ProductRegistrationListResourceArrayResponse;
33
+ export declare function ProductRegistrationListResourceArrayResponseToJSONTyped(value?: ProductRegistrationListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfProductRegistrationListResourceArrayResponse = instanceOfProductRegistrationListResourceArrayResponse;
17
+ exports.ProductRegistrationListResourceArrayResponseFromJSON = ProductRegistrationListResourceArrayResponseFromJSON;
18
+ exports.ProductRegistrationListResourceArrayResponseFromJSONTyped = ProductRegistrationListResourceArrayResponseFromJSONTyped;
19
+ exports.ProductRegistrationListResourceArrayResponseToJSON = ProductRegistrationListResourceArrayResponseToJSON;
20
+ exports.ProductRegistrationListResourceArrayResponseToJSONTyped = ProductRegistrationListResourceArrayResponseToJSONTyped;
21
+ var ProductRegistrationListResource_1 = require("./ProductRegistrationListResource");
22
+ /**
23
+ * Check if a given object implements the ProductRegistrationListResourceArrayResponse interface.
24
+ */
25
+ function instanceOfProductRegistrationListResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function ProductRegistrationListResourceArrayResponseFromJSON(json) {
29
+ return ProductRegistrationListResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function ProductRegistrationListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceFromJSON)),
37
+ };
38
+ }
39
+ function ProductRegistrationListResourceArrayResponseToJSON(json) {
40
+ return ProductRegistrationListResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function ProductRegistrationListResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(ProductRegistrationListResource_1.ProductRegistrationListResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,38 @@
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 ProductRegistrationLiteResource
16
+ */
17
+ export interface ProductRegistrationLiteResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ProductRegistrationLiteResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProductRegistrationLiteResource
28
+ */
29
+ purchasedDate: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ProductRegistrationLiteResource interface.
33
+ */
34
+ export declare function instanceOfProductRegistrationLiteResource(value: object): value is ProductRegistrationLiteResource;
35
+ export declare function ProductRegistrationLiteResourceFromJSON(json: any): ProductRegistrationLiteResource;
36
+ export declare function ProductRegistrationLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationLiteResource;
37
+ export declare function ProductRegistrationLiteResourceToJSON(json: any): ProductRegistrationLiteResource;
38
+ export declare function ProductRegistrationLiteResourceToJSONTyped(value?: ProductRegistrationLiteResource | null, ignoreDiscriminator?: boolean): any;