@randock/nameshift-api-client 0.0.535 → 0.0.537
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/.openapi-generator/FILES +20 -0
- package/README.md +3 -3
- package/dist/apis/AdminApi.d.ts +13 -0
- package/dist/apis/AdminApi.js +53 -0
- package/dist/apis/WebhooksApi.d.ts +186 -0
- package/dist/apis/WebhooksApi.js +797 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/CreateWebhookEndpointInput.d.ts +69 -0
- package/dist/models/CreateWebhookEndpointInput.js +66 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/UpdateWebhookEndpointInput.d.ts +69 -0
- package/dist/models/UpdateWebhookEndpointInput.js +62 -0
- package/dist/models/WebhookAttemptTrigger.d.ts +25 -0
- package/dist/models/WebhookAttemptTrigger.js +51 -0
- package/dist/models/WebhookDeliveriesSummaryDto.d.ts +62 -0
- package/dist/models/WebhookDeliveriesSummaryDto.js +71 -0
- package/dist/models/WebhookDeliveryAttemptDto.d.ts +75 -0
- package/dist/models/WebhookDeliveryAttemptDto.js +80 -0
- package/dist/models/WebhookDeliveryDto.d.ts +100 -0
- package/dist/models/WebhookDeliveryDto.js +97 -0
- package/dist/models/WebhookDeliveryStatus.d.ts +28 -0
- package/dist/models/WebhookDeliveryStatus.js +54 -0
- package/dist/models/WebhookEndpointDto.d.ts +111 -0
- package/dist/models/WebhookEndpointDto.js +104 -0
- package/dist/models/WebhookEndpointHeaderDto.d.ts +38 -0
- package/dist/models/WebhookEndpointHeaderDto.js +55 -0
- package/dist/models/WebhookEndpointHeaderInput.d.ts +38 -0
- package/dist/models/WebhookEndpointHeaderInput.js +55 -0
- package/dist/models/WebhookEndpointHeadersDto.d.ts +33 -0
- package/dist/models/WebhookEndpointHeadersDto.js +52 -0
- package/dist/models/WebhookEndpointSecretDto.d.ts +32 -0
- package/dist/models/WebhookEndpointSecretDto.js +51 -0
- package/dist/models/WebhookEndpointStatus.d.ts +26 -0
- package/dist/models/WebhookEndpointStatus.js +52 -0
- package/dist/models/WebhookEventTypeDto.d.ts +52 -0
- package/dist/models/WebhookEventTypeDto.js +63 -0
- package/dist/models/WebhookMessageDetailDto.d.ts +79 -0
- package/dist/models/WebhookMessageDetailDto.js +82 -0
- package/dist/models/WebhookMessageDto.d.ts +64 -0
- package/dist/models/WebhookMessageDto.js +73 -0
- package/dist/models/WebhookMessagePageDto.d.ts +40 -0
- package/dist/models/WebhookMessagePageDto.js +57 -0
- package/dist/models/WebhookMessagePageMetaDto.d.ts +50 -0
- package/dist/models/WebhookMessagePageMetaDto.js +63 -0
- package/dist/models/WebhookMessageStatus.d.ts +27 -0
- package/dist/models/WebhookMessageStatus.js +53 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +46 -0
- package/src/apis/WebhooksApi.ts +671 -0
- package/src/apis/index.ts +1 -0
- package/src/models/CreateWebhookEndpointInput.ts +123 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/UpdateWebhookEndpointInput.ts +121 -0
- package/src/models/WebhookAttemptTrigger.ts +53 -0
- package/src/models/WebhookDeliveriesSummaryDto.ts +111 -0
- package/src/models/WebhookDeliveryAttemptDto.ts +139 -0
- package/src/models/WebhookDeliveryDto.ts +182 -0
- package/src/models/WebhookDeliveryStatus.ts +56 -0
- package/src/models/WebhookEndpointDto.ts +193 -0
- package/src/models/WebhookEndpointHeaderDto.ts +75 -0
- package/src/models/WebhookEndpointHeaderInput.ts +75 -0
- package/src/models/WebhookEndpointHeadersDto.ts +74 -0
- package/src/models/WebhookEndpointSecretDto.ts +66 -0
- package/src/models/WebhookEndpointStatus.ts +54 -0
- package/src/models/WebhookEventTypeDto.ts +93 -0
- package/src/models/WebhookMessageDetailDto.ts +153 -0
- package/src/models/WebhookMessageDto.ts +128 -0
- package/src/models/WebhookMessagePageDto.ts +90 -0
- package/src/models/WebhookMessagePageMetaDto.ts +93 -0
- package/src/models/WebhookMessageStatus.ts +55 -0
- package/src/models/index.ts +19 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -40,6 +40,7 @@ src/apis/TasksApi.ts
|
|
|
40
40
|
src/apis/TaxPublicApi.ts
|
|
41
41
|
src/apis/UsersApi.ts
|
|
42
42
|
src/apis/UsersPublicApi.ts
|
|
43
|
+
src/apis/WebhooksApi.ts
|
|
43
44
|
src/apis/index.ts
|
|
44
45
|
src/index.ts
|
|
45
46
|
src/models/AccountAliasDto.ts
|
|
@@ -254,6 +255,7 @@ src/models/CreateOrderInput.ts
|
|
|
254
255
|
src/models/CreateSubscriptionBillingPeriodicityInput.ts
|
|
255
256
|
src/models/CreateSubscriptionInput.ts
|
|
256
257
|
src/models/CreateSubscriptionManualTransactionInput.ts
|
|
258
|
+
src/models/CreateWebhookEndpointInput.ts
|
|
257
259
|
src/models/CreatedApiKeyDto.ts
|
|
258
260
|
src/models/CurrentPasswordInput.ts
|
|
259
261
|
src/models/CursorBasedPageInfo.ts
|
|
@@ -679,6 +681,7 @@ src/models/UpdateTaskMuteStatusForBuyerInput.ts
|
|
|
679
681
|
src/models/UpdateTaskMuteStatusInput.ts
|
|
680
682
|
src/models/UpdateUserNewsletterSubscriptionInput.ts
|
|
681
683
|
src/models/UpdateUserNotificationSettingsInput.ts
|
|
684
|
+
src/models/UpdateWebhookEndpointInput.ts
|
|
682
685
|
src/models/UserLoginAttemptDto.ts
|
|
683
686
|
src/models/UserLoginAttemptMethod.ts
|
|
684
687
|
src/models/UserLoginAttemptResult.ts
|
|
@@ -700,6 +703,23 @@ src/models/ValidationException.ts
|
|
|
700
703
|
src/models/VerifyEmailOtpInput.ts
|
|
701
704
|
src/models/VerifyLeadInput.ts
|
|
702
705
|
src/models/VerifyPhoneOtpInput.ts
|
|
706
|
+
src/models/WebhookAttemptTrigger.ts
|
|
707
|
+
src/models/WebhookDeliveriesSummaryDto.ts
|
|
708
|
+
src/models/WebhookDeliveryAttemptDto.ts
|
|
709
|
+
src/models/WebhookDeliveryDto.ts
|
|
710
|
+
src/models/WebhookDeliveryStatus.ts
|
|
711
|
+
src/models/WebhookEndpointDto.ts
|
|
712
|
+
src/models/WebhookEndpointHeaderDto.ts
|
|
713
|
+
src/models/WebhookEndpointHeaderInput.ts
|
|
714
|
+
src/models/WebhookEndpointHeadersDto.ts
|
|
715
|
+
src/models/WebhookEndpointSecretDto.ts
|
|
716
|
+
src/models/WebhookEndpointStatus.ts
|
|
717
|
+
src/models/WebhookEventTypeDto.ts
|
|
718
|
+
src/models/WebhookMessageDetailDto.ts
|
|
719
|
+
src/models/WebhookMessageDto.ts
|
|
720
|
+
src/models/WebhookMessagePageDto.ts
|
|
721
|
+
src/models/WebhookMessagePageMetaDto.ts
|
|
722
|
+
src/models/WebhookMessageStatus.ts
|
|
703
723
|
src/models/WithSettingsInner.ts
|
|
704
724
|
src/models/index.ts
|
|
705
725
|
src/runtime.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.537
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.537 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
541f3de0f5f02776118e511205cccb348533ae6e631f977877744cd0f2ab935c1f6e4e0859b31ca09b3361d04ccf69cf
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -69,6 +69,9 @@ export interface AdminApiCreateNegativeInvoiceRequest {
|
|
|
69
69
|
export interface AdminApiCreateNewsletterRequest {
|
|
70
70
|
createNewsletterInput: CreateNewsletterInput;
|
|
71
71
|
}
|
|
72
|
+
export interface AdminApiDeleteAccountRequest {
|
|
73
|
+
accountId: string;
|
|
74
|
+
}
|
|
72
75
|
export interface AdminApiDeleteAccountNoteRequest {
|
|
73
76
|
accountId: string;
|
|
74
77
|
noteId: string;
|
|
@@ -619,6 +622,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
619
622
|
* Start a newsletter
|
|
620
623
|
*/
|
|
621
624
|
createNewsletter(requestParameters: AdminApiCreateNewsletterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<NewsletterDto>;
|
|
625
|
+
/**
|
|
626
|
+
* Deletes the seller account with its users and unsold domains, as the seller deleting it would, without notifying the seller. Requires super admin role.
|
|
627
|
+
* Delete account
|
|
628
|
+
*/
|
|
629
|
+
deleteAccountRaw(requestParameters: AdminApiDeleteAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
630
|
+
/**
|
|
631
|
+
* Deletes the seller account with its users and unsold domains, as the seller deleting it would, without notifying the seller. Requires super admin role.
|
|
632
|
+
* Delete account
|
|
633
|
+
*/
|
|
634
|
+
deleteAccount(requestParameters: AdminApiDeleteAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
622
635
|
/**
|
|
623
636
|
* Soft-deletes a note. Only its author, or a super admin, may do so.
|
|
624
637
|
* Delete account note
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -928,6 +928,59 @@ var AdminApi = /** @class */ (function (_super) {
|
|
|
928
928
|
});
|
|
929
929
|
});
|
|
930
930
|
};
|
|
931
|
+
/**
|
|
932
|
+
* Deletes the seller account with its users and unsold domains, as the seller deleting it would, without notifying the seller. Requires super admin role.
|
|
933
|
+
* Delete account
|
|
934
|
+
*/
|
|
935
|
+
AdminApi.prototype.deleteAccountRaw = function (requestParameters, initOverrides) {
|
|
936
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
937
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
938
|
+
return __generator(this, function (_a) {
|
|
939
|
+
switch (_a.label) {
|
|
940
|
+
case 0:
|
|
941
|
+
if (requestParameters['accountId'] == null) {
|
|
942
|
+
throw new runtime.RequiredError('accountId', 'Required parameter "accountId" was null or undefined when calling deleteAccount().');
|
|
943
|
+
}
|
|
944
|
+
queryParameters = {};
|
|
945
|
+
headerParameters = {};
|
|
946
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
947
|
+
token = this.configuration.accessToken;
|
|
948
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
949
|
+
case 1:
|
|
950
|
+
tokenString = _a.sent();
|
|
951
|
+
if (tokenString) {
|
|
952
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
953
|
+
}
|
|
954
|
+
_a.label = 2;
|
|
955
|
+
case 2: return [4 /*yield*/, this.request({
|
|
956
|
+
path: "/admin/accounts/{accountId}".replace("{".concat("accountId", "}"), encodeURIComponent(String(requestParameters['accountId']))),
|
|
957
|
+
method: 'DELETE',
|
|
958
|
+
headers: headerParameters,
|
|
959
|
+
query: queryParameters,
|
|
960
|
+
}, initOverrides)];
|
|
961
|
+
case 3:
|
|
962
|
+
response = _a.sent();
|
|
963
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
964
|
+
}
|
|
965
|
+
});
|
|
966
|
+
});
|
|
967
|
+
};
|
|
968
|
+
/**
|
|
969
|
+
* Deletes the seller account with its users and unsold domains, as the seller deleting it would, without notifying the seller. Requires super admin role.
|
|
970
|
+
* Delete account
|
|
971
|
+
*/
|
|
972
|
+
AdminApi.prototype.deleteAccount = function (requestParameters, initOverrides) {
|
|
973
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
974
|
+
return __generator(this, function (_a) {
|
|
975
|
+
switch (_a.label) {
|
|
976
|
+
case 0: return [4 /*yield*/, this.deleteAccountRaw(requestParameters, initOverrides)];
|
|
977
|
+
case 1:
|
|
978
|
+
_a.sent();
|
|
979
|
+
return [2 /*return*/];
|
|
980
|
+
}
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
};
|
|
931
984
|
/**
|
|
932
985
|
* Soft-deletes a note. Only its author, or a super admin, may do so.
|
|
933
986
|
* Delete account note
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { CreateWebhookEndpointInput, UpdateWebhookEndpointInput, WebhookDeliveryStatus, WebhookEndpointDto, WebhookEndpointHeadersDto, WebhookEndpointSecretDto, WebhookEventTypeDto, WebhookMessageDetailDto, WebhookMessagePageDto } from '../models/index';
|
|
14
|
+
export interface WebhooksApiCreateWebhookEndpointRequest {
|
|
15
|
+
createWebhookEndpointInput: CreateWebhookEndpointInput;
|
|
16
|
+
}
|
|
17
|
+
export interface WebhooksApiDeleteWebhookEndpointRequest {
|
|
18
|
+
endpointId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface WebhooksApiGetWebhookEndpointRequest {
|
|
21
|
+
endpointId: string;
|
|
22
|
+
}
|
|
23
|
+
export interface WebhooksApiGetWebhookEndpointHeadersRequest {
|
|
24
|
+
endpointId: string;
|
|
25
|
+
}
|
|
26
|
+
export interface WebhooksApiGetWebhookEndpointSecretRequest {
|
|
27
|
+
endpointId: string;
|
|
28
|
+
}
|
|
29
|
+
export interface WebhooksApiGetWebhookMessageRequest {
|
|
30
|
+
messageId: string;
|
|
31
|
+
}
|
|
32
|
+
export interface WebhooksApiGetWebhookMessagesRequest {
|
|
33
|
+
page?: number;
|
|
34
|
+
limit?: number;
|
|
35
|
+
endpointId?: string;
|
|
36
|
+
eventType?: string;
|
|
37
|
+
deliveryStatus?: WebhookDeliveryStatus;
|
|
38
|
+
}
|
|
39
|
+
export interface WebhooksApiRetryWebhookDeliveryRequest {
|
|
40
|
+
deliveryId: string;
|
|
41
|
+
}
|
|
42
|
+
export interface WebhooksApiRotateWebhookEndpointSecretRequest {
|
|
43
|
+
endpointId: string;
|
|
44
|
+
}
|
|
45
|
+
export interface WebhooksApiSendWebhookEndpointTestRequest {
|
|
46
|
+
endpointId: string;
|
|
47
|
+
}
|
|
48
|
+
export interface WebhooksApiUpdateWebhookEndpointRequest {
|
|
49
|
+
endpointId: string;
|
|
50
|
+
updateWebhookEndpointInput: UpdateWebhookEndpointInput;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
export declare class WebhooksApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Adds a URL that starts receiving the chosen event types, signed with a secret of its own.
|
|
58
|
+
* Create a webhook endpoint
|
|
59
|
+
*/
|
|
60
|
+
createWebhookEndpointRaw(requestParameters: WebhooksApiCreateWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
61
|
+
/**
|
|
62
|
+
* Adds a URL that starts receiving the chosen event types, signed with a secret of its own.
|
|
63
|
+
* Create a webhook endpoint
|
|
64
|
+
*/
|
|
65
|
+
createWebhookEndpoint(requestParameters: WebhooksApiCreateWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Removes an endpoint. Nothing is sent to it anymore, retries included.
|
|
68
|
+
* Delete a webhook endpoint
|
|
69
|
+
*/
|
|
70
|
+
deleteWebhookEndpointRaw(requestParameters: WebhooksApiDeleteWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
71
|
+
/**
|
|
72
|
+
* Removes an endpoint. Nothing is sent to it anymore, retries included.
|
|
73
|
+
* Delete a webhook endpoint
|
|
74
|
+
*/
|
|
75
|
+
deleteWebhookEndpoint(requestParameters: WebhooksApiDeleteWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
76
|
+
/**
|
|
77
|
+
* Returns one of the URLs the events of the account are sent to.
|
|
78
|
+
* Get a webhook endpoint
|
|
79
|
+
*/
|
|
80
|
+
getWebhookEndpointRaw(requestParameters: WebhooksApiGetWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpointDto>>;
|
|
81
|
+
/**
|
|
82
|
+
* Returns one of the URLs the events of the account are sent to.
|
|
83
|
+
* Get a webhook endpoint
|
|
84
|
+
*/
|
|
85
|
+
getWebhookEndpoint(requestParameters: WebhooksApiGetWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpointDto>;
|
|
86
|
+
/**
|
|
87
|
+
* Returns the custom headers sent with each event to the endpoint, values included, to edit them.
|
|
88
|
+
* Get the custom headers of a webhook endpoint
|
|
89
|
+
*/
|
|
90
|
+
getWebhookEndpointHeadersRaw(requestParameters: WebhooksApiGetWebhookEndpointHeadersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpointHeadersDto>>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns the custom headers sent with each event to the endpoint, values included, to edit them.
|
|
93
|
+
* Get the custom headers of a webhook endpoint
|
|
94
|
+
*/
|
|
95
|
+
getWebhookEndpointHeaders(requestParameters: WebhooksApiGetWebhookEndpointHeadersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpointHeadersDto>;
|
|
96
|
+
/**
|
|
97
|
+
* Returns the secret the events sent to the endpoint are signed with, to verify their signature.
|
|
98
|
+
* Get the signing secret of a webhook endpoint
|
|
99
|
+
*/
|
|
100
|
+
getWebhookEndpointSecretRaw(requestParameters: WebhooksApiGetWebhookEndpointSecretRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookEndpointSecretDto>>;
|
|
101
|
+
/**
|
|
102
|
+
* Returns the secret the events sent to the endpoint are signed with, to verify their signature.
|
|
103
|
+
* Get the signing secret of a webhook endpoint
|
|
104
|
+
*/
|
|
105
|
+
getWebhookEndpointSecret(requestParameters: WebhooksApiGetWebhookEndpointSecretRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookEndpointSecretDto>;
|
|
106
|
+
/**
|
|
107
|
+
* Lists the URLs the events of the account are sent to.
|
|
108
|
+
* List webhook endpoints
|
|
109
|
+
*/
|
|
110
|
+
getWebhookEndpointsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<WebhookEndpointDto>>>;
|
|
111
|
+
/**
|
|
112
|
+
* Lists the URLs the events of the account are sent to.
|
|
113
|
+
* List webhook endpoints
|
|
114
|
+
*/
|
|
115
|
+
getWebhookEndpoints(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<WebhookEndpointDto>>;
|
|
116
|
+
/**
|
|
117
|
+
* Lists the event types an endpoint can receive, with an example of the data each one carries.
|
|
118
|
+
* List webhook event types
|
|
119
|
+
*/
|
|
120
|
+
getWebhookEventTypesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<WebhookEventTypeDto>>>;
|
|
121
|
+
/**
|
|
122
|
+
* Lists the event types an endpoint can receive, with an example of the data each one carries.
|
|
123
|
+
* List webhook event types
|
|
124
|
+
*/
|
|
125
|
+
getWebhookEventTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<WebhookEventTypeDto>>;
|
|
126
|
+
/**
|
|
127
|
+
* Returns an event with the data it carried and each attempt to deliver it.
|
|
128
|
+
* Get a webhook event
|
|
129
|
+
*/
|
|
130
|
+
getWebhookMessageRaw(requestParameters: WebhooksApiGetWebhookMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookMessageDetailDto>>;
|
|
131
|
+
/**
|
|
132
|
+
* Returns an event with the data it carried and each attempt to deliver it.
|
|
133
|
+
* Get a webhook event
|
|
134
|
+
*/
|
|
135
|
+
getWebhookMessage(requestParameters: WebhooksApiGetWebhookMessageRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookMessageDetailDto>;
|
|
136
|
+
/**
|
|
137
|
+
* Lists the events sent to the endpoints of the account, the newest first.
|
|
138
|
+
* List webhook events
|
|
139
|
+
*/
|
|
140
|
+
getWebhookMessagesRaw(requestParameters: WebhooksApiGetWebhookMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WebhookMessagePageDto>>;
|
|
141
|
+
/**
|
|
142
|
+
* Lists the events sent to the endpoints of the account, the newest first.
|
|
143
|
+
* List webhook events
|
|
144
|
+
*/
|
|
145
|
+
getWebhookMessages(requestParameters?: WebhooksApiGetWebhookMessagesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WebhookMessagePageDto>;
|
|
146
|
+
/**
|
|
147
|
+
* Tries once more to deliver an event to an endpoint.
|
|
148
|
+
* Retry a webhook delivery
|
|
149
|
+
*/
|
|
150
|
+
retryWebhookDeliveryRaw(requestParameters: WebhooksApiRetryWebhookDeliveryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
151
|
+
/**
|
|
152
|
+
* Tries once more to deliver an event to an endpoint.
|
|
153
|
+
* Retry a webhook delivery
|
|
154
|
+
*/
|
|
155
|
+
retryWebhookDelivery(requestParameters: WebhooksApiRetryWebhookDeliveryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
156
|
+
/**
|
|
157
|
+
* Gives the endpoint a new signing secret. Events are signed with the previous one too for 24 hours, to switch over without losing any.
|
|
158
|
+
* Rotate the signing secret of a webhook endpoint
|
|
159
|
+
*/
|
|
160
|
+
rotateWebhookEndpointSecretRaw(requestParameters: WebhooksApiRotateWebhookEndpointSecretRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
161
|
+
/**
|
|
162
|
+
* Gives the endpoint a new signing secret. Events are signed with the previous one too for 24 hours, to switch over without losing any.
|
|
163
|
+
* Rotate the signing secret of a webhook endpoint
|
|
164
|
+
*/
|
|
165
|
+
rotateWebhookEndpointSecret(requestParameters: WebhooksApiRotateWebhookEndpointSecretRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
166
|
+
/**
|
|
167
|
+
* Sends a webhook.test event to the endpoint, even when it is disabled. It shows in the event log like any other.
|
|
168
|
+
* Send a test event to a webhook endpoint
|
|
169
|
+
*/
|
|
170
|
+
sendWebhookEndpointTestRaw(requestParameters: WebhooksApiSendWebhookEndpointTestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
171
|
+
/**
|
|
172
|
+
* Sends a webhook.test event to the endpoint, even when it is disabled. It shows in the event log like any other.
|
|
173
|
+
* Send a test event to a webhook endpoint
|
|
174
|
+
*/
|
|
175
|
+
sendWebhookEndpointTest(requestParameters: WebhooksApiSendWebhookEndpointTestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
* Changes the URL, description, event types, custom headers, timeout, attempts or enabled state of an endpoint. What is left out stays as it is.
|
|
178
|
+
* Update a webhook endpoint
|
|
179
|
+
*/
|
|
180
|
+
updateWebhookEndpointRaw(requestParameters: WebhooksApiUpdateWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
181
|
+
/**
|
|
182
|
+
* Changes the URL, description, event types, custom headers, timeout, attempts or enabled state of an endpoint. What is left out stays as it is.
|
|
183
|
+
* Update a webhook endpoint
|
|
184
|
+
*/
|
|
185
|
+
updateWebhookEndpoint(requestParameters: WebhooksApiUpdateWebhookEndpointRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
186
|
+
}
|