@@ -29,7 +29,7 @@ Creates a new account activity client instance
2929
3030#### Defined in
3131
32- [ account_activity/client.ts:54 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L54 )
32+ [ account_activity/client.ts:60 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L60 )
3333
3434## Methods
3535
@@ -54,85 +54,77 @@ Promise resolving to the API response
5454
5555#### Defined in
5656
57- [ account_activity/client.ts:71 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L71 )
57+ [ account_activity/client.ts:106 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L106 )
5858
5959___
6060
61- ### createReplayJob
61+ ### validateSubscription
6262
63- ▸ ** createReplayJob ** (` webhookId ` , ` fromDate ` , ` toDate ` ): ` Promise ` \< [ ` ReplayJobCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse ) \>
63+ ▸ ** validateSubscription ** (` webhookId ` ): ` Promise ` \< [ ` SubscriptionsGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsGetResponse ) \>
6464
65- Create replay job
66- Creates a replay job to retrieve activities from up to the past 5 days for all subscriptions associated with a given webhook.
65+ Validate subscription
66+ Checks a user’s Account Activity subscription for a given webhook.
6767
6868#### Parameters
6969
7070| Name | Type | Description |
7171| :------ | :------ | :------ |
72- | ` webhookId ` | ` string ` | The unique identifier for the webhook configuration. |
73- | ` fromDate ` | ` string ` | The oldest (starting) UTC timestamp (inclusive) from which events will be provided, in ` yyyymmddhhmm ` format. |
74- | ` toDate ` | ` string ` | The latest (ending) UTC timestamp (exclusive) up to which events will be provided, in ` yyyymmddhhmm ` format. |
72+ | ` webhookId ` | ` string ` | The webhook ID to check subscription against. |
7573
7674#### Returns
7775
78- ` Promise ` \< [ ` ReplayJobCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse ) \>
76+ ` Promise ` \< [ ` SubscriptionsGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsGetResponse ) \>
7977
8078Promise resolving to the API response
8179
8280#### Defined in
8381
84- [ account_activity/client.ts:118 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L118 )
82+ [ account_activity/client.ts:152 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L152 )
8583
8684___
8785
88- ### validateSubscription
86+ ### createSubscription
8987
90- ▸ ** validateSubscription ** (` webhookId ` ): ` Promise ` \< [ ` SubscriptionsGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsGetResponse ) \>
88+ ▸ ** createSubscription ** (` webhookId ` , ` options? ` ): ` Promise ` \< [ ` SubscriptionsCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCreateResponse ) \>
9189
92- Validate subscription
93- Checks a user’s Account Activity subscription for a given webhook.
90+ Create subscription
91+ Creates an Account Activity subscription for the user and the given webhook.
9492
9593#### Parameters
9694
9795| Name | Type | Description |
9896| :------ | :------ | :------ |
9997| ` webhookId ` | ` string ` | The webhook ID to check subscription against. |
98+ | ` options ` | ` CreateSubscriptionOptions ` | - |
10099
101100#### Returns
102101
103- ` Promise ` \< [ ` SubscriptionsGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsGetResponse ) \>
102+ ` Promise ` \< [ ` SubscriptionsCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCreateResponse ) \>
104103
105104Promise resolving to the API response
106105
107106#### Defined in
108107
109- [ account_activity/client.ts:169 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L169 )
108+ [ account_activity/client.ts:203 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L203 )
110109
111110___
112111
113- ### createSubscription
114-
115- ▸ ** createSubscription** (` webhookId ` , ` options? ` ): ` Promise ` \< [ ` SubscriptionsCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCreateResponse ) \>
116-
117- Create subscription
118- Creates an Account Activity subscription for the user and the given webhook.
112+ ### getSubscriptionCount
119113
120- #### Parameters
114+ ▸ ** getSubscriptionCount ** (): ` Promise ` \< [ ` SubscriptionsCountGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCountGetResponse ) \>
121115
122- | Name | Type | Description |
123- | :------ | :------ | :------ |
124- | ` webhookId ` | ` string ` | The webhook ID to check subscription against. |
125- | ` options ` | ` CreateSubscriptionOptions ` | - |
116+ Get subscription count
117+ Retrieves a count of currently active Account Activity subscriptions.
126118
127119#### Returns
128120
129- ` Promise ` \< [ ` SubscriptionsCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCreateResponse ) \>
121+ ` Promise ` \< [ ` SubscriptionsCountGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCountGetResponse ) \>
130122
131123Promise resolving to the API response
132124
133125#### Defined in
134126
135- [ account_activity/client.ts:209 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L209 )
127+ [ account_activity/client.ts:260 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L260 )
136128
137129___
138130
@@ -158,23 +150,31 @@ Promise resolving to the API response
158150
159151#### Defined in
160152
161- [ account_activity/client.ts:261 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L261 )
153+ [ account_activity/client.ts:307 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L307 )
162154
163155___
164156
165- ### getSubscriptionCount
157+ ### createReplayJob
166158
167- ▸ ** getSubscriptionCount ** (): ` Promise ` \< [ ` SubscriptionsCountGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCountGetResponse ) \>
159+ ▸ ** createReplayJob ** (` webhookId ` , ` fromDate ` , ` toDate ` ): ` Promise ` \< [ ` ReplayJobCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse ) \>
168160
169- Get subscription count
170- Retrieves a count of currently active Account Activity subscriptions.
161+ Create replay job
162+ Creates a replay job to retrieve activities from up to the past 5 days for all subscriptions associated with a given webhook.
163+
164+ #### Parameters
165+
166+ | Name | Type | Description |
167+ | :------ | :------ | :------ |
168+ | ` webhookId ` | ` string ` | The unique identifier for the webhook configuration. |
169+ | ` fromDate ` | ` string ` | The oldest (starting) UTC timestamp (inclusive) from which events will be provided, in ` yyyymmddhhmm ` format. |
170+ | ` toDate ` | ` string ` | The latest (ending) UTC timestamp (exclusive) up to which events will be provided, in ` yyyymmddhhmm ` format. |
171171
172172#### Returns
173173
174- ` Promise ` \< [ ` SubscriptionsCountGetResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.SubscriptionsCountGetResponse ) \>
174+ ` Promise ` \< [ ` ReplayJobCreateResponse ` ] ( /xdks/typescript/reference/interfaces/Schemas.ReplayJobCreateResponse ) \>
175175
176176Promise resolving to the API response
177177
178178#### Defined in
179179
180- [ account_activity/client.ts:301 ] ( https://github.com/xdevplatform/xdk/blob/a332a30384267be8a87066aae5bba329e7c24532 /xdk/typescript/src/account_activity/client.ts#L301 )
180+ [ account_activity/client.ts:366 ] ( https://github.com/xdevplatform/xdk/blob/ccfc528c6a717b5c5744d47bf7452b4ad02fa1f3 /xdk/typescript/src/account_activity/client.ts#L366 )
0 commit comments