@blockchyp/blockchyp-ts 2.19.0 → 2.21.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 +104 -1
- package/_bundles/blockchyp.js +880 -18
- 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 +9 -1
- package/lib/src/client.js +15 -1
- package/lib/src/client.js.map +1 -1
- package/lib/src/models.d.ts +840 -12
- package/lib/src/models.js +865 -17
- package/lib/src/models.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +15 -1
- package/src/models.ts +7473 -6031
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright 2019-
|
|
2
|
+
* Copyright 2019-2025 BlockChyp, Inc. All rights reserved. Use of this code is governed
|
|
3
3
|
* by a license that can be found in the LICENSE file.
|
|
4
4
|
*
|
|
5
5
|
* This file was generated automatically by the BlockChyp SDK Generator. Changes to this
|
|
@@ -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
|
*/
|