@digital8/lighting-illusions-ts-sdk 0.0.1111 → 0.0.1113
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 -38
- package/README.md +2 -31
- package/dist/apis/SupplierApi.d.ts +1 -33
- package/dist/apis/SupplierApi.js +0 -122
- package/dist/apis/index.d.ts +0 -1
- package/dist/apis/index.js +0 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/ProductChildResource.d.ts +6 -0
- package/dist/models/ProductChildResource.js +4 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequest.js +2 -6
- package/dist/models/StoreProductChildRequest.d.ts +2 -2
- package/dist/models/StoreProductChildRequest.js +2 -6
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +2 -2
- package/dist/models/StoreProductChildRequestSitesInner.js +2 -6
- package/dist/models/SupplierResource.d.ts +0 -6
- package/dist/models/SupplierResource.js +0 -4
- package/dist/models/UpdateProductChildRequest.d.ts +2 -2
- package/dist/models/UpdateProductChildRequest.js +2 -6
- package/dist/models/index.d.ts +0 -18
- package/dist/models/index.js +0 -18
- package/docs/ProductChildResource.md +2 -0
- package/docs/SupplierApi.md +0 -138
- package/docs/SupplierResource.md +0 -2
- package/package.json +1 -1
- package/src/apis/SupplierApi.ts +0 -112
- package/src/apis/index.ts +0 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/ProductChildResource.ts +9 -0
- package/src/models/StoreProductCategoryRequest.ts +4 -6
- package/src/models/StoreProductChildRequest.ts +4 -6
- package/src/models/StoreProductChildRequestSitesInner.ts +4 -6
- package/src/models/SupplierResource.ts +0 -9
- package/src/models/UpdateProductChildRequest.ts +4 -6
- package/src/models/index.ts +0 -18
- package/dist/apis/StoreApi.d.ts +0 -158
- package/dist/apis/StoreApi.js +0 -621
- package/dist/models/AddressResource.d.ts +0 -74
- package/dist/models/AddressResource.js +0 -79
- package/dist/models/AddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/AddressResourceArrayResponse.js +0 -50
- package/dist/models/AttachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/AttachStoresSupplierRequest.js +0 -51
- package/dist/models/AttachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/AttachSuppliersStoreRequest.js +0 -51
- package/dist/models/DetachStoresSupplierRequest.d.ts +0 -32
- package/dist/models/DetachStoresSupplierRequest.js +0 -51
- package/dist/models/DetachSuppliersStoreRequest.d.ts +0 -32
- package/dist/models/DetachSuppliersStoreRequest.js +0 -51
- package/dist/models/GetAllStoreRequest.d.ts +0 -93
- package/dist/models/GetAllStoreRequest.js +0 -81
- package/dist/models/StoreListResource.d.ts +0 -93
- package/dist/models/StoreListResource.js +0 -82
- package/dist/models/StoreListResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreListResourceArrayResponse.js +0 -50
- package/dist/models/StoreResource.d.ts +0 -112
- package/dist/models/StoreResource.js +0 -97
- package/dist/models/StoreResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreResourceArrayResponse.js +0 -50
- package/dist/models/StoreSpecialDateResource.d.ts +0 -56
- package/dist/models/StoreSpecialDateResource.js +0 -65
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +0 -33
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +0 -50
- package/dist/models/StoreStoreRequest.d.ts +0 -177
- package/dist/models/StoreStoreRequest.js +0 -124
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +0 -50
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +0 -57
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +0 -50
- package/dist/models/StoreStoreSpecialDateRequest.js +0 -57
- package/dist/models/UpdateStoreRequest.d.ts +0 -177
- package/dist/models/UpdateStoreRequest.js +0 -124
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +0 -56
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +0 -57
- package/docs/AddressResource.md +0 -48
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AttachStoresSupplierRequest.md +0 -34
- package/docs/AttachSuppliersStoreRequest.md +0 -34
- package/docs/DetachStoresSupplierRequest.md +0 -34
- package/docs/DetachSuppliersStoreRequest.md +0 -34
- package/docs/GetAllStoreRequest.md +0 -48
- package/docs/StoreApi.md +0 -617
- package/docs/StoreListResource.md +0 -54
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -60
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateResource.md +0 -42
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStoreRequest.md +0 -82
- package/docs/StoreStoreRequestSpecialDatesInner.md +0 -40
- package/docs/StoreStoreSpecialDateRequest.md +0 -40
- package/docs/UpdateStoreRequest.md +0 -82
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/src/apis/StoreApi.ts +0 -513
- package/src/models/AddressResource.ts +0 -129
- package/src/models/AddressResourceArrayResponse.ts +0 -73
- package/src/models/AttachStoresSupplierRequest.ts +0 -66
- package/src/models/AttachSuppliersStoreRequest.ts +0 -66
- package/src/models/DetachStoresSupplierRequest.ts +0 -66
- package/src/models/DetachSuppliersStoreRequest.ts +0 -66
- package/src/models/GetAllStoreRequest.ts +0 -144
- package/src/models/StoreListResource.ts +0 -159
- package/src/models/StoreListResourceArrayResponse.ts +0 -73
- package/src/models/StoreResource.ts +0 -194
- package/src/models/StoreResourceArrayResponse.ts +0 -73
- package/src/models/StoreSpecialDateResource.ts +0 -101
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +0 -73
- package/src/models/StoreStoreRequest.ts +0 -278
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +0 -90
- package/src/models/StoreStoreSpecialDateRequest.ts +0 -90
- package/src/models/UpdateStoreRequest.ts +0 -278
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +0 -97
|
@@ -1,74 +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 AddressResource
|
|
16
|
-
*/
|
|
17
|
-
export interface AddressResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof AddressResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AddressResource
|
|
28
|
-
*/
|
|
29
|
-
company: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof AddressResource
|
|
34
|
-
*/
|
|
35
|
-
line1: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof AddressResource
|
|
40
|
-
*/
|
|
41
|
-
line2: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof AddressResource
|
|
46
|
-
*/
|
|
47
|
-
postcode: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof AddressResource
|
|
52
|
-
*/
|
|
53
|
-
suburb: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof AddressResource
|
|
58
|
-
*/
|
|
59
|
-
country: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof AddressResource
|
|
64
|
-
*/
|
|
65
|
-
state: string;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the AddressResource interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfAddressResource(value: object): value is AddressResource;
|
|
71
|
-
export declare function AddressResourceFromJSON(json: any): AddressResource;
|
|
72
|
-
export declare function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResource;
|
|
73
|
-
export declare function AddressResourceToJSON(json: any): AddressResource;
|
|
74
|
-
export declare function AddressResourceToJSONTyped(value?: AddressResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,79 +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.instanceOfAddressResource = instanceOfAddressResource;
|
|
17
|
-
exports.AddressResourceFromJSON = AddressResourceFromJSON;
|
|
18
|
-
exports.AddressResourceFromJSONTyped = AddressResourceFromJSONTyped;
|
|
19
|
-
exports.AddressResourceToJSON = AddressResourceToJSON;
|
|
20
|
-
exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AddressResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAddressResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('company' in value) || value['company'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('line1' in value) || value['line1'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('line2' in value) || value['line2'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('postcode' in value) || value['postcode'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('suburb' in value) || value['suburb'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('country' in value) || value['country'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function AddressResourceFromJSON(json) {
|
|
44
|
-
return AddressResourceFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'id': json['id'],
|
|
52
|
-
'company': json['company'],
|
|
53
|
-
'line1': json['line_1'],
|
|
54
|
-
'line2': json['line_2'],
|
|
55
|
-
'postcode': json['postcode'],
|
|
56
|
-
'suburb': json['suburb'],
|
|
57
|
-
'country': json['country'],
|
|
58
|
-
'state': json['state'],
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function AddressResourceToJSON(json) {
|
|
62
|
-
return AddressResourceToJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
function AddressResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
65
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
'id': value['id'],
|
|
71
|
-
'company': value['company'],
|
|
72
|
-
'line_1': value['line1'],
|
|
73
|
-
'line_2': value['line2'],
|
|
74
|
-
'postcode': value['postcode'],
|
|
75
|
-
'suburb': value['suburb'],
|
|
76
|
-
'country': value['country'],
|
|
77
|
-
'state': value['state'],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
@@ -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 { AddressResource } from './AddressResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface AddressResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<AddressResource>}
|
|
22
|
-
* @memberof AddressResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<AddressResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfAddressResourceArrayResponse(value: object): value is AddressResourceArrayResponse;
|
|
30
|
-
export declare function AddressResourceArrayResponseFromJSON(json: any): AddressResourceArrayResponse;
|
|
31
|
-
export declare function AddressResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressResourceArrayResponse;
|
|
32
|
-
export declare function AddressResourceArrayResponseToJSON(json: any): AddressResourceArrayResponse;
|
|
33
|
-
export declare function AddressResourceArrayResponseToJSONTyped(value?: AddressResourceArrayResponse | 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.instanceOfAddressResourceArrayResponse = instanceOfAddressResourceArrayResponse;
|
|
17
|
-
exports.AddressResourceArrayResponseFromJSON = AddressResourceArrayResponseFromJSON;
|
|
18
|
-
exports.AddressResourceArrayResponseFromJSONTyped = AddressResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.AddressResourceArrayResponseToJSON = AddressResourceArrayResponseToJSON;
|
|
20
|
-
exports.AddressResourceArrayResponseToJSONTyped = AddressResourceArrayResponseToJSONTyped;
|
|
21
|
-
var AddressResource_1 = require("./AddressResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AddressResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAddressResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function AddressResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return AddressResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function AddressResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(AddressResource_1.AddressResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function AddressResourceArrayResponseToJSON(json) {
|
|
40
|
-
return AddressResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function AddressResourceArrayResponseToJSONTyped(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(AddressResource_1.AddressResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,32 +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 AttachStoresSupplierRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface AttachStoresSupplierRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof AttachStoresSupplierRequest
|
|
22
|
-
*/
|
|
23
|
-
storeIds: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AttachStoresSupplierRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAttachStoresSupplierRequest(value: object): value is AttachStoresSupplierRequest;
|
|
29
|
-
export declare function AttachStoresSupplierRequestFromJSON(json: any): AttachStoresSupplierRequest;
|
|
30
|
-
export declare function AttachStoresSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachStoresSupplierRequest;
|
|
31
|
-
export declare function AttachStoresSupplierRequestToJSON(json: any): AttachStoresSupplierRequest;
|
|
32
|
-
export declare function AttachStoresSupplierRequestToJSONTyped(value?: AttachStoresSupplierRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfAttachStoresSupplierRequest = instanceOfAttachStoresSupplierRequest;
|
|
17
|
-
exports.AttachStoresSupplierRequestFromJSON = AttachStoresSupplierRequestFromJSON;
|
|
18
|
-
exports.AttachStoresSupplierRequestFromJSONTyped = AttachStoresSupplierRequestFromJSONTyped;
|
|
19
|
-
exports.AttachStoresSupplierRequestToJSON = AttachStoresSupplierRequestToJSON;
|
|
20
|
-
exports.AttachStoresSupplierRequestToJSONTyped = AttachStoresSupplierRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AttachStoresSupplierRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAttachStoresSupplierRequest(value) {
|
|
25
|
-
if (!('storeIds' in value) || value['storeIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function AttachStoresSupplierRequestFromJSON(json) {
|
|
30
|
-
return AttachStoresSupplierRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function AttachStoresSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'storeIds': json['store_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function AttachStoresSupplierRequestToJSON(json) {
|
|
41
|
-
return AttachStoresSupplierRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AttachStoresSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'store_ids': value['storeIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,32 +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 AttachSuppliersStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface AttachSuppliersStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof AttachSuppliersStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
supplierIds: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the AttachSuppliersStoreRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfAttachSuppliersStoreRequest(value: object): value is AttachSuppliersStoreRequest;
|
|
29
|
-
export declare function AttachSuppliersStoreRequestFromJSON(json: any): AttachSuppliersStoreRequest;
|
|
30
|
-
export declare function AttachSuppliersStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachSuppliersStoreRequest;
|
|
31
|
-
export declare function AttachSuppliersStoreRequestToJSON(json: any): AttachSuppliersStoreRequest;
|
|
32
|
-
export declare function AttachSuppliersStoreRequestToJSONTyped(value?: AttachSuppliersStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfAttachSuppliersStoreRequest = instanceOfAttachSuppliersStoreRequest;
|
|
17
|
-
exports.AttachSuppliersStoreRequestFromJSON = AttachSuppliersStoreRequestFromJSON;
|
|
18
|
-
exports.AttachSuppliersStoreRequestFromJSONTyped = AttachSuppliersStoreRequestFromJSONTyped;
|
|
19
|
-
exports.AttachSuppliersStoreRequestToJSON = AttachSuppliersStoreRequestToJSON;
|
|
20
|
-
exports.AttachSuppliersStoreRequestToJSONTyped = AttachSuppliersStoreRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the AttachSuppliersStoreRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfAttachSuppliersStoreRequest(value) {
|
|
25
|
-
if (!('supplierIds' in value) || value['supplierIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function AttachSuppliersStoreRequestFromJSON(json) {
|
|
30
|
-
return AttachSuppliersStoreRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function AttachSuppliersStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'supplierIds': json['supplier_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function AttachSuppliersStoreRequestToJSON(json) {
|
|
41
|
-
return AttachSuppliersStoreRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function AttachSuppliersStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'supplier_ids': value['supplierIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,32 +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 DetachStoresSupplierRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface DetachStoresSupplierRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof DetachStoresSupplierRequest
|
|
22
|
-
*/
|
|
23
|
-
storeIds: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DetachStoresSupplierRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDetachStoresSupplierRequest(value: object): value is DetachStoresSupplierRequest;
|
|
29
|
-
export declare function DetachStoresSupplierRequestFromJSON(json: any): DetachStoresSupplierRequest;
|
|
30
|
-
export declare function DetachStoresSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachStoresSupplierRequest;
|
|
31
|
-
export declare function DetachStoresSupplierRequestToJSON(json: any): DetachStoresSupplierRequest;
|
|
32
|
-
export declare function DetachStoresSupplierRequestToJSONTyped(value?: DetachStoresSupplierRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfDetachStoresSupplierRequest = instanceOfDetachStoresSupplierRequest;
|
|
17
|
-
exports.DetachStoresSupplierRequestFromJSON = DetachStoresSupplierRequestFromJSON;
|
|
18
|
-
exports.DetachStoresSupplierRequestFromJSONTyped = DetachStoresSupplierRequestFromJSONTyped;
|
|
19
|
-
exports.DetachStoresSupplierRequestToJSON = DetachStoresSupplierRequestToJSON;
|
|
20
|
-
exports.DetachStoresSupplierRequestToJSONTyped = DetachStoresSupplierRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DetachStoresSupplierRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDetachStoresSupplierRequest(value) {
|
|
25
|
-
if (!('storeIds' in value) || value['storeIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DetachStoresSupplierRequestFromJSON(json) {
|
|
30
|
-
return DetachStoresSupplierRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DetachStoresSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'storeIds': json['store_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function DetachStoresSupplierRequestToJSON(json) {
|
|
41
|
-
return DetachStoresSupplierRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function DetachStoresSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'store_ids': value['storeIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,32 +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 DetachSuppliersStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface DetachSuppliersStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {Array<number>}
|
|
21
|
-
* @memberof DetachSuppliersStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
supplierIds: Array<number>;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the DetachSuppliersStoreRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfDetachSuppliersStoreRequest(value: object): value is DetachSuppliersStoreRequest;
|
|
29
|
-
export declare function DetachSuppliersStoreRequestFromJSON(json: any): DetachSuppliersStoreRequest;
|
|
30
|
-
export declare function DetachSuppliersStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachSuppliersStoreRequest;
|
|
31
|
-
export declare function DetachSuppliersStoreRequestToJSON(json: any): DetachSuppliersStoreRequest;
|
|
32
|
-
export declare function DetachSuppliersStoreRequestToJSONTyped(value?: DetachSuppliersStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfDetachSuppliersStoreRequest = instanceOfDetachSuppliersStoreRequest;
|
|
17
|
-
exports.DetachSuppliersStoreRequestFromJSON = DetachSuppliersStoreRequestFromJSON;
|
|
18
|
-
exports.DetachSuppliersStoreRequestFromJSONTyped = DetachSuppliersStoreRequestFromJSONTyped;
|
|
19
|
-
exports.DetachSuppliersStoreRequestToJSON = DetachSuppliersStoreRequestToJSON;
|
|
20
|
-
exports.DetachSuppliersStoreRequestToJSONTyped = DetachSuppliersStoreRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DetachSuppliersStoreRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDetachSuppliersStoreRequest(value) {
|
|
25
|
-
if (!('supplierIds' in value) || value['supplierIds'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function DetachSuppliersStoreRequestFromJSON(json) {
|
|
30
|
-
return DetachSuppliersStoreRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function DetachSuppliersStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'supplierIds': json['supplier_ids'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function DetachSuppliersStoreRequestToJSON(json) {
|
|
41
|
-
return DetachSuppliersStoreRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function DetachSuppliersStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'supplier_ids': value['supplierIds'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,93 +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 GetAllStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface GetAllStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetAllStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {GetAllStoreRequestSortByEnum}
|
|
27
|
-
* @memberof GetAllStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: GetAllStoreRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {GetAllStoreRequestSortDirectionEnum}
|
|
33
|
-
* @memberof GetAllStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: GetAllStoreRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GetAllStoreRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GetAllStoreRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof GetAllStoreRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof GetAllStoreRequest
|
|
58
|
-
*/
|
|
59
|
-
siteId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof GetAllStoreRequest
|
|
64
|
-
*/
|
|
65
|
-
suppliersId?: Array<string>;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* @export
|
|
69
|
-
*/
|
|
70
|
-
export declare const GetAllStoreRequestSortByEnum: {
|
|
71
|
-
readonly Id: "id";
|
|
72
|
-
readonly SiteId: "site_id";
|
|
73
|
-
readonly Name: "name";
|
|
74
|
-
readonly CreatedAt: "created_at";
|
|
75
|
-
readonly UpdatedAt: "updated_at";
|
|
76
|
-
};
|
|
77
|
-
export type GetAllStoreRequestSortByEnum = typeof GetAllStoreRequestSortByEnum[keyof typeof GetAllStoreRequestSortByEnum];
|
|
78
|
-
/**
|
|
79
|
-
* @export
|
|
80
|
-
*/
|
|
81
|
-
export declare const GetAllStoreRequestSortDirectionEnum: {
|
|
82
|
-
readonly Asc: "asc";
|
|
83
|
-
readonly Desc: "desc";
|
|
84
|
-
};
|
|
85
|
-
export type GetAllStoreRequestSortDirectionEnum = typeof GetAllStoreRequestSortDirectionEnum[keyof typeof GetAllStoreRequestSortDirectionEnum];
|
|
86
|
-
/**
|
|
87
|
-
* Check if a given object implements the GetAllStoreRequest interface.
|
|
88
|
-
*/
|
|
89
|
-
export declare function instanceOfGetAllStoreRequest(value: object): value is GetAllStoreRequest;
|
|
90
|
-
export declare function GetAllStoreRequestFromJSON(json: any): GetAllStoreRequest;
|
|
91
|
-
export declare function GetAllStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllStoreRequest;
|
|
92
|
-
export declare function GetAllStoreRequestToJSON(json: any): GetAllStoreRequest;
|
|
93
|
-
export declare function GetAllStoreRequestToJSONTyped(value?: GetAllStoreRequest | null, ignoreDiscriminator?: boolean): any;
|