monime-package 1.1.3 → 1.1.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.
package/dist/index.d.mts CHANGED
@@ -1,3 +1,16 @@
1
+ declare class MonimeError extends Error {
2
+ readonly status?: number;
3
+ readonly requestId?: string;
4
+ readonly details?: unknown;
5
+ constructor(message: string, status?: number, requestId?: string, details?: unknown);
6
+ }
7
+ declare class MonimeAuthenticationError extends MonimeError {
8
+ constructor(message?: string);
9
+ }
10
+ declare class MonimeValidationError extends MonimeError {
11
+ constructor(message: string, details?: unknown);
12
+ }
13
+
1
14
  interface ClientConfig {
2
15
  monimeSpaceId: string;
3
16
  accessToken: string;
@@ -10,10 +23,10 @@ interface Pagination {
10
23
  interface Result<T> {
11
24
  data?: T;
12
25
  success: boolean;
13
- error?: Error;
26
+ error?: Error | MonimeError;
14
27
  }
15
28
 
16
- interface AllCheckout {
29
+ interface ListCheckoutsResponse {
17
30
  result: CheckoutSession[];
18
31
  Pagination: Pagination;
19
32
  }
@@ -34,7 +47,7 @@ interface CheckoutSession {
34
47
  createTime: string;
35
48
  ownershipGraph: OwnershipGraph$4;
36
49
  }
37
- interface OneCheckout {
50
+ interface RetrieveCheckoutResponse {
38
51
  id: string;
39
52
  status: string;
40
53
  name: string;
@@ -51,7 +64,7 @@ interface OneCheckout {
51
64
  createTime: string;
52
65
  ownershipGraph: OwnershipGraph$4;
53
66
  }
54
- interface CreateCheckout {
67
+ interface CreateCheckoutResponse {
55
68
  id: string;
56
69
  status: string;
57
70
  name: string;
@@ -165,14 +178,7 @@ interface Price {
165
178
  value: number;
166
179
  }
167
180
 
168
- declare function CheckoutSessionAPI(config: ClientConfig): {
169
- create: (name: string, amount: number, quantity: number, successUrl: string, cancelUrl: string, description?: string, financialAccountId?: string, primaryColor?: string, images?: string[]) => Promise<Result<CreateCheckout>>;
170
- get: () => Promise<Result<AllCheckout>>;
171
- getOne: (checkoutId: string) => Promise<Result<OneCheckout>>;
172
- delete: (checkoutId: string) => Promise<Result<OneCheckout>>;
173
- };
174
-
175
- interface CreateFinancialAccount {
181
+ interface CreateFinancialAccountResponse {
176
182
  id: string;
177
183
  uvan: string;
178
184
  name: string;
@@ -183,7 +189,7 @@ interface CreateFinancialAccount {
183
189
  createTime: string;
184
190
  updateTime: string;
185
191
  }
186
- interface GetFinancialAccount {
192
+ interface RetrieveFinancialAccountResponse {
187
193
  id: string;
188
194
  uvan: string;
189
195
  name: string;
@@ -194,7 +200,7 @@ interface GetFinancialAccount {
194
200
  createTime: string;
195
201
  updateTime: string;
196
202
  }
197
- interface AllFinancialAccount {
203
+ interface ListFinancialAccountsResponse {
198
204
  result: FinancialAccount$1[];
199
205
  pagination: Pagination;
200
206
  }
@@ -231,67 +237,7 @@ interface Available {
231
237
  value: number;
232
238
  }
233
239
 
234
- interface BankFeature {
235
- canPayTo?: boolean;
236
- canPayFrom?: boolean;
237
- canVerifyAccount?: boolean;
238
- schemes?: string[];
239
- metadata: Record<string, unknown>;
240
- }
241
- interface BankFeatureSet {
242
- payout: BankFeature;
243
- payment: BankFeature;
244
- kycVerification: BankFeature;
245
- }
246
- interface Bank {
247
- providerId: string;
248
- name: string;
249
- country: string;
250
- status: {
251
- active: boolean;
252
- };
253
- featureSet: BankFeatureSet;
254
- createTime: string;
255
- updateTime: string;
256
- }
257
- interface ListBanksResponse {
258
- result: Bank[];
259
- pagination: Pagination;
260
- }
261
- interface GetBankResponse extends Bank {
262
- }
263
-
264
- interface MomoFeature {
265
- canPayTo?: boolean;
266
- canPayFrom?: boolean;
267
- canVerifyAccount?: boolean;
268
- schemes?: string[];
269
- metadata: Record<string, unknown>;
270
- }
271
- interface MomoFeatureSet {
272
- payout: MomoFeature;
273
- payment: MomoFeature;
274
- kycVerification: MomoFeature;
275
- }
276
- interface Momo {
277
- providerId: string;
278
- name: string;
279
- country: string;
280
- status: {
281
- active: boolean;
282
- };
283
- featureSet: MomoFeatureSet;
284
- createTime: string;
285
- updateTime: string;
286
- }
287
- interface ListMomosResponse {
288
- result: Momo[];
289
- pagination: Pagination;
290
- }
291
- interface GetMomoResponse extends Momo {
292
- }
293
-
294
- interface GetTransaction {
240
+ interface RetrieveTransactionResponse {
295
241
  id: string;
296
242
  type: string;
297
243
  amount: Amount$3;
@@ -302,7 +248,7 @@ interface GetTransaction {
302
248
  originatingFee: OriginatingFee;
303
249
  ownershipGraph: OwnershipGraph$3;
304
250
  }
305
- interface AllTransaction {
251
+ interface ListTransactionsResponse {
306
252
  result: Transaction[];
307
253
  pagination: Pagination;
308
254
  }
@@ -378,7 +324,7 @@ interface Amount$3 {
378
324
  value: number;
379
325
  }
380
326
 
381
- interface CreateInternalTransfer {
327
+ interface CreateInternalTransferResponse {
382
328
  id: string;
383
329
  status: string;
384
330
  amount: Amount$2;
@@ -391,7 +337,7 @@ interface CreateInternalTransfer {
391
337
  createTime: string;
392
338
  updateTime: string;
393
339
  }
394
- interface AllInternalTransfers {
340
+ interface ListInternalTransfersResponse {
395
341
  result: Transfer[];
396
342
  pagination: Pagination;
397
343
  }
@@ -408,7 +354,7 @@ interface Transfer {
408
354
  createTime: string;
409
355
  updateTime: string;
410
356
  }
411
- interface InternalTransfer {
357
+ interface RetrieveInternalTransferResponse {
412
358
  id: string;
413
359
  status: string;
414
360
  amount: Amount$2;
@@ -524,16 +470,16 @@ interface Payment {
524
470
  };
525
471
  metadata: Record<string, unknown> | null;
526
472
  }
527
- interface GetPayment extends Payment {
473
+ interface RetrievePaymentResponse extends Payment {
528
474
  }
529
- interface ListPayments {
475
+ interface ListPaymentsResponse {
530
476
  result: Payment[];
531
477
  pagination: Pagination;
532
478
  }
533
- interface PatchPayment extends Payment {
479
+ interface UpdatePaymentResponse extends Payment {
534
480
  }
535
481
 
536
- interface CreatePaymentCode {
482
+ interface CreatePaymentCodeResponse {
537
483
  id: string;
538
484
  mode: string;
539
485
  status: string;
@@ -564,7 +510,7 @@ interface CreatePaymentCode {
564
510
  updateTime: string;
565
511
  ownershipGraph: OwnershipGraph$1;
566
512
  }
567
- interface GetAllPaymentCode {
513
+ interface ListPaymentCodesResponse {
568
514
  result: PaymentCode[];
569
515
  pagination: Pagination;
570
516
  }
@@ -588,7 +534,7 @@ interface PaymentCode {
588
534
  updateTime: string;
589
535
  ownershipGraph: OwnershipGraph$1;
590
536
  }
591
- interface GetOne {
537
+ interface RetrievePaymentCodeResponse {
592
538
  id: string;
593
539
  mode: string;
594
540
  status: string;
@@ -719,7 +665,7 @@ type DestinationOption = {
719
665
  providerId: "w01" | "w02";
720
666
  walletId: string;
721
667
  };
722
- interface CreatePayout {
668
+ interface CreatePayoutResponse {
723
669
  id: string;
724
670
  status: string;
725
671
  amount: Amount;
@@ -731,7 +677,7 @@ interface CreatePayout {
731
677
  updateTime: string;
732
678
  ownershipGraph: OwnershipGraph;
733
679
  }
734
- interface GetAll {
680
+ interface ListPayoutsResponse {
735
681
  result: Payout[];
736
682
  pagination: Pagination;
737
683
  }
@@ -747,7 +693,7 @@ interface Payout {
747
693
  updateTime: string;
748
694
  ownershipGraph: OwnershipGraph;
749
695
  }
750
- interface GetOnePayout {
696
+ interface RetrievePayoutResponse {
751
697
  id: string;
752
698
  status: string;
753
699
  amount: Amount;
@@ -942,104 +888,199 @@ interface UpdateWebhookRequest {
942
888
  interface UpdateWebhookResponse extends Webhook {
943
889
  }
944
890
 
945
- type Currency = "USD" | "SLE";
891
+ interface BankFeature {
892
+ canPayTo?: boolean;
893
+ canPayFrom?: boolean;
894
+ canVerifyAccount?: boolean;
895
+ schemes?: string[];
896
+ metadata: Record<string, unknown>;
897
+ }
898
+ interface BankFeatureSet {
899
+ payout: BankFeature;
900
+ payment: BankFeature;
901
+ kycVerification: BankFeature;
902
+ }
903
+ interface Bank {
904
+ providerId: string;
905
+ name: string;
906
+ country: string;
907
+ status: {
908
+ active: boolean;
909
+ };
910
+ featureSet: BankFeatureSet;
911
+ createTime: string;
912
+ updateTime: string;
913
+ }
914
+ interface ListBanksResponse {
915
+ result: Bank[];
916
+ pagination: Pagination;
917
+ }
918
+ interface RetrieveBankResponse extends Bank {
919
+ }
946
920
 
947
- declare function FinancialAccountAPI(config: ClientConfig): {
948
- create: (name: string, currency: Currency) => Promise<Result<CreateFinancialAccount>>;
949
- get: (financialAccountId: string) => Promise<Result<GetFinancialAccount>>;
950
- getAll: () => Promise<Result<AllFinancialAccount>>;
951
- };
921
+ interface MomoFeature {
922
+ canPayTo?: boolean;
923
+ canPayFrom?: boolean;
924
+ canVerifyAccount?: boolean;
925
+ schemes?: string[];
926
+ metadata: Record<string, unknown>;
927
+ }
928
+ interface MomoFeatureSet {
929
+ payout: MomoFeature;
930
+ payment: MomoFeature;
931
+ kycVerification: MomoFeature;
932
+ }
933
+ interface Momo {
934
+ providerId: string;
935
+ name: string;
936
+ country: string;
937
+ status: {
938
+ active: boolean;
939
+ };
940
+ featureSet: MomoFeatureSet;
941
+ createTime: string;
942
+ updateTime: string;
943
+ }
944
+ interface ListMomosResponse {
945
+ result: Momo[];
946
+ pagination: Pagination;
947
+ }
948
+ interface RetrieveMomoResponse extends Momo {
949
+ }
952
950
 
953
- declare function BankAPI(config: ClientConfig): {
954
- get: (providerId: string) => Promise<Result<GetBankResponse>>;
955
- getAll: (params?: Record<string, unknown>) => Promise<Result<ListBanksResponse>>;
956
- };
951
+ interface RequestOptions {
952
+ path: string;
953
+ method: "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
954
+ body?: unknown;
955
+ idempotencyKey?: string;
956
+ }
957
+ declare class HttpClient {
958
+ private readonly baseUrl;
959
+ protected readonly config: ClientConfig;
960
+ constructor(config: ClientConfig);
961
+ private getHeaders;
962
+ protected request<T>(options: RequestOptions): Promise<Result<T>>;
963
+ }
957
964
 
958
- declare function MomoAPI(config: ClientConfig): {
959
- get: (providerId: string) => Promise<Result<GetMomoResponse>>;
960
- getAll: (params?: Record<string, unknown>) => Promise<Result<ListMomosResponse>>;
961
- };
965
+ declare class CheckoutSessionAPI extends HttpClient {
966
+ private readonly path;
967
+ create(name: string, amount: number, quantity: number, successUrl: string, cancelUrl: string, options?: {
968
+ description?: string;
969
+ financialAccountId?: string;
970
+ primaryColor?: string;
971
+ images?: string[];
972
+ }): Promise<Result<CreateCheckoutResponse>>;
973
+ list(): Promise<Result<ListCheckoutsResponse>>;
974
+ retrieve(checkoutId: string): Promise<Result<RetrieveCheckoutResponse>>;
975
+ delete(checkoutId: string): Promise<Result<void>>;
976
+ }
962
977
 
963
- declare function FinancialTransactionAPI(config: ClientConfig): {
964
- get: (transactionId: string) => Promise<Result<GetTransaction>>;
965
- getAll: () => Promise<Result<AllTransaction>>;
966
- };
978
+ type Currency = "USD" | "SLE";
979
+ declare class FinancialAccountAPI extends HttpClient {
980
+ private readonly path;
981
+ create(accountName: string, currency: Currency): Promise<Result<CreateFinancialAccountResponse>>;
982
+ retrieve(financialAccountId: string): Promise<Result<RetrieveFinancialAccountResponse>>;
983
+ list(): Promise<Result<ListFinancialAccountsResponse>>;
984
+ }
967
985
 
968
- declare function InternalTransferAPI(config: ClientConfig): {
969
- create: (sourceAccount: string, destinationAccount: string, amount: number) => Promise<Result<CreateInternalTransfer>>;
970
- get: (internalTransferId: string) => Promise<Result<InternalTransfer>>;
971
- getAll: () => Promise<Result<AllInternalTransfers>>;
972
- delete: (internalTransferId: string) => Promise<Result<void>>;
973
- };
986
+ declare class BankAPI extends HttpClient {
987
+ private readonly path;
988
+ retrieve(providerId: string): Promise<Result<RetrieveBankResponse>>;
989
+ list(): Promise<Result<ListBanksResponse>>;
990
+ }
974
991
 
975
- declare function PaymentAPI(config: ClientConfig): {
976
- get: (paymentId: string) => Promise<Result<GetPayment>>;
977
- getAll: (params?: Record<string, unknown>) => Promise<Result<ListPayments>>;
978
- patch: (paymentId: string, body: Record<string, unknown>) => Promise<Result<PatchPayment>>;
979
- };
992
+ declare class MomoAPI extends HttpClient {
993
+ private readonly path;
994
+ retrieve(providerId: string): Promise<Result<RetrieveMomoResponse>>;
995
+ list(): Promise<Result<ListMomosResponse>>;
996
+ }
980
997
 
981
- declare function PaymentCodeAPI(config: ClientConfig): {
982
- create: (paymentName: string, amount: number, financialAccount: string, username: string, phoneNumber: string) => Promise<Result<CreatePaymentCode>>;
983
- delete: (paymentCodeId: string) => Promise<Result<void>>;
984
- getAll: () => Promise<Result<GetAllPaymentCode>>;
985
- get: (paymentCodeId: string) => Promise<Result<GetOne>>;
986
- };
998
+ declare class FinancialTransactionAPI extends HttpClient {
999
+ private readonly path;
1000
+ list(): Promise<Result<ListTransactionsResponse>>;
1001
+ retrieve(transactionId: string): Promise<Result<RetrieveTransactionResponse>>;
1002
+ }
987
1003
 
988
- declare function PayoutAPI(config: ClientConfig): {
989
- create: (amount: number, destination: DestinationOption, sourceAccount: string) => Promise<Result<CreatePayout>>;
990
- get: () => Promise<Result<GetAll>>;
991
- getOne: (payoutId: string) => Promise<Result<GetOnePayout>>;
992
- delete: (payoutId: string) => Promise<Result<void>>;
993
- };
1004
+ declare class InternalTransferAPI extends HttpClient {
1005
+ private readonly path;
1006
+ create(sourceAccount: string, destinationAccount: string, amount: number): Promise<Result<CreateInternalTransferResponse>>;
1007
+ list(): Promise<Result<ListInternalTransfersResponse>>;
1008
+ retrieve(internalTransferId: string): Promise<Result<RetrieveInternalTransferResponse>>;
1009
+ delete(internalTransferId: string): Promise<Result<void>>;
1010
+ }
994
1011
 
995
- declare function ProviderKycAPI(config: ClientConfig): {
996
- get: (providerId: string) => Promise<Result<GetProviderKycResponse>>;
997
- };
1012
+ declare class PaymentAPI extends HttpClient {
1013
+ private readonly path;
1014
+ retrieve(paymentId: string): Promise<Result<RetrievePaymentResponse>>;
1015
+ list(): Promise<Result<ListPaymentsResponse>>;
1016
+ update(paymentId: string, body: Record<string, unknown>): Promise<Result<UpdatePaymentResponse>>;
1017
+ }
998
1018
 
999
- declare function ReceiptAPI(config: ClientConfig): {
1000
- get: (orderNumber: string) => Promise<Result<GetReceiptResponse>>;
1001
- redeem: (orderNumber: string, body?: Record<string, unknown>) => Promise<Result<RedeemReceiptResponse>>;
1002
- };
1019
+ declare class PaymentCodeAPI extends HttpClient {
1020
+ private readonly path;
1021
+ create(paymentName: string, amount: number, financialAccountId: string | null, name: string, phoneNumber: string): Promise<Result<CreatePaymentCodeResponse>>;
1022
+ retrieve(paymentCodeId: string): Promise<Result<RetrievePaymentCodeResponse>>;
1023
+ list(): Promise<Result<ListPaymentCodesResponse>>;
1024
+ delete(paymentCodeId: string): Promise<Result<void>>;
1025
+ }
1003
1026
 
1004
- declare function UssdOtpAPI(config: ClientConfig): {
1005
- create: (body: CreateUssdOtpRequest) => Promise<Result<CreateUssdOtpResponse>>;
1006
- };
1027
+ declare class PayoutAPI extends HttpClient {
1028
+ private readonly path;
1029
+ create(amount: number, sourceAccount: string, destination: DestinationOption): Promise<Result<CreatePayoutResponse>>;
1030
+ list(): Promise<Result<ListPayoutsResponse>>;
1031
+ retrieve(payoutId: string): Promise<Result<RetrievePayoutResponse>>;
1032
+ delete(payoutId: string): Promise<Result<void>>;
1033
+ }
1007
1034
 
1008
- declare function WebhookAPI(config: ClientConfig): {
1009
- create: (body: CreateWebhookRequest) => Promise<Result<CreateWebhookResponse>>;
1010
- get: (webhookId: string) => Promise<Result<GetWebhookResponse>>;
1011
- getAll: () => Promise<Result<ListWebhooksResponse>>;
1012
- update: (webhookId: string, body: UpdateWebhookRequest) => Promise<Result<UpdateWebhookResponse>>;
1013
- delete: (webhookId: string) => Promise<Result<void>>;
1014
- };
1035
+ declare class ProviderKycAPI extends HttpClient {
1036
+ private readonly path;
1037
+ retrieve(providerId: string): Promise<Result<GetProviderKycResponse>>;
1038
+ }
1039
+
1040
+ declare class ReceiptAPI extends HttpClient {
1041
+ private readonly path;
1042
+ retrieve(orderNumber: string): Promise<Result<GetReceiptResponse>>;
1043
+ redeem(orderNumber: string, body: Record<string, unknown>): Promise<Result<RedeemReceiptResponse>>;
1044
+ }
1045
+
1046
+ declare class UssdOtpAPI extends HttpClient {
1047
+ private readonly path;
1048
+ create(body: CreateUssdOtpRequest): Promise<Result<CreateUssdOtpResponse>>;
1049
+ }
1050
+
1051
+ declare class WebhookAPI extends HttpClient {
1052
+ private readonly path;
1053
+ create(body: CreateWebhookRequest): Promise<Result<CreateWebhookResponse>>;
1054
+ retrieve(webhookId: string): Promise<Result<GetWebhookResponse>>;
1055
+ list(): Promise<Result<ListWebhooksResponse>>;
1056
+ update(webhookId: string, body: UpdateWebhookRequest): Promise<Result<UpdateWebhookResponse>>;
1057
+ delete(webhookId: string): Promise<Result<void>>;
1058
+ }
1015
1059
 
1016
1060
  interface ClientOptions {
1017
- monimeSpaceId: string;
1018
- accessToken: string;
1061
+ monimeSpaceId?: string;
1062
+ accessToken?: string;
1019
1063
  monimeVersion?: "caph.2025-08-23" | "caph.2025-06-20";
1020
1064
  }
1021
1065
  declare class MonimeClient {
1022
- private monimeSpaceId;
1023
- private accessToken;
1024
- private monimeVersion?;
1025
- financialAccount: ReturnType<typeof FinancialAccountAPI>;
1026
- internalTransfer: ReturnType<typeof InternalTransferAPI>;
1027
- paymentCode: ReturnType<typeof PaymentCodeAPI>;
1028
- payment: ReturnType<typeof PaymentAPI>;
1029
- payout: ReturnType<typeof PayoutAPI>;
1030
- providerKyc: ReturnType<typeof ProviderKycAPI>;
1031
- receipt: ReturnType<typeof ReceiptAPI>;
1032
- ussdOtp: ReturnType<typeof UssdOtpAPI>;
1033
- webhook: ReturnType<typeof WebhookAPI>;
1034
- financialTransaction: ReturnType<typeof FinancialTransactionAPI>;
1035
- checkoutSession: ReturnType<typeof CheckoutSessionAPI>;
1066
+ financialAccount: FinancialAccountAPI;
1067
+ internalTransfer: InternalTransferAPI;
1068
+ paymentCode: PaymentCodeAPI;
1069
+ payment: PaymentAPI;
1070
+ payout: PayoutAPI;
1071
+ providerKyc: ProviderKycAPI;
1072
+ receipt: ReceiptAPI;
1073
+ ussdOtp: UssdOtpAPI;
1074
+ webhook: WebhookAPI;
1075
+ financialTransaction: FinancialTransactionAPI;
1076
+ checkoutSession: CheckoutSessionAPI;
1036
1077
  financialProvider: {
1037
- bank: ReturnType<typeof BankAPI>;
1038
- momo: ReturnType<typeof MomoAPI>;
1078
+ bank: BankAPI;
1079
+ momo: MomoAPI;
1039
1080
  };
1040
- constructor(options: ClientOptions);
1081
+ constructor(options?: ClientOptions);
1041
1082
  }
1042
1083
 
1043
1084
  declare function createClient(options: ClientOptions): MonimeClient;
1044
1085
 
1045
- export { type AllCheckout, type AllFinancialAccount, type AllInternalTransfers, type AllTransaction, type Bank, type BankFeature, type BankFeatureSet, type ClientOptions, type CreateCheckout, type CreateFinancialAccount, type CreateInternalTransfer, type CreatePaymentCode, type CreatePayout, type CreateUssdOtpRequest, type CreateUssdOtpResponse, type CreateWebhookRequest, type CreateWebhookResponse, type DestinationOption, type GetAll, type GetAllPaymentCode, type GetBankResponse, type GetFinancialAccount, type GetMomoResponse, type GetOne, type GetOnePayout, type GetPayment, type GetProviderKycResponse, type GetReceiptResponse, type GetTransaction, type GetWebhookResponse, type InternalTransfer, type ListBanksResponse, type ListMomosResponse, type ListPayments, type ListWebhooksResponse, type Momo, type MomoFeature, type MomoFeatureSet, MonimeClient, type OneCheckout, type PatchPayment, type Payment, type ProviderKyc, type Receipt, type RedeemReceiptResponse, type UpdateWebhookRequest, type UpdateWebhookResponse, type UssdOtp, type Webhook, type WebhookVerificationMethod, createClient };
1086
+ export { type Bank, type BankFeature, type BankFeatureSet, type ClientConfig, type ClientOptions, type CreateCheckoutResponse, type CreateFinancialAccountResponse, type CreateInternalTransferResponse, type CreatePaymentCodeResponse, type CreatePayoutResponse, type CreateUssdOtpRequest, type CreateUssdOtpResponse, type CreateWebhookRequest, type CreateWebhookResponse, type DestinationOption, type GetProviderKycResponse, type GetReceiptResponse, type GetWebhookResponse, type ListBanksResponse, type ListCheckoutsResponse, type ListFinancialAccountsResponse, type ListInternalTransfersResponse, type ListMomosResponse, type ListPaymentCodesResponse, type ListPaymentsResponse, type ListPayoutsResponse, type ListTransactionsResponse, type ListWebhooksResponse, type Momo, type MomoFeature, type MomoFeatureSet, MonimeAuthenticationError, MonimeClient, MonimeError, MonimeValidationError, type Pagination, type Payment, type ProviderKyc, type Receipt, type RedeemReceiptResponse, type Result, type RetrieveBankResponse, type RetrieveCheckoutResponse, type RetrieveFinancialAccountResponse, type RetrieveInternalTransferResponse, type RetrieveMomoResponse, type RetrievePaymentCodeResponse, type RetrievePaymentResponse, type RetrievePayoutResponse, type RetrieveTransactionResponse, type UpdatePaymentResponse, type UpdateWebhookRequest, type UpdateWebhookResponse, type UssdOtp, type Webhook, type WebhookVerificationMethod, createClient };