squarefi-bff-api-module 1.24.25 → 1.24.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/kyc.d.ts +3 -0
- package/dist/api/kyc.js +3 -0
- package/dist/api/types/types.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/kyc.ts +9 -0
- package/src/api/types/types.ts +7 -0
package/dist/api/kyc.d.ts
CHANGED
|
@@ -14,5 +14,8 @@ export declare const kyc: {
|
|
|
14
14
|
submit: {
|
|
15
15
|
single: ({ wallet_id, rail_id, }: API.KYC.Rails.Submit.Single.Request) => Promise<API.KYC.Rails.Submit.Single.Response>;
|
|
16
16
|
};
|
|
17
|
+
terms: {
|
|
18
|
+
confirm: ({ wallet_id, rail_id, }: API.KYC.Rails.Terms.Confirm.Request) => Promise<API.KYC.Rails.Terms.Confirm.Response>;
|
|
19
|
+
};
|
|
17
20
|
};
|
|
18
21
|
};
|
package/dist/api/kyc.js
CHANGED
|
@@ -17,5 +17,8 @@ exports.kyc = {
|
|
|
17
17
|
submit: {
|
|
18
18
|
single: ({ wallet_id, rail_id, }) => apiClientFactory_1.apiClientV2.postRequest(`/kyc/${wallet_id}/rails/${rail_id}`),
|
|
19
19
|
},
|
|
20
|
+
terms: {
|
|
21
|
+
confirm: ({ wallet_id, rail_id, }) => apiClientFactory_1.apiClientV2.postRequest(`/kyc/${wallet_id}/rails/${rail_id}/terms-and-conditions`),
|
|
22
|
+
},
|
|
20
23
|
},
|
|
21
24
|
};
|
|
@@ -995,6 +995,12 @@ export declare namespace API {
|
|
|
995
995
|
type Response = components['schemas']['WalletKycRailTypeDto'];
|
|
996
996
|
}
|
|
997
997
|
}
|
|
998
|
+
namespace Terms {
|
|
999
|
+
namespace Confirm {
|
|
1000
|
+
type Request = operations['WalletKycRailsController_confirmTermsAndConditions']['parameters']['path'];
|
|
1001
|
+
type Response = components['schemas']['WalletKycRailTypeDto'];
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
998
1004
|
}
|
|
999
1005
|
}
|
|
1000
1006
|
namespace Location {
|
package/package.json
CHANGED
package/src/api/kyc.ts
CHANGED
|
@@ -28,5 +28,14 @@ export const kyc = {
|
|
|
28
28
|
}: API.KYC.Rails.Submit.Single.Request): Promise<API.KYC.Rails.Submit.Single.Response> =>
|
|
29
29
|
apiClientV2.postRequest<API.KYC.Rails.Submit.Single.Response>(`/kyc/${wallet_id}/rails/${rail_id}`),
|
|
30
30
|
},
|
|
31
|
+
terms: {
|
|
32
|
+
confirm: ({
|
|
33
|
+
wallet_id,
|
|
34
|
+
rail_id,
|
|
35
|
+
}: API.KYC.Rails.Terms.Confirm.Request): Promise<API.KYC.Rails.Terms.Confirm.Response> =>
|
|
36
|
+
apiClientV2.postRequest<API.KYC.Rails.Terms.Confirm.Response>(
|
|
37
|
+
`/kyc/${wallet_id}/rails/${rail_id}/terms-and-conditions`
|
|
38
|
+
),
|
|
39
|
+
},
|
|
31
40
|
},
|
|
32
41
|
};
|
package/src/api/types/types.ts
CHANGED
|
@@ -1184,6 +1184,13 @@ export namespace API {
|
|
|
1184
1184
|
export type Response = components['schemas']['WalletKycRailTypeDto'];
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|
|
1187
|
+
|
|
1188
|
+
export namespace Terms {
|
|
1189
|
+
export namespace Confirm {
|
|
1190
|
+
export type Request = operations['WalletKycRailsController_confirmTermsAndConditions']['parameters']['path'];
|
|
1191
|
+
export type Response = components['schemas']['WalletKycRailTypeDto'];
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1187
1194
|
}
|
|
1188
1195
|
}
|
|
1189
1196
|
|