@primer-io/react-native 2.36.0 → 2.37.0

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.
Files changed (128) hide show
  1. package/android/build.gradle +3 -3
  2. package/android/gradle.properties +4 -4
  3. package/android/src/main/java/com/primerioreactnative/PrimerRN.kt +2 -2
  4. package/android/src/main/java/com/primerioreactnative/datamodels/PrimerSettingsRN.kt +0 -1
  5. package/ios/Sources/DataModels/PrimerSettings+Extensions.swift +0 -2
  6. package/ios/Sources/version.swift +1 -1
  7. package/lib/commonjs/index.js +0 -389
  8. package/lib/commonjs/index.js.map +1 -1
  9. package/lib/module/index.js +11 -58
  10. package/lib/module/index.js.map +1 -1
  11. package/package.json +14 -15
  12. package/primer-io-react-native.podspec +5 -1
  13. package/src/index.tsx +39 -75
  14. package/src/models/PrimerSettings.ts +1 -1
  15. package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts +0 -11
  16. package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts.map +0 -1
  17. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts +0 -6
  18. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts.map +0 -1
  19. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts +0 -2
  20. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts.map +0 -1
  21. package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts +0 -18
  22. package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts.map +0 -1
  23. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts +0 -53
  24. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts.map +0 -1
  25. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts +0 -12
  26. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts.map +0 -1
  27. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts +0 -69
  28. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts.map +0 -1
  29. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts +0 -63
  30. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts.map +0 -1
  31. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts +0 -8
  32. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts.map +0 -1
  33. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts +0 -30
  34. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts.map +0 -1
  35. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts +0 -3
  36. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts.map +0 -1
  37. package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts +0 -13
  38. package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts.map +0 -1
  39. package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts +0 -11
  40. package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts.map +0 -1
  41. package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts +0 -20
  42. package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts.map +0 -1
  43. package/lib/typescript/HeadlessUniversalCheckout/types.d.ts +0 -1
  44. package/lib/typescript/HeadlessUniversalCheckout/types.d.ts.map +0 -1
  45. package/lib/typescript/Primer.d.ts +0 -3
  46. package/lib/typescript/Primer.d.ts.map +0 -1
  47. package/lib/typescript/RNPrimer.d.ts +0 -34
  48. package/lib/typescript/RNPrimer.d.ts.map +0 -1
  49. package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts +0 -2
  50. package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts.map +0 -1
  51. package/lib/typescript/index.d.ts +0 -67
  52. package/lib/typescript/index.d.ts.map +0 -1
  53. package/lib/typescript/models/IssuingBank.d.ts +0 -9
  54. package/lib/typescript/models/IssuingBank.d.ts.map +0 -1
  55. package/lib/typescript/models/NamedComponentStep.d.ts +0 -12
  56. package/lib/typescript/models/NamedComponentStep.d.ts.map +0 -1
  57. package/lib/typescript/models/NamedComponentValidatableData.d.ts +0 -12
  58. package/lib/typescript/models/NamedComponentValidatableData.d.ts.map +0 -1
  59. package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts +0 -39
  60. package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts.map +0 -1
  61. package/lib/typescript/models/PrimerCheckoutData.d.ts +0 -18
  62. package/lib/typescript/models/PrimerCheckoutData.d.ts.map +0 -1
  63. package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts +0 -7
  64. package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts.map +0 -1
  65. package/lib/typescript/models/PrimerClientSession.d.ts +0 -53
  66. package/lib/typescript/models/PrimerClientSession.d.ts.map +0 -1
  67. package/lib/typescript/models/PrimerComponentDataValidation.d.ts +0 -54
  68. package/lib/typescript/models/PrimerComponentDataValidation.d.ts.map +0 -1
  69. package/lib/typescript/models/PrimerCountryCode.d.ts +0 -4
  70. package/lib/typescript/models/PrimerCountryCode.d.ts.map +0 -1
  71. package/lib/typescript/models/PrimerCurrencyCode.d.ts +0 -4
  72. package/lib/typescript/models/PrimerCurrencyCode.d.ts.map +0 -1
  73. package/lib/typescript/models/PrimerError.d.ts +0 -9
  74. package/lib/typescript/models/PrimerError.d.ts.map +0 -1
  75. package/lib/typescript/models/PrimerHandlers.d.ts +0 -22
  76. package/lib/typescript/models/PrimerHandlers.d.ts.map +0 -1
  77. package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts +0 -6
  78. package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts.map +0 -1
  79. package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts +0 -17
  80. package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts.map +0 -1
  81. package/lib/typescript/models/PrimerInitializationData.d.ts +0 -10
  82. package/lib/typescript/models/PrimerInitializationData.d.ts.map +0 -1
  83. package/lib/typescript/models/PrimerInputElementType.d.ts +0 -12
  84. package/lib/typescript/models/PrimerInputElementType.d.ts.map +0 -1
  85. package/lib/typescript/models/PrimerInterfaces.d.ts +0 -10
  86. package/lib/typescript/models/PrimerInterfaces.d.ts.map +0 -1
  87. package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts +0 -6
  88. package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts.map +0 -1
  89. package/lib/typescript/models/PrimerPaymentMethodResource.d.ts +0 -19
  90. package/lib/typescript/models/PrimerPaymentMethodResource.d.ts.map +0 -1
  91. package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts +0 -78
  92. package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts.map +0 -1
  93. package/lib/typescript/models/PrimerRawData.d.ts +0 -20
  94. package/lib/typescript/models/PrimerRawData.d.ts.map +0 -1
  95. package/lib/typescript/models/PrimerSessionIntent.d.ts +0 -5
  96. package/lib/typescript/models/PrimerSessionIntent.d.ts.map +0 -1
  97. package/lib/typescript/models/PrimerSettings.d.ts +0 -173
  98. package/lib/typescript/models/PrimerSettings.d.ts.map +0 -1
  99. package/lib/typescript/models/PrimerTheme.d.ts +0 -24
  100. package/lib/typescript/models/PrimerTheme.d.ts.map +0 -1
  101. package/lib/typescript/models/PrimerValidationError.d.ts +0 -7
  102. package/lib/typescript/models/PrimerValidationError.d.ts.map +0 -1
  103. package/lib/typescript/models/PrimerValidationErrorResult.d.ts +0 -6
  104. package/lib/typescript/models/PrimerValidationErrorResult.d.ts.map +0 -1
  105. package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts +0 -11
  106. package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts.map +0 -1
  107. package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts +0 -5
  108. package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts.map +0 -1
  109. package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts +0 -6
  110. package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts.map +0 -1
  111. package/lib/typescript/models/RetailOutletsRetail.d.ts +0 -9
  112. package/lib/typescript/models/RetailOutletsRetail.d.ts.map +0 -1
  113. package/lib/typescript/models/ach/AchCollectableData.d.ts +0 -25
  114. package/lib/typescript/models/ach/AchCollectableData.d.ts.map +0 -1
  115. package/lib/typescript/models/ach/AchSteps.d.ts +0 -28
  116. package/lib/typescript/models/ach/AchSteps.d.ts.map +0 -1
  117. package/lib/typescript/models/banks/BanksCollectableData.d.ts +0 -23
  118. package/lib/typescript/models/banks/BanksCollectableData.d.ts.map +0 -1
  119. package/lib/typescript/models/banks/BanksSteps.d.ts +0 -20
  120. package/lib/typescript/models/banks/BanksSteps.d.ts.map +0 -1
  121. package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts +0 -24
  122. package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts.map +0 -1
  123. package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts +0 -24
  124. package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts.map +0 -1
  125. package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts +0 -36
  126. package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts.map +0 -1
  127. package/lib/typescript/utils/index.d.ts +0 -4
  128. package/lib/typescript/utils/index.d.ts.map +0 -1
