@0xsequence/api 0.43.9 → 0.43.10
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.
|
@@ -18,9 +18,9 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
22
22
|
// --
|
|
23
|
-
// Code generated by webrpc-gen@v0.
|
|
23
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
25
25
|
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
26
26
|
|
|
@@ -31,11 +31,12 @@ const WebRPCVersion = "v1";
|
|
|
31
31
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = "
|
|
34
|
+
const WebRPCSchemaHash = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
38
38
|
//
|
|
39
|
+
|
|
39
40
|
exports.SmartRampOrderStatus = void 0;
|
|
40
41
|
(function (SmartRampOrderStatus) {
|
|
41
42
|
SmartRampOrderStatus["UNKNOWN"] = "UNKNOWN";
|
|
@@ -268,6 +269,16 @@ class API {
|
|
|
268
269
|
});
|
|
269
270
|
});
|
|
270
271
|
};
|
|
272
|
+
this.resolveENSAddress = (args, headers) => {
|
|
273
|
+
return this.fetch(this.url('ResolveENSAddress'), createHTTPRequest(args, headers)).then(res => {
|
|
274
|
+
return buildResponse(res).then(_data => {
|
|
275
|
+
return {
|
|
276
|
+
address: _data.address,
|
|
277
|
+
ok: _data.ok
|
|
278
|
+
};
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
};
|
|
271
282
|
this.isValidSignature = (args, headers) => {
|
|
272
283
|
return this.fetch(this.url('IsValidSignature'), createHTTPRequest(args, headers)).then(res => {
|
|
273
284
|
return buildResponse(res).then(_data => {
|
|
@@ -331,6 +342,24 @@ class API {
|
|
|
331
342
|
});
|
|
332
343
|
});
|
|
333
344
|
};
|
|
345
|
+
this.memoryStore = (args, headers) => {
|
|
346
|
+
return this.fetch(this.url('MemoryStore'), createHTTPRequest(args, headers)).then(res => {
|
|
347
|
+
return buildResponse(res).then(_data => {
|
|
348
|
+
return {
|
|
349
|
+
ok: _data.ok
|
|
350
|
+
};
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
};
|
|
354
|
+
this.memoryLoad = (args, headers) => {
|
|
355
|
+
return this.fetch(this.url('MemoryLoad'), createHTTPRequest(args, headers)).then(res => {
|
|
356
|
+
return buildResponse(res).then(_data => {
|
|
357
|
+
return {
|
|
358
|
+
value: _data.value
|
|
359
|
+
};
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
};
|
|
334
363
|
this.listPayCardsOnFile = headers => {
|
|
335
364
|
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
336
365
|
return buildResponse(res).then(_data => {
|
|
@@ -18,9 +18,9 @@ function _extends() {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* eslint-disable */
|
|
21
|
-
// sequence-api v0.4.0
|
|
21
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
22
22
|
// --
|
|
23
|
-
// Code generated by webrpc-gen@v0.
|
|
23
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
24
24
|
//
|
|
25
25
|
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
26
26
|
|
|
@@ -31,11 +31,12 @@ const WebRPCVersion = "v1";
|
|
|
31
31
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
32
32
|
|
|
33
33
|
// Schema hash generated from your RIDL schema
|
|
34
|
-
const WebRPCSchemaHash = "
|
|
34
|
+
const WebRPCSchemaHash = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
35
35
|
|
|
36
36
|
//
|
|
37
37
|
// Types
|
|
38
38
|
//
|
|
39
|
+
|
|
39
40
|
exports.SmartRampOrderStatus = void 0;
|
|
40
41
|
(function (SmartRampOrderStatus) {
|
|
41
42
|
SmartRampOrderStatus["UNKNOWN"] = "UNKNOWN";
|
|
@@ -268,6 +269,16 @@ class API {
|
|
|
268
269
|
});
|
|
269
270
|
});
|
|
270
271
|
};
|
|
272
|
+
this.resolveENSAddress = (args, headers) => {
|
|
273
|
+
return this.fetch(this.url('ResolveENSAddress'), createHTTPRequest(args, headers)).then(res => {
|
|
274
|
+
return buildResponse(res).then(_data => {
|
|
275
|
+
return {
|
|
276
|
+
address: _data.address,
|
|
277
|
+
ok: _data.ok
|
|
278
|
+
};
|
|
279
|
+
});
|
|
280
|
+
});
|
|
281
|
+
};
|
|
271
282
|
this.isValidSignature = (args, headers) => {
|
|
272
283
|
return this.fetch(this.url('IsValidSignature'), createHTTPRequest(args, headers)).then(res => {
|
|
273
284
|
return buildResponse(res).then(_data => {
|
|
@@ -331,6 +342,24 @@ class API {
|
|
|
331
342
|
});
|
|
332
343
|
});
|
|
333
344
|
};
|
|
345
|
+
this.memoryStore = (args, headers) => {
|
|
346
|
+
return this.fetch(this.url('MemoryStore'), createHTTPRequest(args, headers)).then(res => {
|
|
347
|
+
return buildResponse(res).then(_data => {
|
|
348
|
+
return {
|
|
349
|
+
ok: _data.ok
|
|
350
|
+
};
|
|
351
|
+
});
|
|
352
|
+
});
|
|
353
|
+
};
|
|
354
|
+
this.memoryLoad = (args, headers) => {
|
|
355
|
+
return this.fetch(this.url('MemoryLoad'), createHTTPRequest(args, headers)).then(res => {
|
|
356
|
+
return buildResponse(res).then(_data => {
|
|
357
|
+
return {
|
|
358
|
+
value: _data.value
|
|
359
|
+
};
|
|
360
|
+
});
|
|
361
|
+
});
|
|
362
|
+
};
|
|
334
363
|
this.listPayCardsOnFile = headers => {
|
|
335
364
|
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
336
365
|
return buildResponse(res).then(_data => {
|
|
@@ -14,9 +14,9 @@ function _extends() {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* eslint-disable */
|
|
17
|
-
// sequence-api v0.4.0
|
|
17
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
18
18
|
// --
|
|
19
|
-
// Code generated by webrpc-gen@v0.
|
|
19
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
20
20
|
//
|
|
21
21
|
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
22
22
|
|
|
@@ -27,11 +27,12 @@ const WebRPCVersion = "v1";
|
|
|
27
27
|
const WebRPCSchemaVersion = "v0.4.0";
|
|
28
28
|
|
|
29
29
|
// Schema hash generated from your RIDL schema
|
|
30
|
-
const WebRPCSchemaHash = "
|
|
30
|
+
const WebRPCSchemaHash = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
31
31
|
|
|
32
32
|
//
|
|
33
33
|
// Types
|
|
34
34
|
//
|
|
35
|
+
|
|
35
36
|
let SmartRampOrderStatus;
|
|
36
37
|
(function (SmartRampOrderStatus) {
|
|
37
38
|
SmartRampOrderStatus["UNKNOWN"] = "UNKNOWN";
|
|
@@ -264,6 +265,16 @@ class API {
|
|
|
264
265
|
});
|
|
265
266
|
});
|
|
266
267
|
};
|
|
268
|
+
this.resolveENSAddress = (args, headers) => {
|
|
269
|
+
return this.fetch(this.url('ResolveENSAddress'), createHTTPRequest(args, headers)).then(res => {
|
|
270
|
+
return buildResponse(res).then(_data => {
|
|
271
|
+
return {
|
|
272
|
+
address: _data.address,
|
|
273
|
+
ok: _data.ok
|
|
274
|
+
};
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
};
|
|
267
278
|
this.isValidSignature = (args, headers) => {
|
|
268
279
|
return this.fetch(this.url('IsValidSignature'), createHTTPRequest(args, headers)).then(res => {
|
|
269
280
|
return buildResponse(res).then(_data => {
|
|
@@ -327,6 +338,24 @@ class API {
|
|
|
327
338
|
});
|
|
328
339
|
});
|
|
329
340
|
};
|
|
341
|
+
this.memoryStore = (args, headers) => {
|
|
342
|
+
return this.fetch(this.url('MemoryStore'), createHTTPRequest(args, headers)).then(res => {
|
|
343
|
+
return buildResponse(res).then(_data => {
|
|
344
|
+
return {
|
|
345
|
+
ok: _data.ok
|
|
346
|
+
};
|
|
347
|
+
});
|
|
348
|
+
});
|
|
349
|
+
};
|
|
350
|
+
this.memoryLoad = (args, headers) => {
|
|
351
|
+
return this.fetch(this.url('MemoryLoad'), createHTTPRequest(args, headers)).then(res => {
|
|
352
|
+
return buildResponse(res).then(_data => {
|
|
353
|
+
return {
|
|
354
|
+
value: _data.value
|
|
355
|
+
};
|
|
356
|
+
});
|
|
357
|
+
});
|
|
358
|
+
};
|
|
330
359
|
this.listPayCardsOnFile = headers => {
|
|
331
360
|
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
332
361
|
return buildResponse(res).then(_data => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const WebRPCVersion = "v1";
|
|
2
2
|
export declare const WebRPCSchemaVersion = "v0.4.0";
|
|
3
|
-
export declare const WebRPCSchemaHash = "
|
|
3
|
+
export declare const WebRPCSchemaHash = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3";
|
|
4
4
|
export declare enum SmartRampOrderStatus {
|
|
5
5
|
UNKNOWN = "UNKNOWN",
|
|
6
6
|
RUNNING_CHECKS = "RUNNING_CHECKS",
|
|
@@ -264,6 +264,7 @@ export interface API {
|
|
|
264
264
|
getMoonpayLink(args: GetMoonpayLinkArgs, headers?: object): Promise<GetMoonpayLinkReturn>;
|
|
265
265
|
getSardineClientToken(headers?: object): Promise<GetSardineClientTokenReturn>;
|
|
266
266
|
isUsingGoogleMail(args: IsUsingGoogleMailArgs, headers?: object): Promise<IsUsingGoogleMailReturn>;
|
|
267
|
+
resolveENSAddress(args: ResolveENSAddressArgs, headers?: object): Promise<ResolveENSAddressReturn>;
|
|
267
268
|
isValidSignature(args: IsValidSignatureArgs, headers?: object): Promise<IsValidSignatureReturn>;
|
|
268
269
|
isValidMessageSignature(args: IsValidMessageSignatureArgs, headers?: object): Promise<IsValidMessageSignatureReturn>;
|
|
269
270
|
isValidTypedDataSignature(args: IsValidTypedDataSignatureArgs, headers?: object): Promise<IsValidTypedDataSignatureReturn>;
|
|
@@ -271,6 +272,8 @@ export interface API {
|
|
|
271
272
|
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>;
|
|
272
273
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>;
|
|
273
274
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>;
|
|
275
|
+
memoryStore(args: MemoryStoreArgs, headers?: object): Promise<MemoryStoreReturn>;
|
|
276
|
+
memoryLoad(args: MemoryLoadArgs, headers?: object): Promise<MemoryLoadReturn>;
|
|
274
277
|
listPayCardsOnFile(headers?: object): Promise<ListPayCardsOnFileReturn>;
|
|
275
278
|
savePayCard(args: SavePayCardArgs, headers?: object): Promise<SavePayCardReturn>;
|
|
276
279
|
updatePayCardCVC(args: UpdatePayCardCVCArgs, headers?: object): Promise<UpdatePayCardCVCReturn>;
|
|
@@ -438,6 +441,13 @@ export interface IsUsingGoogleMailArgs {
|
|
|
438
441
|
export interface IsUsingGoogleMailReturn {
|
|
439
442
|
yes: boolean;
|
|
440
443
|
}
|
|
444
|
+
export interface ResolveENSAddressArgs {
|
|
445
|
+
ens: string;
|
|
446
|
+
}
|
|
447
|
+
export interface ResolveENSAddressReturn {
|
|
448
|
+
address: string;
|
|
449
|
+
ok: boolean;
|
|
450
|
+
}
|
|
441
451
|
export interface IsValidSignatureArgs {
|
|
442
452
|
chainId: string;
|
|
443
453
|
walletAddress: string;
|
|
@@ -491,6 +501,19 @@ export interface GetExchangeRateArgs {
|
|
|
491
501
|
export interface GetExchangeRateReturn {
|
|
492
502
|
exchangeRate: ExchangeRate;
|
|
493
503
|
}
|
|
504
|
+
export interface MemoryStoreArgs {
|
|
505
|
+
key: string;
|
|
506
|
+
value: string;
|
|
507
|
+
}
|
|
508
|
+
export interface MemoryStoreReturn {
|
|
509
|
+
ok: boolean;
|
|
510
|
+
}
|
|
511
|
+
export interface MemoryLoadArgs {
|
|
512
|
+
key: string;
|
|
513
|
+
}
|
|
514
|
+
export interface MemoryLoadReturn {
|
|
515
|
+
value: string;
|
|
516
|
+
}
|
|
494
517
|
export interface ListPayCardsOnFileArgs {
|
|
495
518
|
}
|
|
496
519
|
export interface ListPayCardsOnFileReturn {
|
|
@@ -654,6 +677,7 @@ export declare class API implements API {
|
|
|
654
677
|
getMoonpayLink: (args: GetMoonpayLinkArgs, headers?: object | undefined) => Promise<GetMoonpayLinkReturn>;
|
|
655
678
|
getSardineClientToken: (headers?: object | undefined) => Promise<GetSardineClientTokenReturn>;
|
|
656
679
|
isUsingGoogleMail: (args: IsUsingGoogleMailArgs, headers?: object | undefined) => Promise<IsUsingGoogleMailReturn>;
|
|
680
|
+
resolveENSAddress: (args: ResolveENSAddressArgs, headers?: object | undefined) => Promise<ResolveENSAddressReturn>;
|
|
657
681
|
isValidSignature: (args: IsValidSignatureArgs, headers?: object | undefined) => Promise<IsValidSignatureReturn>;
|
|
658
682
|
isValidMessageSignature: (args: IsValidMessageSignatureArgs, headers?: object | undefined) => Promise<IsValidMessageSignatureReturn>;
|
|
659
683
|
isValidTypedDataSignature: (args: IsValidTypedDataSignatureArgs, headers?: object | undefined) => Promise<IsValidTypedDataSignatureReturn>;
|
|
@@ -661,6 +685,8 @@ export declare class API implements API {
|
|
|
661
685
|
getCoinPrices: (args: GetCoinPricesArgs, headers?: object | undefined) => Promise<GetCoinPricesReturn>;
|
|
662
686
|
getCollectiblePrices: (args: GetCollectiblePricesArgs, headers?: object | undefined) => Promise<GetCollectiblePricesReturn>;
|
|
663
687
|
getExchangeRate: (args: GetExchangeRateArgs, headers?: object | undefined) => Promise<GetExchangeRateReturn>;
|
|
688
|
+
memoryStore: (args: MemoryStoreArgs, headers?: object | undefined) => Promise<MemoryStoreReturn>;
|
|
689
|
+
memoryLoad: (args: MemoryLoadArgs, headers?: object | undefined) => Promise<MemoryLoadReturn>;
|
|
664
690
|
listPayCardsOnFile: (headers?: object | undefined) => Promise<ListPayCardsOnFileReturn>;
|
|
665
691
|
savePayCard: (args: SavePayCardArgs, headers?: object | undefined) => Promise<SavePayCardReturn>;
|
|
666
692
|
updatePayCardCVC: (args: UpdatePayCardCVCArgs, headers?: object | undefined) => Promise<UpdatePayCardCVCReturn>;
|
package/package.json
CHANGED
package/src/api.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-api v0.4.0
|
|
2
|
+
// sequence-api v0.4.0 698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3
|
|
3
3
|
// --
|
|
4
|
-
// Code generated by webrpc-gen@v0.
|
|
4
|
+
// Code generated by webrpc-gen@v0.10.x-dev with typescript generator. DO NOT EDIT.
|
|
5
5
|
//
|
|
6
6
|
// webrpc-gen -schema=api.ridl -target=typescript -client -out=./clients/api.gen.ts
|
|
7
7
|
|
|
@@ -12,11 +12,12 @@ export const WebRPCVersion = "v1"
|
|
|
12
12
|
export const WebRPCSchemaVersion = "v0.4.0"
|
|
13
13
|
|
|
14
14
|
// Schema hash generated from your RIDL schema
|
|
15
|
-
export const WebRPCSchemaHash = "
|
|
15
|
+
export const WebRPCSchemaHash = "698db8d7b44b6d14f6a8a70e6bd50ac3ecda9be3"
|
|
16
16
|
|
|
17
17
|
//
|
|
18
18
|
// Types
|
|
19
19
|
//
|
|
20
|
+
|
|
20
21
|
export enum SmartRampOrderStatus {
|
|
21
22
|
UNKNOWN = 'UNKNOWN',
|
|
22
23
|
RUNNING_CHECKS = 'RUNNING_CHECKS',
|
|
@@ -312,6 +313,7 @@ export interface API {
|
|
|
312
313
|
getMoonpayLink(args: GetMoonpayLinkArgs, headers?: object): Promise<GetMoonpayLinkReturn>
|
|
313
314
|
getSardineClientToken(headers?: object): Promise<GetSardineClientTokenReturn>
|
|
314
315
|
isUsingGoogleMail(args: IsUsingGoogleMailArgs, headers?: object): Promise<IsUsingGoogleMailReturn>
|
|
316
|
+
resolveENSAddress(args: ResolveENSAddressArgs, headers?: object): Promise<ResolveENSAddressReturn>
|
|
315
317
|
isValidSignature(args: IsValidSignatureArgs, headers?: object): Promise<IsValidSignatureReturn>
|
|
316
318
|
isValidMessageSignature(args: IsValidMessageSignatureArgs, headers?: object): Promise<IsValidMessageSignatureReturn>
|
|
317
319
|
isValidTypedDataSignature(args: IsValidTypedDataSignatureArgs, headers?: object): Promise<IsValidTypedDataSignatureReturn>
|
|
@@ -319,6 +321,8 @@ export interface API {
|
|
|
319
321
|
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>
|
|
320
322
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>
|
|
321
323
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>
|
|
324
|
+
memoryStore(args: MemoryStoreArgs, headers?: object): Promise<MemoryStoreReturn>
|
|
325
|
+
memoryLoad(args: MemoryLoadArgs, headers?: object): Promise<MemoryLoadReturn>
|
|
322
326
|
listPayCardsOnFile(headers?: object): Promise<ListPayCardsOnFileReturn>
|
|
323
327
|
savePayCard(args: SavePayCardArgs, headers?: object): Promise<SavePayCardReturn>
|
|
324
328
|
updatePayCardCVC(args: UpdatePayCardCVCArgs, headers?: object): Promise<UpdatePayCardCVCReturn>
|
|
@@ -507,6 +511,14 @@ export interface IsUsingGoogleMailArgs {
|
|
|
507
511
|
export interface IsUsingGoogleMailReturn {
|
|
508
512
|
yes: boolean
|
|
509
513
|
}
|
|
514
|
+
export interface ResolveENSAddressArgs {
|
|
515
|
+
ens: string
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export interface ResolveENSAddressReturn {
|
|
519
|
+
address: string
|
|
520
|
+
ok: boolean
|
|
521
|
+
}
|
|
510
522
|
export interface IsValidSignatureArgs {
|
|
511
523
|
chainId: string
|
|
512
524
|
walletAddress: string
|
|
@@ -567,6 +579,21 @@ export interface GetExchangeRateArgs {
|
|
|
567
579
|
export interface GetExchangeRateReturn {
|
|
568
580
|
exchangeRate: ExchangeRate
|
|
569
581
|
}
|
|
582
|
+
export interface MemoryStoreArgs {
|
|
583
|
+
key: string
|
|
584
|
+
value: string
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
export interface MemoryStoreReturn {
|
|
588
|
+
ok: boolean
|
|
589
|
+
}
|
|
590
|
+
export interface MemoryLoadArgs {
|
|
591
|
+
key: string
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export interface MemoryLoadReturn {
|
|
595
|
+
value: string
|
|
596
|
+
}
|
|
570
597
|
export interface ListPayCardsOnFileArgs {
|
|
571
598
|
}
|
|
572
599
|
|
|
@@ -1018,6 +1045,19 @@ export class API implements API {
|
|
|
1018
1045
|
})
|
|
1019
1046
|
}
|
|
1020
1047
|
|
|
1048
|
+
resolveENSAddress = (args: ResolveENSAddressArgs, headers?: object): Promise<ResolveENSAddressReturn> => {
|
|
1049
|
+
return this.fetch(
|
|
1050
|
+
this.url('ResolveENSAddress'),
|
|
1051
|
+
createHTTPRequest(args, headers)).then((res) => {
|
|
1052
|
+
return buildResponse(res).then(_data => {
|
|
1053
|
+
return {
|
|
1054
|
+
address: <string>(_data.address),
|
|
1055
|
+
ok: <boolean>(_data.ok)
|
|
1056
|
+
}
|
|
1057
|
+
})
|
|
1058
|
+
})
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1021
1061
|
isValidSignature = (args: IsValidSignatureArgs, headers?: object): Promise<IsValidSignatureReturn> => {
|
|
1022
1062
|
return this.fetch(
|
|
1023
1063
|
this.url('IsValidSignature'),
|
|
@@ -1102,6 +1142,30 @@ export class API implements API {
|
|
|
1102
1142
|
})
|
|
1103
1143
|
}
|
|
1104
1144
|
|
|
1145
|
+
memoryStore = (args: MemoryStoreArgs, headers?: object): Promise<MemoryStoreReturn> => {
|
|
1146
|
+
return this.fetch(
|
|
1147
|
+
this.url('MemoryStore'),
|
|
1148
|
+
createHTTPRequest(args, headers)).then((res) => {
|
|
1149
|
+
return buildResponse(res).then(_data => {
|
|
1150
|
+
return {
|
|
1151
|
+
ok: <boolean>(_data.ok)
|
|
1152
|
+
}
|
|
1153
|
+
})
|
|
1154
|
+
})
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
memoryLoad = (args: MemoryLoadArgs, headers?: object): Promise<MemoryLoadReturn> => {
|
|
1158
|
+
return this.fetch(
|
|
1159
|
+
this.url('MemoryLoad'),
|
|
1160
|
+
createHTTPRequest(args, headers)).then((res) => {
|
|
1161
|
+
return buildResponse(res).then(_data => {
|
|
1162
|
+
return {
|
|
1163
|
+
value: <string>(_data.value)
|
|
1164
|
+
}
|
|
1165
|
+
})
|
|
1166
|
+
})
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1105
1169
|
listPayCardsOnFile = (headers?: object): Promise<ListPayCardsOnFileReturn> => {
|
|
1106
1170
|
return this.fetch(
|
|
1107
1171
|
this.url('ListPayCardsOnFile'),
|