@digital8/lighting-illusions-ts-sdk 0.0.1803 → 0.0.1805
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 -7
- package/dist/apis/StoreApi.d.ts +1 -28
- package/dist/apis/StoreApi.js +0 -113
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +0 -12
- package/dist/models/StoreListResource.js +4 -12
- package/dist/models/StoreResource.d.ts +0 -12
- package/dist/models/StoreResource.js +6 -14
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/StoreSpecialDateResource.js +4 -4
- 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 +0 -3
- package/dist/models/index.js +0 -3
- package/docs/StoreApi.md +0 -124
- package/docs/StoreListResource.md +0 -4
- 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/AddressResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/StoreListResource.ts +4 -22
- package/src/models/StoreResource.ts +6 -24
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreSpecialDateResource.ts +4 -4
- package/src/models/StoreStoreRequest.ts +0 -16
- package/src/models/UpdateStoreRequest.ts +0 -16
- package/src/models/index.ts +0 -3
- 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/dist/models/StoreStockType.d.ts +0 -25
- package/dist/models/StoreStockType.js +0 -51
- package/docs/SaveMapStoreStockMigrationRequest.md +0 -34
- package/docs/SaveMapStoreStockMigrationRequestAssociationsInner.md +0 -38
- package/docs/StoreStockType.md +0 -32
- package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
- package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
- package/src/models/StoreStockType.ts +0 -53
|
@@ -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 { SaveMapStoreStockMigrationRequestAssociationsInner } from './SaveMapStoreStockMigrationRequestAssociationsInner';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface SaveMapStoreStockMigrationRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface SaveMapStoreStockMigrationRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<SaveMapStoreStockMigrationRequestAssociationsInner>}
|
|
22
|
-
* @memberof SaveMapStoreStockMigrationRequest
|
|
23
|
-
*/
|
|
24
|
-
associations: Array<SaveMapStoreStockMigrationRequestAssociationsInner>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfSaveMapStoreStockMigrationRequest(value: object): value is SaveMapStoreStockMigrationRequest;
|
|
30
|
-
export declare function SaveMapStoreStockMigrationRequestFromJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
31
|
-
export declare function SaveMapStoreStockMigrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequest;
|
|
32
|
-
export declare function SaveMapStoreStockMigrationRequestToJSON(json: any): SaveMapStoreStockMigrationRequest;
|
|
33
|
-
export declare function SaveMapStoreStockMigrationRequestToJSONTyped(value?: SaveMapStoreStockMigrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +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.instanceOfSaveMapStoreStockMigrationRequest = instanceOfSaveMapStoreStockMigrationRequest;
|
|
17
|
-
exports.SaveMapStoreStockMigrationRequestFromJSON = SaveMapStoreStockMigrationRequestFromJSON;
|
|
18
|
-
exports.SaveMapStoreStockMigrationRequestFromJSONTyped = SaveMapStoreStockMigrationRequestFromJSONTyped;
|
|
19
|
-
exports.SaveMapStoreStockMigrationRequestToJSON = SaveMapStoreStockMigrationRequestToJSON;
|
|
20
|
-
exports.SaveMapStoreStockMigrationRequestToJSONTyped = SaveMapStoreStockMigrationRequestToJSONTyped;
|
|
21
|
-
var SaveMapStoreStockMigrationRequestAssociationsInner_1 = require("./SaveMapStoreStockMigrationRequestAssociationsInner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the SaveMapStoreStockMigrationRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfSaveMapStoreStockMigrationRequest(value) {
|
|
26
|
-
if (!('associations' in value) || value['associations'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function SaveMapStoreStockMigrationRequestFromJSON(json) {
|
|
31
|
-
return SaveMapStoreStockMigrationRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function SaveMapStoreStockMigrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'associations': (json['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function SaveMapStoreStockMigrationRequestToJSON(json) {
|
|
42
|
-
return SaveMapStoreStockMigrationRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function SaveMapStoreStockMigrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
-
if (value == null) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'associations': (value['associations'].map(SaveMapStoreStockMigrationRequestAssociationsInner_1.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON)),
|
|
51
|
-
};
|
|
52
|
-
}
|
|
@@ -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,25 +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
|
-
*/
|
|
16
|
-
export declare const StoreStockType: {
|
|
17
|
-
readonly Display: "display";
|
|
18
|
-
readonly Available: "available";
|
|
19
|
-
};
|
|
20
|
-
export type StoreStockType = typeof StoreStockType[keyof typeof StoreStockType];
|
|
21
|
-
export declare function instanceOfStoreStockType(value: any): boolean;
|
|
22
|
-
export declare function StoreStockTypeFromJSON(json: any): StoreStockType;
|
|
23
|
-
export declare function StoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStockType;
|
|
24
|
-
export declare function StoreStockTypeToJSON(value?: StoreStockType | null): any;
|
|
25
|
-
export declare function StoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): StoreStockType;
|
|
@@ -1,51 +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.StoreStockType = void 0;
|
|
17
|
-
exports.instanceOfStoreStockType = instanceOfStoreStockType;
|
|
18
|
-
exports.StoreStockTypeFromJSON = StoreStockTypeFromJSON;
|
|
19
|
-
exports.StoreStockTypeFromJSONTyped = StoreStockTypeFromJSONTyped;
|
|
20
|
-
exports.StoreStockTypeToJSON = StoreStockTypeToJSON;
|
|
21
|
-
exports.StoreStockTypeToJSONTyped = StoreStockTypeToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @export
|
|
25
|
-
*/
|
|
26
|
-
exports.StoreStockType = {
|
|
27
|
-
Display: 'display',
|
|
28
|
-
Available: 'available'
|
|
29
|
-
};
|
|
30
|
-
function instanceOfStoreStockType(value) {
|
|
31
|
-
for (var key in exports.StoreStockType) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(exports.StoreStockType, key)) {
|
|
33
|
-
if (exports.StoreStockType[key] === value) {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
function StoreStockTypeFromJSON(json) {
|
|
41
|
-
return StoreStockTypeFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function StoreStockTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
function StoreStockTypeToJSON(value) {
|
|
47
|
-
return value;
|
|
48
|
-
}
|
|
49
|
-
function StoreStockTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# SaveMapStoreStockMigrationRequest
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`associations` | [Array<SaveMapStoreStockMigrationRequestAssociationsInner>](SaveMapStoreStockMigrationRequestAssociationsInner.md)
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import type { SaveMapStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
-
|
|
16
|
-
// TODO: Update the object below with actual values
|
|
17
|
-
const example = {
|
|
18
|
-
"associations": null,
|
|
19
|
-
} satisfies SaveMapStoreStockMigrationRequest
|
|
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 SaveMapStoreStockMigrationRequest
|
|
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
|
-
# SaveMapStoreStockMigrationRequestAssociationsInner
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
`locationId` | number
|
|
10
|
-
`storeId` | number
|
|
11
|
-
`type` | string
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import type { SaveMapStoreStockMigrationRequestAssociationsInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
-
|
|
18
|
-
// TODO: Update the object below with actual values
|
|
19
|
-
const example = {
|
|
20
|
-
"locationId": null,
|
|
21
|
-
"storeId": null,
|
|
22
|
-
"type": null,
|
|
23
|
-
} satisfies SaveMapStoreStockMigrationRequestAssociationsInner
|
|
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 SaveMapStoreStockMigrationRequestAssociationsInner
|
|
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
|
-
|
package/docs/StoreStockType.md
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
# StoreStockType
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type
|
|
8
|
-
------------ | -------------
|
|
9
|
-
|
|
10
|
-
## Example
|
|
11
|
-
|
|
12
|
-
```typescript
|
|
13
|
-
import type { StoreStockType } from '@digital8/lighting-illusions-ts-sdk'
|
|
14
|
-
|
|
15
|
-
// TODO: Update the object below with actual values
|
|
16
|
-
const example = {
|
|
17
|
-
} satisfies StoreStockType
|
|
18
|
-
|
|
19
|
-
console.log(example)
|
|
20
|
-
|
|
21
|
-
// Convert the instance to a JSON string
|
|
22
|
-
const exampleJSON: string = JSON.stringify(example)
|
|
23
|
-
console.log(exampleJSON)
|
|
24
|
-
|
|
25
|
-
// Parse the JSON string back to an object
|
|
26
|
-
const exampleParsed = JSON.parse(exampleJSON) as StoreStockType
|
|
27
|
-
console.log(exampleParsed)
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
31
|
-
|
|
32
|
-
|
|
@@ -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
|
-
|
|
@@ -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 StoreStockType = {
|
|
21
|
-
Display: 'display',
|
|
22
|
-
Available: 'available'
|
|
23
|
-
} as const;
|
|
24
|
-
export type StoreStockType = typeof StoreStockType[keyof typeof StoreStockType];
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export function instanceOfStoreStockType(value: any): boolean {
|
|
28
|
-
for (const key in StoreStockType) {
|
|
29
|
-
if (Object.prototype.hasOwnProperty.call(StoreStockType, key)) {
|
|
30
|
-
if (StoreStockType[key as keyof typeof StoreStockType] === value) {
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
return false;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function StoreStockTypeFromJSON(json: any): StoreStockType {
|
|
39
|
-
return StoreStockTypeFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function StoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStockType {
|
|
43
|
-
return json as StoreStockType;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function StoreStockTypeToJSON(value?: StoreStockType | null): any {
|
|
47
|
-
return value as any;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function StoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): StoreStockType {
|
|
51
|
-
return value as StoreStockType;
|
|
52
|
-
}
|
|
53
|
-
|