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