@venturialstd/kira 0.0.1

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 (66) hide show
  1. package/README.md +213 -0
  2. package/dist/clients/kira.client.d.ts +14 -0
  3. package/dist/clients/kira.client.d.ts.map +1 -0
  4. package/dist/clients/kira.client.js +49 -0
  5. package/dist/clients/kira.client.js.map +1 -0
  6. package/dist/constants/index.d.ts +4 -0
  7. package/dist/constants/index.d.ts.map +1 -0
  8. package/dist/constants/index.js +20 -0
  9. package/dist/constants/index.js.map +1 -0
  10. package/dist/constants/kira-payment.constant.d.ts +211 -0
  11. package/dist/constants/kira-payment.constant.d.ts.map +1 -0
  12. package/dist/constants/kira-payment.constant.js +236 -0
  13. package/dist/constants/kira-payment.constant.js.map +1 -0
  14. package/dist/constants/kira.constant.d.ts +11 -0
  15. package/dist/constants/kira.constant.d.ts.map +1 -0
  16. package/dist/constants/kira.constant.js +16 -0
  17. package/dist/constants/kira.constant.js.map +1 -0
  18. package/dist/constants/kira.settings.constant.d.ts +7 -0
  19. package/dist/constants/kira.settings.constant.d.ts.map +1 -0
  20. package/dist/constants/kira.settings.constant.js +10 -0
  21. package/dist/constants/kira.settings.constant.js.map +1 -0
  22. package/dist/entities/index.d.ts +2 -0
  23. package/dist/entities/index.d.ts.map +1 -0
  24. package/dist/entities/index.js +18 -0
  25. package/dist/entities/index.js.map +1 -0
  26. package/dist/entities/kira-payment-link.entity.d.ts +26 -0
  27. package/dist/entities/kira-payment-link.entity.d.ts.map +1 -0
  28. package/dist/entities/kira-payment-link.entity.js +177 -0
  29. package/dist/entities/kira-payment-link.entity.js.map +1 -0
  30. package/dist/index.d.ts +12 -0
  31. package/dist/index.d.ts.map +1 -0
  32. package/dist/index.js +28 -0
  33. package/dist/index.js.map +1 -0
  34. package/dist/kira.module.d.ts +3 -0
  35. package/dist/kira.module.d.ts.map +1 -0
  36. package/dist/kira.module.js +33 -0
  37. package/dist/kira.module.js.map +1 -0
  38. package/dist/services/index.d.ts +4 -0
  39. package/dist/services/index.d.ts.map +1 -0
  40. package/dist/services/index.js +20 -0
  41. package/dist/services/index.js.map +1 -0
  42. package/dist/services/kira-api.service.d.ts +21 -0
  43. package/dist/services/kira-api.service.d.ts.map +1 -0
  44. package/dist/services/kira-api.service.js +149 -0
  45. package/dist/services/kira-api.service.js.map +1 -0
  46. package/dist/services/kira-payment-link.service.d.ts +17 -0
  47. package/dist/services/kira-payment-link.service.d.ts.map +1 -0
  48. package/dist/services/kira-payment-link.service.js +94 -0
  49. package/dist/services/kira-payment-link.service.js.map +1 -0
  50. package/dist/settings/kira.settings.d.ts +3 -0
  51. package/dist/settings/kira.settings.d.ts.map +1 -0
  52. package/dist/settings/kira.settings.js +55 -0
  53. package/dist/settings/kira.settings.js.map +1 -0
  54. package/dist/types/index.d.ts +3 -0
  55. package/dist/types/index.d.ts.map +1 -0
  56. package/dist/types/index.js +19 -0
  57. package/dist/types/index.js.map +1 -0
  58. package/dist/types/kira-api.types.d.ts +82 -0
  59. package/dist/types/kira-api.types.d.ts.map +1 -0
  60. package/dist/types/kira-api.types.js +3 -0
  61. package/dist/types/kira-api.types.js.map +1 -0
  62. package/dist/types/kira.config.type.d.ts +10 -0
  63. package/dist/types/kira.config.type.d.ts.map +1 -0
  64. package/dist/types/kira.config.type.js +3 -0
  65. package/dist/types/kira.config.type.js.map +1 -0
  66. package/package.json +65 -0
