@flowio/types 10.9.4 → 10.9.5
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 +15 -4
- package/dist/api.d.ts +1 -0
- package/package.json +2 -2
- package/src/api-internal.ts +17 -4
- package/src/api.ts +1 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -8080,7 +8080,7 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
8080
8080
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
8081
8081
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
8082
8082
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
8083
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
8083
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
8084
8084
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
8085
8085
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
8086
8086
|
}
|
|
@@ -8914,6 +8914,7 @@ declare namespace io.flow.item.v0.models {
|
|
|
8914
8914
|
}
|
|
8915
8915
|
declare namespace io.flow.billing.internal.v0.enums {
|
|
8916
8916
|
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';
|
|
8917
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
8917
8918
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
8918
8919
|
type ResponsibleParty = 'flow' | 'organization';
|
|
8919
8920
|
type TransferMethod = 'ach';
|
|
@@ -9054,6 +9055,8 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9054
9055
|
readonly posted_at: string;
|
|
9055
9056
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9056
9057
|
readonly created_at: string;
|
|
9058
|
+
readonly original_at?: string;
|
|
9059
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9057
9060
|
}
|
|
9058
9061
|
interface PendingBankPayment {
|
|
9059
9062
|
readonly organization: string;
|
|
@@ -9076,6 +9079,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9076
9079
|
readonly description: string;
|
|
9077
9080
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
9078
9081
|
readonly created_at: string;
|
|
9082
|
+
readonly original_at?: string;
|
|
9079
9083
|
readonly reference: string;
|
|
9080
9084
|
readonly primary_identifier?: string;
|
|
9081
9085
|
readonly payment_method: string;
|
|
@@ -9091,6 +9095,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
9091
9095
|
readonly flow_margin: number;
|
|
9092
9096
|
readonly organization_margin: number;
|
|
9093
9097
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
9098
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
9094
9099
|
}
|
|
9095
9100
|
interface SubscriptionTransaction {
|
|
9096
9101
|
readonly discriminator: 'subscription_transaction';
|
|
@@ -12977,7 +12982,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
12977
12982
|
readonly description?: string;
|
|
12978
12983
|
readonly emails: string[];
|
|
12979
12984
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
12980
|
-
readonly significance_action
|
|
12985
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
12981
12986
|
}
|
|
12982
12987
|
interface ExperimentFormDefault {
|
|
12983
12988
|
readonly discriminator: io.flow.experiment.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
@@ -13064,6 +13069,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13064
13069
|
type AddressConfigurationSettingProvinceCode = 'iso_3166_2' | 'name';
|
|
13065
13070
|
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';
|
|
13066
13071
|
type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
|
|
13072
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
13067
13073
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
13068
13074
|
type BillingTransactionType = 'manual' | 'subscription' | 'invoice' | 'transfer' | 'adjustment' | 'capture' | 'refund' | 'virtual_card_capture' | 'virtual_card_refund' | 'tax_remittance' | 'fully_subsidized_order' | 'credit_payment';
|
|
13069
13075
|
type BrowserBundleErrorCode = 'generic_error' | 'country_invalid';
|
|
@@ -13166,7 +13172,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
13166
13172
|
type MarketingGatewayFacebookTokenStatus = 'unknown' | 'active' | 'expired';
|
|
13167
13173
|
type MarketingGatewayFeedDownloadFormat = 'tsv' | 'csv' | 'txt';
|
|
13168
13174
|
type MarketingGatewayFeedState = 'initialized' | 'generated' | 'in_review' | 'rejected' | 'active';
|
|
13169
|
-
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat';
|
|
13175
|
+
type MarketingGatewayPlatform = 'google' | 'facebook' | 'adroll' | 'aliexpress' | 'amazon' | 'bing' | 'criteo' | 'fruugo' | 'pinterest' | 'rakuten_japan' | 'wish' | 'snapchat' | 'stylight';
|
|
13170
13176
|
type MarketingGatewayProductStatus = 'approved' | 'not_approved' | 'pending' | 'not_found' | 'excluded';
|
|
13171
13177
|
type MarketingGatewaySchemaCompatibility = 'google' | 'facebook_master' | 'facebook_primary' | 'facebook_country_override' | 'supplemental';
|
|
13172
13178
|
type NatureOfSale = 'consumer' | 'to_non_registered_business' | 'to_registered_business' | 'flash_title';
|
|
@@ -15935,7 +15941,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15935
15941
|
readonly description?: string;
|
|
15936
15942
|
readonly emails: string[];
|
|
15937
15943
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
15938
|
-
readonly significance_action
|
|
15944
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
15939
15945
|
}
|
|
15940
15946
|
interface ExperimentFormDefault {
|
|
15941
15947
|
readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
|
|
@@ -17689,6 +17695,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17689
17695
|
readonly posted_at: string;
|
|
17690
17696
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
17691
17697
|
readonly created_at: string;
|
|
17698
|
+
readonly original_at?: string;
|
|
17699
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
17692
17700
|
}
|
|
17693
17701
|
interface MasterTransactionDeleted {
|
|
17694
17702
|
readonly discriminator: 'master_transaction_deleted';
|
|
@@ -18299,6 +18307,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18299
18307
|
readonly description: string;
|
|
18300
18308
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
18301
18309
|
readonly created_at: string;
|
|
18310
|
+
readonly original_at?: string;
|
|
18302
18311
|
readonly reference: string;
|
|
18303
18312
|
readonly primary_identifier?: string;
|
|
18304
18313
|
readonly payment_method: string;
|
|
@@ -18314,6 +18323,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
18314
18323
|
readonly flow_margin: number;
|
|
18315
18324
|
readonly organization_margin: number;
|
|
18316
18325
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
18326
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
18317
18327
|
}
|
|
18318
18328
|
interface ProcessingTransactionDeleted {
|
|
18319
18329
|
readonly discriminator: 'processing_transaction_deleted';
|
|
@@ -19953,6 +19963,7 @@ export declare type BillingStatementPendingReview = io.flow.internal.v0.models.B
|
|
|
19953
19963
|
export declare type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
|
|
19954
19964
|
export declare type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
19955
19965
|
export declare type BillingStatementReviewForm = io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
19966
|
+
export declare type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
19956
19967
|
export declare type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
19957
19968
|
export declare type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
19958
19969
|
export declare type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
package/dist/api.d.ts
CHANGED
|
@@ -6122,6 +6122,7 @@ declare namespace io.flow.v0.models {
|
|
|
6122
6122
|
readonly quantity: number;
|
|
6123
6123
|
readonly reason?: io.flow.v0.models.ReturnReason;
|
|
6124
6124
|
readonly notes?: string;
|
|
6125
|
+
readonly attributes?: Record<string, string>;
|
|
6125
6126
|
}
|
|
6126
6127
|
interface ReturnOrderReference {
|
|
6127
6128
|
readonly number: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "10.9.
|
|
3
|
+
"version": "10.9.5",
|
|
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": "52afe3b5813159d6e95a6e836a29bb00f1b66de5"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -10692,7 +10692,8 @@ declare namespace io.flow.marketing.gateway.v0.enums {
|
|
|
10692
10692
|
| 'pinterest'
|
|
10693
10693
|
| 'rakuten_japan'
|
|
10694
10694
|
| 'wish'
|
|
10695
|
-
| 'snapchat'
|
|
10695
|
+
| 'snapchat'
|
|
10696
|
+
| 'stylight';
|
|
10696
10697
|
type MarketingGatewayProductStatus =
|
|
10697
10698
|
| 'approved'
|
|
10698
10699
|
| 'not_approved'
|
|
@@ -11785,6 +11786,7 @@ declare namespace io.flow.billing.internal.v0.enums {
|
|
|
11785
11786
|
| 'duty_subsidy'
|
|
11786
11787
|
| 'fuel_surcharge'
|
|
11787
11788
|
| 'remote_area_surcharge';
|
|
11789
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
11788
11790
|
type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
|
|
11789
11791
|
type ResponsibleParty = 'flow' | 'organization';
|
|
11790
11792
|
type TransferMethod = 'ach';
|
|
@@ -11946,6 +11948,8 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11946
11948
|
readonly posted_at: string;
|
|
11947
11949
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11948
11950
|
readonly created_at: string;
|
|
11951
|
+
readonly original_at?: string;
|
|
11952
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11949
11953
|
}
|
|
11950
11954
|
|
|
11951
11955
|
interface PendingBankPayment {
|
|
@@ -11971,6 +11975,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11971
11975
|
readonly description: string;
|
|
11972
11976
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
11973
11977
|
readonly created_at: string;
|
|
11978
|
+
readonly original_at?: string;
|
|
11974
11979
|
readonly reference: string;
|
|
11975
11980
|
readonly primary_identifier?: string;
|
|
11976
11981
|
readonly payment_method: string;
|
|
@@ -11986,6 +11991,7 @@ declare namespace io.flow.billing.internal.v0.models {
|
|
|
11986
11991
|
readonly flow_margin: number;
|
|
11987
11992
|
readonly organization_margin: number;
|
|
11988
11993
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
11994
|
+
readonly disposition?: io.flow.billing.internal.v0.enums.BillingStatementReviewStatus;
|
|
11989
11995
|
}
|
|
11990
11996
|
|
|
11991
11997
|
interface SubscriptionTransaction {
|
|
@@ -16803,7 +16809,7 @@ declare namespace io.flow.experiment.internal.v0.models {
|
|
|
16803
16809
|
readonly description?: string;
|
|
16804
16810
|
readonly emails: string[];
|
|
16805
16811
|
readonly variants: io.flow.experiment.internal.v0.unions.VariantForm[];
|
|
16806
|
-
readonly significance_action
|
|
16812
|
+
readonly significance_action?: io.flow.experiment.internal.v0.enums.SignificanceAction;
|
|
16807
16813
|
}
|
|
16808
16814
|
|
|
16809
16815
|
interface ExperimentFormDefault {
|
|
@@ -16945,6 +16951,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
16945
16951
|
| 'manual'
|
|
16946
16952
|
| 'orders'
|
|
16947
16953
|
| 'all';
|
|
16954
|
+
type BillingStatementReviewStatus = 'approved' | 'pending';
|
|
16948
16955
|
type BillingTransactionStatus = 'pending' | 'posted';
|
|
16949
16956
|
type BillingTransactionType =
|
|
16950
16957
|
| 'manual'
|
|
@@ -17448,7 +17455,8 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
17448
17455
|
| 'pinterest'
|
|
17449
17456
|
| 'rakuten_japan'
|
|
17450
17457
|
| 'wish'
|
|
17451
|
-
| 'snapchat'
|
|
17458
|
+
| 'snapchat'
|
|
17459
|
+
| 'stylight';
|
|
17452
17460
|
type MarketingGatewayProductStatus =
|
|
17453
17461
|
| 'approved'
|
|
17454
17462
|
| 'not_approved'
|
|
@@ -20814,7 +20822,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20814
20822
|
readonly description?: string;
|
|
20815
20823
|
readonly emails: string[];
|
|
20816
20824
|
readonly variants: io.flow.internal.v0.unions.VariantForm[];
|
|
20817
|
-
readonly significance_action
|
|
20825
|
+
readonly significance_action?: io.flow.internal.v0.enums.SignificanceAction;
|
|
20818
20826
|
}
|
|
20819
20827
|
|
|
20820
20828
|
interface ExperimentFormDefault {
|
|
@@ -22843,6 +22851,8 @@ declare namespace io.flow.internal.v0.models {
|
|
|
22843
22851
|
readonly posted_at: string;
|
|
22844
22852
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
22845
22853
|
readonly created_at: string;
|
|
22854
|
+
readonly original_at?: string;
|
|
22855
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
22846
22856
|
}
|
|
22847
22857
|
|
|
22848
22858
|
interface MasterTransactionDeleted {
|
|
@@ -23547,6 +23557,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23547
23557
|
readonly description: string;
|
|
23548
23558
|
readonly statement?: io.flow.billing.v0.models.BillingStatementReference;
|
|
23549
23559
|
readonly created_at: string;
|
|
23560
|
+
readonly original_at?: string;
|
|
23550
23561
|
readonly reference: string;
|
|
23551
23562
|
readonly primary_identifier?: string;
|
|
23552
23563
|
readonly payment_method: string;
|
|
@@ -23562,6 +23573,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23562
23573
|
readonly flow_margin: number;
|
|
23563
23574
|
readonly organization_margin: number;
|
|
23564
23575
|
readonly revenue_share?: io.flow.common.v0.models.Price;
|
|
23576
|
+
readonly disposition?: io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
23565
23577
|
}
|
|
23566
23578
|
|
|
23567
23579
|
interface ProcessingTransactionDeleted {
|
|
@@ -25905,6 +25917,7 @@ export type BillingStatementPendingReview = io.flow.internal.v0.models.BillingSt
|
|
|
25905
25917
|
export type BillingStatementReference = io.flow.internal.v0.models.BillingStatementReference;
|
|
25906
25918
|
export type BillingStatementReview = io.flow.internal.v0.models.BillingStatementReview;
|
|
25907
25919
|
export type BillingStatementReviewForm = io.flow.internal.v0.models.BillingStatementReviewForm;
|
|
25920
|
+
export type BillingStatementReviewStatus = io.flow.internal.v0.enums.BillingStatementReviewStatus;
|
|
25908
25921
|
export type BillingStatementTotals = io.flow.internal.v0.models.BillingStatementTotals;
|
|
25909
25922
|
export type BillingStatementUpserted = io.flow.internal.v0.models.BillingStatementUpserted;
|
|
25910
25923
|
export type BillingTransaction = io.flow.internal.v0.models.BillingTransaction;
|
package/src/api.ts
CHANGED
|
@@ -7645,6 +7645,7 @@ declare namespace io.flow.v0.models {
|
|
|
7645
7645
|
readonly quantity: number;
|
|
7646
7646
|
readonly reason?: io.flow.v0.models.ReturnReason;
|
|
7647
7647
|
readonly notes?: string;
|
|
7648
|
+
readonly attributes?: Record<string, string>;
|
|
7648
7649
|
}
|
|
7649
7650
|
|
|
7650
7651
|
interface ReturnOrderReference {
|