@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,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ProductTypeListResource } from './ProductTypeListResource';
17
- import {
18
- ProductTypeListResourceFromJSON,
19
- ProductTypeListResourceFromJSONTyped,
20
- ProductTypeListResourceToJSON,
21
- ProductTypeListResourceToJSONTyped,
22
- } from './ProductTypeListResource';
23
- import type { PagingMetadata } from './PagingMetadata';
24
- import {
25
- PagingMetadataFromJSON,
26
- PagingMetadataFromJSONTyped,
27
- PagingMetadataToJSON,
28
- PagingMetadataToJSONTyped,
29
- } from './PagingMetadata';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductTypeListResourceResponse
35
- */
36
- export interface PaginatedProductTypeListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductTypeListResource>}
40
- * @memberof PaginatedProductTypeListResourceResponse
41
- */
42
- data: Array<ProductTypeListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductTypeListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductTypeListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductTypeListResourceResponse(value: object): value is PaginatedProductTypeListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductTypeListResourceResponseFromJSON(json: any): PaginatedProductTypeListResourceResponse {
61
- return PaginatedProductTypeListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductTypeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductTypeListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductTypeListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductTypeListResourceResponseToJSON(json: any): PaginatedProductTypeListResourceResponse {
76
- return PaginatedProductTypeListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductTypeListResourceResponseToJSONTyped(value?: PaginatedProductTypeListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductTypeListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { SiteListResource } from './SiteListResource';
24
- import {
25
- SiteListResourceFromJSON,
26
- SiteListResourceFromJSONTyped,
27
- SiteListResourceToJSON,
28
- SiteListResourceToJSONTyped,
29
- } from './SiteListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedSiteListResourceResponse
35
- */
36
- export interface PaginatedSiteListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<SiteListResource>}
40
- * @memberof PaginatedSiteListResourceResponse
41
- */
42
- data: Array<SiteListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedSiteListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedSiteListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedSiteListResourceResponse(value: object): value is PaginatedSiteListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedSiteListResourceResponseFromJSON(json: any): PaginatedSiteListResourceResponse {
61
- return PaginatedSiteListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedSiteListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSiteListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(SiteListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedSiteListResourceResponseToJSON(json: any): PaginatedSiteListResourceResponse {
76
- return PaginatedSiteListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedSiteListResourceResponseToJSONTyped(value?: PaginatedSiteListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(SiteListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { SupplierListResource } from './SupplierListResource';
24
- import {
25
- SupplierListResourceFromJSON,
26
- SupplierListResourceFromJSONTyped,
27
- SupplierListResourceToJSON,
28
- SupplierListResourceToJSONTyped,
29
- } from './SupplierListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedSupplierListResourceResponse
35
- */
36
- export interface PaginatedSupplierListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<SupplierListResource>}
40
- * @memberof PaginatedSupplierListResourceResponse
41
- */
42
- data: Array<SupplierListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedSupplierListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedSupplierListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedSupplierListResourceResponse(value: object): value is PaginatedSupplierListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedSupplierListResourceResponseFromJSON(json: any): PaginatedSupplierListResourceResponse {
61
- return PaginatedSupplierListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedSupplierListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedSupplierListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(SupplierListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedSupplierListResourceResponseToJSON(json: any): PaginatedSupplierListResourceResponse {
76
- return PaginatedSupplierListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedSupplierListResourceResponseToJSONTyped(value?: PaginatedSupplierListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(SupplierListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { TagListResource } from './TagListResource';
24
- import {
25
- TagListResourceFromJSON,
26
- TagListResourceFromJSONTyped,
27
- TagListResourceToJSON,
28
- TagListResourceToJSONTyped,
29
- } from './TagListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedTagListResourceResponse
35
- */
36
- export interface PaginatedTagListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<TagListResource>}
40
- * @memberof PaginatedTagListResourceResponse
41
- */
42
- data: Array<TagListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedTagListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedTagListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedTagListResourceResponse(value: object): value is PaginatedTagListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedTagListResourceResponseFromJSON(json: any): PaginatedTagListResourceResponse {
61
- return PaginatedTagListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedTagListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedTagListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(TagListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedTagListResourceResponseToJSON(json: any): PaginatedTagListResourceResponse {
76
- return PaginatedTagListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedTagListResourceResponseToJSONTyped(value?: PaginatedTagListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(TagListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,75 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface ProductTypeListResource
20
- */
21
- export interface ProductTypeListResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof ProductTypeListResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ProductTypeListResource
32
- */
33
- name: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the ProductTypeListResource interface.
38
- */
39
- export function instanceOfProductTypeListResource(value: object): value is ProductTypeListResource {
40
- if (!('id' in value) || value['id'] === undefined) return false;
41
- if (!('name' in value) || value['name'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function ProductTypeListResourceFromJSON(json: any): ProductTypeListResource {
46
- return ProductTypeListResourceFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductTypeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTypeListResource {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'id': json['id'],
56
- 'name': json['name'],
57
- };
58
- }
59
-
60
- export function ProductTypeListResourceToJSON(json: any): ProductTypeListResource {
61
- return ProductTypeListResourceToJSONTyped(json, false);
62
- }
63
-
64
- export function ProductTypeListResourceToJSONTyped(value?: ProductTypeListResource | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'id': value['id'],
72
- 'name': value['name'],
73
- };
74
- }
75
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ProductTypeListResource } from './ProductTypeListResource';
17
- import {
18
- ProductTypeListResourceFromJSON,
19
- ProductTypeListResourceFromJSONTyped,
20
- ProductTypeListResourceToJSON,
21
- ProductTypeListResourceToJSONTyped,
22
- } from './ProductTypeListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductTypeListResourceArrayResponse
28
- */
29
- export interface ProductTypeListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductTypeListResource>}
33
- * @memberof ProductTypeListResourceArrayResponse
34
- */
35
- data?: Array<ProductTypeListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductTypeListResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductTypeListResourceArrayResponse(value: object): value is ProductTypeListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductTypeListResourceArrayResponseFromJSON(json: any): ProductTypeListResourceArrayResponse {
46
- return ProductTypeListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductTypeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductTypeListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductTypeListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductTypeListResourceArrayResponseToJSON(json: any): ProductTypeListResourceArrayResponse {
60
- return ProductTypeListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductTypeListResourceArrayResponseToJSONTyped(value?: ProductTypeListResourceArrayResponse | 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(ProductTypeListResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,93 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface SiteListResource
20
- */
21
- export interface SiteListResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof SiteListResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof SiteListResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof SiteListResource
38
- */
39
- abbreviation: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof SiteListResource
44
- */
45
- domain: string;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the SiteListResource interface.
50
- */
51
- export function instanceOfSiteListResource(value: object): value is SiteListResource {
52
- if (!('id' in value) || value['id'] === undefined) return false;
53
- if (!('name' in value) || value['name'] === undefined) return false;
54
- if (!('abbreviation' in value) || value['abbreviation'] === undefined) return false;
55
- if (!('domain' in value) || value['domain'] === undefined) return false;
56
- return true;
57
- }
58
-
59
- export function SiteListResourceFromJSON(json: any): SiteListResource {
60
- return SiteListResourceFromJSONTyped(json, false);
61
- }
62
-
63
- export function SiteListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResource {
64
- if (json == null) {
65
- return json;
66
- }
67
- return {
68
-
69
- 'id': json['id'],
70
- 'name': json['name'],
71
- 'abbreviation': json['abbreviation'],
72
- 'domain': json['domain'],
73
- };
74
- }
75
-
76
- export function SiteListResourceToJSON(json: any): SiteListResource {
77
- return SiteListResourceToJSONTyped(json, false);
78
- }
79
-
80
- export function SiteListResourceToJSONTyped(value?: SiteListResource | null, ignoreDiscriminator: boolean = false): any {
81
- if (value == null) {
82
- return value;
83
- }
84
-
85
- return {
86
-
87
- 'id': value['id'],
88
- 'name': value['name'],
89
- 'abbreviation': value['abbreviation'],
90
- 'domain': value['domain'],
91
- };
92
- }
93
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { SiteListResource } from './SiteListResource';
17
- import {
18
- SiteListResourceFromJSON,
19
- SiteListResourceFromJSONTyped,
20
- SiteListResourceToJSON,
21
- SiteListResourceToJSONTyped,
22
- } from './SiteListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface SiteListResourceArrayResponse
28
- */
29
- export interface SiteListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<SiteListResource>}
33
- * @memberof SiteListResourceArrayResponse
34
- */
35
- data?: Array<SiteListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the SiteListResourceArrayResponse interface.
40
- */
41
- export function instanceOfSiteListResourceArrayResponse(value: object): value is SiteListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function SiteListResourceArrayResponseFromJSON(json: any): SiteListResourceArrayResponse {
46
- return SiteListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function SiteListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SiteListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(SiteListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function SiteListResourceArrayResponseToJSON(json: any): SiteListResourceArrayResponse {
60
- return SiteListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function SiteListResourceArrayResponseToJSONTyped(value?: SiteListResourceArrayResponse | 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(SiteListResourceToJSON)),
71
- };
72
- }
73
-