@digital8/lighting-illusions-ts-sdk 0.0.1457 → 0.0.1458

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1457
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1458
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -574,7 +574,7 @@ and is automatically generated by the
574
574
  [OpenAPI Generator](https://openapi-generator.tech) project:
575
575
 
576
576
  - API version: `1.0.0`
577
- - Package version: `0.0.1457`
577
+ - Package version: `0.0.1458`
578
578
  - Generator version: `7.20.0`
579
579
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
580
580
 
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -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'] == null ? undefined : 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']),
@@ -61,6 +61,7 @@ export declare const GetAllProductRegistrationRequestSortByEnum: {
61
61
  readonly CustomerEmail: "customer-email";
62
62
  readonly CustomerPhone: "customer-phone";
63
63
  readonly CreatedAt: "created_at";
64
+ readonly PurchasedDate: "purchased_date";
64
65
  };
65
66
  export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
66
67
  /**
@@ -27,7 +27,8 @@ exports.GetAllProductRegistrationRequestSortByEnum = {
27
27
  CustomerName: 'customer-name',
28
28
  CustomerEmail: 'customer-email',
29
29
  CustomerPhone: 'customer-phone',
30
- CreatedAt: 'created_at'
30
+ CreatedAt: 'created_at',
31
+ PurchasedDate: 'purchased_date'
31
32
  };
32
33
  /**
33
34
  * @export
@@ -97,6 +97,7 @@ export declare const IndexProductRegistrationRequestSortByEnum: {
97
97
  readonly CustomerEmail: "customer-email";
98
98
  readonly CustomerPhone: "customer-phone";
99
99
  readonly CreatedAt: "created_at";
100
+ readonly PurchasedDate: "purchased_date";
100
101
  };
101
102
  export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
102
103
  /**
@@ -27,7 +27,8 @@ exports.IndexProductRegistrationRequestSortByEnum = {
27
27
  CustomerName: 'customer-name',
28
28
  CustomerEmail: 'customer-email',
29
29
  CustomerPhone: 'customer-phone',
30
- CreatedAt: 'created_at'
30
+ CreatedAt: 'created_at',
31
+ PurchasedDate: 'purchased_date'
31
32
  };
32
33
  /**
33
34
  * @export
@@ -34,6 +34,12 @@ export interface ProductRegistrationListResource {
34
34
  * @memberof ProductRegistrationListResource
35
35
  */
36
36
  customer: ProductRegistrationCustomerLiteResource | null;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ProductRegistrationListResource
41
+ */
42
+ productChildrenCount: number;
37
43
  /**
38
44
  *
39
45
  * @type {string}
@@ -27,6 +27,8 @@ function instanceOfProductRegistrationListResource(value) {
27
27
  return false;
28
28
  if (!('customer' in value) || value['customer'] === undefined)
29
29
  return false;
30
+ if (!('productChildrenCount' in value) || value['productChildrenCount'] === undefined)
31
+ return false;
30
32
  return true;
31
33
  }
32
34
  function ProductRegistrationListResourceFromJSON(json) {
@@ -40,6 +42,7 @@ function ProductRegistrationListResourceFromJSONTyped(json, ignoreDiscriminator)
40
42
  'id': json['id'] == null ? undefined : json['id'],
41
43
  'purchasedDate': json['purchasedDate'],
42
44
  'customer': (0, ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceFromJSON)(json['customer']),
45
+ 'productChildrenCount': json['productChildrenCount'],
43
46
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
44
47
  };
45
48
  }
@@ -55,6 +58,7 @@ function ProductRegistrationListResourceToJSONTyped(value, ignoreDiscriminator)
55
58
  'id': value['id'],
56
59
  'purchasedDate': value['purchasedDate'],
57
60
  'customer': (0, ProductRegistrationCustomerLiteResource_1.ProductRegistrationCustomerLiteResourceToJSON)(value['customer']),
61
+ 'productChildrenCount': value['productChildrenCount'],
58
62
  'createdAt': value['createdAt'],
59
63
  };
60
64
  }
@@ -9,6 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `purchasedDate` | string
11
11
  `customer` | [ProductRegistrationCustomerLiteResource](ProductRegistrationCustomerLiteResource.md)
12
+ `productChildrenCount` | number
12
13
  `createdAt` | string
13
14
 
14
15
  ## Example
@@ -21,6 +22,7 @@ const example = {
21
22
  "id": null,
22
23
  "purchasedDate": null,
23
24
  "customer": null,
25
+ "productChildrenCount": null,
24
26
  "createdAt": null,
25
27
  } satisfies ProductRegistrationListResource
26
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1457",
3
+ "version": "0.0.1458",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload?: string | null;
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'] == null ? undefined : 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']),
@@ -66,7 +66,8 @@ export const GetAllProductRegistrationRequestSortByEnum = {
66
66
  CustomerName: 'customer-name',
67
67
  CustomerEmail: 'customer-email',
68
68
  CustomerPhone: 'customer-phone',
69
- CreatedAt: 'created_at'
69
+ CreatedAt: 'created_at',
70
+ PurchasedDate: 'purchased_date'
70
71
  } as const;
71
72
  export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
72
73
 
@@ -102,7 +102,8 @@ export const IndexProductRegistrationRequestSortByEnum = {
102
102
  CustomerName: 'customer-name',
103
103
  CustomerEmail: 'customer-email',
104
104
  CustomerPhone: 'customer-phone',
105
- CreatedAt: 'created_at'
105
+ CreatedAt: 'created_at',
106
+ PurchasedDate: 'purchased_date'
106
107
  } as const;
107
108
  export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
108
109
 
@@ -45,6 +45,12 @@ export interface ProductRegistrationListResource {
45
45
  * @memberof ProductRegistrationListResource
46
46
  */
47
47
  customer: ProductRegistrationCustomerLiteResource | null;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ProductRegistrationListResource
52
+ */
53
+ productChildrenCount: number;
48
54
  /**
49
55
  *
50
56
  * @type {string}
@@ -59,6 +65,7 @@ export interface ProductRegistrationListResource {
59
65
  export function instanceOfProductRegistrationListResource(value: object): value is ProductRegistrationListResource {
60
66
  if (!('purchasedDate' in value) || value['purchasedDate'] === undefined) return false;
61
67
  if (!('customer' in value) || value['customer'] === undefined) return false;
68
+ if (!('productChildrenCount' in value) || value['productChildrenCount'] === undefined) return false;
62
69
  return true;
63
70
  }
64
71
 
@@ -75,6 +82,7 @@ export function ProductRegistrationListResourceFromJSONTyped(json: any, ignoreDi
75
82
  'id': json['id'] == null ? undefined : json['id'],
76
83
  'purchasedDate': json['purchasedDate'],
77
84
  'customer': ProductRegistrationCustomerLiteResourceFromJSON(json['customer']),
85
+ 'productChildrenCount': json['productChildrenCount'],
78
86
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
79
87
  };
80
88
  }
@@ -93,6 +101,7 @@ export function ProductRegistrationListResourceToJSONTyped(value?: ProductRegist
93
101
  'id': value['id'],
94
102
  'purchasedDate': value['purchasedDate'],
95
103
  'customer': ProductRegistrationCustomerLiteResourceToJSON(value['customer']),
104
+ 'productChildrenCount': value['productChildrenCount'],
96
105
  'createdAt': value['createdAt'],
97
106
  };
98
107
  }