@shipengine/elements 1.5.1 → 1.7.0

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.
Files changed (149) hide show
  1. package/index.cjs +14782 -14386
  2. package/index.js +14797 -14413
  3. package/package.json +5 -7
  4. package/src/components/address-preference-context/address-preference-context.d.ts +2 -1
  5. package/src/components/auto-funding-form/auto-funding-form.styles.d.ts +4 -8
  6. package/src/components/collapsible-panel/collapsible-panel.d.ts +6 -1
  7. package/src/components/collapsible-panel/collapsible-panel.styles.d.ts +1 -1
  8. package/src/components/date-range-select/date-range-select.d.ts +1 -2
  9. package/src/components/field/create-field-controller.d.ts +2 -1
  10. package/src/components/field/date-picker/date-picker.d.ts +2 -6
  11. package/src/components/field/rate-card/cost-breakdown/cost-breakdown.d.ts +1 -1
  12. package/src/components/field/rate-card/rate-card.d.ts +3 -1
  13. package/src/components/field/rate-card/rate-card.styles.d.ts +1 -0
  14. package/src/components/field-label/field-label.d.ts +2 -1
  15. package/src/components/history/history-card/history-card.d.ts +5 -2
  16. package/src/components/index.d.ts +5 -2
  17. package/src/components/service-point-display/service-point-display.d.ts +1 -1
  18. package/src/components/service-point-display/service-point-display.styles.d.ts +8 -0
  19. package/src/components/templates/address-display/address-display.d.ts +2 -1
  20. package/src/components/templates/address-form/address-schema.d.ts +2 -0
  21. package/src/components/templates/connected-carrier-list/connected-carrier-row/connected-carrier-row.styles.d.ts +17 -0
  22. package/src/components/templates/index.d.ts +1 -4
  23. package/src/components/templates/label/label.styles.d.ts +0 -6
  24. package/src/components/templates/product-form/product-form-schema.d.ts +0 -12
  25. package/src/components/templates/pudo-rate-tabs/pudo-rate-tabs.d.ts +6 -1
  26. package/src/components/templates/rate-form/rate-form.d.ts +4 -2
  27. package/src/components/templates/rate-form/rate-form.styles.d.ts +2 -4
  28. package/src/components/templates/shipment-form/shipment-schema.d.ts +0 -50
  29. package/src/components/templates/wallet-form/wallet-schema.d.ts +46 -2
  30. package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form.d.ts +1 -1
  31. package/src/elements/external-carriers/external-carriers.d.ts +819 -9
  32. package/src/elements/index.d.ts +7 -3
  33. package/src/elements/label-layout/index.d.ts +1 -0
  34. package/src/elements/label-layout/label-layout-element.d.ts +791 -0
  35. package/src/elements/labels-grid/labels-grid.d.ts +16 -2
  36. package/src/elements/manage-funding/index.d.ts +1 -0
  37. package/src/elements/manage-funding/manage-funding-element.d.ts +791 -0
  38. package/src/elements/manage-warehouses/manage-warehouses.d.ts +791 -21
  39. package/src/elements/payment-method-settings/index.d.ts +1 -0
  40. package/src/elements/payment-method-settings/payment-method-settings-element.d.ts +791 -0
  41. package/src/elements/{configure-shipment → purchase-label}/configure-shipment.d.ts +1 -12
  42. package/src/elements/purchase-label/hooks/index.d.ts +8 -0
  43. package/src/elements/purchase-label/hooks/use-configure-shipment.d.ts +1 -1
  44. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-form.d.ts +1 -1
  45. package/src/elements/{configure-shipment → purchase-label}/hooks/use-rates-with-cache.d.ts +1 -1
  46. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-preferred-rates.d.ts +1 -1
  47. package/src/elements/{configure-shipment → purchase-label}/hooks/use-request-rates.d.ts +2 -1
  48. package/src/elements/purchase-label/purchase-label.d.ts +36 -50
  49. package/src/elements/shipengine-carriers/index.d.ts +1 -0
  50. package/src/elements/shipengine-carriers/shipengine-carriers.d.ts +854 -0
  51. package/src/elements/shipments-grid/shipments-grid.d.ts +16 -2
  52. package/src/elements/theme-creator/theme-creator.d.ts +16 -2
  53. package/src/elements/unit-settings/index.d.ts +1 -0
  54. package/src/elements/unit-settings/unit-settings-element.d.ts +791 -0
  55. package/src/elements/view-shipment/view-shipment.d.ts +29 -15
  56. package/src/elements/void-label/void-label.d.ts +25 -12
  57. package/src/elements/wallet-history/index.d.ts +1 -0
  58. package/src/elements/wallet-history/wallet-history-element.d.ts +791 -0
  59. package/src/features/external-carriers/external-carriers.d.ts +10 -0
  60. package/src/features/external-carriers/index.d.ts +1 -0
  61. package/src/features/index.d.ts +7 -0
  62. package/src/features/label-layout/index.d.ts +2 -0
  63. package/src/features/label-layout/label-layout.d.ts +7 -0
  64. package/src/features/label-layout/use-label-layout.d.ts +7 -0
  65. package/src/features/manage-funding/manage-funding.d.ts +16 -0
  66. package/src/features/manage-warehouses/index.d.ts +2 -0
  67. package/src/features/manage-warehouses/manage-warehouses.d.ts +16 -0
  68. package/src/features/manage-warehouses/use-manage-warehouses.d.ts +15 -0
  69. package/src/features/shipengine-carriers/hooks/index.d.ts +2 -0
  70. package/src/features/shipengine-carriers/hooks/use-carrier-metadata.d.ts +13 -0
  71. package/src/features/shipengine-carriers/index.d.ts +1 -0
  72. package/src/features/shipengine-carriers/shipengine-carriers-row/index.d.ts +1 -0
  73. package/src/features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.d.ts +9 -0
  74. package/src/features/shipengine-carriers/shipengine-carriers.d.ts +10 -0
  75. package/src/features/unit-settings/index.d.ts +2 -0
  76. package/src/features/unit-settings/unit-settings.d.ts +9 -0
  77. package/src/features/unit-settings/use-unit-settings.d.ts +10 -0
  78. package/src/features/wallet-history/wallet-history.styles.d.ts +10 -10
  79. package/src/hooks/index.d.ts +0 -1
  80. package/src/hooks/options/use-rate-options.d.ts +1 -1
  81. package/src/locales/en/index.d.ts +16 -2
  82. package/src/types/carrier-metadata.d.ts +3 -0
  83. package/src/types/index.d.ts +1 -0
  84. package/src/types/preferred-rates.d.ts +13 -0
  85. package/src/utilities/date.d.ts +2 -1
  86. package/src/utilities/feature-flags.d.ts +5 -2
  87. package/src/utilities/index.d.ts +1 -0
  88. package/src/utilities/tracking-status-formatter.d.ts +1 -0
  89. package/src/{elements → workflows}/account-settings/account-settings.d.ts +25 -58
  90. package/src/workflows/account-settings/use-get-panel-props.d.ts +10 -0
  91. package/src/{elements → workflows}/connect-carrier/connect-carrier.d.ts +16 -2
  92. package/src/workflows/index.d.ts +3 -0
  93. package/src/workflows/manage-wallet-workflow/index.d.ts +1 -0
  94. package/src/workflows/manage-wallet-workflow/manage-wallet-workflow.d.ts +828 -0
  95. package/src/workflows/manage-wallet-workflow/use-get-wallet-panel-props.d.ts +4 -0
  96. package/src/workflows/onboarding/components/onboarding-wizard/onboarding-wizard.d.ts +2 -2
  97. package/src/workflows/onboarding/components/ship-from-address-step/ship-from-address-step.d.ts +1 -1
  98. package/src/workflows/onboarding/components/ship-from-address-step/use-ship-from-address-step.d.ts +1 -1
  99. package/src/workflows/onboarding/components/terms-agreement-form/terms-agreement-form.d.ts +2 -1
  100. package/src/workflows/onboarding/onboarding.d.ts +21 -8
  101. package/src/workflows/purchase-label-workflow/index.d.ts +1 -0
  102. package/src/{elements/shipengine-workflow/label-workflow.d.ts → workflows/purchase-label-workflow/purchase-label-workflow.d.ts} +19 -21
  103. package/src/components/date-range-select/date-range-select.styles.d.ts +0 -7
  104. package/src/components/field/date-picker/date-picker.styles.d.ts +0 -3
  105. package/src/components/label-layout/index.d.ts +0 -3
  106. package/src/components/label-layout/label-layout-purchase.d.ts +0 -5
  107. package/src/components/label-layout/label-layout-settings.d.ts +0 -7
  108. package/src/components/label-layout/label-layout.d.ts +0 -9
  109. package/src/components/manage-funding/manage-funding.d.ts +0 -35
  110. package/src/components/templates/account-settings/account-settings.d.ts +0 -10
  111. package/src/components/templates/account-settings/index.d.ts +0 -1
  112. package/src/components/templates/list-carriers/index.d.ts +0 -1
  113. package/src/components/templates/list-carriers/list-carriers.d.ts +0 -16
  114. package/src/components/templates/list-carriers-row/index.d.ts +0 -1
  115. package/src/components/templates/list-carriers-row/list-carriers-row.d.ts +0 -9
  116. package/src/components/templates/manage-warehouses/index.d.ts +0 -1
  117. package/src/components/templates/manage-warehouses/manage-warehouses.d.ts +0 -11
  118. package/src/components/unit-settings/index.d.ts +0 -1
  119. package/src/components/unit-settings/unit-settings.d.ts +0 -6
  120. package/src/elements/configure-shipment/hooks/index.d.ts +0 -8
  121. package/src/elements/configure-shipment/index.d.ts +0 -1
  122. package/src/elements/list-carriers/index.d.ts +0 -1
  123. package/src/elements/list-carriers/list-carriers.d.ts +0 -36
  124. package/src/elements/shipengine-workflow/index.d.ts +0 -1
  125. package/src/hooks/use-carrier-metadata.d.ts +0 -10
  126. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.d.ts +0 -0
  127. /package/src/components/{templates/edit-billing-form → edit-billing-form}/edit-billing-form.styles.d.ts +0 -0
  128. /package/src/components/{templates/edit-billing-form → edit-billing-form}/index.d.ts +0 -0
  129. /package/src/components/{templates/wallet-card → wallet-card}/index.d.ts +0 -0
  130. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.d.ts +0 -0
  131. /package/src/components/{templates/wallet-card → wallet-card}/wallet-card.styles.d.ts +0 -0
  132. /package/src/components/{templates/warehouse-form → warehouse-form}/index.d.ts +0 -0
  133. /package/src/components/{templates/warehouse-form → warehouse-form}/warehouse-form-schema.d.ts +0 -0
  134. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-address.d.ts +0 -0
  135. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-customs.d.ts +0 -0
  136. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-presets.d.ts +0 -0
  137. /package/src/elements/{configure-shipment → purchase-label}/hooks/use-shipment-form.d.ts +0 -0
  138. /package/src/{components → features}/label-layout/label-layout.styles.d.ts +0 -0
  139. /package/src/{components → features}/manage-funding/index.d.ts +0 -0
  140. /package/src/{components/templates → features}/manage-warehouses/manage-warehouse.styles.d.ts +0 -0
  141. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/index.d.ts +0 -0
  142. /package/src/{components/templates → features/manage-warehouses}/warehouse-display/warehouse-display.d.ts +0 -0
  143. /package/src/{components → features}/payment-method-settings/index.d.ts +0 -0
  144. /package/src/{components → features}/payment-method-settings/payment-method-settings.d.ts +0 -0
  145. /package/src/{elements/list-carriers → features/shipengine-carriers}/hooks/use-list-connected-carriers.d.ts +0 -0
  146. /package/src/{components/templates/list-carriers-row/list-carriers-row.styles.d.ts → features/shipengine-carriers/shipengine-carriers-row/shipengine-carriers-row.styles.d.ts} +0 -0
  147. /package/src/{components/templates/list-carriers/list-carriers.styles.d.ts → features/shipengine-carriers/shipengine-carriers.styles.d.ts} +0 -0
  148. /package/src/{elements → workflows}/account-settings/index.d.ts +0 -0
  149. /package/src/{elements → workflows}/connect-carrier/index.d.ts +0 -0
