@digital8/lighting-illusions-ts-sdk 0.0.649 → 0.0.651

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 (126) hide show
  1. package/.openapi-generator/FILES +38 -10
  2. package/README.md +26 -7
  3. package/dist/apis/DefinitionApi.d.ts +85 -0
  4. package/dist/apis/DefinitionApi.js +355 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/CategoryFrontendResource.d.ts +70 -0
  8. package/dist/models/CategoryFrontendResource.js +73 -0
  9. package/dist/models/CategoryFrontendResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/CategoryFrontendResourceArrayResponse.js +50 -0
  11. package/dist/models/CategoryWithChildrenFrontendResource.d.ts +39 -0
  12. package/dist/models/CategoryWithChildrenFrontendResource.js +56 -0
  13. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/CategoryWithChildrenFrontendResourceArrayResponse.js +50 -0
  15. package/dist/models/DefinitionListResource.d.ts +38 -0
  16. package/dist/models/DefinitionListResource.js +55 -0
  17. package/dist/models/DefinitionListResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/DefinitionListResourceArrayResponse.js +50 -0
  19. package/dist/models/DefinitionResource.d.ts +44 -0
  20. package/dist/models/DefinitionResource.js +59 -0
  21. package/dist/models/DefinitionResourceArrayResponse.d.ts +33 -0
  22. package/dist/models/DefinitionResourceArrayResponse.js +50 -0
  23. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  24. package/dist/models/ExternalApiLogResource.js +1 -3
  25. package/dist/models/GetAllDefinitionRequest.d.ts +80 -0
  26. package/dist/models/GetAllDefinitionRequest.js +76 -0
  27. package/dist/models/GlobalSearchProductResource.d.ts +6 -0
  28. package/dist/models/GlobalSearchProductResource.js +4 -0
  29. package/dist/models/IndexDefinitionRequest.d.ts +92 -0
  30. package/dist/models/IndexDefinitionRequest.js +80 -0
  31. package/dist/models/OverlayTemplateAssetFrontendResource.d.ts +3 -2
  32. package/dist/models/OverlayTemplateAssetFrontendResource.js +3 -2
  33. package/dist/models/OverlayTemplateAssetResource.d.ts +3 -3
  34. package/dist/models/OverlayTemplateAssetResource.js +3 -3
  35. package/dist/models/PaginatedCategoryFrontendResourceResponse.d.ts +40 -0
  36. package/dist/models/PaginatedCategoryFrontendResourceResponse.js +57 -0
  37. package/dist/models/PaginatedDefinitionListResourceResponse.d.ts +40 -0
  38. package/dist/models/PaginatedDefinitionListResourceResponse.js +57 -0
  39. package/dist/models/PaginatedDefinitionResourceResponse.d.ts +40 -0
  40. package/dist/models/PaginatedDefinitionResourceResponse.js +57 -0
  41. package/dist/models/ProductAvailability.d.ts +26 -0
  42. package/dist/models/ProductAvailability.js +52 -0
  43. package/dist/models/ProductCompareResource.d.ts +2 -2
  44. package/dist/models/ProductSearchResultResource.d.ts +12 -6
  45. package/dist/models/ProductSearchResultResource.js +8 -4
  46. package/dist/models/StoreDefinitionRequest.d.ts +38 -0
  47. package/dist/models/StoreDefinitionRequest.js +55 -0
  48. package/dist/models/SupplierFrontendResource.d.ts +7 -8
  49. package/dist/models/SupplierFrontendResource.js +8 -9
  50. package/dist/models/TagFrontendResource.d.ts +63 -0
  51. package/dist/models/TagFrontendResource.js +72 -0
  52. package/dist/models/TagFrontendResourceArrayResponse.d.ts +33 -0
  53. package/dist/models/TagFrontendResourceArrayResponse.js +50 -0
  54. package/dist/models/UpdateDefinitionRequest.d.ts +38 -0
  55. package/dist/models/UpdateDefinitionRequest.js +55 -0
  56. package/dist/models/index.d.ts +18 -5
  57. package/dist/models/index.js +18 -5
  58. package/docs/CategoryFrontendResource.md +46 -0
  59. package/docs/CategoryFrontendResourceArrayResponse.md +34 -0
  60. package/docs/CategoryWithChildrenFrontendResource.md +36 -0
  61. package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +34 -0
  62. package/docs/DefinitionApi.md +407 -0
  63. package/docs/{WishlistToggleResource.md → DefinitionListResource.md} +8 -8
  64. package/docs/{WishlistToggleResourceArrayResponse.md → DefinitionListResourceArrayResponse.md} +5 -5
  65. package/docs/DefinitionResource.md +38 -0
  66. package/docs/{WishlistCheckResourceArrayResponse.md → DefinitionResourceArrayResponse.md} +5 -5
  67. package/docs/GetAllDefinitionRequest.md +44 -0
  68. package/docs/GlobalSearchProductResource.md +2 -0
  69. package/docs/IndexDefinitionRequest.md +48 -0
  70. package/docs/OverlayTemplateAssetFrontendResource.md +1 -1
  71. package/docs/OverlayTemplateAssetResource.md +1 -1
  72. package/docs/PaginatedCategoryFrontendResourceResponse.md +36 -0
  73. package/docs/PaginatedDefinitionListResourceResponse.md +36 -0
  74. package/docs/PaginatedDefinitionResourceResponse.md +36 -0
  75. package/docs/{ProductStatus.md → ProductAvailability.md} +4 -4
  76. package/docs/ProductCompareResource.md +1 -1
  77. package/docs/ProductSearchResultResource.md +4 -2
  78. package/docs/{WishlistCheckResource.md → StoreDefinitionRequest.md} +8 -6
  79. package/docs/SupplierFrontendResource.md +4 -4
  80. package/docs/TagFrontendResource.md +44 -0
  81. package/docs/TagFrontendResourceArrayResponse.md +34 -0
  82. package/docs/UpdateDefinitionRequest.md +36 -0
  83. package/package.json +1 -1
  84. package/src/apis/DefinitionApi.ts +286 -0
  85. package/src/apis/index.ts +1 -0
  86. package/src/models/CategoryFrontendResource.ts +133 -0
  87. package/src/models/CategoryFrontendResourceArrayResponse.ts +73 -0
  88. package/src/models/CategoryWithChildrenFrontendResource.ts +83 -0
  89. package/src/models/CategoryWithChildrenFrontendResourceArrayResponse.ts +73 -0
  90. package/src/models/DefinitionListResource.ts +75 -0
  91. package/src/models/DefinitionListResourceArrayResponse.ts +73 -0
  92. package/src/models/DefinitionResource.ts +84 -0
  93. package/src/models/DefinitionResourceArrayResponse.ts +73 -0
  94. package/src/models/ExternalApiLogResource.ts +2 -3
  95. package/src/models/GetAllDefinitionRequest.ts +127 -0
  96. package/src/models/GlobalSearchProductResource.ts +9 -0
  97. package/src/models/IndexDefinitionRequest.ts +143 -0
  98. package/src/models/OverlayTemplateAssetFrontendResource.ts +12 -4
  99. package/src/models/OverlayTemplateAssetResource.ts +10 -10
  100. package/src/models/PaginatedCategoryFrontendResourceResponse.ts +90 -0
  101. package/src/models/PaginatedDefinitionListResourceResponse.ts +90 -0
  102. package/src/models/PaginatedDefinitionResourceResponse.ts +90 -0
  103. package/src/models/ProductAvailability.ts +54 -0
  104. package/src/models/ProductCompareResource.ts +2 -2
  105. package/src/models/ProductSearchResultResource.ts +18 -9
  106. package/src/models/StoreDefinitionRequest.ts +75 -0
  107. package/src/models/SupplierFrontendResource.ts +20 -27
  108. package/src/models/TagFrontendResource.ts +119 -0
  109. package/src/models/TagFrontendResourceArrayResponse.ts +73 -0
  110. package/src/models/UpdateDefinitionRequest.ts +75 -0
  111. package/src/models/index.ts +18 -5
  112. package/dist/models/ProductStatus.d.ts +0 -24
  113. package/dist/models/ProductStatus.js +0 -50
  114. package/dist/models/WishlistCheckResource.d.ts +0 -32
  115. package/dist/models/WishlistCheckResource.js +0 -51
  116. package/dist/models/WishlistCheckResourceArrayResponse.d.ts +0 -33
  117. package/dist/models/WishlistCheckResourceArrayResponse.js +0 -50
  118. package/dist/models/WishlistToggleResource.d.ts +0 -38
  119. package/dist/models/WishlistToggleResource.js +0 -55
  120. package/dist/models/WishlistToggleResourceArrayResponse.d.ts +0 -33
  121. package/dist/models/WishlistToggleResourceArrayResponse.js +0 -50
  122. package/src/models/ProductStatus.ts +0 -52
  123. package/src/models/WishlistCheckResource.ts +0 -66
  124. package/src/models/WishlistCheckResourceArrayResponse.ts +0 -73
  125. package/src/models/WishlistToggleResource.ts +0 -75
  126. package/src/models/WishlistToggleResourceArrayResponse.ts +0 -73
