@blockchyp/blockchyp-ts 2.19.0 → 2.20.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.
- package/README.md +104 -1
- package/_bundles/blockchyp.js +866 -14
- package/_bundles/blockchyp.js.map +1 -1
- package/_bundles/blockchyp.min.js +1 -1
- package/_bundles/blockchyp.min.js.map +1 -1
- package/lib/src/client.d.ts +8 -0
- package/lib/src/client.js +14 -0
- package/lib/src/client.js.map +1 -1
- package/lib/src/models.d.ts +829 -9
- package/lib/src/models.js +852 -14
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -0
- package/src/models.ts +7458 -6030
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -203,6 +203,13 @@ export class BlockChypClient {
|
|
|
203
203
|
return this.routeTerminalRequest('post', request, '/api/enroll', '/api/enroll');
|
|
204
204
|
}
|
|
205
205
|
|
|
206
|
+
/**
|
|
207
|
+
* Retrieves card metadata.
|
|
208
|
+
*/
|
|
209
|
+
async cardMetadata(request: Models.CardMetadataRequest): Promise<AxiosResponse<Models.CardMetadataResponse>> {
|
|
210
|
+
return this.routeTerminalRequest('post', request, '/api/card-metadata', '/api/card-metadata');
|
|
211
|
+
}
|
|
212
|
+
|
|
206
213
|
/**
|
|
207
214
|
* Activates or recharges a gift card.
|
|
208
215
|
*/
|
|
@@ -522,6 +529,13 @@ export class BlockChypClient {
|
|
|
522
529
|
return this._dashboardRequest('post', '/api/generate-merchant-creds', request);
|
|
523
530
|
}
|
|
524
531
|
|
|
532
|
+
/**
|
|
533
|
+
* Submits and application to add a new merchant account.
|
|
534
|
+
*/
|
|
535
|
+
submitApplication(request: Models.SubmitApplicationRequest): Promise<AxiosResponse<Models.Acknowledgement>> {
|
|
536
|
+
return this._dashboardRequest('post', '/api/submit-application', request);
|
|
537
|
+
}
|
|
538
|
+
|
|
525
539
|
/**
|
|
526
540
|
* Adds a test merchant account.
|
|
527
541
|
*/
|