@dynamic-labs/sdk-api 0.0.937 → 0.0.939
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/package.json +1 -1
- package/src/index.cjs +4 -0
- package/src/index.js +1 -0
- package/src/models/Allowlist.d.ts +3 -3
- package/src/models/AllowlistEntriesResponse.d.ts +2 -2
- package/src/models/AllowlistEntry.d.ts +10 -10
- package/src/models/AnalyticsEngagementResponse.d.ts +2 -2
- package/src/models/AnalyticsEngagementResponseRetention.d.ts +1 -1
- package/src/models/AnalyticsOverviewResponse.d.ts +1 -1
- package/src/models/AnalyticsOverviewResponseSessions.d.ts +1 -1
- package/src/models/AnalyticsSessionsByDate.d.ts +2 -2
- package/src/models/AnalyticsToplineResponseSessions.d.ts +1 -1
- package/src/models/AnalyticsToplineResponseUsers.d.ts +1 -1
- package/src/models/AnalyticsToplineResponseWallets.d.ts +1 -1
- package/src/models/AnalyticsVisitResponse.d.ts +2 -2
- package/src/models/AnalyticsWalletsResponseBreakdown.d.ts +1 -1
- package/src/models/BackupKeySharesToLocationsWithUserIdRequest.d.ts +1 -1
- package/src/models/BillingSubscription.d.ts +12 -12
- package/src/models/BillingSubscriptionPeriod.d.ts +3 -3
- package/src/models/BulkUserCreateResponse.d.ts +4 -4
- package/src/models/ChainalysisCheck.d.ts +2 -2
- package/src/models/ChainalysisConfiguration.d.ts +4 -4
- package/src/models/CreateProjectResponseProject.d.ts +1 -1
- package/src/models/CreateUserOauthRequest.d.ts +3 -3
- package/src/models/CreateWalletRequest.d.ts +1 -1
- package/src/models/CustomField.d.ts +1 -1
- package/src/models/CustomFieldRequest.d.ts +3 -3
- package/src/models/CustomHostname.d.ts +2 -2
- package/src/models/CustomHostnameVerificationRecord.d.ts +2 -2
- package/src/models/CustomHostnamesResponse.d.ts +1 -1
- package/src/models/CustomNetworkResponseCustomNetwork.d.ts +1 -1
- package/src/models/DeeplinkUrlResponse.d.ts +1 -1
- package/src/models/DeeplinkUrlsResponse.d.ts +1 -1
- package/src/models/DelegatedAccessEncryptionPublicKey.d.ts +2 -2
- package/src/models/DelegatedAccessEncryptionPublicKeysResponse.d.ts +1 -1
- package/src/models/DelegatedAccessWalletApiKey.d.ts +5 -5
- package/src/models/EnvironmentVisitorsResponse.cjs +3 -2
- package/src/models/EnvironmentVisitorsResponse.d.ts +3 -2
- package/src/models/EnvironmentVisitorsResponse.js +3 -2
- package/src/models/EnvironmentVisitorsResponseUsers.d.ts +1 -1
- package/src/models/EnvironmentVisitorsResponseVisitors.cjs +35 -0
- package/src/models/EnvironmentVisitorsResponseVisitors.d.ts +33 -0
- package/src/models/EnvironmentVisitorsResponseVisitors.js +29 -0
- package/src/models/EnvironmentsResponseEnvironments.d.ts +1 -1
- package/src/models/Event.d.ts +5 -5
- package/src/models/EventContext.d.ts +2 -2
- package/src/models/EventType.d.ts +2 -2
- package/src/models/EventsResponse.d.ts +2 -2
- package/src/models/ExchangeResponse.d.ts +1 -1
- package/src/models/Export.d.ts +4 -4
- package/src/models/ExportsResponse.d.ts +1 -1
- package/src/models/ExternalJwtCheckRequest.d.ts +1 -1
- package/src/models/GatesResponse.d.ts +1 -1
- package/src/models/GlobalWalletAccessControlDomainResponse.d.ts +1 -1
- package/src/models/GlobalWalletAccessControlResponse.d.ts +2 -2
- package/src/models/GlobalWalletSettingsCreateRequest.d.ts +2 -2
- package/src/models/GlobalWalletSettingsUpdateRequest.d.ts +2 -2
- package/src/models/InternalBulkUpdateUserFields.d.ts +7 -7
- package/src/models/InternalBulkUpdateUserFieldsAllOf.d.ts +2 -2
- package/src/models/InternalUpdatableUserFields.d.ts +5 -5
- package/src/models/InternalUserFields.d.ts +7 -7
- package/src/models/InternalUserFieldsAllOf.d.ts +2 -2
- package/src/models/Invite.d.ts +4 -4
- package/src/models/InviteConflictResponse.d.ts +1 -1
- package/src/models/InvitesResponse.d.ts +2 -2
- package/src/models/NameServiceCreateRequest.d.ts +1 -1
- package/src/models/NameServiceSigningMessageRequest.d.ts +1 -1
- package/src/models/OAuthAccount.d.ts +1 -1
- package/src/models/OauthProviderLoginUrl.d.ts +1 -1
- package/src/models/Organization.d.ts +1 -1
- package/src/models/OrganizationMembersResponse.d.ts +2 -2
- package/src/models/OrganizationMfaSettings.d.ts +1 -1
- package/src/models/OrganizationMfaSettingsResponse.d.ts +1 -1
- package/src/models/OrganizationResponseOrganization.d.ts +1 -1
- package/src/models/OrganizationsResponse.d.ts +1 -1
- package/src/models/OriginResponse.d.ts +1 -1
- package/src/models/OriginsResponse.d.ts +1 -1
- package/src/models/PostAllowlistEntriesRequest.d.ts +1 -1
- package/src/models/Project.d.ts +2 -2
- package/src/models/ProjectEnvironment.d.ts +3 -3
- package/src/models/ProjectsResponse.d.ts +1 -1
- package/src/models/ProviderCreateRequest.d.ts +8 -8
- package/src/models/ProviderUpdateRequest.d.ts +8 -8
- package/src/models/ProviderUrlsResponse.d.ts +1 -1
- package/src/models/ProvidersResponse.d.ts +1 -1
- package/src/models/Session.d.ts +4 -4
- package/src/models/SessionsResponse.d.ts +1 -1
- package/src/models/TestAccountResponse.d.ts +3 -3
- package/src/models/Token.d.ts +2 -2
- package/src/models/TokenCreatedBy.d.ts +4 -4
- package/src/models/TokenWithRaw.d.ts +2 -2
- package/src/models/TokenWithRawProjectEnvironment.d.ts +1 -1
- package/src/models/TokensResponse.d.ts +1 -1
- package/src/models/UpdateProjectResponse.d.ts +1 -1
- package/src/models/User.d.ts +7 -7
- package/src/models/UserAllOf.d.ts +7 -7
- package/src/models/UserSearchFilterParams.d.ts +1 -1
- package/src/models/UserWalletsResponse.d.ts +2 -2
- package/src/models/UsersResponse.d.ts +2 -2
- package/src/models/Visitor.d.ts +3 -3
- package/src/models/VisitorSearchFilterParams.d.ts +1 -1
- package/src/models/VisitorsResponse.d.ts +2 -2
- package/src/models/WaasAuthenticateResponse.d.ts +1 -1
- package/src/models/WaasAuthenticateResponseEncodedJwts.d.ts +1 -1
- package/src/models/WaasDelegateSignMessageRequest.d.ts +2 -2
- package/src/models/WaasDelegationCredentialsResponse.d.ts +2 -2
- package/src/models/WaasPolicyResponse.d.ts +4 -4
- package/src/models/WaasWallet.d.ts +1 -1
- package/src/models/Wallet.d.ts +1 -1
- package/src/models/WalletDetail.d.ts +11 -11
- package/src/models/WalletKeyShareInfo.d.ts +4 -4
- package/src/models/WalletKeyShareInfoWithEncryptedAccountCredential.d.ts +4 -4
- package/src/models/WalletsResponse.d.ts +1 -1
- package/src/models/Webhook.d.ts +7 -7
- package/src/models/WebhookCreateRequest.d.ts +2 -2
- package/src/models/WebhookMessage.d.ts +10 -10
- package/src/models/WebhookMessageRedeliveryResponse.d.ts +1 -1
- package/src/models/WebhookMessagesResponse.d.ts +2 -2
- package/src/models/WebhookUpdateRequest.d.ts +2 -2
- package/src/models/WebhooksResponse.d.ts +2 -2
- package/src/models/index.d.ts +1 -0
|
@@ -17,13 +17,13 @@ import { Wallet } from './Wallet';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UserWalletsResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Total number of wallets owned by the user
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof UserWalletsResponse
|
|
23
23
|
*/
|
|
24
24
|
count: number;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List of wallet objects belonging to the user
|
|
27
27
|
* @type {Array<Wallet>}
|
|
28
28
|
* @memberof UserWalletsResponse
|
|
29
29
|
*/
|
|
@@ -17,13 +17,13 @@ import { User } from './User';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface UsersResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Total number of users matching the query
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof UsersResponse
|
|
23
23
|
*/
|
|
24
24
|
count?: number;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List of user objects
|
|
27
27
|
* @type {Array<User>}
|
|
28
28
|
* @memberof UsersResponse
|
|
29
29
|
*/
|
package/src/models/Visitor.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export interface Visitor {
|
|
|
24
24
|
*/
|
|
25
25
|
id: string;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Wallet public address of the visitor
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof Visitor
|
|
30
30
|
*/
|
|
@@ -36,7 +36,7 @@ export interface Visitor {
|
|
|
36
36
|
*/
|
|
37
37
|
chain: ChainEnum;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Name of the wallet provider used by the visitor
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof Visitor
|
|
42
42
|
*/
|
|
@@ -48,7 +48,7 @@ export interface Visitor {
|
|
|
48
48
|
*/
|
|
49
49
|
provider: WalletProviderEnum;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* ISO 8601 timestamp of when the visitor was first seen
|
|
52
52
|
* @type {Date}
|
|
53
53
|
* @memberof Visitor
|
|
54
54
|
*/
|
|
@@ -18,7 +18,7 @@ import { VisitorFilterableFieldsEnum } from './VisitorFilterableFieldsEnum';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface VisitorSearchFilterParams {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Search term to match against the selected filter column
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof VisitorSearchFilterParams
|
|
24
24
|
*/
|
|
@@ -17,13 +17,13 @@ import { Visitor } from './Visitor';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface VisitorsResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Total number of visitors matching the query
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof VisitorsResponse
|
|
23
23
|
*/
|
|
24
24
|
count?: number;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List of visitor objects
|
|
27
27
|
* @type {Array<Visitor>}
|
|
28
28
|
* @memberof VisitorsResponse
|
|
29
29
|
*/
|
|
@@ -17,7 +17,7 @@ import { WaasAuthenticateResponseEncodedJwts } from './WaasAuthenticateResponseE
|
|
|
17
17
|
*/
|
|
18
18
|
export interface WaasAuthenticateResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Status message describing the authentication result
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof WaasAuthenticateResponse
|
|
23
23
|
*/
|
|
@@ -22,13 +22,13 @@ export interface WaasDelegateSignMessageRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
message: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* When true, the message is prefixed with the chain's standard format (e.g. EIP-191 for EVM)
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof WaasDelegateSignMessageRequest
|
|
28
28
|
*/
|
|
29
29
|
isFormatted?: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Unique session identifier that groups related key-generation and signing operations
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof WaasDelegateSignMessageRequest
|
|
34
34
|
*/
|
|
@@ -41,13 +41,13 @@ export interface WaasDelegationCredentialsResponse {
|
|
|
41
41
|
*/
|
|
42
42
|
type?: WaasDelegatedAccessEncryptionPublicKeyType;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* ISO 8601 timestamp of when the delegation credentials were created
|
|
45
45
|
* @type {Date}
|
|
46
46
|
* @memberof WaasDelegationCredentialsResponse
|
|
47
47
|
*/
|
|
48
48
|
createdAt: Date;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* ISO 8601 timestamp of when the delegation credentials were last updated
|
|
51
51
|
* @type {Date}
|
|
52
52
|
* @memberof WaasDelegationCredentialsResponse
|
|
53
53
|
*/
|
|
@@ -23,7 +23,7 @@ export interface WaasPolicyResponse {
|
|
|
23
23
|
*/
|
|
24
24
|
message?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Unique identifier for the wallet policy
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof WaasPolicyResponse
|
|
29
29
|
*/
|
|
@@ -35,19 +35,19 @@ export interface WaasPolicyResponse {
|
|
|
35
35
|
*/
|
|
36
36
|
projectEnvironmentId: string;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* ISO 8601 timestamp of when the policy was created
|
|
39
39
|
* @type {Date}
|
|
40
40
|
* @memberof WaasPolicyResponse
|
|
41
41
|
*/
|
|
42
42
|
createdAt: Date;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* ISO 8601 timestamp of when the policy was last updated
|
|
45
45
|
* @type {Date}
|
|
46
46
|
* @memberof WaasPolicyResponse
|
|
47
47
|
*/
|
|
48
48
|
updatedAt: Date;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* List of policy rule objects defining allowed or denied wallet operations
|
|
51
51
|
* @type {Array<WaasPolicyRule>}
|
|
52
52
|
* @memberof WaasPolicyResponse
|
|
53
53
|
*/
|
package/src/models/Wallet.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export interface WalletDetail {
|
|
|
69
69
|
*/
|
|
70
70
|
provider: WalletProviderEnum;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* List of additional addresses derived from or associated with this wallet
|
|
73
73
|
* @type {Array<WalletAdditionalAddress>}
|
|
74
74
|
* @memberof WalletDetail
|
|
75
75
|
*/
|
|
@@ -81,25 +81,25 @@ export interface WalletDetail {
|
|
|
81
81
|
*/
|
|
82
82
|
signerWalletId?: string;
|
|
83
83
|
/**
|
|
84
|
-
*
|
|
84
|
+
* ISO 8601 timestamp of when the user last selected this wallet as active
|
|
85
85
|
* @type {Date}
|
|
86
86
|
* @memberof WalletDetail
|
|
87
87
|
*/
|
|
88
88
|
lastSelectedAt?: Date | null;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* ISO 8601 timestamp of when the wallet was last updated
|
|
91
91
|
* @type {Date}
|
|
92
92
|
* @memberof WalletDetail
|
|
93
93
|
*/
|
|
94
94
|
updatedAt: Date;
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
96
|
+
* ISO 8601 timestamp of when the wallet was created
|
|
97
97
|
* @type {Date}
|
|
98
98
|
* @memberof WalletDetail
|
|
99
99
|
*/
|
|
100
100
|
createdAt: Date;
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* ISO 8601 timestamp of when the wallet was soft-deleted, or null if active
|
|
103
103
|
* @type {Date}
|
|
104
104
|
* @memberof WalletDetail
|
|
105
105
|
*/
|
|
@@ -111,7 +111,7 @@ export interface WalletDetail {
|
|
|
111
111
|
*/
|
|
112
112
|
turnkeyHDWalletId?: string;
|
|
113
113
|
/**
|
|
114
|
-
*
|
|
114
|
+
* Whether this wallet can be used to sign in to the application
|
|
115
115
|
* @type {boolean}
|
|
116
116
|
* @memberof WalletDetail
|
|
117
117
|
*/
|
|
@@ -123,19 +123,19 @@ export interface WalletDetail {
|
|
|
123
123
|
*/
|
|
124
124
|
projectEnvironmentId: string;
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* ERC-4337 entry point contract version for account abstraction wallets
|
|
127
127
|
* @type {string}
|
|
128
128
|
* @memberof WalletDetail
|
|
129
129
|
*/
|
|
130
130
|
entryPointVersion?: string | null;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* ZeroDev Kernel smart account contract version
|
|
133
133
|
* @type {string}
|
|
134
134
|
* @memberof WalletDetail
|
|
135
135
|
*/
|
|
136
136
|
kernelVersion?: string | null;
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* ECDSA validator type used for account abstraction signing
|
|
139
139
|
* @type {string}
|
|
140
140
|
* @memberof WalletDetail
|
|
141
141
|
*/
|
|
@@ -147,7 +147,7 @@ export interface WalletDetail {
|
|
|
147
147
|
*/
|
|
148
148
|
deletedUserId?: string;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
150
|
+
* Hardware wallet metadata (device type, model) if the wallet is hardware-backed
|
|
151
151
|
* @type {object}
|
|
152
152
|
* @memberof WalletDetail
|
|
153
153
|
*/
|
|
@@ -159,7 +159,7 @@ export interface WalletDetail {
|
|
|
159
159
|
*/
|
|
160
160
|
waasWallet?: WaasWallet;
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
* List of delegated access API keys associated with this wallet
|
|
163
163
|
* @type {Array<DelegatedAccessWalletApiKey>}
|
|
164
164
|
* @memberof WalletDetail
|
|
165
165
|
*/
|
|
@@ -22,19 +22,19 @@ export interface WalletKeyShareInfo {
|
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Where this key share is stored (e.g. "user", "dynamic", "googleDrive", "iCloud")
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof WalletKeyShareInfo
|
|
28
28
|
*/
|
|
29
29
|
backupLocation: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Whether this key share is additionally encrypted with a user-provided password
|
|
32
32
|
* @type {boolean}
|
|
33
33
|
* @memberof WalletKeyShareInfo
|
|
34
34
|
*/
|
|
35
35
|
passwordEncrypted: boolean;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Whether this key share is encrypted with the developer's encryption public key
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof WalletKeyShareInfo
|
|
40
40
|
*/
|
|
@@ -46,7 +46,7 @@ export interface WalletKeyShareInfo {
|
|
|
46
46
|
*/
|
|
47
47
|
externalKeyShareId?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Identifier of the key generation ceremony that produced this share
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof WalletKeyShareInfo
|
|
52
52
|
*/
|
|
@@ -22,19 +22,19 @@ export interface WalletKeyShareInfoWithEncryptedAccountCredential {
|
|
|
22
22
|
*/
|
|
23
23
|
id: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Where this key share is stored (e.g. "user", "dynamic", "googleDrive", "iCloud")
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof WalletKeyShareInfoWithEncryptedAccountCredential
|
|
28
28
|
*/
|
|
29
29
|
backupLocation: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Whether this key share is additionally encrypted with a user-provided password
|
|
32
32
|
* @type {boolean}
|
|
33
33
|
* @memberof WalletKeyShareInfoWithEncryptedAccountCredential
|
|
34
34
|
*/
|
|
35
35
|
passwordEncrypted: boolean;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Whether this key share is encrypted with the developer's encryption public key
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof WalletKeyShareInfoWithEncryptedAccountCredential
|
|
40
40
|
*/
|
|
@@ -46,7 +46,7 @@ export interface WalletKeyShareInfoWithEncryptedAccountCredential {
|
|
|
46
46
|
*/
|
|
47
47
|
externalKeyShareId?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Identifier of the key generation ceremony that produced this share
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof WalletKeyShareInfoWithEncryptedAccountCredential
|
|
52
52
|
*/
|
package/src/models/Webhook.d.ts
CHANGED
|
@@ -34,43 +34,43 @@ export interface Webhook {
|
|
|
34
34
|
*/
|
|
35
35
|
url: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* HMAC signing secret used to verify webhook payload authenticity
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof Webhook
|
|
40
40
|
*/
|
|
41
41
|
secret?: string;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Webhook payload format version
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof Webhook
|
|
46
46
|
*/
|
|
47
47
|
version?: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* List of subscribed event type names (e.g. "admin.user.created")
|
|
50
50
|
* @type {Array<string>}
|
|
51
51
|
* @memberof Webhook
|
|
52
52
|
*/
|
|
53
53
|
events: Array<string>;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* Whether the webhook is actively delivering events
|
|
56
56
|
* @type {boolean}
|
|
57
57
|
* @memberof Webhook
|
|
58
58
|
*/
|
|
59
59
|
isEnabled: boolean;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* ISO 8601 timestamp of when the webhook was last enabled
|
|
62
62
|
* @type {Date}
|
|
63
63
|
* @memberof Webhook
|
|
64
64
|
*/
|
|
65
65
|
enabledAt?: Date;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* ISO 8601 timestamp of when the webhook was created
|
|
68
68
|
* @type {Date}
|
|
69
69
|
* @memberof Webhook
|
|
70
70
|
*/
|
|
71
71
|
createdAt: Date;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* ISO 8601 timestamp of when the webhook was last updated
|
|
74
74
|
* @type {Date}
|
|
75
75
|
* @memberof Webhook
|
|
76
76
|
*/
|
|
@@ -22,13 +22,13 @@ export interface WebhookCreateRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
url: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* When true the webhook delivers events; when false events are silently skipped
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof WebhookCreateRequest
|
|
28
28
|
*/
|
|
29
29
|
isEnabled: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Array of subscribed event type names (e.g. "admin.user.created", "admin.webhook.updated")
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof WebhookCreateRequest
|
|
34
34
|
*/
|
|
@@ -46,61 +46,61 @@ export interface WebhookMessage {
|
|
|
46
46
|
*/
|
|
47
47
|
webhookId: string;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Delivery status of the webhook message (e.g. "success", "failed", "pending")
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof WebhookMessage
|
|
52
52
|
*/
|
|
53
53
|
status: string;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* ISO 8601 timestamp of when the message was delivered to the endpoint
|
|
56
56
|
* @type {Date}
|
|
57
57
|
* @memberof WebhookMessage
|
|
58
58
|
*/
|
|
59
59
|
deliveredAt: Date;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* ISO 8601 timestamp of when the webhook message was created
|
|
62
62
|
* @type {Date}
|
|
63
63
|
* @memberof WebhookMessage
|
|
64
64
|
*/
|
|
65
65
|
messageCreatedAt: Date;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* ISO 8601 timestamp of when the event was received by the webhook service
|
|
68
68
|
* @type {Date}
|
|
69
69
|
* @memberof WebhookMessage
|
|
70
70
|
*/
|
|
71
71
|
eventReceivedAt: Date;
|
|
72
72
|
/**
|
|
73
|
-
*
|
|
73
|
+
* ISO 8601 timestamp of when the original event occurred
|
|
74
74
|
* @type {Date}
|
|
75
75
|
* @memberof WebhookMessage
|
|
76
76
|
*/
|
|
77
77
|
eventCreatedAt: Date;
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* Number of delivery attempts made for this message
|
|
80
80
|
* @type {number}
|
|
81
81
|
* @memberof WebhookMessage
|
|
82
82
|
*/
|
|
83
83
|
deliveryAttempt: number;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* HTTP request details sent to the webhook endpoint
|
|
86
86
|
* @type {object}
|
|
87
87
|
* @memberof WebhookMessage
|
|
88
88
|
*/
|
|
89
89
|
request: object;
|
|
90
90
|
/**
|
|
91
|
-
*
|
|
91
|
+
* HTTP response details received from the webhook endpoint
|
|
92
92
|
* @type {object}
|
|
93
93
|
* @memberof WebhookMessage
|
|
94
94
|
*/
|
|
95
95
|
response: object;
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* ISO 8601 timestamp of when the webhook message was last updated
|
|
98
98
|
* @type {Date}
|
|
99
99
|
* @memberof WebhookMessage
|
|
100
100
|
*/
|
|
101
101
|
updatedAt: Date;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* ISO 8601 timestamp of when the webhook message record was created
|
|
104
104
|
* @type {Date}
|
|
105
105
|
* @memberof WebhookMessage
|
|
106
106
|
*/
|
|
@@ -17,13 +17,13 @@ import { WebhookMessage } from './WebhookMessage';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface WebhookMessagesResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Opaque pagination cursor for fetching the next page of webhook messages
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof WebhookMessagesResponse
|
|
23
23
|
*/
|
|
24
24
|
cursor?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List of webhook message delivery objects
|
|
27
27
|
* @type {Array<WebhookMessage>}
|
|
28
28
|
* @memberof WebhookMessagesResponse
|
|
29
29
|
*/
|
|
@@ -22,13 +22,13 @@ export interface WebhookUpdateRequest {
|
|
|
22
22
|
*/
|
|
23
23
|
url: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* When true the webhook delivers events; when false events are silently skipped
|
|
26
26
|
* @type {boolean}
|
|
27
27
|
* @memberof WebhookUpdateRequest
|
|
28
28
|
*/
|
|
29
29
|
isEnabled: boolean;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Array of subscribed event type names (e.g. "admin.user.created", "admin.webhook.updated")
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof WebhookUpdateRequest
|
|
34
34
|
*/
|
|
@@ -17,13 +17,13 @@ import { Webhook } from './Webhook';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface WebhooksResponse {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Opaque pagination cursor for fetching the next page of webhooks
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof WebhooksResponse
|
|
23
23
|
*/
|
|
24
24
|
cursor?: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* List of webhook objects
|
|
27
27
|
* @type {Array<Webhook>}
|
|
28
28
|
* @memberof WebhooksResponse
|
|
29
29
|
*/
|
package/src/models/index.d.ts
CHANGED
|
@@ -191,6 +191,7 @@ export * from './EmbeddedWalletVersionEnum';
|
|
|
191
191
|
export * from './EnvironmentEnum';
|
|
192
192
|
export * from './EnvironmentVisitorsResponse';
|
|
193
193
|
export * from './EnvironmentVisitorsResponseUsers';
|
|
194
|
+
export * from './EnvironmentVisitorsResponseVisitors';
|
|
194
195
|
export * from './EnvironmentsResponse';
|
|
195
196
|
export * from './EnvironmentsResponseEnvironments';
|
|
196
197
|
export * from './ErrorMessageWithCode';
|