@digital8/lighting-illusions-ts-sdk 0.0.1632 → 0.0.1633
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 +18 -6
- package/README.md +11 -7
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/BlogCategoryListResource.d.ts +44 -0
- package/dist/models/BlogCategoryListResource.js +59 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryListResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryLiteResource.d.ts +38 -0
- package/dist/models/BlogCategoryLiteResource.js +55 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryLiteResourceArrayResponse.js +50 -0
- package/dist/models/BlogCategoryResource.d.ts +51 -0
- package/dist/models/BlogCategoryResource.js +64 -0
- package/dist/models/BlogCategoryResourceArrayResponse.d.ts +33 -0
- package/dist/models/BlogCategoryResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryListResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +57 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedBlogCategoryResourceResponse.js +57 -0
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +0 -12
- package/dist/models/StoreResource.js +0 -4
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/StoreStoreRequest.d.ts +0 -12
- package/dist/models/StoreStoreRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +0 -12
- package/dist/models/UpdateStoreRequest.js +0 -4
- package/dist/models/index.d.ts +9 -3
- package/dist/models/index.js +9 -3
- package/docs/{SaveMapStoreStockMigrationRequestAssociationsInner.md → BlogCategoryListResource.md} +10 -10
- package/docs/BlogCategoryListResourceArrayResponse.md +34 -0
- package/docs/{ProductChildStoreStockType.md → BlogCategoryLiteResource.md} +8 -4
- package/docs/BlogCategoryLiteResourceArrayResponse.md +34 -0
- package/docs/BlogCategoryResource.md +40 -0
- package/docs/{SaveMapStoreStockMigrationRequest.md → BlogCategoryResourceArrayResponse.md} +6 -6
- package/docs/PaginatedBlogCategoryListResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +36 -0
- package/docs/PaginatedBlogCategoryResourceResponse.md +36 -0
- package/docs/StoreApi.md +0 -124
- package/docs/StoreResource.md +0 -4
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreStoreRequest.md +0 -4
- package/docs/UpdateStoreRequest.md +0 -4
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +0 -84
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/BlogCategoryListResource.ts +84 -0
- package/src/models/BlogCategoryListResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryLiteResource.ts +75 -0
- package/src/models/BlogCategoryLiteResourceArrayResponse.ts +73 -0
- package/src/models/BlogCategoryResource.ts +101 -0
- package/src/models/BlogCategoryResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedBlogCategoryListResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +90 -0
- package/src/models/PaginatedBlogCategoryResourceResponse.ts +90 -0
- package/src/models/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +0 -16
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/index.ts +9 -3
- package/dist/models/ProductChildStoreStockType.d.ts +0 -25
- package/dist/models/ProductChildStoreStockType.js +0 -51
- package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
- package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
- package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
- package/src/models/ProductChildStoreStockType.ts +0 -53
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
|
@@ -1,52 +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 SaveMapStoreStockMigrationRequestAssociationsInner
|
|
16
|
-
*/
|
|
17
|
-
export interface SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
22
|
-
*/
|
|
23
|
-
locationId: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
28
|
-
*/
|
|
29
|
-
storeId: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
|
|
33
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
34
|
-
*/
|
|
35
|
-
type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum: {
|
|
41
|
-
readonly Available: "available";
|
|
42
|
-
readonly Display: "display";
|
|
43
|
-
};
|
|
44
|
-
export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
49
|
-
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
50
|
-
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
51
|
-
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
|
|
52
|
-
export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = void 0;
|
|
17
|
-
exports.instanceOfSaveMapStoreStockMigrationRequestAssociationsInner = instanceOfSaveMapStoreStockMigrationRequestAssociationsInner;
|
|
18
|
-
exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON;
|
|
19
|
-
exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped;
|
|
20
|
-
exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON = SaveMapStoreStockMigrationRequestAssociationsInnerToJSON;
|
|
21
|
-
exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = {
|
|
26
|
-
Available: 'available',
|
|
27
|
-
Display: 'display'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value) {
|
|
33
|
-
if (!('locationId' in value) || value['locationId'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('storeId' in value) || value['storeId'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json) {
|
|
42
|
-
return SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'locationId': json['location_id'],
|
|
50
|
-
'storeId': json['store_id'],
|
|
51
|
-
'type': json['type'],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json) {
|
|
55
|
-
return SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'location_id': value['locationId'],
|
|
64
|
-
'store_id': value['storeId'],
|
|
65
|
-
'type': value['type'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,53 +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
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export const ProductChildStoreStockType = {
|
|
21
|
-
Display: 'display',
|
|
22
|
-
Available: 'available'
|
|
23
|
-
} as const;
|
|
24
|
-
export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfProductChildStoreStockType(value: any): boolean {
|
|
28
|
-
for (const key in ProductChildStoreStockType) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(ProductChildStoreStockType, key)) {
|
|
30
|
-
if (ProductChildStoreStockType[key as keyof typeof ProductChildStoreStockType] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType {
|
|
39
|
-
return ProductChildStoreStockTypeFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
|
|
43
|
-
return json as ProductChildStoreStockType;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
|
|
51
|
-
return value as ProductChildStoreStockType;
|
|
52
|
-
}
|
|
53
|
-
|
|
@@ -1,74 +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 { SaveMapStoreStockMigrationRequestAssociationsInner } from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
17
|
-
import {
|
|
18
|
-
SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON,
|
|
19
|
-
SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped,
|
|
20
|
-
SaveMapStoreStockMigrationRequestAssociationsInnerToJSON,
|
|
21
|
-
SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped,
|
|
22
|
-
} from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface SaveMapStoreStockMigrationRequest
|
|
28
|
-
*/
|
|
29
|
-
export interface SaveMapStoreStockMigrationRequest {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<SaveMapStoreStockMigrationRequestAssociationsInner>}
|
|
33
|
-
* @memberof SaveMapStoreStockMigrationRequest
|
|
34
|
-
*/
|
|
35
|
-
associations: Array<SaveMapStoreStockMigrationRequestAssociationsInner>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfSaveMapStoreStockMigrationRequest(value: object): value is SaveMapStoreStockMigrationRequest {
|
|
42
|
-
if (!('associations' in value) || value['associations'] === undefined) return false;
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function SaveMapStoreStockMigrationRequestFromJSON(json: any): SaveMapStoreStockMigrationRequest {
|
|
47
|
-
return SaveMapStoreStockMigrationRequestFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function SaveMapStoreStockMigrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequest {
|
|
51
|
-
if (json == null) {
|
|
52
|
-
return json;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
|
|
56
|
-
'associations': ((json['associations'] as Array<any>).map(SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON)),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function SaveMapStoreStockMigrationRequestToJSON(json: any): SaveMapStoreStockMigrationRequest {
|
|
61
|
-
return SaveMapStoreStockMigrationRequestToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function SaveMapStoreStockMigrationRequestToJSONTyped(value?: SaveMapStoreStockMigrationRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'associations': ((value['associations'] as Array<any>).map(SaveMapStoreStockMigrationRequestAssociationsInnerToJSON)),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
@@ -1,95 +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 SaveMapStoreStockMigrationRequestAssociationsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
26
|
-
*/
|
|
27
|
-
locationId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
32
|
-
*/
|
|
33
|
-
storeId: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
|
|
37
|
-
* @memberof SaveMapStoreStockMigrationRequestAssociationsInner
|
|
38
|
-
*/
|
|
39
|
-
type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = {
|
|
47
|
-
Available: 'available',
|
|
48
|
-
Display: 'display'
|
|
49
|
-
} as const;
|
|
50
|
-
export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/**
|
|
54
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
|
|
55
|
-
*/
|
|
56
|
-
export function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
57
|
-
if (!('locationId' in value) || value['locationId'] === undefined) return false;
|
|
58
|
-
if (!('storeId' in value) || value['storeId'] === undefined) return false;
|
|
59
|
-
if (!('type' in value) || value['type'] === undefined) return false;
|
|
60
|
-
return true;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
64
|
-
return SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
68
|
-
if (json == null) {
|
|
69
|
-
return json;
|
|
70
|
-
}
|
|
71
|
-
return {
|
|
72
|
-
|
|
73
|
-
'locationId': json['location_id'],
|
|
74
|
-
'storeId': json['store_id'],
|
|
75
|
-
'type': json['type'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner {
|
|
80
|
-
return SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(json, false);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
-
if (value == null) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
|
|
90
|
-
'location_id': value['locationId'],
|
|
91
|
-
'store_id': value['storeId'],
|
|
92
|
-
'type': value['type'],
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
|