@flowio/types 11.24.31 → 11.24.32
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/dist/api-internal.d.ts +53 -38
- package/package.json +2 -2
- package/src/api-internal.ts +56 -41
package/dist/api-internal.d.ts
CHANGED
|
@@ -214,7 +214,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
214
214
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
215
215
|
readonly name?: string;
|
|
216
216
|
readonly rate?: number;
|
|
217
|
-
readonly accuracy
|
|
217
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
218
218
|
readonly rate_label?: string;
|
|
219
219
|
}
|
|
220
220
|
interface OrderPriceDetailComponent {
|
|
@@ -327,7 +327,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
327
327
|
}
|
|
328
328
|
interface DiscountForm {
|
|
329
329
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
330
|
-
readonly target
|
|
330
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
331
331
|
readonly label?: string;
|
|
332
332
|
}
|
|
333
333
|
interface DiscountOfferFixed {
|
|
@@ -479,7 +479,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
479
479
|
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
480
480
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
481
481
|
readonly created_at?: string;
|
|
482
|
-
readonly status
|
|
482
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
483
483
|
}
|
|
484
484
|
interface OrganizationDefaults {
|
|
485
485
|
readonly country: string;
|
|
@@ -651,7 +651,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
651
651
|
readonly currency: string;
|
|
652
652
|
readonly name: string;
|
|
653
653
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
654
|
-
readonly status
|
|
654
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
655
655
|
}
|
|
656
656
|
interface PriceBookItem {
|
|
657
657
|
readonly id: string;
|
|
@@ -1071,7 +1071,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1071
1071
|
readonly item_numbers?: string[];
|
|
1072
1072
|
readonly start_date?: string;
|
|
1073
1073
|
readonly end_date?: string;
|
|
1074
|
-
readonly item_identifier
|
|
1074
|
+
readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
|
|
1075
1075
|
}
|
|
1076
1076
|
interface ScheduledExport {
|
|
1077
1077
|
readonly id: string;
|
|
@@ -1521,7 +1521,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1521
1521
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
1522
1522
|
readonly created_at: string;
|
|
1523
1523
|
readonly attributes?: Record<string, string>;
|
|
1524
|
-
readonly status
|
|
1524
|
+
readonly status?: io.flow.payment.v0.enums.CaptureStatus;
|
|
1525
1525
|
readonly base?: io.flow.common.v0.models.Money;
|
|
1526
1526
|
}
|
|
1527
1527
|
interface CaptureError {
|
|
@@ -1569,7 +1569,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1569
1569
|
readonly discriminator: 'card_authorization';
|
|
1570
1570
|
readonly id: string;
|
|
1571
1571
|
readonly key: string;
|
|
1572
|
-
readonly merchant_of_record
|
|
1572
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
1573
1573
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
1574
1574
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
1575
1575
|
readonly amount: number;
|
|
@@ -1734,12 +1734,6 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1734
1734
|
readonly ip?: string;
|
|
1735
1735
|
readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
|
|
1736
1736
|
}
|
|
1737
|
-
interface Installment {
|
|
1738
|
-
readonly discriminator: 'installment';
|
|
1739
|
-
readonly first_name?: string;
|
|
1740
|
-
readonly last_name?: string;
|
|
1741
|
-
readonly response_code?: string;
|
|
1742
|
-
}
|
|
1743
1737
|
interface IssuerReference {
|
|
1744
1738
|
readonly id: string;
|
|
1745
1739
|
}
|
|
@@ -1793,7 +1787,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1793
1787
|
readonly id: string;
|
|
1794
1788
|
readonly key: string;
|
|
1795
1789
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
1796
|
-
readonly merchant_of_record
|
|
1790
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
1797
1791
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
1798
1792
|
readonly payment?: any;
|
|
1799
1793
|
readonly amount: number;
|
|
@@ -1933,7 +1927,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1933
1927
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
1934
1928
|
readonly created_at: string;
|
|
1935
1929
|
readonly attributes?: Record<string, string>;
|
|
1936
|
-
readonly status
|
|
1930
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
1937
1931
|
readonly base?: io.flow.common.v0.models.Money;
|
|
1938
1932
|
}
|
|
1939
1933
|
interface RefundCapture {
|
|
@@ -1943,7 +1937,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1943
1937
|
readonly amount: number;
|
|
1944
1938
|
readonly currency: string;
|
|
1945
1939
|
readonly base: io.flow.common.v0.models.Money;
|
|
1946
|
-
readonly status
|
|
1940
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
1947
1941
|
}
|
|
1948
1942
|
interface RefundCaptureSummary {
|
|
1949
1943
|
readonly capture: io.flow.payment.v0.models.Capture;
|
|
@@ -2141,7 +2135,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
2141
2135
|
type AuthorizationResultAction = io.flow.payment.v0.models.AuthorizationResultActionGet | io.flow.payment.v0.models.AuthorizationResultActionPost | io.flow.payment.v0.models.AuthorizationResultActionWait | io.flow.payment.v0.models.AuthorizationResultActionNative;
|
|
2142
2136
|
type AuthorizationResultActionDetails = io.flow.payment.v0.models.AdyenNativeActionDetails | io.flow.payment.v0.models.StripeAuthorizationResultActionDetails | io.flow.payment.v0.models.ThreedsIdentifyActionDetails | io.flow.payment.v0.models.ThreedsChallengeActionDetails | io.flow.payment.v0.models.KlarnaSdkAuthorizationResultActionDetails | io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
|
|
2143
2137
|
type BrowserActionConfiguration = io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
2144
|
-
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit
|
|
2138
|
+
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
|
|
2145
2139
|
type ExpandableCard = io.flow.payment.v0.models.Card | io.flow.payment.v0.models.CardReference | io.flow.payment.v0.models.CardSummary;
|
|
2146
2140
|
type ExpandablePaymentProcessor = io.flow.payment.v0.models.PaymentProcessor | io.flow.payment.v0.models.PaymentProcessorReference;
|
|
2147
2141
|
type GatewayAuthenticationData = io.flow.payment.v0.models.StripeAuthenticationData;
|
|
@@ -5933,12 +5927,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
5933
5927
|
}
|
|
5934
5928
|
interface PaymentDiscount {
|
|
5935
5929
|
readonly amount: number;
|
|
5936
|
-
readonly name
|
|
5930
|
+
readonly name?: string;
|
|
5937
5931
|
readonly code?: string;
|
|
5938
5932
|
}
|
|
5939
5933
|
interface PaymentDuty {
|
|
5940
5934
|
readonly amount: number;
|
|
5941
|
-
readonly name
|
|
5935
|
+
readonly name?: string;
|
|
5942
5936
|
}
|
|
5943
5937
|
interface PaymentFailure {
|
|
5944
5938
|
readonly authorization_id?: string;
|
|
@@ -6194,7 +6188,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6194
6188
|
}
|
|
6195
6189
|
interface PaymentTax {
|
|
6196
6190
|
readonly amount: number;
|
|
6197
|
-
readonly name
|
|
6191
|
+
readonly name?: string;
|
|
6198
6192
|
}
|
|
6199
6193
|
interface Shipping {
|
|
6200
6194
|
readonly description: string;
|
|
@@ -6346,7 +6340,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6346
6340
|
readonly country: string;
|
|
6347
6341
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
6348
6342
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
6349
|
-
readonly formats
|
|
6343
|
+
readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
6350
6344
|
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
6351
6345
|
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
6352
6346
|
}
|
|
@@ -6398,7 +6392,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6398
6392
|
readonly rate: number;
|
|
6399
6393
|
readonly name: string;
|
|
6400
6394
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
6401
|
-
readonly accuracy
|
|
6395
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
6402
6396
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
6403
6397
|
}
|
|
6404
6398
|
interface AllocationLineDetail {
|
|
@@ -6827,7 +6821,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6827
6821
|
readonly discriminator: 'order';
|
|
6828
6822
|
readonly id: string;
|
|
6829
6823
|
readonly number: string;
|
|
6830
|
-
readonly order_type
|
|
6824
|
+
readonly order_type?: io.flow.experience.v0.enums.OrderType;
|
|
6831
6825
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
6832
6826
|
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
6833
6827
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
@@ -6981,7 +6975,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6981
6975
|
}
|
|
6982
6976
|
interface OrderNumberGeneratorUuid {
|
|
6983
6977
|
readonly discriminator: 'uuid';
|
|
6984
|
-
readonly prefix
|
|
6978
|
+
readonly prefix?: string;
|
|
6985
6979
|
}
|
|
6986
6980
|
interface OrderNumberReference {
|
|
6987
6981
|
readonly number: string;
|
|
@@ -6992,13 +6986,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
6992
6986
|
interface OrderPayment {
|
|
6993
6987
|
readonly id: string;
|
|
6994
6988
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
6995
|
-
readonly merchant_of_record
|
|
6989
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
6996
6990
|
readonly reference: string;
|
|
6997
6991
|
readonly description: string;
|
|
6998
6992
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
6999
6993
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
7000
6994
|
readonly date?: string;
|
|
7001
|
-
readonly attributes
|
|
6995
|
+
readonly attributes?: Record<string, string>;
|
|
7002
6996
|
readonly method?: string;
|
|
7003
6997
|
}
|
|
7004
6998
|
interface OrderPromotionTrigger {
|
|
@@ -7006,7 +7000,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
7006
7000
|
readonly min?: io.flow.common.v0.models.Price;
|
|
7007
7001
|
}
|
|
7008
7002
|
interface OrderPutForm {
|
|
7009
|
-
readonly order_type
|
|
7003
|
+
readonly order_type?: io.flow.experience.v0.enums.OrderType;
|
|
7010
7004
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
7011
7005
|
readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
|
|
7012
7006
|
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
@@ -7083,7 +7077,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
7083
7077
|
readonly filename?: string;
|
|
7084
7078
|
}
|
|
7085
7079
|
interface OrderSubmissionForm {
|
|
7086
|
-
readonly identifiers
|
|
7080
|
+
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
7087
7081
|
}
|
|
7088
7082
|
interface OrderSubmissionIdentifierForm {
|
|
7089
7083
|
readonly identifier: string;
|
|
@@ -7455,7 +7449,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
7455
7449
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
7456
7450
|
readonly service: string;
|
|
7457
7451
|
readonly number?: string;
|
|
7458
|
-
readonly ratecard_owner
|
|
7452
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
7459
7453
|
}
|
|
7460
7454
|
interface RatecardLane {
|
|
7461
7455
|
readonly id: string;
|
|
@@ -8223,7 +8217,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
8223
8217
|
readonly base: io.flow.common.v0.models.Price;
|
|
8224
8218
|
readonly name: string;
|
|
8225
8219
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
8226
|
-
readonly accuracy
|
|
8220
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
8227
8221
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
8228
8222
|
}
|
|
8229
8223
|
interface LocalizedTotal {
|
|
@@ -8368,7 +8362,7 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
8368
8362
|
}
|
|
8369
8363
|
interface InventoryUnlimited {
|
|
8370
8364
|
readonly discriminator: 'inventory_unlimited';
|
|
8371
|
-
readonly placeholder
|
|
8365
|
+
readonly placeholder?: string;
|
|
8372
8366
|
}
|
|
8373
8367
|
interface InventoryUpdate {
|
|
8374
8368
|
readonly id: string;
|
|
@@ -9692,7 +9686,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9692
9686
|
readonly organization: string;
|
|
9693
9687
|
readonly email: string;
|
|
9694
9688
|
readonly name?: io.flow.common.v0.models.Name;
|
|
9695
|
-
readonly role
|
|
9689
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9696
9690
|
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
9697
9691
|
}
|
|
9698
9692
|
interface InvitationVersion {
|
|
@@ -9711,12 +9705,12 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9711
9705
|
interface MembershipForm {
|
|
9712
9706
|
readonly organization: string;
|
|
9713
9707
|
readonly user: string;
|
|
9714
|
-
readonly role
|
|
9715
|
-
readonly roles
|
|
9708
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9709
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
9716
9710
|
}
|
|
9717
9711
|
interface MembershipPutForm {
|
|
9718
|
-
readonly role
|
|
9719
|
-
readonly roles
|
|
9712
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
9713
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
9720
9714
|
}
|
|
9721
9715
|
interface MembershipVersion {
|
|
9722
9716
|
readonly id: string;
|
|
@@ -9748,14 +9742,14 @@ declare namespace io.flow.organization.v0.models {
|
|
|
9748
9742
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
9749
9743
|
readonly parent_id?: string;
|
|
9750
9744
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
9751
|
-
readonly status
|
|
9745
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
9752
9746
|
}
|
|
9753
9747
|
interface OrganizationPutForm {
|
|
9754
9748
|
readonly name?: string;
|
|
9755
9749
|
readonly environment?: io.flow.common.v0.enums.Environment;
|
|
9756
9750
|
readonly parent_id?: string;
|
|
9757
9751
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
9758
|
-
readonly status
|
|
9752
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
9759
9753
|
}
|
|
9760
9754
|
interface OrganizationVersion {
|
|
9761
9755
|
readonly id: string;
|
|
@@ -10862,6 +10856,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
10862
10856
|
readonly number: string;
|
|
10863
10857
|
readonly submitted_at: string;
|
|
10864
10858
|
readonly primary_identifier?: string;
|
|
10859
|
+
readonly identifiers?: Record<string, string>;
|
|
10865
10860
|
readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
|
|
10866
10861
|
}
|
|
10867
10862
|
interface BillingOrderTransactionOrderReference {
|
|
@@ -11226,6 +11221,12 @@ declare namespace io.flow.internal.v0.models {
|
|
|
11226
11221
|
interface BrowserBundlePaymentMethods {
|
|
11227
11222
|
readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
|
|
11228
11223
|
}
|
|
11224
|
+
interface ByRuleSnapshot {
|
|
11225
|
+
readonly id: string;
|
|
11226
|
+
readonly name: string;
|
|
11227
|
+
readonly open_decision_count: number;
|
|
11228
|
+
readonly restricted_product_count: number;
|
|
11229
|
+
}
|
|
11229
11230
|
interface CalculatedTaxAmount {
|
|
11230
11231
|
readonly discriminator: 'calculated_tax_amount';
|
|
11231
11232
|
readonly amount: number;
|
|
@@ -17006,6 +17007,18 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17006
17007
|
readonly type: io.flow.common.v0.enums.ChangeType;
|
|
17007
17008
|
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
17008
17009
|
}
|
|
17010
|
+
interface OrganizationRestrictionSnapshot {
|
|
17011
|
+
readonly organization_id: string;
|
|
17012
|
+
readonly organization_channel_id: string;
|
|
17013
|
+
readonly organization_status: string;
|
|
17014
|
+
readonly product_count: number;
|
|
17015
|
+
readonly open_decision_count: number;
|
|
17016
|
+
readonly restricted_product_count: number;
|
|
17017
|
+
readonly count_by_rule: io.flow.internal.v0.models.ByRuleSnapshot[];
|
|
17018
|
+
readonly earliest_pending_decision_date: string;
|
|
17019
|
+
readonly earliest_product_receipt_date: string;
|
|
17020
|
+
readonly date: string;
|
|
17021
|
+
}
|
|
17009
17022
|
interface OrganizationRestrictionSummary {
|
|
17010
17023
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
17011
17024
|
readonly earliest_date: string;
|
|
@@ -19703,6 +19716,7 @@ export declare type BrowserBundleOptinForm = io.flow.internal.v0.models.BrowserB
|
|
|
19703
19716
|
export declare type BrowserBundlePaymentMethod = io.flow.internal.v0.models.BrowserBundlePaymentMethod;
|
|
19704
19717
|
export declare type BrowserBundlePaymentMethodForm = io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
19705
19718
|
export declare type BrowserBundlePaymentMethods = io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
19719
|
+
export declare type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
|
|
19706
19720
|
export declare type CalculatedTaxAmount = io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
19707
19721
|
export declare type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
|
|
19708
19722
|
export declare type CalculatorOrganizationSettings = io.flow.internal.v0.models.CalculatorOrganizationSettings;
|
|
@@ -20958,6 +20972,7 @@ export declare type OrganizationPaymentSetting = io.flow.internal.v0.models.Orga
|
|
|
20958
20972
|
export declare type OrganizationPaymentSettingForm = io.flow.internal.v0.models.OrganizationPaymentSettingForm;
|
|
20959
20973
|
export declare type OrganizationPaymentSettingVersion = io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
20960
20974
|
export declare type OrganizationPaymentStatus = io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
20975
|
+
export declare type OrganizationRestrictionSnapshot = io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
|
|
20961
20976
|
export declare type OrganizationRestrictionSummary = io.flow.internal.v0.models.OrganizationRestrictionSummary;
|
|
20962
20977
|
export declare type OrganizationSettings = io.flow.internal.v0.models.OrganizationSettings;
|
|
20963
20978
|
export declare type OrganizationSettingsForm = io.flow.internal.v0.models.OrganizationSettingsForm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.32",
|
|
4
4
|
"description": "TypeScript type definitions for custom types found in Flow API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"maintainers": [
|
|
26
26
|
"Christian Muñoz <christian.munoz@flow.io>"
|
|
27
27
|
],
|
|
28
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "0b59892becdb40eec69421102a36d36af1e0533c"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -309,7 +309,7 @@ declare namespace io.flow.order.price.v0.models {
|
|
|
309
309
|
readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
|
|
310
310
|
readonly name?: string;
|
|
311
311
|
readonly rate?: number;
|
|
312
|
-
readonly accuracy
|
|
312
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
313
313
|
readonly rate_label?: string;
|
|
314
314
|
}
|
|
315
315
|
|
|
@@ -482,7 +482,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
482
482
|
|
|
483
483
|
interface DiscountForm {
|
|
484
484
|
readonly offer: io.flow.common.v0.unions.DiscountOffer;
|
|
485
|
-
readonly target
|
|
485
|
+
readonly target?: io.flow.common.v0.enums.DiscountTarget;
|
|
486
486
|
readonly label?: string;
|
|
487
487
|
}
|
|
488
488
|
|
|
@@ -663,7 +663,7 @@ declare namespace io.flow.common.v0.models {
|
|
|
663
663
|
readonly parent?: io.flow.common.v0.models.OrganizationReference;
|
|
664
664
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
665
665
|
readonly created_at?: string;
|
|
666
|
-
readonly status
|
|
666
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
667
667
|
}
|
|
668
668
|
|
|
669
669
|
interface OrganizationDefaults {
|
|
@@ -909,7 +909,7 @@ declare namespace io.flow.price.v0.models {
|
|
|
909
909
|
readonly currency: string;
|
|
910
910
|
readonly name: string;
|
|
911
911
|
readonly includes: io.flow.common.v0.enums.IncludedLevyKey;
|
|
912
|
-
readonly status
|
|
912
|
+
readonly status?: io.flow.common.v0.enums.PriceBookStatus;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
915
|
interface PriceBookItem {
|
|
@@ -1418,7 +1418,7 @@ declare namespace io.flow.RESERVED_WORD_export.v0.models {
|
|
|
1418
1418
|
readonly item_numbers?: string[];
|
|
1419
1419
|
readonly start_date?: string;
|
|
1420
1420
|
readonly end_date?: string;
|
|
1421
|
-
readonly item_identifier
|
|
1421
|
+
readonly item_identifier?: io.flow.RESERVED_WORD_export.v0.enums.ItemIdentifier;
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
1424
|
interface ScheduledExport {
|
|
@@ -2039,7 +2039,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2039
2039
|
readonly requested?: io.flow.common.v0.models.Money;
|
|
2040
2040
|
readonly created_at: string;
|
|
2041
2041
|
readonly attributes?: Record<string, string>;
|
|
2042
|
-
readonly status
|
|
2042
|
+
readonly status?: io.flow.payment.v0.enums.CaptureStatus;
|
|
2043
2043
|
readonly base?: io.flow.common.v0.models.Money;
|
|
2044
2044
|
}
|
|
2045
2045
|
|
|
@@ -2094,7 +2094,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2094
2094
|
readonly discriminator: 'card_authorization';
|
|
2095
2095
|
readonly id: string;
|
|
2096
2096
|
readonly key: string;
|
|
2097
|
-
readonly merchant_of_record
|
|
2097
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
2098
2098
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
2099
2099
|
readonly card: io.flow.payment.v0.unions.ExpandableCard;
|
|
2100
2100
|
readonly amount: number;
|
|
@@ -2282,13 +2282,6 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2282
2282
|
readonly payload?: io.flow.payment.v0.models.AuthorizationPayload;
|
|
2283
2283
|
}
|
|
2284
2284
|
|
|
2285
|
-
interface Installment {
|
|
2286
|
-
readonly discriminator: 'installment';
|
|
2287
|
-
readonly first_name?: string;
|
|
2288
|
-
readonly last_name?: string;
|
|
2289
|
-
readonly response_code?: string;
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
2285
|
interface IssuerReference {
|
|
2293
2286
|
readonly id: string;
|
|
2294
2287
|
}
|
|
@@ -2349,7 +2342,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2349
2342
|
readonly id: string;
|
|
2350
2343
|
readonly key: string;
|
|
2351
2344
|
readonly method?: io.flow.reference.v0.models.PaymentMethod;
|
|
2352
|
-
readonly merchant_of_record
|
|
2345
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
2353
2346
|
readonly details?: io.flow.payment.v0.unions.OnlineAuthorizationDetails;
|
|
2354
2347
|
readonly payment?: any /*object*/;
|
|
2355
2348
|
readonly amount: number;
|
|
@@ -2509,7 +2502,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2509
2502
|
readonly captures: io.flow.payment.v0.models.RefundCaptureSummary[];
|
|
2510
2503
|
readonly created_at: string;
|
|
2511
2504
|
readonly attributes?: Record<string, string>;
|
|
2512
|
-
readonly status
|
|
2505
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
2513
2506
|
readonly base?: io.flow.common.v0.models.Money;
|
|
2514
2507
|
}
|
|
2515
2508
|
|
|
@@ -2520,7 +2513,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
2520
2513
|
readonly amount: number;
|
|
2521
2514
|
readonly currency: string;
|
|
2522
2515
|
readonly base: io.flow.common.v0.models.Money;
|
|
2523
|
-
readonly status
|
|
2516
|
+
readonly status?: io.flow.payment.v0.enums.RefundStatus;
|
|
2524
2517
|
}
|
|
2525
2518
|
|
|
2526
2519
|
interface RefundCaptureSummary {
|
|
@@ -2775,9 +2768,7 @@ declare namespace io.flow.payment.v0.unions {
|
|
|
2775
2768
|
| io.flow.payment.v0.models.SelectIssuerOptionActionDetails;
|
|
2776
2769
|
type BrowserActionConfiguration =
|
|
2777
2770
|
io.flow.payment.v0.models.CardBrowserActionConfiguration;
|
|
2778
|
-
type ConfirmationDetails =
|
|
2779
|
-
| io.flow.payment.v0.models.DirectDebit
|
|
2780
|
-
| io.flow.payment.v0.models.Installment;
|
|
2771
|
+
type ConfirmationDetails = io.flow.payment.v0.models.DirectDebit;
|
|
2781
2772
|
type ExpandableCard =
|
|
2782
2773
|
| io.flow.payment.v0.models.Card
|
|
2783
2774
|
| io.flow.payment.v0.models.CardReference
|
|
@@ -7915,13 +7906,13 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
7915
7906
|
|
|
7916
7907
|
interface PaymentDiscount {
|
|
7917
7908
|
readonly amount: number;
|
|
7918
|
-
readonly name
|
|
7909
|
+
readonly name?: string;
|
|
7919
7910
|
readonly code?: string;
|
|
7920
7911
|
}
|
|
7921
7912
|
|
|
7922
7913
|
interface PaymentDuty {
|
|
7923
7914
|
readonly amount: number;
|
|
7924
|
-
readonly name
|
|
7915
|
+
readonly name?: string;
|
|
7925
7916
|
}
|
|
7926
7917
|
|
|
7927
7918
|
interface PaymentFailure {
|
|
@@ -8225,7 +8216,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8225
8216
|
|
|
8226
8217
|
interface PaymentTax {
|
|
8227
8218
|
readonly amount: number;
|
|
8228
|
-
readonly name
|
|
8219
|
+
readonly name?: string;
|
|
8229
8220
|
}
|
|
8230
8221
|
|
|
8231
8222
|
interface Shipping {
|
|
@@ -8499,7 +8490,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
8499
8490
|
readonly country: string;
|
|
8500
8491
|
readonly field_validation: io.flow.experience.v0.models.AddressFieldValidation;
|
|
8501
8492
|
readonly provinces: io.flow.experience.v0.models.AddressConfigurationProvince[];
|
|
8502
|
-
readonly formats
|
|
8493
|
+
readonly formats?: io.flow.experience.v0.models.AddressConfigurationFormat[];
|
|
8503
8494
|
readonly province_type?: io.flow.reference.v0.enums.ProvinceType;
|
|
8504
8495
|
readonly postal_type?: io.flow.reference.v0.enums.PostalType;
|
|
8505
8496
|
}
|
|
@@ -8560,7 +8551,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
8560
8551
|
readonly rate: number;
|
|
8561
8552
|
readonly name: string;
|
|
8562
8553
|
readonly price?: io.flow.common.v0.models.PriceWithBase;
|
|
8563
|
-
readonly accuracy
|
|
8554
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
8564
8555
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
8565
8556
|
}
|
|
8566
8557
|
|
|
@@ -9060,7 +9051,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9060
9051
|
readonly discriminator: 'order';
|
|
9061
9052
|
readonly id: string;
|
|
9062
9053
|
readonly number: string;
|
|
9063
|
-
readonly order_type
|
|
9054
|
+
readonly order_type?: io.flow.experience.v0.enums.OrderType;
|
|
9064
9055
|
readonly merchant_of_record?: io.flow.common.v0.enums.OrderMerchantOfRecord;
|
|
9065
9056
|
readonly experience?: io.flow.experience.v0.unions.ExpandableExperience;
|
|
9066
9057
|
readonly customer: io.flow.common.v0.models.OrderCustomer;
|
|
@@ -9239,7 +9230,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9239
9230
|
|
|
9240
9231
|
interface OrderNumberGeneratorUuid {
|
|
9241
9232
|
readonly discriminator: 'uuid';
|
|
9242
|
-
readonly prefix
|
|
9233
|
+
readonly prefix?: string;
|
|
9243
9234
|
}
|
|
9244
9235
|
|
|
9245
9236
|
interface OrderNumberReference {
|
|
@@ -9253,13 +9244,13 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9253
9244
|
interface OrderPayment {
|
|
9254
9245
|
readonly id: string;
|
|
9255
9246
|
readonly type: io.flow.experience.v0.enums.OrderPaymentType;
|
|
9256
|
-
readonly merchant_of_record
|
|
9247
|
+
readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
|
|
9257
9248
|
readonly reference: string;
|
|
9258
9249
|
readonly description: string;
|
|
9259
9250
|
readonly total: io.flow.common.v0.models.PriceWithBase;
|
|
9260
9251
|
readonly address?: io.flow.common.v0.models.BillingAddress;
|
|
9261
9252
|
readonly date?: string;
|
|
9262
|
-
readonly attributes
|
|
9253
|
+
readonly attributes?: Record<string, string>;
|
|
9263
9254
|
readonly method?: string;
|
|
9264
9255
|
}
|
|
9265
9256
|
|
|
@@ -9269,7 +9260,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9269
9260
|
}
|
|
9270
9261
|
|
|
9271
9262
|
interface OrderPutForm {
|
|
9272
|
-
readonly order_type
|
|
9263
|
+
readonly order_type?: io.flow.experience.v0.enums.OrderType;
|
|
9273
9264
|
readonly items: io.flow.common.v0.models.LineItemForm[];
|
|
9274
9265
|
readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
|
|
9275
9266
|
readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
|
|
@@ -9361,7 +9352,7 @@ declare namespace io.flow.experience.v0.models {
|
|
|
9361
9352
|
}
|
|
9362
9353
|
|
|
9363
9354
|
interface OrderSubmissionForm {
|
|
9364
|
-
readonly identifiers
|
|
9355
|
+
readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
|
|
9365
9356
|
}
|
|
9366
9357
|
|
|
9367
9358
|
interface OrderSubmissionIdentifierForm {
|
|
@@ -9811,7 +9802,7 @@ declare namespace io.flow.ratecard.v0.models {
|
|
|
9811
9802
|
readonly origination_zones: io.flow.common.v0.models.Zone[];
|
|
9812
9803
|
readonly service: string;
|
|
9813
9804
|
readonly number?: string;
|
|
9814
|
-
readonly ratecard_owner
|
|
9805
|
+
readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
|
|
9815
9806
|
}
|
|
9816
9807
|
|
|
9817
9808
|
interface RatecardLane {
|
|
@@ -10804,7 +10795,7 @@ declare namespace io.flow.catalog.v0.models {
|
|
|
10804
10795
|
readonly base: io.flow.common.v0.models.Price;
|
|
10805
10796
|
readonly name: string;
|
|
10806
10797
|
readonly adjustment?: io.flow.catalog.v0.models.LocalizedAdjustment;
|
|
10807
|
-
readonly accuracy
|
|
10798
|
+
readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
|
|
10808
10799
|
readonly basis?: io.flow.common.v0.models.MoneyWithBase;
|
|
10809
10800
|
}
|
|
10810
10801
|
|
|
@@ -10986,7 +10977,7 @@ declare namespace io.flow.inventory.v0.models {
|
|
|
10986
10977
|
|
|
10987
10978
|
interface InventoryUnlimited {
|
|
10988
10979
|
readonly discriminator: 'inventory_unlimited';
|
|
10989
|
-
readonly placeholder
|
|
10980
|
+
readonly placeholder?: string;
|
|
10990
10981
|
}
|
|
10991
10982
|
|
|
10992
10983
|
interface InventoryUpdate {
|
|
@@ -12653,7 +12644,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12653
12644
|
readonly organization: string;
|
|
12654
12645
|
readonly email: string;
|
|
12655
12646
|
readonly name?: io.flow.common.v0.models.Name;
|
|
12656
|
-
readonly role
|
|
12647
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
12657
12648
|
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
12658
12649
|
}
|
|
12659
12650
|
|
|
@@ -12675,13 +12666,13 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12675
12666
|
interface MembershipForm {
|
|
12676
12667
|
readonly organization: string;
|
|
12677
12668
|
readonly user: string;
|
|
12678
|
-
readonly role
|
|
12679
|
-
readonly roles
|
|
12669
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
12670
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
12680
12671
|
}
|
|
12681
12672
|
|
|
12682
12673
|
interface MembershipPutForm {
|
|
12683
|
-
readonly role
|
|
12684
|
-
readonly roles
|
|
12674
|
+
readonly role?: io.flow.common.v0.enums.Role;
|
|
12675
|
+
readonly roles?: io.flow.permission.v0.enums.FlowRole[];
|
|
12685
12676
|
}
|
|
12686
12677
|
|
|
12687
12678
|
interface MembershipVersion {
|
|
@@ -12720,7 +12711,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12720
12711
|
readonly environment: io.flow.common.v0.enums.Environment;
|
|
12721
12712
|
readonly parent_id?: string;
|
|
12722
12713
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
12723
|
-
readonly status
|
|
12714
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
12724
12715
|
}
|
|
12725
12716
|
|
|
12726
12717
|
interface OrganizationPutForm {
|
|
@@ -12728,7 +12719,7 @@ declare namespace io.flow.organization.v0.models {
|
|
|
12728
12719
|
readonly environment?: io.flow.common.v0.enums.Environment;
|
|
12729
12720
|
readonly parent_id?: string;
|
|
12730
12721
|
readonly defaults?: io.flow.common.v0.models.OrganizationDefaults;
|
|
12731
|
-
readonly status
|
|
12722
|
+
readonly status?: io.flow.common.v0.enums.OrganizationStatus;
|
|
12732
12723
|
}
|
|
12733
12724
|
|
|
12734
12725
|
interface OrganizationVersion {
|
|
@@ -14755,6 +14746,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
14755
14746
|
readonly number: string;
|
|
14756
14747
|
readonly submitted_at: string;
|
|
14757
14748
|
readonly primary_identifier?: string;
|
|
14749
|
+
readonly identifiers?: Record<string, string>;
|
|
14758
14750
|
readonly destination?: io.flow.internal.v0.models.BillingOrderDestination;
|
|
14759
14751
|
}
|
|
14760
14752
|
|
|
@@ -15183,6 +15175,13 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15183
15175
|
readonly displayed?: io.flow.internal.v0.models.BrowserBundlePaymentMethod[];
|
|
15184
15176
|
}
|
|
15185
15177
|
|
|
15178
|
+
interface ByRuleSnapshot {
|
|
15179
|
+
readonly id: string;
|
|
15180
|
+
readonly name: string;
|
|
15181
|
+
readonly open_decision_count: number;
|
|
15182
|
+
readonly restricted_product_count: number;
|
|
15183
|
+
}
|
|
15184
|
+
|
|
15186
15185
|
interface CalculatedTaxAmount {
|
|
15187
15186
|
readonly discriminator: 'calculated_tax_amount';
|
|
15188
15187
|
readonly amount: number;
|
|
@@ -21960,6 +21959,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
21960
21959
|
readonly organization_payment_setting: io.flow.internal.v0.models.OrganizationPaymentSetting;
|
|
21961
21960
|
}
|
|
21962
21961
|
|
|
21962
|
+
interface OrganizationRestrictionSnapshot {
|
|
21963
|
+
readonly organization_id: string;
|
|
21964
|
+
readonly organization_channel_id: string;
|
|
21965
|
+
readonly organization_status: string;
|
|
21966
|
+
readonly product_count: number;
|
|
21967
|
+
readonly open_decision_count: number;
|
|
21968
|
+
readonly restricted_product_count: number;
|
|
21969
|
+
readonly count_by_rule: io.flow.internal.v0.models.ByRuleSnapshot[];
|
|
21970
|
+
readonly earliest_pending_decision_date: string;
|
|
21971
|
+
readonly earliest_product_receipt_date: string;
|
|
21972
|
+
readonly date: string;
|
|
21973
|
+
}
|
|
21974
|
+
|
|
21963
21975
|
interface OrganizationRestrictionSummary {
|
|
21964
21976
|
readonly organization: io.flow.common.v0.models.OrganizationSummary;
|
|
21965
21977
|
readonly earliest_date: string;
|
|
@@ -25943,6 +25955,7 @@ export type BrowserBundlePaymentMethodForm =
|
|
|
25943
25955
|
io.flow.internal.v0.models.BrowserBundlePaymentMethodForm;
|
|
25944
25956
|
export type BrowserBundlePaymentMethods =
|
|
25945
25957
|
io.flow.internal.v0.models.BrowserBundlePaymentMethods;
|
|
25958
|
+
export type ByRuleSnapshot = io.flow.internal.v0.models.ByRuleSnapshot;
|
|
25946
25959
|
export type CalculatedTaxAmount =
|
|
25947
25960
|
io.flow.internal.v0.models.CalculatedTaxAmount;
|
|
25948
25961
|
export type CalculatorEngine = io.flow.internal.v0.enums.CalculatorEngine;
|
|
@@ -28145,6 +28158,8 @@ export type OrganizationPaymentSettingVersion =
|
|
|
28145
28158
|
io.flow.internal.v0.models.OrganizationPaymentSettingVersion;
|
|
28146
28159
|
export type OrganizationPaymentStatus =
|
|
28147
28160
|
io.flow.internal.v0.enums.OrganizationPaymentStatus;
|
|
28161
|
+
export type OrganizationRestrictionSnapshot =
|
|
28162
|
+
io.flow.internal.v0.models.OrganizationRestrictionSnapshot;
|
|
28148
28163
|
export type OrganizationRestrictionSummary =
|
|
28149
28164
|
io.flow.internal.v0.models.OrganizationRestrictionSummary;
|
|
28150
28165
|
export type OrganizationSettings =
|