@digital8/lighting-illusions-ts-sdk 0.0.1575 → 0.0.1577
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 +40 -18
- package/README.md +26 -11
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationLiteResource.md} +8 -6
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GlobalSearchProductResource.ts +9 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -8
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/RedirectApi.md +0 -74
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
|
@@ -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.instanceOfRedirectListResourceArrayResponse = instanceOfRedirectListResourceArrayResponse;
|
|
17
|
-
exports.RedirectListResourceArrayResponseFromJSON = RedirectListResourceArrayResponseFromJSON;
|
|
18
|
-
exports.RedirectListResourceArrayResponseFromJSONTyped = RedirectListResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.RedirectListResourceArrayResponseToJSON = RedirectListResourceArrayResponseToJSON;
|
|
20
|
-
exports.RedirectListResourceArrayResponseToJSONTyped = RedirectListResourceArrayResponseToJSONTyped;
|
|
21
|
-
var RedirectListResource_1 = require("./RedirectListResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the RedirectListResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfRedirectListResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function RedirectListResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return RedirectListResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function RedirectListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(RedirectListResource_1.RedirectListResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function RedirectListResourceArrayResponseToJSON(json) {
|
|
40
|
-
return RedirectListResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function RedirectListResourceArrayResponseToJSONTyped(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(RedirectListResource_1.RedirectListResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
package/docs/RedirectApi.md
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# RedirectApi
|
|
2
|
-
|
|
3
|
-
All URIs are relative to *http://localhost/api*
|
|
4
|
-
|
|
5
|
-
| Method | HTTP request | Description |
|
|
6
|
-
|------------- | ------------- | -------------|
|
|
7
|
-
| [**indexRedirect**](RedirectApi.md#indexredirectoperation) | **POST** /admin-api/redirect/list | Auto-generated: indexRedirect |
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## indexRedirect
|
|
12
|
-
|
|
13
|
-
> PaginatedRedirectListResourceResponse indexRedirect(indexRedirectRequest)
|
|
14
|
-
|
|
15
|
-
Auto-generated: indexRedirect
|
|
16
|
-
|
|
17
|
-
### Example
|
|
18
|
-
|
|
19
|
-
```ts
|
|
20
|
-
import {
|
|
21
|
-
Configuration,
|
|
22
|
-
RedirectApi,
|
|
23
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
24
|
-
import type { IndexRedirectOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
25
|
-
|
|
26
|
-
async function example() {
|
|
27
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
28
|
-
const api = new RedirectApi();
|
|
29
|
-
|
|
30
|
-
const body = {
|
|
31
|
-
// IndexRedirectRequest (optional)
|
|
32
|
-
indexRedirectRequest: ...,
|
|
33
|
-
} satisfies IndexRedirectOperationRequest;
|
|
34
|
-
|
|
35
|
-
try {
|
|
36
|
-
const data = await api.indexRedirect(body);
|
|
37
|
-
console.log(data);
|
|
38
|
-
} catch (error) {
|
|
39
|
-
console.error(error);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Run the test
|
|
44
|
-
example().catch(console.error);
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
### Parameters
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
| Name | Type | Description | Notes |
|
|
51
|
-
|------------- | ------------- | ------------- | -------------|
|
|
52
|
-
| **indexRedirectRequest** | [IndexRedirectRequest](IndexRedirectRequest.md) | | [Optional] |
|
|
53
|
-
|
|
54
|
-
### Return type
|
|
55
|
-
|
|
56
|
-
[**PaginatedRedirectListResourceResponse**](PaginatedRedirectListResourceResponse.md)
|
|
57
|
-
|
|
58
|
-
### Authorization
|
|
59
|
-
|
|
60
|
-
No authorization required
|
|
61
|
-
|
|
62
|
-
### HTTP request headers
|
|
63
|
-
|
|
64
|
-
- **Content-Type**: `application/json`
|
|
65
|
-
- **Accept**: `application/json`
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
### HTTP response details
|
|
69
|
-
| Status code | Description | Response headers |
|
|
70
|
-
|-------------|-------------|------------------|
|
|
71
|
-
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\RedirectListResource[]>> | - |
|
|
72
|
-
|
|
73
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
74
|
-
|
package/src/apis/RedirectApi.ts
DELETED
|
@@ -1,77 +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
|
-
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
IndexRedirectRequest,
|
|
19
|
-
PaginatedRedirectListResourceResponse,
|
|
20
|
-
} from '../models/index';
|
|
21
|
-
import {
|
|
22
|
-
IndexRedirectRequestFromJSON,
|
|
23
|
-
IndexRedirectRequestToJSON,
|
|
24
|
-
PaginatedRedirectListResourceResponseFromJSON,
|
|
25
|
-
PaginatedRedirectListResourceResponseToJSON,
|
|
26
|
-
} from '../models/index';
|
|
27
|
-
|
|
28
|
-
export interface IndexRedirectOperationRequest {
|
|
29
|
-
indexRedirectRequest?: IndexRedirectRequest;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
export class RedirectApi extends runtime.BaseAPI {
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Creates request options for indexRedirect without sending the request
|
|
39
|
-
*/
|
|
40
|
-
async indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts> {
|
|
41
|
-
const queryParameters: any = {};
|
|
42
|
-
|
|
43
|
-
const headerParameters: runtime.HTTPHeaders = {};
|
|
44
|
-
|
|
45
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
let urlPath = `/admin-api/redirect/list`;
|
|
49
|
-
|
|
50
|
-
return {
|
|
51
|
-
path: urlPath,
|
|
52
|
-
method: 'POST',
|
|
53
|
-
headers: headerParameters,
|
|
54
|
-
query: queryParameters,
|
|
55
|
-
body: IndexRedirectRequestToJSON(requestParameters['indexRedirectRequest']),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Auto-generated: indexRedirect
|
|
61
|
-
*/
|
|
62
|
-
async indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>> {
|
|
63
|
-
const requestOptions = await this.indexRedirectRequestOpts(requestParameters);
|
|
64
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
65
|
-
|
|
66
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedRedirectListResourceResponseFromJSON(jsonValue));
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* Auto-generated: indexRedirect
|
|
71
|
-
*/
|
|
72
|
-
async indexRedirect(requestParameters: IndexRedirectOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse> {
|
|
73
|
-
const response = await this.indexRedirectRaw(requestParameters, initOverrides);
|
|
74
|
-
return await response.value();
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
}
|
|
@@ -1,184 +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 IndexRedirectRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IndexRedirectRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IndexRedirectRequest
|
|
26
|
-
*/
|
|
27
|
-
search?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {IndexRedirectRequestSortByEnum}
|
|
31
|
-
* @memberof IndexRedirectRequest
|
|
32
|
-
*/
|
|
33
|
-
sortBy?: IndexRedirectRequestSortByEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {IndexRedirectRequestSortDirectionEnum}
|
|
37
|
-
* @memberof IndexRedirectRequest
|
|
38
|
-
*/
|
|
39
|
-
sortDirection?: IndexRedirectRequestSortDirectionEnum;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof IndexRedirectRequest
|
|
44
|
-
*/
|
|
45
|
-
perPage?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof IndexRedirectRequest
|
|
50
|
-
*/
|
|
51
|
-
page?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof IndexRedirectRequest
|
|
56
|
-
*/
|
|
57
|
-
siteId?: Array<string>;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof IndexRedirectRequest
|
|
62
|
-
*/
|
|
63
|
-
redirectableType?: Array<string>;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof IndexRedirectRequest
|
|
68
|
-
*/
|
|
69
|
-
relatedId?: number;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {IndexRedirectRequestRelatedTypeEnum}
|
|
73
|
-
* @memberof IndexRedirectRequest
|
|
74
|
-
*/
|
|
75
|
-
relatedType?: IndexRedirectRequestRelatedTypeEnum;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof IndexRedirectRequest
|
|
80
|
-
*/
|
|
81
|
-
includesRelations?: boolean;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @memberof IndexRedirectRequest
|
|
86
|
-
*/
|
|
87
|
-
productChildId?: number;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {number}
|
|
91
|
-
* @memberof IndexRedirectRequest
|
|
92
|
-
*/
|
|
93
|
-
productRangeId?: number;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export const IndexRedirectRequestSortByEnum = {
|
|
101
|
-
Id: 'id'
|
|
102
|
-
} as const;
|
|
103
|
-
export type IndexRedirectRequestSortByEnum = typeof IndexRedirectRequestSortByEnum[keyof typeof IndexRedirectRequestSortByEnum];
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* @export
|
|
107
|
-
*/
|
|
108
|
-
export const IndexRedirectRequestSortDirectionEnum = {
|
|
109
|
-
Asc: 'asc',
|
|
110
|
-
Desc: 'desc'
|
|
111
|
-
} as const;
|
|
112
|
-
export type IndexRedirectRequestSortDirectionEnum = typeof IndexRedirectRequestSortDirectionEnum[keyof typeof IndexRedirectRequestSortDirectionEnum];
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* @export
|
|
116
|
-
*/
|
|
117
|
-
export const IndexRedirectRequestRelatedTypeEnum = {
|
|
118
|
-
ProductChildSiteDetail: 'productChildSiteDetail',
|
|
119
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail',
|
|
120
|
-
ProductCategory: 'productCategory',
|
|
121
|
-
Supplier: 'supplier',
|
|
122
|
-
Tag: 'tag'
|
|
123
|
-
} as const;
|
|
124
|
-
export type IndexRedirectRequestRelatedTypeEnum = typeof IndexRedirectRequestRelatedTypeEnum[keyof typeof IndexRedirectRequestRelatedTypeEnum];
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* Check if a given object implements the IndexRedirectRequest interface.
|
|
129
|
-
*/
|
|
130
|
-
export function instanceOfIndexRedirectRequest(value: object): value is IndexRedirectRequest {
|
|
131
|
-
return true;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
export function IndexRedirectRequestFromJSON(json: any): IndexRedirectRequest {
|
|
135
|
-
return IndexRedirectRequestFromJSONTyped(json, false);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export function IndexRedirectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexRedirectRequest {
|
|
139
|
-
if (json == null) {
|
|
140
|
-
return json;
|
|
141
|
-
}
|
|
142
|
-
return {
|
|
143
|
-
|
|
144
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
145
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
146
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
147
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
148
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
149
|
-
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
150
|
-
'redirectableType': json['redirectable_type'] == null ? undefined : json['redirectable_type'],
|
|
151
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
152
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
153
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
154
|
-
'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
|
|
155
|
-
'productRangeId': json['product_range_id'] == null ? undefined : json['product_range_id'],
|
|
156
|
-
};
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export function IndexRedirectRequestToJSON(json: any): IndexRedirectRequest {
|
|
160
|
-
return IndexRedirectRequestToJSONTyped(json, false);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
export function IndexRedirectRequestToJSONTyped(value?: IndexRedirectRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
164
|
-
if (value == null) {
|
|
165
|
-
return value;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
return {
|
|
169
|
-
|
|
170
|
-
'search': value['search'],
|
|
171
|
-
'sortBy': value['sortBy'],
|
|
172
|
-
'sortDirection': value['sortDirection'],
|
|
173
|
-
'per_page': value['perPage'],
|
|
174
|
-
'page': value['page'],
|
|
175
|
-
'site_id': value['siteId'],
|
|
176
|
-
'redirectable_type': value['redirectableType'],
|
|
177
|
-
'related_id': value['relatedId'],
|
|
178
|
-
'related_type': value['relatedType'],
|
|
179
|
-
'includes_relations': value['includesRelations'],
|
|
180
|
-
'product_child_id': value['productChildId'],
|
|
181
|
-
'product_range_id': value['productRangeId'],
|
|
182
|
-
};
|
|
183
|
-
}
|
|
184
|
-
|
|
@@ -1,75 +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 ModelAttributeFrontendResource
|
|
20
|
-
*/
|
|
21
|
-
export interface ModelAttributeFrontendResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ModelAttributeFrontendResource
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ModelAttributeFrontendResource
|
|
32
|
-
*/
|
|
33
|
-
value: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ModelAttributeFrontendResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfModelAttributeFrontendResource(value: object): value is ModelAttributeFrontendResource {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
if (!('value' in value) || value['value'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ModelAttributeFrontendResourceFromJSON(json: any): ModelAttributeFrontendResource {
|
|
46
|
-
return ModelAttributeFrontendResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ModelAttributeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResource {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'name': json['name'],
|
|
56
|
-
'value': json['value'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function ModelAttributeFrontendResourceToJSON(json: any): ModelAttributeFrontendResource {
|
|
61
|
-
return ModelAttributeFrontendResourceToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ModelAttributeFrontendResourceToJSONTyped(value?: ModelAttributeFrontendResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'name': value['name'],
|
|
72
|
-
'value': value['value'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -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 { ModelAttributeFrontendResource } from './ModelAttributeFrontendResource';
|
|
17
|
-
import {
|
|
18
|
-
ModelAttributeFrontendResourceFromJSON,
|
|
19
|
-
ModelAttributeFrontendResourceFromJSONTyped,
|
|
20
|
-
ModelAttributeFrontendResourceToJSON,
|
|
21
|
-
ModelAttributeFrontendResourceToJSONTyped,
|
|
22
|
-
} from './ModelAttributeFrontendResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ModelAttributeFrontendResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ModelAttributeFrontendResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ModelAttributeFrontendResource>}
|
|
33
|
-
* @memberof ModelAttributeFrontendResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ModelAttributeFrontendResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ModelAttributeFrontendResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfModelAttributeFrontendResourceArrayResponse(value: object): value is ModelAttributeFrontendResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ModelAttributeFrontendResourceArrayResponseFromJSON(json: any): ModelAttributeFrontendResourceArrayResponse {
|
|
46
|
-
return ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ModelAttributeFrontendResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ModelAttributeFrontendResourceArrayResponseToJSON(json: any): ModelAttributeFrontendResourceArrayResponse {
|
|
60
|
-
return ModelAttributeFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ModelAttributeFrontendResourceArrayResponseToJSONTyped(value?: ModelAttributeFrontendResourceArrayResponse | 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(ModelAttributeFrontendResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,90 +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 { PagingMetadata } from './PagingMetadata';
|
|
17
|
-
import {
|
|
18
|
-
PagingMetadataFromJSON,
|
|
19
|
-
PagingMetadataFromJSONTyped,
|
|
20
|
-
PagingMetadataToJSON,
|
|
21
|
-
PagingMetadataToJSONTyped,
|
|
22
|
-
} from './PagingMetadata';
|
|
23
|
-
import type { RedirectListResource } from './RedirectListResource';
|
|
24
|
-
import {
|
|
25
|
-
RedirectListResourceFromJSON,
|
|
26
|
-
RedirectListResourceFromJSONTyped,
|
|
27
|
-
RedirectListResourceToJSON,
|
|
28
|
-
RedirectListResourceToJSONTyped,
|
|
29
|
-
} from './RedirectListResource';
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
* @interface PaginatedRedirectListResourceResponse
|
|
35
|
-
*/
|
|
36
|
-
export interface PaginatedRedirectListResourceResponse {
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {Array<RedirectListResource>}
|
|
40
|
-
* @memberof PaginatedRedirectListResourceResponse
|
|
41
|
-
*/
|
|
42
|
-
data: Array<RedirectListResource>;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {PagingMetadata}
|
|
46
|
-
* @memberof PaginatedRedirectListResourceResponse
|
|
47
|
-
*/
|
|
48
|
-
meta: PagingMetadata;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the PaginatedRedirectListResourceResponse interface.
|
|
53
|
-
*/
|
|
54
|
-
export function instanceOfPaginatedRedirectListResourceResponse(value: object): value is PaginatedRedirectListResourceResponse {
|
|
55
|
-
if (!('data' in value) || value['data'] === undefined) return false;
|
|
56
|
-
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
57
|
-
return true;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function PaginatedRedirectListResourceResponseFromJSON(json: any): PaginatedRedirectListResourceResponse {
|
|
61
|
-
return PaginatedRedirectListResourceResponseFromJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function PaginatedRedirectListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedRedirectListResourceResponse {
|
|
65
|
-
if (json == null) {
|
|
66
|
-
return json;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': ((json['data'] as Array<any>).map(RedirectListResourceFromJSON)),
|
|
71
|
-
'meta': PagingMetadataFromJSON(json['meta']),
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function PaginatedRedirectListResourceResponseToJSON(json: any): PaginatedRedirectListResourceResponse {
|
|
76
|
-
return PaginatedRedirectListResourceResponseToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function PaginatedRedirectListResourceResponseToJSONTyped(value?: PaginatedRedirectListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return {
|
|
85
|
-
|
|
86
|
-
'data': ((value['data'] as Array<any>).map(RedirectListResourceToJSON)),
|
|
87
|
-
'meta': PagingMetadataToJSON(value['meta']),
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
|