@@ -0,0 +1,76 @@
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.GetAllDefinitionRequestSortDirectionEnum = exports.GetAllDefinitionRequestSortByEnum = void 0;
17
+ exports.instanceOfGetAllDefinitionRequest = instanceOfGetAllDefinitionRequest;
18
+ exports.GetAllDefinitionRequestFromJSON = GetAllDefinitionRequestFromJSON;
19
+ exports.GetAllDefinitionRequestFromJSONTyped = GetAllDefinitionRequestFromJSONTyped;
20
+ exports.GetAllDefinitionRequestToJSON = GetAllDefinitionRequestToJSON;
21
+ exports.GetAllDefinitionRequestToJSONTyped = GetAllDefinitionRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.GetAllDefinitionRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.GetAllDefinitionRequestSortDirectionEnum = {
35
+ Asc: 'asc',
36
+ Desc: 'desc'
37
+ };
38
+ /**
39
+ * Check if a given object implements the GetAllDefinitionRequest interface.
40
+ */
41
+ function instanceOfGetAllDefinitionRequest(value) {
42
+ return true;
43
+ }
44
+ function GetAllDefinitionRequestFromJSON(json) {
45
+ return GetAllDefinitionRequestFromJSONTyped(json, false);
46
+ }
47
+ function GetAllDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'search': json['search'] == null ? undefined : json['search'],
53
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
54
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
56
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
57
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
58
+ };
59
+ }
60
+ function GetAllDefinitionRequestToJSON(json) {
61
+ return GetAllDefinitionRequestToJSONTyped(json, false);
62
+ }
63
+ function GetAllDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
64
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+ return {
69
+ 'search': value['search'],
70
+ 'sortBy': value['sortBy'],
71
+ 'sortDirection': value['sortDirection'],
72
+ 'related_id': value['relatedId'],
73
+ 'related_type': value['relatedType'],
74
+ 'includes_relations': value['includesRelations'],
75
+ };
76
+ }
@@ -27,6 +27,12 @@ export interface GlobalSearchProductResource {
27
27
  * @memberof GlobalSearchProductResource
28
28
  */
29
29
  name: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof GlobalSearchProductResource
34
+ */
35
+ model: string;
30
36
  /**
31
37
  *
32
38
  * @type {string}
@@ -26,6 +26,8 @@ function instanceOfGlobalSearchProductResource(value) {
26
26
  return false;
27
27
  if (!('name' in value) || value['name'] === undefined)
28
28
  return false;
29
+ if (!('model' in value) || value['model'] === undefined)
30
+ return false;
29
31
  if (!('slug' in value) || value['slug'] === undefined)
30
32
  return false;
31
33
  if (!('sku' in value) || value['sku'] === undefined)
@@ -54,6 +56,7 @@ function GlobalSearchProductResourceFromJSONTyped(json, ignoreDiscriminator) {
54
56
  return {
55
57
  'id': json['id'],
56
58
  'name': json['name'],
59
+ 'model': json['model'],
57
60
  'slug': json['slug'],
58
61
  'sku': json['sku'],
59
62
  'thumbnail': json['thumbnail'],
@@ -75,6 +78,7 @@ function GlobalSearchProductResourceToJSONTyped(value, ignoreDiscriminator) {
75
78
  return {
76
79
  'id': value['id'],
77
80
  'name': value['name'],
81
+ 'model': value['model'],
78
82
  'slug': value['slug'],
79
83
  'sku': value['sku'],
80
84
  'thumbnail': value['thumbnail'],
@@ -0,0 +1,92 @@
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 IndexDefinitionRequest
16
+ */
17
+ export interface IndexDefinitionRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof IndexDefinitionRequest
22
+ */
23
+ search?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof IndexDefinitionRequest
28
+ */
29
+ sortBy?: IndexDefinitionRequestSortByEnum;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof IndexDefinitionRequest
34
+ */
35
+ sortDirection?: IndexDefinitionRequestSortDirectionEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof IndexDefinitionRequest
40
+ */
41
+ perPage?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof IndexDefinitionRequest
46
+ */
47
+ page?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof IndexDefinitionRequest
52
+ */
53
+ relatedId?: number;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof IndexDefinitionRequest
58
+ */
59
+ relatedType?: string;
60
+ /**
61
+ *
62
+ * @type {boolean}
63
+ * @memberof IndexDefinitionRequest
64
+ */
65
+ includesRelations?: boolean;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const IndexDefinitionRequestSortByEnum: {
71
+ readonly Id: "id";
72
+ readonly Name: "name";
73
+ readonly CreatedAt: "created_at";
74
+ readonly UpdatedAt: "updated_at";
75
+ };
76
+ export type IndexDefinitionRequestSortByEnum = typeof IndexDefinitionRequestSortByEnum[keyof typeof IndexDefinitionRequestSortByEnum];
77
+ /**
78
+ * @export
79
+ */
80
+ export declare const IndexDefinitionRequestSortDirectionEnum: {
81
+ readonly Asc: "asc";
82
+ readonly Desc: "desc";
83
+ };
84
+ export type IndexDefinitionRequestSortDirectionEnum = typeof IndexDefinitionRequestSortDirectionEnum[keyof typeof IndexDefinitionRequestSortDirectionEnum];
85
+ /**
86
+ * Check if a given object implements the IndexDefinitionRequest interface.
87
+ */
88
+ export declare function instanceOfIndexDefinitionRequest(value: object): value is IndexDefinitionRequest;
89
+ export declare function IndexDefinitionRequestFromJSON(json: any): IndexDefinitionRequest;
90
+ export declare function IndexDefinitionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDefinitionRequest;
91
+ export declare function IndexDefinitionRequestToJSON(json: any): IndexDefinitionRequest;
92
+ export declare function IndexDefinitionRequestToJSONTyped(value?: IndexDefinitionRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,80 @@
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.IndexDefinitionRequestSortDirectionEnum = exports.IndexDefinitionRequestSortByEnum = void 0;
17
+ exports.instanceOfIndexDefinitionRequest = instanceOfIndexDefinitionRequest;
18
+ exports.IndexDefinitionRequestFromJSON = IndexDefinitionRequestFromJSON;
19
+ exports.IndexDefinitionRequestFromJSONTyped = IndexDefinitionRequestFromJSONTyped;
20
+ exports.IndexDefinitionRequestToJSON = IndexDefinitionRequestToJSON;
21
+ exports.IndexDefinitionRequestToJSONTyped = IndexDefinitionRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IndexDefinitionRequestSortByEnum = {
26
+ Id: 'id',
27
+ Name: 'name',
28
+ CreatedAt: 'created_at',
29
+ UpdatedAt: 'updated_at'
30
+ };
31
+ /**
32
+ * @export
33
+ */
34
+ exports.IndexDefinitionRequestSortDirectionEnum = {
35
+ Asc: 'asc',
36
+ Desc: 'desc'
37
+ };
38
+ /**
39
+ * Check if a given object implements the IndexDefinitionRequest interface.
40
+ */
41
+ function instanceOfIndexDefinitionRequest(value) {
42
+ return true;
43
+ }
44
+ function IndexDefinitionRequestFromJSON(json) {
45
+ return IndexDefinitionRequestFromJSONTyped(json, false);
46
+ }
47
+ function IndexDefinitionRequestFromJSONTyped(json, ignoreDiscriminator) {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+ 'search': json['search'] == null ? undefined : json['search'],
53
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
54
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
55
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
56
+ 'page': json['page'] == null ? undefined : json['page'],
57
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
58
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
59
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
60
+ };
61
+ }
62
+ function IndexDefinitionRequestToJSON(json) {
63
+ return IndexDefinitionRequestToJSONTyped(json, false);
64
+ }
65
+ function IndexDefinitionRequestToJSONTyped(value, ignoreDiscriminator) {
66
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
67
+ if (value == null) {
68
+ return value;
69
+ }
70
+ return {
71
+ 'search': value['search'],
72
+ 'sortBy': value['sortBy'],
73
+ 'sortDirection': value['sortDirection'],
74
+ 'per_page': value['perPage'],
75
+ 'page': value['page'],
76
+ 'related_id': value['relatedId'],
77
+ 'related_type': value['relatedType'],
78
+ 'includes_relations': value['includesRelations'],
79
+ };
80
+ }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { AssetLiteResource } from './AssetLiteResource';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -47,10 +48,10 @@ export interface OverlayTemplateAssetFrontendResource {
47
48
  verticalMargin: number;
48
49
  /**
49
50
  *
50
- * @type {Array<string>}
51
+ * @type {AssetLiteResource}
51
52
  * @memberof OverlayTemplateAssetFrontendResource
52
53
  */
53
- image: Array<string>;
54
+ image: AssetLiteResource | null;
54
55
  }
55
56
  /**
56
57
  * Check if a given object implements the OverlayTemplateAssetFrontendResource interface.
@@ -18,6 +18,7 @@ exports.OverlayTemplateAssetFrontendResourceFromJSON = OverlayTemplateAssetFront
18
18
  exports.OverlayTemplateAssetFrontendResourceFromJSONTyped = OverlayTemplateAssetFrontendResourceFromJSONTyped;
19
19
  exports.OverlayTemplateAssetFrontendResourceToJSON = OverlayTemplateAssetFrontendResourceToJSON;
20
20
  exports.OverlayTemplateAssetFrontendResourceToJSONTyped = OverlayTemplateAssetFrontendResourceToJSONTyped;
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
21
22
  /**
22
23
  * Check if a given object implements the OverlayTemplateAssetFrontendResource interface.
23
24
  */
@@ -49,7 +50,7 @@ function OverlayTemplateAssetFrontendResourceFromJSONTyped(json, ignoreDiscrimin
49
50
  'padding': json['padding'],
50
51
  'horizontalMargin': json['horizontalMargin'],
51
52
  'verticalMargin': json['verticalMargin'],
52
- 'image': json['image'],
53
+ 'image': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['image']),
53
54
  };
