@flowio/api-internal-prop-types 8.7.1 → 8.7.2
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 +122 -7
- package/lib/api-internal.js +1 -1
- package/package.json +2 -2
- package/src/api-internal.d.ts +122 -7
- package/src/api-internal.js +143 -27
package/lib/api-internal.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ declare namespace io.flow.experience.v0.enums {
|
|
|
132
132
|
type DiscountRuleStatus = 'active' | 'scheduled' | 'expired';
|
|
133
133
|
type DiscountRuleSubsidyTarget = 'vat' | 'duty';
|
|
134
134
|
type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
|
|
135
|
+
type ExperienceCountryStatus = 'enabled' | 'disabled';
|
|
135
136
|
type ExperiencePaymentMethodTag = 'display';
|
|
136
137
|
type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
|
|
137
138
|
type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
|
|
@@ -282,6 +283,16 @@ declare namespace io.flow.experience.v0.models {
|
|
|
282
283
|
readonly 'value': string;
|
|
283
284
|
}
|
|
284
285
|
|
|
286
|
+
interface CountryStatus {
|
|
287
|
+
readonly 'id': string;
|
|
288
|
+
readonly 'country': string;
|
|
289
|
+
readonly 'status': io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
interface CountryStatusForm {
|
|
293
|
+
readonly 'status': io.flow.experience.v0.enums.ExperienceCountryStatus;
|
|
294
|
+
}
|
|
295
|
+
|
|
285
296
|
interface CreditPayment {
|
|
286
297
|
readonly 'id': string;
|
|
287
298
|
readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
|
|
@@ -2475,17 +2486,23 @@ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
|
|
|
2475
2486
|
}
|
|
2476
2487
|
|
|
2477
2488
|
declare namespace io.flow.RESERVED_WORD_return.v0.enums {
|
|
2478
|
-
type ReturnSource = 'flow' | 'rebound';
|
|
2479
2489
|
type ReturnStatus = 'open' | 'refunded';
|
|
2480
|
-
type ReturnTrackingStatus = '
|
|
2490
|
+
type ReturnTrackingStatus = 'awaiting_customs_clearance' | 'cancel_requested' | 'canceled' | 'collection_attempt_failed' | 'customs_clearance_completed' | 'delivered_to_retailer' | 'in_transit_to_local_hub' | 'in_transit_to_retailer' | 'parcel_added_to_pallet' | 'parcel_delayed' | 'parcel_extracted_from_pallet' | 'parcel_lost' | 'parcel_processed_by_retailer' | 'parcel_under_investigation' | 'processed_by_local_hub' | 'received_at_local_hub' | 'received_by_the_carrier' | 'return_registered_online';
|
|
2481
2491
|
}
|
|
2482
2492
|
|
|
2483
2493
|
declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
2484
2494
|
interface Return {
|
|
2485
2495
|
readonly 'id': string;
|
|
2486
2496
|
readonly 'key': string;
|
|
2497
|
+
readonly 'order'?: io.flow.RESERVED_WORD_return.v0.models.ReturnOrderReference;
|
|
2498
|
+
readonly 'service': io.flow.fulfillment.v0.models.ServiceSummary;
|
|
2487
2499
|
readonly 'items': io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
|
|
2488
|
-
readonly 'labels'
|
|
2500
|
+
readonly 'labels'?: io.flow.label.v0.models.ShippingLabel[];
|
|
2501
|
+
readonly 'origin': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2502
|
+
readonly 'destination': io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2503
|
+
readonly 'source': io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2504
|
+
readonly 'tracking_status'?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2505
|
+
readonly 'tracking_status_timestamp'?: string;
|
|
2489
2506
|
}
|
|
2490
2507
|
|
|
2491
2508
|
interface ReturnForm {
|
|
@@ -2497,7 +2514,7 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2497
2514
|
readonly 'key'?: string;
|
|
2498
2515
|
readonly 'origin'?: io.flow.fulfillment.v0.models.ShippingAddress;
|
|
2499
2516
|
readonly 'center_key'?: string;
|
|
2500
|
-
readonly 'source': io.flow.RESERVED_WORD_return.v0.
|
|
2517
|
+
readonly 'source': io.flow.RESERVED_WORD_return.v0.unions.ReturnSource;
|
|
2501
2518
|
readonly 'tracking_status'?: io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus;
|
|
2502
2519
|
readonly 'tracking_status_timestamp'?: string;
|
|
2503
2520
|
}
|
|
@@ -2532,6 +2549,16 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2532
2549
|
readonly 'name'?: string;
|
|
2533
2550
|
}
|
|
2534
2551
|
|
|
2552
|
+
interface ReturnSourceExternalVendor {
|
|
2553
|
+
readonly 'discriminator': 'return_source_external_vendor';
|
|
2554
|
+
readonly 'key': string;
|
|
2555
|
+
}
|
|
2556
|
+
|
|
2557
|
+
interface ReturnSourceFlow {
|
|
2558
|
+
readonly 'discriminator': 'return_source_flow';
|
|
2559
|
+
readonly 'attributes'?: Record<string, string>;
|
|
2560
|
+
}
|
|
2561
|
+
|
|
2535
2562
|
interface ReturnVersion {
|
|
2536
2563
|
readonly 'id': string;
|
|
2537
2564
|
readonly 'timestamp': string;
|
|
@@ -2540,6 +2567,10 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
|
|
|
2540
2567
|
}
|
|
2541
2568
|
}
|
|
2542
2569
|
|
|
2570
|
+
declare namespace io.flow.RESERVED_WORD_return.v0.unions {
|
|
2571
|
+
type ReturnSource = (io.flow.RESERVED_WORD_return.v0.models.ReturnSourceFlow | io.flow.RESERVED_WORD_return.v0.models.ReturnSourceExternalVendor);
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2543
2574
|
declare namespace io.flow.harmonization.engine.internal.v0.enums {
|
|
2544
2575
|
type StatisticType = 'time-to-classify' | 'time-to-classify-aggregated' | 'rate-source' | 'rate-freshness';
|
|
2545
2576
|
}
|
|
@@ -6787,6 +6818,23 @@ declare namespace io.flow.payment.internal.v0.models {
|
|
|
6787
6818
|
readonly 'tribe': io.flow.payment.internal.v0.models.Tribe;
|
|
6788
6819
|
}
|
|
6789
6820
|
|
|
6821
|
+
interface PaymentOrganizationSettings {
|
|
6822
|
+
readonly 'id': string;
|
|
6823
|
+
readonly 'enable_auto_capture': boolean;
|
|
6824
|
+
readonly 'link_capture_to_vcc': boolean;
|
|
6825
|
+
readonly 'purge_ciphers': boolean;
|
|
6826
|
+
readonly 'domain'?: string;
|
|
6827
|
+
readonly 'merchant_category_code'?: number;
|
|
6828
|
+
}
|
|
6829
|
+
|
|
6830
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
6831
|
+
readonly 'enable_auto_capture'?: boolean;
|
|
6832
|
+
readonly 'link_capture_to_vcc'?: boolean;
|
|
6833
|
+
readonly 'purge_ciphers'?: boolean;
|
|
6834
|
+
readonly 'domain'?: string;
|
|
6835
|
+
readonly 'merchant_category_code'?: number;
|
|
6836
|
+
}
|
|
6837
|
+
|
|
6790
6838
|
interface PaypalAccount {
|
|
6791
6839
|
readonly 'discriminator': 'paypal_account';
|
|
6792
6840
|
readonly 'id': string;
|
|
@@ -8618,7 +8666,6 @@ declare namespace io.flow.crypto.v0.models {
|
|
|
8618
8666
|
readonly 'recipient': string;
|
|
8619
8667
|
readonly 'refunded': boolean;
|
|
8620
8668
|
readonly 'status': io.flow.crypto.v0.enums.PaymentStatus;
|
|
8621
|
-
readonly 'time_window': number;
|
|
8622
8669
|
}
|
|
8623
8670
|
|
|
8624
8671
|
interface PaymentRequest {
|
|
@@ -9381,7 +9428,7 @@ declare namespace io.flow.marketing.gateway.v0.models {
|
|
|
9381
9428
|
|
|
9382
9429
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
9383
9430
|
readonly 'catalog_id': number;
|
|
9384
|
-
readonly 'created_at'
|
|
9431
|
+
readonly 'created_at'?: number;
|
|
9385
9432
|
readonly 'expires_at'?: number;
|
|
9386
9433
|
readonly 'user_id': string;
|
|
9387
9434
|
readonly 'user_email'?: string;
|
|
@@ -9642,6 +9689,19 @@ declare namespace io.flow.label.internal.v0.models {
|
|
|
9642
9689
|
readonly 'organization': string;
|
|
9643
9690
|
readonly 'default_contents': string;
|
|
9644
9691
|
}
|
|
9692
|
+
|
|
9693
|
+
interface LabelGenerationSettings {
|
|
9694
|
+
readonly 'id': string;
|
|
9695
|
+
readonly 'item_identifier'?: string;
|
|
9696
|
+
readonly 'auto_generate_query'?: string;
|
|
9697
|
+
readonly 'commercial_invoice_only_query'?: string;
|
|
9698
|
+
}
|
|
9699
|
+
|
|
9700
|
+
interface LabelGenerationSettingsForm {
|
|
9701
|
+
readonly 'item_identifier'?: string;
|
|
9702
|
+
readonly 'auto_generate_query'?: string;
|
|
9703
|
+
readonly 'commercial_invoice_only_query'?: string;
|
|
9704
|
+
}
|
|
9645
9705
|
}
|
|
9646
9706
|
|
|
9647
9707
|
declare namespace io.flow.catalog.v0.enums {
|
|
@@ -14735,6 +14795,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
14735
14795
|
interface ExperimentForm {
|
|
14736
14796
|
readonly 'name': string;
|
|
14737
14797
|
readonly 'description'?: string;
|
|
14798
|
+
readonly 'emails': string[];
|
|
14738
14799
|
readonly 'variants': io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
14739
14800
|
}
|
|
14740
14801
|
|
|
@@ -14920,6 +14981,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
14920
14981
|
type FtpProtocol = 'sftp' | 'ftp';
|
|
14921
14982
|
type GoogleAnalyticsPlugin = 'ec';
|
|
14922
14983
|
type HttpMethod = 'get' | 'post';
|
|
14984
|
+
type InventoryCheckService = 'sfcc' | 'gymboree';
|
|
14985
|
+
type InventoryReservation = 'synchronous-on-submit';
|
|
14923
14986
|
type ItemClassificationAction = 'ACCEPT' | 'MANUAL' | 'REJECT';
|
|
14924
14987
|
type ItemClassificationStatus = 'unknown' | 'manual' | 'manually_accepted' | 'manually_overridden' | 'automatically_accepted';
|
|
14925
14988
|
type ItemHarmonizationStatus = 'waiting_for_classification' | 'classified' | 'non_classifiable_not_enough_information' | 'exempt';
|
|
@@ -18196,6 +18259,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18196
18259
|
interface ExperimentForm {
|
|
18197
18260
|
readonly 'name': string;
|
|
18198
18261
|
readonly 'description'?: string;
|
|
18262
|
+
readonly 'emails': string[];
|
|
18199
18263
|
readonly 'variants': io.flow.internal.v0.unions.VariantForm[];
|
|
18200
18264
|
}
|
|
18201
18265
|
|
|
@@ -19047,6 +19111,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19047
19111
|
readonly 'order': io.flow.experience.v0.models.OrderPutForm;
|
|
19048
19112
|
}
|
|
19049
19113
|
|
|
19114
|
+
interface InventoryOrganizationSettings {
|
|
19115
|
+
readonly 'id': string;
|
|
19116
|
+
readonly 'inventory_reservation': io.flow.internal.v0.enums.InventoryReservation;
|
|
19117
|
+
readonly 'inventory_check_service': io.flow.internal.v0.enums.InventoryCheckService;
|
|
19118
|
+
readonly 'inventory_check_service_root_url': string;
|
|
19119
|
+
}
|
|
19120
|
+
|
|
19121
|
+
interface InventoryOrganizationSettingsForm {
|
|
19122
|
+
readonly 'inventory_reservation': io.flow.internal.v0.enums.InventoryReservation;
|
|
19123
|
+
readonly 'inventory_check_service': io.flow.internal.v0.enums.InventoryCheckService;
|
|
19124
|
+
readonly 'inventory_check_service_root_url': string;
|
|
19125
|
+
}
|
|
19126
|
+
|
|
19050
19127
|
interface Invoice {
|
|
19051
19128
|
readonly 'id': string;
|
|
19052
19129
|
readonly 'number': string;
|
|
@@ -19382,6 +19459,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19382
19459
|
readonly 'constructions': Record<string, string[]>;
|
|
19383
19460
|
}
|
|
19384
19461
|
|
|
19462
|
+
interface LabelGenerationSettings {
|
|
19463
|
+
readonly 'id': string;
|
|
19464
|
+
readonly 'item_identifier'?: string;
|
|
19465
|
+
readonly 'auto_generate_query'?: string;
|
|
19466
|
+
readonly 'commercial_invoice_only_query'?: string;
|
|
19467
|
+
}
|
|
19468
|
+
|
|
19469
|
+
interface LabelGenerationSettingsForm {
|
|
19470
|
+
readonly 'item_identifier'?: string;
|
|
19471
|
+
readonly 'auto_generate_query'?: string;
|
|
19472
|
+
readonly 'commercial_invoice_only_query'?: string;
|
|
19473
|
+
}
|
|
19474
|
+
|
|
19385
19475
|
interface LabelSummary {
|
|
19386
19476
|
readonly 'commercial_invoice'?: string;
|
|
19387
19477
|
readonly 'pdf'?: string;
|
|
@@ -19783,7 +19873,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
19783
19873
|
|
|
19784
19874
|
interface MarketingGatewayFacebookConnectionAccessTokenSummary {
|
|
19785
19875
|
readonly 'catalog_id': number;
|
|
19786
|
-
readonly 'created_at'
|
|
19876
|
+
readonly 'created_at'?: number;
|
|
19787
19877
|
readonly 'expires_at'?: number;
|
|
19788
19878
|
readonly 'user_id': string;
|
|
19789
19879
|
readonly 'user_email'?: string;
|
|
@@ -20385,6 +20475,23 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20385
20475
|
readonly 'tribe': io.flow.internal.v0.models.Tribe;
|
|
20386
20476
|
}
|
|
20387
20477
|
|
|
20478
|
+
interface PaymentOrganizationSettings {
|
|
20479
|
+
readonly 'id': string;
|
|
20480
|
+
readonly 'enable_auto_capture': boolean;
|
|
20481
|
+
readonly 'link_capture_to_vcc': boolean;
|
|
20482
|
+
readonly 'purge_ciphers': boolean;
|
|
20483
|
+
readonly 'domain'?: string;
|
|
20484
|
+
readonly 'merchant_category_code'?: number;
|
|
20485
|
+
}
|
|
20486
|
+
|
|
20487
|
+
interface PaymentOrganizationSettingsPutForm {
|
|
20488
|
+
readonly 'enable_auto_capture'?: boolean;
|
|
20489
|
+
readonly 'link_capture_to_vcc'?: boolean;
|
|
20490
|
+
readonly 'purge_ciphers'?: boolean;
|
|
20491
|
+
readonly 'domain'?: string;
|
|
20492
|
+
readonly 'merchant_category_code'?: number;
|
|
20493
|
+
}
|
|
20494
|
+
|
|
20388
20495
|
interface PaymentSummaryV2 {
|
|
20389
20496
|
readonly 'discriminator': 'payment_summary_v2';
|
|
20390
20497
|
readonly 'id': string;
|
|
@@ -22528,6 +22635,8 @@ export const ftpIntent: PropTypes.Requireable<io.flow.internal.v0.enums.FtpInten
|
|
|
22528
22635
|
export const ftpProtocol: PropTypes.Requireable<io.flow.internal.v0.enums.FtpProtocol>;
|
|
22529
22636
|
export const googleAnalyticsPlugin: PropTypes.Requireable<io.flow.internal.v0.enums.GoogleAnalyticsPlugin>;
|
|
22530
22637
|
export const httpMethod: PropTypes.Requireable<io.flow.internal.v0.enums.HttpMethod>;
|
|
22638
|
+
export const inventoryCheckService: PropTypes.Requireable<io.flow.internal.v0.enums.InventoryCheckService>;
|
|
22639
|
+
export const inventoryReservation: PropTypes.Requireable<io.flow.internal.v0.enums.InventoryReservation>;
|
|
22531
22640
|
export const itemClassificationAction: PropTypes.Requireable<io.flow.internal.v0.enums.ItemClassificationAction>;
|
|
22532
22641
|
export const itemClassificationStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ItemClassificationStatus>;
|
|
22533
22642
|
export const itemHarmonizationStatus: PropTypes.Requireable<io.flow.internal.v0.enums.ItemHarmonizationStatus>;
|
|
@@ -23214,6 +23323,8 @@ export const internalPaypalAuthorizationDetails: PropTypes.Requireable<io.flow.i
|
|
|
23214
23323
|
export const internalRedirectAuthorizationDetails: PropTypes.Requireable<io.flow.internal.v0.models.InternalRedirectAuthorizationDetails>;
|
|
23215
23324
|
export const internalStripeAuthorizationDetails: PropTypes.Requireable<io.flow.internal.v0.models.InternalStripeAuthorizationDetails>;
|
|
23216
23325
|
export const invalidCheckoutData: PropTypes.Requireable<io.flow.internal.v0.models.InvalidCheckoutData>;
|
|
23326
|
+
export const inventoryOrganizationSettings: PropTypes.Requireable<io.flow.internal.v0.models.InventoryOrganizationSettings>;
|
|
23327
|
+
export const inventoryOrganizationSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.InventoryOrganizationSettingsForm>;
|
|
23217
23328
|
export const invoice: PropTypes.Requireable<io.flow.internal.v0.models.Invoice>;
|
|
23218
23329
|
export const invoiceLine: PropTypes.Requireable<io.flow.internal.v0.models.InvoiceLine>;
|
|
23219
23330
|
export const invoiceTransaction: PropTypes.Requireable<io.flow.internal.v0.models.InvoiceTransaction>;
|
|
@@ -23257,6 +23368,8 @@ export const labProjectSettingsForm: PropTypes.Requireable<io.flow.internal.v0.m
|
|
|
23257
23368
|
export const labProjectSettingsFormAcceptance: PropTypes.Requireable<io.flow.internal.v0.models.LabProjectSettingsFormAcceptance>;
|
|
23258
23369
|
export const labelAliases: PropTypes.Requireable<io.flow.internal.v0.models.LabelAliases>;
|
|
23259
23370
|
export const labelAssociation: PropTypes.Requireable<io.flow.internal.v0.models.LabelAssociation>;
|
|
23371
|
+
export const labelGenerationSettings: PropTypes.Requireable<io.flow.internal.v0.models.LabelGenerationSettings>;
|
|
23372
|
+
export const labelGenerationSettingsForm: PropTypes.Requireable<io.flow.internal.v0.models.LabelGenerationSettingsForm>;
|
|
23260
23373
|
export const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
|
|
23261
23374
|
export const labelTaxonomy: PropTypes.Requireable<io.flow.internal.v0.models.LabelTaxonomy>;
|
|
23262
23375
|
export const labeledContent: PropTypes.Requireable<io.flow.internal.v0.models.LabeledContent>;
|
|
@@ -23399,6 +23512,8 @@ export const partnerOrganizationAuthorizationForm: PropTypes.Requireable<io.flow
|
|
|
23399
23512
|
export const passphrase: PropTypes.Requireable<io.flow.internal.v0.models.Passphrase>;
|
|
23400
23513
|
export const passphraseForm: PropTypes.Requireable<io.flow.internal.v0.models.PassphraseForm>;
|
|
23401
23514
|
export const passphraseSummary: PropTypes.Requireable<io.flow.internal.v0.models.PassphraseSummary>;
|
|
23515
|
+
export const paymentOrganizationSettings: PropTypes.Requireable<io.flow.internal.v0.models.PaymentOrganizationSettings>;
|
|
23516
|
+
export const paymentOrganizationSettingsPutForm: PropTypes.Requireable<io.flow.internal.v0.models.PaymentOrganizationSettingsPutForm>;
|
|
23402
23517
|
export const paymentSummaryV2: PropTypes.Requireable<io.flow.internal.v0.models.PaymentSummaryV2>;
|
|
23403
23518
|
export const paypalAccount: PropTypes.Requireable<io.flow.internal.v0.models.PaypalAccount>;
|
|
23404
23519
|
export const paypalAccountModificationForm: PropTypes.Requireable<io.flow.internal.v0.models.PaypalAccountModificationForm>;
|