@digital8/lighting-illusions-ts-sdk 0.0.448 → 0.0.449

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 (133) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -22
  3. package/dist/apis/AttributeApi.d.ts +3 -14
  4. package/dist/apis/AttributeApi.js +1 -46
  5. package/dist/apis/ProductTypeApi.d.ts +3 -14
  6. package/dist/apis/ProductTypeApi.js +1 -46
  7. package/dist/apis/SiteApi.d.ts +3 -14
  8. package/dist/apis/SiteApi.js +1 -46
  9. package/dist/apis/SupplierApi.d.ts +3 -14
  10. package/dist/apis/SupplierApi.js +1 -46
  11. package/dist/apis/TagApi.d.ts +3 -14
  12. package/dist/apis/TagApi.js +1 -46
  13. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  14. package/dist/models/ExternalApiLogResource.js +3 -1
  15. package/dist/models/GetAllAttributeRequest.d.ts +9 -9
  16. package/dist/models/GetAllAttributeRequest.js +4 -4
  17. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
  18. package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
  19. package/dist/models/GetAllProductRequest.d.ts +0 -30
  20. package/dist/models/GetAllProductRequest.js +0 -10
  21. package/dist/models/IndexAttributeRequest.d.ts +0 -19
  22. package/dist/models/IndexAttributeRequest.js +1 -11
  23. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
  24. package/dist/models/IndexExternalApiLogRequest.js +4 -8
  25. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
  26. package/dist/models/IndexOverlayTemplateRequest.js +0 -4
  27. package/dist/models/IndexProductTypeRequest.d.ts +0 -19
  28. package/dist/models/IndexProductTypeRequest.js +1 -11
  29. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
  30. package/dist/models/IndexSiteNotificationRequest.js +0 -4
  31. package/dist/models/IndexSiteRequest.d.ts +0 -12
  32. package/dist/models/IndexSiteRequest.js +0 -4
  33. package/dist/models/IndexSupplierRequest.d.ts +0 -19
  34. package/dist/models/IndexSupplierRequest.js +1 -11
  35. package/dist/models/IndexTagRequest.d.ts +0 -19
  36. package/dist/models/IndexTagRequest.js +1 -11
  37. package/dist/models/index.d.ts +0 -15
  38. package/dist/models/index.js +0 -15
  39. package/docs/AttributeApi.md +3 -69
  40. package/docs/GetAllAttributeRequest.md +4 -4
  41. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  42. package/docs/GetAllProductRequest.md +0 -10
  43. package/docs/IndexAttributeRequest.md +0 -4
  44. package/docs/IndexExternalApiLogRequest.md +4 -8
  45. package/docs/IndexOverlayTemplateRequest.md +0 -4
  46. package/docs/IndexProductTypeRequest.md +0 -4
  47. package/docs/IndexSiteNotificationRequest.md +0 -4
  48. package/docs/IndexSiteRequest.md +0 -4
  49. package/docs/IndexSupplierRequest.md +0 -4
  50. package/docs/IndexTagRequest.md +0 -4
  51. package/docs/ProductTypeApi.md +3 -69
  52. package/docs/SiteApi.md +3 -69
  53. package/docs/SupplierApi.md +3 -69
  54. package/docs/TagApi.md +3 -69
  55. package/package.json +1 -1
  56. package/src/apis/AttributeApi.ts +6 -42
  57. package/src/apis/ProductTypeApi.ts +6 -42
  58. package/src/apis/SiteApi.ts +6 -42
  59. package/src/apis/SupplierApi.ts +6 -42
  60. package/src/apis/TagApi.ts +6 -42
  61. package/src/models/ExternalApiLogResource.ts +3 -2
  62. package/src/models/GetAllAttributeRequest.ts +13 -13
  63. package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
  64. package/src/models/GetAllProductRequest.ts +0 -40
  65. package/src/models/IndexAttributeRequest.ts +0 -24
  66. package/src/models/IndexExternalApiLogRequest.ts +7 -23
  67. package/src/models/IndexOverlayTemplateRequest.ts +0 -16
  68. package/src/models/IndexProductTypeRequest.ts +0 -24
  69. package/src/models/IndexSiteNotificationRequest.ts +0 -16
  70. package/src/models/IndexSiteRequest.ts +0 -16
  71. package/src/models/IndexSupplierRequest.ts +0 -24
  72. package/src/models/IndexTagRequest.ts +0 -24
  73. package/src/models/index.ts +0 -15
  74. package/dist/models/AttributeListResource.d.ts +0 -56
  75. package/dist/models/AttributeListResource.js +0 -67
  76. package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
  77. package/dist/models/AttributeListResourceArrayResponse.js +0 -50
  78. package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
  79. package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
  80. package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
  81. package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
  82. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  83. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  84. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  85. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  86. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  87. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  88. package/dist/models/ProductTypeListResource.d.ts +0 -38
  89. package/dist/models/ProductTypeListResource.js +0 -55
  90. package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
  92. package/dist/models/SiteListResource.d.ts +0 -50
  93. package/dist/models/SiteListResource.js +0 -63
  94. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  96. package/dist/models/SupplierListResource.d.ts +0 -57
  97. package/dist/models/SupplierListResource.js +0 -68
  98. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  100. package/dist/models/TagListResource.d.ts +0 -57
  101. package/dist/models/TagListResource.js +0 -68
  102. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  103. package/dist/models/TagListResourceArrayResponse.js +0 -50
  104. package/docs/AttributeListResource.md +0 -42
  105. package/docs/AttributeListResourceArrayResponse.md +0 -34
  106. package/docs/PaginatedAttributeListResourceResponse.md +0 -36
  107. package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
  108. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  109. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  110. package/docs/PaginatedTagListResourceResponse.md +0 -36
  111. package/docs/ProductTypeListResource.md +0 -36
  112. package/docs/ProductTypeListResourceArrayResponse.md +0 -34
  113. package/docs/SiteListResource.md +0 -40
  114. package/docs/SiteListResourceArrayResponse.md +0 -34
  115. package/docs/SupplierListResource.md +0 -42
  116. package/docs/SupplierListResourceArrayResponse.md +0 -34
  117. package/docs/TagListResource.md +0 -42
  118. package/docs/TagListResourceArrayResponse.md +0 -34
  119. package/src/models/AttributeListResource.ts +0 -102
  120. package/src/models/AttributeListResourceArrayResponse.ts +0 -73
  121. package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
  122. package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
  123. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  124. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  125. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  126. package/src/models/ProductTypeListResource.ts +0 -75
  127. package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
  128. package/src/models/SiteListResource.ts +0 -93
  129. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  130. package/src/models/SupplierListResource.ts +0 -110
  131. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  132. package/src/models/TagListResource.ts +0 -110
  133. package/src/models/TagListResourceArrayResponse.ts +0 -73
