@flowio/api-internal-prop-types 9.24.70 → 9.24.71
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.
- package/lib/api-internal.d.ts +92 -40
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +92 -40
- package/src/api-internal.js +209 -153
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-prop-types",
|
|
3
|
-
"version": "9.24.
|
|
3
|
+
"version": "9.24.71",
|
|
4
4
|
"description": "PropType validators that work with internal Flow API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"prop-types": "^15.7.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "2eaa54ec47aea1e42dad859077feb3852172583c"
|
|
34
34
|
}
|
package/src/api-internal.d.ts
CHANGED
|
@@ -5378,6 +5378,7 @@ declare namespace io.flow.shopify.markets.v0.enums {
|
|
|
5378
5378
|
type ShopifyOrderFulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
|
|
5379
5379
|
type ShopifyOrderInventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
|
|
5380
5380
|
type ShopifyOrderKindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
|
|
5381
|
+
type ShopifyOrderPaymentGatewayNames = 'flow_commerce' | 'gift_card' | 'manual' | 'shopify_payments';
|
|
5381
5382
|
type ShopifyOrderProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
|
|
5382
5383
|
type ShopifyOrderRestockType = 'no_restock' | 'cancel' | 'return';
|
|
5383
5384
|
type ShopifyOrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
|
|
@@ -10925,6 +10926,22 @@ declare namespace io.flow.billing.v0.models {
|
|
|
10925
10926
|
readonly 'updated_at': string;
|
|
10926
10927
|
}
|
|
10927
10928
|
|
|
10929
|
+
interface TransactionMetadataChannel {
|
|
10930
|
+
readonly 'discriminator': 'channel';
|
|
10931
|
+
readonly 'method': string;
|
|
10932
|
+
readonly 'card'?: io.flow.billing.v0.models.TransactionMetadataChannelCardMetadata;
|
|
10933
|
+
}
|
|
10934
|
+
|
|
10935
|
+
interface TransactionMetadataChannelCardMetadata {
|
|
10936
|
+
readonly 'type': io.flow.payment.v0.enums.CardType;
|
|
10937
|
+
readonly 'issuer': io.flow.billing.v0.models.TransactionMetadataChannelCardMetadataIssuerSummary;
|
|
10938
|
+
}
|
|
10939
|
+
|
|
10940
|
+
interface TransactionMetadataChannelCardMetadataIssuerSummary {
|
|
10941
|
+
readonly 'iin': string;
|
|
10942
|
+
readonly 'country': string;
|
|
10943
|
+
}
|
|
10944
|
+
|
|
10928
10945
|
interface TransactionMetadataShippingLabel {
|
|
10929
10946
|
readonly 'discriminator': 'shipping_label';
|
|
10930
10947
|
readonly 'request_method'?: io.flow.label.v0.enums.LabelRequestMethod;
|
|
@@ -10976,7 +10993,7 @@ declare namespace io.flow.billing.v0.unions {
|
|
|
10976
10993
|
type BankAccountForm = (io.flow.billing.v0.models.BankAccountFormInfo | io.flow.billing.v0.models.BankAccountFormSimple);
|
|
10977
10994
|
type PayoutStatus = (io.flow.billing.v0.models.PayoutStatusScheduled | io.flow.billing.v0.models.PayoutStatusSent | io.flow.billing.v0.models.PayoutStatusFailed);
|
|
10978
10995
|
type Settlement = (io.flow.billing.v0.models.SettlementNoPayout | io.flow.billing.v0.models.SettlementPayout);
|
|
10979
|
-
type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataTrueup);
|
|
10996
|
+
type TransactionMetadata = (io.flow.billing.v0.models.TransactionMetadataShippingLabel | io.flow.billing.v0.models.TransactionMetadataChannel | io.flow.billing.v0.models.TransactionMetadataTrueup);
|
|
10980
10997
|
}
|
|
10981
10998
|
|
|
10982
10999
|
declare namespace io.flow.harmonization.v0.enums {
|
|
@@ -12845,7 +12862,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12845
12862
|
type PromptCheckoutDisplayPosition = 'email' | 'submission';
|
|
12846
12863
|
type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
|
|
12847
12864
|
type PromptTarget = 'browse' | 'checkout';
|
|
12848
|
-
type QueuedRecordType = 'capture' | '
|
|
12865
|
+
type QueuedRecordType = 'capture' | 'channel_transaction' | 'consumer_invoice' | 'fulfillment_in_transit' | 'fulfillment_shipping_notification' | 'fulfillment_external' | 'fulfillment_order_cancellation' | 'label_tracking_summary' | 'label_invoice_request' | 'carrier_charge' | 'carrier_charge_file' | 'label_origin' | 'order' | 'order_identifier' | 'organization_onboarding_state' | 'refund' | 'refund_over_capture' | 'sales_record' | 'statement_batch' | 'statement_email' | 'statement_summary_email';
|
|
12849
12866
|
type QuoteRequestType = 'generate' | 'delete' | 'update_currency_rate' | 'update_country';
|
|
12850
12867
|
type RateLevelKey = 'shopify_small_usa' | 'shopify_medium_usa' | 'shopify_enterprise_usa' | 'shopify_small_sdc_usa';
|
|
12851
12868
|
type RateSource = 'calculated' | 'market';
|
|
@@ -14330,6 +14347,53 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14330
14347
|
readonly 'error_message'?: string;
|
|
14331
14348
|
}
|
|
14332
14349
|
|
|
14350
|
+
interface CarrierChargeFile {
|
|
14351
|
+
readonly 'id': string;
|
|
14352
|
+
readonly 'url': string;
|
|
14353
|
+
readonly 'created_at': string;
|
|
14354
|
+
readonly 'result'?: io.flow.internal.v0.models.CarrierChargeFileResult;
|
|
14355
|
+
}
|
|
14356
|
+
|
|
14357
|
+
interface CarrierChargeFileForm {
|
|
14358
|
+
readonly 'url': string;
|
|
14359
|
+
}
|
|
14360
|
+
|
|
14361
|
+
interface CarrierChargeFileResult {
|
|
14362
|
+
readonly 'processed_at': string;
|
|
14363
|
+
readonly 'number_lines_successful': number;
|
|
14364
|
+
readonly 'number_lines_with_errors': number;
|
|
14365
|
+
readonly 'errors_url'?: string;
|
|
14366
|
+
}
|
|
14367
|
+
|
|
14368
|
+
interface CarrierChargeFormLabel {
|
|
14369
|
+
readonly 'discriminator': 'label';
|
|
14370
|
+
readonly 'id': string;
|
|
14371
|
+
readonly 'label_invoice_request_id': string;
|
|
14372
|
+
readonly 'units': io.flow.internal.v0.models.CarrierChargeUnits;
|
|
14373
|
+
readonly 'base': io.flow.internal.v0.models.LabelBase;
|
|
14374
|
+
readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
|
|
14375
|
+
readonly 'total': number;
|
|
14376
|
+
readonly 'attributes'?: Record<string, string>;
|
|
14377
|
+
}
|
|
14378
|
+
|
|
14379
|
+
interface CarrierChargeFormReturnToOrigin {
|
|
14380
|
+
readonly 'discriminator': 'return_to_origin';
|
|
14381
|
+
readonly 'id': string;
|
|
14382
|
+
readonly 'carrier_id': string;
|
|
14383
|
+
readonly 'carrier_tracking_number': string;
|
|
14384
|
+
readonly 'units': io.flow.internal.v0.models.CarrierChargeUnits;
|
|
14385
|
+
readonly 'base': io.flow.internal.v0.models.LabelBase;
|
|
14386
|
+
readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
|
|
14387
|
+
readonly 'total': number;
|
|
14388
|
+
readonly 'attributes'?: Record<string, string>;
|
|
14389
|
+
}
|
|
14390
|
+
|
|
14391
|
+
interface CarrierChargeUnits {
|
|
14392
|
+
readonly 'currency': string;
|
|
14393
|
+
readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
|
|
14394
|
+
readonly 'length'?: io.flow.units.v0.enums.UnitOfLength;
|
|
14395
|
+
}
|
|
14396
|
+
|
|
14333
14397
|
interface CarrierInvoice {
|
|
14334
14398
|
readonly 'number': string;
|
|
14335
14399
|
readonly 'timestamp': string;
|
|
@@ -19048,16 +19112,28 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19048
19112
|
interface FulfillmentProofExternalFulfillmentProofReference {
|
|
19049
19113
|
readonly 'discriminator': 'external_fulfillment';
|
|
19050
19114
|
readonly 'id': string;
|
|
19115
|
+
readonly 'carrier_id'?: string;
|
|
19116
|
+
readonly 'carrier_service_id'?: string;
|
|
19117
|
+
readonly 'carrier_tracking_number'?: string;
|
|
19118
|
+
readonly 'label_id'?: string;
|
|
19051
19119
|
}
|
|
19052
19120
|
|
|
19053
19121
|
interface FulfillmentProofLabelTrackingReference {
|
|
19054
19122
|
readonly 'discriminator': 'label_tracking';
|
|
19055
19123
|
readonly 'id': string;
|
|
19124
|
+
readonly 'carrier_id'?: string;
|
|
19125
|
+
readonly 'carrier_service_id'?: string;
|
|
19126
|
+
readonly 'carrier_tracking_number'?: string;
|
|
19127
|
+
readonly 'label_id'?: string;
|
|
19056
19128
|
}
|
|
19057
19129
|
|
|
19058
19130
|
interface FulfillmentProofShippingNotificationReference {
|
|
19059
19131
|
readonly 'discriminator': 'shipping_notification';
|
|
19060
19132
|
readonly 'id': string;
|
|
19133
|
+
readonly 'carrier_id'?: string;
|
|
19134
|
+
readonly 'carrier_service_id'?: string;
|
|
19135
|
+
readonly 'carrier_tracking_number'?: string;
|
|
19136
|
+
readonly 'label_id'?: string;
|
|
19061
19137
|
}
|
|
19062
19138
|
|
|
19063
19139
|
interface FulfillmentReference {
|
|
@@ -20686,33 +20762,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20686
20762
|
readonly 'label_invoice_request': io.flow.internal.v0.models.LabelInvoiceRequest;
|
|
20687
20763
|
}
|
|
20688
20764
|
|
|
20689
|
-
interface LabelInvoiceResponseFile {
|
|
20690
|
-
readonly 'id': string;
|
|
20691
|
-
readonly 'url': string;
|
|
20692
|
-
readonly 'created_at': string;
|
|
20693
|
-
readonly 'result'?: io.flow.internal.v0.models.LabelInvoiceResponseFileResult;
|
|
20694
|
-
}
|
|
20695
|
-
|
|
20696
|
-
interface LabelInvoiceResponseFileForm {
|
|
20697
|
-
readonly 'url': string;
|
|
20698
|
-
}
|
|
20699
|
-
|
|
20700
|
-
interface LabelInvoiceResponseFileResult {
|
|
20701
|
-
readonly 'processed_at': string;
|
|
20702
|
-
readonly 'number_lines_successful': number;
|
|
20703
|
-
readonly 'number_lines_with_errors': number;
|
|
20704
|
-
readonly 'errors_url'?: string;
|
|
20705
|
-
}
|
|
20706
|
-
|
|
20707
|
-
interface LabelInvoiceResponseForm {
|
|
20708
|
-
readonly 'id': string;
|
|
20709
|
-
readonly 'label_invoice_request_id': string;
|
|
20710
|
-
readonly 'units': io.flow.internal.v0.models.LabelResponseUnits;
|
|
20711
|
-
readonly 'base': io.flow.internal.v0.models.LabelBase;
|
|
20712
|
-
readonly 'surcharges': io.flow.internal.v0.models.LabelSurchargeForm;
|
|
20713
|
-
readonly 'total': number;
|
|
20714
|
-
}
|
|
20715
|
-
|
|
20716
20765
|
interface LabelMetadata {
|
|
20717
20766
|
readonly 'ratecard': io.flow.internal.v0.models.MetadataRatecard;
|
|
20718
20767
|
readonly 'weights': io.flow.internal.v0.models.MetadataWeights;
|
|
@@ -20748,12 +20797,6 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20748
20797
|
readonly 'label_request_error': io.flow.internal.v0.models.LabelRequestError;
|
|
20749
20798
|
}
|
|
20750
20799
|
|
|
20751
|
-
interface LabelResponseUnits {
|
|
20752
|
-
readonly 'currency': string;
|
|
20753
|
-
readonly 'weight': io.flow.units.v0.enums.UnitOfWeight;
|
|
20754
|
-
readonly 'length'?: io.flow.units.v0.enums.UnitOfLength;
|
|
20755
|
-
}
|
|
20756
|
-
|
|
20757
20800
|
interface LabelSummary {
|
|
20758
20801
|
readonly 'id': string;
|
|
20759
20802
|
readonly 'commercial_invoice'?: string;
|
|
@@ -21556,6 +21599,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21556
21599
|
}
|
|
21557
21600
|
|
|
21558
21601
|
interface MerchantCharges {
|
|
21602
|
+
readonly 'adjustment': number;
|
|
21603
|
+
readonly 'reversal': number;
|
|
21604
|
+
readonly 'tax': number;
|
|
21605
|
+
readonly 'duty': number;
|
|
21559
21606
|
readonly 'labels': number;
|
|
21560
21607
|
readonly 'total': number;
|
|
21561
21608
|
}
|
|
@@ -22210,6 +22257,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22210
22257
|
readonly 'id': string;
|
|
22211
22258
|
readonly 'deactivate_at': string;
|
|
22212
22259
|
readonly 'created_at': string;
|
|
22260
|
+
readonly 'reason'?: string;
|
|
22213
22261
|
}
|
|
22214
22262
|
|
|
22215
22263
|
interface OrganizationDeactivationDeleted {
|
|
@@ -22222,6 +22270,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22222
22270
|
|
|
22223
22271
|
interface OrganizationDeactivationForm {
|
|
22224
22272
|
readonly 'deactivate_at': string;
|
|
22273
|
+
readonly 'reason'?: string;
|
|
22225
22274
|
}
|
|
22226
22275
|
|
|
22227
22276
|
interface OrganizationDeactivationUpserted {
|
|
@@ -25796,6 +25845,7 @@ declare namespace io.flow.internal.v0.unions {
|
|
|
25796
25845
|
type AuthorizedOrderCharge = (io.flow.internal.v0.models.AuthorizedShippingCharge);
|
|
25797
25846
|
type BlazeConsumerMessage = (io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeCreateByCartToken | io.flow.internal.v0.models.BlazeInitializeByOrderQuoteMessage | io.flow.internal.v0.models.BlazeInitializeBySessionMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeSetCheckoutIdMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse | io.flow.internal.v0.models.BlazeSetPromotionCodeMessage);
|
|
25798
25847
|
type BlazeProviderMessage = (io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeCheckoutEventMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeExitCheckoutConfirmationMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage);
|
|
25848
|
+
type CarrierChargeForm = (io.flow.internal.v0.models.CarrierChargeFormLabel | io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin);
|
|
25799
25849
|
type CarrierCredentials = (io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex);
|
|
25800
25850
|
type ChannelRateMetadata = (io.flow.internal.v0.models.ChannelRateMetadataIdentity | io.flow.internal.v0.models.ChannelRateMetadataRate);
|
|
25801
25851
|
type CheckoutAddressBookEdit = (io.flow.internal.v0.models.CheckoutAddressBookContactRemoved);
|
|
@@ -26426,6 +26476,12 @@ export const carrierAccountDeleted: PropTypes.Requireable<io.flow.internal.v0.mo
|
|
|
26426
26476
|
export const carrierAccountForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountForm>;
|
|
26427
26477
|
export const carrierAccountUpsertedV2: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountUpsertedV2>;
|
|
26428
26478
|
export const carrierAccountValidation: PropTypes.Requireable<io.flow.internal.v0.models.CarrierAccountValidation>;
|
|
26479
|
+
export const carrierChargeFile: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFile>;
|
|
26480
|
+
export const carrierChargeFileForm: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFileForm>;
|
|
26481
|
+
export const carrierChargeFileResult: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFileResult>;
|
|
26482
|
+
export const carrierChargeFormLabel: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFormLabel>;
|
|
26483
|
+
export const carrierChargeFormReturnToOrigin: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeFormReturnToOrigin>;
|
|
26484
|
+
export const carrierChargeUnits: PropTypes.Requireable<io.flow.internal.v0.models.CarrierChargeUnits>;
|
|
26429
26485
|
export const carrierInvoice: PropTypes.Requireable<io.flow.internal.v0.models.CarrierInvoice>;
|
|
26430
26486
|
export const catalogImportRequest: PropTypes.Requireable<io.flow.internal.v0.models.CatalogImportRequest>;
|
|
26431
26487
|
export const catalogItemBatchIndexTask: PropTypes.Requireable<io.flow.internal.v0.models.CatalogItemBatchIndexTask>;
|
|
@@ -27334,15 +27390,10 @@ export const labelGenerationSettingsUpserted: PropTypes.Requireable<io.flow.inte
|
|
|
27334
27390
|
export const labelInvoiceRequest: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequest>;
|
|
27335
27391
|
export const labelInvoiceRequestDeleted: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequestDeleted>;
|
|
27336
27392
|
export const labelInvoiceRequestUpserted: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceRequestUpserted>;
|
|
27337
|
-
export const labelInvoiceResponseFile: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFile>;
|
|
27338
|
-
export const labelInvoiceResponseFileForm: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFileForm>;
|
|
27339
|
-
export const labelInvoiceResponseFileResult: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseFileResult>;
|
|
27340
|
-
export const labelInvoiceResponseForm: PropTypes.Requireable<io.flow.internal.v0.models.LabelInvoiceResponseForm>;
|
|
27341
27393
|
export const labelMetadata: PropTypes.Requireable<io.flow.internal.v0.models.LabelMetadata>;
|
|
27342
27394
|
export const labelRequestError: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestError>;
|
|
27343
27395
|
export const labelRequestErrorDeleted: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestErrorDeleted>;
|
|
27344
27396
|
export const labelRequestErrorUpserted: PropTypes.Requireable<io.flow.internal.v0.models.LabelRequestErrorUpserted>;
|
|
27345
|
-
export const labelResponseUnits: PropTypes.Requireable<io.flow.internal.v0.models.LabelResponseUnits>;
|
|
27346
27397
|
export const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
|
|
27347
27398
|
export const labelSurcharge: PropTypes.Requireable<io.flow.internal.v0.models.LabelSurcharge>;
|
|
27348
27399
|
export const labelSurchargeDetailFlat: PropTypes.Requireable<io.flow.internal.v0.models.LabelSurchargeDetailFlat>;
|
|
@@ -28034,6 +28085,7 @@ export const authorizationPayload: PropTypes.Requireable<io.flow.internal.v0.uni
|
|
|
28034
28085
|
export const authorizedOrderCharge: PropTypes.Requireable<io.flow.internal.v0.unions.AuthorizedOrderCharge>;
|
|
28035
28086
|
export const blazeConsumerMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeConsumerMessage>;
|
|
28036
28087
|
export const blazeProviderMessage: PropTypes.Requireable<io.flow.internal.v0.unions.BlazeProviderMessage>;
|
|
28088
|
+
export const carrierChargeForm: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierChargeForm>;
|
|
28037
28089
|
export const carrierCredentials: PropTypes.Requireable<io.flow.internal.v0.unions.CarrierCredentials>;
|
|
28038
28090
|
export const channelRateMetadata: PropTypes.Requireable<io.flow.internal.v0.unions.ChannelRateMetadata>;
|
|
28039
28091
|
export const checkoutAddressBookEdit: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutAddressBookEdit>;
|