@foru-ms/sdk 2.0.3 → 2.0.4
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/privateMessages/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/privateMessages/client/Client.js +12 -12
- package/dist/cjs/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/webhooks/client/Client.js +8 -8
- package/dist/cjs/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.ts +1 -1
- package/dist/cjs/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/privateMessages/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/privateMessages/client/Client.mjs +12 -12
- package/dist/esm/api/resources/privateMessages/client/requests/DeletePrivateMessagesIdRepliesSubIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/privateMessages/client/requests/GetPrivateMessagesIdRepliesSubIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/webhooks/client/Client.mjs +8 -8
- package/dist/esm/api/resources/webhooks/client/requests/DeleteWebhooksIdDeliveriesSubIdRequest.d.mts +1 -1
- package/dist/esm/api/resources/webhooks/client/requests/GetWebhooksIdDeliveriesSubIdRequest.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +10 -10
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "2.0.
|
|
47
|
-
"User-Agent": "@foru-ms/sdk/2.0.
|
|
46
|
+
"X-Fern-SDK-Version": "2.0.4",
|
|
47
|
+
"User-Agent": "@foru-ms/sdk/2.0.4",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -103,14 +103,14 @@ export declare class PrivateMessagesClient {
|
|
|
103
103
|
* @throws {@link Forum.InternalServerError}
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
|
-
* await client.privateMessages.
|
|
106
|
+
* await client.privateMessages.createAReplyInPrivateMessage({
|
|
107
107
|
* id: "id",
|
|
108
108
|
* recipientId: "recipientId",
|
|
109
109
|
* body: "body"
|
|
110
110
|
* })
|
|
111
111
|
*/
|
|
112
|
-
|
|
113
|
-
private
|
|
112
|
+
createAReplyInPrivateMessage(request: Forum.PostPrivateMessagesIdRepliesRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.PostPrivateMessagesIdRepliesResponse>;
|
|
113
|
+
private __createAReplyInPrivateMessage;
|
|
114
114
|
/**
|
|
115
115
|
* @param {Forum.GetPrivateMessagesIdRepliesSubIdRequest} request
|
|
116
116
|
* @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -121,13 +121,13 @@ export declare class PrivateMessagesClient {
|
|
|
121
121
|
* @throws {@link Forum.InternalServerError}
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
|
-
* await client.privateMessages.
|
|
124
|
+
* await client.privateMessages.getAReplyFromPrivateMessage({
|
|
125
125
|
* id: "id",
|
|
126
126
|
* subId: "subId"
|
|
127
127
|
* })
|
|
128
128
|
*/
|
|
129
|
-
|
|
130
|
-
private
|
|
129
|
+
getAReplyFromPrivateMessage(request: Forum.GetPrivateMessagesIdRepliesSubIdRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.GetPrivateMessagesIdRepliesSubIdResponse>;
|
|
130
|
+
private __getAReplyFromPrivateMessage;
|
|
131
131
|
/**
|
|
132
132
|
* @param {Forum.DeletePrivateMessagesIdRepliesSubIdRequest} request
|
|
133
133
|
* @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,11 +138,11 @@ export declare class PrivateMessagesClient {
|
|
|
138
138
|
* @throws {@link Forum.InternalServerError}
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
|
-
* await client.privateMessages.
|
|
141
|
+
* await client.privateMessages.deleteAReplyFromPrivateMessage({
|
|
142
142
|
* id: "id",
|
|
143
143
|
* subId: "subId"
|
|
144
144
|
* })
|
|
145
145
|
*/
|
|
146
|
-
|
|
147
|
-
private
|
|
146
|
+
deleteAReplyFromPrivateMessage(request: Forum.DeletePrivateMessagesIdRepliesSubIdRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.DeletePrivateMessagesIdRepliesSubIdResponse>;
|
|
147
|
+
private __deleteAReplyFromPrivateMessage;
|
|
148
148
|
}
|
|
@@ -400,16 +400,16 @@ class PrivateMessagesClient {
|
|
|
400
400
|
* @throws {@link Forum.InternalServerError}
|
|
401
401
|
*
|
|
402
402
|
* @example
|
|
403
|
-
* await client.privateMessages.
|
|
403
|
+
* await client.privateMessages.createAReplyInPrivateMessage({
|
|
404
404
|
* id: "id",
|
|
405
405
|
* recipientId: "recipientId",
|
|
406
406
|
* body: "body"
|
|
407
407
|
* })
|
|
408
408
|
*/
|
|
409
|
-
|
|
410
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
409
|
+
createAReplyInPrivateMessage(request, requestOptions) {
|
|
410
|
+
return core.HttpResponsePromise.fromPromise(this.__createAReplyInPrivateMessage(request, requestOptions));
|
|
411
411
|
}
|
|
412
|
-
|
|
412
|
+
__createAReplyInPrivateMessage(request, requestOptions) {
|
|
413
413
|
return __awaiter(this, void 0, void 0, function* () {
|
|
414
414
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
415
415
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
@@ -468,15 +468,15 @@ class PrivateMessagesClient {
|
|
|
468
468
|
* @throws {@link Forum.InternalServerError}
|
|
469
469
|
*
|
|
470
470
|
* @example
|
|
471
|
-
* await client.privateMessages.
|
|
471
|
+
* await client.privateMessages.getAReplyFromPrivateMessage({
|
|
472
472
|
* id: "id",
|
|
473
473
|
* subId: "subId"
|
|
474
474
|
* })
|
|
475
475
|
*/
|
|
476
|
-
|
|
477
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
476
|
+
getAReplyFromPrivateMessage(request, requestOptions) {
|
|
477
|
+
return core.HttpResponsePromise.fromPromise(this.__getAReplyFromPrivateMessage(request, requestOptions));
|
|
478
478
|
}
|
|
479
|
-
|
|
479
|
+
__getAReplyFromPrivateMessage(request, requestOptions) {
|
|
480
480
|
return __awaiter(this, void 0, void 0, function* () {
|
|
481
481
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
482
482
|
const { id, subId } = request;
|
|
@@ -530,15 +530,15 @@ class PrivateMessagesClient {
|
|
|
530
530
|
* @throws {@link Forum.InternalServerError}
|
|
531
531
|
*
|
|
532
532
|
* @example
|
|
533
|
-
* await client.privateMessages.
|
|
533
|
+
* await client.privateMessages.deleteAReplyFromPrivateMessage({
|
|
534
534
|
* id: "id",
|
|
535
535
|
* subId: "subId"
|
|
536
536
|
* })
|
|
537
537
|
*/
|
|
538
|
-
|
|
539
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
538
|
+
deleteAReplyFromPrivateMessage(request, requestOptions) {
|
|
539
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteAReplyFromPrivateMessage(request, requestOptions));
|
|
540
540
|
}
|
|
541
|
-
|
|
541
|
+
__deleteAReplyFromPrivateMessage(request, requestOptions) {
|
|
542
542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
543
543
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
544
544
|
const { id, subId } = request;
|
|
@@ -103,13 +103,13 @@ export declare class WebhooksClient {
|
|
|
103
103
|
* @throws {@link Forum.InternalServerError}
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
|
-
* await client.webhooks.
|
|
106
|
+
* await client.webhooks.getADeliveryFromWebhook({
|
|
107
107
|
* id: "id",
|
|
108
108
|
* subId: "subId"
|
|
109
109
|
* })
|
|
110
110
|
*/
|
|
111
|
-
|
|
112
|
-
private
|
|
111
|
+
getADeliveryFromWebhook(request: Forum.GetWebhooksIdDeliveriesSubIdRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<Forum.GetWebhooksIdDeliveriesSubIdResponse>;
|
|
112
|
+
private __getADeliveryFromWebhook;
|
|
113
113
|
/**
|
|
114
114
|
* @param {Forum.DeleteWebhooksIdDeliveriesSubIdRequest} request
|
|
115
115
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,11 +120,11 @@ export declare class WebhooksClient {
|
|
|
120
120
|
* @throws {@link Forum.InternalServerError}
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
|
-
* await client.webhooks.
|
|
123
|
+
* await client.webhooks.deleteADeliveryFromWebhook({
|
|
124
124
|
* id: "id",
|
|
125
125
|
* subId: "subId"
|
|
126
126
|
* })
|
|
127
127
|
*/
|
|
128
|
-
|
|
129
|
-
private
|
|
128
|
+
deleteADeliveryFromWebhook(request: Forum.DeleteWebhooksIdDeliveriesSubIdRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteWebhooksIdDeliveriesSubIdResponse>;
|
|
129
|
+
private __deleteADeliveryFromWebhook;
|
|
130
130
|
}
|
|
@@ -386,15 +386,15 @@ class WebhooksClient {
|
|
|
386
386
|
* @throws {@link Forum.InternalServerError}
|
|
387
387
|
*
|
|
388
388
|
* @example
|
|
389
|
-
* await client.webhooks.
|
|
389
|
+
* await client.webhooks.getADeliveryFromWebhook({
|
|
390
390
|
* id: "id",
|
|
391
391
|
* subId: "subId"
|
|
392
392
|
* })
|
|
393
393
|
*/
|
|
394
|
-
|
|
395
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
394
|
+
getADeliveryFromWebhook(request, requestOptions) {
|
|
395
|
+
return core.HttpResponsePromise.fromPromise(this.__getADeliveryFromWebhook(request, requestOptions));
|
|
396
396
|
}
|
|
397
|
-
|
|
397
|
+
__getADeliveryFromWebhook(request, requestOptions) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
399
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
400
400
|
const { id, subId } = request;
|
|
@@ -448,15 +448,15 @@ class WebhooksClient {
|
|
|
448
448
|
* @throws {@link Forum.InternalServerError}
|
|
449
449
|
*
|
|
450
450
|
* @example
|
|
451
|
-
* await client.webhooks.
|
|
451
|
+
* await client.webhooks.deleteADeliveryFromWebhook({
|
|
452
452
|
* id: "id",
|
|
453
453
|
* subId: "subId"
|
|
454
454
|
* })
|
|
455
455
|
*/
|
|
456
|
-
|
|
457
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
456
|
+
deleteADeliveryFromWebhook(request, requestOptions) {
|
|
457
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteADeliveryFromWebhook(request, requestOptions));
|
|
458
458
|
}
|
|
459
|
-
|
|
459
|
+
__deleteADeliveryFromWebhook(request, requestOptions) {
|
|
460
460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
461
461
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
462
462
|
const { id, subId } = request;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.4";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@foru-ms/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "2.0.
|
|
10
|
-
"User-Agent": "@foru-ms/sdk/2.0.
|
|
9
|
+
"X-Fern-SDK-Version": "2.0.4",
|
|
10
|
+
"User-Agent": "@foru-ms/sdk/2.0.4",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -103,14 +103,14 @@ export declare class PrivateMessagesClient {
|
|
|
103
103
|
* @throws {@link Forum.InternalServerError}
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
|
-
* await client.privateMessages.
|
|
106
|
+
* await client.privateMessages.createAReplyInPrivateMessage({
|
|
107
107
|
* id: "id",
|
|
108
108
|
* recipientId: "recipientId",
|
|
109
109
|
* body: "body"
|
|
110
110
|
* })
|
|
111
111
|
*/
|
|
112
|
-
|
|
113
|
-
private
|
|
112
|
+
createAReplyInPrivateMessage(request: Forum.PostPrivateMessagesIdRepliesRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.PostPrivateMessagesIdRepliesResponse>;
|
|
113
|
+
private __createAReplyInPrivateMessage;
|
|
114
114
|
/**
|
|
115
115
|
* @param {Forum.GetPrivateMessagesIdRepliesSubIdRequest} request
|
|
116
116
|
* @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -121,13 +121,13 @@ export declare class PrivateMessagesClient {
|
|
|
121
121
|
* @throws {@link Forum.InternalServerError}
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
|
-
* await client.privateMessages.
|
|
124
|
+
* await client.privateMessages.getAReplyFromPrivateMessage({
|
|
125
125
|
* id: "id",
|
|
126
126
|
* subId: "subId"
|
|
127
127
|
* })
|
|
128
128
|
*/
|
|
129
|
-
|
|
130
|
-
private
|
|
129
|
+
getAReplyFromPrivateMessage(request: Forum.GetPrivateMessagesIdRepliesSubIdRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.GetPrivateMessagesIdRepliesSubIdResponse>;
|
|
130
|
+
private __getAReplyFromPrivateMessage;
|
|
131
131
|
/**
|
|
132
132
|
* @param {Forum.DeletePrivateMessagesIdRepliesSubIdRequest} request
|
|
133
133
|
* @param {PrivateMessagesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -138,11 +138,11 @@ export declare class PrivateMessagesClient {
|
|
|
138
138
|
* @throws {@link Forum.InternalServerError}
|
|
139
139
|
*
|
|
140
140
|
* @example
|
|
141
|
-
* await client.privateMessages.
|
|
141
|
+
* await client.privateMessages.deleteAReplyFromPrivateMessage({
|
|
142
142
|
* id: "id",
|
|
143
143
|
* subId: "subId"
|
|
144
144
|
* })
|
|
145
145
|
*/
|
|
146
|
-
|
|
147
|
-
private
|
|
146
|
+
deleteAReplyFromPrivateMessage(request: Forum.DeletePrivateMessagesIdRepliesSubIdRequest, requestOptions?: PrivateMessagesClient.RequestOptions): core.HttpResponsePromise<Forum.DeletePrivateMessagesIdRepliesSubIdResponse>;
|
|
147
|
+
private __deleteAReplyFromPrivateMessage;
|
|
148
148
|
}
|
|
@@ -364,16 +364,16 @@ export class PrivateMessagesClient {
|
|
|
364
364
|
* @throws {@link Forum.InternalServerError}
|
|
365
365
|
*
|
|
366
366
|
* @example
|
|
367
|
-
* await client.privateMessages.
|
|
367
|
+
* await client.privateMessages.createAReplyInPrivateMessage({
|
|
368
368
|
* id: "id",
|
|
369
369
|
* recipientId: "recipientId",
|
|
370
370
|
* body: "body"
|
|
371
371
|
* })
|
|
372
372
|
*/
|
|
373
|
-
|
|
374
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
373
|
+
createAReplyInPrivateMessage(request, requestOptions) {
|
|
374
|
+
return core.HttpResponsePromise.fromPromise(this.__createAReplyInPrivateMessage(request, requestOptions));
|
|
375
375
|
}
|
|
376
|
-
|
|
376
|
+
__createAReplyInPrivateMessage(request, requestOptions) {
|
|
377
377
|
return __awaiter(this, void 0, void 0, function* () {
|
|
378
378
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
379
379
|
const { id } = request, _body = __rest(request, ["id"]);
|
|
@@ -432,15 +432,15 @@ export class PrivateMessagesClient {
|
|
|
432
432
|
* @throws {@link Forum.InternalServerError}
|
|
433
433
|
*
|
|
434
434
|
* @example
|
|
435
|
-
* await client.privateMessages.
|
|
435
|
+
* await client.privateMessages.getAReplyFromPrivateMessage({
|
|
436
436
|
* id: "id",
|
|
437
437
|
* subId: "subId"
|
|
438
438
|
* })
|
|
439
439
|
*/
|
|
440
|
-
|
|
441
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
440
|
+
getAReplyFromPrivateMessage(request, requestOptions) {
|
|
441
|
+
return core.HttpResponsePromise.fromPromise(this.__getAReplyFromPrivateMessage(request, requestOptions));
|
|
442
442
|
}
|
|
443
|
-
|
|
443
|
+
__getAReplyFromPrivateMessage(request, requestOptions) {
|
|
444
444
|
return __awaiter(this, void 0, void 0, function* () {
|
|
445
445
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
446
446
|
const { id, subId } = request;
|
|
@@ -494,15 +494,15 @@ export class PrivateMessagesClient {
|
|
|
494
494
|
* @throws {@link Forum.InternalServerError}
|
|
495
495
|
*
|
|
496
496
|
* @example
|
|
497
|
-
* await client.privateMessages.
|
|
497
|
+
* await client.privateMessages.deleteAReplyFromPrivateMessage({
|
|
498
498
|
* id: "id",
|
|
499
499
|
* subId: "subId"
|
|
500
500
|
* })
|
|
501
501
|
*/
|
|
502
|
-
|
|
503
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
502
|
+
deleteAReplyFromPrivateMessage(request, requestOptions) {
|
|
503
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteAReplyFromPrivateMessage(request, requestOptions));
|
|
504
504
|
}
|
|
505
|
-
|
|
505
|
+
__deleteAReplyFromPrivateMessage(request, requestOptions) {
|
|
506
506
|
return __awaiter(this, void 0, void 0, function* () {
|
|
507
507
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
508
508
|
const { id, subId } = request;
|
|
@@ -103,13 +103,13 @@ export declare class WebhooksClient {
|
|
|
103
103
|
* @throws {@link Forum.InternalServerError}
|
|
104
104
|
*
|
|
105
105
|
* @example
|
|
106
|
-
* await client.webhooks.
|
|
106
|
+
* await client.webhooks.getADeliveryFromWebhook({
|
|
107
107
|
* id: "id",
|
|
108
108
|
* subId: "subId"
|
|
109
109
|
* })
|
|
110
110
|
*/
|
|
111
|
-
|
|
112
|
-
private
|
|
111
|
+
getADeliveryFromWebhook(request: Forum.GetWebhooksIdDeliveriesSubIdRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<Forum.GetWebhooksIdDeliveriesSubIdResponse>;
|
|
112
|
+
private __getADeliveryFromWebhook;
|
|
113
113
|
/**
|
|
114
114
|
* @param {Forum.DeleteWebhooksIdDeliveriesSubIdRequest} request
|
|
115
115
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -120,11 +120,11 @@ export declare class WebhooksClient {
|
|
|
120
120
|
* @throws {@link Forum.InternalServerError}
|
|
121
121
|
*
|
|
122
122
|
* @example
|
|
123
|
-
* await client.webhooks.
|
|
123
|
+
* await client.webhooks.deleteADeliveryFromWebhook({
|
|
124
124
|
* id: "id",
|
|
125
125
|
* subId: "subId"
|
|
126
126
|
* })
|
|
127
127
|
*/
|
|
128
|
-
|
|
129
|
-
private
|
|
128
|
+
deleteADeliveryFromWebhook(request: Forum.DeleteWebhooksIdDeliveriesSubIdRequest, requestOptions?: WebhooksClient.RequestOptions): core.HttpResponsePromise<Forum.DeleteWebhooksIdDeliveriesSubIdResponse>;
|
|
129
|
+
private __deleteADeliveryFromWebhook;
|
|
130
130
|
}
|
|
@@ -350,15 +350,15 @@ export class WebhooksClient {
|
|
|
350
350
|
* @throws {@link Forum.InternalServerError}
|
|
351
351
|
*
|
|
352
352
|
* @example
|
|
353
|
-
* await client.webhooks.
|
|
353
|
+
* await client.webhooks.getADeliveryFromWebhook({
|
|
354
354
|
* id: "id",
|
|
355
355
|
* subId: "subId"
|
|
356
356
|
* })
|
|
357
357
|
*/
|
|
358
|
-
|
|
359
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
358
|
+
getADeliveryFromWebhook(request, requestOptions) {
|
|
359
|
+
return core.HttpResponsePromise.fromPromise(this.__getADeliveryFromWebhook(request, requestOptions));
|
|
360
360
|
}
|
|
361
|
-
|
|
361
|
+
__getADeliveryFromWebhook(request, requestOptions) {
|
|
362
362
|
return __awaiter(this, void 0, void 0, function* () {
|
|
363
363
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
364
364
|
const { id, subId } = request;
|
|
@@ -412,15 +412,15 @@ export class WebhooksClient {
|
|
|
412
412
|
* @throws {@link Forum.InternalServerError}
|
|
413
413
|
*
|
|
414
414
|
* @example
|
|
415
|
-
* await client.webhooks.
|
|
415
|
+
* await client.webhooks.deleteADeliveryFromWebhook({
|
|
416
416
|
* id: "id",
|
|
417
417
|
* subId: "subId"
|
|
418
418
|
* })
|
|
419
419
|
*/
|
|
420
|
-
|
|
421
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
420
|
+
deleteADeliveryFromWebhook(request, requestOptions) {
|
|
421
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteADeliveryFromWebhook(request, requestOptions));
|
|
422
422
|
}
|
|
423
|
-
|
|
423
|
+
__deleteADeliveryFromWebhook(request, requestOptions) {
|
|
424
424
|
return __awaiter(this, void 0, void 0, function* () {
|
|
425
425
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
426
426
|
const { id, subId } = request;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.4";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "2.0.
|
|
1
|
+
export const SDK_VERSION = "2.0.4";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -2588,7 +2588,7 @@ await client.privateMessages.listPrivateMessageReplies({
|
|
|
2588
2588
|
</dl>
|
|
2589
2589
|
</details>
|
|
2590
2590
|
|
|
2591
|
-
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">
|
|
2591
|
+
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">createAReplyInPrivateMessage</a>({ ...params }) -> Forum.PostPrivateMessagesIdRepliesResponse</code></summary>
|
|
2592
2592
|
<dl>
|
|
2593
2593
|
<dd>
|
|
2594
2594
|
|
|
@@ -2601,7 +2601,7 @@ await client.privateMessages.listPrivateMessageReplies({
|
|
|
2601
2601
|
<dd>
|
|
2602
2602
|
|
|
2603
2603
|
```typescript
|
|
2604
|
-
await client.privateMessages.
|
|
2604
|
+
await client.privateMessages.createAReplyInPrivateMessage({
|
|
2605
2605
|
id: "id",
|
|
2606
2606
|
recipientId: "recipientId",
|
|
2607
2607
|
body: "body"
|
|
@@ -2641,7 +2641,7 @@ await client.privateMessages.createAReplieInPrivateMessage({
|
|
|
2641
2641
|
</dl>
|
|
2642
2642
|
</details>
|
|
2643
2643
|
|
|
2644
|
-
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">
|
|
2644
|
+
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">getAReplyFromPrivateMessage</a>({ ...params }) -> Forum.GetPrivateMessagesIdRepliesSubIdResponse</code></summary>
|
|
2645
2645
|
<dl>
|
|
2646
2646
|
<dd>
|
|
2647
2647
|
|
|
@@ -2654,7 +2654,7 @@ await client.privateMessages.createAReplieInPrivateMessage({
|
|
|
2654
2654
|
<dd>
|
|
2655
2655
|
|
|
2656
2656
|
```typescript
|
|
2657
|
-
await client.privateMessages.
|
|
2657
|
+
await client.privateMessages.getAReplyFromPrivateMessage({
|
|
2658
2658
|
id: "id",
|
|
2659
2659
|
subId: "subId"
|
|
2660
2660
|
});
|
|
@@ -2693,7 +2693,7 @@ await client.privateMessages.getAReplieFromPrivateMessage({
|
|
|
2693
2693
|
</dl>
|
|
2694
2694
|
</details>
|
|
2695
2695
|
|
|
2696
|
-
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">
|
|
2696
|
+
<details><summary><code>client.privateMessages.<a href="/src/api/resources/privateMessages/client/Client.ts">deleteAReplyFromPrivateMessage</a>({ ...params }) -> Forum.DeletePrivateMessagesIdRepliesSubIdResponse</code></summary>
|
|
2697
2697
|
<dl>
|
|
2698
2698
|
<dd>
|
|
2699
2699
|
|
|
@@ -2706,7 +2706,7 @@ await client.privateMessages.getAReplieFromPrivateMessage({
|
|
|
2706
2706
|
<dd>
|
|
2707
2707
|
|
|
2708
2708
|
```typescript
|
|
2709
|
-
await client.privateMessages.
|
|
2709
|
+
await client.privateMessages.deleteAReplyFromPrivateMessage({
|
|
2710
2710
|
id: "id",
|
|
2711
2711
|
subId: "subId"
|
|
2712
2712
|
});
|
|
@@ -4226,7 +4226,7 @@ await client.webhooks.listWebhookDeliveries({
|
|
|
4226
4226
|
</dl>
|
|
4227
4227
|
</details>
|
|
4228
4228
|
|
|
4229
|
-
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">
|
|
4229
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">getADeliveryFromWebhook</a>({ ...params }) -> Forum.GetWebhooksIdDeliveriesSubIdResponse</code></summary>
|
|
4230
4230
|
<dl>
|
|
4231
4231
|
<dd>
|
|
4232
4232
|
|
|
@@ -4239,7 +4239,7 @@ await client.webhooks.listWebhookDeliveries({
|
|
|
4239
4239
|
<dd>
|
|
4240
4240
|
|
|
4241
4241
|
```typescript
|
|
4242
|
-
await client.webhooks.
|
|
4242
|
+
await client.webhooks.getADeliveryFromWebhook({
|
|
4243
4243
|
id: "id",
|
|
4244
4244
|
subId: "subId"
|
|
4245
4245
|
});
|
|
@@ -4278,7 +4278,7 @@ await client.webhooks.getADeliverieFromWebhook({
|
|
|
4278
4278
|
</dl>
|
|
4279
4279
|
</details>
|
|
4280
4280
|
|
|
4281
|
-
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">
|
|
4281
|
+
<details><summary><code>client.webhooks.<a href="/src/api/resources/webhooks/client/Client.ts">deleteADeliveryFromWebhook</a>({ ...params }) -> Forum.DeleteWebhooksIdDeliveriesSubIdResponse</code></summary>
|
|
4282
4282
|
<dl>
|
|
4283
4283
|
<dd>
|
|
4284
4284
|
|
|
@@ -4291,7 +4291,7 @@ await client.webhooks.getADeliverieFromWebhook({
|
|
|
4291
4291
|
<dd>
|
|
4292
4292
|
|
|
4293
4293
|
```typescript
|
|
4294
|
-
await client.webhooks.
|
|
4294
|
+
await client.webhooks.deleteADeliveryFromWebhook({
|
|
4295
4295
|
id: "id",
|
|
4296
4296
|
subId: "subId"
|
|
4297
4297
|
});
|