@flowio/types 11.19.26 → 11.19.27
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 +32 -6
- package/package.json +2 -2
- package/src/api-internal.ts +36 -5
package/dist/api-internal.d.ts
CHANGED
|
@@ -6579,17 +6579,28 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6579
6579
|
interface OrderInformationDetails {
|
|
6580
6580
|
readonly type: 'details';
|
|
6581
6581
|
readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
|
|
6582
|
-
readonly billing_address?: io.flow.payment.gateway.v0.models.
|
|
6583
|
-
readonly shipping_address?: io.flow.payment.gateway.v0.models.
|
|
6582
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
6583
|
+
readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
|
|
6584
6584
|
}
|
|
6585
6585
|
interface OrderInformationFlow {
|
|
6586
6586
|
readonly type: 'flow';
|
|
6587
6587
|
readonly order_number: string;
|
|
6588
|
-
readonly billing_address?: io.flow.payment.gateway.v0.models.
|
|
6588
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
6589
6589
|
}
|
|
6590
6590
|
interface PaymentAddress {
|
|
6591
|
-
readonly
|
|
6592
|
-
readonly
|
|
6591
|
+
readonly streets: string[];
|
|
6592
|
+
readonly city: string;
|
|
6593
|
+
readonly province?: string;
|
|
6594
|
+
readonly postal?: string;
|
|
6595
|
+
readonly country: string;
|
|
6596
|
+
}
|
|
6597
|
+
interface PaymentAddressBilling {
|
|
6598
|
+
readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
|
|
6599
|
+
readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
6600
|
+
}
|
|
6601
|
+
interface PaymentAddressShipping {
|
|
6602
|
+
readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
|
|
6603
|
+
readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
6593
6604
|
}
|
|
6594
6605
|
interface PaymentAuthorization {
|
|
6595
6606
|
readonly id: string;
|
|
@@ -6631,6 +6642,19 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6631
6642
|
readonly status: io.flow.payment.v0.enums.CaptureStatus;
|
|
6632
6643
|
readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
6633
6644
|
}
|
|
6645
|
+
interface PaymentContactBilling {
|
|
6646
|
+
readonly first_name: string;
|
|
6647
|
+
readonly last_name: string;
|
|
6648
|
+
readonly company?: string;
|
|
6649
|
+
readonly email?: string;
|
|
6650
|
+
readonly phone?: string;
|
|
6651
|
+
}
|
|
6652
|
+
interface PaymentContactShipping {
|
|
6653
|
+
readonly first_name: string;
|
|
6654
|
+
readonly last_name: string;
|
|
6655
|
+
readonly email: string;
|
|
6656
|
+
readonly phone: string;
|
|
6657
|
+
}
|
|
6634
6658
|
interface PaymentDiscount {
|
|
6635
6659
|
readonly amount: number;
|
|
6636
6660
|
readonly name?: string;
|
|
@@ -8081,7 +8105,9 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
8081
8105
|
readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
|
|
8082
8106
|
readonly origin?: string;
|
|
8083
8107
|
readonly hs_code?: string;
|
|
8108
|
+
readonly tariff_code?: string;
|
|
8084
8109
|
readonly customs_description?: string;
|
|
8110
|
+
readonly source_address?: io.flow.common.v0.models.Address;
|
|
8085
8111
|
}
|
|
8086
8112
|
interface Hs10 {
|
|
8087
8113
|
readonly id: string;
|
|
@@ -9317,7 +9343,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
9317
9343
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
9318
9344
|
type ApiCallReferenceId = 'duty_rates_data_event' | 'integration_test' | 'unit_test';
|
|
9319
9345
|
type BillingAllocationKey = 'freight_cost' | 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'fuel_surcharge' | 'remote_area_surcharge';
|
|
9320
|
-
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9346
|
+
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'channel_transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
9321
9347
|
type BillingStatementBatchFileKey = 'archive' | 'summary';
|
|
9322
9348
|
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
9323
9349
|
type BillingTransactionStatus = 'pending' | 'posted';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.19.
|
|
3
|
+
"version": "11.19.27",
|
|
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": "fe032fb7044c5c5cdd5f3049bafaebdc339848e0"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -8686,19 +8686,32 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8686
8686
|
interface OrderInformationDetails {
|
|
8687
8687
|
readonly type: 'details';
|
|
8688
8688
|
readonly order_details: io.flow.payment.gateway.v0.models.OrderDetails;
|
|
8689
|
-
readonly billing_address?: io.flow.payment.gateway.v0.models.
|
|
8690
|
-
readonly shipping_address?: io.flow.payment.gateway.v0.models.
|
|
8689
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
8690
|
+
readonly shipping_address?: io.flow.payment.gateway.v0.models.PaymentAddressShipping;
|
|
8691
8691
|
}
|
|
8692
8692
|
|
|
8693
8693
|
interface OrderInformationFlow {
|
|
8694
8694
|
readonly type: 'flow';
|
|
8695
8695
|
readonly order_number: string;
|
|
8696
|
-
readonly billing_address?: io.flow.payment.gateway.v0.models.
|
|
8696
|
+
readonly billing_address?: io.flow.payment.gateway.v0.models.PaymentAddressBilling;
|
|
8697
8697
|
}
|
|
8698
8698
|
|
|
8699
8699
|
interface PaymentAddress {
|
|
8700
|
-
readonly
|
|
8701
|
-
readonly
|
|
8700
|
+
readonly streets: string[];
|
|
8701
|
+
readonly city: string;
|
|
8702
|
+
readonly province?: string;
|
|
8703
|
+
readonly postal?: string;
|
|
8704
|
+
readonly country: string;
|
|
8705
|
+
}
|
|
8706
|
+
|
|
8707
|
+
interface PaymentAddressBilling {
|
|
8708
|
+
readonly contact: io.flow.payment.gateway.v0.models.PaymentContactBilling;
|
|
8709
|
+
readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
8710
|
+
}
|
|
8711
|
+
|
|
8712
|
+
interface PaymentAddressShipping {
|
|
8713
|
+
readonly contact: io.flow.payment.gateway.v0.models.PaymentContactShipping;
|
|
8714
|
+
readonly location: io.flow.payment.gateway.v0.models.PaymentAddress;
|
|
8702
8715
|
}
|
|
8703
8716
|
|
|
8704
8717
|
interface PaymentAuthorization {
|
|
@@ -8748,6 +8761,21 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8748
8761
|
readonly reason?: io.flow.payment.v0.enums.CaptureDeclineCode;
|
|
8749
8762
|
}
|
|
8750
8763
|
|
|
8764
|
+
interface PaymentContactBilling {
|
|
8765
|
+
readonly first_name: string;
|
|
8766
|
+
readonly last_name: string;
|
|
8767
|
+
readonly company?: string;
|
|
8768
|
+
readonly email?: string;
|
|
8769
|
+
readonly phone?: string;
|
|
8770
|
+
}
|
|
8771
|
+
|
|
8772
|
+
interface PaymentContactShipping {
|
|
8773
|
+
readonly first_name: string;
|
|
8774
|
+
readonly last_name: string;
|
|
8775
|
+
readonly email: string;
|
|
8776
|
+
readonly phone: string;
|
|
8777
|
+
}
|
|
8778
|
+
|
|
8751
8779
|
interface PaymentDiscount {
|
|
8752
8780
|
readonly amount: number;
|
|
8753
8781
|
readonly name?: string;
|
|
@@ -10592,7 +10620,9 @@ declare namespace io.flow.harmonization.v0.models {
|
|
|
10592
10620
|
readonly tax_applicability?: io.flow.harmonization.v0.enums.TaxApplicability;
|
|
10593
10621
|
readonly origin?: string;
|
|
10594
10622
|
readonly hs_code?: string;
|
|
10623
|
+
readonly tariff_code?: string;
|
|
10595
10624
|
readonly customs_description?: string;
|
|
10625
|
+
readonly source_address?: io.flow.common.v0.models.Address;
|
|
10596
10626
|
}
|
|
10597
10627
|
|
|
10598
10628
|
interface Hs10 {
|
|
@@ -12152,6 +12182,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
12152
12182
|
| 'consumer_invoice'
|
|
12153
12183
|
| 'credit_memo'
|
|
12154
12184
|
| 'transactions'
|
|
12185
|
+
| 'channel_transactions'
|
|
12155
12186
|
| 'virtual_card'
|
|
12156
12187
|
| 'tax_remittance'
|
|
12157
12188
|
| 'manual'
|