@digital8/lighting-illusions-ts-sdk 0.0.447 → 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 (98) hide show
  1. package/.openapi-generator/FILES +0 -18
  2. package/README.md +2 -14
  3. package/dist/apis/SiteApi.d.ts +3 -14
  4. package/dist/apis/SiteApi.js +1 -46
  5. package/dist/apis/SupplierApi.d.ts +3 -14
  6. package/dist/apis/SupplierApi.js +1 -46
  7. package/dist/apis/TagApi.d.ts +3 -14
  8. package/dist/apis/TagApi.js +1 -46
  9. package/dist/models/GetAllAttributeRequest.d.ts +9 -9
  10. package/dist/models/GetAllAttributeRequest.js +4 -4
  11. package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -6
  12. package/dist/models/GetAllOverlayTemplateRequest.js +2 -2
  13. package/dist/models/GetAllProductRequest.d.ts +0 -30
  14. package/dist/models/GetAllProductRequest.js +0 -10
  15. package/dist/models/IndexAttributeRequest.d.ts +0 -12
  16. package/dist/models/IndexAttributeRequest.js +0 -4
  17. package/dist/models/IndexExternalApiLogRequest.d.ts +3 -15
  18. package/dist/models/IndexExternalApiLogRequest.js +4 -8
  19. package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -12
  20. package/dist/models/IndexOverlayTemplateRequest.js +0 -4
  21. package/dist/models/IndexProductTypeRequest.d.ts +0 -19
  22. package/dist/models/IndexProductTypeRequest.js +1 -11
  23. package/dist/models/IndexSiteNotificationRequest.d.ts +0 -12
  24. package/dist/models/IndexSiteNotificationRequest.js +0 -4
  25. package/dist/models/IndexSiteRequest.d.ts +0 -12
  26. package/dist/models/IndexSiteRequest.js +0 -4
  27. package/dist/models/IndexSupplierRequest.d.ts +0 -19
  28. package/dist/models/IndexSupplierRequest.js +1 -11
  29. package/dist/models/IndexTagRequest.d.ts +0 -19
  30. package/dist/models/IndexTagRequest.js +1 -11
  31. package/dist/models/index.d.ts +0 -9
  32. package/dist/models/index.js +0 -9
  33. package/docs/GetAllAttributeRequest.md +4 -4
  34. package/docs/GetAllOverlayTemplateRequest.md +2 -2
  35. package/docs/GetAllProductRequest.md +0 -10
  36. package/docs/IndexAttributeRequest.md +0 -4
  37. package/docs/IndexExternalApiLogRequest.md +4 -8
  38. package/docs/IndexOverlayTemplateRequest.md +0 -4
  39. package/docs/IndexProductTypeRequest.md +0 -4
  40. package/docs/IndexSiteNotificationRequest.md +0 -4
  41. package/docs/IndexSiteRequest.md +0 -4
  42. package/docs/IndexSupplierRequest.md +0 -4
  43. package/docs/IndexTagRequest.md +0 -4
  44. package/docs/SiteApi.md +3 -69
  45. package/docs/SupplierApi.md +3 -69
  46. package/docs/TagApi.md +3 -69
  47. package/package.json +1 -1
  48. package/src/apis/SiteApi.ts +6 -42
  49. package/src/apis/SupplierApi.ts +6 -42
  50. package/src/apis/TagApi.ts +6 -42
  51. package/src/models/GetAllAttributeRequest.ts +13 -13
  52. package/src/models/GetAllOverlayTemplateRequest.ts +8 -8
  53. package/src/models/GetAllProductRequest.ts +0 -40
  54. package/src/models/IndexAttributeRequest.ts +0 -16
  55. package/src/models/IndexExternalApiLogRequest.ts +7 -23
  56. package/src/models/IndexOverlayTemplateRequest.ts +0 -16
  57. package/src/models/IndexProductTypeRequest.ts +0 -24
  58. package/src/models/IndexSiteNotificationRequest.ts +0 -16
  59. package/src/models/IndexSiteRequest.ts +0 -16
  60. package/src/models/IndexSupplierRequest.ts +0 -24
  61. package/src/models/IndexTagRequest.ts +0 -24
  62. package/src/models/index.ts +0 -9
  63. package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
  64. package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
  65. package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
  66. package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
  67. package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
  68. package/dist/models/PaginatedTagListResourceResponse.js +0 -57
  69. package/dist/models/SiteListResource.d.ts +0 -50
  70. package/dist/models/SiteListResource.js +0 -63
  71. package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
  72. package/dist/models/SiteListResourceArrayResponse.js +0 -50
  73. package/dist/models/SupplierListResource.d.ts +0 -57
  74. package/dist/models/SupplierListResource.js +0 -68
  75. package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
  76. package/dist/models/SupplierListResourceArrayResponse.js +0 -50
  77. package/dist/models/TagListResource.d.ts +0 -57
  78. package/dist/models/TagListResource.js +0 -68
  79. package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
  80. package/dist/models/TagListResourceArrayResponse.js +0 -50
  81. package/docs/PaginatedSiteListResourceResponse.md +0 -36
  82. package/docs/PaginatedSupplierListResourceResponse.md +0 -36
  83. package/docs/PaginatedTagListResourceResponse.md +0 -36
  84. package/docs/SiteListResource.md +0 -40
  85. package/docs/SiteListResourceArrayResponse.md +0 -34
  86. package/docs/SupplierListResource.md +0 -42
  87. package/docs/SupplierListResourceArrayResponse.md +0 -34
  88. package/docs/TagListResource.md +0 -42
  89. package/docs/TagListResourceArrayResponse.md +0 -34
  90. package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
  91. package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
  92. package/src/models/PaginatedTagListResourceResponse.ts +0 -90
  93. package/src/models/SiteListResource.ts +0 -93
  94. package/src/models/SiteListResourceArrayResponse.ts +0 -73
  95. package/src/models/SupplierListResource.ts +0 -110
  96. package/src/models/SupplierListResourceArrayResponse.ts +0 -73
  97. package/src/models/TagListResource.ts +0 -110
  98. 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 { 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,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
-
@@ -1,110 +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 { AssetLiteResource } from './AssetLiteResource';
17
- import {
18
- AssetLiteResourceFromJSON,
19
- AssetLiteResourceFromJSONTyped,
20
- AssetLiteResourceToJSON,
21
- AssetLiteResourceToJSONTyped,
22
- } from './AssetLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface SupplierListResource
28
- */
29
- export interface SupplierListResource {
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof SupplierListResource
34
- */
35
- id: number;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SupplierListResource
40
- */
41
- name: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof SupplierListResource
46
- */
47
- slug: string;
48
- /**
49
- *
50
- * @type {AssetLiteResource}
51
- * @memberof SupplierListResource
52
- */
53
- thumbnail: AssetLiteResource | null;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof SupplierListResource
58
- */
59
- supplierEta: number;
60
- }
61
-
62
- /**
63
- * Check if a given object implements the SupplierListResource interface.
64
- */
65
- export function instanceOfSupplierListResource(value: object): value is SupplierListResource {
66
- if (!('id' in value) || value['id'] === undefined) return false;
67
- if (!('name' in value) || value['name'] === undefined) return false;
68
- if (!('slug' in value) || value['slug'] === undefined) return false;
69
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
70
- if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
71
- return true;
72
- }
73
-
74
- export function SupplierListResourceFromJSON(json: any): SupplierListResource {
75
- return SupplierListResourceFromJSONTyped(json, false);
76
- }
77
-
78
- export function SupplierListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResource {
79
- if (json == null) {
80
- return json;
81
- }
82
- return {
83
-
84
- 'id': json['id'],
85
- 'name': json['name'],
86
- 'slug': json['slug'],
87
- 'thumbnail': AssetLiteResourceFromJSON(json['thumbnail']),
88
- 'supplierEta': json['supplierEta'],
89
- };
90
- }
91
-
92
- export function SupplierListResourceToJSON(json: any): SupplierListResource {
93
- return SupplierListResourceToJSONTyped(json, false);
94
- }
95
-
96
- export function SupplierListResourceToJSONTyped(value?: SupplierListResource | null, ignoreDiscriminator: boolean = false): any {
97
- if (value == null) {
98
- return value;
99
- }
100
-
101
- return {
102
-
103
- 'id': value['id'],
104
- 'name': value['name'],
105
- 'slug': value['slug'],
106
- 'thumbnail': AssetLiteResourceToJSON(value['thumbnail']),
107
- 'supplierEta': value['supplierEta'],
108
- };
109
- }
110
-
@@ -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 { SupplierListResource } from './SupplierListResource';
17
- import {
18
- SupplierListResourceFromJSON,
19
- SupplierListResourceFromJSONTyped,
20
- SupplierListResourceToJSON,
21
- SupplierListResourceToJSONTyped,
22
- } from './SupplierListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface SupplierListResourceArrayResponse
28
- */
29
- export interface SupplierListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<SupplierListResource>}
33
- * @memberof SupplierListResourceArrayResponse
34
- */
35
- data?: Array<SupplierListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the SupplierListResourceArrayResponse interface.
40
- */
41
- export function instanceOfSupplierListResourceArrayResponse(value: object): value is SupplierListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function SupplierListResourceArrayResponseFromJSON(json: any): SupplierListResourceArrayResponse {
46
- return SupplierListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function SupplierListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SupplierListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(SupplierListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function SupplierListResourceArrayResponseToJSON(json: any): SupplierListResourceArrayResponse {
60
- return SupplierListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function SupplierListResourceArrayResponseToJSONTyped(value?: SupplierListResourceArrayResponse | 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(SupplierListResourceToJSON)),
71
- };
72
- }
73
-