@noresponse/node 2.0.27 → 2.0.29
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/CHANGELOG.md +9 -0
- package/README.md +2 -0
- package/dist/commonjs/client.d.ts +28 -2
- package/dist/commonjs/client.d.ts.map +1 -1
- package/dist/commonjs/client.js +46 -2
- package/dist/commonjs/client.js.map +1 -1
- package/dist/commonjs/funcs/webhook-endpoints-list-deliveries.d.ts +21 -0
- package/dist/commonjs/funcs/webhook-endpoints-list-deliveries.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhook-endpoints-list-deliveries.js +182 -0
- package/dist/commonjs/funcs/webhook-endpoints-list-deliveries.js.map +1 -0
- package/dist/commonjs/funcs/webhook-endpoints-replay-delivery.d.ts +18 -0
- package/dist/commonjs/funcs/webhook-endpoints-replay-delivery.d.ts.map +1 -0
- package/dist/commonjs/funcs/webhook-endpoints-replay-delivery.js +146 -0
- package/dist/commonjs/funcs/webhook-endpoints-replay-delivery.js.map +1 -0
- package/dist/commonjs/index.d.ts +2 -2
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +2 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/late-results.d.ts +17 -0
- package/dist/commonjs/late-results.d.ts.map +1 -1
- package/dist/commonjs/late-results.js +21 -0
- package/dist/commonjs/late-results.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/event-type.d.ts +9 -0
- package/dist/commonjs/models/event-type.d.ts.map +1 -0
- package/dist/commonjs/models/event-type.js +43 -0
- package/dist/commonjs/models/event-type.js.map +1 -0
- package/dist/commonjs/models/failure.d.ts +21 -0
- package/dist/commonjs/models/failure.d.ts.map +1 -0
- package/dist/commonjs/models/failure.js +53 -0
- package/dist/commonjs/models/failure.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +7 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +7 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +2 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +2 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/list-webhook-deliveries.d.ts +37 -0
- package/dist/commonjs/models/operations/list-webhook-deliveries.d.ts.map +1 -0
- package/dist/commonjs/models/operations/list-webhook-deliveries.js +69 -0
- package/dist/commonjs/models/operations/list-webhook-deliveries.js.map +1 -0
- package/dist/commonjs/models/operations/replay-webhook-delivery.d.ts +34 -0
- package/dist/commonjs/models/operations/replay-webhook-delivery.d.ts.map +1 -0
- package/dist/commonjs/models/operations/replay-webhook-delivery.js +70 -0
- package/dist/commonjs/models/operations/replay-webhook-delivery.js.map +1 -0
- package/dist/commonjs/models/webhook-delivery-attempt-status.d.ts +16 -0
- package/dist/commonjs/models/webhook-delivery-attempt-status.d.ts.map +1 -0
- package/dist/commonjs/models/webhook-delivery-attempt-status.js +47 -0
- package/dist/commonjs/models/webhook-delivery-attempt-status.js.map +1 -0
- package/dist/commonjs/models/webhook-delivery-attempt.d.ts +45 -0
- package/dist/commonjs/models/webhook-delivery-attempt.d.ts.map +1 -0
- package/dist/commonjs/models/webhook-delivery-attempt.js +68 -0
- package/dist/commonjs/models/webhook-delivery-attempt.js.map +1 -0
- package/dist/commonjs/models/webhook-delivery-list.d.ts +22 -0
- package/dist/commonjs/models/webhook-delivery-list.d.ts.map +1 -0
- package/dist/commonjs/models/webhook-delivery-list.js +57 -0
- package/dist/commonjs/models/webhook-delivery-list.js.map +1 -0
- package/dist/commonjs/models/webhook-replay-request.d.ts +11 -0
- package/dist/commonjs/models/webhook-replay-request.d.ts.map +1 -0
- package/dist/commonjs/models/webhook-replay-request.js +44 -0
- package/dist/commonjs/models/webhook-replay-request.js.map +1 -0
- package/dist/commonjs/models/webhook-replay.d.ts +22 -0
- package/dist/commonjs/models/webhook-replay.d.ts.map +1 -0
- package/dist/commonjs/models/webhook-replay.js +58 -0
- package/dist/commonjs/models/webhook-replay.js.map +1 -0
- package/dist/commonjs/sdk/webhook-endpoints.d.ts +17 -0
- package/dist/commonjs/sdk/webhook-endpoints.d.ts.map +1 -1
- package/dist/commonjs/sdk/webhook-endpoints.js +21 -0
- package/dist/commonjs/sdk/webhook-endpoints.js.map +1 -1
- package/dist/esm/client.d.ts +28 -2
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +46 -2
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/funcs/webhook-endpoints-list-deliveries.d.ts +21 -0
- package/dist/esm/funcs/webhook-endpoints-list-deliveries.d.ts.map +1 -0
- package/dist/esm/funcs/webhook-endpoints-list-deliveries.js +146 -0
- package/dist/esm/funcs/webhook-endpoints-list-deliveries.js.map +1 -0
- package/dist/esm/funcs/webhook-endpoints-replay-delivery.d.ts +18 -0
- package/dist/esm/funcs/webhook-endpoints-replay-delivery.d.ts.map +1 -0
- package/dist/esm/funcs/webhook-endpoints-replay-delivery.js +110 -0
- package/dist/esm/funcs/webhook-endpoints-replay-delivery.js.map +1 -0
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/late-results.d.ts +17 -0
- package/dist/esm/late-results.d.ts.map +1 -1
- package/dist/esm/late-results.js +20 -0
- package/dist/esm/late-results.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/event-type.d.ts +9 -0
- package/dist/esm/models/event-type.d.ts.map +1 -0
- package/dist/esm/models/event-type.js +7 -0
- package/dist/esm/models/event-type.js.map +1 -0
- package/dist/esm/models/failure.d.ts +21 -0
- package/dist/esm/models/failure.d.ts.map +1 -0
- package/dist/esm/models/failure.js +17 -0
- package/dist/esm/models/failure.js.map +1 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +7 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +2 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +2 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/list-webhook-deliveries.d.ts +37 -0
- package/dist/esm/models/operations/list-webhook-deliveries.d.ts.map +1 -0
- package/dist/esm/models/operations/list-webhook-deliveries.js +31 -0
- package/dist/esm/models/operations/list-webhook-deliveries.js.map +1 -0
- package/dist/esm/models/operations/replay-webhook-delivery.d.ts +34 -0
- package/dist/esm/models/operations/replay-webhook-delivery.d.ts.map +1 -0
- package/dist/esm/models/operations/replay-webhook-delivery.js +32 -0
- package/dist/esm/models/operations/replay-webhook-delivery.js.map +1 -0
- package/dist/esm/models/webhook-delivery-attempt-status.d.ts +16 -0
- package/dist/esm/models/webhook-delivery-attempt-status.d.ts.map +1 -0
- package/dist/esm/models/webhook-delivery-attempt-status.js +11 -0
- package/dist/esm/models/webhook-delivery-attempt-status.js.map +1 -0
- package/dist/esm/models/webhook-delivery-attempt.d.ts +45 -0
- package/dist/esm/models/webhook-delivery-attempt.d.ts.map +1 -0
- package/dist/esm/models/webhook-delivery-attempt.js +31 -0
- package/dist/esm/models/webhook-delivery-attempt.js.map +1 -0
- package/dist/esm/models/webhook-delivery-list.d.ts +22 -0
- package/dist/esm/models/webhook-delivery-list.d.ts.map +1 -0
- package/dist/esm/models/webhook-delivery-list.js +20 -0
- package/dist/esm/models/webhook-delivery-list.js.map +1 -0
- package/dist/esm/models/webhook-replay-request.d.ts +11 -0
- package/dist/esm/models/webhook-replay-request.d.ts.map +1 -0
- package/dist/esm/models/webhook-replay-request.js +7 -0
- package/dist/esm/models/webhook-replay-request.js.map +1 -0
- package/dist/esm/models/webhook-replay.d.ts +22 -0
- package/dist/esm/models/webhook-replay.d.ts.map +1 -0
- package/dist/esm/models/webhook-replay.js +21 -0
- package/dist/esm/models/webhook-replay.js.map +1 -0
- package/dist/esm/sdk/webhook-endpoints.d.ts +17 -0
- package/dist/esm/sdk/webhook-endpoints.d.ts.map +1 -1
- package/dist/esm/sdk/webhook-endpoints.js +21 -0
- package/dist/esm/sdk/webhook-endpoints.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-webhook-delivery.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/replay-webhook-delivery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AACvE,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AAEtC,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC,oBAAoB,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;KAAE,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,aAAa,CAAC;CAC9B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC,6BAA6B,CAAC;CAC5C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,qCAAqC,EACrC,4BAA4B,CAa7B,CAAC;AAEF,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR;AAED,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,WAAW,CACrE,6BAA6B,EAC7B,OAAO,CAYR,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,6BAA6B,EAAE,kBAAkB,CAAC,CAMpE"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ReplayWebhookDeliveryResponse$inboundSchema = exports.ReplayWebhookDeliveryRequest$outboundSchema = void 0;
|
|
37
|
+
exports.replayWebhookDeliveryRequestToJSON = replayWebhookDeliveryRequestToJSON;
|
|
38
|
+
exports.replayWebhookDeliveryResponseFromJSON = replayWebhookDeliveryResponseFromJSON;
|
|
39
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
40
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
41
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
42
|
+
const models = __importStar(require("../index.js"));
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.ReplayWebhookDeliveryRequest$outboundSchema = z.pipe(z.object({
|
|
45
|
+
endpointId: z.string(),
|
|
46
|
+
eventId: z.string(),
|
|
47
|
+
body: models.WebhookReplayRequest$outboundSchema,
|
|
48
|
+
}), z.transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
endpointId: "endpoint_id",
|
|
51
|
+
eventId: "event_id",
|
|
52
|
+
});
|
|
53
|
+
}));
|
|
54
|
+
function replayWebhookDeliveryRequestToJSON(replayWebhookDeliveryRequest) {
|
|
55
|
+
return JSON.stringify(exports.ReplayWebhookDeliveryRequest$outboundSchema.parse(replayWebhookDeliveryRequest));
|
|
56
|
+
}
|
|
57
|
+
/** @internal */
|
|
58
|
+
exports.ReplayWebhookDeliveryResponse$inboundSchema = z.pipe(z.object({
|
|
59
|
+
Headers: z._default(z.record(z.string(), z.array(z.string())), {}),
|
|
60
|
+
Result: models.WebhookReplay$inboundSchema,
|
|
61
|
+
}), z.transform((v) => {
|
|
62
|
+
return (0, primitives_js_1.remap)(v, {
|
|
63
|
+
"Headers": "headers",
|
|
64
|
+
"Result": "result",
|
|
65
|
+
});
|
|
66
|
+
}));
|
|
67
|
+
function replayWebhookDeliveryResponseFromJSON(jsonString) {
|
|
68
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ReplayWebhookDeliveryResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ReplayWebhookDeliveryResponse' from JSON`);
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=replay-webhook-delivery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay-webhook-delivery.js","sourceRoot":"","sources":["../../../../src/models/operations/replay-webhook-delivery.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,2DAA0D;AAC1D,qDAAiD;AAGjD,MAAY,MAAM,wCAAoB;AA0BtC,gBAAgB;AACH,QAAA,2CAA2C,GAGpD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,MAAM,CAAC,mCAAmC;CACjD,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,aAAa;QACzB,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,4CACE,4BAA0D,EAClD;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,2CAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AAAA,CACH;AAED,gBAAgB;AACH,QAAA,2CAA2C,GAGpD,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;IAClE,MAAM,EAAE,MAAM,CAAC,2BAA2B;CAC3C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,SAAS,EAAE,SAAS;QACpB,QAAQ,EAAE,QAAQ;KACnB,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,+CACE,UAAkB,EACkD;IACpE,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2CAA2C,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvE,2DAA2D,CAC5D,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { OpenEnum } from "../types/enums.js";
|
|
3
|
+
/**
|
|
4
|
+
* delivered when the endpoint answered 2xx; failed otherwise, with failure naming why.
|
|
5
|
+
*/
|
|
6
|
+
export declare const WebhookDeliveryAttemptStatus: {
|
|
7
|
+
readonly Delivered: "delivered";
|
|
8
|
+
readonly Failed: "failed";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* delivered when the endpoint answered 2xx; failed otherwise, with failure naming why.
|
|
12
|
+
*/
|
|
13
|
+
export type WebhookDeliveryAttemptStatus = OpenEnum<typeof WebhookDeliveryAttemptStatus>;
|
|
14
|
+
/** @internal */
|
|
15
|
+
export declare const WebhookDeliveryAttemptStatus$inboundSchema: z.ZodMiniType<WebhookDeliveryAttemptStatus, unknown>;
|
|
16
|
+
//# sourceMappingURL=webhook-delivery-attempt-status.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-attempt-status.d.ts","sourceRoot":"","sources":["../../../src/models/webhook-delivery-attempt-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CACjD,OAAO,4BAA4B,CACpC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,0CAA0C,EAAE,CAAC,CAAC,WAAW,CACpE,4BAA4B,EAC5B,OAAO,CACgD,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WebhookDeliveryAttemptStatus$inboundSchema = exports.WebhookDeliveryAttemptStatus = void 0;
|
|
37
|
+
const openEnums = __importStar(require("../types/enums.js"));
|
|
38
|
+
/**
|
|
39
|
+
* delivered when the endpoint answered 2xx; failed otherwise, with failure naming why.
|
|
40
|
+
*/
|
|
41
|
+
exports.WebhookDeliveryAttemptStatus = {
|
|
42
|
+
Delivered: "delivered",
|
|
43
|
+
Failed: "failed",
|
|
44
|
+
};
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.WebhookDeliveryAttemptStatus$inboundSchema = openEnums.inboundSchema(exports.WebhookDeliveryAttemptStatus);
|
|
47
|
+
//# sourceMappingURL=webhook-delivery-attempt-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-attempt-status.js","sourceRoot":"","sources":["../../../src/models/webhook-delivery-attempt-status.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,MAAY,SAAS,8CAA0B;AAG/C;;GAEG;AACU,QAAA,4BAA4B,GAAG;IAC1C,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACR,CAAC;AAQX,gBAAgB;AACH,QAAA,0CAA0C,GAGnD,SAAS,CAAC,aAAa,CAAC,QAAA,4BAA4B,CAAC,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { EventType } from "./event-type.js";
|
|
5
|
+
import { Failure } from "./failure.js";
|
|
6
|
+
import { WebhookDeliveryAttemptStatus } from "./webhook-delivery-attempt-status.js";
|
|
7
|
+
export type WebhookDeliveryAttempt = {
|
|
8
|
+
/**
|
|
9
|
+
* The event id the receiver saw as NR-Webhook-Id and as the body's id. Replay it with POST /v1/webhooks/{endpoint_id}/deliveries/{event_id}/replay.
|
|
10
|
+
*/
|
|
11
|
+
eventId: string;
|
|
12
|
+
eventType: EventType;
|
|
13
|
+
/**
|
|
14
|
+
* Which attempt of this delivery this was: 1 for the first send, up to 9 with retries. A replay counts its own attempts from 1.
|
|
15
|
+
*/
|
|
16
|
+
attempt: number;
|
|
17
|
+
/**
|
|
18
|
+
* true for an attempt of a replay you asked for.
|
|
19
|
+
*/
|
|
20
|
+
replay: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* delivered when the endpoint answered 2xx; failed otherwise, with failure naming why.
|
|
23
|
+
*/
|
|
24
|
+
status: WebhookDeliveryAttemptStatus;
|
|
25
|
+
/**
|
|
26
|
+
* The HTTP status the endpoint answered. Absent when no response was read.
|
|
27
|
+
*/
|
|
28
|
+
responseCode?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Why the attempt failed: the URL is no longer valid, the host did not resolve, it resolved to an address that is not public, no answer within 5 seconds, the connection failed, a 3xx (redirects are not followed) or another non-2xx status. Absent for a delivered attempt.
|
|
31
|
+
*/
|
|
32
|
+
failure?: Failure | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Milliseconds from sending the request to the answer or the failure.
|
|
35
|
+
*/
|
|
36
|
+
latencyMs: number;
|
|
37
|
+
/**
|
|
38
|
+
* When the request was sent. Its NR-Webhook-Timestamp is this time in Unix seconds.
|
|
39
|
+
*/
|
|
40
|
+
attemptedAt: string;
|
|
41
|
+
};
|
|
42
|
+
/** @internal */
|
|
43
|
+
export declare const WebhookDeliveryAttempt$inboundSchema: z.ZodMiniType<WebhookDeliveryAttempt, unknown>;
|
|
44
|
+
export declare function webhookDeliveryAttemptFromJSON(jsonString: string): SafeParseResult<WebhookDeliveryAttempt, SDKValidationError>;
|
|
45
|
+
//# sourceMappingURL=webhook-delivery-attempt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-attempt.d.ts","sourceRoot":"","sources":["../../../src/models/webhook-delivery-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,SAAS,EAA2B,MAAM,iBAAiB,CAAC;AACrE,OAAO,EAAE,OAAO,EAAyB,MAAM,cAAc,CAAC;AAC9D,OAAO,EACL,4BAA4B,EAE7B,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,sBAAsB,GAAG;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,MAAM,EAAE,4BAA4B,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,WAAW,CAC9D,sBAAsB,EACtB,OAAO,CAsBR,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sBAAsB,EAAE,kBAAkB,CAAC,CAM7D"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WebhookDeliveryAttempt$inboundSchema = void 0;
|
|
37
|
+
exports.webhookDeliveryAttemptFromJSON = webhookDeliveryAttemptFromJSON;
|
|
38
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
39
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
40
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
41
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
42
|
+
const event_type_js_1 = require("./event-type.js");
|
|
43
|
+
const failure_js_1 = require("./failure.js");
|
|
44
|
+
const webhook_delivery_attempt_status_js_1 = require("./webhook-delivery-attempt-status.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.WebhookDeliveryAttempt$inboundSchema = z.pipe(z.object({
|
|
47
|
+
event_id: types.string(),
|
|
48
|
+
event_type: event_type_js_1.EventType$inboundSchema,
|
|
49
|
+
attempt: types.number(),
|
|
50
|
+
replay: types.boolean(),
|
|
51
|
+
status: webhook_delivery_attempt_status_js_1.WebhookDeliveryAttemptStatus$inboundSchema,
|
|
52
|
+
response_code: types.optional(types.number()),
|
|
53
|
+
failure: types.optional(failure_js_1.Failure$inboundSchema),
|
|
54
|
+
latency_ms: types.number(),
|
|
55
|
+
attempted_at: types.string(),
|
|
56
|
+
}), z.transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
"event_id": "eventId",
|
|
59
|
+
"event_type": "eventType",
|
|
60
|
+
"response_code": "responseCode",
|
|
61
|
+
"latency_ms": "latencyMs",
|
|
62
|
+
"attempted_at": "attemptedAt",
|
|
63
|
+
});
|
|
64
|
+
}));
|
|
65
|
+
function webhookDeliveryAttemptFromJSON(jsonString) {
|
|
66
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WebhookDeliveryAttempt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDeliveryAttempt' from JSON`);
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=webhook-delivery-attempt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-attempt.js","sourceRoot":"","sources":["../../../src/models/webhook-delivery-attempt.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAEhD,mDAAqE;AACrE,6CAA8D;AAC9D,6FAG8C;AAsC9C,gBAAgB;AACH,QAAA,oCAAoC,GAG7C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,uCAAuB;IACnC,OAAO,EAAE,KAAK,CAAC,MAAM,EAAE;IACvB,MAAM,EAAE,KAAK,CAAC,OAAO,EAAE;IACvB,MAAM,EAAE,+EAA0C;IAClD,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IAC7C,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,kCAAqB,CAAC;IAC9C,UAAU,EAAE,KAAK,CAAC,MAAM,EAAE;IAC1B,YAAY,EAAE,KAAK,CAAC,MAAM,EAAE;CAC7B,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,UAAU,EAAE,SAAS;QACrB,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,cAAc;QAC/B,YAAY,EAAE,WAAW;QACzB,cAAc,EAAE,aAAa;KAC9B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,wCACE,UAAkB,EAC2C;IAC7D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,oCAAoC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAChE,oDAAoD,CACrD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { WebhookDeliveryAttempt } from "./webhook-delivery-attempt.js";
|
|
5
|
+
/**
|
|
6
|
+
* The 200 answer of GET /v1/webhooks/{endpoint_id}/deliveries: one page of the endpoint's delivery attempts, newest first. Each item is one POST to the endpoint. Attempts are kept for 30 days, or the tenant's retention_days when that is shorter, and are deleted with the assessment they carried. next_cursor is present only when another page exists.
|
|
7
|
+
*/
|
|
8
|
+
export type WebhookDeliveryList = {
|
|
9
|
+
/**
|
|
10
|
+
* Opaque id of the endpoint registration.
|
|
11
|
+
*/
|
|
12
|
+
endpointId: string;
|
|
13
|
+
items: Array<WebhookDeliveryAttempt>;
|
|
14
|
+
/**
|
|
15
|
+
* Opaque cursor for the next page, MAC'd by the server and bound to the tenant and endpoint it was issued for. Pass it back unchanged as cursor; a tampered, foreign or expired cursor answers 400 invalid_cursor.
|
|
16
|
+
*/
|
|
17
|
+
nextCursor?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const WebhookDeliveryList$inboundSchema: z.ZodMiniType<WebhookDeliveryList, unknown>;
|
|
21
|
+
export declare function webhookDeliveryListFromJSON(jsonString: string): SafeParseResult<WebhookDeliveryList, SDKValidationError>;
|
|
22
|
+
//# sourceMappingURL=webhook-delivery-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-list.d.ts","sourceRoot":"","sources":["../../../src/models/webhook-delivery-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EACL,sBAAsB,EAEvB,MAAM,+BAA+B,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACrC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,WAAW,CAC3D,mBAAmB,EACnB,OAAO,CAaR,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WebhookDeliveryList$inboundSchema = void 0;
|
|
37
|
+
exports.webhookDeliveryListFromJSON = webhookDeliveryListFromJSON;
|
|
38
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
39
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
40
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
41
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
42
|
+
const webhook_delivery_attempt_js_1 = require("./webhook-delivery-attempt.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.WebhookDeliveryList$inboundSchema = z.pipe(z.object({
|
|
45
|
+
endpoint_id: types.string(),
|
|
46
|
+
items: z.array(webhook_delivery_attempt_js_1.WebhookDeliveryAttempt$inboundSchema),
|
|
47
|
+
next_cursor: types.optional(types.string()),
|
|
48
|
+
}), z.transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
"endpoint_id": "endpointId",
|
|
51
|
+
"next_cursor": "nextCursor",
|
|
52
|
+
});
|
|
53
|
+
}));
|
|
54
|
+
function webhookDeliveryListFromJSON(jsonString) {
|
|
55
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WebhookDeliveryList$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookDeliveryList' from JSON`);
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=webhook-delivery-list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-delivery-list.js","sourceRoot":"","sources":["../../../src/models/webhook-delivery-list.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAEhD,+EAGuC;AAiBvC,gBAAgB;AACH,QAAA,iCAAiC,GAG1C,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,kEAAoC,CAAC;IACpD,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;CAC5C,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,aAAa,EAAE,YAAY;KAC5B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,qCACE,UAAkB,EACwC;IAC1D,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,iCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
/**
|
|
3
|
+
* POST /v1/webhooks/{endpoint_id}/deliveries/{event_id}/replay body: an empty object.
|
|
4
|
+
*/
|
|
5
|
+
export type WebhookReplayRequest = {};
|
|
6
|
+
/** @internal */
|
|
7
|
+
export type WebhookReplayRequest$Outbound = {};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const WebhookReplayRequest$outboundSchema: z.ZodMiniType<WebhookReplayRequest$Outbound, WebhookReplayRequest>;
|
|
10
|
+
export declare function webhookReplayRequestToJSON(webhookReplayRequest: WebhookReplayRequest): string;
|
|
11
|
+
//# sourceMappingURL=webhook-replay-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-replay-request.d.ts","sourceRoot":"","sources":["../../../src/models/webhook-replay-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAEtC,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG,EAAE,CAAC;AAE/C,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,WAAW,CAC7D,6BAA6B,EAC7B,oBAAoB,CACN,CAAC;AAEjB,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WebhookReplayRequest$outboundSchema = void 0;
|
|
37
|
+
exports.webhookReplayRequestToJSON = webhookReplayRequestToJSON;
|
|
38
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
39
|
+
/** @internal */
|
|
40
|
+
exports.WebhookReplayRequest$outboundSchema = z.object({});
|
|
41
|
+
function webhookReplayRequestToJSON(webhookReplayRequest) {
|
|
42
|
+
return JSON.stringify(exports.WebhookReplayRequest$outboundSchema.parse(webhookReplayRequest));
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=webhook-replay-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-replay-request.js","sourceRoot":"","sources":["../../../src/models/webhook-replay-request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AAUjC,gBAAgB;AACH,QAAA,mCAAmC,GAG5C,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;AAEjB,oCACE,oBAA0C,EAClC;IACR,OAAO,IAAI,CAAC,SAAS,CACnB,QAAA,mCAAmC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAChE,CAAC;AAAA,CACH"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as z from "zod/v4-mini";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
4
|
+
import { EventType } from "./event-type.js";
|
|
5
|
+
/**
|
|
6
|
+
* The 202 answer of POST /v1/webhooks/{endpoint_id}/deliveries/{event_id}/replay: the event queued to be sent again.
|
|
7
|
+
*/
|
|
8
|
+
export type WebhookReplay = {
|
|
9
|
+
/**
|
|
10
|
+
* Opaque id of the endpoint registration.
|
|
11
|
+
*/
|
|
12
|
+
endpointId: string;
|
|
13
|
+
/**
|
|
14
|
+
* The replayed event's id. The receiver sees the same id and body as the first time, with a new NR-Webhook-Timestamp and signature.
|
|
15
|
+
*/
|
|
16
|
+
eventId: string;
|
|
17
|
+
eventType: EventType;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const WebhookReplay$inboundSchema: z.ZodMiniType<WebhookReplay, unknown>;
|
|
21
|
+
export declare function webhookReplayFromJSON(jsonString: string): SafeParseResult<WebhookReplay, SDKValidationError>;
|
|
22
|
+
//# sourceMappingURL=webhook-replay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-replay.d.ts","sourceRoot":"","sources":["../../../src/models/webhook-replay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAGjC,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,SAAS,EAA2B,MAAM,iBAAiB,CAAC;AAErE;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;CACtB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,WAAW,CACrD,aAAa,EACb,OAAO,CAcR,CAAC;AAEF,wBAAgB,qBAAqB,CACnC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,aAAa,EAAE,kBAAkB,CAAC,CAMpD"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WebhookReplay$inboundSchema = void 0;
|
|
37
|
+
exports.webhookReplayFromJSON = webhookReplayFromJSON;
|
|
38
|
+
const z = __importStar(require("zod/v4-mini"));
|
|
39
|
+
const primitives_js_1 = require("../lib/primitives.js");
|
|
40
|
+
const schemas_js_1 = require("../lib/schemas.js");
|
|
41
|
+
const types = __importStar(require("../types/primitives.js"));
|
|
42
|
+
const event_type_js_1 = require("./event-type.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.WebhookReplay$inboundSchema = z.pipe(z.object({
|
|
45
|
+
endpoint_id: types.string(),
|
|
46
|
+
event_id: types.string(),
|
|
47
|
+
event_type: event_type_js_1.EventType$inboundSchema,
|
|
48
|
+
}), z.transform((v) => {
|
|
49
|
+
return (0, primitives_js_1.remap)(v, {
|
|
50
|
+
"endpoint_id": "endpointId",
|
|
51
|
+
"event_id": "eventId",
|
|
52
|
+
"event_type": "eventType",
|
|
53
|
+
});
|
|
54
|
+
}));
|
|
55
|
+
function webhookReplayFromJSON(jsonString) {
|
|
56
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.WebhookReplay$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'WebhookReplay' from JSON`);
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=webhook-replay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhook-replay.js","sourceRoot":"","sources":["../../../src/models/webhook-replay.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,MAAY,CAAC,wCAAoB;AACjC,wDAAuD;AACvD,kDAA8C;AAE9C,MAAY,KAAK,mDAA+B;AAEhD,mDAAqE;AAiBrE,gBAAgB;AACH,QAAA,2BAA2B,GAGpC,CAAC,CAAC,IAAI,CACR,CAAC,CAAC,MAAM,CAAC;IACP,WAAW,EAAE,KAAK,CAAC,MAAM,EAAE;IAC3B,QAAQ,EAAE,KAAK,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,uCAAuB;CACpC,CAAC,EACF,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,aAAa,EAAE,YAAY;QAC3B,UAAU,EAAE,SAAS;QACrB,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AAAA,CACJ,CAAC,CACH,CAAC;AAEF,+BACE,UAAkB,EACkC;IACpD,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,QAAA,2BAA2B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACvD,2CAA2C,CAC5C,CAAC;AAAA,CACH"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
2
2
|
import * as models from "../models/index.js";
|
|
3
3
|
import * as operations from "../models/operations/index.js";
|
|
4
|
+
import { PageIterator } from "../types/operations.js";
|
|
4
5
|
export declare class WebhookEndpoints extends ClientSDK {
|
|
5
6
|
/**
|
|
6
7
|
* List the tenant's webhook endpoints.
|
|
@@ -37,5 +38,21 @@ export declare class WebhookEndpoints extends ClientSDK {
|
|
|
37
38
|
* endpoint.verification sends a signed challenge now and answers whether the endpoint echoed it within 5 seconds; an echo verifies the endpoint, including a disabled one. assessment.updated queues one signed event with test: true and a fixed example assessment in the endpoint's response mode, delivered and retried like any other event; the endpoint must be verified. Both use the endpoint's current signing key. Requires the webhooks scope.
|
|
38
39
|
*/
|
|
39
40
|
sendTestEvent(request: operations.SendWebhookTestEventRequest, options?: RequestOptions): Promise<operations.SendWebhookTestEventResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* List an endpoint's delivery attempts.
|
|
43
|
+
*
|
|
44
|
+
* @remarks
|
|
45
|
+
* Every POST the endpoint received, newest first: the event id and type, which attempt it was, whether it was a replay, delivered or failed, the response code, why it failed and how long it took. Attempts are kept for 30 days, or your retention_days when that is shorter, and are deleted with the assessment they carried. Requires the webhooks scope. Read-only and safe to retry. The cursor is opaque and bound to your tenant and the endpoint; a tampered or expired cursor answers 400 invalid_cursor.
|
|
46
|
+
*/
|
|
47
|
+
listDeliveries(request: operations.ListWebhookDeliveriesRequest, options?: RequestOptions): Promise<PageIterator<operations.ListWebhookDeliveriesResponse, {
|
|
48
|
+
cursor: string;
|
|
49
|
+
}>>;
|
|
50
|
+
/**
|
|
51
|
+
* Send one delivery again.
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* Queues the event for the endpoint again: the same event id and body it received, with a new NR-Webhook-Timestamp and a signature from the endpoint's current signing key, retried like any other delivery and listed with replay: true. Your receiver deduplicates on the event id. The endpoint must be verified. Requires the webhooks scope. Not idempotent: each call, a retry included, sends the event again.
|
|
55
|
+
*/
|
|
56
|
+
replayDelivery(request: operations.ReplayWebhookDeliveryRequest, options?: RequestOptions): Promise<operations.ReplayWebhookDeliveryResponse>;
|
|
40
57
|
}
|
|
41
58
|
//# sourceMappingURL=webhook-endpoints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-endpoints.d.ts","sourceRoot":"","sources":["../../../src/sdk/webhook-endpoints.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"webhook-endpoints.d.ts","sourceRoot":"","sources":["../../../src/sdk/webhook-endpoints.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAwB,MAAM,wBAAwB,CAAC;AAE5E,qBAAa,gBAAiB,SAAQ,SAAS;IAC7C;;;;;OAKG;IACG,IAAI,CACR,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAKlD;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,MAAM,CAAC,sBAAsB,EACtC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAMnD;IAED;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,GAAG,SAAS,CAAC,CAM/D;IAED;;;;;OAKG;IACG,gBAAgB,CACpB,OAAO,EAAE,UAAU,CAAC,8BAA8B,EAClD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,+BAA+B,CAAC,CAMrD;IAED;;;;;OAKG;IACG,aAAa,CACjB,OAAO,EAAE,UAAU,CAAC,2BAA2B,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAMlD;IAED;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CACR,YAAY,CAAC,UAAU,CAAC,6BAA6B,EAAE;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC,CAC3E,CAMA;IAED;;;;;OAKG;IACG,cAAc,CAClB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,6BAA6B,CAAC,CAMnD;CACF"}
|
|
@@ -3,11 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.WebhookEndpoints = void 0;
|
|
4
4
|
const webhook_endpoints_create_js_1 = require("../funcs/webhook-endpoints-create.js");
|
|
5
5
|
const webhook_endpoints_delete_js_1 = require("../funcs/webhook-endpoints-delete.js");
|
|
6
|
+
const webhook_endpoints_list_deliveries_js_1 = require("../funcs/webhook-endpoints-list-deliveries.js");
|
|
6
7
|
const webhook_endpoints_list_js_1 = require("../funcs/webhook-endpoints-list.js");
|
|
8
|
+
const webhook_endpoints_replay_delivery_js_1 = require("../funcs/webhook-endpoints-replay-delivery.js");
|
|
7
9
|
const webhook_endpoints_rotate_signing_key_js_1 = require("../funcs/webhook-endpoints-rotate-signing-key.js");
|
|
8
10
|
const webhook_endpoints_send_test_event_js_1 = require("../funcs/webhook-endpoints-send-test-event.js");
|
|
9
11
|
const sdks_js_1 = require("../lib/sdks.js");
|
|
10
12
|
const fp_js_1 = require("../types/fp.js");
|
|
13
|
+
const operations_js_1 = require("../types/operations.js");
|
|
11
14
|
class WebhookEndpoints extends sdks_js_1.ClientSDK {
|
|
12
15
|
/**
|
|
13
16
|
* List the tenant's webhook endpoints.
|
|
@@ -54,6 +57,24 @@ class WebhookEndpoints extends sdks_js_1.ClientSDK {
|
|
|
54
57
|
async sendTestEvent(request, options) {
|
|
55
58
|
return (0, fp_js_1.unwrapAsync)((0, webhook_endpoints_send_test_event_js_1.webhookEndpointsSendTestEvent)(this, request, options));
|
|
56
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* List an endpoint's delivery attempts.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* Every POST the endpoint received, newest first: the event id and type, which attempt it was, whether it was a replay, delivered or failed, the response code, why it failed and how long it took. Attempts are kept for 30 days, or your retention_days when that is shorter, and are deleted with the assessment they carried. Requires the webhooks scope. Read-only and safe to retry. The cursor is opaque and bound to your tenant and the endpoint; a tampered or expired cursor answers 400 invalid_cursor.
|
|
65
|
+
*/
|
|
66
|
+
async listDeliveries(request, options) {
|
|
67
|
+
return (0, operations_js_1.unwrapResultIterator)((0, webhook_endpoints_list_deliveries_js_1.webhookEndpointsListDeliveries)(this, request, options));
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Send one delivery again.
|
|
71
|
+
*
|
|
72
|
+
* @remarks
|
|
73
|
+
* Queues the event for the endpoint again: the same event id and body it received, with a new NR-Webhook-Timestamp and a signature from the endpoint's current signing key, retried like any other delivery and listed with replay: true. Your receiver deduplicates on the event id. The endpoint must be verified. Requires the webhooks scope. Not idempotent: each call, a retry included, sends the event again.
|
|
74
|
+
*/
|
|
75
|
+
async replayDelivery(request, options) {
|
|
76
|
+
return (0, fp_js_1.unwrapAsync)((0, webhook_endpoints_replay_delivery_js_1.webhookEndpointsReplayDelivery)(this, request, options));
|
|
77
|
+
}
|
|
57
78
|
}
|
|
58
79
|
exports.WebhookEndpoints = WebhookEndpoints;
|
|
59
80
|
//# sourceMappingURL=webhook-endpoints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhook-endpoints.js","sourceRoot":"","sources":["../../../src/sdk/webhook-endpoints.ts"],"names":[],"mappings":";;;AAAA,sFAA8E;AAC9E,sFAA8E;AAC9E,kFAA0E;AAC1E,8GAAoG;AACpG,wGAA8F;AAC9F,4CAA2D;AAG3D,0CAA6C;
|
|
1
|
+
{"version":3,"file":"webhook-endpoints.js","sourceRoot":"","sources":["../../../src/sdk/webhook-endpoints.ts"],"names":[],"mappings":";;;AAAA,sFAA8E;AAC9E,sFAA8E;AAC9E,wGAA+F;AAC/F,kFAA0E;AAC1E,wGAA+F;AAC/F,8GAAoG;AACpG,wGAA8F;AAC9F,4CAA2D;AAG3D,0CAA6C;AAC7C,0DAA4E;AAE5E,sBAA8B,SAAQ,mBAAS;IAC7C;;;;;OAKG;IACH,KAAK,CAAC,IAAI,CACR,OAAwB,EAC0B;QAClD,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAoB,EACrC,IAAI,EACJ,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAsC,EACtC,OAAwB,EAC2B;QACnD,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAAgD,EAChD,OAAwB,EACuC;QAC/D,OAAO,IAAA,mBAAW,EAAC,IAAA,oDAAsB,EACvC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,gBAAgB,CACpB,OAAkD,EAClD,OAAwB,EAC6B;QACrD,OAAO,IAAA,mBAAW,EAAC,IAAA,0EAAgC,EACjD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,aAAa,CACjB,OAA+C,EAC/C,OAAwB,EAC0B;QAClD,OAAO,IAAA,mBAAW,EAAC,IAAA,oEAA6B,EAC9C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAgD,EAChD,OAAwB,EAGxB;QACA,OAAO,IAAA,oCAAoB,EAAC,IAAA,qEAA8B,EACxD,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;IAED;;;;;OAKG;IACH,KAAK,CAAC,cAAc,CAClB,OAAgD,EAChD,OAAwB,EAC2B;QACnD,OAAO,IAAA,mBAAW,EAAC,IAAA,qEAA8B,EAC/C,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IAAA,CACJ;CACF"}
|