54
55
  }
55
56
  function OverlayTemplateAssetFrontendResourceToJSON(json) {
@@ -66,6 +67,6 @@ function OverlayTemplateAssetFrontendResourceToJSONTyped(value, ignoreDiscrimina
66
67
  'padding': value['padding'],
67
68
  'horizontalMargin': value['horizontalMargin'],
68
69
  'verticalMargin': value['verticalMargin'],
69
- 'image': value['image'],
70
+ 'image': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['image']),
70
71
  };
71
72
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { AssetResource } from './AssetResource';
12
+ import type { AssetLiteResource } from './AssetLiteResource';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -24,10 +24,10 @@ export interface OverlayTemplateAssetResource {
24
24
  id: number;
25
25
  /**
26
26
  *
27
- * @type {AssetResource}
27
+ * @type {AssetLiteResource}
28
28
  * @memberof OverlayTemplateAssetResource
29
29
  */
30
- asset: AssetResource | null;
30
+ asset: AssetLiteResource | null;
31
31
  /**
32
32
  *
33
33
  * @type {string}
@@ -18,7 +18,7 @@ exports.OverlayTemplateAssetResourceFromJSON = OverlayTemplateAssetResourceFromJ
18
18
  exports.OverlayTemplateAssetResourceFromJSONTyped = OverlayTemplateAssetResourceFromJSONTyped;
19
19
  exports.OverlayTemplateAssetResourceToJSON = OverlayTemplateAssetResourceToJSON;
20
20
  exports.OverlayTemplateAssetResourceToJSONTyped = OverlayTemplateAssetResourceToJSONTyped;
21
- var AssetResource_1 = require("./AssetResource");
21
+ var AssetLiteResource_1 = require("./AssetLiteResource");
22
22
  /**
23
23
  * Check if a given object implements the OverlayTemplateAssetResource interface.
24
24
  */
@@ -46,7 +46,7 @@ function OverlayTemplateAssetResourceFromJSONTyped(json, ignoreDiscriminator) {
46
46
  }
47
47
  return {
48
48
  'id': json['id'],
49
- 'asset': (0, AssetResource_1.AssetResourceFromJSON)(json['asset']),
49
+ 'asset': (0, AssetLiteResource_1.AssetLiteResourceFromJSON)(json['asset']),
50
50
  'position': json['position'],
51
51
  'padding': json['padding'],
52
52
  'horizontalMargin': json['horizontalMargin'],
@@ -63,7 +63,7 @@ function OverlayTemplateAssetResourceToJSONTyped(value, ignoreDiscriminator) {
63
63
  }
64
64
  return {
65
65
  'id': value['id'],
66
- 'asset': (0, AssetResource_1.AssetResourceToJSON)(value['asset']),
66
+ 'asset': (0, AssetLiteResource_1.AssetLiteResourceToJSON)(value['asset']),
67
67
  'position': value['position'],
68
68
  'padding': value['padding'],
69
69
  'horizontalMargin': value['horizontalMargin'],
@@ -0,0 +1,40 @@
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 { CategoryFrontendResource } from './CategoryFrontendResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedCategoryFrontendResourceResponse
18
+ */
19
+ export interface PaginatedCategoryFrontendResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<CategoryFrontendResource>}
23
+ * @memberof PaginatedCategoryFrontendResourceResponse
24
+ */
25
+ data: Array<CategoryFrontendResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedCategoryFrontendResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedCategoryFrontendResourceResponse(value: object): value is PaginatedCategoryFrontendResourceResponse;
37
+ export declare function PaginatedCategoryFrontendResourceResponseFromJSON(json: any): PaginatedCategoryFrontendResourceResponse;
38
+ export declare function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedCategoryFrontendResourceResponse;
39
+ export declare function PaginatedCategoryFrontendResourceResponseToJSON(json: any): PaginatedCategoryFrontendResourceResponse;
40
+ export declare function PaginatedCategoryFrontendResourceResponseToJSONTyped(value?: PaginatedCategoryFrontendResourceResponse | 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.instanceOfPaginatedCategoryFrontendResourceResponse = instanceOfPaginatedCategoryFrontendResourceResponse;
17
+ exports.PaginatedCategoryFrontendResourceResponseFromJSON = PaginatedCategoryFrontendResourceResponseFromJSON;
18
+ exports.PaginatedCategoryFrontendResourceResponseFromJSONTyped = PaginatedCategoryFrontendResourceResponseFromJSONTyped;
19
+ exports.PaginatedCategoryFrontendResourceResponseToJSON = PaginatedCategoryFrontendResourceResponseToJSON;
20
+ exports.PaginatedCategoryFrontendResourceResponseToJSONTyped = PaginatedCategoryFrontendResourceResponseToJSONTyped;
21
+ var PagingMetadata_1 = require("./PagingMetadata");
22
+ var CategoryFrontendResource_1 = require("./CategoryFrontendResource");
23
+ /**
24
+ * Check if a given object implements the PaginatedCategoryFrontendResourceResponse interface.
25
+ */
26
+ function instanceOfPaginatedCategoryFrontendResourceResponse(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 PaginatedCategoryFrontendResourceResponseFromJSON(json) {
34
+ return PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedCategoryFrontendResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'data': (json['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceFromJSON)),
42
+ 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
+ };
44
+ }
45
+ function PaginatedCategoryFrontendResourceResponseToJSON(json) {
46
+ return PaginatedCategoryFrontendResourceResponseToJSONTyped(json, false);
47
+ }
48
+ function PaginatedCategoryFrontendResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'data': (value['data'].map(CategoryFrontendResource_1.CategoryFrontendResourceToJSON)),
55
+ 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
+ };
57
+ }
@@ -0,0 +1,40 @@
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 { DefinitionListResource } from './DefinitionListResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedDefinitionListResourceResponse
18
+ */
19
+ export interface PaginatedDefinitionListResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<DefinitionListResource>}
23
+ * @memberof PaginatedDefinitionListResourceResponse
24
+ */
25
+ data: Array<DefinitionListResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedDefinitionListResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedDefinitionListResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedDefinitionListResourceResponse(value: object): value is PaginatedDefinitionListResourceResponse;
37
+ export declare function PaginatedDefinitionListResourceResponseFromJSON(json: any): PaginatedDefinitionListResourceResponse;
38
+ export declare function PaginatedDefinitionListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionListResourceResponse;
39
+ export declare function PaginatedDefinitionListResourceResponseToJSON(json: any): PaginatedDefinitionListResourceResponse;
40
+ export declare function PaginatedDefinitionListResourceResponseToJSONTyped(value?: PaginatedDefinitionListResourceResponse | 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.instanceOfPaginatedDefinitionListResourceResponse = instanceOfPaginatedDefinitionListResourceResponse;
17
+ exports.PaginatedDefinitionListResourceResponseFromJSON = PaginatedDefinitionListResourceResponseFromJSON;
18
+ exports.PaginatedDefinitionListResourceResponseFromJSONTyped = PaginatedDefinitionListResourceResponseFromJSONTyped;
19
+ exports.PaginatedDefinitionListResourceResponseToJSON = PaginatedDefinitionListResourceResponseToJSON;
20
+ exports.PaginatedDefinitionListResourceResponseToJSONTyped = PaginatedDefinitionListResourceResponseToJSONTyped;
21
+ var PagingMetadata_1 = require("./PagingMetadata");
22
+ var DefinitionListResource_1 = require("./DefinitionListResource");
23
+ /**
24
+ * Check if a given object implements the PaginatedDefinitionListResourceResponse interface.
25
+ */
26
+ function instanceOfPaginatedDefinitionListResourceResponse(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 PaginatedDefinitionListResourceResponseFromJSON(json) {
34
+ return PaginatedDefinitionListResourceResponseFromJSONTyped(json, false);
35
+ }
36
+ function PaginatedDefinitionListResourceResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'data': (json['data'].map(DefinitionListResource_1.DefinitionListResourceFromJSON)),
42
+ 'meta': (0, PagingMetadata_1.PagingMetadataFromJSON)(json['meta']),
43
+ };
44
+ }
45
+ function PaginatedDefinitionListResourceResponseToJSON(json) {
46
+ return PaginatedDefinitionListResourceResponseToJSONTyped(json, false);
47
+ }
48
+ function PaginatedDefinitionListResourceResponseToJSONTyped(value, ignoreDiscriminator) {
49
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'data': (value['data'].map(DefinitionListResource_1.DefinitionListResourceToJSON)),
55
+ 'meta': (0, PagingMetadata_1.PagingMetadataToJSON)(value['meta']),
56
+ };
57
+ }
@@ -0,0 +1,40 @@
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 { DefinitionResource } from './DefinitionResource';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface PaginatedDefinitionResourceResponse
18
+ */
19
+ export interface PaginatedDefinitionResourceResponse {
20
+ /**
21
+ *
22
+ * @type {Array<DefinitionResource>}
23
+ * @memberof PaginatedDefinitionResourceResponse
24
+ */
25
+ data: Array<DefinitionResource>;
26
+ /**
27
+ *
28
+ * @type {PagingMetadata}
29
+ * @memberof PaginatedDefinitionResourceResponse
30
+ */
31
+ meta: PagingMetadata;
32
+ }
33
+ /**
34
+ * Check if a given object implements the PaginatedDefinitionResourceResponse interface.
35
+ */
36
+ export declare function instanceOfPaginatedDefinitionResourceResponse(value: object): value is PaginatedDefinitionResourceResponse;
37
+ export declare function PaginatedDefinitionResourceResponseFromJSON(json: any): PaginatedDefinitionResourceResponse;
38
+ export declare function PaginatedDefinitionResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedDefinitionResourceResponse;
39
+ export declare function PaginatedDefinitionResourceResponseToJSON(json: any): PaginatedDefinitionResourceResponse;
40
+ export declare function PaginatedDefinitionResourceResponseToJSONTyped(value?: PaginatedDefinitionResourceResponse | null, ignoreDiscriminator?: boolean): any;