@flowio/types 11.24.16 → 11.24.18

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.
@@ -4275,7 +4275,7 @@ declare namespace io.flow.shopify.external.v0.models {
4275
4275
  readonly key: string;
4276
4276
  readonly namespace: string;
4277
4277
  readonly value: string;
4278
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
4278
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
4279
4279
  readonly description?: string;
4280
4280
  readonly owner_id: number;
4281
4281
  readonly owner_resource: string;
@@ -4284,7 +4284,7 @@ declare namespace io.flow.shopify.external.v0.models {
4284
4284
  readonly key: string;
4285
4285
  readonly namespace: string;
4286
4286
  readonly value: string;
4287
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
4287
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
4288
4288
  readonly description?: string;
4289
4289
  }
4290
4290
  interface Option {
@@ -5141,7 +5141,7 @@ declare namespace io.flow.shopify.markets.v0.models {
5141
5141
  readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
5142
5142
  readonly harmonized_system_code?: string;
5143
5143
  readonly province_code_of_origin?: string;
5144
- readonly sku: string;
5144
+ readonly sku?: string;
5145
5145
  readonly tracked?: boolean;
5146
5146
  readonly requires_shipping: boolean;
5147
5147
  readonly created_at: string;
@@ -9821,7 +9821,7 @@ declare namespace io.flow.internal.v0.enums {
9821
9821
  type FinancialReportingResponsibleParty = 'flow' | 'organization';
9822
9822
  type FlowApp = 'console';
9823
9823
  type Format = 'text' | 'phone' | 'email';
9824
- type FraudProvider = 'flow' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
9824
+ type FraudProvider = 'flow' | 'forter' | 'paypal' | 'riskified' | 'rps' | 'other' | 'none';
9825
9825
  type FraudProviderStatus = 'active' | 'archived';
9826
9826
  type FraudReviewResponsibleParty = 'flow' | 'organization';
9827
9827
  type FtpIntent = 'orders_from_flow' | 'pricebooks_from_flow' | 'pricebooks_to_flow' | 'catalog_to_flow' | 'inventory_to_flow';
@@ -14307,6 +14307,20 @@ declare namespace io.flow.internal.v0.models {
14307
14307
  readonly organization: string;
14308
14308
  readonly id: string;
14309
14309
  }
14310
+ interface FraudPendingReviewDetail {
14311
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
14312
+ readonly fraud_review_id: string;
14313
+ readonly order: io.flow.experience.v0.models.OrderReference;
14314
+ readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
14315
+ readonly liability: io.flow.fraud.v0.enums.FraudLiability;
14316
+ readonly submitted_at: string;
14317
+ readonly customer: io.flow.common.v0.models.OrderCustomer;
14318
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
14319
+ readonly amount: number;
14320
+ readonly currency: string;
14321
+ readonly details_url: string;
14322
+ readonly provider: io.flow.internal.v0.enums.FraudProvider;
14323
+ }
14310
14324
  interface FraudPendingReviewUpserted {
14311
14325
  readonly discriminator: 'fraud_pending_review_upserted';
14312
14326
  readonly event_id: string;
@@ -17558,6 +17572,13 @@ declare namespace io.flow.internal.v0.models {
17558
17572
  readonly organization: string;
17559
17573
  readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
17560
17574
  }
17575
+ interface RatecardServiceFeesOverride {
17576
+ readonly ratecard: io.flow.internal.v0.models.RatecardInternalSummary;
17577
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
17578
+ }
17579
+ interface RatecardServiceFeesOverrideForm {
17580
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
17581
+ }
17561
17582
  interface RatecardStandardConfiguration {
17562
17583
  readonly id: string;
17563
17584
  readonly key: string;
@@ -18040,6 +18061,9 @@ declare namespace io.flow.internal.v0.models {
18040
18061
  readonly legal_name?: string;
18041
18062
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
18042
18063
  }
18064
+ interface ShopifyMarketsSync {
18065
+ readonly placeholder?: any;
18066
+ }
18043
18067
  interface ShopifyMarketsWebhookRegistration {
18044
18068
  readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
18045
18069
  }
@@ -20246,6 +20270,7 @@ export declare type FlowLabelSettingForm = io.flow.internal.v0.models.FlowLabelS
20246
20270
  export declare type Format = io.flow.internal.v0.enums.Format;
20247
20271
  export declare type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
20248
20272
  export declare type FraudPendingReviewDeleted = io.flow.internal.v0.models.FraudPendingReviewDeleted;
20273
+ export declare type FraudPendingReviewDetail = io.flow.internal.v0.models.FraudPendingReviewDetail;
20249
20274
  export declare type FraudPendingReviewUpserted = io.flow.internal.v0.models.FraudPendingReviewUpserted;
20250
20275
  export declare type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
20251
20276
  export declare type FraudProviderConfiguration = io.flow.internal.v0.unions.FraudProviderConfiguration;
@@ -20795,6 +20820,8 @@ export declare type RatecardLaneAggregateUpserted = io.flow.internal.v0.models.R
20795
20820
  export declare type RatecardLanesImportRequest = io.flow.internal.v0.models.RatecardLanesImportRequest;
20796
20821
  export declare type RatecardServiceFeeDeleted = io.flow.internal.v0.models.RatecardServiceFeeDeleted;
20797
20822
  export declare type RatecardServiceFeeUpserted = io.flow.internal.v0.models.RatecardServiceFeeUpserted;
20823
+ export declare type RatecardServiceFeesOverride = io.flow.internal.v0.models.RatecardServiceFeesOverride;
20824
+ export declare type RatecardServiceFeesOverrideForm = io.flow.internal.v0.models.RatecardServiceFeesOverrideForm;
20798
20825
  export declare type RatecardStandardConfiguration = io.flow.internal.v0.models.RatecardStandardConfiguration;
20799
20826
  export declare type RatecardStandardConfigurationDeleted = io.flow.internal.v0.models.RatecardStandardConfigurationDeleted;
20800
20827
  export declare type RatecardStandardConfigurationForm = io.flow.internal.v0.models.RatecardStandardConfigurationForm;
@@ -20898,6 +20925,7 @@ export declare type ShopifyMarketsShop = io.flow.internal.v0.models.ShopifyMarke
20898
20925
  export declare type ShopifyMarketsShopForm = io.flow.internal.v0.models.ShopifyMarketsShopForm;
20899
20926
  export declare type ShopifyMarketsShopSummary = io.flow.internal.v0.models.ShopifyMarketsShopSummary;
20900
20927
  export declare type ShopifyMarketsSubsidiaryCompany = io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
20928
+ export declare type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
20901
20929
  export declare type ShopifyMarketsTradeSector = io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
20902
20930
  export declare type ShopifyMarketsWebhookRegistration = io.flow.internal.v0.models.ShopifyMarketsWebhookRegistration;
20903
20931
  export declare type ShopifyMetadata = io.flow.internal.v0.models.ShopifyMetadata;
package/dist/api.d.ts CHANGED
@@ -833,7 +833,7 @@ declare namespace io.flow.shopify.external.v0.models {
833
833
  readonly key: string;
834
834
  readonly namespace: string;
835
835
  readonly value: string;
836
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
836
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
837
837
  readonly description?: string;
838
838
  readonly owner_id: number;
839
839
  readonly owner_resource: string;
@@ -842,7 +842,7 @@ declare namespace io.flow.shopify.external.v0.models {
842
842
  readonly key: string;
843
843
  readonly namespace: string;
844
844
  readonly value: string;
845
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
845
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
846
846
  readonly description?: string;
847
847
  }
848
848
  interface Option {
@@ -8944,6 +8944,7 @@ declare namespace io.flow.v0.models {
8944
8944
  interface Statement {
8945
8945
  readonly id: string;
8946
8946
  readonly account: io.flow.v0.models.AccountReference;
8947
+ readonly ending_balance: number;
8947
8948
  readonly payout?: io.flow.v0.models.Payout;
8948
8949
  readonly attachments: io.flow.v0.models.Attachment[];
8949
8950
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.16",
3
+ "version": "11.24.18",
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": "e5ce9112ee3437fbd44a884f62f800a9922e6961"
28
+ "gitHead": "e7da36bb5224093f0c1d597038887a4ecf7d820e"
29
29
  }
@@ -5882,7 +5882,7 @@ declare namespace io.flow.shopify.external.v0.models {
5882
5882
  readonly key: string;
5883
5883
  readonly namespace: string;
5884
5884
  readonly value: string;
5885
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
5885
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
5886
5886
  readonly description?: string;
5887
5887
  readonly owner_id: number;
5888
5888
  readonly owner_resource: string;
@@ -5892,7 +5892,7 @@ declare namespace io.flow.shopify.external.v0.models {
5892
5892
  readonly key: string;
5893
5893
  readonly namespace: string;
5894
5894
  readonly value: string;
5895
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
5895
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
5896
5896
  readonly description?: string;
5897
5897
  }
5898
5898
 
@@ -6965,7 +6965,7 @@ declare namespace io.flow.shopify.markets.v0.models {
6965
6965
  readonly country_harmonized_system_codes?: io.flow.shopify.markets.v0.models.ShopifyCountryHarmonizedSystemCode[];
6966
6966
  readonly harmonized_system_code?: string;
6967
6967
  readonly province_code_of_origin?: string;
6968
- readonly sku: string;
6968
+ readonly sku?: string;
6969
6969
  readonly tracked?: boolean;
6970
6970
  readonly requires_shipping: boolean;
6971
6971
  readonly created_at: string;
@@ -13298,6 +13298,7 @@ declare namespace io.flow.internal.v0.enums {
13298
13298
  type Format = 'text' | 'phone' | 'email';
13299
13299
  type FraudProvider =
13300
13300
  | 'flow'
13301
+ | 'forter'
13301
13302
  | 'paypal'
13302
13303
  | 'riskified'
13303
13304
  | 'rps'
@@ -18833,6 +18834,21 @@ declare namespace io.flow.internal.v0.models {
18833
18834
  readonly id: string;
18834
18835
  }
18835
18836
 
18837
+ interface FraudPendingReviewDetail {
18838
+ readonly organization: io.flow.common.v0.models.OrganizationSummary;
18839
+ readonly fraud_review_id: string;
18840
+ readonly order: io.flow.experience.v0.models.OrderReference;
18841
+ readonly recommended_status: io.flow.fraud.v0.enums.FraudStatus;
18842
+ readonly liability: io.flow.fraud.v0.enums.FraudLiability;
18843
+ readonly submitted_at: string;
18844
+ readonly customer: io.flow.common.v0.models.OrderCustomer;
18845
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
18846
+ readonly amount: number;
18847
+ readonly currency: string;
18848
+ readonly details_url: string;
18849
+ readonly provider: io.flow.internal.v0.enums.FraudProvider;
18850
+ }
18851
+
18836
18852
  interface FraudPendingReviewUpserted {
18837
18853
  readonly discriminator: 'fraud_pending_review_upserted';
18838
18854
  readonly event_id: string;
@@ -22547,6 +22563,15 @@ declare namespace io.flow.internal.v0.models {
22547
22563
  readonly fee: io.flow.internal.v0.models.RatecardInternalServiceFee;
22548
22564
  }
22549
22565
 
22566
+ interface RatecardServiceFeesOverride {
22567
+ readonly ratecard: io.flow.internal.v0.models.RatecardInternalSummary;
22568
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
22569
+ }
22570
+
22571
+ interface RatecardServiceFeesOverrideForm {
22572
+ readonly service_fees: io.flow.ratecard.v0.unions.ServiceFee[];
22573
+ }
22574
+
22550
22575
  interface RatecardStandardConfiguration {
22551
22576
  readonly id: string;
22552
22577
  readonly key: string;
@@ -23113,6 +23138,10 @@ declare namespace io.flow.internal.v0.models {
23113
23138
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
23114
23139
  }
23115
23140
 
23141
+ interface ShopifyMarketsSync {
23142
+ readonly placeholder?: any /*json*/;
23143
+ }
23144
+
23116
23145
  interface ShopifyMarketsWebhookRegistration {
23117
23146
  readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
23118
23147
  }
@@ -27059,6 +27088,8 @@ export type Format = io.flow.internal.v0.enums.Format;
27059
27088
  export type FraudPendingReview = io.flow.internal.v0.models.FraudPendingReview;
27060
27089
  export type FraudPendingReviewDeleted =
27061
27090
  io.flow.internal.v0.models.FraudPendingReviewDeleted;
27091
+ export type FraudPendingReviewDetail =
27092
+ io.flow.internal.v0.models.FraudPendingReviewDetail;
27062
27093
  export type FraudPendingReviewUpserted =
27063
27094
  io.flow.internal.v0.models.FraudPendingReviewUpserted;
27064
27095
  export type FraudProvider = io.flow.internal.v0.enums.FraudProvider;
@@ -27973,6 +28004,10 @@ export type RatecardServiceFeeDeleted =
27973
28004
  io.flow.internal.v0.models.RatecardServiceFeeDeleted;
27974
28005
  export type RatecardServiceFeeUpserted =
27975
28006
  io.flow.internal.v0.models.RatecardServiceFeeUpserted;
28007
+ export type RatecardServiceFeesOverride =
28008
+ io.flow.internal.v0.models.RatecardServiceFeesOverride;
28009
+ export type RatecardServiceFeesOverrideForm =
28010
+ io.flow.internal.v0.models.RatecardServiceFeesOverrideForm;
27976
28011
  export type RatecardStandardConfiguration =
27977
28012
  io.flow.internal.v0.models.RatecardStandardConfiguration;
27978
28013
  export type RatecardStandardConfigurationDeleted =
@@ -28133,6 +28168,7 @@ export type ShopifyMarketsShopSummary =
28133
28168
  io.flow.internal.v0.models.ShopifyMarketsShopSummary;
28134
28169
  export type ShopifyMarketsSubsidiaryCompany =
28135
28170
  io.flow.internal.v0.models.ShopifyMarketsSubsidiaryCompany;
28171
+ export type ShopifyMarketsSync = io.flow.internal.v0.models.ShopifyMarketsSync;
28136
28172
  export type ShopifyMarketsTradeSector =
28137
28173
  io.flow.internal.v0.enums.ShopifyMarketsTradeSector;
28138
28174
  export type ShopifyMarketsWebhookRegistration =
package/src/api.ts CHANGED
@@ -1157,7 +1157,7 @@ declare namespace io.flow.shopify.external.v0.models {
1157
1157
  readonly key: string;
1158
1158
  readonly namespace: string;
1159
1159
  readonly value: string;
1160
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
1160
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
1161
1161
  readonly description?: string;
1162
1162
  readonly owner_id: number;
1163
1163
  readonly owner_resource: string;
@@ -1167,7 +1167,7 @@ declare namespace io.flow.shopify.external.v0.models {
1167
1167
  readonly key: string;
1168
1168
  readonly namespace: string;
1169
1169
  readonly value: string;
1170
- readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
1170
+ readonly type: io.flow.shopify.external.v0.enums.ValueType;
1171
1171
  readonly description?: string;
1172
1172
  }
1173
1173
 
@@ -11276,6 +11276,7 @@ declare namespace io.flow.v0.models {
11276
11276
  interface Statement {
11277
11277
  readonly id: string;
11278
11278
  readonly account: io.flow.v0.models.AccountReference;
11279
+ readonly ending_balance: number;
11279
11280
  readonly payout?: io.flow.v0.models.Payout;
11280
11281
  readonly attachments: io.flow.v0.models.Attachment[];
11281
11282
  }