@digital8/lighting-illusions-ts-sdk 0.0.490 → 0.0.492
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.
- package/.openapi-generator/FILES +0 -6
- package/README.md +2 -5
- package/dist/models/IndexExternalApiLogRequest.d.ts +6 -0
- package/dist/models/IndexExternalApiLogRequest.js +2 -0
- package/dist/models/ProductChildSiteDetailResource.d.ts +8 -2
- package/dist/models/ProductChildSiteDetailResource.js +4 -4
- package/dist/models/SEOResource.d.ts +20 -2
- package/dist/models/SEOResource.js +20 -8
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +15 -3
- package/dist/models/StoreProductChildRequestSitesInner.js +9 -7
- package/dist/models/StoreSupplierRequest.d.ts +0 -7
- package/dist/models/StoreSupplierRequest.js +0 -5
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +20 -2
- package/dist/models/StoreSupplierRequestSeoInner.js +10 -4
- package/dist/models/StoreTagRequest.d.ts +9 -3
- package/dist/models/StoreTagRequest.js +8 -6
- package/dist/models/SupplierFrontendResource.d.ts +0 -7
- package/dist/models/SupplierFrontendResource.js +0 -5
- package/dist/models/SupplierResource.d.ts +0 -7
- package/dist/models/SupplierResource.js +0 -5
- package/dist/models/TagResource.d.ts +0 -7
- package/dist/models/TagResource.js +0 -5
- package/dist/models/UpdateSupplierRequest.d.ts +0 -7
- package/dist/models/UpdateSupplierRequest.js +0 -5
- package/dist/models/UpdateTagRequest.d.ts +9 -3
- package/dist/models/UpdateTagRequest.js +8 -6
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/docs/IndexExternalApiLogRequest.md +2 -0
- package/docs/ProductChildSiteDetailResource.md +4 -2
- package/docs/SEOResource.md +10 -4
- package/docs/StoreProductChildRequestSitesInner.md +8 -4
- package/docs/StoreSupplierRequest.md +0 -2
- package/docs/StoreSupplierRequestSeoInner.md +10 -4
- package/docs/StoreTagRequest.md +8 -6
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/TagResource.md +0 -2
- package/docs/UpdateSupplierRequest.md +0 -2
- package/docs/UpdateTagRequest.md +8 -6
- package/package.json +1 -1
- package/src/models/IndexExternalApiLogRequest.ts +8 -0
- package/src/models/ProductChildSiteDetailResource.ts +12 -5
- package/src/models/SEOResource.ts +37 -10
- package/src/models/StoreProductChildRequestSitesInner.ts +24 -9
- package/src/models/StoreSupplierRequest.ts +0 -16
- package/src/models/StoreSupplierRequestSeoInner.ts +30 -6
- package/src/models/StoreTagRequest.ts +17 -9
- package/src/models/SupplierFrontendResource.ts +0 -16
- package/src/models/SupplierResource.ts +0 -16
- package/src/models/TagResource.ts +0 -16
- package/src/models/UpdateSupplierRequest.ts +0 -16
- package/src/models/UpdateTagRequest.ts +17 -9
- package/src/models/index.ts +0 -3
- package/dist/models/DescriptionResource.d.ts +0 -50
- package/dist/models/DescriptionResource.js +0 -63
- package/dist/models/DescriptionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DescriptionResourceArrayResponse.js +0 -50
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
- package/docs/DescriptionResource.md +0 -40
- package/docs/DescriptionResourceArrayResponse.md +0 -34
- package/docs/StoreSupplierRequestDescriptionsInner.md +0 -38
- package/src/models/DescriptionResource.ts +0 -93
- package/src/models/DescriptionResourceArrayResponse.ts +0 -73
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
|
@@ -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 { DescriptionResource } from './DescriptionResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DescriptionResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface DescriptionResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<DescriptionResource>}
|
|
22
|
-
* @memberof DescriptionResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<DescriptionResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfDescriptionResourceArrayResponse(value: object): value is DescriptionResourceArrayResponse;
|
|
30
|
-
export declare function DescriptionResourceArrayResponseFromJSON(json: any): DescriptionResourceArrayResponse;
|
|
31
|
-
export declare function DescriptionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResourceArrayResponse;
|
|
32
|
-
export declare function DescriptionResourceArrayResponseToJSON(json: any): DescriptionResourceArrayResponse;
|
|
33
|
-
export declare function DescriptionResourceArrayResponseToJSONTyped(value?: DescriptionResourceArrayResponse | 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.instanceOfDescriptionResourceArrayResponse = instanceOfDescriptionResourceArrayResponse;
|
|
17
|
-
exports.DescriptionResourceArrayResponseFromJSON = DescriptionResourceArrayResponseFromJSON;
|
|
18
|
-
exports.DescriptionResourceArrayResponseFromJSONTyped = DescriptionResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.DescriptionResourceArrayResponseToJSON = DescriptionResourceArrayResponseToJSON;
|
|
20
|
-
exports.DescriptionResourceArrayResponseToJSONTyped = DescriptionResourceArrayResponseToJSONTyped;
|
|
21
|
-
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfDescriptionResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function DescriptionResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return DescriptionResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function DescriptionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function DescriptionResourceArrayResponseToJSON(json) {
|
|
40
|
-
return DescriptionResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function DescriptionResourceArrayResponseToJSONTyped(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(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,44 +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 StoreSupplierRequestDescriptionsInner
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreSupplierRequestDescriptionsInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
22
|
-
*/
|
|
23
|
-
headerDescription?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
28
|
-
*/
|
|
29
|
-
footerDescription?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
34
|
-
*/
|
|
35
|
-
siteId: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner;
|
|
41
|
-
export declare function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner;
|
|
42
|
-
export declare function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner;
|
|
43
|
-
export declare function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner;
|
|
44
|
-
export declare function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | 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.instanceOfStoreSupplierRequestDescriptionsInner = instanceOfStoreSupplierRequestDescriptionsInner;
|
|
17
|
-
exports.StoreSupplierRequestDescriptionsInnerFromJSON = StoreSupplierRequestDescriptionsInnerFromJSON;
|
|
18
|
-
exports.StoreSupplierRequestDescriptionsInnerFromJSONTyped = StoreSupplierRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
-
exports.StoreSupplierRequestDescriptionsInnerToJSON = StoreSupplierRequestDescriptionsInnerToJSON;
|
|
20
|
-
exports.StoreSupplierRequestDescriptionsInnerToJSONTyped = StoreSupplierRequestDescriptionsInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreSupplierRequestDescriptionsInner(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function StoreSupplierRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
-
return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
38
|
-
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
39
|
-
'siteId': json['site_id'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function StoreSupplierRequestDescriptionsInnerToJSON(json) {
|
|
43
|
-
return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function StoreSupplierRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'header_description': value['headerDescription'],
|
|
52
|
-
'footer_description': value['footerDescription'],
|
|
53
|
-
'site_id': value['siteId'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DescriptionResource
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`id` | number
|
|
10
|
-
`headerDescription` | string
|
|
11
|
-
`footerDescription` | string
|
|
12
|
-
`siteId` | number
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import type { DescriptionResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
18
|
-
|
|
19
|
-
// TODO: Update the object below with actual values
|
|
20
|
-
const example = {
|
|
21
|
-
"id": null,
|
|
22
|
-
"headerDescription": null,
|
|
23
|
-
"footerDescription": null,
|
|
24
|
-
"siteId": null,
|
|
25
|
-
} satisfies DescriptionResource
|
|
26
|
-
|
|
27
|
-
console.log(example)
|
|
28
|
-
|
|
29
|
-
// Convert the instance to a JSON string
|
|
30
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
31
|
-
console.log(exampleJSON)
|
|
32
|
-
|
|
33
|
-
// Parse the JSON string back to an object
|
|
34
|
-
const exampleParsed = JSON.parse(exampleJSON) as DescriptionResource
|
|
35
|
-
console.log(exampleParsed)
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
39
|
-
|
|
40
|
-
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# DescriptionResourceArrayResponse
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`data` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { DescriptionResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"data": null,
|
|
19
|
-
} satisfies DescriptionResourceArrayResponse
|
|
20
|
-
|
|
21
|
-
console.log(example)
|
|
22
|
-
|
|
23
|
-
// Convert the instance to a JSON string
|
|
24
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
-
console.log(exampleJSON)
|
|
26
|
-
|
|
27
|
-
// Parse the JSON string back to an object
|
|
28
|
-
const exampleParsed = JSON.parse(exampleJSON) as DescriptionResourceArrayResponse
|
|
29
|
-
console.log(exampleParsed)
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
-
|
|
34
|
-
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# StoreSupplierRequestDescriptionsInner
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`headerDescription` | string
|
|
10
|
-
`footerDescription` | string
|
|
11
|
-
`siteId` | number
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { StoreSupplierRequestDescriptionsInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"headerDescription": null,
|
|
21
|
-
"footerDescription": null,
|
|
22
|
-
"siteId": null,
|
|
23
|
-
} satisfies StoreSupplierRequestDescriptionsInner
|
|
24
|
-
|
|
25
|
-
console.log(example)
|
|
26
|
-
|
|
27
|
-
// Convert the instance to a JSON string
|
|
28
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
-
console.log(exampleJSON)
|
|
30
|
-
|
|
31
|
-
// Parse the JSON string back to an object
|
|
32
|
-
const exampleParsed = JSON.parse(exampleJSON) as StoreSupplierRequestDescriptionsInner
|
|
33
|
-
console.log(exampleParsed)
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
-
|
|
38
|
-
|
|
@@ -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 DescriptionResource
|
|
20
|
-
*/
|
|
21
|
-
export interface DescriptionResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof DescriptionResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof DescriptionResource
|
|
32
|
-
*/
|
|
33
|
-
headerDescription: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof DescriptionResource
|
|
38
|
-
*/
|
|
39
|
-
footerDescription: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof DescriptionResource
|
|
44
|
-
*/
|
|
45
|
-
siteId: number;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the DescriptionResource interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfDescriptionResource(value: object): value is DescriptionResource {
|
|
52
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
53
|
-
if (!('headerDescription' in value) || value['headerDescription'] === undefined) return false;
|
|
54
|
-
if (!('footerDescription' in value) || value['footerDescription'] === undefined) return false;
|
|
55
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function DescriptionResourceFromJSON(json: any): DescriptionResource {
|
|
60
|
-
return DescriptionResourceFromJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResource {
|
|
64
|
-
if (json == null) {
|
|
65
|
-
return json;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
|
|
69
|
-
'id': json['id'],
|
|
70
|
-
'headerDescription': json['headerDescription'],
|
|
71
|
-
'footerDescription': json['footerDescription'],
|
|
72
|
-
'siteId': json['siteId'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function DescriptionResourceToJSON(json: any): DescriptionResource {
|
|
77
|
-
return DescriptionResourceToJSONTyped(json, false);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export function DescriptionResourceToJSONTyped(value?: DescriptionResource | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
-
if (value == null) {
|
|
82
|
-
return value;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
return {
|
|
86
|
-
|
|
87
|
-
'id': value['id'],
|
|
88
|
-
'headerDescription': value['headerDescription'],
|
|
89
|
-
'footerDescription': value['footerDescription'],
|
|
90
|
-
'siteId': value['siteId'],
|
|
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 { DescriptionResource } from './DescriptionResource';
|
|
17
|
-
import {
|
|
18
|
-
DescriptionResourceFromJSON,
|
|
19
|
-
DescriptionResourceFromJSONTyped,
|
|
20
|
-
DescriptionResourceToJSON,
|
|
21
|
-
DescriptionResourceToJSONTyped,
|
|
22
|
-
} from './DescriptionResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface DescriptionResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface DescriptionResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<DescriptionResource>}
|
|
33
|
-
* @memberof DescriptionResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<DescriptionResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfDescriptionResourceArrayResponse(value: object): value is DescriptionResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function DescriptionResourceArrayResponseFromJSON(json: any): DescriptionResourceArrayResponse {
|
|
46
|
-
return DescriptionResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function DescriptionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(DescriptionResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function DescriptionResourceArrayResponseToJSON(json: any): DescriptionResourceArrayResponse {
|
|
60
|
-
return DescriptionResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function DescriptionResourceArrayResponseToJSONTyped(value?: DescriptionResourceArrayResponse | 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(DescriptionResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,82 +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 StoreSupplierRequestDescriptionsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface StoreSupplierRequestDescriptionsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
26
|
-
*/
|
|
27
|
-
headerDescription?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
32
|
-
*/
|
|
33
|
-
footerDescription?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
38
|
-
*/
|
|
39
|
-
siteId: number;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner {
|
|
46
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner {
|
|
51
|
-
return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
61
|
-
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
62
|
-
'siteId': json['site_id'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner {
|
|
67
|
-
return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'header_description': value['headerDescription'],
|
|
78
|
-
'footer_description': value['footerDescription'],
|
|
79
|
-
'site_id': value['siteId'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|