@flowio/types 11.12.2 → 11.12.4

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.
@@ -12903,7 +12903,7 @@ declare namespace io.flow.checkout.backend.v0.models {
12903
12903
  }
12904
12904
  interface CheckoutDirectAuthorizationRequirement {
12905
12905
  readonly discriminator: 'checkout_direct_authorization_requirement';
12906
- readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
12906
+ readonly authorization_summary: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
12907
12907
  }
12908
12908
  interface CheckoutDirectDebit {
12909
12909
  readonly discriminator: 'checkout_direct_debit';
@@ -14805,6 +14805,12 @@ declare namespace io.flow.internal.v0.models {
14805
14805
  readonly discriminator: 'initialize';
14806
14806
  readonly session_id: string;
14807
14807
  }
14808
+ interface BlazePaymentAuthCompleteMessage {
14809
+ readonly discriminator: 'payment_auth_complete';
14810
+ }
14811
+ interface BlazePaymentAuthStartMessage {
14812
+ readonly discriminator: 'payment_auth_start';
14813
+ }
14808
14814
  interface BlazeRedirectConfirmationMessage {
14809
14815
  readonly discriminator: 'redirect_confirmation';
14810
14816
  readonly url: string;
@@ -15334,7 +15340,7 @@ declare namespace io.flow.internal.v0.models {
15334
15340
  }
15335
15341
  interface CheckoutDirectAuthorizationRequirement {
15336
15342
  readonly discriminator: 'checkout_direct_authorization_requirement';
15337
- readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
15343
+ readonly authorization_summary: io.flow.internal.v0.models.CheckoutPaymentAuthorizationSummary;
15338
15344
  }
15339
15345
  interface CheckoutDirectDebit {
15340
15346
  readonly discriminator: 'checkout_direct_debit';
@@ -19434,6 +19440,7 @@ declare namespace io.flow.internal.v0.models {
19434
19440
  readonly transactions: io.flow.internal.v0.unions.TransactionSummary[];
19435
19441
  readonly trackings: io.flow.internal.v0.models.SearchTrackingSummary[];
19436
19442
  readonly returns: io.flow.internal.v0.models.ReturnSummary[];
19443
+ readonly notes: io.flow.internal.v0.models.OrderNote[];
19437
19444
  readonly submitted_at?: string;
19438
19445
  readonly created_at: string;
19439
19446
  readonly updated_at: string;
@@ -19455,6 +19462,16 @@ declare namespace io.flow.internal.v0.models {
19455
19462
  readonly items: io.flow.order.management.v0.models.FulfillmentItem[];
19456
19463
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
19457
19464
  }
19465
+ interface OrderNote {
19466
+ readonly id: string;
19467
+ readonly note: string;
19468
+ readonly user: io.flow.common.v0.models.User;
19469
+ readonly created_at: string;
19470
+ readonly updated_at: string;
19471
+ }
19472
+ interface OrderNoteForm {
19473
+ readonly note: string;
19474
+ }
19458
19475
  interface OrderParameters {
19459
19476
  readonly experience?: string;
19460
19477
  readonly country?: string;
@@ -21453,7 +21470,7 @@ declare namespace io.flow.internal.v0.unions {
21453
21470
  type AuthorizationPayload = io.flow.internal.v0.models.ApplePayAuthorizationPayload | io.flow.internal.v0.models.PaypalAuthorizationPayload;
21454
21471
  type AuthorizedOrderCharge = io.flow.internal.v0.models.AuthorizedShippingCharge;
21455
21472
  type BlazeConsumerMessage = io.flow.internal.v0.models.BlazeAddOrderAttributesMessage | io.flow.internal.v0.models.BlazeAddToCartMessage | io.flow.internal.v0.models.BlazeInitializeMessage | io.flow.internal.v0.models.BlazeSetCartItemsMessage | io.flow.internal.v0.models.BlazeStartCheckoutMessage | io.flow.internal.v0.models.BlazeUpdateCartItemsMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityResponse;
21456
- type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest;
21473
+ type BlazeProviderMessage = io.flow.internal.v0.models.BlazeCheckoutCompleteMessage | io.flow.internal.v0.models.BlazeCheckoutProgressMessage | io.flow.internal.v0.models.BlazeExitCheckoutMessage | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage | io.flow.internal.v0.models.BlazeSynInitializeMessage | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest | io.flow.internal.v0.models.BlazePaymentAuthStartMessage | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
21457
21474
  type CarrierCredentials = io.flow.internal.v0.models.SfExpress | io.flow.internal.v0.models.DhlEcommerce | io.flow.internal.v0.models.Landmark | io.flow.internal.v0.models.Dhl | io.flow.internal.v0.models.FedexCrossborder | io.flow.internal.v0.models.Ups | io.flow.internal.v0.models.Fedex;
21458
21475
  type CheckoutAnalyticsDeliveryOption = io.flow.internal.v0.models.CheckoutAnalyticsPhysicalDeliveryOption | io.flow.internal.v0.models.CheckoutAnalyticsDigitalDeliveryOption;
21459
21476
  type CheckoutAnalyticsOrder = io.flow.internal.v0.models.CheckoutAnalyticsOpenOrder | io.flow.internal.v0.models.CheckoutAnalyticsSubmittedOrder;
@@ -21702,6 +21719,8 @@ export declare type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutS
21702
21719
  export declare type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
21703
21720
  export declare type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
21704
21721
  export declare type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
21722
+ export declare type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
21723
+ export declare type BlazePaymentAuthStartMessage = io.flow.internal.v0.models.BlazePaymentAuthStartMessage;
21705
21724
  export declare type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
21706
21725
  export declare type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
21707
21726
  export declare type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
@@ -22701,6 +22720,8 @@ export declare type OrderDetail = io.flow.internal.v0.models.OrderDetail;
22701
22720
  export declare type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted;
22702
22721
  export declare type OrderFulfillmentUpserted = io.flow.internal.v0.models.OrderFulfillmentUpserted;
22703
22722
  export declare type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent;
22723
+ export declare type OrderNote = io.flow.internal.v0.models.OrderNote;
22724
+ export declare type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm;
22704
22725
  export declare type OrderParameters = io.flow.internal.v0.models.OrderParameters;
22705
22726
  export declare type OrderPaymentAuthorization = io.flow.internal.v0.models.OrderPaymentAuthorization;
22706
22727
  export declare type OrderPlaced = io.flow.internal.v0.models.OrderPlaced;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.12.2",
3
+ "version": "11.12.4",
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": "0764f6517a000421372ddbcc4dbafffd501c023b"
28
+ "gitHead": "1b8fac5c9de3d7554d9755ad44bbd8b4a17de278"
29
29
  }
@@ -16824,7 +16824,7 @@ declare namespace io.flow.checkout.backend.v0.models {
16824
16824
 
16825
16825
  interface CheckoutDirectAuthorizationRequirement {
16826
16826
  readonly discriminator: 'checkout_direct_authorization_requirement';
16827
- readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
16827
+ readonly authorization_summary: io.flow.checkout.backend.v0.models.CheckoutPaymentAuthorizationSummary;
16828
16828
  }
16829
16829
 
16830
16830
  interface CheckoutDirectDebit {
@@ -19644,6 +19644,14 @@ declare namespace io.flow.internal.v0.models {
19644
19644
  readonly session_id: string;
19645
19645
  }
19646
19646
 
19647
+ interface BlazePaymentAuthCompleteMessage {
19648
+ readonly discriminator: 'payment_auth_complete';
19649
+ }
19650
+
19651
+ interface BlazePaymentAuthStartMessage {
19652
+ readonly discriminator: 'payment_auth_start';
19653
+ }
19654
+
19647
19655
  interface BlazeRedirectConfirmationMessage {
19648
19656
  readonly discriminator: 'redirect_confirmation';
19649
19657
  readonly url: string;
@@ -20283,7 +20291,7 @@ declare namespace io.flow.internal.v0.models {
20283
20291
 
20284
20292
  interface CheckoutDirectAuthorizationRequirement {
20285
20293
  readonly discriminator: 'checkout_direct_authorization_requirement';
20286
- readonly authorization_result: io.flow.payment.v0.models.AuthorizationResult;
20294
+ readonly authorization_summary: io.flow.internal.v0.models.CheckoutPaymentAuthorizationSummary;
20287
20295
  }
20288
20296
 
20289
20297
  interface CheckoutDirectDebit {
@@ -25077,6 +25085,7 @@ declare namespace io.flow.internal.v0.models {
25077
25085
  readonly transactions: io.flow.internal.v0.unions.TransactionSummary[];
25078
25086
  readonly trackings: io.flow.internal.v0.models.SearchTrackingSummary[];
25079
25087
  readonly returns: io.flow.internal.v0.models.ReturnSummary[];
25088
+ readonly notes: io.flow.internal.v0.models.OrderNote[];
25080
25089
  readonly submitted_at?: string;
25081
25090
  readonly created_at: string;
25082
25091
  readonly updated_at: string;
@@ -25101,6 +25110,18 @@ declare namespace io.flow.internal.v0.models {
25101
25110
  readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
25102
25111
  }
25103
25112
 
25113
+ interface OrderNote {
25114
+ readonly id: string;
25115
+ readonly note: string;
25116
+ readonly user: io.flow.common.v0.models.User;
25117
+ readonly created_at: string;
25118
+ readonly updated_at: string;
25119
+ }
25120
+
25121
+ interface OrderNoteForm {
25122
+ readonly note: string;
25123
+ }
25124
+
25104
25125
  interface OrderParameters {
25105
25126
  readonly experience?: string;
25106
25127
  readonly country?: string;
@@ -27428,7 +27449,9 @@ declare namespace io.flow.internal.v0.unions {
27428
27449
  | io.flow.internal.v0.models.BlazeExitCheckoutMessage
27429
27450
  | io.flow.internal.v0.models.BlazeRedirectConfirmationMessage
27430
27451
  | io.flow.internal.v0.models.BlazeSynInitializeMessage
27431
- | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest;
27452
+ | io.flow.internal.v0.models.BlazeApplepayAvailabilityRequest
27453
+ | io.flow.internal.v0.models.BlazePaymentAuthStartMessage
27454
+ | io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
27432
27455
  type CarrierCredentials =
27433
27456
  | io.flow.internal.v0.models.SfExpress
27434
27457
  | io.flow.internal.v0.models.DhlEcommerce
@@ -28236,6 +28259,8 @@ export type BlazeCheckoutStep = io.flow.internal.v0.enums.BlazeCheckoutStep;
28236
28259
  export type BlazeConsumerMessage = io.flow.internal.v0.unions.BlazeConsumerMessage;
28237
28260
  export type BlazeExitCheckoutMessage = io.flow.internal.v0.models.BlazeExitCheckoutMessage;
28238
28261
  export type BlazeInitializeMessage = io.flow.internal.v0.models.BlazeInitializeMessage;
28262
+ export type BlazePaymentAuthCompleteMessage = io.flow.internal.v0.models.BlazePaymentAuthCompleteMessage;
28263
+ export type BlazePaymentAuthStartMessage = io.flow.internal.v0.models.BlazePaymentAuthStartMessage;
28239
28264
  export type BlazeProviderMessage = io.flow.internal.v0.unions.BlazeProviderMessage;
28240
28265
  export type BlazeRedirectConfirmationMessage = io.flow.internal.v0.models.BlazeRedirectConfirmationMessage;
28241
28266
  export type BlazeSetCartItemsMessage = io.flow.internal.v0.models.BlazeSetCartItemsMessage;
@@ -29235,6 +29260,8 @@ export type OrderDetail = io.flow.internal.v0.models.OrderDetail;
29235
29260
  export type OrderFulfillmentDeleted = io.flow.internal.v0.models.OrderFulfillmentDeleted;
29236
29261
  export type OrderFulfillmentUpserted = io.flow.internal.v0.models.OrderFulfillmentUpserted;
29237
29262
  export type OrderLifecycleEvent = io.flow.internal.v0.enums.OrderLifecycleEvent;
29263
+ export type OrderNote = io.flow.internal.v0.models.OrderNote;
29264
+ export type OrderNoteForm = io.flow.internal.v0.models.OrderNoteForm;
29238
29265
  export type OrderParameters = io.flow.internal.v0.models.OrderParameters;
29239
29266
  export type OrderPaymentAuthorization = io.flow.internal.v0.models.OrderPaymentAuthorization;
29240
29267
  export type OrderPlaced = io.flow.internal.v0.models.OrderPlaced;