@@ -1,57 +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.instanceOfPaginatedProductTypeListResourceResponse = instanceOfPaginatedProductTypeListResourceResponse;
17
- exports.PaginatedProductTypeListResourceResponseFromJSON = PaginatedProductTypeListResourceResponseFromJSON;
18
- exports.PaginatedProductTypeListResourceResponseFromJSONTyped = PaginatedProductTypeListResourceResponseFromJSONTyped;
19
- exports.PaginatedProductTypeListResourceResponseToJSON = PaginatedProductTypeListResourceResponseToJSON;
20
- exports.PaginatedProductTypeListResourceResponseToJSONTyped = PaginatedProductTypeListResourceResponseToJSONTyped;
21
- var ProductTypeListResource_1 = require("./ProductTypeListResource");
22
- var PagingMetadata_1 = require("./PagingMetadata");
23
- /**
24
- * Check if a given object implements the PaginatedProductTypeListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedProductTypeListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedProductTypeListResourceResponseFromJSON(json) {
34
- return PaginatedProductTypeListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedProductTypeListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(ProductTypeListResource_1.ProductTypeListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedProductTypeListResourceResponseToJSON(json) {
46
- return PaginatedProductTypeListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedProductTypeListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(ProductTypeListResource_1.ProductTypeListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,40 +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
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { SiteListResource } from './SiteListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedSiteListResourceResponse
18
- */
19
- export interface PaginatedSiteListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<SiteListResource>}
23
- * @memberof PaginatedSiteListResourceResponse
24
- */
25
- data: Array<SiteListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedSiteListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedSiteListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedSiteListResourceResponse(value: object): value is PaginatedSiteListResourceResponse;
37
- export declare function PaginatedSiteListResourceResponseFromJSON(json: any): PaginatedSiteListResourceResponse;
38
- export declare function PaginatedSiteListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSiteListResourceResponse;
39
- export declare function PaginatedSiteListResourceResponseToJSON(json: any): PaginatedSiteListResourceResponse;
40
- export declare function PaginatedSiteListResourceResponseToJSONTyped(value?: PaginatedSiteListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedSiteListResourceResponse = instanceOfPaginatedSiteListResourceResponse;
17
- exports.PaginatedSiteListResourceResponseFromJSON = PaginatedSiteListResourceResponseFromJSON;
18
- exports.PaginatedSiteListResourceResponseFromJSONTyped = PaginatedSiteListResourceResponseFromJSONTyped;
19
- exports.PaginatedSiteListResourceResponseToJSON = PaginatedSiteListResourceResponseToJSON;
20
- exports.PaginatedSiteListResourceResponseToJSONTyped = PaginatedSiteListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var SiteListResource_1 = require("./SiteListResource");
23
- /**
24
- * Check if a given object implements the PaginatedSiteListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedSiteListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedSiteListResourceResponseFromJSON(json) {
34
- return PaginatedSiteListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedSiteListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(SiteListResource_1.SiteListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedSiteListResourceResponseToJSON(json) {
46
- return PaginatedSiteListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedSiteListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(SiteListResource_1.SiteListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,40 +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
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { SupplierListResource } from './SupplierListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedSupplierListResourceResponse
18
- */
19
- export interface PaginatedSupplierListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<SupplierListResource>}
23
- * @memberof PaginatedSupplierListResourceResponse
24
- */
25
- data: Array<SupplierListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedSupplierListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedSupplierListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedSupplierListResourceResponse(value: object): value is PaginatedSupplierListResourceResponse;
37
- export declare function PaginatedSupplierListResourceResponseFromJSON(json: any): PaginatedSupplierListResourceResponse;
38
- export declare function PaginatedSupplierListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSupplierListResourceResponse;
39
- export declare function PaginatedSupplierListResourceResponseToJSON(json: any): PaginatedSupplierListResourceResponse;
40
- export declare function PaginatedSupplierListResourceResponseToJSONTyped(value?: PaginatedSupplierListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedSupplierListResourceResponse = instanceOfPaginatedSupplierListResourceResponse;
17
- exports.PaginatedSupplierListResourceResponseFromJSON = PaginatedSupplierListResourceResponseFromJSON;
18
- exports.PaginatedSupplierListResourceResponseFromJSONTyped = PaginatedSupplierListResourceResponseFromJSONTyped;
19
- exports.PaginatedSupplierListResourceResponseToJSON = PaginatedSupplierListResourceResponseToJSON;
20
- exports.PaginatedSupplierListResourceResponseToJSONTyped = PaginatedSupplierListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var SupplierListResource_1 = require("./SupplierListResource");
23
- /**
24
- * Check if a given object implements the PaginatedSupplierListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedSupplierListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedSupplierListResourceResponseFromJSON(json) {
34
- return PaginatedSupplierListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedSupplierListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(SupplierListResource_1.SupplierListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedSupplierListResourceResponseToJSON(json) {
46
- return PaginatedSupplierListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedSupplierListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(SupplierListResource_1.SupplierListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,40 +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
- import type { PagingMetadata } from './PagingMetadata';
13
- import type { TagListResource } from './TagListResource';
14
- /**
15
- *
16
- * @export
17
- * @interface PaginatedTagListResourceResponse
18
- */
19
- export interface PaginatedTagListResourceResponse {
20
- /**
21
- *
22
- * @type {Array<TagListResource>}
23
- * @memberof PaginatedTagListResourceResponse
24
- */
25
- data: Array<TagListResource>;
26
- /**
27
- *
28
- * @type {PagingMetadata}
29
- * @memberof PaginatedTagListResourceResponse
30
- */
31
- meta: PagingMetadata;
32
- }
33
- /**
34
- * Check if a given object implements the PaginatedTagListResourceResponse interface.
35
- */
36
- export declare function instanceOfPaginatedTagListResourceResponse(value: object): value is PaginatedTagListResourceResponse;
37
- export declare function PaginatedTagListResourceResponseFromJSON(json: any): PaginatedTagListResourceResponse;
38
- export declare function PaginatedTagListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTagListResourceResponse;
39
- export declare function PaginatedTagListResourceResponseToJSON(json: any): PaginatedTagListResourceResponse;
40
- export declare function PaginatedTagListResourceResponseToJSONTyped(value?: PaginatedTagListResourceResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfPaginatedTagListResourceResponse = instanceOfPaginatedTagListResourceResponse;
17
- exports.PaginatedTagListResourceResponseFromJSON = PaginatedTagListResourceResponseFromJSON;
18
- exports.PaginatedTagListResourceResponseFromJSONTyped = PaginatedTagListResourceResponseFromJSONTyped;
19
- exports.PaginatedTagListResourceResponseToJSON = PaginatedTagListResourceResponseToJSON;
20
- exports.PaginatedTagListResourceResponseToJSONTyped = PaginatedTagListResourceResponseToJSONTyped;
21
- var PagingMetadata_1 = require("./PagingMetadata");
22
- var TagListResource_1 = require("./TagListResource");
23
- /**
24
- * Check if a given object implements the PaginatedTagListResourceResponse interface.
25
- */
26
- function instanceOfPaginatedTagListResourceResponse(value) {
27
- if (!('data' in value) || value['data'] === undefined)
28
- return false;
29
- if (!('meta' in value) || value['meta'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function PaginatedTagListResourceResponseFromJSON(json) {
34
- return PaginatedTagListResourceResponseFromJSONTyped(json, false);
35
- }
36
- function PaginatedTagListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'data': (json['data'].map(TagListResource_1.TagListResourceFromJSON)),
42
- 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
- };
44
- }
45
- function PaginatedTagListResourceResponseToJSON(json) {
46
- return PaginatedTagListResourceResponseToJSONTyped(json, false);
47
- }
48
- function PaginatedTagListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'data': (value['data'].map(TagListResource_1.TagListResourceToJSON)),
55
- 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
- };
57
- }
@@ -1,38 +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 ProductTypeListResource
16
- */
17
- export interface ProductTypeListResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof ProductTypeListResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ProductTypeListResource
28
- */
29
- name: string;
30
- }
31
- /**
32
- * Check if a given object implements the ProductTypeListResource interface.
33
- */
34
- export declare function instanceOfProductTypeListResource(value: object): value is ProductTypeListResource;
35
- export declare function ProductTypeListResourceFromJSON(json: any): ProductTypeListResource;
36
- export declare function ProductTypeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTypeListResource;
37
- export declare function ProductTypeListResourceToJSON(json: any): ProductTypeListResource;
38
- export declare function ProductTypeListResourceToJSONTyped(value?: ProductTypeListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +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.instanceOfProductTypeListResource = instanceOfProductTypeListResource;
17
- exports.ProductTypeListResourceFromJSON = ProductTypeListResourceFromJSON;
18
- exports.ProductTypeListResourceFromJSONTyped = ProductTypeListResourceFromJSONTyped;
19
- exports.ProductTypeListResourceToJSON = ProductTypeListResourceToJSON;
20
- exports.ProductTypeListResourceToJSONTyped = ProductTypeListResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the ProductTypeListResource interface.
23
- */
24
- function instanceOfProductTypeListResource(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function ProductTypeListResourceFromJSON(json) {
32
- return ProductTypeListResourceFromJSONTyped(json, false);
33
- }
34
- function ProductTypeListResourceFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'],
40
- 'name': json['name'],
41
- };
42
- }
43
- function ProductTypeListResourceToJSON(json) {
44
- return ProductTypeListResourceToJSONTyped(json, false);
45
- }
46
- function ProductTypeListResourceToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'id': value['id'],
53
- 'name': value['name'],
54
- };
55
- }
@@ -1,33 +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
- import type { ProductTypeListResource } from './ProductTypeListResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductTypeListResourceArrayResponse
17
- */
18
- export interface ProductTypeListResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductTypeListResource>}
22
- * @memberof ProductTypeListResourceArrayResponse
23
- */
24
- data?: Array<ProductTypeListResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductTypeListResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductTypeListResourceArrayResponse(value: object): value is ProductTypeListResourceArrayResponse;
30
- export declare function ProductTypeListResourceArrayResponseFromJSON(json: any): ProductTypeListResourceArrayResponse;
31
- export declare function ProductTypeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTypeListResourceArrayResponse;
32
- export declare function ProductTypeListResourceArrayResponseToJSON(json: any): ProductTypeListResourceArrayResponse;
33
- export declare function ProductTypeListResourceArrayResponseToJSONTyped(value?: ProductTypeListResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +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.instanceOfProductTypeListResourceArrayResponse = instanceOfProductTypeListResourceArrayResponse;
17
- exports.ProductTypeListResourceArrayResponseFromJSON = ProductTypeListResourceArrayResponseFromJSON;
18
- exports.ProductTypeListResourceArrayResponseFromJSONTyped = ProductTypeListResourceArrayResponseFromJSONTyped;
19
- exports.ProductTypeListResourceArrayResponseToJSON = ProductTypeListResourceArrayResponseToJSON;
20
- exports.ProductTypeListResourceArrayResponseToJSONTyped = ProductTypeListResourceArrayResponseToJSONTyped;
21
- var ProductTypeListResource_1 = require("./ProductTypeListResource");
22
- /**
23
- * Check if a given object implements the ProductTypeListResourceArrayResponse interface.
24
- */
25
- function instanceOfProductTypeListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductTypeListResourceArrayResponseFromJSON(json) {
29
- return ProductTypeListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductTypeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductTypeListResource_1.ProductTypeListResourceFromJSON)),
37
- };
38
- }
39
- function ProductTypeListResourceArrayResponseToJSON(json) {
40
- return ProductTypeListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductTypeListResourceArrayResponseToJSONTyped(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(ProductTypeListResource_1.ProductTypeListResourceToJSON)),
49
- };
50
- }
@@ -1,50 +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 SiteListResource
16
- */
17
- export interface SiteListResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof SiteListResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SiteListResource
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SiteListResource
34
- */
35
- abbreviation: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SiteListResource
40
- */
41
- domain: string;
42
- }
43
- /**
44
- * Check if a given object implements the SiteListResource interface.
45
- */
46
- export declare function instanceOfSiteListResource(value: object): value is SiteListResource;
47
- export declare function SiteListResourceFromJSON(json: any): SiteListResource;
48
- export declare function SiteListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResource;
49
- export declare function SiteListResourceToJSON(json: any): SiteListResource;
50
- export declare function SiteListResourceToJSONTyped(value?: SiteListResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,63 +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.instanceOfSiteListResource = instanceOfSiteListResource;
17
- exports.SiteListResourceFromJSON = SiteListResourceFromJSON;
18
- exports.SiteListResourceFromJSONTyped = SiteListResourceFromJSONTyped;
19
- exports.SiteListResourceToJSON = SiteListResourceToJSON;
20
- exports.SiteListResourceToJSONTyped = SiteListResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the SiteListResource interface.
23
- */
24
- function instanceOfSiteListResource(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- if (!('abbreviation' in value) || value['abbreviation'] === undefined)
30
- return false;
31
- if (!('domain' in value) || value['domain'] === undefined)
32
- return false;
33
- return true;
34
- }
35
- function SiteListResourceFromJSON(json) {
36
- return SiteListResourceFromJSONTyped(json, false);
37
- }
38
- function SiteListResourceFromJSONTyped(json, ignoreDiscriminator) {
39
- if (json == null) {
40
- return json;
41
- }
42
- return {
43
- 'id': json['id'],
44
- 'name': json['name'],
45
- 'abbreviation': json['abbreviation'],
46
- 'domain': json['domain'],
47
- };
48
- }
49
- function SiteListResourceToJSON(json) {
50
- return SiteListResourceToJSONTyped(json, false);
51
- }
52
- function SiteListResourceToJSONTyped(value, ignoreDiscriminator) {
53
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
- if (value == null) {
55
- return value;
56
- }
57
- return {
58
- 'id': value['id'],
59
- 'name': value['name'],
60
- 'abbreviation': value['abbreviation'],
61
- 'domain': value['domain'],
62
- };
63
- }