@@ -1,12 +1,10 @@
1
- import { ConnectCarrierFeatures } from "../connect-carrier/connect-carrier";
2
- export type ExternalCarriersFeatures = ConnectCarrierFeatures;
3
- export type ComponentProps = {
4
- /**
5
- * `availableCarrierConnections` is a set of carrier codes for carriers that may be added. If this is omitted,
6
- * new carriers may not be added by this element.
7
- */
8
- features?: ExternalCarriersFeatures;
9
- };
1
+ /// <reference types="react" />
2
+ import { ExternalCarriersProps } from "../../features";
3
+ /**
4
+ * `availableCarrierConnections` is a set of carrier codes for carriers that may be added. If this is omitted,
5
+ * new carriers may not be added by this element.
6
+ */
7
+ export type ComponentProps = ExternalCarriersProps;
10
8
  /**
11
9
  * # ExternalCarriers Component
12
10
  *
@@ -32,3 +30,815 @@ export type ComponentProps = {
32
30
  * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
33
31
  */
34
32
  export declare const Component: ({ features }: ComponentProps) => import("@emotion/react/jsx-runtime").JSX.Element;
33
+ export declare const Element: ({ resources, ...props }: ExternalCarriersProps & {
34
+ resources?: {
35
+ en: {
36
+ "wallet-history": {
37
+ actions: {
38
+ downloadCsv: string;
39
+ chooseDate: string;
40
+ tryAgain: string;
41
+ };
42
+ errors: {
43
+ failureToFetch: string;
44
+ };
45
+ dateRange: string;
46
+ details: {
47
+ inaccurateWeight: string;
48
+ };
49
+ historyOptions: {
50
+ custom: string;
51
+ last30days: string;
52
+ thisMonth: string;
53
+ lastMonth: string;
54
+ };
55
+ };
56
+ "void-label": {
57
+ title: string;
58
+ actions: {
59
+ complete: string;
60
+ confirmVoid: string;
61
+ viewShipment: string;
62
+ };
63
+ errorMessages: {
64
+ labelIdRequired: string;
65
+ };
66
+ resultMessages: {
67
+ approved: string;
68
+ rejected: string;
69
+ };
70
+ refund_process: string;
71
+ refund_rules: string;
72
+ resultTitles: {
73
+ approved: string;
74
+ rejected: string;
75
+ };
76
+ voidedOn: string;
77
+ };
78
+ "view-shipment": {
79
+ title: string;
80
+ actions: {
81
+ buyAnotherLabel: string;
82
+ hideItems: string;
83
+ printForms: string;
84
+ printLabel: string;
85
+ schedulePickup: string;
86
+ showItems: string;
87
+ void: string;
88
+ };
89
+ fields: {
90
+ dimensions: string;
91
+ estimatedShipping: string;
92
+ items: string;
93
+ orderDate: string;
94
+ orderValue: string;
95
+ requestedShipping: string;
96
+ shipDate: string;
97
+ shipTo: string;
98
+ warehouse: string;
99
+ weight: string;
100
+ insuredValue: string;
101
+ deliveryConfirmation: string;
102
+ };
103
+ highVolumeForms: string;
104
+ multipleShippingServices: string;
105
+ sections: {
106
+ labels: string;
107
+ };
108
+ noLabels: string;
109
+ };
110
+ "register-wallet": {
111
+ sections: {
112
+ setup: {
113
+ title: string;
114
+ subtitle: string;
115
+ hiddenTermsSubtitle: string;
116
+ descriptionTitle: string;
117
+ description: string;
118
+ };
119
+ billing: {
120
+ title: string;
121
+ cardSubTitle: string;
122
+ addressSubTitle: string;
123
+ info: string;
124
+ };
125
+ carriers: {
126
+ title: string;
127
+ subtitle: string;
128
+ };
129
+ notifications: {
130
+ error: {
131
+ title: string;
132
+ };
133
+ info: {
134
+ title: string;
135
+ description: string;
136
+ };
137
+ poBox: {
138
+ title: string;
139
+ description: string;
140
+ };
141
+ carrier: {
142
+ title: string;
143
+ confirmAddress: string;
144
+ description: string;
145
+ };
146
+ blackBox: {
147
+ description: string;
148
+ };
149
+ };
150
+ };
151
+ settings: {
152
+ title: string;
153
+ billing: {
154
+ title: string;
155
+ subtitleCard: string;
156
+ subtitleBilling: string;
157
+ };
158
+ };
159
+ };
160
+ "register-carrier": {
161
+ formTitle: string;
162
+ agreeToTerms: string;
163
+ };
164
+ "purchase-label": {
165
+ title: string;
166
+ actions: {
167
+ calculateRates_one: string;
168
+ calculateRates_other: string;
169
+ hideItems: string;
170
+ purchaseLabel: string;
171
+ purchaseNow: string;
172
+ showItems: string;
173
+ showMoreRates: string;
174
+ showFewerRates: string;
175
+ saveRate: string;
176
+ };
177
+ balance: {
178
+ currentBalance: string;
179
+ insufficientBalanceCTA: string;
180
+ };
181
+ cta: {
182
+ addPackageDetails: string;
183
+ };
184
+ errorMessages: {
185
+ customsItemsRequired: string;
186
+ invalidAddress: string;
187
+ noRates: string;
188
+ salesOrderNotLoaded: string;
189
+ unsupportedAddress: string;
190
+ saveRateFailedMessage: string;
191
+ saveRateFailedTitle: string;
192
+ };
193
+ errorTypes: {
194
+ results: string;
195
+ };
196
+ fields: {
197
+ "requires-additional-handling": string;
198
+ addOns: string;
199
+ contentDescription: string;
200
+ confirmation: string;
201
+ dimensions: {
202
+ length: string;
203
+ width: string;
204
+ height: string;
205
+ };
206
+ dimensionsGroup: string;
207
+ estimatedShipping: string;
208
+ insurance: string;
209
+ insuranceProvider: string;
210
+ insuredValue: string;
211
+ items: string;
212
+ orderDate: string;
213
+ orderValue: string;
214
+ packageCode: string;
215
+ requestedShipping: string;
216
+ shipDate: string;
217
+ service: string;
218
+ shipTo: string;
219
+ addShipToAddress: string;
220
+ warehouse: string;
221
+ weight: {
222
+ whole: string;
223
+ fractional: string;
224
+ };
225
+ weightGroup: string;
226
+ today: string;
227
+ };
228
+ hints: {
229
+ contentDescription: string;
230
+ };
231
+ loading: {
232
+ calculatingRates: string;
233
+ };
234
+ modes: {
235
+ browseRates: string;
236
+ selectService: string;
237
+ };
238
+ multipleShippingServices: string;
239
+ schemaErrors: {
240
+ shipFromUnitedStatesOnly: string;
241
+ shipFromAddressRequired: string;
242
+ needToAcknowledge: string;
243
+ };
244
+ rates: {
245
+ requestedShippingNotification: string;
246
+ uspsMediaMailAcknowledgement: string;
247
+ uspsFirstClassMailAcknowledgement_leof: string;
248
+ rateSavings: string;
249
+ upsGroundSaverTermsAcknowledgement: string;
250
+ dhlExpressTermsAcknowledgement: string;
251
+ };
252
+ requirements: {
253
+ noWarehouse: string;
254
+ noCarrier: string;
255
+ noWarehouseOrCarrier: string;
256
+ };
257
+ servicePoints: {
258
+ searchLabel: string;
259
+ noRatesForType: string;
260
+ dropOff: string;
261
+ pickUp: string;
262
+ closed: string;
263
+ hideLocations: string;
264
+ moreLocations: string;
265
+ nearestLocation: string;
266
+ open: string;
267
+ nextOpeningDay: string;
268
+ until: string;
269
+ selected: string;
270
+ select: string;
271
+ today: string;
272
+ viewMap: string;
273
+ otherLocations: string;
274
+ noServicePointsFound: string;
275
+ };
276
+ shipToAddressFormFields: string;
277
+ sections: {
278
+ customsForm: string;
279
+ shipment: string;
280
+ rate_one: string;
281
+ rate_other: string;
282
+ payment: string;
283
+ };
284
+ };
285
+ "payment-method": {
286
+ title: string;
287
+ };
288
+ onboarding: {
289
+ title: string;
290
+ inlineTitle: string;
291
+ accountRegistration: {
292
+ action: string;
293
+ title: string;
294
+ subtitle: string;
295
+ welcome: string;
296
+ messageLine1: string;
297
+ partnerMessageLine1: string;
298
+ messageLine2: string;
299
+ };
300
+ stepLabel: {
301
+ accountRegistration: string;
302
+ termsAgreement: string;
303
+ shipFromAddress: string;
304
+ fundingAndCarrierConnection: string;
305
+ };
306
+ warehouse: {
307
+ title: string;
308
+ subtitle: string;
309
+ inlineMessage: string;
310
+ };
311
+ success: {
312
+ title: string;
313
+ subtitle: string;
314
+ action: string;
315
+ };
316
+ termsAndAgreementLinkText: {
317
+ aHR0cHM6Ly9teWRobC5leHByZXNzLmRobC91cy9lbi9sZWdhbC90ZXJtcy1hbmQtY29uZGl0aW9ucy5odG1s: string;
318
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9wcml2YWN5LXBvbGljeQ==": string;
319
+ "aHR0cHM6Ly93d3cuc3RhbXBzLmNvbS9jb25kaXRpb25zLw==": string;
320
+ "aHR0cHM6Ly93d3cudXBzLmNvbS91cy9lbi9zdXBwb3J0L3NoaXBwaW5nLXN1cHBvcnQvc2hpcHBpbmctc3BlY2lhbC1jYXJlLXJlZ3VsYXRlZC1pdGVtcy9wcm9oaWJpdGVkLWl0ZW1zLnBhZ2U=": string;
321
+ aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VQU19EQVBfVEMucGRm: string;
322
+ "aHR0cHM6Ly93d3cudXBzLmNvbS9hc3NldHMvcmVzb3VyY2VzL21lZGlhL2VuX1VTL1VUQS5wZGY=": string;
323
+ "aHR0cHM6Ly93d3cuZXZyaS5jb20vdGVybXMtYW5kLWNvbmRpdGlvbnM=": string;
324
+ "aHR0cHM6Ly93d3cueW9kZWxkaXJlY3QuY28udWsvY29udGVudC9hYm91dC10ZXJtcw==": string;
325
+ aHR0cHM6Ly93d3cuc2hpcHN0YXRpb24uY29tL3Rlcm1zLXNlcnZpY2UtdW5pdGVkLWtpbmdkb20v: string;
326
+ "aHR0cHM6Ly93d3cuZHBkLmNvLnVrL3N0YW5kYXJkX3Rlcm1zX2FuZF9jb25kaXRpb25zLmpzcA==": string;
327
+ aHR0cHM6Ly93d3cuZ29nbG9iYWxwb3N0LmNvbS9jb25kaXRpb25z: string;
328
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9mci9tb2RhbGl0ZXMtZXQtY29uZGl0aW9ucy1kZS1zZXJ2aWNl: string;
329
+ aHR0cHM6Ly93d3cucHVyb2xhdG9yLmNvbS9lbi90ZXJtcy1hbmQtY29uZGl0aW9ucy1zZXJ2aWNl: string;
330
+ };
331
+ termsAndAgreementTitles: {
332
+ "WW9kZWwgRGlyZWN0IC0gVGVybXMgYW5kIENvbmRpdGlvbnMgKOKAnFRlcm1z4oCdKQ==": string;
333
+ "RXZyaSBTZW5kIFRlcm1zICYgQ29uZGl0aW9ucw==": string;
334
+ "VGVybXMgb2YgU2VydmljZSBVbml0ZWQgS2luZ2RvbQ==": string;
335
+ RFBEIFN0YW5kYXJkIFRlcm1zIGFuZCBDb25kaXRpb25z: string;
336
+ "R2xvYmFsUG9zdCBUZXJtcyBhbmQgQ29uZGl0aW9ucw==": string;
337
+ "UHVyb2xhdG9yIFRlcm1zIGFuZCBDb25kaXRpb25zIG9mIFNlcnZpY2U=": string;
338
+ UHVyb2xhdG9yIE1vZGFsaXTDqXMgZXQgY29uZGl0aW9ucyBkZSBzZXJ2aWNl: string;
339
+ };
340
+ };
341
+ "manage-defaults": {
342
+ label: {
343
+ title: string;
344
+ letter: {
345
+ title: string;
346
+ description: string;
347
+ };
348
+ purchase: {
349
+ title: string;
350
+ description: string;
351
+ };
352
+ thermal: {
353
+ title: string; /**
354
+ * # ExternalCarriers Component
355
+ *
356
+ * @param ComponentProps The base props that will be passed into the `<ExternalCarriers />` component.
357
+ *
358
+ * @returns Element A React element that renders the `<ExternalCarriers />` component allowing users
359
+ * to view a list of their own carrier accounts that have been connected to their ShipEngine account,
360
+ * and to add additional carriers.
361
+ * This component is composed in the `<AccountSettings />` Element.
362
+ *
363
+ * @example
364
+ * ```tsx
365
+ * (() => {
366
+ * const features = useFeatures("Global");
367
+ *
368
+ * return <ExternalCarriers.Component features={features} />;
369
+ * })();
370
+ * ```
371
+ *
372
+ * <br />
373
+ *
374
+ * @see {@link ExternalCarriers.ComponentProps | The props that are passed into the `<ExternalCarriers />` component}
375
+ * @see {@link AccountSettings.Element | The `<AccountSettings />` component renders the `<ExternalCarriers />` component}
376
+ */
377
+ description: string;
378
+ };
379
+ };
380
+ status: {
381
+ saving: string;
382
+ saved: string;
383
+ savingFailed: string;
384
+ };
385
+ units: {
386
+ title: string;
387
+ dimensions: {
388
+ title: string;
389
+ standard: string;
390
+ metric: string;
391
+ };
392
+ weight: {
393
+ title: string;
394
+ standard: string;
395
+ g: string;
396
+ kg: string;
397
+ };
398
+ };
399
+ };
400
+ "manage-warehouses": {
401
+ title: string;
402
+ addNew: string;
403
+ editWarehouse: string;
404
+ contactName: string;
405
+ default: string;
406
+ isDefault: string;
407
+ locationName: string;
408
+ residentialAddress: string;
409
+ returnTo: string;
410
+ returnToAddressIsDifferent: string;
411
+ setDefault: string;
412
+ shipFrom: string;
413
+ };
414
+ "manage-funding": {
415
+ actions: {
416
+ addFunds: string;
417
+ addFundsAndPurchase: string;
418
+ addNow: string;
419
+ saveRule: string;
420
+ };
421
+ autoFunding: {
422
+ edit: string;
423
+ editSettings: string;
424
+ error: {
425
+ title: string;
426
+ message: string;
427
+ };
428
+ isEnabledCTA: string;
429
+ isEnabled: string;
430
+ isLoading: string;
431
+ lowBalancePurchaseThreshold: string;
432
+ maximumPurchasesPerDay: string;
433
+ purchaseAmount: string;
434
+ readSettings: string;
435
+ };
436
+ addFunds: {
437
+ custom: string;
438
+ error: {
439
+ title: string;
440
+ message: string;
441
+ };
442
+ isLoading: string;
443
+ labels: {
444
+ amount: string;
445
+ };
446
+ minimumPurchaseAmount: string;
447
+ other: string;
448
+ };
449
+ fundAndPurchase: {
450
+ finalBalance: string;
451
+ insufficientFunds: string;
452
+ insufficientFundsTitle: string;
453
+ negativeBalance: string;
454
+ negativeBalanceTitle: string;
455
+ newBalance: string;
456
+ };
457
+ errors: {
458
+ balanceUnknown: string;
459
+ unableToFindBalance: string;
460
+ };
461
+ byoc: {
462
+ invoiceNotification: string;
463
+ };
464
+ currentBalance: string;
465
+ maximumBalanceAmount: string;
466
+ };
467
+ "list-shipments": {
468
+ title: string;
469
+ headers: {
470
+ created: string;
471
+ download: string;
472
+ shipmentId: string;
473
+ shipDate: string;
474
+ shipTo: string;
475
+ };
476
+ actions: {
477
+ download: {
478
+ pdf: string;
479
+ };
480
+ };
481
+ };
482
+ "list-labels": {
483
+ title: string;
484
+ headers: {
485
+ created: string;
486
+ download: string;
487
+ labelId: string;
488
+ service: string;
489
+ shipTo: string;
490
+ };
491
+ actions: {
492
+ download: {
493
+ pdf: string;
494
+ };
495
+ };
496
+ };
497
+ "shipengine-carriers": {
498
+ title: string;
499
+ headers: {
500
+ accountCarriers: string;
501
+ carriers: string;
502
+ settings: string;
503
+ };
504
+ actions: {
505
+ status: {
506
+ connected: string;
507
+ notConnected: string;
508
+ };
509
+ };
510
+ };
511
+ common: {
512
+ actions: {
513
+ add: string;
514
+ cancel: string;
515
+ close: string;
516
+ confirm: string;
517
+ connect: string;
518
+ continue: string;
519
+ delete: string;
520
+ edit: string;
521
+ hide: string;
522
+ parse: string;
523
+ purchase: string;
524
+ remove: string;
525
+ save: string;
526
+ skipForNow: string;
527
+ submit: string;
528
+ tryAgain: string;
529
+ };
530
+ address: {
531
+ fields: {
532
+ name: string;
533
+ company: string;
534
+ county: string;
535
+ countryCode: string;
536
+ addressLine1: string;
537
+ addressLine2: string;
538
+ cityLocality: string;
539
+ stateProvince: string;
540
+ postalCode: string;
541
+ phone: string;
542
+ email: string;
543
+ addressResidentialIndicator: string;
544
+ };
545
+ noResults: string;
546
+ subFields: {
547
+ optional: string;
548
+ };
549
+ parserFields: {
550
+ fullAddress: string;
551
+ };
552
+ paste: string;
553
+ preference: {
554
+ confirm: string;
555
+ addressNotValidated: string;
556
+ modified: string;
557
+ title: string;
558
+ originalAddress: string;
559
+ matchedAddress: string;
560
+ unableToValidate: string;
561
+ use: {
562
+ originalAddress: string;
563
+ matchedAddress: string;
564
+ };
565
+ };
566
+ validation: {
567
+ notValidated: string;
568
+ validated: string;
569
+ };
570
+ };
571
+ billing: {
572
+ fields: {
573
+ differentBillingAddress: string;
574
+ name: string;
575
+ cardNumber: string;
576
+ expiration: string;
577
+ cvv: string;
578
+ cvvPlaceholder: string;
579
+ expirationPlaceholder: string;
580
+ cardNumberPlaceholder: string;
581
+ };
582
+ };
583
+ carriers: {
584
+ fields: {
585
+ agreement: string;
586
+ };
587
+ terms: {
588
+ agreeToTerms: string;
589
+ title: string;
590
+ };
591
+ };
592
+ charsetWarnings: {
593
+ name: {
594
+ message: string;
595
+ };
596
+ address: {
597
+ message: string;
598
+ title: string;
599
+ };
600
+ };
601
+ confirmationTypes: {
602
+ adultSignature: string;
603
+ delivery: string;
604
+ deliveryMailed: string;
605
+ directSignature: string;
606
+ none: string;
607
+ signature: string;
608
+ verbalConfirmation: string;
609
+ };
610
+ customs: {
611
+ addDeclaration: string;
612
+ contents: {
613
+ documents: string;
614
+ gift: string;
615
+ merchandise: string;
616
+ returnedGoods: string;
617
+ sample: string;
618
+ };
619
+ currencyChange: string;
620
+ declarations: string;
621
+ descriptionTooltip: {
622
+ message: string;
623
+ example1: string;
624
+ example2: string;
625
+ };
626
+ fields: {
627
+ contentsType: string;
628
+ countryOfOrigin: string;
629
+ description: string;
630
+ harmonizedTariffCode: string;
631
+ ifDeliveryFails: string;
632
+ quantity: string;
633
+ sku: string;
634
+ value: string;
635
+ valueQuantity: string;
636
+ };
637
+ nonDelivery: {
638
+ returnToSender: string;
639
+ treatAsAbandoned: string;
640
+ };
641
+ removeAllDeclarations: string;
642
+ total: string;
643
+ };
644
+ errorMessages: {
645
+ invalidNameOrCompany: string;
646
+ parsingFailure: string;
647
+ incompleteLabelPurchaseRequirements: string;
648
+ shipmentCancelled: string;
649
+ unableToLoad: {
650
+ accountSettings: string;
651
+ autoFundingSettings: string;
652
+ carrier: string;
653
+ carriers: string;
654
+ connectCarrierForm: string;
655
+ fundingSourceMetadata: string;
656
+ label: string;
657
+ labels: string;
658
+ salesOrder: string;
659
+ shipment: string;
660
+ shipments: string;
661
+ warehouses: string;
662
+ };
663
+ emailIsRequired: string;
664
+ unknown: string;
665
+ noRatesAvailable: string;
666
+ };
667
+ errorTypes: {
668
+ accountStatus: string;
669
+ businessRules: string;
670
+ integrations: string;
671
+ purchase: string;
672
+ rateInvalid: string;
673
+ saveRate: string;
674
+ security: string;
675
+ shipmentStatus: string;
676
+ system: string;
677
+ unknown: string;
678
+ validation: string;
679
+ };
680
+ grid: {
681
+ "row-count_one": string;
682
+ "row-count_other": string;
683
+ rows: string;
684
+ };
685
+ insuranceProviders: {
686
+ carrier: string;
687
+ none: string;
688
+ shipsurance: string;
689
+ thirdParty: string;
690
+ };
691
+ loading: {
692
+ accountSettings: string;
693
+ carrier: string;
694
+ carriers: string;
695
+ connectCarrierForm: string;
696
+ connectingCarriers: string;
697
+ creatingFundingSource: string;
698
+ data: string;
699
+ importingSalesOrder: string;
700
+ label: string;
701
+ labels: string;
702
+ onboarding: string;
703
+ salesOrder: string;
704
+ shipment: string;
705
+ shipments: string;
706
+ warehouses: string;
707
+ };
708
+ months: {
709
+ january: string;
710
+ february: string;
711
+ march: string;
712
+ april: string;
713
+ may: string;
714
+ june: string;
715
+ july: string;
716
+ august: string;
717
+ september: string;
718
+ october: string;
719
+ november: string;
720
+ december: string;
721
+ };
722
+ packageCategories: {
723
+ customPackages: string;
724
+ };
725
+ packageCodes: {
726
+ package: string;
727
+ };
728
+ "powered-by": string;
729
+ schema: {
730
+ optionalLabel: string;
731
+ };
732
+ required: string;
733
+ schemaErrors: {
734
+ notAValidPhoneNumber: string;
735
+ mustAgreeToTerms: string;
736
+ group: {
737
+ allMeasurementsOrNone: string;
738
+ };
739
+ invalidAddressName: string;
740
+ invalidAddressNameStrict: string;
741
+ invalidAddressOnboarding: string;
742
+ invalidAddressPoBox: string;
743
+ invalidCreditCardType: string;
744
+ invalidExpirationDate: string;
745
+ invalidPostalCode: string;
746
+ invalidStateProvince: string;
747
+ invalidString: string;
748
+ nonnegative: string;
749
+ nonnegativeList: string;
750
+ positive: string;
751
+ positiveList: string;
752
+ required: string;
753
+ requiredList: string;
754
+ tooFewCharacters: string;
755
+ tooManyCharacters: string;
756
+ };
757
+ shippingPresets: {
758
+ apply: string;
759
+ platform: string;
760
+ user: string;
761
+ };
762
+ terms: {
763
+ fields: {
764
+ agreement: string;
765
+ };
766
+ agreeToTerms: string;
767
+ carriersTitle: string;
768
+ fundingSourceTitle: string;
769
+ };
770
+ weight: {
771
+ ounces: string;
772
+ pounds_one: string;
773
+ pounds_other: string;
774
+ kilogram: string;
775
+ gram: string;
776
+ };
777
+ units: {
778
+ inch: string;
779
+ lbs: string;
780
+ oz: string;
781
+ centimeter: string;
782
+ gram: string;
783
+ kilogram: string;
784
+ };
785
+ T25seSByZXNpZGVudGlhbCBkZWxpdmVyeSBhZGRyZXNzZXMgYXJlIGFsbG93ZWQgZm9yIFVQUyBHcm91bmQgU2F2ZXIu: string;
786
+ "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkMTAwLgo=": string;
787
+ "VGhlIHNlbGVjdGVkIHNlcnZpY2UgaW5jbHVkZXMgaW5zdXJhbmNlIGZvciBhbiBpbnN1cmVkIGFtb3VudCB1cCB0byAkNTAuCg==": string;
788
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnN1ZmZpY2llbnQgYWNjb3VudCBiYWxhbmNlLiBBY2NvdW50IGV4Y2VwdGlvbiBFeGNlcHRpb24gd2l0aCBjb2RlIDB4MDA1NjAxMDE7IG1vZHVsZSA4NiwgY2F0ZWdvcnkgMSwgaXRlbSAx: string;
789
+ "QWRkcmVzcyBub3QgZm91bmQ=": string;
790
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBVUFMgd2VpZ2h0IGxpbWl0IHBlciBwYWNrYWdlIGlzIDE1MCBsYnMu: string;
791
+ UGxlYXNlIGFkZCBhIFN0YW1wcy5jb20gYWNjb3VudCB0byBTaGlwRW5naW5lIGluIG9yZGVyIHRvIGNyZWF0ZSBzaGlwcGluZyBsYWJlbHMu: string;
792
+ QSBzaGlwcGluZyBlcnJvciBvY2N1cnJlZDogTWlzc2luZyBvciBpbnZhbGlkIHNoaXBwZXIgbnVtYmVy: string;
793
+ QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcHBlciBuYW1l: string;
794
+ "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBNaXNzaW5nIG9yIGludmFsaWQgc2hpcCB0byBTdGF0ZVByb3ZpbmNlQ29kZQ==": string;
795
+ "QSBzaGlwcGluZyBjYXJyaWVyIGVycm9yIG9jY3VycmVkOiBJbnZhbGlkIHNvbGQgdG8gc3RhdGUgcHJvdmluY2UgY29kZS4gVmFsaWQgbGVuZ3RoIGlzIDAgdG8gNSBhbHBoYW51bWVyaWM=": string;
796
+ };
797
+ "connect-carrier": {
798
+ actions: {
799
+ cancel: string;
800
+ carrierSettings: string;
801
+ connectCarriers: string;
802
+ disconnect: string;
803
+ disconnectCarrier: string;
804
+ };
805
+ noCarriersDescription: string;
806
+ registrationForm: {
807
+ error: string;
808
+ title: string;
809
+ betaWarning: string;
810
+ };
811
+ search: string;
812
+ settingsModal: {
813
+ closeDialog: string;
814
+ header: string;
815
+ };
816
+ status: {
817
+ connected: string;
818
+ };
819
+ disconnectDropdown: {
820
+ toastTitle: string;
821
+ toastBody: string;
822
+ };
823
+ };
824
+ "account-settings": {
825
+ messages: {
826
+ noFundingSources: string;
827
+ };
828
+ title: string;
829
+ sections: {
830
+ accountBalance: string;
831
+ paymentMethod: string;
832
+ transactionHistory: string;
833
+ adjustmentHistory: string;
834
+ warehouses: string;
835
+ carriers: string;
836
+ externalCarriers: string;
837
+ labelLayout: string;
838
+ unitSettings: string;
839
+ };
840
+ };
841
+ };
842
+ } | undefined;
843
+ }) => import("@emotion/react/jsx-runtime").JSX.Element;
844
+ export type ElementProps = React.ComponentProps<typeof Element>;