@flowio/types 11.24.37 → 11.24.38

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.
@@ -7942,6 +7942,7 @@ declare namespace io.flow.tracking.v0.models {
7942
7942
  }
7943
7943
  }
7944
7944
  declare namespace io.flow.merchant.onboarding.v0.enums {
7945
+ type LogisticsFormatPreference = 'shopify_console' | 'existing_3pl_integration' | 'byo_integration';
7945
7946
  type OnboardingApplicationStatus = 'to_do' | 'in_progress' | 'on_hold' | 'rejected' | 'accepted';
7946
7947
  type OnboardingTradeSector = 'accessories' | 'animals_and_pet_supplies' | 'apparel' | 'apparel_and_accessories' | 'arts_and_entertainment' | 'baby_and_toddler' | 'business_and_industrial' | 'cameras_and_optics' | 'electronics' | 'food_beverages_and_tobacco' | 'furniture' | 'gift_cards' | 'hardware' | 'health_and_beauty' | 'home_and_garden' | 'jewelry' | 'luggage_and_bags' | 'mature' | 'media' | 'office_supplies' | 'paper_and_art' | 'religious_and_ceremonial' | 'software' | 'sporting_goods' | 'sports_and_fitness' | 'toys_and_games' | 'toys_hobbies_gifts' | 'vehicles_and_parts' | 'other';
7947
7948
  type RegionType = 'state' | 'province' | 'jurisdiction';
@@ -7952,7 +7953,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
7952
7953
  readonly id?: string;
7953
7954
  }
7954
7955
  interface LogisticsFormat {
7955
- readonly preference?: string;
7956
+ readonly preference: io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference;
7956
7957
  readonly description?: string;
7957
7958
  }
7958
7959
  interface MerchantInfo {
@@ -8039,10 +8040,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
8039
8040
  readonly status_updated_at?: string;
8040
8041
  readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
8041
8042
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
8042
- readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
8043
- readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
8043
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
8044
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
8044
8045
  readonly average_order_value?: io.flow.common.v0.models.Money;
8045
- readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
8046
8046
  }
8047
8047
  interface ShopifyMerchantApplicationForm {
8048
8048
  readonly discriminator: 'shopify_merchant_application_form';
@@ -8072,10 +8072,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
8072
8072
  readonly rate_card: string;
8073
8073
  readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
8074
8074
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
8075
- readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
8076
- readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
8075
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
8076
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
8077
8077
  readonly average_order_value?: io.flow.common.v0.models.Money;
8078
- readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
8079
8078
  }
8080
8079
  interface ShopifyMerchantApplicationPutForm {
8081
8080
  readonly discriminator: 'shopify_merchant_application_put_form';
@@ -8093,10 +8092,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
8093
8092
  readonly operations_contact: io.flow.merchant.onboarding.v0.models.OperationsContact;
8094
8093
  readonly center_id?: string;
8095
8094
  }
