@flowio/types 0.0.13 → 0.0.14

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.
@@ -9047,6 +9047,14 @@ declare namespace io.flow.adyen.v0.models {
9047
9047
  interface NotificationResponse {
9048
9048
  readonly notificationResponse: string;
9049
9049
  }
9050
+ interface OriginKeysRequest {
9051
+ readonly originDomains: string[];
9052
+ }
9053
+ interface OriginKeysResponse {
9054
+ readonly originKeys: {
9055
+ [key: string]: string;
9056
+ };
9057
+ }
9050
9058
  interface OuterNotificationRequestItem {
9051
9059
  readonly NotificationRequestItem: io.flow.adyen.v0.models.InnerNotificationRequestItem;
9052
9060
  }
@@ -10394,6 +10402,7 @@ declare namespace io.flow.internal.v0.models {
10394
10402
  readonly days_until_posted: number;
10395
10403
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
10396
10404
  readonly include_transaction_created_at: boolean;
10405
+ readonly include_order_exchange_rate: boolean;
10397
10406
  readonly send_statements_to_flow_ftp_server: boolean;
10398
10407
  readonly invoicing_terms?: io.flow.invoice.v0.enums.PaymentTerm;
10399
10408
  readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
@@ -10526,7 +10535,8 @@ declare namespace io.flow.internal.v0.models {
10526
10535
  readonly features: io.flow.feature.v0.models.FeatureValueResult;
10527
10536
  }
10528
10537
  interface BrowserBundleCountryPickerForm {
10529
- readonly country: string;
10538
+ readonly country?: string;
10539
+ readonly ip?: string;
10530
10540
  readonly is_destination: boolean;
10531
10541
  }
10532
10542
  interface BrowserBundleError {
@@ -12623,6 +12633,7 @@ declare namespace io.flow.internal.v0.models {
12623
12633
  interface MultiProductItem {
12624
12634
  readonly item_id: string;
12625
12635
  readonly item_number: string;
12636
+ readonly product_id?: string;
12626
12637
  readonly organization_id: string;
12627
12638
  readonly sub_items: io.flow.internal.v0.models.MultiProductSubItem[];
12628
12639
  }
@@ -13985,6 +13996,11 @@ declare namespace io.flow.internal.v0.models {
13985
13996
  readonly id: string;
13986
13997
  readonly description: string;
13987
13998
  }
13999
+ interface UnclassifiedProductsForm {
14000
+ readonly organization_id: string;
14001
+ readonly product_id: string;
14002
+ readonly ignore?: boolean;
14003
+ }
13988
14004
  interface UnharmonizedItemsExport {
13989
14005
  readonly event_id: string;
13990
14006
  readonly timestamp: string;
@@ -15402,6 +15418,7 @@ export declare type TransactionSummary = io.flow.internal.v0.unions.TransactionS
15402
15418
  export declare type TransferMethod = io.flow.internal.v0.enums.TransferMethod;
15403
15419
  export declare type TransferTransaction = io.flow.internal.v0.models.TransferTransaction;
15404
15420
  export declare type Tribe = io.flow.internal.v0.models.Tribe;
15421
+ export declare type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
15405
15422
  export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
15406
15423
  export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
15407
15424
  export declare type UserDeleted = io.flow.internal.v0.models.UserDeleted;
package/dist/api.d.ts CHANGED
@@ -889,6 +889,7 @@ declare namespace io.flow.v0.enums {
889
889
  type InventoryStatus = 'has_inventory' | 'no_inventory';
890
890
  type InvitationErrorCode = 'expired' | 'invalid_email';
891
891
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
892
+ type LaneDirection = 'outbound' | 'return';
892
893
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
893
894
  type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
894
895
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
@@ -948,7 +949,6 @@ declare namespace io.flow.v0.enums {
948
949
  type TaxabilityType = 'tax_rule';
949
950
  type TaxabilityValue = 'exempt';
950
951
  type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed';
951
- type TierDirection = 'outbound' | 'return';
952
952
  type TierEstimateType = 'calculated' | 'custom';
953
953
  type TierStrategy = 'fastest' | 'lowest_cost';
954
954
  type TokenType = 'permanent' | 'one_time';
@@ -1061,6 +1061,7 @@ declare namespace io.flow.v0.models {
1061
1061
  readonly fingerprint_token: string;
1062
1062
  }
1063
1063
  interface AdyenNativeActionDetails {
1064
+ readonly origin_key?: string;
1064
1065
  readonly data?: io.flow.v0.unions.AdyenNativeData;
1065
1066
  }
1066
1067
  interface Allocation {
@@ -1239,6 +1240,7 @@ declare namespace io.flow.v0.models {
1239
1240
  }
1240
1241
  interface AuthorizationResultActionNative {
1241
1242
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1243
+ readonly authorization: io.flow.v0.models.AuthorizationReference;
1242
1244
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1243
1245
  }
1244
1246
  interface AuthorizationResultActionPost {
@@ -1427,6 +1429,7 @@ declare namespace io.flow.v0.models {
1427
1429
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
1428
1430
  }
1429
1431
  interface BrowserInfo {
1432
+ readonly origin?: string;
1430
1433
  readonly language?: string;
1431
1434
  readonly java_enabled?: boolean;
1432
1435
  readonly color_depth?: number;
@@ -2679,6 +2682,7 @@ declare namespace io.flow.v0.models {
2679
2682
  interface ExperiencePaymentMethodRuleForm {
2680
2683
  readonly payment_method_id: string;
2681
2684
  readonly tags: io.flow.v0.enums.ExperiencePaymentMethodTag[];
2685
+ readonly q?: string;
2682
2686
  }
2683
2687
  interface ExperiencePriceBookMapping {
2684
2688
  readonly id: string;
@@ -4754,6 +4758,7 @@ declare namespace io.flow.v0.models {
4754
4758
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
4755
4759
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
4756
4760
  readonly programs: io.flow.v0.models.InstallmentProgramSummary[];
4761
+ readonly q?: io.flow.v0.models.Query;
4757
4762
  }
4758
4763
  interface PaymentMethodRuleContent {
4759
4764
  readonly key: io.flow.v0.enums.PaymentMethodRuleContentKey;
@@ -5120,7 +5125,7 @@ declare namespace io.flow.v0.models {
5120
5125
  readonly items: io.flow.v0.models.QuoteLineItemForm[];
5121
5126
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
5122
5127
  readonly delivered_duties?: io.flow.v0.enums.DeliveredDuty[];
5123
- readonly direction?: io.flow.v0.enums.TierDirection;
5128
+ readonly direction?: io.flow.v0.enums.LaneDirection;
5124
5129
  }
5125
5130
  interface QuoteLineItemForm {
5126
5131
  readonly number: string;
@@ -5545,6 +5550,7 @@ declare namespace io.flow.v0.models {
5545
5550
  readonly key: string;
5546
5551
  readonly order?: io.flow.v0.models.ReservationOrderReference;
5547
5552
  readonly items: io.flow.v0.models.ReservationItem[];
5553
+ readonly reserved_until?: string;
5548
5554
  }
5549
5555
  interface ReservationForm {
5550
5556
  readonly order_number?: string;
@@ -5999,6 +6005,7 @@ declare namespace io.flow.v0.models {
5999
6005
  readonly tiers: io.flow.v0.models.Tier[];
6000
6006
  readonly query: io.flow.v0.models.Query;
6001
6007
  readonly strategy: io.flow.v0.enums.LaneStrategy;
6008
+ readonly direction?: io.flow.v0.enums.LaneDirection;
6002
6009
  }
6003
6010
  interface ShippingLaneDeleted {
6004
6011
  readonly event_id: string;
@@ -6009,6 +6016,7 @@ declare namespace io.flow.v0.models {
6009
6016
  readonly from: string;
6010
6017
  readonly to: string;
6011
6018
  readonly strategy?: io.flow.v0.enums.LaneStrategy;
6019
+ readonly direction?: io.flow.v0.enums.LaneDirection;
6012
6020
  }
6013
6021
  interface ShippingLaneSummary {
6014
6022
  readonly shipping_lane_id: string;
@@ -6534,7 +6542,7 @@ declare namespace io.flow.v0.models {
6534
6542
  }
6535
6543
  interface Tier {
6536
6544
  readonly id: string;
6537
- readonly direction: io.flow.v0.enums.TierDirection;
6545
+ readonly direction: io.flow.v0.enums.LaneDirection;
6538
6546
  readonly integration: io.flow.v0.enums.ShipmentIntegrationType;
6539
6547
  readonly name: string;
6540
6548
  readonly message?: string;
@@ -6575,7 +6583,7 @@ declare namespace io.flow.v0.models {
6575
6583
  readonly strategy: io.flow.v0.enums.TierStrategy;
6576
6584
  readonly visibility: io.flow.v0.enums.Visibility;
6577
6585
  readonly description?: string;
6578
- readonly direction?: io.flow.v0.enums.TierDirection;
6586
+ readonly direction?: io.flow.v0.enums.LaneDirection;
6579
6587
  readonly display?: io.flow.v0.models.TierDisplayForm;
6580
6588
  readonly shipping_lane: string;
6581
6589
  readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
@@ -8194,6 +8202,7 @@ export declare type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
8194
8202
  export declare type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
8195
8203
  export declare type LabelUpserted = io.flow.v0.models.LabelUpserted;
8196
8204
  export declare type LandedCostItem = io.flow.v0.models.LandedCostItem;
8205
+ export declare type LaneDirection = io.flow.v0.enums.LaneDirection;
8197
8206
  export declare type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
8198
8207
  export declare type LaneStrategy = io.flow.v0.enums.LaneStrategy;
8199
8208
  export declare type Language = io.flow.v0.models.Language;
@@ -8746,7 +8755,6 @@ export declare type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
8746
8755
  export declare type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
8747
8756
  export declare type Tier = io.flow.v0.models.Tier;
8748
8757
  export declare type TierDeletedV2 = io.flow.v0.models.TierDeletedV2;
8749
- export declare type TierDirection = io.flow.v0.enums.TierDirection;
8750
8758
  export declare type TierDisplay = io.flow.v0.models.TierDisplay;
8751
8759
  export declare type TierDisplayForm = io.flow.v0.models.TierDisplayForm;
8752
8760
  export declare type TierEstimate = io.flow.v0.models.TierEstimate;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
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",
@@ -11243,6 +11243,16 @@ declare namespace io.flow.adyen.v0.models {
11243
11243
  readonly notificationResponse: string;
11244
11244
  }
11245
11245
 
11246
+ interface OriginKeysRequest {
11247
+ readonly originDomains: string[];
11248
+ }
11249
+
11250
+ interface OriginKeysResponse {
11251
+ readonly originKeys: {
11252
+ [key: string]: string;
11253
+ };
11254
+ }
11255
+
11246
11256
  interface OuterNotificationRequestItem {
11247
11257
  readonly NotificationRequestItem: io.flow.adyen.v0.models.InnerNotificationRequestItem;
11248
11258
  }
@@ -13165,6 +13175,7 @@ declare namespace io.flow.internal.v0.models {
13165
13175
  readonly days_until_posted: number;
13166
13176
  readonly logistics: io.flow.internal.v0.enums.ResponsibleParty;
13167
13177
  readonly include_transaction_created_at: boolean;
13178
+ readonly include_order_exchange_rate: boolean;
13168
13179
  readonly send_statements_to_flow_ftp_server: boolean;
13169
13180
  readonly invoicing_terms?: io.flow.invoice.v0.enums.PaymentTerm;
13170
13181
  readonly transfer_method?: io.flow.internal.v0.enums.TransferMethod;
@@ -13320,7 +13331,8 @@ declare namespace io.flow.internal.v0.models {
13320
13331
  }
13321
13332
 
13322
13333
  interface BrowserBundleCountryPickerForm {
13323
- readonly country: string;
13334
+ readonly country?: string;
13335
+ readonly ip?: string;
13324
13336
  readonly is_destination: boolean;
13325
13337
  }
13326
13338
 
@@ -15775,6 +15787,7 @@ declare namespace io.flow.internal.v0.models {
15775
15787
  interface MultiProductItem {
15776
15788
  readonly item_id: string;
15777
15789
  readonly item_number: string;
15790
+ readonly product_id?: string;
15778
15791
  readonly organization_id: string;
15779
15792
  readonly sub_items: io.flow.internal.v0.models.MultiProductSubItem[];
15780
15793
  }
@@ -17360,6 +17373,12 @@ declare namespace io.flow.internal.v0.models {
17360
17373
  readonly description: string;
17361
17374
  }
17362
17375
 
17376
+ interface UnclassifiedProductsForm {
17377
+ readonly organization_id: string;
17378
+ readonly product_id: string;
17379
+ readonly ignore?: boolean;
17380
+ }
17381
+
17363
17382
  interface UnharmonizedItemsExport {
17364
17383
  readonly event_id: string;
17365
17384
  readonly timestamp: string;
@@ -19070,6 +19089,7 @@ export type TransactionSummary = io.flow.internal.v0.unions.TransactionSummary;
19070
19089
  export type TransferMethod = io.flow.internal.v0.enums.TransferMethod;
19071
19090
  export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction;
19072
19091
  export type Tribe = io.flow.internal.v0.models.Tribe;
19092
+ export type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
19073
19093
  export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
19074
19094
  export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
19075
19095
  export type UserDeleted = io.flow.internal.v0.models.UserDeleted;
package/src/api.ts CHANGED
@@ -1388,6 +1388,7 @@ declare namespace io.flow.v0.enums {
1388
1388
  type InventoryStatus = 'has_inventory' | 'no_inventory';
1389
1389
  type InvitationErrorCode = 'expired' | 'invalid_email';
1390
1390
  type ItemAvailabilityStatus = 'available' | 'low' | 'out_of_stock';
1391
+ type LaneDirection = 'outbound' | 'return';
1391
1392
  type LaneStrategy = 'oldest' | 'fastest' | 'lowest_cost' | 'highest_priority';
1392
1393
  type LevyComponent = 'goods' | 'duty' | 'insurance' | 'freight' | 'vat';
1393
1394
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
@@ -1581,7 +1582,6 @@ declare namespace io.flow.v0.enums {
1581
1582
  type TaxabilityType = 'tax_rule';
1582
1583
  type TaxabilityValue = 'exempt';
1583
1584
  type ThreeDSecureCode = 'verified' | 'not_verified' | 'failed';
1584
- type TierDirection = 'outbound' | 'return';
1585
1585
  type TierEstimateType = 'calculated' | 'custom';
1586
1586
  type TierStrategy = 'fastest' | 'lowest_cost';
1587
1587
  type TokenType = 'permanent' | 'one_time';
@@ -1728,6 +1728,7 @@ declare namespace io.flow.v0.models {
1728
1728
  }
1729
1729
 
1730
1730
  interface AdyenNativeActionDetails {
1731
+ readonly origin_key?: string;
1731
1732
  readonly data?: io.flow.v0.unions.AdyenNativeData;
1732
1733
  }
1733
1734
 
@@ -1937,6 +1938,7 @@ declare namespace io.flow.v0.models {
1937
1938
 
1938
1939
  interface AuthorizationResultActionNative {
1939
1940
  readonly type: io.flow.v0.enums.AuthorizationResultActionType;
1941
+ readonly authorization: io.flow.v0.models.AuthorizationReference;
1940
1942
  readonly details?: io.flow.v0.unions.AuthorizationResultActionDetails;
1941
1943
  }
1942
1944
 
@@ -2154,6 +2156,7 @@ declare namespace io.flow.v0.models {
2154
2156
  }
2155
2157
 
2156
2158
  interface BrowserInfo {
2159
+ readonly origin?: string;
2157
2160
  readonly language?: string;
2158
2161
  readonly java_enabled?: boolean;
2159
2162
  readonly color_depth?: number;
@@ -3609,6 +3612,7 @@ declare namespace io.flow.v0.models {
3609
3612
  interface ExperiencePaymentMethodRuleForm {
3610
3613
  readonly payment_method_id: string;
3611
3614
  readonly tags: io.flow.v0.enums.ExperiencePaymentMethodTag[];
3615
+ readonly q?: string;
3612
3616
  }
3613
3617
 
3614
3618
  interface ExperiencePriceBookMapping {
@@ -6021,6 +6025,7 @@ declare namespace io.flow.v0.models {
6021
6025
  readonly content?: io.flow.v0.models.PaymentMethodRuleContent[];
6022
6026
  readonly issuers?: io.flow.v0.models.PaymentMethodIssuer[];
6023
6027
  readonly programs: io.flow.v0.models.InstallmentProgramSummary[];
6028
+ readonly q?: io.flow.v0.models.Query;
6024
6029
  }
6025
6030
 
6026
6031
  interface PaymentMethodRuleContent {
@@ -6452,7 +6457,7 @@ declare namespace io.flow.v0.models {
6452
6457
  readonly items: io.flow.v0.models.QuoteLineItemForm[];
6453
6458
  readonly delivered_duty?: io.flow.v0.enums.DeliveredDuty;
6454
6459
  readonly delivered_duties?: io.flow.v0.enums.DeliveredDuty[];
6455
- readonly direction?: io.flow.v0.enums.TierDirection;
6460
+ readonly direction?: io.flow.v0.enums.LaneDirection;
6456
6461
  }
6457
6462
 
6458
6463
  interface QuoteLineItemForm {
@@ -6938,6 +6943,7 @@ declare namespace io.flow.v0.models {
6938
6943
  readonly key: string;
6939
6944
  readonly order?: io.flow.v0.models.ReservationOrderReference;
6940
6945
  readonly items: io.flow.v0.models.ReservationItem[];
6946
+ readonly reserved_until?: string;
6941
6947
  }
6942
6948
 
6943
6949
  interface ReservationForm {
@@ -7468,6 +7474,7 @@ declare namespace io.flow.v0.models {
7468
7474
  readonly tiers: io.flow.v0.models.Tier[];
7469
7475
  readonly query: io.flow.v0.models.Query;
7470
7476
  readonly strategy: io.flow.v0.enums.LaneStrategy;
7477
+ readonly direction?: io.flow.v0.enums.LaneDirection;
7471
7478
  }
7472
7479
 
7473
7480
  interface ShippingLaneDeleted {
@@ -7480,6 +7487,7 @@ declare namespace io.flow.v0.models {
7480
7487
  readonly from: string;
7481
7488
  readonly to: string;
7482
7489
  readonly strategy?: io.flow.v0.enums.LaneStrategy;
7490
+ readonly direction?: io.flow.v0.enums.LaneDirection;
7483
7491
  }
7484
7492
 
7485
7493
  interface ShippingLaneSummary {
@@ -8092,7 +8100,7 @@ declare namespace io.flow.v0.models {
8092
8100
 
8093
8101
  interface Tier {
8094
8102
  readonly id: string;
8095
- readonly direction: io.flow.v0.enums.TierDirection;
8103
+ readonly direction: io.flow.v0.enums.LaneDirection;
8096
8104
  readonly integration: io.flow.v0.enums.ShipmentIntegrationType;
8097
8105
  readonly name: string;
8098
8106
  readonly message?: string;
@@ -8138,7 +8146,7 @@ declare namespace io.flow.v0.models {
8138
8146
  readonly strategy: io.flow.v0.enums.TierStrategy;
8139
8147
  readonly visibility: io.flow.v0.enums.Visibility;
8140
8148
  readonly description?: string;
8141
- readonly direction?: io.flow.v0.enums.TierDirection;
8149
+ readonly direction?: io.flow.v0.enums.LaneDirection;
8142
8150
  readonly display?: io.flow.v0.models.TierDisplayForm;
8143
8151
  readonly shipping_lane: string;
8144
8152
  readonly surcharge_settings?: io.flow.v0.models.SurchargeSetting[];
@@ -10189,6 +10197,7 @@ export type LabelFormatUpserted = io.flow.v0.models.LabelFormatUpserted;
10189
10197
  export type LabelOrderSummary = io.flow.v0.models.LabelOrderSummary;
10190
10198
  export type LabelUpserted = io.flow.v0.models.LabelUpserted;
10191
10199
  export type LandedCostItem = io.flow.v0.models.LandedCostItem;
10200
+ export type LaneDirection = io.flow.v0.enums.LaneDirection;
10192
10201
  export type LaneLandedCost = io.flow.v0.models.LaneLandedCost;
10193
10202
  export type LaneStrategy = io.flow.v0.enums.LaneStrategy;
10194
10203
  export type Language = io.flow.v0.models.Language;
@@ -10741,7 +10750,6 @@ export type ThreeDSecure = io.flow.v0.models.ThreeDSecure;
10741
10750
  export type ThreeDSecureCode = io.flow.v0.enums.ThreeDSecureCode;
10742
10751
  export type Tier = io.flow.v0.models.Tier;
10743
10752
  export type TierDeletedV2 = io.flow.v0.models.TierDeletedV2;
10744
- export type TierDirection = io.flow.v0.enums.TierDirection;
10745
10753
  export type TierDisplay = io.flow.v0.models.TierDisplay;
10746
10754
  export type TierDisplayForm = io.flow.v0.models.TierDisplayForm;
10747
10755
  export type TierEstimate = io.flow.v0.models.TierEstimate;