@flowio/types 11.22.1 → 11.22.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 +21 -2
- package/package.json +2 -2
- package/src/api-internal.ts +27 -1
package/dist/api-internal.d.ts
CHANGED
|
@@ -6607,7 +6607,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6607
6607
|
readonly type: 'use_sdk_klarna_v1';
|
|
6608
6608
|
readonly expires_at?: string;
|
|
6609
6609
|
readonly client_token: string;
|
|
6610
|
-
readonly payment_method_categories:
|
|
6610
|
+
readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
|
|
6611
6611
|
}
|
|
6612
6612
|
interface ActionUseSdkPaypal {
|
|
6613
6613
|
readonly type: 'use_sdk_paypal';
|
|
@@ -6656,6 +6656,12 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6656
6656
|
readonly screen_width: number;
|
|
6657
6657
|
readonly time_zone_offset: number;
|
|
6658
6658
|
}
|
|
6659
|
+
interface KlarnaPaymentCategory {
|
|
6660
|
+
readonly id: string;
|
|
6661
|
+
readonly name: string;
|
|
6662
|
+
readonly standard_asset_url?: string;
|
|
6663
|
+
readonly descriptive_asset_url?: string;
|
|
6664
|
+
}
|
|
6659
6665
|
interface OrderDetails {
|
|
6660
6666
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
6661
6667
|
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
@@ -6804,6 +6810,18 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
6804
6810
|
readonly type: 'authorize_googlepay';
|
|
6805
6811
|
readonly payment_data: any;
|
|
6806
6812
|
}
|
|
6813
|
+
interface PaymentMethodDataAuthorizeKlarna {
|
|
6814
|
+
readonly type: 'authorize_klarna';
|
|
6815
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
|
|
6816
|
+
}
|
|
6817
|
+
interface PaymentMethodDataAuthorizeKlarnaResultFailure {
|
|
6818
|
+
readonly type: 'failure';
|
|
6819
|
+
readonly placeholder?: string;
|
|
6820
|
+
}
|
|
6821
|
+
interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
|
|
6822
|
+
readonly type: 'success';
|
|
6823
|
+
readonly authorization_token: string;
|
|
6824
|
+
}
|
|
6807
6825
|
interface PaymentMethodDataAuthorizePaypal {
|
|
6808
6826
|
readonly type: 'authorize_paypal';
|
|
6809
6827
|
readonly payment_id: string;
|
|
@@ -6984,7 +7002,8 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
6984
7002
|
type OrderInformation = io.flow.payment.gateway.v0.models.OrderInformationFlow | io.flow.payment.gateway.v0.models.OrderInformationDetails;
|
|
6985
7003
|
type PaymentCaptureOption = io.flow.payment.gateway.v0.models.PaymentCaptureOptionAutomaticImmediate | io.flow.payment.gateway.v0.models.PaymentCaptureOptionManual;
|
|
6986
7004
|
type PaymentMethodCard = io.flow.payment.gateway.v0.models.PaymentMethodCardPciDetails | io.flow.payment.gateway.v0.models.PaymentMethodCardToken;
|
|
6987
|
-
type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
7005
|
+
type PaymentMethodData = io.flow.payment.gateway.v0.models.PaymentMethodDataInitKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataInitAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataInitPaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataInitIdeal | io.flow.payment.gateway.v0.models.PaymentMethodDataValidateApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeCard | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna | io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
7006
|
+
type PaymentMethodDataAuthorizeKlarnaResult = io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess | io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
6988
7007
|
type PaymentMethodSummary = io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard | io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna | io.flow.payment.gateway.v0.models.PaymentMethodSummaryAfterpay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryApplepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryGooglepay | io.flow.payment.gateway.v0.models.PaymentMethodSummaryPaypal | io.flow.payment.gateway.v0.models.PaymentMethodSummaryIdeal;
|
|
6989
7008
|
type SdkAdyenV3AuthenticationToken = io.flow.payment.gateway.v0.models.AdyenV3FingerprintToken | io.flow.payment.gateway.v0.models.AdyenV3ChallengeToken;
|
|
6990
7009
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/types",
|
|
3
|
-
"version": "11.22.
|
|
3
|
+
"version": "11.22.2",
|
|
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": "
|
|
28
|
+
"gitHead": "ce83adac84d5e377b07914d337530c3a11936c45"
|
|
29
29
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -8713,7 +8713,7 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8713
8713
|
readonly type: 'use_sdk_klarna_v1';
|
|
8714
8714
|
readonly expires_at?: string;
|
|
8715
8715
|
readonly client_token: string;
|
|
8716
|
-
readonly payment_method_categories:
|
|
8716
|
+
readonly payment_method_categories: io.flow.payment.gateway.v0.models.KlarnaPaymentCategory[];
|
|
8717
8717
|
}
|
|
8718
8718
|
|
|
8719
8719
|
interface ActionUseSdkPaypal {
|
|
@@ -8772,6 +8772,13 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8772
8772
|
readonly time_zone_offset: number;
|
|
8773
8773
|
}
|
|
8774
8774
|
|
|
8775
|
+
interface KlarnaPaymentCategory {
|
|
8776
|
+
readonly id: string;
|
|
8777
|
+
readonly name: string;
|
|
8778
|
+
readonly standard_asset_url?: string;
|
|
8779
|
+
readonly descriptive_asset_url?: string;
|
|
8780
|
+
}
|
|
8781
|
+
|
|
8775
8782
|
interface OrderDetails {
|
|
8776
8783
|
readonly line_items: io.flow.payment.gateway.v0.models.PaymentOrderDetailsLineItem[];
|
|
8777
8784
|
readonly shipping?: io.flow.payment.gateway.v0.models.Shipping;
|
|
@@ -8947,6 +8954,21 @@ declare namespace io.flow.payment.gateway.v0.models {
|
|
|
8947
8954
|
readonly payment_data: any /*object*/;
|
|
8948
8955
|
}
|
|
8949
8956
|
|
|
8957
|
+
interface PaymentMethodDataAuthorizeKlarna {
|
|
8958
|
+
readonly type: 'authorize_klarna';
|
|
8959
|
+
readonly result: io.flow.payment.gateway.v0.unions.PaymentMethodDataAuthorizeKlarnaResult;
|
|
8960
|
+
}
|
|
8961
|
+
|
|
8962
|
+
interface PaymentMethodDataAuthorizeKlarnaResultFailure {
|
|
8963
|
+
readonly type: 'failure';
|
|
8964
|
+
readonly placeholder?: string;
|
|
8965
|
+
}
|
|
8966
|
+
|
|
8967
|
+
interface PaymentMethodDataAuthorizeKlarnaResultSuccess {
|
|
8968
|
+
readonly type: 'success';
|
|
8969
|
+
readonly authorization_token: string;
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8950
8972
|
interface PaymentMethodDataAuthorizePaypal {
|
|
8951
8973
|
readonly type: 'authorize_paypal';
|
|
8952
8974
|
readonly payment_id: string;
|
|
@@ -9190,7 +9212,11 @@ declare namespace io.flow.payment.gateway.v0.unions {
|
|
|
9190
9212
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeGooglepay
|
|
9191
9213
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeApplepay
|
|
9192
9214
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizePaypal
|
|
9215
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarna
|
|
9193
9216
|
| io.flow.payment.gateway.v0.models.PaymentMethodDataCompleteAuthorizationCard;
|
|
9217
|
+
type PaymentMethodDataAuthorizeKlarnaResult =
|
|
9218
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultSuccess
|
|
9219
|
+
| io.flow.payment.gateway.v0.models.PaymentMethodDataAuthorizeKlarnaResultFailure;
|
|
9194
9220
|
type PaymentMethodSummary =
|
|
9195
9221
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryCard
|
|
9196
9222
|
| io.flow.payment.gateway.v0.models.PaymentMethodSummaryKlarna
|