@0xsequence/api 0.0.0-20220519202656 → 0.0.0-20220610134843
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.
|
@@ -27,7 +27,7 @@ function _extends() {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* eslint-disable */
|
|
30
|
-
// sequence-api v0.4.0
|
|
30
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
31
31
|
// --
|
|
32
32
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
33
33
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
36
36
|
|
|
37
37
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
38
38
|
|
|
39
|
-
const WebRPCSchemaHash = "
|
|
39
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
40
40
|
// Types
|
|
41
41
|
//
|
|
42
42
|
|
|
@@ -303,47 +303,6 @@ class API {
|
|
|
303
303
|
});
|
|
304
304
|
};
|
|
305
305
|
|
|
306
|
-
this.listPayCardsOnFile = headers => {
|
|
307
|
-
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
308
|
-
return buildResponse(res).then(_data => {
|
|
309
|
-
return {
|
|
310
|
-
payCards: _data.payCards
|
|
311
|
-
};
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
this.savePayCard = (args, headers) => {
|
|
317
|
-
return this.fetch(this.url('SavePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
318
|
-
return buildResponse(res).then(_data => {
|
|
319
|
-
return {
|
|
320
|
-
ok: _data.ok,
|
|
321
|
-
payCard: _data.payCard
|
|
322
|
-
};
|
|
323
|
-
});
|
|
324
|
-
});
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
this.deletePayCard = (args, headers) => {
|
|
328
|
-
return this.fetch(this.url('DeletePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
329
|
-
return buildResponse(res).then(_data => {
|
|
330
|
-
return {
|
|
331
|
-
ok: _data.ok
|
|
332
|
-
};
|
|
333
|
-
});
|
|
334
|
-
});
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
this.smartRampPurchase = (args, headers) => {
|
|
338
|
-
return this.fetch(this.url('SmartRampPurchase'), createHTTPRequest(args, headers)).then(res => {
|
|
339
|
-
return buildResponse(res).then(_data => {
|
|
340
|
-
return {
|
|
341
|
-
status: _data.status
|
|
342
|
-
};
|
|
343
|
-
});
|
|
344
|
-
});
|
|
345
|
-
};
|
|
346
|
-
|
|
347
306
|
this.getInviteInfo = headers => {
|
|
348
307
|
return this.fetch(this.url('GetInviteInfo'), createHTTPRequest({}, headers)).then(res => {
|
|
349
308
|
return buildResponse(res).then(_data => {
|
|
@@ -27,7 +27,7 @@ function _extends() {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* eslint-disable */
|
|
30
|
-
// sequence-api v0.4.0
|
|
30
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
31
31
|
// --
|
|
32
32
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
33
33
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -36,7 +36,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
36
36
|
|
|
37
37
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
38
38
|
|
|
39
|
-
const WebRPCSchemaHash = "
|
|
39
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
40
40
|
// Types
|
|
41
41
|
//
|
|
42
42
|
|
|
@@ -303,47 +303,6 @@ class API {
|
|
|
303
303
|
});
|
|
304
304
|
};
|
|
305
305
|
|
|
306
|
-
this.listPayCardsOnFile = headers => {
|
|
307
|
-
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
308
|
-
return buildResponse(res).then(_data => {
|
|
309
|
-
return {
|
|
310
|
-
payCards: _data.payCards
|
|
311
|
-
};
|
|
312
|
-
});
|
|
313
|
-
});
|
|
314
|
-
};
|
|
315
|
-
|
|
316
|
-
this.savePayCard = (args, headers) => {
|
|
317
|
-
return this.fetch(this.url('SavePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
318
|
-
return buildResponse(res).then(_data => {
|
|
319
|
-
return {
|
|
320
|
-
ok: _data.ok,
|
|
321
|
-
payCard: _data.payCard
|
|
322
|
-
};
|
|
323
|
-
});
|
|
324
|
-
});
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
this.deletePayCard = (args, headers) => {
|
|
328
|
-
return this.fetch(this.url('DeletePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
329
|
-
return buildResponse(res).then(_data => {
|
|
330
|
-
return {
|
|
331
|
-
ok: _data.ok
|
|
332
|
-
};
|
|
333
|
-
});
|
|
334
|
-
});
|
|
335
|
-
};
|
|
336
|
-
|
|
337
|
-
this.smartRampPurchase = (args, headers) => {
|
|
338
|
-
return this.fetch(this.url('SmartRampPurchase'), createHTTPRequest(args, headers)).then(res => {
|
|
339
|
-
return buildResponse(res).then(_data => {
|
|
340
|
-
return {
|
|
341
|
-
status: _data.status
|
|
342
|
-
};
|
|
343
|
-
});
|
|
344
|
-
});
|
|
345
|
-
};
|
|
346
|
-
|
|
347
306
|
this.getInviteInfo = headers => {
|
|
348
307
|
return this.fetch(this.url('GetInviteInfo'), createHTTPRequest({}, headers)).then(res => {
|
|
349
308
|
return buildResponse(res).then(_data => {
|
|
@@ -19,7 +19,7 @@ function _extends() {
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* eslint-disable */
|
|
22
|
-
// sequence-api v0.4.0
|
|
22
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
23
23
|
// --
|
|
24
24
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
25
25
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -28,7 +28,7 @@ const WebRPCVersion = "v1"; // Schema version of your RIDL schema
|
|
|
28
28
|
|
|
29
29
|
const WebRPCSchemaVersion = "v0.4.0"; // Schema hash generated from your RIDL schema
|
|
30
30
|
|
|
31
|
-
const WebRPCSchemaHash = "
|
|
31
|
+
const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"; //
|
|
32
32
|
// Types
|
|
33
33
|
//
|
|
34
34
|
|
|
@@ -295,47 +295,6 @@ class API {
|
|
|
295
295
|
});
|
|
296
296
|
};
|
|
297
297
|
|
|
298
|
-
this.listPayCardsOnFile = headers => {
|
|
299
|
-
return this.fetch(this.url('ListPayCardsOnFile'), createHTTPRequest({}, headers)).then(res => {
|
|
300
|
-
return buildResponse(res).then(_data => {
|
|
301
|
-
return {
|
|
302
|
-
payCards: _data.payCards
|
|
303
|
-
};
|
|
304
|
-
});
|
|
305
|
-
});
|
|
306
|
-
};
|
|
307
|
-
|
|
308
|
-
this.savePayCard = (args, headers) => {
|
|
309
|
-
return this.fetch(this.url('SavePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
310
|
-
return buildResponse(res).then(_data => {
|
|
311
|
-
return {
|
|
312
|
-
ok: _data.ok,
|
|
313
|
-
payCard: _data.payCard
|
|
314
|
-
};
|
|
315
|
-
});
|
|
316
|
-
});
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
this.deletePayCard = (args, headers) => {
|
|
320
|
-
return this.fetch(this.url('DeletePayCard'), createHTTPRequest(args, headers)).then(res => {
|
|
321
|
-
return buildResponse(res).then(_data => {
|
|
322
|
-
return {
|
|
323
|
-
ok: _data.ok
|
|
324
|
-
};
|
|
325
|
-
});
|
|
326
|
-
});
|
|
327
|
-
};
|
|
328
|
-
|
|
329
|
-
this.smartRampPurchase = (args, headers) => {
|
|
330
|
-
return this.fetch(this.url('SmartRampPurchase'), createHTTPRequest(args, headers)).then(res => {
|
|
331
|
-
return buildResponse(res).then(_data => {
|
|
332
|
-
return {
|
|
333
|
-
status: _data.status
|
|
334
|
-
};
|
|
335
|
-
});
|
|
336
|
-
});
|
|
337
|
-
};
|
|
338
|
-
|
|
339
298
|
this.getInviteInfo = headers => {
|
|
340
299
|
return this.fetch(this.url('GetInviteInfo'), createHTTPRequest({}, headers)).then(res => {
|
|
341
300
|
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 = "4d2479b7b4da1f3902a2593f729835aa16931146";
|
|
4
4
|
export declare enum SortOrder {
|
|
5
5
|
DESC = "DESC",
|
|
6
6
|
ASC = "ASC"
|
|
@@ -137,27 +137,6 @@ export interface ExchangeRate {
|
|
|
137
137
|
vsCurrency: string;
|
|
138
138
|
currencyType: string;
|
|
139
139
|
}
|
|
140
|
-
export interface PayCard {
|
|
141
|
-
id: number;
|
|
142
|
-
userAddress: string;
|
|
143
|
-
cardType: string;
|
|
144
|
-
cardFirstName: string;
|
|
145
|
-
cardLastName: string;
|
|
146
|
-
cardNumberLastFourDigits: string;
|
|
147
|
-
cardNumberToken: string;
|
|
148
|
-
cardCVCToken: string;
|
|
149
|
-
cardExpMonth: number;
|
|
150
|
-
cardExpYear: number;
|
|
151
|
-
contactAddressToken: string;
|
|
152
|
-
contactCityToken: string;
|
|
153
|
-
contactProvinceToken: string;
|
|
154
|
-
contactPostalCodeToken: string;
|
|
155
|
-
contactCountryCodeToken: string;
|
|
156
|
-
contactEmailToken: string;
|
|
157
|
-
contactPhoneToken: string;
|
|
158
|
-
updatedAt?: string;
|
|
159
|
-
createdAt?: string;
|
|
160
|
-
}
|
|
161
140
|
export interface API {
|
|
162
141
|
ping(headers?: object): Promise<PingReturn>;
|
|
163
142
|
version(headers?: object): Promise<VersionReturn>;
|
|
@@ -183,10 +162,6 @@ export interface API {
|
|
|
183
162
|
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>;
|
|
184
163
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>;
|
|
185
164
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>;
|
|
186
|
-
listPayCardsOnFile(headers?: object): Promise<ListPayCardsOnFileReturn>;
|
|
187
|
-
savePayCard(args: SavePayCardArgs, headers?: object): Promise<SavePayCardReturn>;
|
|
188
|
-
deletePayCard(args: DeletePayCardArgs, headers?: object): Promise<DeletePayCardReturn>;
|
|
189
|
-
smartRampPurchase(args: SmartRampPurchaseArgs, headers?: object): Promise<SmartRampPurchaseReturn>;
|
|
190
165
|
getInviteInfo(headers?: object): Promise<GetInviteInfoReturn>;
|
|
191
166
|
isValidAccessCode(args: IsValidAccessCodeArgs, headers?: object): Promise<IsValidAccessCodeReturn>;
|
|
192
167
|
internalClaimAccessCode(args: InternalClaimAccessCodeArgs, headers?: object): Promise<InternalClaimAccessCodeReturn>;
|
|
@@ -351,31 +326,6 @@ export interface GetExchangeRateArgs {
|
|
|
351
326
|
export interface GetExchangeRateReturn {
|
|
352
327
|
exchangeRate: ExchangeRate;
|
|
353
328
|
}
|
|
354
|
-
export interface ListPayCardsOnFileArgs {
|
|
355
|
-
}
|
|
356
|
-
export interface ListPayCardsOnFileReturn {
|
|
357
|
-
payCards: Array<PayCard>;
|
|
358
|
-
}
|
|
359
|
-
export interface SavePayCardArgs {
|
|
360
|
-
payCard: PayCard;
|
|
361
|
-
}
|
|
362
|
-
export interface SavePayCardReturn {
|
|
363
|
-
ok: boolean;
|
|
364
|
-
payCard: PayCard;
|
|
365
|
-
}
|
|
366
|
-
export interface DeletePayCardArgs {
|
|
367
|
-
payCardId: number;
|
|
368
|
-
}
|
|
369
|
-
export interface DeletePayCardReturn {
|
|
370
|
-
ok: boolean;
|
|
371
|
-
}
|
|
372
|
-
export interface SmartRampPurchaseArgs {
|
|
373
|
-
payCardId: number;
|
|
374
|
-
payload: any;
|
|
375
|
-
}
|
|
376
|
-
export interface SmartRampPurchaseReturn {
|
|
377
|
-
status: boolean;
|
|
378
|
-
}
|
|
379
329
|
export interface GetInviteInfoArgs {
|
|
380
330
|
}
|
|
381
331
|
export interface GetInviteInfoReturn {
|
|
@@ -431,10 +381,6 @@ export declare class API implements API {
|
|
|
431
381
|
getCoinPrices: (args: GetCoinPricesArgs, headers?: object | undefined) => Promise<GetCoinPricesReturn>;
|
|
432
382
|
getCollectiblePrices: (args: GetCollectiblePricesArgs, headers?: object | undefined) => Promise<GetCollectiblePricesReturn>;
|
|
433
383
|
getExchangeRate: (args: GetExchangeRateArgs, headers?: object | undefined) => Promise<GetExchangeRateReturn>;
|
|
434
|
-
listPayCardsOnFile: (headers?: object | undefined) => Promise<ListPayCardsOnFileReturn>;
|
|
435
|
-
savePayCard: (args: SavePayCardArgs, headers?: object | undefined) => Promise<SavePayCardReturn>;
|
|
436
|
-
deletePayCard: (args: DeletePayCardArgs, headers?: object | undefined) => Promise<DeletePayCardReturn>;
|
|
437
|
-
smartRampPurchase: (args: SmartRampPurchaseArgs, headers?: object | undefined) => Promise<SmartRampPurchaseReturn>;
|
|
438
384
|
getInviteInfo: (headers?: object | undefined) => Promise<GetInviteInfoReturn>;
|
|
439
385
|
isValidAccessCode: (args: IsValidAccessCodeArgs, headers?: object | undefined) => Promise<IsValidAccessCodeReturn>;
|
|
440
386
|
internalClaimAccessCode: (args: InternalClaimAccessCodeArgs, headers?: object | undefined) => Promise<InternalClaimAccessCodeReturn>;
|
package/package.json
CHANGED
package/src/api.gen.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
// sequence-api v0.4.0
|
|
2
|
+
// sequence-api v0.4.0 4d2479b7b4da1f3902a2593f729835aa16931146
|
|
3
3
|
// --
|
|
4
4
|
// This file has been generated by https://github.com/webrpc/webrpc using gen/typescript
|
|
5
5
|
// Do not edit by hand. Update your webrpc schema and re-generate.
|
|
@@ -11,7 +11,7 @@ export const WebRPCVersion = "v1"
|
|
|
11
11
|
export const WebRPCSchemaVersion = "v0.4.0"
|
|
12
12
|
|
|
13
13
|
// Schema hash generated from your RIDL schema
|
|
14
|
-
export const WebRPCSchemaHash = "
|
|
14
|
+
export const WebRPCSchemaHash = "4d2479b7b4da1f3902a2593f729835aa16931146"
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
//
|
|
@@ -179,28 +179,6 @@ export interface ExchangeRate {
|
|
|
179
179
|
currencyType: string
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export interface PayCard {
|
|
183
|
-
id: number
|
|
184
|
-
userAddress: string
|
|
185
|
-
cardType: string
|
|
186
|
-
cardFirstName: string
|
|
187
|
-
cardLastName: string
|
|
188
|
-
cardNumberLastFourDigits: string
|
|
189
|
-
cardNumberToken: string
|
|
190
|
-
cardCVCToken: string
|
|
191
|
-
cardExpMonth: number
|
|
192
|
-
cardExpYear: number
|
|
193
|
-
contactAddressToken: string
|
|
194
|
-
contactCityToken: string
|
|
195
|
-
contactProvinceToken: string
|
|
196
|
-
contactPostalCodeToken: string
|
|
197
|
-
contactCountryCodeToken: string
|
|
198
|
-
contactEmailToken: string
|
|
199
|
-
contactPhoneToken: string
|
|
200
|
-
updatedAt?: string
|
|
201
|
-
createdAt?: string
|
|
202
|
-
}
|
|
203
|
-
|
|
204
182
|
export interface API {
|
|
205
183
|
ping(headers?: object): Promise<PingReturn>
|
|
206
184
|
version(headers?: object): Promise<VersionReturn>
|
|
@@ -226,10 +204,6 @@ export interface API {
|
|
|
226
204
|
getCoinPrices(args: GetCoinPricesArgs, headers?: object): Promise<GetCoinPricesReturn>
|
|
227
205
|
getCollectiblePrices(args: GetCollectiblePricesArgs, headers?: object): Promise<GetCollectiblePricesReturn>
|
|
228
206
|
getExchangeRate(args: GetExchangeRateArgs, headers?: object): Promise<GetExchangeRateReturn>
|
|
229
|
-
listPayCardsOnFile(headers?: object): Promise<ListPayCardsOnFileReturn>
|
|
230
|
-
savePayCard(args: SavePayCardArgs, headers?: object): Promise<SavePayCardReturn>
|
|
231
|
-
deletePayCard(args: DeletePayCardArgs, headers?: object): Promise<DeletePayCardReturn>
|
|
232
|
-
smartRampPurchase(args: SmartRampPurchaseArgs, headers?: object): Promise<SmartRampPurchaseReturn>
|
|
233
207
|
getInviteInfo(headers?: object): Promise<GetInviteInfoReturn>
|
|
234
208
|
isValidAccessCode(args: IsValidAccessCodeArgs, headers?: object): Promise<IsValidAccessCodeReturn>
|
|
235
209
|
internalClaimAccessCode(args: InternalClaimAccessCodeArgs, headers?: object): Promise<InternalClaimAccessCodeReturn>
|
|
@@ -417,35 +391,6 @@ export interface GetExchangeRateArgs {
|
|
|
417
391
|
export interface GetExchangeRateReturn {
|
|
418
392
|
exchangeRate: ExchangeRate
|
|
419
393
|
}
|
|
420
|
-
export interface ListPayCardsOnFileArgs {
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
export interface ListPayCardsOnFileReturn {
|
|
424
|
-
payCards: Array<PayCard>
|
|
425
|
-
}
|
|
426
|
-
export interface SavePayCardArgs {
|
|
427
|
-
payCard: PayCard
|
|
428
|
-
}
|
|
429
|
-
|
|
430
|
-
export interface SavePayCardReturn {
|
|
431
|
-
ok: boolean
|
|
432
|
-
payCard: PayCard
|
|
433
|
-
}
|
|
434
|
-
export interface DeletePayCardArgs {
|
|
435
|
-
payCardId: number
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
export interface DeletePayCardReturn {
|
|
439
|
-
ok: boolean
|
|
440
|
-
}
|
|
441
|
-
export interface SmartRampPurchaseArgs {
|
|
442
|
-
payCardId: number
|
|
443
|
-
payload: any
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export interface SmartRampPurchaseReturn {
|
|
447
|
-
status: boolean
|
|
448
|
-
}
|
|
449
394
|
export interface GetInviteInfoArgs {
|
|
450
395
|
}
|
|
451
396
|
|
|
@@ -794,56 +739,6 @@ export class API implements API {
|
|
|
794
739
|
})
|
|
795
740
|
}
|
|
796
741
|
|
|
797
|
-
listPayCardsOnFile = (headers?: object): Promise<ListPayCardsOnFileReturn> => {
|
|
798
|
-
return this.fetch(
|
|
799
|
-
this.url('ListPayCardsOnFile'),
|
|
800
|
-
createHTTPRequest({}, headers)
|
|
801
|
-
).then((res) => {
|
|
802
|
-
return buildResponse(res).then(_data => {
|
|
803
|
-
return {
|
|
804
|
-
payCards: <Array<PayCard>>(_data.payCards)
|
|
805
|
-
}
|
|
806
|
-
})
|
|
807
|
-
})
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
savePayCard = (args: SavePayCardArgs, headers?: object): Promise<SavePayCardReturn> => {
|
|
811
|
-
return this.fetch(
|
|
812
|
-
this.url('SavePayCard'),
|
|
813
|
-
createHTTPRequest(args, headers)).then((res) => {
|
|
814
|
-
return buildResponse(res).then(_data => {
|
|
815
|
-
return {
|
|
816
|
-
ok: <boolean>(_data.ok),
|
|
817
|
-
payCard: <PayCard>(_data.payCard)
|
|
818
|
-
}
|
|
819
|
-
})
|
|
820
|
-
})
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
deletePayCard = (args: DeletePayCardArgs, headers?: object): Promise<DeletePayCardReturn> => {
|
|
824
|
-
return this.fetch(
|
|
825
|
-
this.url('DeletePayCard'),
|
|
826
|
-
createHTTPRequest(args, headers)).then((res) => {
|
|
827
|
-
return buildResponse(res).then(_data => {
|
|
828
|
-
return {
|
|
829
|
-
ok: <boolean>(_data.ok)
|
|
830
|
-
}
|
|
831
|
-
})
|
|
832
|
-
})
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
smartRampPurchase = (args: SmartRampPurchaseArgs, headers?: object): Promise<SmartRampPurchaseReturn> => {
|
|
836
|
-
return this.fetch(
|
|
837
|
-
this.url('SmartRampPurchase'),
|
|
838
|
-
createHTTPRequest(args, headers)).then((res) => {
|
|
839
|
-
return buildResponse(res).then(_data => {
|
|
840
|
-
return {
|
|
841
|
-
status: <boolean>(_data.status)
|
|
842
|
-
}
|
|
843
|
-
})
|
|
844
|
-
})
|
|
845
|
-
}
|
|
846
|
-
|
|
847
742
|
getInviteInfo = (headers?: object): Promise<GetInviteInfoReturn> => {
|
|
848
743
|
return this.fetch(
|
|
849
744
|
this.url('GetInviteInfo'),
|