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