package/README.md ADDED
@@ -0,0 +1,213 @@
1
+ # @venturialstd/kira
2
+
3
+ A comprehensive NestJS module for integrating with Kira Financial AI payment provider API.
4
+
5
+ ## Features
6
+
7
+ - **Authentication**: Automatic token management with caching
8
+ - **Payment Links**: Create payment links for various payment methods
9
+ - **Real-time Settings**: Dynamic configuration via SettingsService
10
+
11
+ ## Installation
12
+
13
+ ```bash
14
+ npm install @venturialstd/kira
15
+ ```
16
+
17
+ ## Usage
18
+
19
+ ### Import the Module
20
+
21
+ ```typescript
22
+ import { Module } from '@nestjs/common';
23
+ import { KiraModule } from '@venturialstd/kira';
24
+
25
+ @Module({
26
+ imports: [KiraModule],
27
+ })
28
+ export class AppModule {}
29
+ ```
30
+
31
+ ### Configure Settings
32
+
33
+ Before using the module, configure Kira API settings through the Settings module:
34
+
35
+ - `GLOBAL:KIRA:GENERAL:API_KEY` - Your Kira API key (required, used in x-api-key header)
36
+ - `GLOBAL:KIRA:GENERAL:CLIENT_ID` - Client ID for authentication (required)
37
+ - `GLOBAL:KIRA:GENERAL:CLIENT_SECRET` - Client secret (password) for authentication (required)
38
+ - `GLOBAL:KIRA:GENERAL:BASE_URL` - Kira API base URL (optional, defaults to `https://api.balampay.com/sandbox`)
39
+
40
+ ### Use the Services
41
+
42
+ #### Using Default Credentials (from Settings)
43
+
44
+ ```typescript
45
+ import { Injectable } from '@nestjs/common';
46
+ import { KiraPaymentLinkService } from '@venturialstd/kira';
47
+
48
+ @Injectable()
49
+ export class PaymentService {
50
+ constructor(private readonly kiraPaymentLinkService: KiraPaymentLinkService) {}
51
+
52
+ async createPaymentLink() {
53
+ // Uses credentials from Settings module
54
+ const paymentLink = await this.kiraPaymentLinkService.createPaymentLink(
55
+ null, // null config uses default settings
56
+ {
57
+ amount: 100.00,
58
+ currency: 'USD',
59
+ country: 'US',
60
+ payout_method: 'bank_transfer',
61
+ description: 'Payment for services',
62
+ },
63
+ );
64
+
65
+ return paymentLink;
66
+ }
67
+ }
68
+ ```
69
+
70
+ #### Using Custom Credentials
71
+
72
+ ```typescript
73
+ import { Injectable } from '@nestjs/common';
74
+ import { KiraPaymentLinkService, KiraConfig } from '@venturialstd/kira';
75
+
76
+ @Injectable()
77
+ export class PaymentService {
78
+ constructor(private readonly kiraPaymentLinkService: KiraPaymentLinkService) {}
79
+
80
+ async createPaymentLinkWithCustomCredentials() {
81
+ // Use custom credentials for this specific call
82
+ const customConfig: KiraConfig = {
83
+ auth: {
84
+ apiKey: 'your-api-key',
85
+ clientId: 'your-client-id',
86
+ clientSecret: 'your-client-secret',
87
+ },
88
+ baseUrl: 'https://api.balampay.com/sandbox', // optional, overrides default
89
+ };
90
+
91
+ const paymentLink = await this.kiraPaymentLinkService.createPaymentLink(
92
+ customConfig,
93
+ {
94
+ amount: 100.00,
95
+ currency: 'USD',
96
+ country: 'US',
97
+ payout_method: 'bank_transfer',
98
+ description: 'Payment for services',
99
+ recipient_name: 'John Doe',
100
+ recipient_email: 'john@example.com',
101
+ callback_url: 'https://yourapp.com/webhook',
102
+ },
103
+ );
104
+
105
+ return paymentLink;
106
+ }
107
+ }
108
+ ```
109
+
110
+ ## API Reference
111
+
112
+ ### KiraPaymentLinkService
113
+
114
+ #### `createPaymentLink(config, request, correlationId?)`
115
+
116
+ Creates a payment link using the Kira API.
117
+
118
+ **Parameters:**
119
+ - `config: KiraConfig | null` - Optional custom credentials. Pass `null` to use default settings.
120
+ - `request: KiraCreatePaymentLinkRequest` - Payment link creation request
121
+ - `correlationId?: string` - Optional correlation ID for tracking
122
+
123
+ **Returns:** `Promise<KiraCreatePaymentLinkResponse>`
124
+
125
+ **Request Fields:**
126
+ - `first_name: string` - Recipient first name (required)
127
+ - `middle_name?: string` - Recipient middle name (optional)
128
+ - `last_name: string` - Recipient last name (required)
129
+ - `country_code: 'MX' | 'US' | 'SV' | 'GT'` - Country code (required)
130
+ - `phone: string` - Phone number with country code, e.g., "+1234567890" (required)
131
+ - `email: string` - Recipient email (required)
132
+ - `address: string` - Recipient address (required)
133
+ - `reference: string` - Reference UUID (required)
134
+ - `amount: number` - Payment amount (required)
135
+ - `payin: 'card' | 'cash'` - Payment method (required)
136
+ - `fixed_amount: boolean` - Whether amount is fixed (required)
137
+ - `max_amount: number` - Maximum amount allowed (required)
138
+ - `recipient_type: 'business' | 'person'` - Recipient type (required)
139
+ - `acct_type: 'US' | 'SV' | 'GT' | 'MX' | 'WALLET'` - Account type (required)
140
+ - `acct_info: KiraAcctInfoUS | KiraAcctInfoSV | KiraAcctInfoGT | KiraAcctInfoMX | KiraAcctInfoWALLET` - Account information (required, structure varies by acct_type)
141
+ - `client_uuid?: string` - Client UUID (automatically added by service)
142
+
143
+ **Response Fields:**
144
+ - `payment_link: string` - URL to the payment link
145
+ - `txn_uuid: string` - Transaction UUID
146
+ - `status: string` - Payment status
147
+
148
+ ### KiraApiService
149
+
150
+ #### `authenticate(config?)`
151
+
152
+ Authenticates with Kira API and returns access token. Token is automatically cached until expiration (per credentials).
153
+
154
+ **Parameters:**
155
+ - `config: KiraConfig | null` - Optional custom credentials. Pass `null` to use default settings.
156
+
157
+ **Returns:** `Promise<string>`
158
+
159
+ #### `makeApiCall<T>(operationType, endpoint, method, body?, config?, correlationId?)`
160
+
161
+ Makes an authenticated API call to Kira.
162
+
163
+ **Parameters:**
164
+ - `operationType: KiraApiOperationType` - Type of operation
165
+ - `endpoint: string` - API endpoint
166
+ - `method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE'` - HTTP method
167
+ - `body?: Record<string, unknown>` - Request body
168
+ - `config: KiraConfig | null` - Optional custom credentials. Pass `null` to use default settings.
169
+ - `correlationId?: string` - Optional correlation ID
170
+
171
+ **Returns:** `Promise<T>`
172
+
173
+ ### KiraConfig Interface
174
+
175
+ ```typescript
176
+ interface KiraConfig {
177
+ auth: {
178
+ apiKey: string;
179
+ clientId: string;
180
+ clientSecret: string;
181
+ };
182
+ baseUrl?: string; // Optional, overrides default base URL
183
+ }
184
+ ```
185
+
186
+ ## Authentication
187
+
188
+ The module automatically handles authentication with Kira API. The access token is cached and refreshed when needed. The authentication flow:
189
+
190
+ 1. Sends `client_id` and `password` (client secret) in the request body
191
+ 2. Includes `x-api-key` header with the API key
192
+ 3. Receives JWT access token in response
193
+ 4. Caches token until expiration (with 1 minute buffer)
194
+
195
+ ## Payment Link Creation
196
+
197
+ Payment links can be created with various parameters depending on the country and payout method. Required fields:
198
+
199
+ - `amount`: Payment amount
200
+ - `currency`: Currency code (e.g., 'USD', 'EUR')
201
+ - `country`: Country code (e.g., 'US', 'GB')
202
+ - `payout_method`: Payout method type
203
+
204
+ Optional fields:
205
+ - `description`: Payment description
206
+ - `reference`: Reference identifier
207
+ - `metadata`: Additional metadata
208
+
209
+ ## References
210
+
211
+ - [Kira API Documentation](https://kira-financial-ai.readme.io/)
212
+ - [Authentication Endpoint](https://kira-financial-ai.readme.io/reference/post_auth)
213
+ - [Payment Link Endpoint](https://kira-financial-ai.readme.io/reference/post_v1-payment-link)
@@ -0,0 +1,14 @@
1
+ import { SettingsService } from '@venturialstd/core';
2
+ import { KiraConfig } from '../types/kira.config.type';
3
+ export interface KiraClientCredentials {
4
+ apiKey: string;
5
+ clientId: string;
6
+ password: string;
7
+ baseUrl?: string;
8
+ }
9
+ export declare class KiraClient {
10
+ private readonly settingsService;
11
+ constructor(settingsService: SettingsService);
12
+ getCredentials(config?: KiraConfig | null): Promise<KiraClientCredentials>;
13
+ }
14
+ //# sourceMappingURL=kira.client.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kira.client.d.ts","sourceRoot":"","sources":["../../src/clients/kira.client.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAEvD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBACa,UAAU;IACT,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,eAAe;IAEvD,cAAc,CAAC,MAAM,GAAE,UAAU,GAAG,IAAW,GAAG,OAAO,CAAC,qBAAqB,CAAC;CAwBvF"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.KiraClient = void 0;
13
+ const common_1 = require("@nestjs/common");
14
+ const core_1 = require("@venturialstd/core");
15
+ const kira_settings_constant_1 = require("../constants/kira.settings.constant");
16
+ let KiraClient = class KiraClient {
17
+ settingsService;
18
+ constructor(settingsService) {
19
+ this.settingsService = settingsService;
20
+ }
21
+ async getCredentials(config = null) {
22
+ if (config && config.auth) {
23
+ return {
24
+ apiKey: config.auth.apiKey,
25
+ clientId: config.auth.clientId,
26
+ password: config.auth.password,
27
+ baseUrl: config.baseUrl,
28
+ };
29
+ }
30
+ const kiraSettings = await this.settingsService.getManyWithDefaults([
31
+ kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_API_KEY,
32
+ kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_CLIENT_ID,
33
+ kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_PASSWORD,
34
+ kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_BASE_URL,
35
+ ]);
36
+ return {
37
+ apiKey: kiraSettings[kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_API_KEY],
38
+ clientId: kiraSettings[kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_CLIENT_ID],
39
+ password: kiraSettings[kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_PASSWORD],
40
+ baseUrl: kiraSettings[kira_settings_constant_1.KIRA_SETTING_KEYS.GENERAL_BASE_URL],
41
+ };
42
+ }
43
+ };
44
+ exports.KiraClient = KiraClient;
45
+ exports.KiraClient = KiraClient = __decorate([
46
+ (0, common_1.Injectable)(),
47
+ __metadata("design:paramtypes", [core_1.SettingsService])
48
+ ], KiraClient);
49
+ //# sourceMappingURL=kira.client.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kira.client.js","sourceRoot":"","sources":["../../src/clients/kira.client.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,6CAAqD;AAErD,gFAAwE;AAWjE,IAAM,UAAU,GAAhB,MAAM,UAAU;IACQ;IAA7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAEjE,KAAK,CAAC,cAAc,CAAC,SAA4B,IAAI;QACnD,IAAI,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;YAC1B,OAAO;gBACL,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM;gBAC1B,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ;gBAC9B,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ;gBAC9B,OAAO,EAAE,MAAM,CAAC,OAAO;aACxB,CAAC;QACJ,CAAC;QAED,MAAM,YAAY,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,mBAAmB,CAAC;YAClE,0CAAiB,CAAC,eAAe;YACjC,0CAAiB,CAAC,iBAAiB;YACnC,0CAAiB,CAAC,gBAAgB;YAClC,0CAAiB,CAAC,gBAAgB;SACnC,CAAC,CAAC;QAEH,OAAO;YACL,MAAM,EAAE,YAAY,CAAC,0CAAiB,CAAC,eAAe,CAAC;YACvD,QAAQ,EAAE,YAAY,CAAC,0CAAiB,CAAC,iBAAiB,CAAC;YAC3D,QAAQ,EAAE,YAAY,CAAC,0CAAiB,CAAC,gBAAgB,CAAC;YAC1D,OAAO,EAAE,YAAY,CAAC,0CAAiB,CAAC,gBAAgB,CAAC;SAC1D,CAAC;IACJ,CAAC;CACF,CAAA;AA3BY,gCAAU;qBAAV,UAAU;IADtB,IAAA,mBAAU,GAAE;qCAEmC,sBAAe;GADlD,UAAU,CA2BtB"}
@@ -0,0 +1,4 @@
1
+ export * from './kira.constant';
2
+ export * from './kira.settings.constant';
3
+ export * from './kira-payment.constant';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./kira.constant"), exports);
18
+ __exportStar(require("./kira.settings.constant"), exports);
19
+ __exportStar(require("./kira-payment.constant"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/constants/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,2DAAyC;AACzC,0DAAwC"}
@@ -0,0 +1,211 @@
1
+ export declare enum KiraCountryCode {
2
+ MX = "MX",
3
+ US = "US",
4
+ SV = "SV",
5
+ GT = "GT"
6
+ }
7
+ export declare enum KiraPayin {
8
+ CARD = "card",
9
+ CASH = "cash"
10
+ }
11
+ export declare enum KiraRecipientType {
12
+ BUSINESS = "business",
13
+ PERSON = "person"
14
+ }
15
+ export declare enum KiraAcctType {
16
+ US = "US",
17
+ SV = "SV",
18
+ GT = "GT",
19
+ MX = "MX",
20
+ WALLET = "WALLET"
21
+ }
22
+ export declare enum KiraStatus {
23
+ INIT = "INIT",
24
+ CREATED = "CREATED",
25
+ PROCESSING = "PROCESSING",
26
+ FAILED = "FAILED",
27
+ DEPOSITED = "DEPOSITED",
28
+ PENDING = "PENDING",
29
+ EXPIRED = "EXPIRED",
30
+ CANCELLED = "CANCELLED",
31
+ VOIDED = "VOIDED"
32
+ }
33
+ export declare enum KiraAcctInfoAcctTypeUS {
34
+ USD = "USD"
35
+ }
36
+ export declare enum KiraAcctInfoTypeUS {
37
+ CHECKING = "checking",
38
+ SAVINGS = "savings"
39
+ }
40
+ export declare enum KiraAcctInfoDocTypeUS {
41
+ DNI = "DNI",
42
+ PASSPORT = "PASSPORT"
43
+ }
44
+ export declare enum KiraAcctInfoDocCountryCodeUS {
45
+ US = "US"
46
+ }
47
+ export declare enum KiraAcctInfoAcctTypeSV {
48
+ SVUSD = "SVUSD"
49
+ }
50
+ export declare enum KiraAcctInfoDocTypeSV {
51
+ DNI = "DNI",
52
+ PASSPORT = "PASSPORT"
53
+ }
54
+ export declare enum KiraAcctInfoDocCountryCodeSV {
55
+ SV = "SV"
56
+ }
57
+ export declare enum KiraAcctInfoAcctTypeGT {
58
+ GTQ = "GTQ"
59
+ }
60
+ export declare enum KiraAcctInfoDocTypeGT {
61
+ PASSPORT = "PASSPORT"
62
+ }
63
+ export declare enum KiraAcctInfoDocCountryCodeGT {
64
+ GT = "GT"
65
+ }
66
+ export declare enum KiraAcctInfoAcctTypeMX {
67
+ SPEI = "SPEI"
68
+ }
69
+ export declare enum KiraAcctInfoDocTypeMX {
70
+ PASSPORT = "PASSPORT",
71
+ RFC = "RFC",
72
+ INE = "INE",
73
+ CURP = "CURP"
74
+ }
75
+ export declare enum KiraAcctInfoDocCountryCodeMX {
76
+ MX = "MX"
77
+ }
78
+ export declare enum KiraAcctInfoAcctTypeWALLET {
79
+ WALLET = "WALLET"
80
+ }
81
+ export declare enum KiraAcctInfoNetworkWALLET {
82
+ SOLANA = "SOLANA",
83
+ POLYGON = "POLYGON"
84
+ }
85
+ export declare enum KiraAcctInfoDocTypeWALLET {
86
+ DRIVER_LICENSE = "DRIVER_LICENSE",
87
+ PASSPORT = "PASSPORT",
88
+ INE = "INE",
89
+ NUIP = "NUIP",
90
+ CUIL = "CUIL",
91
+ CPF = "CPF",
92
+ RUT = "RUT",
93
+ CI = "CI",
94
+ RN = "RN",
95
+ RUC = "RUC",
96
+ DNI = "DNI",
97
+ DPI = "DPI",
98
+ DUI = "DUI",
99
+ RFC = "RFC",
100
+ NATIONAL_ID = "NATIONAL_ID"
101
+ }
102
+ export declare enum KiraAcctInfoDocCountryCodeWALLET {
103
+ AE = "AE",
104
+ AG = "AG",
105
+ AI = "AI",
106
+ AM = "AM",
107
+ AO = "AO",
108
+ AR = "AR",
109
+ AT = "AT",
110
+ AU = "AU",
111
+ AW = "AW",
112
+ AZ = "AZ",
113
+ BB = "BB",
114
+ BE = "BE",
115
+ BJ = "BJ",
116
+ BL = "BL",
117
+ BO = "BO",
118
+ BQ = "BQ",
119
+ BR = "BR",
120
+ BS = "BS",
121
+ BZ = "BZ",
122
+ CA = "CA",
123
+ CH = "CH",
124
+ CI = "CI",
125
+ CL = "CL",
126
+ CM = "CM",
127
+ CN = "CN",
128
+ CO = "CO",
129
+ CR = "CR",
130
+ CW = "CW",
131
+ CY = "CY",
132
+ CZ = "CZ",
133
+ DE = "DE",
134
+ DK = "DK",
135
+ DM = "DM",
136
+ DO = "DO",
137
+ EC = "EC",
138
+ EG = "EG",
139
+ ES = "ES",
140
+ FI = "FI",
141
+ FJ = "FJ",
142
+ FR = "FR",
143
+ GB = "GB",
144
+ GD = "GD",
145
+ GE = "GE",
146
+ GH = "GH",
147
+ GP = "GP",
148
+ GR = "GR",
149
+ GT = "GT",
150
+ GY = "GY",
151
+ HN = "HN",
152
+ HR = "HR",
153
+ HT = "HT",
154
+ ID = "ID",
155
+ IE = "IE",
156
+ IL = "IL",
157
+ IN = "IN",
158
+ IS = "IS",
159
+ IT = "IT",
160
+ JM = "JM",
161
+ JO = "JO",
162
+ JP = "JP",
163
+ KG = "KG",
164
+ KN = "KN",
165
+ KY = "KY",
166
+ LC = "LC",
167
+ LK = "LK",
168
+ MA = "MA",
169
+ MC = "MC",
170
+ MQ = "MQ",
171
+ MS = "MS",
172
+ MT = "MT",
173
+ MX = "MX",
174
+ NG = "NG",
175
+ NI = "NI",
176
+ NL = "NL",
177
+ NO = "NO",
178
+ NZ = "NZ",
179
+ OM = "OM",
180
+ PA = "PA",
181
+ PE = "PE",
182
+ PH = "PH",
183
+ PK = "PK",
184
+ PL = "PL",
185
+ PT = "PT",
186
+ PY = "PY",
187
+ QA = "QA",
188
+ RO = "RO",
189
+ RW = "RW",
190
+ SA = "SA",
191
+ SE = "SE",
192
+ SG = "SG",
193
+ SM = "SM",
194
+ SN = "SN",
195
+ SR = "SR",
196
+ SV = "SV",
197
+ SX = "SX",
198
+ TC = "TC",
199
+ TN = "TN",
200
+ TW = "TW",
201
+ TZ = "TZ",
202
+ UG = "UG",
203
+ US = "US",
204
+ UY = "UY",
205
+ VC = "VC",
206
+ VE = "VE",
207
+ VG = "VG",
208
+ ZA = "ZA",
209
+ ZM = "ZM"
210
+ }
211
+ //# sourceMappingURL=kira-payment.constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kira-payment.constant.d.ts","sourceRoot":"","sources":["../../src/constants/kira-payment.constant.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV;AAED,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,IAAI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