@flowio/types 11.24.66 → 11.24.67
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 +70 -9
- package/dist/api.d.ts +1 -0
- package/package.json +2 -2
- package/src/api-internal.ts +75 -10
- package/src/api.ts +1 -0
package/dist/api-internal.d.ts
CHANGED
|
@@ -1354,6 +1354,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1354
1354
|
readonly cookie_created_at?: number;
|
|
1355
1355
|
readonly session_duration?: number;
|
|
1356
1356
|
readonly fingerprint?: string;
|
|
1357
|
+
readonly fraud_references?: Record<string, string>;
|
|
1357
1358
|
}
|
|
1358
1359
|
interface DirectAuthorizationForm {
|
|
1359
1360
|
readonly discriminator: 'direct_authorization_form';
|
|
@@ -5189,7 +5190,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
5189
5190
|
interface ShopifyOrderShippingLine {
|
|
5190
5191
|
readonly code?: string;
|
|
5191
5192
|
readonly price: string;
|
|
5192
|
-
readonly source
|
|
5193
|
+
readonly source?: string;
|
|
5193
5194
|
readonly title: string;
|
|
5194
5195
|
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
5195
5196
|
readonly carrier_identifier?: string;
|
|
@@ -10786,7 +10787,7 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
10786
10787
|
type SuggestionAction = 'accept' | 'validate' | 'review';
|
|
10787
10788
|
type SurchargeType = 'fuel' | 'remote_area' | 'oversize' | 'duties_paid';
|
|
10788
10789
|
type TariffEligibilityType = 'rex';
|
|
10789
|
-
type TaskProcessorKey = 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | '
|
|
10790
|
+
type TaskProcessorKey = 'order_messenger' | 'harmonization' | 'fraud_review' | 'carrier_account' | 'payment' | 'ratecard' | 'logistics_center' | 'center_defaults';
|
|
10790
10791
|
type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
|
|
10791
10792
|
type TaxParty = 'consumer' | 'organization' | 'flow' | 'carrier';
|
|
10792
10793
|
type TaxTransactionType = 'adjustment' | 'reversal' | 'tax';
|
|
@@ -15060,17 +15061,62 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15060
15061
|
readonly cipher: string;
|
|
15061
15062
|
readonly passphrase_ids: string[];
|
|
15062
15063
|
}
|
|
15064
|
+
interface EntityReference {
|
|
15065
|
+
readonly id: string;
|
|
15066
|
+
}
|
|
15063
15067
|
interface ErpFlowFile {
|
|
15064
15068
|
readonly id: string;
|
|
15065
15069
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
15066
15070
|
readonly url: string;
|
|
15067
15071
|
readonly created_at: string;
|
|
15068
15072
|
}
|
|
15069
|
-
interface
|
|
15070
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
15073
|
+
interface ErpFlowFileForm {
|
|
15071
15074
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
15072
15075
|
}
|
|
15076
|
+
interface ErpFlowVendor {
|
|
15077
|
+
readonly acc_des: string;
|
|
15078
|
+
readonly country_name: string;
|
|
15079
|
+
readonly acng_code: string;
|
|
15080
|
+
readonly code: string;
|
|
15081
|
+
readonly branch: string;
|
|
15082
|
+
readonly trial_bal_code: string;
|
|
15083
|
+
readonly sec_name: string;
|
|
15084
|
+
readonly branch_des: string;
|
|
15085
|
+
readonly state_a: string;
|
|
15086
|
+
readonly bank_code: string;
|
|
15087
|
+
readonly id: string;
|
|
15088
|
+
readonly entity: io.flow.internal.v0.models.EntityReference;
|
|
15089
|
+
readonly tax_code?: string;
|
|
15090
|
+
readonly vat_flag?: string;
|
|
15091
|
+
readonly w_tax_percent?: string;
|
|
15092
|
+
readonly iban?: string;
|
|
15093
|
+
readonly confirmed_date?: string;
|
|
15094
|
+
readonly w_tax_date?: string;
|
|
15095
|
+
readonly w_tax_num_expl?: string;
|
|
15096
|
+
readonly phone?: string;
|
|
15097
|
+
readonly address?: string;
|
|
15098
|
+
readonly address_a?: string;
|
|
15099
|
+
readonly address_2?: string;
|
|
15100
|
+
readonly address_3?: string;
|
|
15101
|
+
readonly state_name?: string;
|
|
15102
|
+
readonly zip?: string;
|
|
15103
|
+
readonly pay_account?: string;
|
|
15104
|
+
readonly comp_num?: string;
|
|
15105
|
+
readonly w_tax_num?: string;
|
|
15106
|
+
readonly vat_num?: string;
|
|
15107
|
+
readonly orig_acc_name?: string;
|
|
15108
|
+
readonly form_1099_code?: string;
|
|
15109
|
+
readonly state?: string;
|
|
15110
|
+
readonly fax?: string;
|
|
15111
|
+
readonly details?: string;
|
|
15112
|
+
readonly state_code?: string;
|
|
15113
|
+
readonly tax_office_code?: string;
|
|
15114
|
+
readonly pay_code?: string;
|
|
15115
|
+
readonly eacc_des?: string;
|
|
15116
|
+
readonly acng_des?: string;
|
|
15117
|
+
}
|
|
15073
15118
|
interface ErpPriorityFile {
|
|
15119
|
+
readonly name: string;
|
|
15074
15120
|
readonly id: string;
|
|
15075
15121
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
15076
15122
|
readonly url: string;
|
|
@@ -15083,9 +15129,19 @@ declare namespace io.flow.internal.v0.models {
|
|
|
15083
15129
|
interface ErpVendor {
|
|
15084
15130
|
readonly placeholder?: string;
|
|
15085
15131
|
}
|
|
15086
|
-
interface
|
|
15087
|
-
readonly
|
|
15088
|
-
readonly
|
|
15132
|
+
interface ErpVendorStatus {
|
|
15133
|
+
readonly entities: io.flow.internal.v0.models.ErpVendorStatusEntity[];
|
|
15134
|
+
readonly latest_priority_file?: io.flow.internal.v0.models.ErpVendorStatusFile;
|
|
15135
|
+
}
|
|
15136
|
+
interface ErpVendorStatusEntity {
|
|
15137
|
+
readonly entity: io.flow.internal.v0.models.EntityReference;
|
|
15138
|
+
readonly number_differences: number;
|
|
15139
|
+
}
|
|
15140
|
+
interface ErpVendorStatusFile {
|
|
15141
|
+
readonly name: string;
|
|
15142
|
+
readonly created_at: string;
|
|
15143
|
+
readonly errors?: string[];
|
|
15144
|
+
readonly processed_at?: string;
|
|
15089
15145
|
}
|
|
15090
15146
|
interface ExclusionRuleDeleted {
|
|
15091
15147
|
readonly discriminator: 'exclusion_rule_deleted';
|
|
@@ -17994,6 +18050,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
17994
18050
|
readonly activated_at?: string;
|
|
17995
18051
|
readonly gmv: number;
|
|
17996
18052
|
readonly health_score: number;
|
|
18053
|
+
readonly audit_result?: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
17997
18054
|
readonly blocked_since?: string;
|
|
17998
18055
|
}
|
|
17999
18056
|
interface OnboardingStateForm {
|
|
@@ -22436,13 +22493,17 @@ export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModi
|
|
|
22436
22493
|
export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
|
|
22437
22494
|
export declare type EmptyClassificationForm = io.flow.internal.v0.models.EmptyClassificationForm;
|
|
22438
22495
|
export declare type Encryption = io.flow.internal.v0.models.Encryption;
|
|
22496
|
+
export declare type EntityReference = io.flow.internal.v0.models.EntityReference;
|
|
22439
22497
|
export declare type ErpFileType = io.flow.internal.v0.enums.ErpFileType;
|
|
22440
22498
|
export declare type ErpFlowFile = io.flow.internal.v0.models.ErpFlowFile;
|
|
22441
|
-
export declare type
|
|
22499
|
+
export declare type ErpFlowFileForm = io.flow.internal.v0.models.ErpFlowFileForm;
|
|
22500
|
+
export declare type ErpFlowVendor = io.flow.internal.v0.models.ErpFlowVendor;
|
|
22442
22501
|
export declare type ErpPriorityFile = io.flow.internal.v0.models.ErpPriorityFile;
|
|
22443
22502
|
export declare type ErpPriorityFileForm = io.flow.internal.v0.models.ErpPriorityFileForm;
|
|
22444
22503
|
export declare type ErpVendor = io.flow.internal.v0.models.ErpVendor;
|
|
22445
|
-
export declare type
|
|
22504
|
+
export declare type ErpVendorStatus = io.flow.internal.v0.models.ErpVendorStatus;
|
|
22505
|
+
export declare type ErpVendorStatusEntity = io.flow.internal.v0.models.ErpVendorStatusEntity;
|
|
22506
|
+
export declare type ErpVendorStatusFile = io.flow.internal.v0.models.ErpVendorStatusFile;
|
|
22446
22507
|
export declare type Event = io.flow.internal.v0.unions.Event;
|
|
22447
22508
|
export declare type EventType = io.flow.internal.v0.enums.EventType;
|
|
22448
22509
|
export declare type ExclusionRuleDeleted = io.flow.internal.v0.models.ExclusionRuleDeleted;
|
package/dist/api.d.ts
CHANGED
|
@@ -4004,6 +4004,7 @@ declare namespace io.flow.v0.models {
|
|
|
4004
4004
|
readonly cookie_created_at?: number;
|
|
4005
4005
|
readonly session_duration?: number;
|
|
4006
4006
|
readonly fingerprint?: string;
|
|
4007
|
+
readonly fraud_references?: Record<string, string>;
|
|
4007
4008
|
}
|
|
4008
4009
|
interface DeviceFingerprintDetailsBrowser {
|
|
4009
4010
|
readonly type: 'browser';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.24.
|
|
3
|
+
"version": "11.24.67",
|
|
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": "a9aebda82a73c3cf583d7536bd0ab8cd24ad9660"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -1789,6 +1789,7 @@ declare namespace io.flow.payment.v0.models {
|
|
|
1789
1789
|
readonly cookie_created_at?: number;
|
|
1790
1790
|
readonly session_duration?: number;
|
|
1791
1791
|
readonly fingerprint?: string;
|
|
1792
|
+
readonly fraud_references?: Record<string, string>;
|
|
1792
1793
|
}
|
|
1793
1794
|
|
|
1794
1795
|
interface DirectAuthorizationForm {
|
|
@@ -6986,7 +6987,7 @@ declare namespace io.flow.shopify.markets.v0.models {
|
|
|
6986
6987
|
interface ShopifyOrderShippingLine {
|
|
6987
6988
|
readonly code?: string;
|
|
6988
6989
|
readonly price: string;
|
|
6989
|
-
readonly source
|
|
6990
|
+
readonly source?: string;
|
|
6990
6991
|
readonly title: string;
|
|
6991
6992
|
readonly tax_lines: io.flow.shopify.markets.v0.models.ShopifyOrderTaxLine[];
|
|
6992
6993
|
readonly carrier_identifier?: string;
|
|
@@ -15007,7 +15008,6 @@ declare namespace io.flow.internal.v0.enums {
|
|
|
15007
15008
|
| 'fraud_review'
|
|
15008
15009
|
| 'carrier_account'
|
|
15009
15010
|
| 'payment'
|
|
15010
|
-
| 'label_generation_settings'
|
|
15011
15011
|
| 'ratecard'
|
|
15012
15012
|
| 'logistics_center'
|
|
15013
15013
|
| 'center_defaults';
|
|
@@ -20093,6 +20093,10 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20093
20093
|
readonly passphrase_ids: string[];
|
|
20094
20094
|
}
|
|
20095
20095
|
|
|
20096
|
+
interface EntityReference {
|
|
20097
|
+
readonly id: string;
|
|
20098
|
+
}
|
|
20099
|
+
|
|
20096
20100
|
interface ErpFlowFile {
|
|
20097
20101
|
readonly id: string;
|
|
20098
20102
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
@@ -20100,12 +20104,55 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20100
20104
|
readonly created_at: string;
|
|
20101
20105
|
}
|
|
20102
20106
|
|
|
20103
|
-
interface
|
|
20104
|
-
readonly environment: io.flow.common.v0.enums.Environment;
|
|
20107
|
+
interface ErpFlowFileForm {
|
|
20105
20108
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
20106
20109
|
}
|
|
20107
20110
|
|
|
20111
|
+
interface ErpFlowVendor {
|
|
20112
|
+
readonly acc_des: string;
|
|
20113
|
+
readonly country_name: string;
|
|
20114
|
+
readonly acng_code: string;
|
|
20115
|
+
readonly code: string;
|
|
20116
|
+
readonly branch: string;
|
|
20117
|
+
readonly trial_bal_code: string;
|
|
20118
|
+
readonly sec_name: string;
|
|
20119
|
+
readonly branch_des: string;
|
|
20120
|
+
readonly state_a: string;
|
|
20121
|
+
readonly bank_code: string;
|
|
20122
|
+
readonly id: string;
|
|
20123
|
+
readonly entity: io.flow.internal.v0.models.EntityReference;
|
|
20124
|
+
readonly tax_code?: string;
|
|
20125
|
+
readonly vat_flag?: string;
|
|
20126
|
+
readonly w_tax_percent?: string;
|
|
20127
|
+
readonly iban?: string;
|
|
20128
|
+
readonly confirmed_date?: string;
|
|
20129
|
+
readonly w_tax_date?: string;
|
|
20130
|
+
readonly w_tax_num_expl?: string;
|
|
20131
|
+
readonly phone?: string;
|
|
20132
|
+
readonly address?: string;
|
|
20133
|
+
readonly address_a?: string;
|
|
20134
|
+
readonly address_2?: string;
|
|
20135
|
+
readonly address_3?: string;
|
|
20136
|
+
readonly state_name?: string;
|
|
20137
|
+
readonly zip?: string;
|
|
20138
|
+
readonly pay_account?: string;
|
|
20139
|
+
readonly comp_num?: string;
|
|
20140
|
+
readonly w_tax_num?: string;
|
|
20141
|
+
readonly vat_num?: string;
|
|
20142
|
+
readonly orig_acc_name?: string;
|
|
20143
|
+
readonly form_1099_code?: string;
|
|
20144
|
+
readonly state?: string;
|
|
20145
|
+
readonly fax?: string;
|
|
20146
|
+
readonly details?: string;
|
|
20147
|
+
readonly state_code?: string;
|
|
20148
|
+
readonly tax_office_code?: string;
|
|
20149
|
+
readonly pay_code?: string;
|
|
20150
|
+
readonly eacc_des?: string;
|
|
20151
|
+
readonly acng_des?: string;
|
|
20152
|
+
}
|
|
20153
|
+
|
|
20108
20154
|
interface ErpPriorityFile {
|
|
20155
|
+
readonly name: string;
|
|
20109
20156
|
readonly id: string;
|
|
20110
20157
|
readonly type: io.flow.internal.v0.enums.ErpFileType;
|
|
20111
20158
|
readonly url: string;
|
|
@@ -20121,9 +20168,21 @@ declare namespace io.flow.internal.v0.models {
|
|
|
20121
20168
|
readonly placeholder?: string;
|
|
20122
20169
|
}
|
|
20123
20170
|
|
|
20124
|
-
interface
|
|
20125
|
-
readonly
|
|
20126
|
-
readonly
|
|
20171
|
+
interface ErpVendorStatus {
|
|
20172
|
+
readonly entities: io.flow.internal.v0.models.ErpVendorStatusEntity[];
|
|
20173
|
+
readonly latest_priority_file?: io.flow.internal.v0.models.ErpVendorStatusFile;
|
|
20174
|
+
}
|
|
20175
|
+
|
|
20176
|
+
interface ErpVendorStatusEntity {
|
|
20177
|
+
readonly entity: io.flow.internal.v0.models.EntityReference;
|
|
20178
|
+
readonly number_differences: number;
|
|
20179
|
+
}
|
|
20180
|
+
|
|
20181
|
+
interface ErpVendorStatusFile {
|
|
20182
|
+
readonly name: string;
|
|
20183
|
+
readonly created_at: string;
|
|
20184
|
+
readonly errors?: string[];
|
|
20185
|
+
readonly processed_at?: string;
|
|
20127
20186
|
}
|
|
20128
20187
|
|
|
20129
20188
|
interface ExclusionRuleDeleted {
|
|
@@ -23449,6 +23508,7 @@ declare namespace io.flow.internal.v0.models {
|
|
|
23449
23508
|
readonly activated_at?: string;
|
|
23450
23509
|
readonly gmv: number;
|
|
23451
23510
|
readonly health_score: number;
|
|
23511
|
+
readonly audit_result?: io.flow.internal.v0.enums.OnboardingAuditResult;
|
|
23452
23512
|
readonly blocked_since?: string;
|
|
23453
23513
|
}
|
|
23454
23514
|
|
|
@@ -30077,15 +30137,20 @@ export type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
|
|
|
30077
30137
|
export type EmptyClassificationForm =
|
|
30078
30138
|
io.flow.internal.v0.models.EmptyClassificationForm;
|
|
30079
30139
|
export type Encryption = io.flow.internal.v0.models.Encryption;
|
|
30140
|
+
export type EntityReference = io.flow.internal.v0.models.EntityReference;
|
|
30080
30141
|
export type ErpFileType = io.flow.internal.v0.enums.ErpFileType;
|
|
30081
30142
|
export type ErpFlowFile = io.flow.internal.v0.models.ErpFlowFile;
|
|
30082
|
-
export type
|
|
30083
|
-
|
|
30143
|
+
export type ErpFlowFileForm = io.flow.internal.v0.models.ErpFlowFileForm;
|
|
30144
|
+
export type ErpFlowVendor = io.flow.internal.v0.models.ErpFlowVendor;
|
|
30084
30145
|
export type ErpPriorityFile = io.flow.internal.v0.models.ErpPriorityFile;
|
|
30085
30146
|
export type ErpPriorityFileForm =
|
|
30086
30147
|
io.flow.internal.v0.models.ErpPriorityFileForm;
|
|
30087
30148
|
export type ErpVendor = io.flow.internal.v0.models.ErpVendor;
|
|
30088
|
-
export type
|
|
30149
|
+
export type ErpVendorStatus = io.flow.internal.v0.models.ErpVendorStatus;
|
|
30150
|
+
export type ErpVendorStatusEntity =
|
|
30151
|
+
io.flow.internal.v0.models.ErpVendorStatusEntity;
|
|
30152
|
+
export type ErpVendorStatusFile =
|
|
30153
|
+
io.flow.internal.v0.models.ErpVendorStatusFile;
|
|
30089
30154
|
export type Event = io.flow.internal.v0.unions.Event;
|
|
30090
30155
|
export type EventType = io.flow.internal.v0.enums.EventType;
|
|
30091
30156
|
export type ExclusionRuleDeleted =
|
package/src/api.ts
CHANGED
|
@@ -5582,6 +5582,7 @@ declare namespace io.flow.v0.models {
|
|
|
5582
5582
|
readonly cookie_created_at?: number;
|
|
5583
5583
|
readonly session_duration?: number;
|
|
5584
5584
|
readonly fingerprint?: string;
|
|
5585
|
+
readonly fraud_references?: Record<string, string>;
|
|
5585
5586
|
}
|
|
5586
5587
|
|
|
5587
5588
|
interface DeviceFingerprintDetailsBrowser {
|