@shipengine/js-api 4.24.1-next.2 → 4.24.1

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.
@@ -3,13 +3,6 @@ import { DimensionsWithUnit } from "../dimensions";
3
3
  import { LabelDisplayScheme } from "../labels";
4
4
  import { CreditCard, Money } from "../payments";
5
5
  import { WeightWithUnit } from "../weight";
6
- /**
7
- * @category Entities
8
- */
9
- export type CarrierTermsStatus = "saved" | "not_found" | "already_saved" | "error";
10
- export type CarrierTermCategory = "funding_source" | "carrier" | "insurance";
11
- export type WalletTransactionType = "adjustment" | "purchase" | "reload" | "void";
12
- export type CarrierConnectionStatus = "PendingApproval" | "Approved";
13
6
  /**
14
7
  * @category Entities
15
8
  */
@@ -72,7 +65,6 @@ export interface Carrier {
72
65
  balance: number;
73
66
  carrierCode: string;
74
67
  carrierId: string;
75
- connectionStatus?: CarrierConnectionStatus;
76
68
  friendlyName: string;
77
69
  fundingSourceId?: string;
78
70
  hasMultiPackageSupportingServices: boolean;
@@ -107,6 +99,7 @@ export type CarrierConnection = {
107
99
  carrierCode: "dhl_express_walleted";
108
100
  nickname: string;
109
101
  };
102
+ export type WalletTransactionType = "adjustment" | "purchase" | "reload" | "void";
110
103
  export type WalletTransaction = {
111
104
  amount: number;
112
105
  balance: number;
@@ -133,15 +126,16 @@ export type CarrierZone = {
133
126
  /**
134
127
  * @category Entities
135
128
  */
129
+ /** @internal */
130
+ export type CarrierTermsStatus = "saved" | "not_found" | "already_saved" | "error";
131
+ export type CarrierTermCategory = "funding_source" | "carrier" | "insurance";
136
132
  export interface CarrierTerm {
137
133
  status?: CarrierTermsStatus;
138
134
  termCategory?: CarrierTermCategory;
139
135
  termType: string;
140
136
  version: string;
141
137
  }
142
- /**
143
- * @category Responses
144
- */
138
+ /** @internal */
145
139
  export interface CarrierAutoFundingSettingsResponse {
146
140
  autoPurchaseAmount: number;
147
141
  autoPurchaseCutoff?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/js-api",
3
- "version": "4.24.1-next.2",
3
+ "version": "4.24.1",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {