@flowio/types 10.5.1 → 10.5.2
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 +389 -35
- package/dist/api.d.ts +25 -10
- package/package.json +2 -2
- package/src/api-internal.ts +472 -38
- package/src/api.ts +27 -11
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
|
|
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
|
|
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 {
|
|
@@ -5472,7 +5486,7 @@ declare namespace io.flow.v0.models {
|
|
|
5472
5486
|
readonly options?: io.flow.v0.enums.AuthorizationOption[];
|
|
5473
5487
|
readonly redirect_urls?: io.flow.v0.models.PostPaymentRedirectUrls;
|
|
5474
5488
|
readonly browser_info?: io.flow.v0.models.BrowserInfo;
|
|
5475
|
-
readonly
|
|
5489
|
+
readonly inline_action_configuration?: io.flow.v0.unions.InlineActionConfiguration;
|
|
5476
5490
|
}
|
|
5477
5491
|
|
|
5478
5492
|
interface MerchantOfRecordEntity {
|
|
@@ -6162,6 +6176,7 @@ declare namespace io.flow.v0.models {
|
|
|
6162
6176
|
readonly parent?: io.flow.v0.models.OrganizationReference;
|
|
6163
6177
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
6164
6178
|
readonly created_at?: string;
|
|
6179
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
6165
6180
|
}
|
|
6166
6181
|
|
|
6167
6182
|
interface OrganizationAuthorization {
|
|
@@ -6251,6 +6266,7 @@ declare namespace io.flow.v0.models {
|
|
|
6251
6266
|
readonly environment: io.flow.v0.enums.Environment;
|
|
6252
6267
|
readonly parent_id?: string;
|
|
6253
6268
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
6269
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
6254
6270
|
}
|
|
6255
6271
|
|
|
6256
6272
|
interface OrganizationPutForm {
|
|
@@ -6258,6 +6274,7 @@ declare namespace io.flow.v0.models {
|
|
|
6258
6274
|
readonly environment?: io.flow.v0.enums.Environment;
|
|
6259
6275
|
readonly parent_id?: string;
|
|
6260
6276
|
readonly defaults?: io.flow.v0.models.OrganizationDefaults;
|
|
6277
|
+
readonly status?: io.flow.v0.enums.OrganizationStatus;
|
|
6261
6278
|
}
|
|
6262
6279
|
|
|
6263
6280
|
interface OrganizationRatesData {
|
|
@@ -8604,11 +8621,6 @@ declare namespace io.flow.v0.models {
|
|
|
8604
8621
|
readonly expires_at: string;
|
|
8605
8622
|
}
|
|
8606
8623
|
|
|
8607
|
-
interface ThreedsTwoBrowserActionConfiguration {
|
|
8608
|
-
readonly discriminator: 'threeds_two_browser_action_configuration';
|
|
8609
|
-
readonly viewport: io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
8610
|
-
}
|
|
8611
|
-
|
|
8612
8624
|
interface ThreedsTwoChallengeRequest {
|
|
8613
8625
|
readonly discriminator: 'threeds_two_challenge_request';
|
|
8614
8626
|
readonly acs_url: string;
|
|
@@ -9095,7 +9107,6 @@ declare namespace io.flow.v0.models {
|
|
|
9095
9107
|
}
|
|
9096
9108
|
|
|
9097
9109
|
declare namespace io.flow.v0.unions {
|
|
9098
|
-
type ActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
9099
9110
|
type AdyenNativeData =
|
|
9100
9111
|
| io.flow.v0.models.AdyenIdentifyShopperData
|
|
9101
9112
|
| io.flow.v0.models.AdyenChallengeShopperData;
|
|
@@ -9134,6 +9145,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9134
9145
|
type AvailableFilter =
|
|
9135
9146
|
| io.flow.v0.models.AvailableFilterStructured
|
|
9136
9147
|
| io.flow.v0.models.AvailableFilterUnstructured;
|
|
9148
|
+
type BrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
9137
9149
|
type CheckoutTokenForm =
|
|
9138
9150
|
| io.flow.v0.models.CheckoutTokenOrderForm
|
|
9139
9151
|
| io.flow.v0.models.CheckoutTokenReferenceForm;
|
|
@@ -9369,6 +9381,7 @@ declare namespace io.flow.v0.unions {
|
|
|
9369
9381
|
| io.flow.v0.models.FieldValidationPattern;
|
|
9370
9382
|
type GatewayAuthenticationData = io.flow.v0.models.StripeAuthenticationData;
|
|
9371
9383
|
type GatewayAuthenticationDataForm = io.flow.v0.models.StripeAuthenticationDataForm;
|
|
9384
|
+
type InlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
9372
9385
|
type InputSpecificationLimitation = io.flow.v0.models.InputSpecificationLimitationMax;
|
|
9373
9386
|
type InventoryStrategy =
|
|
9374
9387
|
| io.flow.v0.models.InventoryBackorder
|
|
@@ -9493,7 +9506,6 @@ export type AbandonedOrderSettings = io.flow.v0.models.AbandonedOrderSettings;
|
|
|
9493
9506
|
export type AccountOrdersExportType = io.flow.v0.models.AccountOrdersExportType;
|
|
9494
9507
|
export type AccountTransactionsExportType = io.flow.v0.models.AccountTransactionsExportType;
|
|
9495
9508
|
export type AchAuthorizationForm = io.flow.v0.models.AchAuthorizationForm;
|
|
9496
|
-
export type ActionConfiguration = io.flow.v0.unions.ActionConfiguration;
|
|
9497
9509
|
export type Address = io.flow.v0.models.Address;
|
|
9498
9510
|
export type AddressConfiguration = io.flow.v0.models.AddressConfiguration;
|
|
9499
9511
|
export type AddressConfigurationFieldPlacement = io.flow.v0.models.AddressConfigurationFieldPlacement;
|
|
@@ -9589,7 +9601,9 @@ export type BillingAddress = io.flow.v0.models.BillingAddress;
|
|
|
9589
9601
|
export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
|
|
9590
9602
|
export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
|
|
9591
9603
|
export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
|
|
9604
|
+
export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
|
|
9592
9605
|
export type BrowserInfo = io.flow.v0.models.BrowserInfo;
|
|
9606
|
+
export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
|
|
9593
9607
|
export type Calendar = io.flow.v0.enums.Calendar;
|
|
9594
9608
|
export type CancelReason = io.flow.v0.enums.CancelReason;
|
|
9595
9609
|
export type Capability = io.flow.v0.enums.Capability;
|
|
@@ -9609,6 +9623,7 @@ export type Card = io.flow.v0.models.Card;
|
|
|
9609
9623
|
export type CardAuthorization = io.flow.v0.models.CardAuthorization;
|
|
9610
9624
|
export type CardAuthorizationDeletedV2 = io.flow.v0.models.CardAuthorizationDeletedV2;
|
|
9611
9625
|
export type CardAuthorizationUpsertedV2 = io.flow.v0.models.CardAuthorizationUpsertedV2;
|
|
9626
|
+
export type CardBrowserActionConfiguration = io.flow.v0.models.CardBrowserActionConfiguration;
|
|
9612
9627
|
export type CardDeleted = io.flow.v0.models.CardDeleted;
|
|
9613
9628
|
export type CardDeletedV2 = io.flow.v0.models.CardDeletedV2;
|
|
9614
9629
|
export type CardError = io.flow.v0.models.CardError;
|
|
@@ -10008,6 +10023,7 @@ export type InboundCartonFee = io.flow.v0.models.InboundCartonFee;
|
|
|
10008
10023
|
export type IncludedLevies = io.flow.v0.models.IncludedLevies;
|
|
10009
10024
|
export type IncludedLevyKey = io.flow.v0.enums.IncludedLevyKey;
|
|
10010
10025
|
export type Incoterm = io.flow.v0.enums.Incoterm;
|
|
10026
|
+
export type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
|
|
10011
10027
|
export type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
|
|
10012
10028
|
export type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
|
|
10013
10029
|
export type InputForm = io.flow.v0.models.InputForm;
|
|
@@ -10265,6 +10281,7 @@ export type OrganizationSessionAuthorization = io.flow.v0.models.OrganizationSes
|
|
|
10265
10281
|
export type OrganizationShortId = io.flow.v0.models.OrganizationShortId;
|
|
10266
10282
|
export type OrganizationShortIdDeleted = io.flow.v0.models.OrganizationShortIdDeleted;
|
|
10267
10283
|
export type OrganizationShortIdUpserted = io.flow.v0.models.OrganizationShortIdUpserted;
|
|
10284
|
+
export type OrganizationStatus = io.flow.v0.enums.OrganizationStatus;
|
|
10268
10285
|
export type OrganizationSummary = io.flow.v0.models.OrganizationSummary;
|
|
10269
10286
|
export type OrganizationToken = io.flow.v0.models.OrganizationToken;
|
|
10270
10287
|
export type OrganizationTokenForm = io.flow.v0.models.OrganizationTokenForm;
|
|
@@ -10653,7 +10670,6 @@ export type ThreedsChallengeAction = io.flow.v0.unions.ThreedsChallengeAction;
|
|
|
10653
10670
|
export type ThreedsChallengeActionDetails = io.flow.v0.models.ThreedsChallengeActionDetails;
|
|
10654
10671
|
export type ThreedsIdentifyAction = io.flow.v0.unions.ThreedsIdentifyAction;
|
|
10655
10672
|
export type ThreedsIdentifyActionDetails = io.flow.v0.models.ThreedsIdentifyActionDetails;
|
|
10656
|
-
export type ThreedsTwoBrowserActionConfiguration = io.flow.v0.models.ThreedsTwoBrowserActionConfiguration;
|
|
10657
10673
|
export type ThreedsTwoChallengeRequest = io.flow.v0.models.ThreedsTwoChallengeRequest;
|
|
10658
10674
|
export type ThreedsTwoChallengeViewport = io.flow.v0.enums.ThreedsTwoChallengeViewport;
|
|
10659
10675
|
export type ThreedsTwoMethod = io.flow.v0.models.ThreedsTwoMethod;
|