8096
- interface TotalOrder {
8097
- readonly value?: io.flow.common.v0.models.Money;
8098
- readonly count?: number;
8099
- }
8100
8095
  interface UltimateBeneficiaryOwner {
8101
8096
  readonly name: string;
8102
8097
  readonly dob: string;
@@ -8695,6 +8690,7 @@ declare namespace io.flow.billing.v0.models {
8695
8690
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
8696
8691
  readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
8697
8692
  readonly net: number;
8693
+ readonly identifiers: Record<string, string>;
8698
8694
  readonly created_at: string;
8699
8695
  }
8700
8696
  interface FeeDeduction {
@@ -8740,6 +8736,7 @@ declare namespace io.flow.billing.v0.models {
8740
8736
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
8741
8737
  readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
8742
8738
  readonly net: number;
8739
+ readonly identifiers: Record<string, string>;
8743
8740
  readonly created_at: string;
8744
8741
  }
8745
8742
  interface WithholdingDeduction {
@@ -17436,6 +17433,9 @@ declare namespace io.flow.internal.v0.models {
17436
17433
  readonly organization: string;
17437
17434
  readonly organization_restriction_approval: io.flow.internal.v0.models.OrganizationRestrictionApproval;
17438
17435
  }
17436
+ interface OrganizationRestrictionNoteForm {
17437
+ readonly note: string;
17438
+ }
17439
17439
  interface OrganizationRestrictionScreeningDecisionForm {
17440
17440
  readonly organization_id: string;
17441
17441
  readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
@@ -18830,7 +18830,7 @@ declare namespace io.flow.internal.v0.models {
18830
18830
  readonly incorporation_country?: io.flow.internal.v0.models.ShopifyMarketsIncorporationCountry;
18831
18831
  }
18832
18832
  interface ShopifyMarketsSync {
18833
- readonly placeholder?: any;
18833
+ readonly force_resync?: boolean;
18834
18834
  }
18835
18835
  interface ShopifyMarketsWebhookRegistration {
18836
18836
  readonly response: io.flow.shopify.markets.v0.models.ShopifyWebhookResponse;
@@ -21520,6 +21520,7 @@ export declare type OrganizationRestrictionApproval = io.flow.internal.v0.models
21520
21520
  export declare type OrganizationRestrictionApprovalDeleted = io.flow.internal.v0.models.OrganizationRestrictionApprovalDeleted;
21521
21521
  export declare type OrganizationRestrictionApprovalStatus = io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
21522
21522
  export declare type OrganizationRestrictionApprovalUpserted = io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted;
21523
+ export declare type OrganizationRestrictionNoteForm = io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
21523
21524
  export declare type OrganizationRestrictionNoteType = io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
21524
21525
  export declare type OrganizationRestrictionRiskLevel = io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel;
21525
21526
  export declare type OrganizationRestrictionScreeningDecisionForm = io.flow.internal.v0.models.OrganizationRestrictionScreeningDecisionForm;
package/dist/api.d.ts CHANGED
@@ -1737,6 +1737,7 @@ declare namespace io.flow.v0.enums {
1737
1737
  type LevyInclusion = 'tax' | 'duty';
1738
1738
  type LevyStrategy = 'minimum' | 'average' | 'maximum';
1739
1739
  type LocationErrorCode = 'address_required' | 'ip_invalid' | 'ip_required' | 'timezone_unavailable';
1740
+ type LogisticsFormatPreference = 'shopify_console' | 'existing_3pl_integration' | 'byo_integration';
1740
1741
  type MarginType = 'fixed' | 'percent';
1741
1742
  type MeasurementSystem = 'imperial' | 'metric';
1742
1743
  type MerchantGiftCardErrorCode = 'invalid' | 'expired' | 'empty' | 'insufficient_funds' | 'unsupported_currency';
@@ -5629,7 +5630,7 @@ declare namespace io.flow.v0.models {
5629
5630
  readonly messages: string[];
5630
5631
  }
5631
5632
  interface LogisticsFormat {
5632
- readonly preference?: string;
5633
+ readonly preference: io.flow.v0.enums.LogisticsFormatPreference;
5633
5634
  readonly description?: string;
5634
5635
  }
5635
5636
  interface LogisticsSettings {
@@ -8989,10 +8990,9 @@ declare namespace io.flow.v0.models {
8989
8990
  readonly status_updated_at?: string;
8990
8991
  readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
8991
8992
  readonly shop?: io.flow.v0.models.Shop;
8992
- readonly annual_xborder_gmv?: io.flow.v0.models.Money;
8993
- readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
8993
+ readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
8994
+ readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
8994
8995
  readonly average_order_value?: io.flow.v0.models.Money;
8995
- readonly total_order?: io.flow.v0.models.TotalOrder;
8996
8996
  }
8997
8997
  interface ShopifyMerchantApplicationForm {
8998
8998
  readonly discriminator: 'shopify_merchant_application_form';
@@ -9022,10 +9022,9 @@ declare namespace io.flow.v0.models {
9022
9022
  readonly rate_card: string;
9023
9023
  readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
9024
9024
  readonly shop?: io.flow.v0.models.Shop;
9025
- readonly annual_xborder_gmv?: io.flow.v0.models.Money;
9026
- readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
9025
+ readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
9026
+ readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
9027
9027
  readonly average_order_value?: io.flow.v0.models.Money;
9028
- readonly total_order?: io.flow.v0.models.TotalOrder;
9029
9028
  }
9030
9029
  interface ShopifyMerchantApplicationPutForm {
9031
9030
  readonly discriminator: 'shopify_merchant_application_put_form';
@@ -9613,10 +9612,6 @@ declare namespace io.flow.v0.models {
9613
9612
  interface TokenValidationForm {
9614
9613
  readonly token: string;
9615
9614
  }
9616
- interface TotalOrder {
9617
- readonly value?: io.flow.v0.models.Money;
9618
- readonly count?: number;
9619
- }
9620
9615
  interface Tracking {
9621
9616
  readonly id: string;
9622
9617
  readonly labels: io.flow.v0.models.TrackingLabel[];
@@ -10831,6 +10826,7 @@ export declare type LocalizedTranslation = io.flow.v0.models.LocalizedTranslatio
10831
10826
  export declare type LocationError = io.flow.v0.models.LocationError;
10832
10827
  export declare type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
10833
10828
  export declare type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
10829
+ export declare type LogisticsFormatPreference = io.flow.v0.enums.LogisticsFormatPreference;
10834
10830
  export declare type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
10835
10831
  export declare type LogoImage = io.flow.v0.unions.LogoImage;
10836
10832
  export declare type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
@@ -11614,7 +11610,6 @@ export declare type TokenReference = io.flow.v0.unions.TokenReference;
11614
11610
  export declare type TokenType = io.flow.v0.enums.TokenType;
11615
11611
  export declare type TokenValidation = io.flow.v0.models.TokenValidation;
11616
11612
  export declare type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
11617
- export declare type TotalOrder = io.flow.v0.models.TotalOrder;
11618
11613
  export declare type Tracking = io.flow.v0.models.Tracking;
11619
11614
  export declare type TrackingEvent = io.flow.v0.models.TrackingEvent;
11620
11615
  export declare type TrackingEventForm = io.flow.v0.models.TrackingEventForm;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.24.37",
3
+ "version": "11.24.38",
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": "d4cc0eaabe7807031ff2e2d6bbf287ac356d69da"
28
+ "gitHead": "8da9deb769d2ef8206130a68406e58109e9e5635"
29
29
  }
@@ -10436,6 +10436,10 @@ declare namespace io.flow.tracking.v0.models {
10436
10436
  }
10437
10437
 
10438
10438
  declare namespace io.flow.merchant.onboarding.v0.enums {
10439
+ type LogisticsFormatPreference =
10440
+ | 'shopify_console'
10441
+ | 'existing_3pl_integration'
10442
+ | 'byo_integration';
10439
10443
  type OnboardingApplicationStatus =
10440
10444
  | 'to_do'
10441
10445
  | 'in_progress'
@@ -10482,7 +10486,7 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10482
10486
  }
10483
10487
 
10484
10488
  interface LogisticsFormat {
10485
- readonly preference?: string;
10489
+ readonly preference: io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference;
10486
10490
  readonly description?: string;
10487
10491
  }
10488
10492
 
@@ -10580,10 +10584,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10580
10584
  readonly status_updated_at?: string;
10581
10585
  readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
10582
10586
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10583
- readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
10584
- readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
10587
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
10588
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
10585
10589
  readonly average_order_value?: io.flow.common.v0.models.Money;
10586
- readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
10587
10590
  }
10588
10591
 
10589
10592
  interface ShopifyMerchantApplicationForm {
@@ -10614,10 +10617,9 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10614
10617
  readonly rate_card: string;
10615
10618
  readonly logistics_format?: io.flow.merchant.onboarding.v0.models.LogisticsFormat;
10616
10619
  readonly shop?: io.flow.merchant.onboarding.v0.models.Shop;
10617
- readonly annual_xborder_gmv?: io.flow.common.v0.models.Money;
10618
- readonly monthly_xborder_gmv?: io.flow.common.v0.models.Money;
10620
+ readonly last_year_xborder_gmv?: io.flow.common.v0.models.Money;
10621
+ readonly last_month_xborder_gmv?: io.flow.common.v0.models.Money;
10619
10622
  readonly average_order_value?: io.flow.common.v0.models.Money;
10620
- readonly total_order?: io.flow.merchant.onboarding.v0.models.TotalOrder;
10621
10623
  }
10622
10624
 
10623
10625
  interface ShopifyMerchantApplicationPutForm {
@@ -10639,11 +10641,6 @@ declare namespace io.flow.merchant.onboarding.v0.models {
10639
10641
  readonly center_id?: string;
10640
10642
  }
10641
10643
 
10642
- interface TotalOrder {
10643
- readonly value?: io.flow.common.v0.models.Money;
10644
- readonly count?: number;
10645
- }
10646
-
10647
10644
  interface UltimateBeneficiaryOwner {
10648
10645
  readonly name: string;
10649
10646
  readonly dob: string;
@@ -11451,6 +11448,7 @@ declare namespace io.flow.billing.v0.models {
11451
11448
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11452
11449
  readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
11453
11450
  readonly net: number;
11451
+ readonly identifiers: Record<string, string>;
11454
11452
  readonly created_at: string;
11455
11453
  }
11456
11454
 
@@ -11503,6 +11501,7 @@ declare namespace io.flow.billing.v0.models {
11503
11501
  readonly withholdings: io.flow.billing.v0.models.WithholdingDeduction[];
11504
11502
  readonly discounts: io.flow.billing.v0.models.BillingDiscount[];
11505
11503
  readonly net: number;
11504
+ readonly identifiers: Record<string, string>;
11506
11505
  readonly created_at: string;
11507
11506
  }
11508
11507
 
@@ -22526,6 +22525,10 @@ declare namespace io.flow.internal.v0.models {
22526
22525
  readonly organization_restriction_approval: io.flow.internal.v0.models.OrganizationRestrictionApproval;
22527
22526
  }
22528
22527
 
22528
+ interface OrganizationRestrictionNoteForm {
22529
+ readonly note: string;
22530
+ }
22531
+
22529
22532
  interface OrganizationRestrictionScreeningDecisionForm {
22530
22533
  readonly organization_id: string;
22531
22534
  readonly screening_status: io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus;
@@ -24134,7 +24137,7 @@ declare namespace io.flow.internal.v0.models {
24134
24137
  }
24135
24138
 
24136
24139
  interface ShopifyMarketsSync {
24137
- readonly placeholder?: any /*json*/;
24140
+ readonly force_resync?: boolean;
24138
24141
  }
24139
24142
 
24140
24143
  interface ShopifyMarketsWebhookRegistration {
@@ -28909,6 +28912,8 @@ export type OrganizationRestrictionApprovalStatus =
28909
28912
  io.flow.internal.v0.enums.OrganizationRestrictionApprovalStatus;
28910
28913
  export type OrganizationRestrictionApprovalUpserted =
28911
28914
  io.flow.internal.v0.models.OrganizationRestrictionApprovalUpserted;
28915
+ export type OrganizationRestrictionNoteForm =
28916
+ io.flow.internal.v0.models.OrganizationRestrictionNoteForm;
28912
28917
  export type OrganizationRestrictionNoteType =
28913
28918
  io.flow.internal.v0.enums.OrganizationRestrictionNoteType;
28914
28919
  export type OrganizationRestrictionRiskLevel =
package/src/api.ts CHANGED
@@ -2571,6 +2571,10 @@ declare namespace io.flow.v0.enums {
2571
2571
  | 'ip_invalid'
2572
2572
  | 'ip_required'
2573
2573
  | 'timezone_unavailable';
2574
+ type LogisticsFormatPreference =
2575
+ | 'shopify_console'
2576
+ | 'existing_3pl_integration'
2577
+ | 'byo_integration';
2574
2578
  type MarginType = 'fixed' | 'percent';
2575
2579
  type MeasurementSystem = 'imperial' | 'metric';
2576
2580
  type MerchantGiftCardErrorCode =
@@ -7436,7 +7440,7 @@ declare namespace io.flow.v0.models {
7436
7440
  }
7437
7441
 
7438
7442
  interface LogisticsFormat {
7439
- readonly preference?: string;
7443
+ readonly preference: io.flow.v0.enums.LogisticsFormatPreference;
7440
7444
  readonly description?: string;
7441
7445
  }
7442
7446
 
@@ -11349,10 +11353,9 @@ declare namespace io.flow.v0.models {
11349
11353
  readonly status_updated_at?: string;
11350
11354
  readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11351
11355
  readonly shop?: io.flow.v0.models.Shop;
11352
- readonly annual_xborder_gmv?: io.flow.v0.models.Money;
11353
- readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
11356
+ readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11357
+ readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11354
11358
  readonly average_order_value?: io.flow.v0.models.Money;
11355
- readonly total_order?: io.flow.v0.models.TotalOrder;
11356
11359
  }
11357
11360
 
11358
11361
  interface ShopifyMerchantApplicationForm {
@@ -11383,10 +11386,9 @@ declare namespace io.flow.v0.models {
11383
11386
  readonly rate_card: string;
11384
11387
  readonly logistics_format?: io.flow.v0.models.LogisticsFormat;
11385
11388
  readonly shop?: io.flow.v0.models.Shop;
11386
- readonly annual_xborder_gmv?: io.flow.v0.models.Money;
11387
- readonly monthly_xborder_gmv?: io.flow.v0.models.Money;
11389
+ readonly last_year_xborder_gmv?: io.flow.v0.models.Money;
11390
+ readonly last_month_xborder_gmv?: io.flow.v0.models.Money;
11388
11391
  readonly average_order_value?: io.flow.v0.models.Money;
11389
- readonly total_order?: io.flow.v0.models.TotalOrder;
11390
11392
  }
11391
11393
 
11392
11394
  interface ShopifyMerchantApplicationPutForm {
@@ -12071,11 +12073,6 @@ declare namespace io.flow.v0.models {
12071
12073
  readonly token: string;
12072
12074
  }
12073
12075
 
12074
- interface TotalOrder {
12075
- readonly value?: io.flow.v0.models.Money;
12076
- readonly count?: number;
12077
- }
12078
-
12079
12076
  interface Tracking {
12080
12077
  readonly id: string;
12081
12078
  readonly labels: io.flow.v0.models.TrackingLabel[];
@@ -13979,6 +13976,8 @@ export type LocalizedTranslation = io.flow.v0.models.LocalizedTranslation;
13979
13976
  export type LocationError = io.flow.v0.models.LocationError;
13980
13977
  export type LocationErrorCode = io.flow.v0.enums.LocationErrorCode;
13981
13978
  export type LogisticsFormat = io.flow.v0.models.LogisticsFormat;
13979
+ export type LogisticsFormatPreference =
13980
+ io.flow.v0.enums.LogisticsFormatPreference;
13982
13981
  export type LogisticsSettings = io.flow.v0.models.LogisticsSettings;
13983
13982
  export type LogoImage = io.flow.v0.unions.LogoImage;
13984
13983
  export type LogoImageSetStatic = io.flow.v0.models.LogoImageSetStatic;
@@ -14982,7 +14981,6 @@ export type TokenReference = io.flow.v0.unions.TokenReference;
14982
14981
  export type TokenType = io.flow.v0.enums.TokenType;
14983
14982
  export type TokenValidation = io.flow.v0.models.TokenValidation;
14984
14983
  export type TokenValidationForm = io.flow.v0.models.TokenValidationForm;
14985
- export type TotalOrder = io.flow.v0.models.TotalOrder;
14986
14984
  export type Tracking = io.flow.v0.models.Tracking;
14987
14985
  export type TrackingEvent = io.flow.v0.models.TrackingEvent;
14988
14986
  export type TrackingEventForm = io.flow.v0.models.TrackingEventForm;