@flowio/types 11.7.3 → 11.7.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.
@@ -12118,6 +12118,10 @@ declare namespace io.flow.checkout.backend.v0.models {
12118
12118
  interface CheckoutCountriesFormData {
12119
12119
  readonly available: io.flow.checkout.backend.v0.models.CheckoutOrderFormAddressCountry[];
12120
12120
  }
12121
+ interface CheckoutCreditPaymentPayload {
12122
+ readonly discriminator: 'credit_payment_payload';
12123
+ readonly payment_method_id: string;
12124
+ }
12121
12125
  interface CheckoutDeliveryWindowEstimate {
12122
12126
  readonly discriminator: 'estimate';
12123
12127
  readonly days: io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimateDays;
@@ -12430,7 +12434,7 @@ declare namespace io.flow.checkout.backend.v0.unions {
12430
12434
  type CheckoutOrderPayment = io.flow.checkout.backend.v0.models.CheckoutOrderPaymentCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentGiftCard | io.flow.checkout.backend.v0.models.CheckoutOrderPaymentOnline;
12431
12435
  type CheckoutOrderPromotion = io.flow.checkout.backend.v0.models.CheckoutOrderPromotionDiscount | io.flow.checkout.backend.v0.models.CheckoutOrderPromotionFreeShipping;
12432
12436
  type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement;
12433
- type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload;
12437
+ type CheckoutPaymentDetailsForm = io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
12434
12438
  type CheckoutPrice = io.flow.checkout.backend.v0.models.CheckoutPriceFree | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown | io.flow.checkout.backend.v0.models.CheckoutPriceIncluded | io.flow.checkout.backend.v0.models.CheckoutPriceStandard;
12435
12439
  }
12436
12440
  declare namespace io.flow.organization.v0.enums {
@@ -14350,6 +14354,10 @@ declare namespace io.flow.internal.v0.models {
14350
14354
  readonly discriminator: 'checkout_create_by_session_response_success';
14351
14355
  readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
14352
14356
  }
14357
+ interface CheckoutCreditPaymentPayload {
14358
+ readonly discriminator: 'credit_payment_payload';
14359
+ readonly payment_method_id: string;
14360
+ }
14353
14361
  interface CheckoutDeleteAddressStreetError {
14354
14362
  readonly code: io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode;
14355
14363
  readonly message: string;
@@ -20156,7 +20164,7 @@ declare namespace io.flow.internal.v0.unions {
20156
20164
  type CheckoutOrderPayment = io.flow.internal.v0.models.CheckoutOrderPaymentCard | io.flow.internal.v0.models.CheckoutOrderPaymentGiftCard | io.flow.internal.v0.models.CheckoutOrderPaymentOnline;
20157
20165
  type CheckoutOrderPromotion = io.flow.internal.v0.models.CheckoutOrderPromotionDiscount | io.flow.internal.v0.models.CheckoutOrderPromotionFreeShipping;
20158
20166
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement;
20159
- type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload;
20167
+ type CheckoutPaymentDetailsForm = io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
20160
20168
  type CheckoutPrice = io.flow.internal.v0.models.CheckoutPriceFree | io.flow.internal.v0.models.CheckoutPriceNotYetKnown | io.flow.internal.v0.models.CheckoutPriceIncluded | io.flow.internal.v0.models.CheckoutPriceStandard;
20161
20169
  type CheckoutRequestForm = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsRequestForm | io.flow.internal.v0.models.CheckoutCreateBySessionRequestForm | io.flow.internal.v0.models.CheckoutFeaturesRequestForm | io.flow.internal.v0.models.CheckoutGetRequestForm;
20162
20170
  type CheckoutResponse = io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseError | io.flow.internal.v0.models.CheckoutCreateAuthorizationDetailsResponseSuccess | io.flow.internal.v0.models.CheckoutCreateBySessionResponseError | io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess | io.flow.internal.v0.models.CheckoutFeaturesResponseError | io.flow.internal.v0.models.CheckoutFeaturesResponseSuccess | io.flow.internal.v0.models.CheckoutGetResponseError | io.flow.internal.v0.models.CheckoutGetResponseSuccess;
@@ -20504,6 +20512,7 @@ export declare type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.mod
20504
20512
  export declare type CheckoutCreateBySessionResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionResponse;
20505
20513
  export declare type CheckoutCreateBySessionResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError;
20506
20514
  export declare type CheckoutCreateBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
20515
+ export declare type CheckoutCreditPaymentPayload = io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
20507
20516
  export declare type CheckoutDeleteAddressStreetError = io.flow.internal.v0.models.CheckoutDeleteAddressStreetError;
20508
20517
  export declare type CheckoutDeleteAddressStreetErrorCode = io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode;
20509
20518
  export declare type CheckoutDeleteLineError = io.flow.internal.v0.models.CheckoutDeleteLineError;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowio/types",
3
- "version": "11.7.3",
3
+ "version": "11.7.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": "a45f7c833fbc343f291a147db7edb918666ad68c"
28
+ "gitHead": "2066ca1b8fc91471ac39d085639d1dc5ade144be"
29
29
  }
@@ -15809,6 +15809,11 @@ declare namespace io.flow.checkout.backend.v0.models {
15809
15809
  readonly available: io.flow.checkout.backend.v0.models.CheckoutOrderFormAddressCountry[];
15810
15810
  }
15811
15811
 
15812
+ interface CheckoutCreditPaymentPayload {
15813
+ readonly discriminator: 'credit_payment_payload';
15814
+ readonly payment_method_id: string;
15815
+ }
15816
+
15812
15817
  interface CheckoutDeliveryWindowEstimate {
15813
15818
  readonly discriminator: 'estimate';
15814
15819
  readonly days: io.flow.checkout.backend.v0.models.CheckoutDeliveryWindowEstimateDays;
@@ -16197,7 +16202,8 @@ declare namespace io.flow.checkout.backend.v0.unions {
16197
16202
  type CheckoutPaymentActionRequirement = io.flow.checkout.backend.v0.models.CheckoutRedirectAuthorizationRequirement;
16198
16203
  type CheckoutPaymentDetailsForm =
16199
16204
  | io.flow.checkout.backend.v0.models.CheckoutPaypalAuthorizationPayload
16200
- | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload;
16205
+ | io.flow.checkout.backend.v0.models.CheckoutGooglePayAuthorizationPayload
16206
+ | io.flow.checkout.backend.v0.models.CheckoutCreditPaymentPayload;
16201
16207
  type CheckoutPrice =
16202
16208
  | io.flow.checkout.backend.v0.models.CheckoutPriceFree
16203
16209
  | io.flow.checkout.backend.v0.models.CheckoutPriceNotYetKnown
@@ -18995,6 +19001,11 @@ declare namespace io.flow.internal.v0.models {
18995
19001
  readonly checkout: io.flow.checkout.backend.v0.models.V2Checkout;
18996
19002
  }
18997
19003
 
19004
+ interface CheckoutCreditPaymentPayload {
19005
+ readonly discriminator: 'credit_payment_payload';
19006
+ readonly payment_method_id: string;
19007
+ }
19008
+
18998
19009
  interface CheckoutDeleteAddressStreetError {
18999
19010
  readonly code: io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode;
19000
19011
  readonly message: string;
@@ -25843,7 +25854,8 @@ declare namespace io.flow.internal.v0.unions {
25843
25854
  type CheckoutPaymentActionRequirement = io.flow.internal.v0.models.CheckoutRedirectAuthorizationRequirement;
25844
25855
  type CheckoutPaymentDetailsForm =
25845
25856
  | io.flow.internal.v0.models.CheckoutPaypalAuthorizationPayload
25846
- | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload;
25857
+ | io.flow.internal.v0.models.CheckoutGooglePayAuthorizationPayload
25858
+ | io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
25847
25859
  type CheckoutPrice =
25848
25860
  | io.flow.internal.v0.models.CheckoutPriceFree
25849
25861
  | io.flow.internal.v0.models.CheckoutPriceNotYetKnown
@@ -26642,6 +26654,7 @@ export type CheckoutCreateBySessionRequestForm = io.flow.internal.v0.models.Chec
26642
26654
  export type CheckoutCreateBySessionResponse = io.flow.internal.v0.unions.CheckoutCreateBySessionResponse;
26643
26655
  export type CheckoutCreateBySessionResponseError = io.flow.internal.v0.models.CheckoutCreateBySessionResponseError;
26644
26656
  export type CheckoutCreateBySessionResponseSuccess = io.flow.internal.v0.models.CheckoutCreateBySessionResponseSuccess;
26657
+ export type CheckoutCreditPaymentPayload = io.flow.internal.v0.models.CheckoutCreditPaymentPayload;
26645
26658
  export type CheckoutDeleteAddressStreetError = io.flow.internal.v0.models.CheckoutDeleteAddressStreetError;
26646
26659
  export type CheckoutDeleteAddressStreetErrorCode = io.flow.internal.v0.enums.CheckoutDeleteAddressStreetErrorCode;
26647
26660
  export type CheckoutDeleteLineError = io.flow.internal.v0.models.CheckoutDeleteLineError;