@zippendo/sdk 1.2.1 → 1.2.2

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.
@@ -120,6 +120,7 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
120
120
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
121
121
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
122
122
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
123
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
123
124
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
124
125
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
125
126
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -84,6 +84,7 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
84
84
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
85
85
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
86
86
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
87
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
87
88
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
88
89
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
89
90
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -27,6 +27,12 @@ export interface GetBillingUsage200ResponseZippyMessages {
27
27
  * @memberof GetBillingUsage200ResponseZippyMessages
28
28
  */
29
29
  charges: number;
30
+ /**
31
+ * Maximum Zippy messages per month (-1 for unlimited)
32
+ * @type {number}
33
+ * @memberof GetBillingUsage200ResponseZippyMessages
34
+ */
35
+ limit: number;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the GetBillingUsage200ResponseZippyMessages interface.
@@ -19,6 +19,8 @@ export function instanceOfGetBillingUsage200ResponseZippyMessages(value) {
19
19
  return false;
20
20
  if (!('charges' in value) || value['charges'] === undefined)
21
21
  return false;
22
+ if (!('limit' in value) || value['limit'] === undefined)
23
+ return false;
22
24
  return true;
23
25
  }
24
26
  export function GetBillingUsage200ResponseZippyMessagesFromJSON(json) {
@@ -31,6 +33,7 @@ export function GetBillingUsage200ResponseZippyMessagesFromJSONTyped(json, ignor
31
33
  return {
32
34
  'used': json['used'],
33
35
  'charges': json['charges'],
36
+ 'limit': json['limit'],
34
37
  };
35
38
  }
36
39
  export function GetBillingUsage200ResponseZippyMessagesToJSON(json) {
@@ -43,5 +46,6 @@ export function GetBillingUsage200ResponseZippyMessagesToJSONTyped(value, ignore
43
46
  return {
44
47
  'used': value['used'],
45
48
  'charges': value['charges'],
49
+ 'limit': value['limit'],
46
50
  };
47
51
  }
@@ -98,6 +98,7 @@ export declare const ListApiTokens401ResponseCodeEnum: {
98
98
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
99
99
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
100
100
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
101
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
101
102
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
102
103
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
103
104
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -75,6 +75,7 @@ export const ListApiTokens401ResponseCodeEnum = {
75
75
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
76
76
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
77
77
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
78
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
78
79
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
79
80
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
80
81
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -105,6 +105,7 @@ export declare const SendShipment422ResponseCodeEnum: {
105
105
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
106
106
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
107
107
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
108
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
108
109
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
109
110
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
110
111
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -76,6 +76,7 @@ export const SendShipment422ResponseCodeEnum = {
76
76
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
77
77
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
78
78
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
79
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
79
80
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
80
81
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
81
82
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -120,6 +120,7 @@ export declare const BatchSendShipments200ResponseResultsInnerCodeEnum: {
120
120
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
121
121
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
122
122
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
123
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
123
124
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
124
125
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
125
126
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -92,6 +92,7 @@ exports.BatchSendShipments200ResponseResultsInnerCodeEnum = {
92
92
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
93
93
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
94
94
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
95
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
95
96
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
96
97
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
97
98
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -27,6 +27,12 @@ export interface GetBillingUsage200ResponseZippyMessages {
27
27
  * @memberof GetBillingUsage200ResponseZippyMessages
28
28
  */
29
29
  charges: number;
30
+ /**
31
+ * Maximum Zippy messages per month (-1 for unlimited)
32
+ * @type {number}
33
+ * @memberof GetBillingUsage200ResponseZippyMessages
34
+ */
35
+ limit: number;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the GetBillingUsage200ResponseZippyMessages interface.
@@ -26,6 +26,8 @@ function instanceOfGetBillingUsage200ResponseZippyMessages(value) {
26
26
  return false;
27
27
  if (!('charges' in value) || value['charges'] === undefined)
28
28
  return false;
29
+ if (!('limit' in value) || value['limit'] === undefined)
30
+ return false;
29
31
  return true;
30
32
  }
31
33
  function GetBillingUsage200ResponseZippyMessagesFromJSON(json) {
@@ -38,6 +40,7 @@ function GetBillingUsage200ResponseZippyMessagesFromJSONTyped(json, ignoreDiscri
38
40
  return {
39
41
  'used': json['used'],
40
42
  'charges': json['charges'],
43
+ 'limit': json['limit'],
41
44
  };
42
45
  }
43
46
  function GetBillingUsage200ResponseZippyMessagesToJSON(json) {
@@ -50,5 +53,6 @@ function GetBillingUsage200ResponseZippyMessagesToJSONTyped(value, ignoreDiscrim
50
53
  return {
51
54
  'used': value['used'],
52
55
  'charges': value['charges'],
56
+ 'limit': value['limit'],
53
57
  };
54
58
  }
@@ -98,6 +98,7 @@ export declare const ListApiTokens401ResponseCodeEnum: {
98
98
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
99
99
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
100
100
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
101
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
101
102
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
102
103
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
103
104
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -83,6 +83,7 @@ exports.ListApiTokens401ResponseCodeEnum = {
83
83
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
84
84
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
85
85
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
86
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
86
87
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
87
88
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
88
89
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -105,6 +105,7 @@ export declare const SendShipment422ResponseCodeEnum: {
105
105
  readonly BillingManagedByShopify: "BILLING_MANAGED_BY_SHOPIFY";
106
106
  readonly BillingCheckoutRequired: "BILLING_CHECKOUT_REQUIRED";
107
107
  readonly ZippyAddonRequired: "ZIPPY_ADDON_REQUIRED";
108
+ readonly ZippyMessageLimitReached: "ZIPPY_MESSAGE_LIMIT_REACHED";
108
109
  readonly ShipmentNotFound: "SHIPMENT_NOT_FOUND";
109
110
  readonly ShipmentDocumentNotFound: "SHIPMENT_DOCUMENT_NOT_FOUND";
110
111
  readonly ShipmentAlreadySent: "SHIPMENT_ALREADY_SENT";
@@ -84,6 +84,7 @@ exports.SendShipment422ResponseCodeEnum = {
84
84
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
85
85
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
86
86
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
87
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
87
88
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
88
89
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
89
90
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -9,6 +9,7 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `used` | number
11
11
  `charges` | number
12
+ `limit` | number
12
13
 
13
14
  ## Example
14
15
 
@@ -19,6 +20,7 @@ import type { GetBillingUsage200ResponseZippyMessages } from '@zippendo/sdk'
19
20
  const example = {
20
21
  "used": 42,
21
22
  "charges": 4158,
23
+ "limit": -1,
22
24
  } satisfies GetBillingUsage200ResponseZippyMessages
23
25
 
24
26
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zippendo/sdk",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "OpenAPI client for @zippendo/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -134,6 +134,7 @@ export const BatchSendShipments200ResponseResultsInnerCodeEnum = {
134
134
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
135
135
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
136
136
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
137
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
137
138
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
138
139
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
139
140
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -31,6 +31,12 @@ export interface GetBillingUsage200ResponseZippyMessages {
31
31
  * @memberof GetBillingUsage200ResponseZippyMessages
32
32
  */
33
33
  charges: number;
34
+ /**
35
+ * Maximum Zippy messages per month (-1 for unlimited)
36
+ * @type {number}
37
+ * @memberof GetBillingUsage200ResponseZippyMessages
38
+ */
39
+ limit: number;
34
40
  }
35
41
 
36
42
  /**
@@ -39,6 +45,7 @@ export interface GetBillingUsage200ResponseZippyMessages {
39
45
  export function instanceOfGetBillingUsage200ResponseZippyMessages(value: object): value is GetBillingUsage200ResponseZippyMessages {
40
46
  if (!('used' in value) || value['used'] === undefined) return false;
41
47
  if (!('charges' in value) || value['charges'] === undefined) return false;
48
+ if (!('limit' in value) || value['limit'] === undefined) return false;
42
49
  return true;
43
50
  }
44
51
 
@@ -54,6 +61,7 @@ export function GetBillingUsage200ResponseZippyMessagesFromJSONTyped(json: any,
54
61
 
55
62
  'used': json['used'],
56
63
  'charges': json['charges'],
64
+ 'limit': json['limit'],
57
65
  };
58
66
  }
59
67
 
@@ -70,6 +78,7 @@ export function GetBillingUsage200ResponseZippyMessagesToJSONTyped(value?: GetBi
70
78
 
71
79
  'used': value['used'],
72
80
  'charges': value['charges'],
81
+ 'limit': value['limit'],
73
82
  };
74
83
  }
75
84
 
@@ -104,6 +104,7 @@ export const ListApiTokens401ResponseCodeEnum = {
104
104
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
105
105
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
106
106
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
107
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
107
108
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
108
109
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
109
110
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',
@@ -118,6 +118,7 @@ export const SendShipment422ResponseCodeEnum = {
118
118
  BillingManagedByShopify: 'BILLING_MANAGED_BY_SHOPIFY',
119
119
  BillingCheckoutRequired: 'BILLING_CHECKOUT_REQUIRED',
120
120
  ZippyAddonRequired: 'ZIPPY_ADDON_REQUIRED',
121
+ ZippyMessageLimitReached: 'ZIPPY_MESSAGE_LIMIT_REACHED',
121
122
  ShipmentNotFound: 'SHIPMENT_NOT_FOUND',
122
123
  ShipmentDocumentNotFound: 'SHIPMENT_DOCUMENT_NOT_FOUND',
123
124
  ShipmentAlreadySent: 'SHIPMENT_ALREADY_SENT',