@mbanq/core-sdk-js 0.30.0 → 0.31.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.
- package/README.md +15 -0
- package/dist/commands/index.d.mts +351 -226
- package/dist/commands/index.d.ts +351 -226
- package/dist/commands/index.js +2 -2
- package/dist/commands/index.mjs +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -689,6 +689,16 @@ await client.request(UpdateCardID({
|
|
|
689
689
|
| `CreateCardProduct` | Create a new card product configuration |
|
|
690
690
|
| `UpdateCardProduct` | Update an existing card product |
|
|
691
691
|
|
|
692
|
+
#### Acquire Card Operations
|
|
693
|
+
|
|
694
|
+
| Command | Description |
|
|
695
|
+
|---------|-------------|
|
|
696
|
+
| `GetAcquiredCards` | Retrieve all acquired/external cards for a specific client |
|
|
697
|
+
| `GetAcquiredCardById` | Get detailed information about a specific acquired card by ID |
|
|
698
|
+
| `AddAcquiredCard` | Add an acquired card to a client's external cards list |
|
|
699
|
+
| `BlockAcquiredCardAddition` | Block the addition of acquired cards from external sources for a client |
|
|
700
|
+
| `UnblockAcquiredCardAddition` | Unblock the addition of acquired cards from external sources for a client |
|
|
701
|
+
|
|
692
702
|
#### Client Operations
|
|
693
703
|
|
|
694
704
|
| Command | Description |
|
|
@@ -819,6 +829,11 @@ await client.request(UpdateCardID({
|
|
|
819
829
|
| `GetLoanSearchTemplate` | Retrieve the ad-hoc search query template for loans |
|
|
820
830
|
| `GetSearchData` | Generic search across various resources (loans, clients, etc.) with query support |
|
|
821
831
|
|
|
832
|
+
#### Subscriber Operations
|
|
833
|
+
|
|
834
|
+
| Command | Description |
|
|
835
|
+
|---|---|
|
|
836
|
+
| `GetSubscriber` | Retrieve detailed information about a specific subscriber by ID |
|
|
822
837
|
|
|
823
838
|
|
|
824
839
|
|
|
@@ -9040,136 +9040,6 @@ type CardSettlement = z.infer<typeof CardSettlementSchema>;
|
|
|
9040
9040
|
type GetCardSettlementsRequest = z.infer<typeof GetCardSettlementsRequestSchema>;
|
|
9041
9041
|
type GetCardSettlementsResponse = z.infer<typeof GetCardSettlementsResponseSchema>;
|
|
9042
9042
|
type GetCardSettlementByIdRequest = z.infer<typeof GetCardSettlementByIdRequestSchema>;
|
|
9043
|
-
declare const AcquiredCard: z.ZodObject<{
|
|
9044
|
-
id: z.ZodNumber;
|
|
9045
|
-
lastDigits: z.ZodString;
|
|
9046
|
-
expiryDate: z.ZodString;
|
|
9047
|
-
network: z.ZodString;
|
|
9048
|
-
pushEnabled: z.ZodBoolean;
|
|
9049
|
-
pullEnabled: z.ZodBoolean;
|
|
9050
|
-
isRegulated: z.ZodBoolean;
|
|
9051
|
-
avsVerified: z.ZodBoolean;
|
|
9052
|
-
pushFundAvailability: z.ZodString;
|
|
9053
|
-
countryCode: z.ZodString;
|
|
9054
|
-
currencyCode: z.ZodString;
|
|
9055
|
-
cardType: z.ZodString;
|
|
9056
|
-
fullName: z.ZodString;
|
|
9057
|
-
referenceId: z.ZodString;
|
|
9058
|
-
externalId: z.ZodString;
|
|
9059
|
-
deleted: z.ZodBoolean;
|
|
9060
|
-
status: z.ZodString;
|
|
9061
|
-
financialInstitution: z.ZodString;
|
|
9062
|
-
createdAt: z.ZodString;
|
|
9063
|
-
updatedAt: z.ZodString;
|
|
9064
|
-
}, "strip", z.ZodTypeAny, {
|
|
9065
|
-
status: string;
|
|
9066
|
-
id: number;
|
|
9067
|
-
externalId: string;
|
|
9068
|
-
createdAt: string;
|
|
9069
|
-
countryCode: string;
|
|
9070
|
-
financialInstitution: string;
|
|
9071
|
-
network: string;
|
|
9072
|
-
cardType: string;
|
|
9073
|
-
expiryDate: string;
|
|
9074
|
-
lastDigits: string;
|
|
9075
|
-
pushEnabled: boolean;
|
|
9076
|
-
pullEnabled: boolean;
|
|
9077
|
-
isRegulated: boolean;
|
|
9078
|
-
avsVerified: boolean;
|
|
9079
|
-
pushFundAvailability: string;
|
|
9080
|
-
currencyCode: string;
|
|
9081
|
-
fullName: string;
|
|
9082
|
-
referenceId: string;
|
|
9083
|
-
deleted: boolean;
|
|
9084
|
-
updatedAt: string;
|
|
9085
|
-
}, {
|
|
9086
|
-
status: string;
|
|
9087
|
-
id: number;
|
|
9088
|
-
externalId: string;
|
|
9089
|
-
createdAt: string;
|
|
9090
|
-
countryCode: string;
|
|
9091
|
-
financialInstitution: string;
|
|
9092
|
-
network: string;
|
|
9093
|
-
cardType: string;
|
|
9094
|
-
expiryDate: string;
|
|
9095
|
-
lastDigits: string;
|
|
9096
|
-
pushEnabled: boolean;
|
|
9097
|
-
pullEnabled: boolean;
|
|
9098
|
-
isRegulated: boolean;
|
|
9099
|
-
avsVerified: boolean;
|
|
9100
|
-
pushFundAvailability: string;
|
|
9101
|
-
currencyCode: string;
|
|
9102
|
-
fullName: string;
|
|
9103
|
-
referenceId: string;
|
|
9104
|
-
deleted: boolean;
|
|
9105
|
-
updatedAt: string;
|
|
9106
|
-
}>;
|
|
9107
|
-
declare const AcquiredCardsList: z.ZodArray<z.ZodObject<{
|
|
9108
|
-
id: z.ZodNumber;
|
|
9109
|
-
lastDigits: z.ZodString;
|
|
9110
|
-
expiryDate: z.ZodString;
|
|
9111
|
-
network: z.ZodString;
|
|
9112
|
-
pushEnabled: z.ZodBoolean;
|
|
9113
|
-
pullEnabled: z.ZodBoolean;
|
|
9114
|
-
isRegulated: z.ZodBoolean;
|
|
9115
|
-
avsVerified: z.ZodBoolean;
|
|
9116
|
-
pushFundAvailability: z.ZodString;
|
|
9117
|
-
countryCode: z.ZodString;
|
|
9118
|
-
currencyCode: z.ZodString;
|
|
9119
|
-
cardType: z.ZodString;
|
|
9120
|
-
fullName: z.ZodString;
|
|
9121
|
-
referenceId: z.ZodString;
|
|
9122
|
-
externalId: z.ZodString;
|
|
9123
|
-
deleted: z.ZodBoolean;
|
|
9124
|
-
status: z.ZodString;
|
|
9125
|
-
financialInstitution: z.ZodString;
|
|
9126
|
-
createdAt: z.ZodString;
|
|
9127
|
-
updatedAt: z.ZodString;
|
|
9128
|
-
}, "strip", z.ZodTypeAny, {
|
|
9129
|
-
status: string;
|
|
9130
|
-
id: number;
|
|
9131
|
-
externalId: string;
|
|
9132
|
-
createdAt: string;
|
|
9133
|
-
countryCode: string;
|
|
9134
|
-
financialInstitution: string;
|
|
9135
|
-
network: string;
|
|
9136
|
-
cardType: string;
|
|
9137
|
-
expiryDate: string;
|
|
9138
|
-
lastDigits: string;
|
|
9139
|
-
pushEnabled: boolean;
|
|
9140
|
-
pullEnabled: boolean;
|
|
9141
|
-
isRegulated: boolean;
|
|
9142
|
-
avsVerified: boolean;
|
|
9143
|
-
pushFundAvailability: string;
|
|
9144
|
-
currencyCode: string;
|
|
9145
|
-
fullName: string;
|
|
9146
|
-
referenceId: string;
|
|
9147
|
-
deleted: boolean;
|
|
9148
|
-
updatedAt: string;
|
|
9149
|
-
}, {
|
|
9150
|
-
status: string;
|
|
9151
|
-
id: number;
|
|
9152
|
-
externalId: string;
|
|
9153
|
-
createdAt: string;
|
|
9154
|
-
countryCode: string;
|
|
9155
|
-
financialInstitution: string;
|
|
9156
|
-
network: string;
|
|
9157
|
-
cardType: string;
|
|
9158
|
-
expiryDate: string;
|
|
9159
|
-
lastDigits: string;
|
|
9160
|
-
pushEnabled: boolean;
|
|
9161
|
-
pullEnabled: boolean;
|
|
9162
|
-
isRegulated: boolean;
|
|
9163
|
-
avsVerified: boolean;
|
|
9164
|
-
pushFundAvailability: string;
|
|
9165
|
-
currencyCode: string;
|
|
9166
|
-
fullName: string;
|
|
9167
|
-
referenceId: string;
|
|
9168
|
-
deleted: boolean;
|
|
9169
|
-
updatedAt: string;
|
|
9170
|
-
}>, "many">;
|
|
9171
|
-
type AcquiredCardResponse = z.infer<typeof AcquiredCard>;
|
|
9172
|
-
type AcquiredCardsResponse = z.infer<typeof AcquiredCardsList>;
|
|
9173
9043
|
|
|
9174
9044
|
declare const CreatePrepaidCardRequestSchema: z.ZodObject<{
|
|
9175
9045
|
cardProductId: z.ZodNumber;
|
|
@@ -11170,6 +11040,48 @@ declare const DeactivatePrepaidCardResponseSchema: z.ZodObject<{
|
|
|
11170
11040
|
}>;
|
|
11171
11041
|
type DeactivatePrepaidCardResponse = z.infer<typeof DeactivatePrepaidCardResponseSchema>;
|
|
11172
11042
|
|
|
11043
|
+
declare const SubscriberResponseSchema: z.ZodObject<{
|
|
11044
|
+
id: z.ZodNumber;
|
|
11045
|
+
name: z.ZodString;
|
|
11046
|
+
type: z.ZodEnum<["WEBHOOK", "EMAIL", "CLIENT_EMAIL", "PUSH_NOTIFICATION", "CORE_EVENT_PROCESSOR"]>;
|
|
11047
|
+
target: z.ZodString;
|
|
11048
|
+
maxRetryAttempts: z.ZodNumber;
|
|
11049
|
+
status: z.ZodBoolean;
|
|
11050
|
+
headers: z.ZodArray<z.ZodObject<{
|
|
11051
|
+
name: z.ZodString;
|
|
11052
|
+
value: z.ZodString;
|
|
11053
|
+
}, "strip", z.ZodTypeAny, {
|
|
11054
|
+
value: string;
|
|
11055
|
+
name: string;
|
|
11056
|
+
}, {
|
|
11057
|
+
value: string;
|
|
11058
|
+
name: string;
|
|
11059
|
+
}>, "many">;
|
|
11060
|
+
}, "strip", z.ZodTypeAny, {
|
|
11061
|
+
type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
|
|
11062
|
+
status: boolean;
|
|
11063
|
+
name: string;
|
|
11064
|
+
id: number;
|
|
11065
|
+
target: string;
|
|
11066
|
+
maxRetryAttempts: number;
|
|
11067
|
+
headers: {
|
|
11068
|
+
value: string;
|
|
11069
|
+
name: string;
|
|
11070
|
+
}[];
|
|
11071
|
+
}, {
|
|
11072
|
+
type: "WEBHOOK" | "EMAIL" | "CLIENT_EMAIL" | "PUSH_NOTIFICATION" | "CORE_EVENT_PROCESSOR";
|
|
11073
|
+
status: boolean;
|
|
11074
|
+
name: string;
|
|
11075
|
+
id: number;
|
|
11076
|
+
target: string;
|
|
11077
|
+
maxRetryAttempts: number;
|
|
11078
|
+
headers: {
|
|
11079
|
+
value: string;
|
|
11080
|
+
name: string;
|
|
11081
|
+
}[];
|
|
11082
|
+
}>;
|
|
11083
|
+
type SubscriberResponse = z.infer<typeof SubscriberResponseSchema>;
|
|
11084
|
+
|
|
11173
11085
|
declare const CreateLoanRequestSchema: z.ZodObject<{
|
|
11174
11086
|
clientId: z.ZodNumber;
|
|
11175
11087
|
productId: z.ZodNumber;
|
|
@@ -14759,6 +14671,200 @@ declare const GetSearchDataRequestSchema: z.ZodObject<{
|
|
|
14759
14671
|
}>;
|
|
14760
14672
|
type GetSearchDataRequest = z.infer<typeof GetSearchDataRequestSchema>;
|
|
14761
14673
|
|
|
14674
|
+
declare const AcquiredCardSchema: z.ZodObject<{
|
|
14675
|
+
id: z.ZodNumber;
|
|
14676
|
+
lastDigits: z.ZodString;
|
|
14677
|
+
expiryDate: z.ZodString;
|
|
14678
|
+
network: z.ZodString;
|
|
14679
|
+
pushEnabled: z.ZodBoolean;
|
|
14680
|
+
pullEnabled: z.ZodBoolean;
|
|
14681
|
+
isRegulated: z.ZodBoolean;
|
|
14682
|
+
avsVerified: z.ZodBoolean;
|
|
14683
|
+
pushFundAvailability: z.ZodString;
|
|
14684
|
+
countryCode: z.ZodString;
|
|
14685
|
+
currencyCode: z.ZodString;
|
|
14686
|
+
cardType: z.ZodString;
|
|
14687
|
+
fullName: z.ZodString;
|
|
14688
|
+
referenceId: z.ZodString;
|
|
14689
|
+
externalId: z.ZodString;
|
|
14690
|
+
deleted: z.ZodBoolean;
|
|
14691
|
+
status: z.ZodString;
|
|
14692
|
+
financialInstitution: z.ZodString;
|
|
14693
|
+
createdAt: z.ZodString;
|
|
14694
|
+
updatedAt: z.ZodString;
|
|
14695
|
+
}, "strip", z.ZodTypeAny, {
|
|
14696
|
+
status: string;
|
|
14697
|
+
id: number;
|
|
14698
|
+
externalId: string;
|
|
14699
|
+
createdAt: string;
|
|
14700
|
+
countryCode: string;
|
|
14701
|
+
financialInstitution: string;
|
|
14702
|
+
network: string;
|
|
14703
|
+
cardType: string;
|
|
14704
|
+
expiryDate: string;
|
|
14705
|
+
lastDigits: string;
|
|
14706
|
+
pushEnabled: boolean;
|
|
14707
|
+
pullEnabled: boolean;
|
|
14708
|
+
isRegulated: boolean;
|
|
14709
|
+
avsVerified: boolean;
|
|
14710
|
+
pushFundAvailability: string;
|
|
14711
|
+
currencyCode: string;
|
|
14712
|
+
fullName: string;
|
|
14713
|
+
referenceId: string;
|
|
14714
|
+
deleted: boolean;
|
|
14715
|
+
updatedAt: string;
|
|
14716
|
+
}, {
|
|
14717
|
+
status: string;
|
|
14718
|
+
id: number;
|
|
14719
|
+
externalId: string;
|
|
14720
|
+
createdAt: string;
|
|
14721
|
+
countryCode: string;
|
|
14722
|
+
financialInstitution: string;
|
|
14723
|
+
network: string;
|
|
14724
|
+
cardType: string;
|
|
14725
|
+
expiryDate: string;
|
|
14726
|
+
lastDigits: string;
|
|
14727
|
+
pushEnabled: boolean;
|
|
14728
|
+
pullEnabled: boolean;
|
|
14729
|
+
isRegulated: boolean;
|
|
14730
|
+
avsVerified: boolean;
|
|
14731
|
+
pushFundAvailability: string;
|
|
14732
|
+
currencyCode: string;
|
|
14733
|
+
fullName: string;
|
|
14734
|
+
referenceId: string;
|
|
14735
|
+
deleted: boolean;
|
|
14736
|
+
updatedAt: string;
|
|
14737
|
+
}>;
|
|
14738
|
+
declare const AcquiredCardsListSchema: z.ZodArray<z.ZodObject<{
|
|
14739
|
+
id: z.ZodNumber;
|
|
14740
|
+
lastDigits: z.ZodString;
|
|
14741
|
+
expiryDate: z.ZodString;
|
|
14742
|
+
network: z.ZodString;
|
|
14743
|
+
pushEnabled: z.ZodBoolean;
|
|
14744
|
+
pullEnabled: z.ZodBoolean;
|
|
14745
|
+
isRegulated: z.ZodBoolean;
|
|
14746
|
+
avsVerified: z.ZodBoolean;
|
|
14747
|
+
pushFundAvailability: z.ZodString;
|
|
14748
|
+
countryCode: z.ZodString;
|
|
14749
|
+
currencyCode: z.ZodString;
|
|
14750
|
+
cardType: z.ZodString;
|
|
14751
|
+
fullName: z.ZodString;
|
|
14752
|
+
referenceId: z.ZodString;
|
|
14753
|
+
externalId: z.ZodString;
|
|
14754
|
+
deleted: z.ZodBoolean;
|
|
14755
|
+
status: z.ZodString;
|
|
14756
|
+
financialInstitution: z.ZodString;
|
|
14757
|
+
createdAt: z.ZodString;
|
|
14758
|
+
updatedAt: z.ZodString;
|
|
14759
|
+
}, "strip", z.ZodTypeAny, {
|
|
14760
|
+
status: string;
|
|
14761
|
+
id: number;
|
|
14762
|
+
externalId: string;
|
|
14763
|
+
createdAt: string;
|
|
14764
|
+
countryCode: string;
|
|
14765
|
+
financialInstitution: string;
|
|
14766
|
+
network: string;
|
|
14767
|
+
cardType: string;
|
|
14768
|
+
expiryDate: string;
|
|
14769
|
+
lastDigits: string;
|
|
14770
|
+
pushEnabled: boolean;
|
|
14771
|
+
pullEnabled: boolean;
|
|
14772
|
+
isRegulated: boolean;
|
|
14773
|
+
avsVerified: boolean;
|
|
14774
|
+
pushFundAvailability: string;
|
|
14775
|
+
currencyCode: string;
|
|
14776
|
+
fullName: string;
|
|
14777
|
+
referenceId: string;
|
|
14778
|
+
deleted: boolean;
|
|
14779
|
+
updatedAt: string;
|
|
14780
|
+
}, {
|
|
14781
|
+
status: string;
|
|
14782
|
+
id: number;
|
|
14783
|
+
externalId: string;
|
|
14784
|
+
createdAt: string;
|
|
14785
|
+
countryCode: string;
|
|
14786
|
+
financialInstitution: string;
|
|
14787
|
+
network: string;
|
|
14788
|
+
cardType: string;
|
|
14789
|
+
expiryDate: string;
|
|
14790
|
+
lastDigits: string;
|
|
14791
|
+
pushEnabled: boolean;
|
|
14792
|
+
pullEnabled: boolean;
|
|
14793
|
+
isRegulated: boolean;
|
|
14794
|
+
avsVerified: boolean;
|
|
14795
|
+
pushFundAvailability: string;
|
|
14796
|
+
currencyCode: string;
|
|
14797
|
+
fullName: string;
|
|
14798
|
+
referenceId: string;
|
|
14799
|
+
deleted: boolean;
|
|
14800
|
+
updatedAt: string;
|
|
14801
|
+
}>, "many">;
|
|
14802
|
+
type AcquiredCardResponse = z.infer<typeof AcquiredCardSchema>;
|
|
14803
|
+
type AcquiredCardsResponse = z.infer<typeof AcquiredCardsListSchema>;
|
|
14804
|
+
declare const BlockAcquiredCardSchema: z.ZodObject<{
|
|
14805
|
+
id: z.ZodNumber;
|
|
14806
|
+
clientId: z.ZodNumber;
|
|
14807
|
+
resourceId: z.ZodNumber;
|
|
14808
|
+
data: z.ZodObject<{
|
|
14809
|
+
reason: z.ZodString;
|
|
14810
|
+
}, "strip", z.ZodTypeAny, {
|
|
14811
|
+
reason: string;
|
|
14812
|
+
}, {
|
|
14813
|
+
reason: string;
|
|
14814
|
+
}>;
|
|
14815
|
+
}, "strip", z.ZodTypeAny, {
|
|
14816
|
+
id: number;
|
|
14817
|
+
clientId: number;
|
|
14818
|
+
resourceId: number;
|
|
14819
|
+
data: {
|
|
14820
|
+
reason: string;
|
|
14821
|
+
};
|
|
14822
|
+
}, {
|
|
14823
|
+
id: number;
|
|
14824
|
+
clientId: number;
|
|
14825
|
+
resourceId: number;
|
|
14826
|
+
data: {
|
|
14827
|
+
reason: string;
|
|
14828
|
+
};
|
|
14829
|
+
}>;
|
|
14830
|
+
type BlockAcquiredCardResponse = z.infer<typeof BlockAcquiredCardSchema>;
|
|
14831
|
+
type UnblockAcquiredCardResponse = z.infer<typeof BlockAcquiredCardSchema>;
|
|
14832
|
+
declare const AcquiredCardsRequestSchema: z.ZodObject<{
|
|
14833
|
+
clientId: z.ZodNumber;
|
|
14834
|
+
acquiredCardId: z.ZodNumber;
|
|
14835
|
+
}, "strip", z.ZodTypeAny, {
|
|
14836
|
+
clientId: number;
|
|
14837
|
+
acquiredCardId: number;
|
|
14838
|
+
}, {
|
|
14839
|
+
clientId: number;
|
|
14840
|
+
acquiredCardId: number;
|
|
14841
|
+
}>;
|
|
14842
|
+
type AcquiredCardRequest = z.infer<typeof AcquiredCardsRequestSchema>;
|
|
14843
|
+
declare const AddAcquiredCardRequestSchema: z.ZodObject<{
|
|
14844
|
+
cardData: z.ZodString;
|
|
14845
|
+
}, "strip", z.ZodTypeAny, {
|
|
14846
|
+
cardData: string;
|
|
14847
|
+
}, {
|
|
14848
|
+
cardData: string;
|
|
14849
|
+
}>;
|
|
14850
|
+
type AddAcquiredCardRequest = z.infer<typeof AddAcquiredCardRequestSchema>;
|
|
14851
|
+
declare const BlockAcquiredCardRequestSchema: z.ZodObject<{
|
|
14852
|
+
reason: z.ZodString;
|
|
14853
|
+
}, "strip", z.ZodTypeAny, {
|
|
14854
|
+
reason: string;
|
|
14855
|
+
}, {
|
|
14856
|
+
reason: string;
|
|
14857
|
+
}>;
|
|
14858
|
+
type BlockAcquiredCardRequest = z.infer<typeof BlockAcquiredCardRequestSchema>;
|
|
14859
|
+
declare const UnblockAcquiredCardRequestSchema: z.ZodObject<{
|
|
14860
|
+
reason: z.ZodString;
|
|
14861
|
+
}, "strip", z.ZodTypeAny, {
|
|
14862
|
+
reason: string;
|
|
14863
|
+
}, {
|
|
14864
|
+
reason: string;
|
|
14865
|
+
}>;
|
|
14866
|
+
type UnblockAcquiredCardRequest = z.infer<typeof UnblockAcquiredCardRequestSchema>;
|
|
14867
|
+
|
|
14762
14868
|
declare const AddChargeToAccountRequestSchema: z.ZodObject<{
|
|
14763
14869
|
chargeId: z.ZodNumber;
|
|
14764
14870
|
amount: z.ZodNumber;
|
|
@@ -16865,32 +16971,6 @@ declare const ActivateCard: (cardId: number) => Command<{
|
|
|
16865
16971
|
clientId: number;
|
|
16866
16972
|
cardToken: string;
|
|
16867
16973
|
}>;
|
|
16868
|
-
/**
|
|
16869
|
-
* Reactivate a suspended card
|
|
16870
|
-
*
|
|
16871
|
-
* Reactivates a card that was previously suspended. This restores the card's
|
|
16872
|
-
* ability to process transactions according to its configuration.
|
|
16873
|
-
* Use this to restore a suspended card back to active status.
|
|
16874
|
-
*
|
|
16875
|
-
* @param cardId - The unique identifier of the card to reactivate
|
|
16876
|
-
* @returns Command object that executes the API request and returns reactivation details
|
|
16877
|
-
*
|
|
16878
|
-
* @example
|
|
16879
|
-
* ```typescript
|
|
16880
|
-
* const command = ReactivateCard(67890);
|
|
16881
|
-
* const result = await client.request(command);
|
|
16882
|
-
* console.log(`Card ${result.id} has been reactivated`);
|
|
16883
|
-
* ```
|
|
16884
|
-
*/
|
|
16885
|
-
declare const ReactivateCard: (cardId: number) => Command<{
|
|
16886
|
-
cardId: number;
|
|
16887
|
-
command: string;
|
|
16888
|
-
}, {
|
|
16889
|
-
id: number;
|
|
16890
|
-
resourceId: number;
|
|
16891
|
-
clientId: number;
|
|
16892
|
-
cardToken: string;
|
|
16893
|
-
}>;
|
|
16894
16974
|
/**
|
|
16895
16975
|
* Replace a card
|
|
16896
16976
|
*
|
|
@@ -16944,75 +17024,6 @@ declare const RenewCard: (cardId: number, productId: number) => Command<{
|
|
|
16944
17024
|
resourceId: number;
|
|
16945
17025
|
clientId: number;
|
|
16946
17026
|
}>;
|
|
16947
|
-
/**
|
|
16948
|
-
* Get all acquired cards for a client
|
|
16949
|
-
*
|
|
16950
|
-
* Retrieves a list of all acquired/external cards associated with a specific client ID.
|
|
16951
|
-
* Acquired cards are cards that were obtained from external sources or integrated systems.
|
|
16952
|
-
* Returns comprehensive card details including status, type, network, and configuration.
|
|
16953
|
-
*
|
|
16954
|
-
* @param clientId - The unique identifier of the client
|
|
16955
|
-
* @returns Command object that executes the API request and returns list of acquired cards
|
|
16956
|
-
*
|
|
16957
|
-
* @example
|
|
16958
|
-
* ```typescript
|
|
16959
|
-
* const command = GetAcquiredCards(12345);
|
|
16960
|
-
* const acquiredCards = await client.request(command);
|
|
16961
|
-
* ```
|
|
16962
|
-
*/
|
|
16963
|
-
declare const GetAcquiredCards: (clientId: number) => Command<{
|
|
16964
|
-
clientId: number;
|
|
16965
|
-
}, AcquiredCardsResponse>;
|
|
16966
|
-
/**
|
|
16967
|
-
* Get acquired card by ID
|
|
16968
|
-
*
|
|
16969
|
-
* Retrieves detailed information for a specific acquired/external card using its unique identifier.
|
|
16970
|
-
* This endpoint allows you to fetch specific information related to an acquired card based on the
|
|
16971
|
-
* card ID, including all card details such as network, type, status, and configuration settings.
|
|
16972
|
-
*
|
|
16973
|
-
* @param clientId - The unique identifier of the client who owns the acquired card
|
|
16974
|
-
* @param acquiredCardId - The unique identifier of the acquired card to retrieve
|
|
16975
|
-
* @returns Command object that executes the API request and returns acquired card details
|
|
16976
|
-
*
|
|
16977
|
-
* @example
|
|
16978
|
-
* ```typescript
|
|
16979
|
-
* const command = getAcquiredCardById(12345, 67890);
|
|
16980
|
-
* const acquiredCard = await client.request(command);
|
|
16981
|
-
* ```
|
|
16982
|
-
*/
|
|
16983
|
-
declare const getAcquiredCardById: (clientId: number, acquiredCardId: number) => Command<{
|
|
16984
|
-
clientId: number;
|
|
16985
|
-
acquiredCardId: number;
|
|
16986
|
-
}, AcquiredCardResponse>;
|
|
16987
|
-
/**
|
|
16988
|
-
* Adds an acquired card to a client
|
|
16989
|
-
*
|
|
16990
|
-
* Adds an acquired card to a client by storing the card information in the client's
|
|
16991
|
-
* external cards list. This endpoint allows you to add a card that was obtained from an
|
|
16992
|
-
* external source or integrated system to a client's list of acquired cards.
|
|
16993
|
-
*
|
|
16994
|
-
* @param clientId - The unique identifier of the client
|
|
16995
|
-
* @param params - Object containing the card data to add
|
|
16996
|
-
* @returns Command object that executes the API request and returns the added acquired card details
|
|
16997
|
-
* ```typescript
|
|
16998
|
-
* const command = AddAcquiredCard(12345, {
|
|
16999
|
-
* cardData: 'cardData'
|
|
17000
|
-
* });
|
|
17001
|
-
* ```
|
|
17002
|
-
*/
|
|
17003
|
-
declare const AddAcquiredCard: (clientId: number, params: {
|
|
17004
|
-
cardData: string;
|
|
17005
|
-
}) => Command<{
|
|
17006
|
-
clientId: number;
|
|
17007
|
-
params: {
|
|
17008
|
-
cardData: string;
|
|
17009
|
-
};
|
|
17010
|
-
}, {
|
|
17011
|
-
id: number;
|
|
17012
|
-
officeId: number;
|
|
17013
|
-
clientId: number;
|
|
17014
|
-
resourceId: number;
|
|
17015
|
-
}>;
|
|
17016
17027
|
|
|
17017
17028
|
/**
|
|
17018
17029
|
* Create Prepaid Card
|
|
@@ -22495,6 +22506,120 @@ declare const DeleteFixedDepositAccount: (accountId: number) => Command<{
|
|
|
22495
22506
|
accountId: number;
|
|
22496
22507
|
}, DeleteFixedDepositAccountResponse>;
|
|
22497
22508
|
|
|
22509
|
+
/**
|
|
22510
|
+
* Get all acquired cards for a client
|
|
22511
|
+
*
|
|
22512
|
+
* Retrieves a list of all acquired/external cards associated with a specific client ID.
|
|
22513
|
+
* Acquired cards are cards that were obtained from external sources or integrated systems.
|
|
22514
|
+
* Returns comprehensive card details including status, type, network, and configuration.
|
|
22515
|
+
*
|
|
22516
|
+
* @param clientId - The unique identifier of the client
|
|
22517
|
+
* @returns Command object that executes the API request and returns list of acquired cards
|
|
22518
|
+
*
|
|
22519
|
+
* @example
|
|
22520
|
+
* ```typescript
|
|
22521
|
+
* const command = GetAcquiredCards(12345);
|
|
22522
|
+
* const acquiredCards = await client.request(command);
|
|
22523
|
+
* ```
|
|
22524
|
+
*/
|
|
22525
|
+
declare const GetAcquiredCards: (clientId: number) => Command<{
|
|
22526
|
+
clientId: number;
|
|
22527
|
+
}, AcquiredCardsResponse>;
|
|
22528
|
+
/**
|
|
22529
|
+
* Get acquired card by ID
|
|
22530
|
+
*
|
|
22531
|
+
* Retrieves detailed information for a specific acquired/external card using its unique identifier.
|
|
22532
|
+
* This endpoint allows you to fetch specific information related to an acquired card based on the
|
|
22533
|
+
* card ID, including all card details such as network, type, status, and configuration settings.
|
|
22534
|
+
*
|
|
22535
|
+
* @param params.clientId - The unique identifier of the client who owns the acquired card
|
|
22536
|
+
* @param params.acquiredCardId - The unique identifier of the acquired card to retrieve
|
|
22537
|
+
* @returns Command object that executes the API request and returns acquired card details
|
|
22538
|
+
*
|
|
22539
|
+
* @example
|
|
22540
|
+
* ```typescript
|
|
22541
|
+
* const command = GetAcquiredCardById({clientId: 12345, acquiredCardId: 12345});
|
|
22542
|
+
* const acquiredCard = await client.request(command);
|
|
22543
|
+
* ```
|
|
22544
|
+
*/
|
|
22545
|
+
declare const GetAcquiredCardById: (params: AcquiredCardRequest) => Command<AcquiredCardRequest, AcquiredCardResponse>;
|
|
22546
|
+
/**
|
|
22547
|
+
* Adds an acquired card to a client
|
|
22548
|
+
*
|
|
22549
|
+
* Adds an acquired card to a client by storing the card information in the client's
|
|
22550
|
+
* external cards list. This endpoint allows you to add a card that was obtained from an
|
|
22551
|
+
* external source or integrated system to a client's list of acquired cards.
|
|
22552
|
+
*
|
|
22553
|
+
* @param clientId - The unique identifier of the client
|
|
22554
|
+
* @param params.cardData - Object containing the card data to add
|
|
22555
|
+
* @returns Command object that executes the API request and returns the added acquired card details
|
|
22556
|
+
* ```typescript
|
|
22557
|
+
* const command = AddAcquiredCard(12345, {
|
|
22558
|
+
* cardData: 'cardData'
|
|
22559
|
+
* });
|
|
22560
|
+
* ```
|
|
22561
|
+
*/
|
|
22562
|
+
declare const AddAcquiredCard: (clientId: number, params: AddAcquiredCardRequest) => Command<{
|
|
22563
|
+
clientId: number;
|
|
22564
|
+
params: AddAcquiredCardRequest;
|
|
22565
|
+
}, {
|
|
22566
|
+
id: number;
|
|
22567
|
+
officeId: number;
|
|
22568
|
+
clientId: number;
|
|
22569
|
+
resourceId: number;
|
|
22570
|
+
}>;
|
|
22571
|
+
/**
|
|
22572
|
+
* Blocks the addition of acquired cards from external sources for a client
|
|
22573
|
+
*
|
|
22574
|
+
* @param clientId - The unique identifier of the client
|
|
22575
|
+
* @param params.reason - The reason for blocking card addition
|
|
22576
|
+
* @returns Command object that executes the API request and returns the updated block status
|
|
22577
|
+
*
|
|
22578
|
+
* @example
|
|
22579
|
+
* ```typescript
|
|
22580
|
+
* const command = BlockAcquiredCardAddition(12345, {reason: 'Fraud suspected'});
|
|
22581
|
+
* const result = await client.request(command);
|
|
22582
|
+
* ```
|
|
22583
|
+
*/
|
|
22584
|
+
declare const BlockAcquiredCardAddition: (clientId: number, params: BlockAcquiredCardRequest) => Command<{
|
|
22585
|
+
clientId: number;
|
|
22586
|
+
params: BlockAcquiredCardRequest;
|
|
22587
|
+
}, BlockAcquiredCardResponse>;
|
|
22588
|
+
/**
|
|
22589
|
+
* Unblocks the addition of acquired cards from external sources for a client
|
|
22590
|
+
*
|
|
22591
|
+
* @param clientId - The unique identifier of the client
|
|
22592
|
+
* @param params.reason - The reason for unblocking card addition
|
|
22593
|
+
* @returns Command object that executes the API request and returns the updated unblock status
|
|
22594
|
+
*
|
|
22595
|
+
* @example
|
|
22596
|
+
* ```typescript
|
|
22597
|
+
* const command = UnblockAcquiredCardAddition(12345, {reason: 'Verification completed'});
|
|
22598
|
+
* const result = await client.request(command);
|
|
22599
|
+
* ```
|
|
22600
|
+
*/
|
|
22601
|
+
declare const UnblockAcquiredCardAddition: (clientId: number, params: UnblockAcquiredCardRequest) => Command<{
|
|
22602
|
+
clientId: number;
|
|
22603
|
+
params: UnblockAcquiredCardRequest;
|
|
22604
|
+
}, UnblockAcquiredCardResponse>;
|
|
22605
|
+
|
|
22606
|
+
/**
|
|
22607
|
+
* Retrieves detailed information about a specific subscriber.
|
|
22608
|
+
*
|
|
22609
|
+
* @param subscriberId - The ID of the subscriber to retrieve
|
|
22610
|
+
* @returns A Command that when executed returns the subscriber details
|
|
22611
|
+
*
|
|
22612
|
+
* @example
|
|
22613
|
+
* ```typescript
|
|
22614
|
+
* const getSubscriberCmd = GetSubscriber('subscriber-123');
|
|
22615
|
+
* const subscriber = await getSubscriberCmd.execute(config);
|
|
22616
|
+
* console.log(subscriber);
|
|
22617
|
+
* ```
|
|
22618
|
+
*/
|
|
22619
|
+
declare const GetSubscriber: (subscriberId: string) => Command<{
|
|
22620
|
+
subscriberId: string;
|
|
22621
|
+
}, SubscriberResponse>;
|
|
22622
|
+
|
|
22498
22623
|
/**
|
|
22499
22624
|
* Creates a new loan application with specified loan amount, term, interest rate, and repayment frequency.
|
|
22500
22625
|
*
|
|
@@ -23217,4 +23342,4 @@ declare const PayAccountCharge: (accountId: number, chargeId: number, params: Pa
|
|
|
23217
23342
|
params: PayAccountChargeRequest;
|
|
23218
23343
|
}, PayAccountChargeResponse>;
|
|
23219
23344
|
|
|
23220
|
-
export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateFixedDepositAccount, CreateLoan, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateTransfer, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteClient, DeleteClientDocument, DeleteFixedDepositAccount, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetSearchData, GetStatusOfVerifyClient, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan,
|
|
23345
|
+
export { ActivateCard, ActivatePhysicalCard, AddAcquiredCard, AddCardToMobileWallet, AddChargeToAccount, AddChargeToLoanAccount, ApproveLoan, ApproveRejectClientDocument, BlockAccount, BlockAcquiredCardAddition, CalculateLoanSchedule, ChangeCardType, CloseAccount, CreateAccountProduct, CreateAndActivateAccount, CreateCard, CreateCardProduct, CreateClient, CreateClientAddress, CreateClientIdentifier, CreateFixedDepositAccount, CreateLoan, CreatePayment, CreatePrepaidCard, CreateRecipient, CreateTransfer, CustomCreate, CustomGet, CustomUpdate, DeactivatePrepaidCard, DeleteAccount, DeleteClient, DeleteClientDocument, DeleteFixedDepositAccount, DeletePayment, DeleteRecipient, DeleteSelfServiceUser, DisburseLoan, DisburseLoanToLinkedAccount, DownloadAccountStatement, EnableDisableConfiguration, EnableSelfServiceAccess, GenerateAccountStatement, GetAccount, GetAccountDocumentsDetails, GetAccountProductById, GetAccountsOfClient, GetAcquiredCardById, GetAcquiredCards, GetAllAccountProducts, GetBankDetailsFromRoutingCode, GetCardAuthorizationById, GetCardAuthorizations, GetCardById, GetCardImageUrl, GetCardProduct, GetCardSettlementById, GetCardSettlements, GetCards, GetChargesByAccountId, GetChargesByLoanAccountId, GetClient, GetClientAddress, GetClientClassification, GetClients, GetCompletedTransactions, GetConfigurationByName, GetConfigurations, GetFixedDepositAccount, GetLoanById, GetLoanPreclosureTemplate, GetLoanSearchTemplate, GetLoanTransactionDetails, GetLoanWriteoffTemplate, GetPayment, GetPayments, GetPendingTransactions, GetPermittedDocumentTypes, GetPrepaidCardById, GetPrepaidCardsByAccountId, GetRecentTransactions, GetRecipient, GetRecipients, GetSearchData, GetStatusOfVerifyClient, GetSubscriber, GetTransactionById, GetTransfer, GetTransfers, GetUserDetail, GraphQL, HoldAmount, ListCardProduct, ListClientDocument, MakeRepayment, OrderPhysicalCard, PayAccountCharge, PreCloseLoan, RenewCard, ReplaceCard, ScheduleAccountClosure, SetClientAddressStatus, SetPIN, SuspendCard, SwitchClientClassification, TerminateCard, UnblockAcquiredCardAddition, UndoChargeToAccount, UpdateAccount, UpdateAccountProduct, UpdateCardFeature, UpdateCardLimit, UpdateCardProduct, UpdateClient, UpdateClientAddress, UpdateClientIdentifier, UpdateFixedDepositAccount, UpdatePayment, UpdateRecipientGQL as UpdateRecipient, UpdateSelfServiceUser, UploadClientIdentifierDocument, VerifyWithActivateClients, WaiveChargeFromAccount, WriteLoanOff };
|