@digital8/lighting-illusions-ts-sdk 0.0.715 → 0.0.717
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/README.md +2 -2
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/IndexModelAttributeRequest.d.ts +3 -26
- package/dist/models/IndexModelAttributeRequest.js +1 -23
- package/docs/IndexModelAttributeRequest.md +1 -1
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/IndexModelAttributeRequest.ts +3 -27
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.717
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -506,7 +506,7 @@ and is automatically generated by the
|
|
|
506
506
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
507
507
|
|
|
508
508
|
- API version: `1.0.0`
|
|
509
|
-
- Package version: `0.0.
|
|
509
|
+
- Package version: `0.0.717`
|
|
510
510
|
- Generator version: `7.19.0`
|
|
511
511
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
512
512
|
|
|
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
|
|
|
37
37
|
return false;
|
|
38
38
|
if (!('responseCode' in value) || value['responseCode'] === undefined)
|
|
39
39
|
return false;
|
|
40
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined)
|
|
41
|
+
return false;
|
|
40
42
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined)
|
|
41
43
|
return false;
|
|
42
44
|
if (!('site' in value) || value['site'] === undefined)
|
|
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
60
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
59
61
|
'endpoint': json['endpoint'],
|
|
60
62
|
'responseCode': json['responseCode'],
|
|
61
|
-
'requestPayload': json['requestPayload']
|
|
63
|
+
'requestPayload': json['requestPayload'],
|
|
62
64
|
'responsePayload': json['responsePayload'],
|
|
63
65
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
64
66
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
@@ -50,13 +50,13 @@ export interface IndexModelAttributeRequest {
|
|
|
50
50
|
* @type {Array<string>}
|
|
51
51
|
* @memberof IndexModelAttributeRequest
|
|
52
52
|
*/
|
|
53
|
-
attributableType?: Array<
|
|
53
|
+
attributableType?: Array<string>;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {Array<
|
|
56
|
+
* @type {Array<string>}
|
|
57
57
|
* @memberof IndexModelAttributeRequest
|
|
58
58
|
*/
|
|
59
|
-
attributableId?: Array<
|
|
59
|
+
attributableId?: Array<string>;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {Array<string>}
|
|
@@ -100,29 +100,6 @@ export declare const IndexModelAttributeRequestSortDirectionEnum: {
|
|
|
100
100
|
readonly Desc: "desc";
|
|
101
101
|
};
|
|
102
102
|
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
103
|
-
/**
|
|
104
|
-
* @export
|
|
105
|
-
*/
|
|
106
|
-
export declare const IndexModelAttributeRequestAttributableTypeEnum: {
|
|
107
|
-
readonly Asset: "asset";
|
|
108
|
-
readonly Attribute: "attribute";
|
|
109
|
-
readonly ProductCategory: "productCategory";
|
|
110
|
-
readonly Description: "description";
|
|
111
|
-
readonly Document: "document";
|
|
112
|
-
readonly OverlayTemplate: "overlayTemplate";
|
|
113
|
-
readonly OverlayTemplateAsset: "overlayTemplateAsset";
|
|
114
|
-
readonly Product: "product";
|
|
115
|
-
readonly ProductChild: "productChild";
|
|
116
|
-
readonly ProductChildSiteDetail: "productChildSiteDetail";
|
|
117
|
-
readonly ProductRange: "productRange";
|
|
118
|
-
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
119
|
-
readonly AppModelsProductRange: "App\\Models\\ProductRange";
|
|
120
|
-
readonly ProductRangeSite: "productRangeSite";
|
|
121
|
-
readonly ProductType: "productType";
|
|
122
|
-
readonly Supplier: "supplier";
|
|
123
|
-
readonly Tag: "tag";
|
|
124
|
-
};
|
|
125
|
-
export type IndexModelAttributeRequestAttributableTypeEnum = typeof IndexModelAttributeRequestAttributableTypeEnum[keyof typeof IndexModelAttributeRequestAttributableTypeEnum];
|
|
126
103
|
/**
|
|
127
104
|
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
128
105
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
16
|
+
exports.IndexModelAttributeRequestSortDirectionEnum = exports.IndexModelAttributeRequestSortByEnum = void 0;
|
|
17
17
|
exports.instanceOfIndexModelAttributeRequest = instanceOfIndexModelAttributeRequest;
|
|
18
18
|
exports.IndexModelAttributeRequestFromJSON = IndexModelAttributeRequestFromJSON;
|
|
19
19
|
exports.IndexModelAttributeRequestFromJSONTyped = IndexModelAttributeRequestFromJSONTyped;
|
|
@@ -35,28 +35,6 @@ exports.IndexModelAttributeRequestSortDirectionEnum = {
|
|
|
35
35
|
Asc: 'asc',
|
|
36
36
|
Desc: 'desc'
|
|
37
37
|
};
|
|
38
|
-
/**
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
exports.IndexModelAttributeRequestAttributableTypeEnum = {
|
|
42
|
-
Asset: 'asset',
|
|
43
|
-
Attribute: 'attribute',
|
|
44
|
-
ProductCategory: 'productCategory',
|
|
45
|
-
Description: 'description',
|
|
46
|
-
Document: 'document',
|
|
47
|
-
OverlayTemplate: 'overlayTemplate',
|
|
48
|
-
OverlayTemplateAsset: 'overlayTemplateAsset',
|
|
49
|
-
Product: 'product',
|
|
50
|
-
ProductChild: 'productChild',
|
|
51
|
-
ProductChildSiteDetail: 'productChildSiteDetail',
|
|
52
|
-
ProductRange: 'productRange',
|
|
53
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail',
|
|
54
|
-
AppModelsProductRange: 'App\\Models\\ProductRange',
|
|
55
|
-
ProductRangeSite: 'productRangeSite',
|
|
56
|
-
ProductType: 'productType',
|
|
57
|
-
Supplier: 'supplier',
|
|
58
|
-
Tag: 'tag'
|
|
59
|
-
};
|
|
60
38
|
/**
|
|
61
39
|
* Check if a given object implements the IndexModelAttributeRequest interface.
|
|
62
40
|
*/
|
|
@@ -12,7 +12,7 @@ Name | Type
|
|
|
12
12
|
`perPage` | number
|
|
13
13
|
`page` | number
|
|
14
14
|
`attributableType` | Array<string>
|
|
15
|
-
`attributableId` | Array<
|
|
15
|
+
`attributableId` | Array<string>
|
|
16
16
|
`attributeId` | Array<string>
|
|
17
17
|
`relatedId` | number
|
|
18
18
|
`relatedType` | string
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
|
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof ExternalApiLogResource
|
|
76
76
|
*/
|
|
77
|
-
requestPayload
|
|
77
|
+
requestPayload: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {string}
|
|
@@ -106,6 +106,7 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
|
|
|
106
106
|
if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
|
|
107
107
|
if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
|
|
108
108
|
if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
|
|
109
|
+
if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
|
|
109
110
|
if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
|
|
110
111
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
111
112
|
return true;
|
|
@@ -128,7 +129,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
128
129
|
'exteranlApiLoggableId': json['exteranlApiLoggableId'],
|
|
129
130
|
'endpoint': json['endpoint'],
|
|
130
131
|
'responseCode': json['responseCode'],
|
|
131
|
-
'requestPayload': json['requestPayload']
|
|
132
|
+
'requestPayload': json['requestPayload'],
|
|
132
133
|
'responsePayload': json['responsePayload'],
|
|
133
134
|
'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
|
|
134
135
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
@@ -54,13 +54,13 @@ export interface IndexModelAttributeRequest {
|
|
|
54
54
|
* @type {Array<string>}
|
|
55
55
|
* @memberof IndexModelAttributeRequest
|
|
56
56
|
*/
|
|
57
|
-
attributableType?: Array<
|
|
57
|
+
attributableType?: Array<string>;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @type {Array<
|
|
60
|
+
* @type {Array<string>}
|
|
61
61
|
* @memberof IndexModelAttributeRequest
|
|
62
62
|
*/
|
|
63
|
-
attributableId?: Array<
|
|
63
|
+
attributableId?: Array<string>;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {Array<string>}
|
|
@@ -108,30 +108,6 @@ export const IndexModelAttributeRequestSortDirectionEnum = {
|
|
|
108
108
|
} as const;
|
|
109
109
|
export type IndexModelAttributeRequestSortDirectionEnum = typeof IndexModelAttributeRequestSortDirectionEnum[keyof typeof IndexModelAttributeRequestSortDirectionEnum];
|
|
110
110
|
|
|
111
|
-
/**
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
|
-
export const IndexModelAttributeRequestAttributableTypeEnum = {
|
|
115
|
-
Asset: 'asset',
|
|
116
|
-
Attribute: 'attribute',
|
|
117
|
-
ProductCategory: 'productCategory',
|
|
118
|
-
Description: 'description',
|
|
119
|
-
Document: 'document',
|
|
120
|
-
OverlayTemplate: 'overlayTemplate',
|
|
121
|
-
OverlayTemplateAsset: 'overlayTemplateAsset',
|
|
122
|
-
Product: 'product',
|
|
123
|
-
ProductChild: 'productChild',
|
|
124
|
-
ProductChildSiteDetail: 'productChildSiteDetail',
|
|
125
|
-
ProductRange: 'productRange',
|
|
126
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail',
|
|
127
|
-
AppModelsProductRange: 'App\\Models\\ProductRange',
|
|
128
|
-
ProductRangeSite: 'productRangeSite',
|
|
129
|
-
ProductType: 'productType',
|
|
130
|
-
Supplier: 'supplier',
|
|
131
|
-
Tag: 'tag'
|
|
132
|
-
} as const;
|
|
133
|
-
export type IndexModelAttributeRequestAttributableTypeEnum = typeof IndexModelAttributeRequestAttributableTypeEnum[keyof typeof IndexModelAttributeRequestAttributableTypeEnum];
|
|
134
|
-
|
|
135
111
|
|
|
136
112
|
/**
|
|
137
113
|
* Check if a given object implements the IndexModelAttributeRequest interface.
|