@openfort/openfort-node 0.6.36 → 0.6.39
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/apis/notificationSubscriptionsApiWrapper.d.ts +3 -4
- package/dist/apis/notificationSubscriptionsApiWrapper.js +2 -2
- package/dist/apis/notificationSubscriptionsApiWrapper.js.map +1 -1
- package/dist/apis/notificationTriggersApiWrapper.d.ts +3 -4
- package/dist/apis/notificationTriggersApiWrapper.js +2 -2
- package/dist/apis/notificationTriggersApiWrapper.js.map +1 -1
- package/dist/apis/policiesApiWrapper.d.ts +3 -3
- package/dist/apis/policiesApiWrapper.js +1 -1
- package/dist/apis/policiesApiWrapper.js.map +1 -1
- package/dist/apis/transactionIntentsApiWrapper.js +1 -1
- package/dist/apis/transactionIntentsApiWrapper.js.map +1 -1
- package/dist/generated/apis/InventoriesApi.d.ts +6 -0
- package/dist/generated/apis/InventoriesApi.js +6 -0
- package/dist/generated/apis/InventoriesApi.js.map +1 -1
- package/dist/generated/apis/NotificationSubscriptionsApi.d.ts +74 -0
- package/dist/generated/apis/NotificationSubscriptionsApi.js +257 -0
- package/dist/generated/apis/NotificationSubscriptionsApi.js.map +1 -0
- package/dist/generated/apis/NotificationTriggersApi.d.ts +74 -0
- package/dist/generated/apis/NotificationTriggersApi.js +257 -0
- package/dist/generated/apis/NotificationTriggersApi.js.map +1 -0
- package/dist/generated/apis/NotificationsApi.d.ts +4 -130
- package/dist/generated/apis/NotificationsApi.js +4 -480
- package/dist/generated/apis/NotificationsApi.js.map +1 -1
- package/dist/generated/apis/PoliciesApi.d.ts +32 -2
- package/dist/generated/apis/PoliciesApi.js +122 -2
- package/dist/generated/apis/PoliciesApi.js.map +1 -1
- package/dist/generated/apis/SettingsApi.d.ts +2 -1
- package/dist/generated/apis/SettingsApi.js +6 -1
- package/dist/generated/apis/SettingsApi.js.map +1 -1
- package/dist/generated/apis/TransactionIntentsApi.d.ts +2 -1
- package/dist/generated/apis/TransactionIntentsApi.js +6 -1
- package/dist/generated/apis/TransactionIntentsApi.js.map +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +3 -1
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/models/{CreateSubscriptionRequest.d.ts → CreateNotificationSubscriptionRequest.d.ts} +1 -1
- package/dist/generated/models/{CreateSubscriptionRequest.js → CreateNotificationSubscriptionRequest.js} +7 -7
- package/dist/generated/models/CreateNotificationSubscriptionRequest.js.map +1 -0
- package/dist/generated/models/{CreateTriggerRequest.d.ts → CreateNotificationTriggerRequest.d.ts} +1 -1
- package/dist/generated/models/{CreateTriggerRequest.js → CreateNotificationTriggerRequest.js} +7 -7
- package/dist/generated/models/CreateNotificationTriggerRequest.js.map +1 -0
- package/dist/generated/models/DeveloperAccountListQueries.d.ts +4 -0
- package/dist/generated/models/DeveloperAccountListQueries.js +6 -0
- package/dist/generated/models/DeveloperAccountListQueries.js.map +1 -1
- package/dist/generated/models/GasReport.d.ts +8 -4
- package/dist/generated/models/GasReport.js +30 -6
- package/dist/generated/models/GasReport.js.map +1 -1
- package/dist/generated/models/{GasReportDataInner.d.ts → GasReportListResponse.d.ts} +9 -9
- package/dist/generated/models/GasReportListResponse.js +62 -0
- package/dist/generated/models/GasReportListResponse.js.map +1 -0
- package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.d.ts → GasReportTransactionIntentsInner.d.ts} +2 -2
- package/dist/generated/models/{GasReportDataInnerTransactionIntentsInner.js → GasReportTransactionIntentsInner.js} +9 -9
- package/dist/generated/models/GasReportTransactionIntentsInner.js.map +1 -0
- package/dist/generated/models/{GasReportDataInnerPeriod.d.ts → MonthRange.d.ts} +2 -2
- package/dist/generated/models/{GasReportDataInnerPeriod.js → MonthRange.js} +13 -13
- package/dist/generated/models/MonthRange.js.map +1 -0
- package/dist/generated/models/ObjectSerializer.d.ts +7 -5
- package/dist/generated/models/ObjectSerializer.js +21 -15
- package/dist/generated/models/ObjectSerializer.js.map +1 -1
- package/dist/generated/models/PolicyBalanceWithdrawResponse.d.ts +30 -0
- package/dist/generated/models/PolicyBalanceWithdrawResponse.js +44 -0
- package/dist/generated/models/PolicyBalanceWithdrawResponse.js.map +1 -0
- package/dist/generated/models/ResponseResponse.d.ts +9 -1
- package/dist/generated/models/ResponseResponse.js +12 -0
- package/dist/generated/models/ResponseResponse.js.map +1 -1
- package/dist/generated/models/SubscriptionType.d.ts +1 -1
- package/dist/generated/models/TransactionIntentListQueries.d.ts +4 -0
- package/dist/generated/models/TransactionIntentListQueries.js +6 -0
- package/dist/generated/models/TransactionIntentListQueries.js.map +1 -1
- package/dist/generated/models/WithdrawalPolicyRequest.d.ts +35 -0
- package/dist/generated/models/WithdrawalPolicyRequest.js +38 -0
- package/dist/generated/models/WithdrawalPolicyRequest.js.map +1 -0
- package/dist/generated/models/all.d.ts +7 -5
- package/dist/generated/models/all.js +7 -5
- package/dist/generated/models/all.js.map +1 -1
- package/dist/generated/types/ObjectParamAPI.d.ts +184 -122
- package/dist/generated/types/ObjectParamAPI.js +98 -64
- package/dist/generated/types/ObjectParamAPI.js.map +1 -1
- package/dist/generated/types/ObservableAPI.d.ts +80 -45
- package/dist/generated/types/ObservableAPI.js +144 -77
- package/dist/generated/types/ObservableAPI.js.map +1 -1
- package/dist/generated/types/PromiseAPI.d.ts +76 -45
- package/dist/generated/types/PromiseAPI.js +116 -77
- package/dist/generated/types/PromiseAPI.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/generated/models/CreateSubscriptionRequest.js.map +0 -1
- package/dist/generated/models/CreateTriggerRequest.js.map +0 -1
- package/dist/generated/models/GasReportDataInner.js +0 -62
- package/dist/generated/models/GasReportDataInner.js.map +0 -1
- package/dist/generated/models/GasReportDataInnerPeriod.js.map +0 -1
- package/dist/generated/models/GasReportDataInnerTransactionIntentsInner.js.map +0 -1
|
@@ -14,12 +14,12 @@ import { ContractResponse } from '../models/ContractResponse';
|
|
|
14
14
|
import { CreateAccountRequest } from '../models/CreateAccountRequest';
|
|
15
15
|
import { CreateContractRequest } from '../models/CreateContractRequest';
|
|
16
16
|
import { CreateNotificationRequest } from '../models/CreateNotificationRequest';
|
|
17
|
+
import { CreateNotificationSubscriptionRequest } from '../models/CreateNotificationSubscriptionRequest';
|
|
18
|
+
import { CreateNotificationTriggerRequest } from '../models/CreateNotificationTriggerRequest';
|
|
17
19
|
import { CreatePolicyRequest } from '../models/CreatePolicyRequest';
|
|
18
20
|
import { CreatePolicyRuleRequest } from '../models/CreatePolicyRuleRequest';
|
|
19
21
|
import { CreateSessionRequest } from '../models/CreateSessionRequest';
|
|
20
|
-
import { CreateSubscriptionRequest } from '../models/CreateSubscriptionRequest';
|
|
21
22
|
import { CreateTransactionIntentRequest } from '../models/CreateTransactionIntentRequest';
|
|
22
|
-
import { CreateTriggerRequest } from '../models/CreateTriggerRequest';
|
|
23
23
|
import { CreateWeb3ConnectionRequest } from '../models/CreateWeb3ConnectionRequest';
|
|
24
24
|
import { DeployRequest } from '../models/DeployRequest';
|
|
25
25
|
import { DeveloperAccountCreateRequest } from '../models/DeveloperAccountCreateRequest';
|
|
@@ -29,7 +29,7 @@ import { DeveloperAccountListResponse } from '../models/DeveloperAccountListResp
|
|
|
29
29
|
import { DeveloperAccountResponse } from '../models/DeveloperAccountResponse';
|
|
30
30
|
import { DeveloperAccountResponseExpandable } from '../models/DeveloperAccountResponseExpandable';
|
|
31
31
|
import { EstimateTransactionIntentGasResult } from '../models/EstimateTransactionIntentGasResult';
|
|
32
|
-
import {
|
|
32
|
+
import { GasReportListResponse } from '../models/GasReportListResponse';
|
|
33
33
|
import { GetSigninUrlResponse } from '../models/GetSigninUrlResponse';
|
|
34
34
|
import { InventoryListResponse } from '../models/InventoryListResponse';
|
|
35
35
|
import { InventoryResponse } from '../models/InventoryResponse';
|
|
@@ -56,6 +56,7 @@ import { PlayerResponse } from '../models/PlayerResponse';
|
|
|
56
56
|
import { PlayerResponseExpandable } from '../models/PlayerResponseExpandable';
|
|
57
57
|
import { PlayerTransferOwnershipRequest } from '../models/PlayerTransferOwnershipRequest';
|
|
58
58
|
import { PlayerUpdateRequest } from '../models/PlayerUpdateRequest';
|
|
59
|
+
import { PolicyBalanceWithdrawResponse } from '../models/PolicyBalanceWithdrawResponse';
|
|
59
60
|
import { PolicyDeleteResponse } from '../models/PolicyDeleteResponse';
|
|
60
61
|
import { PolicyListResponse } from '../models/PolicyListResponse';
|
|
61
62
|
import { PolicyResponse } from '../models/PolicyResponse';
|
|
@@ -90,6 +91,7 @@ import { Web3ActionResponse } from '../models/Web3ActionResponse';
|
|
|
90
91
|
import { Web3ConnectionListResponse } from '../models/Web3ConnectionListResponse';
|
|
91
92
|
import { Web3ConnectionResponse } from '../models/Web3ConnectionResponse';
|
|
92
93
|
import { Web3ConnectionResponseExpandable } from '../models/Web3ConnectionResponseExpandable';
|
|
94
|
+
import { WithdrawalPolicyRequest } from '../models/WithdrawalPolicyRequest';
|
|
93
95
|
import { AccountsApiRequestFactory, AccountsApiResponseProcessor } from "../apis/AccountsApi";
|
|
94
96
|
export declare class PromiseAccountsApi {
|
|
95
97
|
private api;
|
|
@@ -255,6 +257,7 @@ export declare class PromiseInventoriesApi {
|
|
|
255
257
|
private api;
|
|
256
258
|
constructor(configuration: Configuration, requestFactory?: InventoriesApiRequestFactory, responseProcessor?: InventoriesApiResponseProcessor);
|
|
257
259
|
/**
|
|
260
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
258
261
|
* Retrieves the cryptocurrency assets of an existing account.
|
|
259
262
|
* @param id Specifies the unique account ID.
|
|
260
263
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -264,11 +267,13 @@ export declare class PromiseInventoriesApi {
|
|
|
264
267
|
*/
|
|
265
268
|
getAccountCryptoCurrencyInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
266
269
|
/**
|
|
270
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
267
271
|
* Retrieves the native asset of an existing account.
|
|
268
272
|
* @param id Specifies the unique account ID.
|
|
269
273
|
*/
|
|
270
274
|
getAccountNativeInventory(id: string, _options?: Configuration): Promise<InventoryResponse>;
|
|
271
275
|
/**
|
|
276
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
272
277
|
* Retrieves the NFT assets of an existing account.
|
|
273
278
|
* @param id Specifies the unique account ID.
|
|
274
279
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -278,6 +283,7 @@ export declare class PromiseInventoriesApi {
|
|
|
278
283
|
*/
|
|
279
284
|
getAccountNftInventory(id: string, limit?: number, skip?: number, order?: SortOrder, contractId?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
280
285
|
/**
|
|
286
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
281
287
|
* Get cryptocurrency list of player.
|
|
282
288
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
283
289
|
* @param chainId Filter by chain id.
|
|
@@ -288,12 +294,14 @@ export declare class PromiseInventoriesApi {
|
|
|
288
294
|
*/
|
|
289
295
|
getPlayerCryptoCurrencyInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
290
296
|
/**
|
|
297
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
291
298
|
* Get native token list of player.
|
|
292
299
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
293
300
|
* @param chainId Filter by chain id.
|
|
294
301
|
*/
|
|
295
302
|
getPlayerNativeInventory(id: string, chainId: number, _options?: Configuration): Promise<InventoryResponse>;
|
|
296
303
|
/**
|
|
304
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
297
305
|
* Get NFTs list of player.
|
|
298
306
|
* @param id Specifies the unique player ID (starts with pla_).
|
|
299
307
|
* @param chainId Filter by chain id.
|
|
@@ -304,53 +312,22 @@ export declare class PromiseInventoriesApi {
|
|
|
304
312
|
*/
|
|
305
313
|
getPlayerNftInventory(id: string, chainId: number, limit?: number, skip?: number, order?: SortOrder, contract?: Array<string>, _options?: Configuration): Promise<InventoryListResponse>;
|
|
306
314
|
}
|
|
307
|
-
import {
|
|
308
|
-
export declare class
|
|
315
|
+
import { NotificationSubscriptionsApiRequestFactory, NotificationSubscriptionsApiResponseProcessor } from "../apis/NotificationSubscriptionsApi";
|
|
316
|
+
export declare class PromiseNotificationSubscriptionsApi {
|
|
309
317
|
private api;
|
|
310
|
-
constructor(configuration: Configuration, requestFactory?:
|
|
311
|
-
/**
|
|
312
|
-
* Create a notification object.
|
|
313
|
-
* Create a notification object.
|
|
314
|
-
* @param createNotificationRequest
|
|
315
|
-
*/
|
|
316
|
-
createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Promise<NotificationResponse>;
|
|
318
|
+
constructor(configuration: Configuration, requestFactory?: NotificationSubscriptionsApiRequestFactory, responseProcessor?: NotificationSubscriptionsApiResponseProcessor);
|
|
317
319
|
/**
|
|
318
320
|
* Create a subscription for the provided notification.
|
|
319
321
|
* Create a notification subscription object.
|
|
320
|
-
* @param
|
|
321
|
-
*/
|
|
322
|
-
createNotificationSubscription(createSubscriptionRequest: CreateSubscriptionRequest, _options?: Configuration): Promise<NotificationSubscription>;
|
|
323
|
-
/**
|
|
324
|
-
* Create a trigger for the provided notification.
|
|
325
|
-
* Create a notification trigger object.
|
|
326
|
-
* @param createTriggerRequest
|
|
327
|
-
*/
|
|
328
|
-
createNotificationTrigger(createTriggerRequest: CreateTriggerRequest, _options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
329
|
-
/**
|
|
330
|
-
* Delete a notification by providing its notification id.
|
|
331
|
-
* Deletes a notification object.
|
|
332
|
-
* @param id Specifies the unique notification ID (starts with not_).
|
|
322
|
+
* @param createNotificationSubscriptionRequest
|
|
333
323
|
*/
|
|
334
|
-
|
|
324
|
+
createNotificationSubscription(createNotificationSubscriptionRequest: CreateNotificationSubscriptionRequest, _options?: Configuration): Promise<NotificationSubscription>;
|
|
335
325
|
/**
|
|
336
326
|
* Delete a notification subscription by providing its notification subscription id.
|
|
337
327
|
* Deletes a notification subscription object.
|
|
338
328
|
* @param id Specifies the unique notification subscription ID (starts with ntr_).
|
|
339
329
|
*/
|
|
340
330
|
deleteNotificationSubscription(id: string, _options?: Configuration): Promise<NotificationSubscriptionDeleteResponse>;
|
|
341
|
-
/**
|
|
342
|
-
* Delete a notification trigger by providing its notification trigger id.
|
|
343
|
-
* Deletes a notification trigger object.
|
|
344
|
-
* @param id Specifies the unique notification trigger ID (starts with ntr_).
|
|
345
|
-
*/
|
|
346
|
-
deleteNotificationTrigger(id: string, _options?: Configuration): Promise<NotificationTriggerDeleteResponse>;
|
|
347
|
-
/**
|
|
348
|
-
* Retrieves the details of an existing account. Supply the unique notification ID.
|
|
349
|
-
* Get existing account.
|
|
350
|
-
* @param id Specifies the unique account ID (starts with not_).
|
|
351
|
-
* @param expand
|
|
352
|
-
*/
|
|
353
|
-
getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Promise<NotificationResponse>;
|
|
354
331
|
/**
|
|
355
332
|
* Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
|
|
356
333
|
* Get existing notification subscription.
|
|
@@ -358,7 +335,7 @@ export declare class PromiseNotificationsApi {
|
|
|
358
335
|
*/
|
|
359
336
|
getNotificationSubscription(id: string, _options?: Configuration): Promise<NotificationSubscription>;
|
|
360
337
|
/**
|
|
361
|
-
* Returns a list of subscriptions of a notification.
|
|
338
|
+
* Returns a list of subscriptions of a notification. Subscriptions define the the way you will get notified and the target of the notification. Subscriptions are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification subscriptions are shown per page.
|
|
362
339
|
* List notification subscriptions of a notification.
|
|
363
340
|
* @param notification Specifies the unique notification ID (starts with not_).
|
|
364
341
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -366,6 +343,23 @@ export declare class PromiseNotificationsApi {
|
|
|
366
343
|
* @param order Specifies the order in which to sort the results.
|
|
367
344
|
*/
|
|
368
345
|
getNotificationSubscriptions(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<NotificationSubscriptionListResponse>;
|
|
346
|
+
}
|
|
347
|
+
import { NotificationTriggersApiRequestFactory, NotificationTriggersApiResponseProcessor } from "../apis/NotificationTriggersApi";
|
|
348
|
+
export declare class PromiseNotificationTriggersApi {
|
|
349
|
+
private api;
|
|
350
|
+
constructor(configuration: Configuration, requestFactory?: NotificationTriggersApiRequestFactory, responseProcessor?: NotificationTriggersApiResponseProcessor);
|
|
351
|
+
/**
|
|
352
|
+
* Create a trigger for the provided notification.
|
|
353
|
+
* Create a notification trigger object.
|
|
354
|
+
* @param createNotificationTriggerRequest
|
|
355
|
+
*/
|
|
356
|
+
createNotificationTrigger(createNotificationTriggerRequest: CreateNotificationTriggerRequest, _options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
357
|
+
/**
|
|
358
|
+
* Delete a notification trigger by providing its notification trigger id.
|
|
359
|
+
* Deletes a notification trigger object.
|
|
360
|
+
* @param id Specifies the unique notification trigger ID (starts with ntr_).
|
|
361
|
+
*/
|
|
362
|
+
deleteNotificationTrigger(id: string, _options?: Configuration): Promise<NotificationTriggerDeleteResponse>;
|
|
369
363
|
/**
|
|
370
364
|
* Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
|
|
371
365
|
* Get existing notification trigger.
|
|
@@ -373,7 +367,7 @@ export declare class PromiseNotificationsApi {
|
|
|
373
367
|
*/
|
|
374
368
|
getNotificationTrigger(id: string, _options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
375
369
|
/**
|
|
376
|
-
* Returns a list of triggers of a notification.
|
|
370
|
+
* Returns a list of triggers of a notification. Triggers define the conditions that will trigger a notification. Triggers are returned sorted by creation date, with the most recently created accounts appearing first. By default, a maximum of 10 notification triggers are shown per page.
|
|
377
371
|
* List notification triggers of a notification.
|
|
378
372
|
* @param notification Specifies the unique notification ID (starts with not_).
|
|
379
373
|
* @param limit Specifies the maximum number of records to return.
|
|
@@ -381,8 +375,32 @@ export declare class PromiseNotificationsApi {
|
|
|
381
375
|
* @param order Specifies the order in which to sort the results.
|
|
382
376
|
*/
|
|
383
377
|
getNotificationTriggers(notification: string, limit?: number, skip?: number, order?: SortOrder, _options?: Configuration): Promise<NotificationTriggerListResponse>;
|
|
378
|
+
}
|
|
379
|
+
import { NotificationsApiRequestFactory, NotificationsApiResponseProcessor } from "../apis/NotificationsApi";
|
|
380
|
+
export declare class PromiseNotificationsApi {
|
|
381
|
+
private api;
|
|
382
|
+
constructor(configuration: Configuration, requestFactory?: NotificationsApiRequestFactory, responseProcessor?: NotificationsApiResponseProcessor);
|
|
383
|
+
/**
|
|
384
|
+
* Create a notification object.
|
|
385
|
+
* Create a notification object.
|
|
386
|
+
* @param createNotificationRequest
|
|
387
|
+
*/
|
|
388
|
+
createNotification(createNotificationRequest: CreateNotificationRequest, _options?: Configuration): Promise<NotificationResponse>;
|
|
389
|
+
/**
|
|
390
|
+
* Delete a notification by providing its notification id.
|
|
391
|
+
* Deletes a notification object.
|
|
392
|
+
* @param id Specifies the unique notification ID (starts with not_).
|
|
393
|
+
*/
|
|
394
|
+
deleteNotification(id: string, _options?: Configuration): Promise<NotificationDeleteResponse>;
|
|
395
|
+
/**
|
|
396
|
+
* Retrieves the details of an existing notification. Supply the unique notification ID.
|
|
397
|
+
* Get existing notification.
|
|
398
|
+
* @param id Specifies the unique notification ID (starts with not_).
|
|
399
|
+
* @param expand
|
|
400
|
+
*/
|
|
401
|
+
getNotification(id: string, expand?: Array<NotificationResponseExpandable>, _options?: Configuration): Promise<NotificationResponse>;
|
|
384
402
|
/**
|
|
385
|
-
* Returns a list of notifications.
|
|
403
|
+
* Returns a list of notifications. Notifications are useful to get notified about events that happen on-chain or in your Openfort account. Notifications are returned sorted by creation date, with the most recently created notifications appearing first. By default, a maximum of 10 notifications are shown per page.
|
|
386
404
|
* List notifications.
|
|
387
405
|
* @param limit Specifies the maximum number of records to return.
|
|
388
406
|
* @param skip Specifies the offset for the first records to return.
|
|
@@ -526,6 +544,12 @@ export declare class PromisePoliciesApi {
|
|
|
526
544
|
* @param createPolicyRequest
|
|
527
545
|
*/
|
|
528
546
|
createPolicy(createPolicyRequest: CreatePolicyRequest, _options?: Configuration): Promise<PolicyResponse>;
|
|
547
|
+
/**
|
|
548
|
+
* List all gas reports of a policy.
|
|
549
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
550
|
+
* @param withdrawalPolicyRequest
|
|
551
|
+
*/
|
|
552
|
+
createPolicyWithdrawal(id: string, withdrawalPolicyRequest: WithdrawalPolicyRequest, _options?: Configuration): Promise<TransactionIntentResponse>;
|
|
529
553
|
/**
|
|
530
554
|
* Delete a policy object.
|
|
531
555
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
@@ -565,7 +589,12 @@ export declare class PromisePoliciesApi {
|
|
|
565
589
|
* List all gas reports of a policy.
|
|
566
590
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
567
591
|
*/
|
|
568
|
-
|
|
592
|
+
getPolicyBalance(id: string, _options?: Configuration): Promise<PolicyBalanceWithdrawResponse>;
|
|
593
|
+
/**
|
|
594
|
+
* List all gas reports of a policy.
|
|
595
|
+
* @param id Specifies the unique policy ID (starts with pol_).
|
|
596
|
+
*/
|
|
597
|
+
getPolicyTotalGasUsage(id: string, _options?: Configuration): Promise<GasReportListResponse>;
|
|
569
598
|
/**
|
|
570
599
|
* Update a policy object.
|
|
571
600
|
* @param id Specifies the unique policy ID (starts with pol_).
|
|
@@ -673,8 +702,9 @@ export declare class PromiseSettingsApi {
|
|
|
673
702
|
* @param skip Specifies the offset for the first records to return.
|
|
674
703
|
* @param order Specifies the order in which to sort the results.
|
|
675
704
|
* @param expand Specifies the fields to expand in the response.
|
|
705
|
+
* @param deleted Specifies whether to include deleted dev accounts.
|
|
676
706
|
*/
|
|
677
|
-
getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, _options?: Configuration): Promise<DeveloperAccountListResponse>;
|
|
707
|
+
getDeveloperAccounts(limit?: number, skip?: number, order?: SortOrder, expand?: Array<DeveloperAccountResponseExpandable>, deleted?: boolean, _options?: Configuration): Promise<DeveloperAccountListResponse>;
|
|
678
708
|
/**
|
|
679
709
|
* Generate message, which should be signed by the account your want to add as a developer account.
|
|
680
710
|
* Generate message to sign
|
|
@@ -726,9 +756,10 @@ export declare class PromiseTransactionIntentsApi {
|
|
|
726
756
|
* @param chainId The chain ID. Must be a [supported chain](/chains).
|
|
727
757
|
* @param account Filter by account ID or developer account (starts with acc_ or dac_ respectively).
|
|
728
758
|
* @param player Filter by player ID (starts with pla_).
|
|
759
|
+
* @param status Filter by successful (1) or failed (0) transaction intents.
|
|
729
760
|
* @param policy Filter by policy ID (starts with pol_).
|
|
730
761
|
*/
|
|
731
|
-
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, policy?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
762
|
+
getTransactionIntents(limit?: number, skip?: number, order?: SortOrder, expand?: Array<TransactionIntentResponseExpandable>, chainId?: number, account?: Array<string>, player?: Array<string>, status?: number, policy?: Array<string>, _options?: Configuration): Promise<TransactionIntentListResponse>;
|
|
732
763
|
/**
|
|
733
764
|
* Broadcasts a signed TransactionIntent to the blockchain. Use this endpoint to send the signed `userOperationHash`. Openfort will then put it on-chain.
|
|
734
765
|
* Send a signed transaction userOperationHash.
|