@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 interface AccountsApiCancelTransferOwnershipRequest {
|
|
95
97
|
/**
|
|
@@ -680,167 +682,231 @@ export declare class ObjectInventoriesApi {
|
|
|
680
682
|
private api;
|
|
681
683
|
constructor(configuration: Configuration, requestFactory?: InventoriesApiRequestFactory, responseProcessor?: InventoriesApiResponseProcessor);
|
|
682
684
|
/**
|
|
685
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
683
686
|
* Retrieves the cryptocurrency assets of an existing account.
|
|
684
687
|
* @param param the request object
|
|
685
688
|
*/
|
|
686
689
|
getAccountCryptoCurrencyInventory(param: InventoriesApiGetAccountCryptoCurrencyInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
687
690
|
/**
|
|
691
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
688
692
|
* Retrieves the native asset of an existing account.
|
|
689
693
|
* @param param the request object
|
|
690
694
|
*/
|
|
691
695
|
getAccountNativeInventory(param: InventoriesApiGetAccountNativeInventoryRequest, options?: Configuration): Promise<InventoryResponse>;
|
|
692
696
|
/**
|
|
697
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
693
698
|
* Retrieves the NFT assets of an existing account.
|
|
694
699
|
* @param param the request object
|
|
695
700
|
*/
|
|
696
701
|
getAccountNftInventory(param: InventoriesApiGetAccountNftInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
697
702
|
/**
|
|
703
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
698
704
|
* Get cryptocurrency list of player.
|
|
699
705
|
* @param param the request object
|
|
700
706
|
*/
|
|
701
707
|
getPlayerCryptoCurrencyInventory(param: InventoriesApiGetPlayerCryptoCurrencyInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
702
708
|
/**
|
|
709
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
703
710
|
* Get native token list of player.
|
|
704
711
|
* @param param the request object
|
|
705
712
|
*/
|
|
706
713
|
getPlayerNativeInventory(param: InventoriesApiGetPlayerNativeInventoryRequest, options?: Configuration): Promise<InventoryResponse>;
|
|
707
714
|
/**
|
|
715
|
+
* For development purposes only. Under higher load scenarios, this endpoint may be rate limited.
|
|
708
716
|
* Get NFTs list of player.
|
|
709
717
|
* @param param the request object
|
|
710
718
|
*/
|
|
711
719
|
getPlayerNftInventory(param: InventoriesApiGetPlayerNftInventoryRequest, options?: Configuration): Promise<InventoryListResponse>;
|
|
712
720
|
}
|
|
713
|
-
import {
|
|
714
|
-
export interface
|
|
721
|
+
import { NotificationSubscriptionsApiRequestFactory, NotificationSubscriptionsApiResponseProcessor } from "../apis/NotificationSubscriptionsApi";
|
|
722
|
+
export interface NotificationSubscriptionsApiCreateNotificationSubscriptionRequest {
|
|
715
723
|
/**
|
|
716
724
|
*
|
|
717
|
-
* @type
|
|
718
|
-
* @memberof
|
|
725
|
+
* @type CreateNotificationSubscriptionRequest
|
|
726
|
+
* @memberof NotificationSubscriptionsApicreateNotificationSubscription
|
|
719
727
|
*/
|
|
720
|
-
|
|
728
|
+
createNotificationSubscriptionRequest: CreateNotificationSubscriptionRequest;
|
|
721
729
|
}
|
|
722
|
-
export interface
|
|
723
|
-
/**
|
|
724
|
-
*
|
|
725
|
-
* @type CreateSubscriptionRequest
|
|
726
|
-
* @memberof NotificationsApicreateNotificationSubscription
|
|
727
|
-
*/
|
|
728
|
-
createSubscriptionRequest: CreateSubscriptionRequest;
|
|
729
|
-
}
|
|
730
|
-
export interface NotificationsApiCreateNotificationTriggerRequest {
|
|
731
|
-
/**
|
|
732
|
-
*
|
|
733
|
-
* @type CreateTriggerRequest
|
|
734
|
-
* @memberof NotificationsApicreateNotificationTrigger
|
|
735
|
-
*/
|
|
736
|
-
createTriggerRequest: CreateTriggerRequest;
|
|
737
|
-
}
|
|
738
|
-
export interface NotificationsApiDeleteNotificationRequest {
|
|
739
|
-
/**
|
|
740
|
-
* Specifies the unique notification ID (starts with not_).
|
|
741
|
-
* @type string
|
|
742
|
-
* @memberof NotificationsApideleteNotification
|
|
743
|
-
*/
|
|
744
|
-
id: string;
|
|
745
|
-
}
|
|
746
|
-
export interface NotificationsApiDeleteNotificationSubscriptionRequest {
|
|
730
|
+
export interface NotificationSubscriptionsApiDeleteNotificationSubscriptionRequest {
|
|
747
731
|
/**
|
|
748
732
|
* Specifies the unique notification subscription ID (starts with ntr_).
|
|
749
733
|
* @type string
|
|
750
|
-
* @memberof
|
|
734
|
+
* @memberof NotificationSubscriptionsApideleteNotificationSubscription
|
|
751
735
|
*/
|
|
752
736
|
id: string;
|
|
753
737
|
}
|
|
754
|
-
export interface
|
|
755
|
-
/**
|
|
756
|
-
* Specifies the unique notification trigger ID (starts with ntr_).
|
|
757
|
-
* @type string
|
|
758
|
-
* @memberof NotificationsApideleteNotificationTrigger
|
|
759
|
-
*/
|
|
760
|
-
id: string;
|
|
761
|
-
}
|
|
762
|
-
export interface NotificationsApiGetNotificationRequest {
|
|
763
|
-
/**
|
|
764
|
-
* Specifies the unique account ID (starts with not_).
|
|
765
|
-
* @type string
|
|
766
|
-
* @memberof NotificationsApigetNotification
|
|
767
|
-
*/
|
|
768
|
-
id: string;
|
|
769
|
-
/**
|
|
770
|
-
*
|
|
771
|
-
* @type Array<NotificationResponseExpandable>
|
|
772
|
-
* @memberof NotificationsApigetNotification
|
|
773
|
-
*/
|
|
774
|
-
expand?: Array<NotificationResponseExpandable>;
|
|
775
|
-
}
|
|
776
|
-
export interface NotificationsApiGetNotificationSubscriptionRequest {
|
|
738
|
+
export interface NotificationSubscriptionsApiGetNotificationSubscriptionRequest {
|
|
777
739
|
/**
|
|
778
740
|
* Specifies the unique notification subscription ID (starts with not_).
|
|
779
741
|
* @type string
|
|
780
|
-
* @memberof
|
|
742
|
+
* @memberof NotificationSubscriptionsApigetNotificationSubscription
|
|
781
743
|
*/
|
|
782
744
|
id: string;
|
|
783
745
|
}
|
|
784
|
-
export interface
|
|
746
|
+
export interface NotificationSubscriptionsApiGetNotificationSubscriptionsRequest {
|
|
785
747
|
/**
|
|
786
748
|
* Specifies the unique notification ID (starts with not_).
|
|
787
749
|
* @type string
|
|
788
|
-
* @memberof
|
|
750
|
+
* @memberof NotificationSubscriptionsApigetNotificationSubscriptions
|
|
789
751
|
*/
|
|
790
752
|
notification: string;
|
|
791
753
|
/**
|
|
792
754
|
* Specifies the maximum number of records to return.
|
|
793
755
|
* @type number
|
|
794
|
-
* @memberof
|
|
756
|
+
* @memberof NotificationSubscriptionsApigetNotificationSubscriptions
|
|
795
757
|
*/
|
|
796
758
|
limit?: number;
|
|
797
759
|
/**
|
|
798
760
|
* Specifies the offset for the first records to return.
|
|
799
761
|
* @type number
|
|
800
|
-
* @memberof
|
|
762
|
+
* @memberof NotificationSubscriptionsApigetNotificationSubscriptions
|
|
801
763
|
*/
|
|
802
764
|
skip?: number;
|
|
803
765
|
/**
|
|
804
766
|
* Specifies the order in which to sort the results.
|
|
805
767
|
* @type SortOrder
|
|
806
|
-
* @memberof
|
|
768
|
+
* @memberof NotificationSubscriptionsApigetNotificationSubscriptions
|
|
807
769
|
*/
|
|
808
770
|
order?: SortOrder;
|
|
809
771
|
}
|
|
810
|
-
export
|
|
772
|
+
export declare class ObjectNotificationSubscriptionsApi {
|
|
773
|
+
private api;
|
|
774
|
+
constructor(configuration: Configuration, requestFactory?: NotificationSubscriptionsApiRequestFactory, responseProcessor?: NotificationSubscriptionsApiResponseProcessor);
|
|
775
|
+
/**
|
|
776
|
+
* Create a subscription for the provided notification.
|
|
777
|
+
* Create a notification subscription object.
|
|
778
|
+
* @param param the request object
|
|
779
|
+
*/
|
|
780
|
+
createNotificationSubscription(param: NotificationSubscriptionsApiCreateNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscription>;
|
|
781
|
+
/**
|
|
782
|
+
* Delete a notification subscription by providing its notification subscription id.
|
|
783
|
+
* Deletes a notification subscription object.
|
|
784
|
+
* @param param the request object
|
|
785
|
+
*/
|
|
786
|
+
deleteNotificationSubscription(param: NotificationSubscriptionsApiDeleteNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscriptionDeleteResponse>;
|
|
787
|
+
/**
|
|
788
|
+
* Retrieves the details of an existing notification subscription. Supply the unique notification subscription ID.
|
|
789
|
+
* Get existing notification subscription.
|
|
790
|
+
* @param param the request object
|
|
791
|
+
*/
|
|
792
|
+
getNotificationSubscription(param: NotificationSubscriptionsApiGetNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscription>;
|
|
793
|
+
/**
|
|
794
|
+
* 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.
|
|
795
|
+
* List notification subscriptions of a notification.
|
|
796
|
+
* @param param the request object
|
|
797
|
+
*/
|
|
798
|
+
getNotificationSubscriptions(param: NotificationSubscriptionsApiGetNotificationSubscriptionsRequest, options?: Configuration): Promise<NotificationSubscriptionListResponse>;
|
|
799
|
+
}
|
|
800
|
+
import { NotificationTriggersApiRequestFactory, NotificationTriggersApiResponseProcessor } from "../apis/NotificationTriggersApi";
|
|
801
|
+
export interface NotificationTriggersApiCreateNotificationTriggerRequest {
|
|
802
|
+
/**
|
|
803
|
+
*
|
|
804
|
+
* @type CreateNotificationTriggerRequest
|
|
805
|
+
* @memberof NotificationTriggersApicreateNotificationTrigger
|
|
806
|
+
*/
|
|
807
|
+
createNotificationTriggerRequest: CreateNotificationTriggerRequest;
|
|
808
|
+
}
|
|
809
|
+
export interface NotificationTriggersApiDeleteNotificationTriggerRequest {
|
|
810
|
+
/**
|
|
811
|
+
* Specifies the unique notification trigger ID (starts with ntr_).
|
|
812
|
+
* @type string
|
|
813
|
+
* @memberof NotificationTriggersApideleteNotificationTrigger
|
|
814
|
+
*/
|
|
815
|
+
id: string;
|
|
816
|
+
}
|
|
817
|
+
export interface NotificationTriggersApiGetNotificationTriggerRequest {
|
|
811
818
|
/**
|
|
812
819
|
* Specifies the unique notification trigger ID (starts with ntr_).
|
|
813
820
|
* @type string
|
|
814
|
-
* @memberof
|
|
821
|
+
* @memberof NotificationTriggersApigetNotificationTrigger
|
|
815
822
|
*/
|
|
816
823
|
id: string;
|
|
817
824
|
}
|
|
818
|
-
export interface
|
|
825
|
+
export interface NotificationTriggersApiGetNotificationTriggersRequest {
|
|
819
826
|
/**
|
|
820
827
|
* Specifies the unique notification ID (starts with not_).
|
|
821
828
|
* @type string
|
|
822
|
-
* @memberof
|
|
829
|
+
* @memberof NotificationTriggersApigetNotificationTriggers
|
|
823
830
|
*/
|
|
824
831
|
notification: string;
|
|
825
832
|
/**
|
|
826
833
|
* Specifies the maximum number of records to return.
|
|
827
834
|
* @type number
|
|
828
|
-
* @memberof
|
|
835
|
+
* @memberof NotificationTriggersApigetNotificationTriggers
|
|
829
836
|
*/
|
|
830
837
|
limit?: number;
|
|
831
838
|
/**
|
|
832
839
|
* Specifies the offset for the first records to return.
|
|
833
840
|
* @type number
|
|
834
|
-
* @memberof
|
|
841
|
+
* @memberof NotificationTriggersApigetNotificationTriggers
|
|
835
842
|
*/
|
|
836
843
|
skip?: number;
|
|
837
844
|
/**
|
|
838
845
|
* Specifies the order in which to sort the results.
|
|
839
846
|
* @type SortOrder
|
|
840
|
-
* @memberof
|
|
847
|
+
* @memberof NotificationTriggersApigetNotificationTriggers
|
|
841
848
|
*/
|
|
842
849
|
order?: SortOrder;
|
|
843
850
|
}
|
|
851
|
+
export declare class ObjectNotificationTriggersApi {
|
|
852
|
+
private api;
|
|
853
|
+
constructor(configuration: Configuration, requestFactory?: NotificationTriggersApiRequestFactory, responseProcessor?: NotificationTriggersApiResponseProcessor);
|
|
854
|
+
/**
|
|
855
|
+
* Create a trigger for the provided notification.
|
|
856
|
+
* Create a notification trigger object.
|
|
857
|
+
* @param param the request object
|
|
858
|
+
*/
|
|
859
|
+
createNotificationTrigger(param: NotificationTriggersApiCreateNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
860
|
+
/**
|
|
861
|
+
* Delete a notification trigger by providing its notification trigger id.
|
|
862
|
+
* Deletes a notification trigger object.
|
|
863
|
+
* @param param the request object
|
|
864
|
+
*/
|
|
865
|
+
deleteNotificationTrigger(param: NotificationTriggersApiDeleteNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerDeleteResponse>;
|
|
866
|
+
/**
|
|
867
|
+
* Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
|
|
868
|
+
* Get existing notification trigger.
|
|
869
|
+
* @param param the request object
|
|
870
|
+
*/
|
|
871
|
+
getNotificationTrigger(param: NotificationTriggersApiGetNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
872
|
+
/**
|
|
873
|
+
* 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.
|
|
874
|
+
* List notification triggers of a notification.
|
|
875
|
+
* @param param the request object
|
|
876
|
+
*/
|
|
877
|
+
getNotificationTriggers(param: NotificationTriggersApiGetNotificationTriggersRequest, options?: Configuration): Promise<NotificationTriggerListResponse>;
|
|
878
|
+
}
|
|
879
|
+
import { NotificationsApiRequestFactory, NotificationsApiResponseProcessor } from "../apis/NotificationsApi";
|
|
880
|
+
export interface NotificationsApiCreateNotificationRequest {
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type CreateNotificationRequest
|
|
884
|
+
* @memberof NotificationsApicreateNotification
|
|
885
|
+
*/
|
|
886
|
+
createNotificationRequest: CreateNotificationRequest;
|
|
887
|
+
}
|
|
888
|
+
export interface NotificationsApiDeleteNotificationRequest {
|
|
889
|
+
/**
|
|
890
|
+
* Specifies the unique notification ID (starts with not_).
|
|
891
|
+
* @type string
|
|
892
|
+
* @memberof NotificationsApideleteNotification
|
|
893
|
+
*/
|
|
894
|
+
id: string;
|
|
895
|
+
}
|
|
896
|
+
export interface NotificationsApiGetNotificationRequest {
|
|
897
|
+
/**
|
|
898
|
+
* Specifies the unique notification ID (starts with not_).
|
|
899
|
+
* @type string
|
|
900
|
+
* @memberof NotificationsApigetNotification
|
|
901
|
+
*/
|
|
902
|
+
id: string;
|
|
903
|
+
/**
|
|
904
|
+
*
|
|
905
|
+
* @type Array<NotificationResponseExpandable>
|
|
906
|
+
* @memberof NotificationsApigetNotification
|
|
907
|
+
*/
|
|
908
|
+
expand?: Array<NotificationResponseExpandable>;
|
|
909
|
+
}
|
|
844
910
|
export interface NotificationsApiGetNotificationsRequest {
|
|
845
911
|
/**
|
|
846
912
|
* Specifies the maximum number of records to return.
|
|
@@ -888,18 +954,6 @@ export declare class ObjectNotificationsApi {
|
|
|
888
954
|
* @param param the request object
|
|
889
955
|
*/
|
|
890
956
|
createNotification(param: NotificationsApiCreateNotificationRequest, options?: Configuration): Promise<NotificationResponse>;
|
|
891
|
-
/**
|
|
892
|
-
* Create a subscription for the provided notification.
|
|
893
|
-
* Create a notification subscription object.
|
|
894
|
-
* @param param the request object
|
|
895
|
-
*/
|
|
896
|
-
createNotificationSubscription(param: NotificationsApiCreateNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscription>;
|
|
897
|
-
/**
|
|
898
|
-
* Create a trigger for the provided notification.
|
|
899
|
-
* Create a notification trigger object.
|
|
900
|
-
* @param param the request object
|
|
901
|
-
*/
|
|
902
|
-
createNotificationTrigger(param: NotificationsApiCreateNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
903
957
|
/**
|
|
904
958
|
* Delete a notification by providing its notification id.
|
|
905
959
|
* Deletes a notification object.
|
|
@@ -907,49 +961,13 @@ export declare class ObjectNotificationsApi {
|
|
|
907
961
|
*/
|
|
908
962
|
deleteNotification(param: NotificationsApiDeleteNotificationRequest, options?: Configuration): Promise<NotificationDeleteResponse>;
|
|
909
963
|
/**
|
|
910
|
-
*
|
|
911
|
-
*
|
|
912
|
-
* @param param the request object
|
|
913
|
-
*/
|
|
914
|
-
deleteNotificationSubscription(param: NotificationsApiDeleteNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscriptionDeleteResponse>;
|
|
915
|
-
/**
|
|
916
|
-
* Delete a notification trigger by providing its notification trigger id.
|
|
917
|
-
* Deletes a notification trigger object.
|
|
918
|
-
* @param param the request object
|
|
919
|
-
*/
|
|
920
|
-
deleteNotificationTrigger(param: NotificationsApiDeleteNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerDeleteResponse>;
|
|
921
|
-
/**
|
|
922
|
-
* Retrieves the details of an existing account. Supply the unique notification ID.
|
|
923
|
-
* Get existing account.
|
|
964
|
+
* Retrieves the details of an existing notification. Supply the unique notification ID.
|
|
965
|
+
* Get existing notification.
|
|
924
966
|
* @param param the request object
|
|
925
967
|
*/
|
|
926
968
|
getNotification(param: NotificationsApiGetNotificationRequest, options?: Configuration): Promise<NotificationResponse>;
|
|
927
969
|
/**
|
|
928
|
-
*
|
|
929
|
-
* Get existing notification subscription.
|
|
930
|
-
* @param param the request object
|
|
931
|
-
*/
|
|
932
|
-
getNotificationSubscription(param: NotificationsApiGetNotificationSubscriptionRequest, options?: Configuration): Promise<NotificationSubscription>;
|
|
933
|
-
/**
|
|
934
|
-
* Returns a list of subscriptions of a notification. The 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.
|
|
935
|
-
* List notification subscriptions of a notification.
|
|
936
|
-
* @param param the request object
|
|
937
|
-
*/
|
|
938
|
-
getNotificationSubscriptions(param: NotificationsApiGetNotificationSubscriptionsRequest, options?: Configuration): Promise<NotificationSubscriptionListResponse>;
|
|
939
|
-
/**
|
|
940
|
-
* Retrieves the details of an existing notification trigger. Supply the unique notification trigger ID.
|
|
941
|
-
* Get existing notification trigger.
|
|
942
|
-
* @param param the request object
|
|
943
|
-
*/
|
|
944
|
-
getNotificationTrigger(param: NotificationsApiGetNotificationTriggerRequest, options?: Configuration): Promise<NotificationTriggerResponse>;
|
|
945
|
-
/**
|
|
946
|
-
* Returns a list of triggers of a notification. The 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.
|
|
947
|
-
* List notification triggers of a notification.
|
|
948
|
-
* @param param the request object
|
|
949
|
-
*/
|
|
950
|
-
getNotificationTriggers(param: NotificationsApiGetNotificationTriggersRequest, options?: Configuration): Promise<NotificationTriggerListResponse>;
|
|
951
|
-
/**
|
|
952
|
-
* Returns a list of notifications. The 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.
|
|
970
|
+
* 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.
|
|
953
971
|
* List notifications.
|
|
954
972
|
* @param param the request object
|
|
955
973
|
*/
|
|
@@ -1284,6 +1302,20 @@ export interface PoliciesApiCreatePolicyRequest {
|
|
|
1284
1302
|
*/
|
|
1285
1303
|
createPolicyRequest: CreatePolicyRequest;
|
|
1286
1304
|
}
|
|
1305
|
+
export interface PoliciesApiCreatePolicyWithdrawalRequest {
|
|
1306
|
+
/**
|
|
1307
|
+
* Specifies the unique policy ID (starts with pol_).
|
|
1308
|
+
* @type string
|
|
1309
|
+
* @memberof PoliciesApicreatePolicyWithdrawal
|
|
1310
|
+
*/
|
|
1311
|
+
id: string;
|
|
1312
|
+
/**
|
|
1313
|
+
*
|
|
1314
|
+
* @type WithdrawalPolicyRequest
|
|
1315
|
+
* @memberof PoliciesApicreatePolicyWithdrawal
|
|
1316
|
+
*/
|
|
1317
|
+
withdrawalPolicyRequest: WithdrawalPolicyRequest;
|
|
1318
|
+
}
|
|
1287
1319
|
export interface PoliciesApiDeletePolicyRequest {
|
|
1288
1320
|
/**
|
|
1289
1321
|
* Specifies the unique policy ID (starts with pol_).
|
|
@@ -1372,6 +1404,14 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
1372
1404
|
*/
|
|
1373
1405
|
expand?: Array<PolicyResponseExpandable>;
|
|
1374
1406
|
}
|
|
1407
|
+
export interface PoliciesApiGetPolicyBalanceRequest {
|
|
1408
|
+
/**
|
|
1409
|
+
* Specifies the unique policy ID (starts with pol_).
|
|
1410
|
+
* @type string
|
|
1411
|
+
* @memberof PoliciesApigetPolicyBalance
|
|
1412
|
+
*/
|
|
1413
|
+
id: string;
|
|
1414
|
+
}
|
|
1375
1415
|
export interface PoliciesApiGetPolicyTotalGasUsageRequest {
|
|
1376
1416
|
/**
|
|
1377
1417
|
* Specifies the unique policy ID (starts with pol_).
|
|
@@ -1402,6 +1442,11 @@ export declare class ObjectPoliciesApi {
|
|
|
1402
1442
|
* @param param the request object
|
|
1403
1443
|
*/
|
|
1404
1444
|
createPolicy(param: PoliciesApiCreatePolicyRequest, options?: Configuration): Promise<PolicyResponse>;
|
|
1445
|
+
/**
|
|
1446
|
+
* List all gas reports of a policy.
|
|
1447
|
+
* @param param the request object
|
|
1448
|
+
*/
|
|
1449
|
+
createPolicyWithdrawal(param: PoliciesApiCreatePolicyWithdrawalRequest, options?: Configuration): Promise<TransactionIntentResponse>;
|
|
1405
1450
|
/**
|
|
1406
1451
|
* Delete a policy object.
|
|
1407
1452
|
* @param param the request object
|
|
@@ -1433,7 +1478,12 @@ export declare class ObjectPoliciesApi {
|
|
|
1433
1478
|
* List all gas reports of a policy.
|
|
1434
1479
|
* @param param the request object
|
|
1435
1480
|
*/
|
|
1436
|
-
|
|
1481
|
+
getPolicyBalance(param: PoliciesApiGetPolicyBalanceRequest, options?: Configuration): Promise<PolicyBalanceWithdrawResponse>;
|
|
1482
|
+
/**
|
|
1483
|
+
* List all gas reports of a policy.
|
|
1484
|
+
* @param param the request object
|
|
1485
|
+
*/
|
|
1486
|
+
getPolicyTotalGasUsage(param: PoliciesApiGetPolicyTotalGasUsageRequest, options?: Configuration): Promise<GasReportListResponse>;
|
|
1437
1487
|
/**
|
|
1438
1488
|
* Update a policy object.
|
|
1439
1489
|
* @param param the request object
|
|
@@ -1693,6 +1743,12 @@ export interface SettingsApiGetDeveloperAccountsRequest {
|
|
|
1693
1743
|
* @memberof SettingsApigetDeveloperAccounts
|
|
1694
1744
|
*/
|
|
1695
1745
|
expand?: Array<DeveloperAccountResponseExpandable>;
|
|
1746
|
+
/**
|
|
1747
|
+
* Specifies whether to include deleted dev accounts.
|
|
1748
|
+
* @type boolean
|
|
1749
|
+
* @memberof SettingsApigetDeveloperAccounts
|
|
1750
|
+
*/
|
|
1751
|
+
deleted?: boolean;
|
|
1696
1752
|
}
|
|
1697
1753
|
export interface SettingsApiGetVerificationPayloadRequest {
|
|
1698
1754
|
/**
|
|
@@ -1832,6 +1888,12 @@ export interface TransactionIntentsApiGetTransactionIntentsRequest {
|
|
|
1832
1888
|
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1833
1889
|
*/
|
|
1834
1890
|
player?: Array<string>;
|
|
1891
|
+
/**
|
|
1892
|
+
* Filter by successful (1) or failed (0) transaction intents.
|
|
1893
|
+
* @type number
|
|
1894
|
+
* @memberof TransactionIntentsApigetTransactionIntents
|
|
1895
|
+
*/
|
|
1896
|
+
status?: number;
|
|
1835
1897
|
/**
|
|
1836
1898
|
* Filter by policy ID (starts with pol_).
|
|
1837
1899
|
* @type Array<string>
|