@@ -1,12 +0,0 @@
1
- export declare enum PrimerInputElementType {
2
- CARD_NUMBER = "CARD_NUMBER",
3
- EXPIRY_DATE = "EXPIRY_DATE",
4
- CVV = "CVV",
5
- CARDHOLDER_NAME = "CARDHOLDER_NAME",
6
- OTP = "OTP",
7
- POSTAL_CODE = "POSTAL_CODE",
8
- PHONE_NUMBER = "PHONE_NUMBER",
9
- RETAILER = "RETAILER",
10
- UNKNOWN = "UNKNOWN"
11
- }
12
- //# sourceMappingURL=PrimerInputElementType.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerInputElementType.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerInputElementType.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,GAAG,QAAQ;IACX,eAAe,oBAAoB;IACnC,GAAG,QAAQ;IACX,WAAW,gBAAgB;IAC3B,YAAY,iBAAiB;IAC7B,QAAQ,aAAa;IACrB,OAAO,YAAY;CACpB"}
@@ -1,10 +0,0 @@
1
- import type { PrimerSettings } from './PrimerSettings';
2
- export interface IPrimer {
3
- configure(settings: PrimerSettings): Promise<void>;
4
- showUniversalCheckout(clientToken: string): Promise<void>;
5
- showVaultManager(clientToken: string): Promise<void>;
6
- showPaymentMethod(paymentMethod: string, intent: string, clientToken: string): Promise<void>;
7
- dismiss(): void;
8
- cleanUp(): void;
9
- }
10
- //# sourceMappingURL=PrimerInterfaces.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerInterfaces.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerInterfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,MAAM,WAAW,OAAO;IACtB,SAAS,CAAC,QAAQ,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACnD,qBAAqB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1D,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACrD,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7F,OAAO,IAAI,IAAI,CAAC;IAChB,OAAO,IAAI,IAAI,CAAC;CACjB"}
@@ -1,6 +0,0 @@
1
- export declare enum PrimerPaymentMethodManagerCategory {
2
- CARD_COMPONENTS = "CARD_COMPONENTS",
3
- NATIVE_UI = "NATIVE_UI",
4
- RAW_DATA = "RAW_DATA"
5
- }
6
- //# sourceMappingURL=PrimerPaymentMethodManagerCategory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerPaymentMethodManagerCategory.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerPaymentMethodManagerCategory.ts"],"names":[],"mappings":"AAAA,oBAAY,kCAAkC;IAC5C,eAAe,oBAAoB;IACnC,SAAS,cAAc;IACvB,QAAQ,aAAa;CACtB"}
@@ -1,19 +0,0 @@
1
- export interface IPrimerPaymentMethodResource {
2
- paymentMethodType: string;
3
- paymentMethodName: string;
4
- nativeViewName?: string;
5
- }
6
- export interface PrimerPaymentMethodAsset extends IPrimerPaymentMethodResource {
7
- paymentMethodLogo: IPrimerAsset;
8
- paymentMethodBackgroundColor: IPrimerAsset;
9
- nativeViewName?: undefined;
10
- }
11
- export interface PrimerPaymentMethodNativeView extends IPrimerPaymentMethodResource {
12
- nativeViewName: string;
13
- }
14
- export interface IPrimerAsset {
15
- colored?: string;
16
- dark?: string;
17
- light?: string;
18
- }
19
- //# sourceMappingURL=PrimerPaymentMethodResource.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerPaymentMethodResource.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerPaymentMethodResource.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,wBAAyB,SAAQ,4BAA4B;IAC5E,iBAAiB,EAAE,YAAY,CAAC;IAChC,4BAA4B,EAAE,YAAY,CAAC;IAC3C,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,6BAA8B,SAAQ,4BAA4B;IACjF,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -1,78 +0,0 @@
1
- export type PrimerPaymentMethodTokenData = IPrimerPaymentMethodTokenData;
2
- export interface IPrimerPaymentMethodTokenData {
3
- analyticsId?: string;
4
- id?: string;
5
- isVaulted?: boolean;
6
- paymentInstrumentData: IPrimerPaymentInstrumentData;
7
- paymentInstrumentType: string;
8
- token: string;
9
- tokenType?: PrimerTokenType;
10
- threeDSecureAuthentication?: IPrimerThreeDSAuthenticationData;
11
- vaultData?: IPrimerVaultData;
12
- }
13
- export declare enum PrimerTokenType {
14
- SINGLE_USE = "SINGLE_USE",
15
- MULTI_USE = "MULTI_USE"
16
- }
17
- export interface IPrimerThreeDSAuthenticationData {
18
- challengeIssued?: boolean;
19
- protocolVersion?: string;
20
- reasonCode?: string;
21
- reasonText?: string;
22
- responseCode?: string;
23
- }
24
- export interface IPrimerVaultData {
25
- customerId?: string;
26
- }
27
- export interface IPrimerPaymentInstrumentData {
28
- network?: string;
29
- cardholderName?: string;
30
- first6Digits?: number;
31
- last4Digits?: number;
32
- accountNumberLast4Digits?: number;
33
- expirationMonth?: number;
34
- expirationYear?: number;
35
- externalPayerInfo?: IExternalPayerInfo;
36
- klarnaCustomerToken?: string;
37
- sessionData?: IKlarnaSessionData;
38
- paymentMethodType?: string;
39
- binData?: IBinData;
40
- bankName?: string;
41
- }
42
- export interface IKlarnaSessionData {
43
- recurringDescription?: string;
44
- billingAddress?: IKlarnaBillingAddress;
45
- }
46
- export interface IKlarnaBillingAddress {
47
- email?: string;
48
- }
49
- export interface IExternalPayerInfo {
50
- email: string;
51
- externalPayerId?: string;
52
- firstName?: string;
53
- lastName?: string;
54
- }
55
- export interface IShippingAddress {
56
- firstName?: string;
57
- lastName?: string;
58
- addressLine1?: string;
59
- addressLine2?: string;
60
- city?: string;
61
- state?: string;
62
- countryCode?: string;
63
- postalCode?: string;
64
- }
65
- export interface IBinData {
66
- network?: string;
67
- issuerCountryCode?: string;
68
- issuerName?: string;
69
- issuerCurrencyCode?: string;
70
- regionalRestriction?: string;
71
- accountNumberType?: string;
72
- accountFundingType?: string;
73
- prepaidReloadableIndicator?: string;
74
- productUsageType?: string;
75
- productCode?: string;
76
- productName?: string;
77
- }
78
- //# sourceMappingURL=PrimerPaymentMethodTokenData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerPaymentMethodTokenData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerPaymentMethodTokenData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,CAAC;AAEzE,MAAM,WAAW,6BAA6B;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,qBAAqB,EAAE,4BAA4B,CAAC;IACpD,qBAAqB,EAAE,MAAM,CAAC;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,eAAe,CAAC;IAC5B,0BAA0B,CAAC,EAAE,gCAAgC,C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CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
@@ -1,20 +0,0 @@
1
- export interface PrimerRawData {
2
- }
3
- export interface PrimerCardData extends PrimerRawData {
4
- cardNumber: string;
5
- expiryDate: string;
6
- cvv: string;
7
- cardholderName?: string;
8
- }
9
- export interface PrimerPhoneNumberData extends PrimerRawData {
10
- phoneNumber: string;
11
- }
12
- export interface PrimerBancontactCardData extends PrimerRawData {
13
- cardNumber: string;
14
- expiryDate: string;
15
- cardholderName: string;
16
- }
17
- export interface PrimerRetailerData extends PrimerRawData {
18
- id: string;
19
- }
20
- //# sourceMappingURL=PrimerRawData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerRawData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerRawData.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;CAAG;AAEjC,MAAM,WAAW,cAAe,SAAQ,aAAa;IACnD,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAsB,SAAQ,aAAa;IAC1D,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wBAAyB,SAAQ,aAAa;IAC7D,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kBAAmB,SAAQ,aAAa;IACvD,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -1,5 +0,0 @@
1
- export declare enum PrimerSessionIntent {
2
- CHECKOUT = "CHECKOUT",
3
- VAULT = "VAULT"
4
- }
5
- //# sourceMappingURL=PrimerSessionIntent.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerSessionIntent.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerSessionIntent.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB"}
@@ -1,173 +0,0 @@
1
- import type { PrimerCheckoutData } from './PrimerCheckoutData';
2
- import type { PrimerCheckoutAdditionalInfo } from './PrimerCheckoutAdditionalInfo';
3
- import type { PrimerCheckoutPaymentMethodData } from './PrimerCheckoutPaymentMethodData';
4
- import type { PrimerClientSession } from './PrimerClientSession';
5
- import type { PrimerPaymentMethodTokenData } from './PrimerPaymentMethodTokenData';
6
- import type { PrimerError } from './PrimerError';
7
- import type { IPrimerTheme } from './PrimerTheme';
8
- import type { PrimerPaymentCreationHandler, PrimerTokenizationHandler, PrimerResumeHandler, PrimerErrorHandler, PrimerHeadlessUniversalCheckoutResumeHandler } from './PrimerHandlers';
9
- export type PrimerSettings = IPrimerSettings;
10
- interface IPrimerSettings {
11
- paymentHandling?: 'AUTO' | 'MANUAL';
12
- localeData?: IPrimerLocaleData;
13
- paymentMethodOptions?: IPrimerPaymentMethodOptions;
14
- uiOptions?: IPrimerUIOptions;
15
- debugOptions?: IPrimerDebugOptions;
16
- clientSessionCachingEnabled?: boolean;
17
- apiVersion?: PrimerApiVersion;
18
- onBeforeClientSessionUpdate?: () => void;
19
- onClientSessionUpdate?: (clientSession: PrimerClientSession) => void;
20
- onBeforePaymentCreate?: (checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void;
21
- onCheckoutComplete?: (checkoutData: PrimerCheckoutData) => void;
22
- onTokenizeSuccess?: (paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerTokenizationHandler) => void;
23
- onResumeSuccess?: (resumeToken: string, handler: PrimerResumeHandler) => void;
24
- onResumePending?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
25
- onCheckoutReceivedAdditionalInfo?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
26
- onError?: (error: PrimerError, checkoutData: PrimerCheckoutData | null, handler: PrimerErrorHandler | undefined) => void;
27
- onDismiss?: () => void;
28
- headlessUniversalCheckoutCallbacks?: {
29
- onAvailablePaymentMethodsLoad?: (availablePaymentMethods: any[]) => void;
30
- onTokenizationStart?: (paymentMethodType: string) => void;
31
- onTokenizationSuccess?: (paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void;
32
- onCheckoutResume?: (resumeToken: string, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void;
33
- onCheckoutPending?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
34
- onCheckoutAdditionalInfo?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
35
- onError?: (error: PrimerError, checkoutData: PrimerCheckoutData | null) => void;
36
- onCheckoutComplete?: (checkoutData: PrimerCheckoutData) => void;
37
- onBeforeClientSessionUpdate?: () => void;
38
- onClientSessionUpdate?: (clientSession: PrimerClientSession) => void;
39
- onBeforePaymentCreate?: (checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void;
40
- onPreparationStart?: (paymentMethodType: string) => void;
41
- onPaymentMethodShow?: (paymentMethodType: string) => void;
42
- };
43
- }
44
- interface IPrimerLocaleData {
45
- languageCode?: string;
46
- localeCode?: string;
47
- }
48
- interface IPrimerPaymentMethodOptions {
49
- iOS?: {
50
- urlScheme?: string;
51
- };
52
- android?: {
53
- redirectScheme?: string;
54
- };
55
- apayaOptions?: IPrimerApayaOptions;
56
- applePayOptions?: IPrimerApplePayOptions;
57
- /**
58
- * @obsoleted The IPrimerCardPaymentOptions is obsoleted on v.2.14.0
59
- */
60
- cardPaymentOptions?: IPrimerCardPaymentOptions;
61
- goCardlessOptions?: IPrimerGoCardlessOptions;
62
- googlePayOptions?: IPrimerGooglePayOptions;
63
- klarnaOptions?: IPrimerKlarnaOptions;
64
- threeDsOptions?: IPrimerThreeDsOptions;
65
- stripeOptions?: IPrimerStripeOptions;
66
- }
67
- interface IPrimerApayaOptions {
68
- webViewTitle: string;
69
- }
70
- interface IPrimerApplePayOptions {
71
- merchantIdentifier: string;
72
- /**
73
- * @deprecated Use Client Session API to provide merchant name value: https://primer.io/docs/payment-methods/apple-pay/direct-integration#prepare-the-client-session
74
- */
75
- merchantName?: string;
76
- /**
77
- * @deprecated Use BillingOptions to configure required billing fields.
78
- */
79
- isCaptureBillingAddressEnabled: boolean;
80
- /**
81
- * If you don't want to present the Apple Pay option when the device doesn't support it, set this to `false`.
82
- * Default value is `true`.
83
- */
84
- showApplePayForUnsupportedDevice?: boolean;
85
- /**
86
- * Due to reports about the Apple Pay flow not presenting because `canMakePayments(usingNetworks:)` was returning false
87
- * when there were no cards in the Wallet, we introduced this flag to continue supporting the old behavior.
88
- * Default value is `true`.
89
- */
90
- checkProvidedNetworks?: boolean;
91
- shippingOptions?: IShippingOptions;
92
- billingOptions?: IBillingOptions;
93
- }
94
- interface IShippingOptions {
95
- shippingContactFields?: RequiredContactField[];
96
- requireShippingMethod: boolean;
97
- }
98
- interface IBillingOptions {
99
- requiredBillingContactFields?: RequiredContactField[];
100
- }
101
- type RequiredContactField = 'name' | 'emailAddress' | 'phoneNumber' | 'postalAddress';
102
- interface IPrimerCardPaymentOptions {
103
- is3DSOnVaultingEnabled: boolean;
104
- }
105
- interface IPrimerGoCardlessOptions {
106
- businessName?: string;
107
- businessAddress?: string;
108
- }
109
- interface IPrimerGooglePayOptions {
110
- merchantName?: string;
111
- allowedCardNetworks?: string[];
112
- isCaptureBillingAddressEnabled?: boolean;
113
- isExistingPaymentMethodRequired?: boolean;
114
- shippingAddressParameters?: IPrimerGoogleShippingAddressParameters;
115
- requireShippingMethod?: boolean;
116
- emailAddressRequired?: boolean;
117
- buttonOptions?: IPrimerGooglePayButtonOptions;
118
- }
119
- interface IPrimerGooglePayButtonOptions {
120
- buttonType?: number;
121
- buttonTheme?: number;
122
- }
123
- interface IPrimerGoogleShippingAddressParameters {
124
- isPhoneNumberRequired?: boolean;
125
- }
126
- interface IPrimerKlarnaOptions {
127
- recurringPaymentDescription?: string;
128
- webViewTitle?: string;
129
- }
130
- export type PrimerAppearanceMode = 'SYSTEM' | 'LIGHT' | 'DARK';
131
- interface IPrimerUIOptions {
132
- isInitScreenEnabled?: boolean;
133
- isSuccessScreenEnabled?: boolean;
134
- isErrorScreenEnabled?: boolean;
135
- dismissalMechanism?: DismissalMechanism[];
136
- appearanceMode?: PrimerAppearanceMode;
137
- theme?: IPrimerTheme;
138
- cardFormUIOptions?: IPrimerCardFormUIOptions;
139
- }
140
- export type DismissalMechanism = 'gestures' | 'closeButton';
141
- interface IPrimerDebugOptions {
142
- is3DSSanityCheckEnabled?: boolean;
143
- }
144
- /**
145
- * Type representing the supported versions of the Primer API.
146
- */
147
- export type PrimerApiVersion = '2.3' | '2.4' | 'latest';
148
- interface IPrimerThreeDsOptions {
149
- iOS?: {
150
- threeDsAppRequestorUrl?: string;
151
- };
152
- android?: {
153
- threeDsAppRequestorUrl?: string;
154
- };
155
- }
156
- interface IPrimerStripeOptions {
157
- publishableKey?: string;
158
- mandateData?: IPrimerStripeTemplateMandateData | IPrimerFullMandateData;
159
- }
160
- interface IPrimerStripeMandateData {
161
- }
162
- interface IPrimerStripeTemplateMandateData extends IPrimerStripeMandateData {
163
- merchantName: string;
164
- }
165
- interface IPrimerFullMandateData extends IPrimerStripeMandateData {
166
- fullMandateText: string;
167
- fullMandateStringResourceName?: string;
168
- }
169
- interface IPrimerCardFormUIOptions {
170
- payButtonAddNewCard?: boolean;
171
- }
172
- export {};
173
- //# sourceMappingURL=PrimerSettings.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerSettings.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,mBAAmB,EACnB,kBAAkB,EAClB,4CAA4C,EAC7C,MAAM,kBAAkB,CAAC;AAE1B,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;AAE7C,UAAU,eAAe;IACvB,eAAe,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACpC,UAAU,CAAC,EAAE,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AgC,GAAG,sBAAsB,CAAC;CACzE;AAED,UAAU,wBAAwB;CAAG;AAErC,UAAU,gCAAiC,SAAQ,wBAAwB;IACzE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,sBAAuB,SAAQ,wBAAwB;IAC/D,eAAe,EAAE,MAAM,CAAC;IACxB,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC;AAID,UAAU,wBAAwB;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
@@ -1,24 +0,0 @@
1
- export type PrimerTheme = IPrimerTheme;
2
- export interface IPrimerTheme {
3
- colors?: ColorTheme;
4
- darkModeColors?: ColorTheme;
5
- }
6
- interface ColorTheme {
7
- mainColor?: IRgbaColor;
8
- contrastingColor?: IRgbaColor;
9
- background?: IRgbaColor;
10
- text?: IRgbaColor;
11
- contrastingText?: IRgbaColor;
12
- borders?: IRgbaColor;
13
- disabled?: IRgbaColor;
14
- error?: IRgbaColor;
15
- }
16
- export type RgbaColor = IRgbaColor;
17
- interface IRgbaColor {
18
- red: number;
19
- green: number;
20
- blue: number;
21
- alpha: number;
22
- }
23
- export {};
24
- //# sourceMappingURL=PrimerTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerTheme.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerTheme.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC;AACvC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,cAAc,CAAC,EAAE,UAAU,CAAC;CAC7B;AAED,UAAU,UAAU;IAClB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,UAAU,CAAC;CAIpB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AACnC,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,7 +0,0 @@
1
- export type PrimerValidationError = IPrimerValidationError;
2
- export interface IPrimerValidationError {
3
- errorId?: string;
4
- description?: string;
5
- diagnosticsId?: string;
6
- }
7
- //# sourceMappingURL=PrimerValidationError.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerValidationError.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerValidationError.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAE3D,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -1,6 +0,0 @@
1
- import { PrimerValidationError } from './PrimerValidationError';
2
- export type PrimerValidationErrorResult = IPrimerValidationErrorResult;
3
- export interface IPrimerValidationErrorResult {
4
- validationErrors: PrimerValidationError[];
5
- }
6
- //# sourceMappingURL=PrimerValidationErrorResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerValidationErrorResult.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerValidationErrorResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,2BAA2B,GAAG,4BAA4B,CAAC;AAEvE,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;CAC3C"}
@@ -1,11 +0,0 @@
1
- import { IPrimerPaymentInstrumentData, IPrimerThreeDSAuthenticationData } from './PrimerPaymentMethodTokenData';
2
- export type PrimerVaultedPaymentMethod = IPrimerVaultedPaymentMethod;
3
- export interface IPrimerVaultedPaymentMethod {
4
- id: string;
5
- analyticsId: string;
6
- paymentInstrumentType: string;
7
- paymentMethodType: string;
8
- paymentInstrumentData?: IPrimerPaymentInstrumentData;
9
- threeDSecureAuthentication?: IPrimerThreeDSAuthenticationData;
10
- }
11
- //# sourceMappingURL=PrimerVaultedPaymentMethod.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerVaultedPaymentMethod.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAEhH,MAAM,MAAM,0BAA0B,GAAG,2BAA2B,CAAC;AAErE,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,4BAA4B,CAAC;IACrD,0BAA0B,CAAC,EAAE,gCAAgC,CAAC;CAC/D"}
@@ -1,5 +0,0 @@
1
- export type PrimerVaultedPaymentMethodAdditionalData = IPrimerVaultedPaymentMethodAdditonalData;
2
- export interface IPrimerVaultedPaymentMethodAdditonalData {
3
- cvv: string;
4
- }
5
- //# sourceMappingURL=PrimerVaultedPaymentMethodAdditionalData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerVaultedPaymentMethodAdditionalData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethodAdditionalData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wCAAwC,GAAG,wCAAwC,CAAC;AAEhG,MAAM,WAAW,wCAAwC;IACvD,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -1,6 +0,0 @@
1
- import { PrimerVaultedPaymentMethod } from './PrimerVaultedPaymentMethod';
2
- export type PrimerVaultedPaymentMethodResult = IPrimerVaultedPaymentMethodResult;
3
- export interface IPrimerVaultedPaymentMethodResult {
4
- paymentMethods: PrimerVaultedPaymentMethod[];
5
- }
6
- //# sourceMappingURL=PrimerVaultedPaymentMethodResult.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PrimerVaultedPaymentMethodResult.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethodResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,MAAM,MAAM,gCAAgC,GAAG,iCAAiC,CAAC;AAEjF,MAAM,WAAW,iCAAiC;IAChD,cAAc,EAAE,0BAA0B,EAAE,CAAC;CAC9C"}
@@ -1,9 +0,0 @@
1
- export type RetailOutletsRetail = IRetailOutletsRetail;
2
- interface IRetailOutletsRetail {
3
- id: string;
4
- name: string;
5
- iconUrl: string;
6
- disabled: boolean;
7
- }
8
- export {};
9
- //# sourceMappingURL=RetailOutletsRetail.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RetailOutletsRetail.d.ts","sourceRoot":"","sources":["../../../src/models/RetailOutletsRetail.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -1,25 +0,0 @@
1
- import { NamedComponentValidatableData } from '../NamedComponentValidatableData';
2
- export type AchValidatableData = AchUserDetailsValidatableData;
3
- export type AchUserDetailsValidatableData = AchFirstName | AchLastName | AchEmailAddress;
4
- /**
5
- * A type representing representing the customer's first name.
6
- */
7
- export type AchFirstName = {
8
- validatableDataName: 'firstName';
9
- value: string;
10
- } & NamedComponentValidatableData;
11
- /**
12
- * A type representing representing the customer's last name.
13
- */
14
- export type AchLastName = {
15
- validatableDataName: 'lastName';
16
- value: string;
17
- } & NamedComponentValidatableData;
18
- /**
19
- * A type representing representing the customer's email address.
20
- */
21
- export type AchEmailAddress = {
22
- validatableDataName: 'emailAddress';
23
- value: string;
24
- } & NamedComponentValidatableData;
25
- //# sourceMappingURL=AchCollectableData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AchCollectableData.d.ts","sourceRoot":"","sources":["../../../../src/models/ach/AchCollectableData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAE/D,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,WAAW,GAAG,eAAe,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,mBAAmB,EAAE,WAAW,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,mBAAmB,EAAE,UAAU,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,mBAAmB,EAAE,cAAc,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC"}
@@ -1,28 +0,0 @@
1
- import { NamedComponentStep } from '../NamedComponentStep';
2
- export type AchStep = AchUserDetailsStep;
3
- export type AchUserDetailsStep = UserDetailsRetrieved | UserDetailsCollected;
4
- /**
5
- * A type representing the retrieved user details.
6
- */
7
- export type UserDetailsRetrieved = {
8
- stepName: 'userDetailsRetrieved';
9
- /**
10
- * The first name previously sent on client session creation.
11
- */
12
- firstName: string;
13
- /**
14
- * The last name previously sent on client session creation.
15
- */
16
- lastName: string;
17
- /**
18
- * The email address previously sent on client session creation.
19
- */
20
- emailAddress: string;
21
- } & NamedComponentStep;
22
- /**
23
- * A type representing the collected user details.
24
- */
25
- export type UserDetailsCollected = {
26
- stepName: 'userDetailsCollected';
27
- } & NamedComponentStep;
28
- //# sourceMappingURL=AchSteps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AchSteps.d.ts","sourceRoot":"","sources":["../../../../src/models/ach/AchSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEzC,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,sBAAsB,CAAC;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAAE,QAAQ,EAAE,sBAAsB,CAAA;CAAE,GAAG,kBAAkB,CAAC"}
@@ -1,23 +0,0 @@
1
- import { NamedComponentValidatableData } from '../NamedComponentValidatableData';
2
- export type BanksValidatableData = BankListFilter | BankId;
3
- /**
4
- * A type representing the bank list filter.
5
- */
6
- export type BankListFilter = {
7
- validatableDataName: 'bankListFilter';
8
- /**
9
- * The text to filter the bank list by.
10
- */
11
- text: string;
12
- } & NamedComponentValidatableData;
13
- /**
14
- * A type representing the id of the selected bank.
15
- */
16
- export type BankId = {
17
- validatableDataName: 'bankId';
18
- /**
19
- * The id of the selected bank.
20
- */
21
- id: string;
22
- } & NamedComponentValidatableData;
23
- //# sourceMappingURL=BanksCollectableData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BanksCollectableData.d.ts","sourceRoot":"","sources":["../../../../src/models/banks/BanksCollectableData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG,MAAM,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,mBAAmB,EAAE,gBAAgB,CAAC;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,mBAAmB,EAAE,QAAQ,CAAC;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,GAAG,6BAA6B,CAAC"}
@@ -1,20 +0,0 @@
1
- import { IssuingBank } from '../IssuingBank';
2
- import { NamedComponentStep } from '../NamedComponentStep';
3
- export type BanksStep = BanksLoading | BanksRetrieved;
4
- /**
5
- * A type representing the loading of the bank list.
6
- */
7
- export type BanksLoading = {
8
- stepName: 'banksLoading';
9
- } & NamedComponentStep;
10
- /**
11
- * A type representing the list of retrieved banks.
12
- */
13
- export type BanksRetrieved = {
14
- stepName: 'banksRetrieved';
15
- /**
16
- * The list of retrieved banks.
17
- */
18
- banks: IssuingBank[];
19
- } & NamedComponentStep;
20
- //# sourceMappingURL=BanksSteps.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BanksSteps.d.ts","sourceRoot":"","sources":["../../../../src/models/banks/BanksSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,cAAc,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,cAAc,CAAC;CAC1B,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,GAAG,kBAAkB,CAAC"}
@@ -1,24 +0,0 @@
1
- export type KlarnaPaymentCategory = IKlarnaPaymentCategory;
2
- /**
3
- * Interface representing a Klarna payment category.
4
- */
5
- interface IKlarnaPaymentCategory {
6
- /**
7
- * The identifier of the category.
8
- */
9
- identifier: string;
10
- /**
11
- * The name of the category.
12
- */
13
- name: string;
14
- /**
15
- * The descriptive asset url of the category.
16
- */
17
- descriptiveAssetUrl: string;
18
- /**
19
- * The standard asset url of the category.
20
- */
21
- standardAssetUrl: string;
22
- }
23
- export {};
24
- //# sourceMappingURL=KlarnaPaymentCategory.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KlarnaPaymentCategory.d.ts","sourceRoot":"","sources":["../../../../src/models/klarna/KlarnaPaymentCategory.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAE3D;;GAEG;AACH,UAAU,sBAAsB;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}