@flowio/types 10.5.1 → 10.6.0

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/src/api.ts CHANGED
@@ -1476,6 +1476,7 @@ declare namespace io.flow.v0.enums {
1476
1476
  type OrderStatus = 'open' | 'submitted';
1477
1477
  type OrderStorage = 'do_not_persist' | 'persist';
1478
1478
  type OrganizationPaymentMethodTag = 'deny';
1479
+ type OrganizationStatus = 'active' | 'inactive' | 'deactivated';
1479
1480
  type PaymentErrorCode =
1480
1481
  | 'duplicate'
1481
1482
  | 'invalid_amount'
@@ -2257,6 +2258,12 @@ declare namespace io.flow.v0.models {
2257
2258
  readonly accept?: string;
2258
2259
  }
2259
2260
 
2261
+ interface BrowserInlineActionConfiguration {
2262
+ readonly discriminator: 'browser_inline_action_configuration';
2263
+ readonly inline_notification_urls: io.flow.v0.models.PostPaymentRedirectUrls;
2264
+ readonly action_configuration?: io.flow.v0.unions.BrowserActionConfiguration;
2265
+ }
2266
+
2260
2267
  interface Capture {
2261
2268
  readonly id: string;
2262
2269
  readonly key: string;
@@ -2389,6 +2396,11 @@ declare namespace io.flow.v0.models {
2389
2396
  readonly authorization: io.flow.v0.models.CardAuthorization;
2390
2397
  }
2391
2398
 
2399
+ interface CardBrowserActionConfiguration {
2400
+ readonly discriminator: 'card_browser_action_configuration';
2401
+ readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
2402
+ }
2403
+
2392
2404
  interface CardDeleted {
2393
2405
  readonly discriminator: 'card_deleted';
2394
2406
  readonly event_id: string;
@@ -2450,7 +2462,7 @@ declare namespace io.flow.v0.models {
2450
2462
  readonly amount: number;
2451
2463
  readonly currency: string;
2452
2464
  readonly browser_info?: io.flow.v0.models.BrowserInfo;
2453
- readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
2465
+ readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
2454
2466
  }
2455
2467
 
2456
2468
  interface CardPaymentSourceForm {
@@ -3535,7 +3547,7 @@ declare namespace io.flow.v0.models {
3535
3547
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
3536
3548
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
3537
3549
  readonly browser_info?: io.flow.v0.models.BrowserInfo;
3538
- readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
3550
+ readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
3539
3551
  }
3540
3552
 
3541
3553
  interface DirectDebit {
@@ -4838,6 +4850,8 @@ declare namespace io.flow.v0.models {
4838
4850
  readonly dimensions: io.flow.v0.models.Dimensions;
4839
4851
  readonly images: io.flow.v0.models.Image[];
4840
4852
  readonly local?: io.flow.v0.models.Local;
4853
+ readonly created_at?: string;
4854
+ readonly updated_at?: string;
4841
4855
  }
4842
4856
 
4843
4857
  interface ItemAttributesPatchForm {
@@ -5192,6 +5206,13 @@ declare namespace io.flow.v0.models {
5192
5206
  readonly status: io.flow.v0.enums.SubcatalogItemStatus;
5193
5207
  }
5194
5208
 
5209
+ interface LocalItemAttributePricing {
5210
+ readonly pretax_price: io.flow.v0.models.PriceWithBase;
5211
+ readonly vat?: io.flow.v0.models.LocalizedItemVat;
5212
+ readonly duty?: io.flow.v0.models.LocalizedItemDuty;
5213
+ readonly price: io.flow.v0.models.LocalizedItemPrice;
5214
+ }
5215
+
5195
5216
  interface LocalItemDeleted {
5196
5217
  readonly discriminator: 'local_item_deleted';
5197
5218
  readonly event_id: string;
@@ -5205,6 +5226,10 @@ declare namespace io.flow.v0.models {
5205
5226
  readonly vat?: io.flow.v0.models.LocalizedItemVat;
5206
5227
  readonly duty?: io.flow.v0.models.LocalizedItemDuty;
5207
5228
  readonly attributes: Record<string, io.flow.v0.models.PriceWithBase>;
5229
+ readonly price_attributes?: Record<
5230
+ string,
5231
+ io.flow.v0.models.LocalItemAttributePricing
5232
+ >;
5208
5233
  }
5209
5234
 
5210
5235
  interface LocalItemUpserted {
@@ -5472,7 +5497,7 @@ declare namespace io.flow.v0.models {
5472
5497
  readonly options?: io.flow.v0.enums.AuthorizationOption[];
5473
5498
  readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
5474
5499
  readonly browser_info?: io.flow.v0.models.BrowserInfo;
5475
- readonly action_configuration?: io.flow.v0.unions.ActionConfiguration;
5500
+ readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
5476
5501
  }
5477
5502
 
5478
5503
  interface MerchantOfRecordEntity {
@@ -6162,6 +6187,7 @@ declare namespace io.flow.v0.models {
6162
6187
  readonly parent?: io.flow.v0.models.OrganizationReference;
6163
6188
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6164
6189
  readonly created_at?: string;
6190
+ readonly status?: io.flow.v0.enums.OrganizationStatus;
6165
6191
  }
6166
6192
 
6167
6193
  interface OrganizationAuthorization {
@@ -6251,6 +6277,7 @@ declare namespace io.flow.v0.models {
6251
6277
  readonly environment: io.flow.v0.enums.Environment;
6252
6278
  readonly parent_id?: string;
6253
6279
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6280
+ readonly status?: io.flow.v0.enums.OrganizationStatus;
6254
6281
  }
6255
6282
 
6256
6283
  interface OrganizationPutForm {
@@ -6258,6 +6285,7 @@ declare namespace io.flow.v0.models {
6258
6285
  readonly environment?: io.flow.v0.enums.Environment;
6259
6286
  readonly parent_id?: string;
6260
6287
  readonly defaults?: io.flow.v0.models.OrganizationDefaults;
6288
+ readonly status?: io.flow.v0.enums.OrganizationStatus;
6261
6289
  }
6262
6290
 
6263
6291
  interface OrganizationRatesData {
@@ -8604,11 +8632,6 @@ declare namespace io.flow.v0.models {
8604
8632
  readonly expires_at: string;
8605
8633
  }
8606
8634
 
8607
- interface ThreedsTwoBrowserActionConfiguration {
8608
- readonly discriminator: 'threeds_two_browser_action_configuration';
8609
- readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
8610
- }
8611
-
8612
8635
  interface ThreedsTwoChallengeRequest {
8613
8636
  readonly discriminator: 'threeds_two_challenge_request';
8614
8637
  readonly acs_url: string;
@@ -9095,7 +9118,6 @@ declare namespace io.flow.v0.models {
9095
9118
  }
9096
9119
 
9097
9120
  declare namespace io.flow.v0.unions {
9098
- type ActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
9099
9121
  type AdyenNativeData =
9100
9122
  | io.flow.v0.models.AdyenIdentifyShopperData
9101
9123
  | io.flow.v0.models.AdyenChallengeShopperData;
@@ -9134,6 +9156,7 @@ declare namespace io.flow.v0.unions {
9134
9156
  type AvailableFilter =
9135
9157
  | io.flow.v0.models.AvailableFilterStructured
9136
9158
  | io.flow.v0.models.AvailableFilterUnstructured;
9159
+ type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
9137
9160
  type CheckoutTokenForm =
9138
9161
  | io.flow.v0.models.CheckoutTokenOrderForm
9139
9162
  | io.flow.v0.models.CheckoutTokenReferenceForm;
@@ -9369,6 +9392,7 @@ declare namespace io.flow.v0.unions {
9369
9392
  | io.flow.v0.models.FieldValidationPattern;
9370
9393
  type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
9371
9394
  type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
9395
+ type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
9372
9396
  type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
9373
9397
  type InventoryStrategy =
9374
9398
  | io.flow.v0.models.InventoryBackorder
@@ -9493,7 +9517,6 @@ export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
9493
9517
  export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
9494
9518
  export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
9495
9519
  export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
9496
- export type ActionConfiguration = io.flow.v0.unions.ActionConfiguration;
9497
9520
  export type Address = io.flow.v0.models.Address;
9498
9521
  export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
9499
9522
  export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
@@ -9589,7 +9612,9 @@ export type BillingAddress = io.flow.v0.models.BillingAddress;
9589
9612
  export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
9590
9613
  export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
9591
9614
  export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
9615
+ export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
9592
9616
  export type BrowserInfo = io.flow.v0.models.BrowserInfo;
9617
+ export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
9593
9618
  export type Calendar = io.flow.v0.enums.Calendar;
9594
9619
  export type CancelReason = io.flow.v0.enums.CancelReason;
9595
9620
  export type Capability = io.flow.v0.enums.Capability;
@@ -9609,6 +9634,7 @@ export type Card = io.flow.v0.models.Card;
9609
9634
  export type CardAuthorization = io.flow.v0.models.CardAuthorization;
9610
9635
  export type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2;
9611
9636
  export type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2;
9637
+ export type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
9612
9638
  export type CardDeleted = io.flow.v0.models.CardDeleted;
9613
9639
  export type CardDeletedV2 = io.flow.v0.models.CardDeletedV2;
9614
9640
  export type CardError = io.flow.v0.models.CardError;
@@ -10008,6 +10034,7 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
10008
10034
  export type IncludedLevies = io.flow.v0.models.IncludedLevies;
10009
10035
  export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
10010
10036
  export type Incoterm = io.flow.v0.enums.Incoterm;
10037
+ export type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
10011
10038
  export type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
10012
10039
  export type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
10013
10040
  export type InputForm = io.flow.v0.models.InputForm;
@@ -10097,6 +10124,7 @@ export type LineItemQuantityForm = io.flow.v0.models.LineItemQuantityForm;
10097
10124
  export type Link = io.flow.v0.models.Link;
10098
10125
  export type Local = io.flow.v0.models.Local;
10099
10126
  export type LocalItem = io.flow.v0.models.LocalItem;
10127
+ export type LocalItemAttributePricing = io.flow.v0.models.LocalItemAttributePricing;
10100
10128
  export type LocalItemDeleted = io.flow.v0.models.LocalItemDeleted;
10101
10129
  export type LocalItemPricing = io.flow.v0.models.LocalItemPricing;
10102
10130
  export type LocalItemUpserted = io.flow.v0.models.LocalItemUpserted;
@@ -10265,6 +10293,7 @@ export type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSes
10265
10293
  export type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
10266
10294
  export type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
10267
10295
  export type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
10296
+ export type OrganizationStatus = io.flow.v0.enums.OrganizationStatus;
10268
10297
  export type OrganizationSummary = io.flow.v0.models.OrganizationSummary;
10269
10298
  export type OrganizationToken = io.flow.v0.models.OrganizationToken;
10270
10299
  export type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm;
@@ -10653,7 +10682,6 @@ export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
10653
10682
  export type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails;
10654
10683
  export type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction;
10655
10684
  export type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails;
10656
- export type ThreedsTwoBrowserActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
10657
10685
  export type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest;
10658
10686
  export type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport;
10659
10687
  export type ThreedsTwoMethod = io.flow.v0.models.ThreedsTwoMethod;