@flowio/types 11.19.11 → 11.19.13

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
@@ -662,7 +662,7 @@ declare namespace io.flow.stripe.v0.models {
662
662
  readonly payment_method_options?: io.flow.stripe.v0.models.PaymentMethodOptions;
663
663
  readonly payment_method_types?: string[];
664
664
  readonly receipt_email?: string;
665
- readonly save_payment_method: boolean;
665
+ readonly save_payment_method?: boolean;
666
666
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
667
667
  }
668
668
 
@@ -683,7 +683,7 @@ declare namespace io.flow.stripe.v0.models {
683
683
  readonly payment_method_types?: string[];
684
684
  readonly receipt_email?: string;
685
685
  readonly return_url?: string;
686
- readonly save_payment_method: boolean;
686
+ readonly save_payment_method?: boolean;
687
687
  readonly setup_future_usage?: io.flow.stripe.v0.enums.SetupFutureUsage;
688
688
  readonly statement_descriptor?: string;
689
689
  readonly statement_descriptor_suffix?: string;
@@ -700,7 +700,7 @@ declare namespace io.flow.stripe.v0.models {
700
700
  readonly payment_method?: string;
701
701
  readonly payment_method_types?: string[];
702
702
  readonly receipt_email?: string;
703
- readonly save_payment_method: boolean;
703
+ readonly save_payment_method?: boolean;
704
704
  readonly statement_descriptor?: string;
705
705
  readonly statement_descriptor_suffix?: string;
706
706
  readonly transfer_data?: io.flow.stripe.v0.models.TransferData;
@@ -2378,6 +2378,8 @@ declare namespace io.flow.v0.enums {
2378
2378
  | 'label_upserted_v2'
2379
2379
  | 'notification_upserted'
2380
2380
  | 'notification_deleted'
2381
+ | 'notification_upserted_v2'
2382
+ | 'notification_deleted_v2'
2381
2383
  | 'manifested_label_upserted'
2382
2384
  | 'manifested_label_deleted'
2383
2385
  | 'local_item_upserted'
@@ -2503,6 +2505,13 @@ declare namespace io.flow.v0.enums {
2503
2505
  | 'DES'
2504
2506
  | 'DEQ'
2505
2507
  | 'DDU';
2508
+ type InlineWindowViewportSize =
2509
+ | 'xxx_small'
2510
+ | 'xx_small'
2511
+ | 'x_small'
2512
+ | 'small'
2513
+ | 'fullscreen'
2514
+ | 'responsive';
2506
2515
  type InputSpecificationType = 'text' | 'number';
2507
2516
  type InventoryStatus = 'has_inventory' | 'no_inventory';
2508
2517
  type InvitationErrorCode = 'expired' | 'invalid_email';
@@ -2908,6 +2917,7 @@ declare namespace io.flow.v0.models {
2908
2917
  readonly method: string;
2909
2918
  readonly url: string;
2910
2919
  readonly data?: any /*object*/;
2920
+ readonly window_size?: io.flow.v0.enums.InlineWindowViewportSize;
2911
2921
  }
2912
2922
 
2913
2923
  interface ActionExecuteScript {
@@ -3582,19 +3592,6 @@ declare namespace io.flow.v0.models {
3582
3592
  readonly browse_optin_responses: io.flow.v0.models.BrowseOptinResponses;
3583
3593
  }
3584
3594
 
3585
- interface BrowserDetails {
3586
- readonly type: 'browser';
3587
- readonly origin: string;
3588
- readonly language: string;
3589
- readonly java_enabled: boolean;
3590
- readonly color_depth: number;
3591
- readonly screen_height: number;
3592
- readonly screen_width: number;
3593
- readonly time_zone_offset: number;
3594
- readonly user_agent?: string;
3595
- readonly accept?: string;
3596
- }
3597
-
3598
3595
  interface BrowserInfo {
3599
3596
  readonly origin?: string;
3600
3597
  readonly language?: string;
@@ -4943,6 +4940,24 @@ declare namespace io.flow.v0.models {
4943
4940
  readonly company_name_match_result_reason?: string;
4944
4941
  }
4945
4942
 
4943
+ interface DeviceDetailsBrowser {
4944
+ readonly type: 'browser';
4945
+ readonly user_agent: string;
4946
+ readonly origin: string;
4947
+ readonly accept_language: string;
4948
+ readonly ip?: string;
4949
+ }
4950
+
4951
+ interface DeviceFingerprintDetailsBrowser {
4952
+ readonly type: 'browser';
4953
+ readonly accept?: string;
4954
+ readonly java_enabled: boolean;
4955
+ readonly color_depth: number;
4956
+ readonly screen_height: number;
4957
+ readonly screen_width: number;
4958
+ readonly time_zone_offset: number;
4959
+ }
4960
+
4946
4961
  interface DigitalDelivery {
4947
4962
  readonly discriminator: 'digital_delivery';
4948
4963
  readonly id: string;
@@ -5665,6 +5680,7 @@ declare namespace io.flow.v0.models {
5665
5680
  readonly id: string;
5666
5681
  readonly organization: string;
5667
5682
  readonly order: io.flow.v0.models.OrderReference;
5683
+ readonly fraud_order_reference?: io.flow.v0.unions.FraudOrderReference;
5668
5684
  readonly status: io.flow.v0.enums.FraudStatus;
5669
5685
  }
5670
5686
 
@@ -7062,6 +7078,14 @@ declare namespace io.flow.v0.models {
7062
7078
  readonly package: io.flow.v0.models.ShippingLabelPackage;
7063
7079
  }
7064
7080
 
7081
+ interface NotificationDeletedV2 {
7082
+ readonly discriminator: 'notification_deleted_v2';
7083
+ readonly event_id: string;
7084
+ readonly timestamp: string;
7085
+ readonly organization: string;
7086
+ readonly notification: io.flow.v0.models.ShippingNotification;
7087
+ }
7088
+
7065
7089
  interface NotificationUpserted {
7066
7090
  readonly discriminator: 'notification_upserted';
7067
7091
  readonly event_id: string;
@@ -7080,6 +7104,14 @@ declare namespace io.flow.v0.models {
7080
7104
  readonly package: io.flow.v0.models.ShippingLabelPackage;
7081
7105
  }
7082
7106
 
7107
+ interface NotificationUpsertedV2 {
7108
+ readonly discriminator: 'notification_upserted_v2';
7109
+ readonly event_id: string;
7110
+ readonly timestamp: string;
7111
+ readonly organization: string;
7112
+ readonly notification: io.flow.v0.models.ShippingNotification;
7113
+ }
7114
+
7083
7115
  interface NumberRange {
7084
7116
  readonly min: number;
7085
7117
  readonly max: number;
@@ -8181,7 +8213,7 @@ declare namespace io.flow.v0.models {
8181
8213
  interface PaymentMethodDataAuthorizeCard {
8182
8214
  readonly type: 'authorize_card';
8183
8215
  readonly card_data: io.flow.v0.unions.PaymentMethodCard;
8184
- readonly device_details: io.flow.v0.unions.DeviceDetails;
8216
+ readonly device_fingerprint_details: io.flow.v0.unions.DeviceFingerprintDetails;
8185
8217
  readonly cvv?: string;
8186
8218
  }
8187
8219
 
@@ -8399,13 +8431,15 @@ declare namespace io.flow.v0.models {
8399
8431
  interface PaymentRequest {
8400
8432
  readonly id: string;
8401
8433
  readonly status: io.flow.v0.enums.PaymentStatus;
8434
+ readonly created_at: string;
8435
+ readonly updated_at: string;
8402
8436
  readonly available_payment_methods: io.flow.v0.models.PaymentPaymentMethod[];
8403
8437
  readonly last_payment_failure?: io.flow.v0.models.PaymentFailure;
8404
8438
  readonly next_action?: io.flow.v0.unions.Action;
8405
8439
  readonly amount: number;
8406
8440
  readonly currency: string;
8407
8441
  readonly order_information: io.flow.v0.unions.OrderInformation;
8408
- readonly ip?: string;
8442
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
8409
8443
  readonly locale?: string;
8410
8444
  readonly return_url: string;
8411
8445
  readonly attributes?: Record<string, string>;
@@ -8418,7 +8452,7 @@ declare namespace io.flow.v0.models {
8418
8452
  readonly amount: number;
8419
8453
  readonly currency: string;
8420
8454
  readonly order_information: io.flow.v0.unions.OrderInformation;
8421
- readonly ip?: string;
8455
+ readonly device_details: io.flow.v0.unions.DeviceDetails;
8422
8456
  readonly locale?: string;
8423
8457
  readonly return_url: string;
8424
8458
  readonly attributes?: Record<string, string>;
@@ -11251,7 +11285,8 @@ declare namespace io.flow.v0.unions {
11251
11285
  type Deminimis =
11252
11286
  | io.flow.v0.models.DeminimisSimple
11253
11287
  | io.flow.v0.models.DeminimisPerItem;
11254
- type DeviceDetails = io.flow.v0.models.BrowserDetails;
11288
+ type DeviceDetails = io.flow.v0.models.DeviceDetailsBrowser;
11289
+ type DeviceFingerprintDetails = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
11255
11290
  type DiscountOffer =
11256
11291
  | io.flow.v0.models.DiscountOfferFixed
11257
11292
  | io.flow.v0.models.DiscountOfferPercent;
@@ -11368,6 +11403,8 @@ declare namespace io.flow.v0.unions {
11368
11403
  | io.flow.v0.models.LabelUpsertedV2
11369
11404
  | io.flow.v0.models.NotificationUpserted
11370
11405
  | io.flow.v0.models.NotificationDeleted
11406
+ | io.flow.v0.models.NotificationUpsertedV2
11407
+ | io.flow.v0.models.NotificationDeletedV2
11371
11408
  | io.flow.v0.models.ManifestedLabelUpserted
11372
11409
  | io.flow.v0.models.ManifestedLabelDeleted
11373
11410
  | io.flow.v0.models.LocalItemUpserted
@@ -11777,7 +11814,6 @@ export type BrowseOptinResponses = io.flow.v0.models.BrowseOptinResponses;
11777
11814
  export type BrowseOptinResponsesDeleted = io.flow.v0.models.BrowseOptinResponsesDeleted;
11778
11815
  export type BrowseOptinResponsesUpserted = io.flow.v0.models.BrowseOptinResponsesUpserted;
11779
11816
  export type BrowserActionConfiguration = io.flow.v0.unions.BrowserActionConfiguration;
11780
- export type BrowserDetails = io.flow.v0.models.BrowserDetails;
11781
11817
  export type BrowserInfo = io.flow.v0.models.BrowserInfo;
11782
11818
  export type BrowserInlineActionConfiguration = io.flow.v0.models.BrowserInlineActionConfiguration;
11783
11819
  export type Calendar = io.flow.v0.enums.Calendar;
@@ -11997,6 +12033,9 @@ export type DetailedShippingLabelForm = io.flow.v0.models.DetailedShippingLabelF
11997
12033
  export type DetailedShippingNotificationForm = io.flow.v0.models.DetailedShippingNotificationForm;
11998
12034
  export type DetailedTaxRegistration = io.flow.v0.models.DetailedTaxRegistration;
11999
12035
  export type DeviceDetails = io.flow.v0.unions.DeviceDetails;
12036
+ export type DeviceDetailsBrowser = io.flow.v0.models.DeviceDetailsBrowser;
12037
+ export type DeviceFingerprintDetails = io.flow.v0.unions.DeviceFingerprintDetails;
12038
+ export type DeviceFingerprintDetailsBrowser = io.flow.v0.models.DeviceFingerprintDetailsBrowser;
12000
12039
  export type DigitalDelivery = io.flow.v0.models.DigitalDelivery;
12001
12040
  export type Dimension = io.flow.v0.models.Dimension;
12002
12041
  export type DimensionEstimate = io.flow.v0.models.DimensionEstimate;
@@ -12230,6 +12269,7 @@ export type Incoterm = io.flow.v0.enums.Incoterm;
12230
12269
  export type InlineActionConfiguration = io.flow.v0.unions.InlineActionConfiguration;
12231
12270
  export type InlineAuthorizationDetails = io.flow.v0.models.InlineAuthorizationDetails;
12232
12271
  export type InlineAuthorizationForm = io.flow.v0.models.InlineAuthorizationForm;
12272
+ export type InlineWindowViewportSize = io.flow.v0.enums.InlineWindowViewportSize;
12233
12273
  export type InputForm = io.flow.v0.models.InputForm;
12234
12274
  export type InputFormSpecification = io.flow.v0.models.InputFormSpecification;
12235
12275
  export type InputSpecification = io.flow.v0.models.InputSpecification;
@@ -12376,7 +12416,9 @@ export type NameForm = io.flow.v0.models.NameForm;
12376
12416
  export type NoInventoryReservationError = io.flow.v0.models.NoInventoryReservationError;
12377
12417
  export type NoInventoryReservationErrorItem = io.flow.v0.models.NoInventoryReservationErrorItem;
12378
12418
  export type NotificationDeleted = io.flow.v0.models.NotificationDeleted;
12419
+ export type NotificationDeletedV2 = io.flow.v0.models.NotificationDeletedV2;
12379
12420
  export type NotificationUpserted = io.flow.v0.models.NotificationUpserted;
12421
+ export type NotificationUpsertedV2 = io.flow.v0.models.NotificationUpsertedV2;
12380
12422
  export type NumberRange = io.flow.v0.models.NumberRange;
12381
12423
  export type OnlineAuthorization = io.flow.v0.models.OnlineAuthorization;
12382
12424
  export type OnlineAuthorizationDeletedV2 = io.flow.v0.models.OnlineAuthorizationDeletedV2;