@digital8/lighting-illusions-ts-sdk 0.0.2536 → 0.0.2537

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.2536
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2537
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @digital8/lighting-illusions-ts-sdk@0.0.2536 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2537 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -45,7 +45,7 @@ export interface OrderFulfillmentResource {
45
45
  * @type {string}
46
46
  * @memberof OrderFulfillmentResource
47
47
  */
48
- trackingUrl?: string | null;
48
+ trackingUrl: string;
49
49
  /**
50
50
  *
51
51
  * @type {string}
@@ -29,6 +29,8 @@ function instanceOfOrderFulfillmentResource(value) {
29
29
  return false;
30
30
  if (!('dateShipped' in value) || value['dateShipped'] === undefined)
31
31
  return false;
32
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined)
33
+ return false;
32
34
  if (!('docnum' in value) || value['docnum'] === undefined)
33
35
  return false;
34
36
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
@@ -49,7 +51,7 @@ function OrderFulfillmentResourceFromJSONTyped(json, ignoreDiscriminator) {
49
51
  'orderId': json['orderId'],
50
52
  'dateShipped': (new Date(json['dateShipped'])),
51
53
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
52
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
54
+ 'trackingUrl': json['trackingUrl'],
53
55
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
54
56
  'docnum': json['docnum'],
55
57
  'netsuiteId': json['netsuiteId'],
@@ -16,7 +16,6 @@
16
16
  export declare const OrderOmnisendEvent: {
17
17
  readonly PlacedOrder: "placed order";
18
18
  readonly PaidForOrder: "paid for order";
19
- readonly OrderFulfilled: "order fulfilled";
20
19
  };
21
20
  export type OrderOmnisendEvent = typeof OrderOmnisendEvent[keyof typeof OrderOmnisendEvent];
22
21
  export declare function instanceOfOrderOmnisendEvent(value: any): boolean;
@@ -25,8 +25,7 @@ exports.OrderOmnisendEventToJSONTyped = OrderOmnisendEventToJSONTyped;
25
25
  */
26
26
  exports.OrderOmnisendEvent = {
27
27
  PlacedOrder: 'placed order',
28
- PaidForOrder: 'paid for order',
29
- OrderFulfilled: 'order fulfilled'
28
+ PaidForOrder: 'paid for order'
30
29
  };
31
30
  function instanceOfOrderOmnisendEvent(value) {
32
31
  for (var key in exports.OrderOmnisendEvent) {
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
74
74
  * @type {string}
75
75
  * @memberof StoreFrontendResource
76
76
  */
77
- tagLine: string;
77
+ tagLine?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -36,8 +36,6 @@ function instanceOfStoreFrontendResource(value) {
36
36
  return false;
37
37
  if (!('longitude' in value) || value['longitude'] === undefined)
38
38
  return false;
39
- if (!('tagLine' in value) || value['tagLine'] === undefined)
40
- return false;
41
39
  if (!('specialDates' in value) || value['specialDates'] === undefined)
42
40
  return false;
43
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -61,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
63
61
  'longitude': json['longitude'],
64
- 'tagLine': json['tagLine'],
62
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
65
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
66
64
  'specialDates': json['specialDates'],
67
65
  'suppliers': json['suppliers'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2536",
3
+ "version": "0.0.2537",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -56,7 +56,7 @@ export interface OrderFulfillmentResource {
56
56
  * @type {string}
57
57
  * @memberof OrderFulfillmentResource
58
58
  */
59
- trackingUrl?: string | null;
59
+ trackingUrl: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
@@ -102,6 +102,7 @@ export function instanceOfOrderFulfillmentResource(value: object): value is Orde
102
102
  if (!('id' in value) || value['id'] === undefined) return false;
103
103
  if (!('orderId' in value) || value['orderId'] === undefined) return false;
104
104
  if (!('dateShipped' in value) || value['dateShipped'] === undefined) return false;
105
+ if (!('trackingUrl' in value) || value['trackingUrl'] === undefined) return false;
105
106
  if (!('docnum' in value) || value['docnum'] === undefined) return false;
106
107
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
107
108
  if (!('orderFulfillmentLineItems' in value) || value['orderFulfillmentLineItems'] === undefined) return false;
@@ -122,7 +123,7 @@ export function OrderFulfillmentResourceFromJSONTyped(json: any, ignoreDiscrimin
122
123
  'orderId': json['orderId'],
123
124
  'dateShipped': (new Date(json['dateShipped'])),
124
125
  'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
125
- 'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
126
+ 'trackingUrl': json['trackingUrl'],
126
127
  'trackingCompany': json['trackingCompany'] == null ? undefined : json['trackingCompany'],
127
128
  'docnum': json['docnum'],
128
129
  'netsuiteId': json['netsuiteId'],
@@ -19,8 +19,7 @@
19
19
  */
20
20
  export const OrderOmnisendEvent = {
21
21
  PlacedOrder: 'placed order',
22
- PaidForOrder: 'paid for order',
23
- OrderFulfilled: 'order fulfilled'
22
+ PaidForOrder: 'paid for order'
24
23
  } as const;
25
24
  export type OrderOmnisendEvent = typeof OrderOmnisendEvent[keyof typeof OrderOmnisendEvent];
26
25
 
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine: string;
81
+ tagLine?: string | null;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -110,7 +110,6 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
113
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
115
114
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
116
115
  return true;
@@ -135,7 +134,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
135
134
  'address': json['address'] == null ? undefined : json['address'],
136
135
  'latitude': json['latitude'],
137
136
  'longitude': json['longitude'],
138
- 'tagLine': json['tagLine'],
137
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
139
138
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
140
139
  'specialDates': json['specialDates'],
141
140
  'suppliers': json['suppliers'],