@novu/api 1.4.0 → 1.5.0
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/README.md +11 -7
- package/bin/mcp-server.js +1464 -1202
- package/bin/mcp-server.js.map +68 -62
- package/docs/sdks/credentials/README.md +6 -6
- package/docs/sdks/environments/README.md +74 -0
- package/docs/sdks/integrations/README.md +1 -1
- package/docs/sdks/novu/README.md +68 -1
- package/examples/README.md +31 -0
- package/examples/package-lock.json +626 -0
- package/examples/package.json +18 -0
- package/examples/trigger.example.ts +36 -0
- package/funcs/environmentsGetTags.d.ts +18 -0
- package/funcs/environmentsGetTags.d.ts.map +1 -0
- package/funcs/environmentsGetTags.js +146 -0
- package/funcs/environmentsGetTags.js.map +1 -0
- package/funcs/retrieve.d.ts +11 -0
- package/funcs/retrieve.d.ts.map +1 -0
- package/funcs/retrieve.js +119 -0
- package/funcs/retrieve.js.map +1 -0
- package/funcs/subscribersCredentialsAppend.d.ts +3 -3
- package/funcs/subscribersCredentialsAppend.js +3 -3
- package/funcs/subscribersCredentialsUpdate.d.ts +3 -3
- package/funcs/subscribersCredentialsUpdate.js +3 -3
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +0 -12
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +0 -2
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +0 -2
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +9 -5
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/environmentsGetTags.d.ts +9 -0
- package/mcp-server/tools/environmentsGetTags.d.ts.map +1 -0
- package/mcp-server/tools/environmentsGetTags.js +55 -0
- package/mcp-server/tools/environmentsGetTags.js.map +1 -0
- package/mcp-server/tools/retrieve.d.ts +8 -0
- package/mcp-server/tools/retrieve.d.ts.map +1 -0
- package/mcp-server/tools/retrieve.js +52 -0
- package/mcp-server/tools/retrieve.js.map +1 -0
- package/mcp-server/tools/subscribersCredentialsAppend.js +3 -3
- package/mcp-server/tools/subscribersCredentialsAppend.js.map +1 -1
- package/mcp-server/tools/subscribersCredentialsUpdate.js +3 -3
- package/mcp-server/tools/subscribersCredentialsUpdate.js.map +1 -1
- package/models/components/activitynotificationtemplateresponsedto.d.ts +2 -2
- package/models/components/activitynotificationtemplateresponsedto.js +3 -3
- package/models/components/chatorpushproviderenum.d.ts +3 -0
- package/models/components/chatorpushproviderenum.d.ts.map +1 -1
- package/models/components/chatorpushproviderenum.js +1 -0
- package/models/components/chatorpushproviderenum.js.map +1 -1
- package/models/components/chatstepresponsedto.d.ts +2 -2
- package/models/components/chatstepresponsedto.d.ts.map +1 -1
- package/models/components/chatstepresponsedto.js +3 -3
- package/models/components/chatstepresponsedto.js.map +1 -1
- package/models/components/chatstepupsertdto.d.ts +13 -20
- package/models/components/chatstepupsertdto.d.ts.map +1 -1
- package/models/components/chatstepupsertdto.js +7 -10
- package/models/components/chatstepupsertdto.js.map +1 -1
- package/models/components/{stepcontentissueenum.d.ts → contentissueenum.d.ts} +8 -8
- package/models/components/contentissueenum.d.ts.map +1 -0
- package/models/components/{stepcontentissueenum.js → contentissueenum.js} +12 -12
- package/models/components/contentissueenum.js.map +1 -0
- package/models/components/createworkflowdto.d.ts +19 -14
- package/models/components/createworkflowdto.d.ts.map +1 -1
- package/models/components/createworkflowdto.js +6 -4
- package/models/components/createworkflowdto.js.map +1 -1
- package/models/components/customstepresponsedto.d.ts +2 -2
- package/models/components/customstepresponsedto.d.ts.map +1 -1
- package/models/components/customstepresponsedto.js +3 -3
- package/models/components/customstepresponsedto.js.map +1 -1
- package/models/components/customstepupsertdto.d.ts +13 -15
- package/models/components/customstepupsertdto.d.ts.map +1 -1
- package/models/components/customstepupsertdto.js +7 -8
- package/models/components/customstepupsertdto.js.map +1 -1
- package/models/components/delaycontroldto.d.ts +8 -8
- package/models/components/delaycontroldto.d.ts.map +1 -1
- package/models/components/delaycontroldto.js +13 -13
- package/models/components/delaycontroldto.js.map +1 -1
- package/models/components/delaystepresponsedto.d.ts +2 -2
- package/models/components/delaystepresponsedto.d.ts.map +1 -1
- package/models/components/delaystepresponsedto.js +3 -3
- package/models/components/delaystepresponsedto.js.map +1 -1
- package/models/components/delaystepupsertdto.d.ts +13 -102
- package/models/components/delaystepupsertdto.d.ts.map +1 -1
- package/models/components/delaystepupsertdto.js +8 -62
- package/models/components/delaystepupsertdto.js.map +1 -1
- package/models/components/digeststepresponsedto.d.ts +2 -2
- package/models/components/digeststepresponsedto.d.ts.map +1 -1
- package/models/components/digeststepresponsedto.js +3 -3
- package/models/components/digeststepresponsedto.js.map +1 -1
- package/models/components/digeststepupsertdto.d.ts +13 -121
- package/models/components/digeststepupsertdto.d.ts.map +1 -1
- package/models/components/digeststepupsertdto.js +8 -70
- package/models/components/digeststepupsertdto.js.map +1 -1
- package/models/components/emailcontroldto.d.ts +5 -0
- package/models/components/emailcontroldto.d.ts.map +1 -1
- package/models/components/emailcontroldto.js +2 -0
- package/models/components/emailcontroldto.js.map +1 -1
- package/models/components/emailstepresponsedto.d.ts +7 -2
- package/models/components/emailstepresponsedto.d.ts.map +1 -1
- package/models/components/emailstepresponsedto.js +5 -3
- package/models/components/emailstepresponsedto.js.map +1 -1
- package/models/components/emailstepupsertdto.d.ts +13 -67
- package/models/components/emailstepupsertdto.d.ts.map +1 -1
- package/models/components/emailstepupsertdto.js +8 -39
- package/models/components/emailstepupsertdto.js.map +1 -1
- package/models/components/environmentresponsedto.d.ts +37 -0
- package/models/components/environmentresponsedto.d.ts.map +1 -1
- package/models/components/environmentresponsedto.js +25 -1
- package/models/components/environmentresponsedto.js.map +1 -1
- package/models/components/getenvironmenttagsdto.d.ts +29 -0
- package/models/components/getenvironmenttagsdto.d.ts.map +1 -0
- package/models/components/getenvironmenttagsdto.js +59 -0
- package/models/components/getenvironmenttagsdto.js.map +1 -0
- package/models/components/inappstepresponsedto.d.ts +2 -2
- package/models/components/inappstepresponsedto.d.ts.map +1 -1
- package/models/components/inappstepresponsedto.js +3 -3
- package/models/components/inappstepresponsedto.js.map +1 -1
- package/models/components/inappstepupsertdto.d.ts +13 -61
- package/models/components/inappstepupsertdto.d.ts.map +1 -1
- package/models/components/inappstepupsertdto.js +5 -26
- package/models/components/inappstepupsertdto.js.map +1 -1
- package/models/components/index.d.ts +4 -3
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +4 -3
- package/models/components/index.js.map +1 -1
- package/models/components/{stepintegrationissueenum.d.ts → integrationissueenum.d.ts} +8 -8
- package/models/components/integrationissueenum.d.ts.map +1 -0
- package/models/components/{stepintegrationissueenum.js → integrationissueenum.js} +12 -12
- package/models/components/integrationissueenum.js.map +1 -0
- package/models/components/lookbackwindowdto.d.ts +8 -8
- package/models/components/lookbackwindowdto.d.ts.map +1 -1
- package/models/components/lookbackwindowdto.js +13 -13
- package/models/components/lookbackwindowdto.js.map +1 -1
- package/models/components/messageresponsedto.d.ts +6 -6
- package/models/components/messageresponsedto.d.ts.map +1 -1
- package/models/components/messageresponsedto.js +8 -6
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/notificationfeeditemdto.d.ts +14 -0
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +4 -0
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/patchworkflowdto.d.ts +7 -2
- package/models/components/patchworkflowdto.d.ts.map +1 -1
- package/models/components/patchworkflowdto.js +4 -2
- package/models/components/patchworkflowdto.js.map +1 -1
- package/models/components/providersidenum.d.ts +3 -0
- package/models/components/providersidenum.d.ts.map +1 -1
- package/models/components/providersidenum.js +1 -0
- package/models/components/providersidenum.js.map +1 -1
- package/models/components/pushstepresponsedto.d.ts +2 -2
- package/models/components/pushstepresponsedto.d.ts.map +1 -1
- package/models/components/pushstepresponsedto.js +3 -3
- package/models/components/pushstepresponsedto.js.map +1 -1
- package/models/components/pushstepupsertdto.d.ts +13 -25
- package/models/components/pushstepupsertdto.d.ts.map +1 -1
- package/models/components/pushstepupsertdto.js +7 -12
- package/models/components/pushstepupsertdto.js.map +1 -1
- package/models/components/{workfloworiginenum.d.ts → resourceoriginenum.d.ts} +8 -8
- package/models/components/{workfloworiginenum.d.ts.map → resourceoriginenum.d.ts.map} +1 -1
- package/models/components/{workfloworiginenum.js → resourceoriginenum.js} +12 -12
- package/models/components/{workfloworiginenum.js.map → resourceoriginenum.js.map} +1 -1
- package/models/components/smsstepresponsedto.d.ts +2 -2
- package/models/components/smsstepresponsedto.d.ts.map +1 -1
- package/models/components/smsstepresponsedto.js +3 -3
- package/models/components/smsstepresponsedto.js.map +1 -1
- package/models/components/smsstepupsertdto.d.ts +13 -20
- package/models/components/smsstepupsertdto.d.ts.map +1 -1
- package/models/components/smsstepupsertdto.js +7 -10
- package/models/components/smsstepupsertdto.js.map +1 -1
- package/models/components/stepcontentissuedto.d.ts +2 -2
- package/models/components/stepcontentissuedto.d.ts.map +1 -1
- package/models/components/stepcontentissuedto.js +3 -3
- package/models/components/stepcontentissuedto.js.map +1 -1
- package/models/components/stepintegrationissue.d.ts +2 -2
- package/models/components/stepintegrationissue.d.ts.map +1 -1
- package/models/components/stepintegrationissue.js +3 -3
- package/models/components/stepintegrationissue.js.map +1 -1
- package/models/components/stepresponsedto.d.ts +2 -2
- package/models/components/stepresponsedto.d.ts.map +1 -1
- package/models/components/stepresponsedto.js +3 -3
- package/models/components/stepresponsedto.js.map +1 -1
- package/models/components/subscriberchanneldto.d.ts +3 -0
- package/models/components/subscriberchanneldto.d.ts.map +1 -1
- package/models/components/subscriberchanneldto.js +1 -0
- package/models/components/subscriberchanneldto.js.map +1 -1
- package/models/components/uicomponentenum.d.ts +6 -0
- package/models/components/uicomponentenum.d.ts.map +1 -1
- package/models/components/uicomponentenum.js +2 -0
- package/models/components/uicomponentenum.js.map +1 -1
- package/models/components/uischemagroupenum.d.ts +3 -0
- package/models/components/uischemagroupenum.d.ts.map +1 -1
- package/models/components/uischemagroupenum.js +1 -0
- package/models/components/uischemagroupenum.js.map +1 -1
- package/models/components/uischemaproperty.d.ts +9 -0
- package/models/components/uischemaproperty.d.ts.map +1 -1
- package/models/components/uischemaproperty.js +3 -0
- package/models/components/uischemaproperty.js.map +1 -1
- package/models/components/updateworkflowdto.d.ts +21 -16
- package/models/components/updateworkflowdto.d.ts.map +1 -1
- package/models/components/updateworkflowdto.js +9 -7
- package/models/components/updateworkflowdto.js.map +1 -1
- package/models/components/workflowlistresponsedto.d.ts +82 -2
- package/models/components/workflowlistresponsedto.d.ts.map +1 -1
- package/models/components/workflowlistresponsedto.js +72 -4
- package/models/components/workflowlistresponsedto.js.map +1 -1
- package/models/components/workflowresponsedto.d.ts +96 -16
- package/models/components/workflowresponsedto.d.ts.map +1 -1
- package/models/components/workflowresponsedto.js +76 -8
- package/models/components/workflowresponsedto.js.map +1 -1
- package/models/errors/sdkerror.d.ts.map +1 -1
- package/models/errors/sdkerror.js +8 -2
- package/models/errors/sdkerror.js.map +1 -1
- package/models/operations/environmentscontrollergetenvironmenttags.d.ts +69 -0
- package/models/operations/environmentscontrollergetenvironmenttags.d.ts.map +1 -0
- package/models/operations/environmentscontrollergetenvironmenttags.js +110 -0
- package/models/operations/environmentscontrollergetenvironmenttags.js.map +1 -0
- package/models/operations/index.d.ts +2 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +2 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/logscontrollergetlogs.d.ts +67 -0
- package/models/operations/logscontrollergetlogs.d.ts.map +1 -0
- package/models/operations/logscontrollergetlogs.js +107 -0
- package/models/operations/logscontrollergetlogs.js.map +1 -0
- package/models/operations/notificationscontrollerlistnotifications.d.ts +1 -1
- package/package.json +4 -4
- package/sdk/credentials.d.ts +6 -6
- package/sdk/credentials.js +6 -6
- package/sdk/environments.d.ts +7 -0
- package/sdk/environments.d.ts.map +1 -1
- package/sdk/environments.js +10 -0
- package/sdk/environments.js.map +1 -1
- package/sdk/sdk.d.ts +3 -2
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +7 -3
- package/sdk/sdk.js.map +1 -1
- package/sources/json-development.json +2980 -2226
- package/src/funcs/environmentsGetTags.ts +232 -0
- package/src/funcs/retrieve.ts +180 -0
- package/src/funcs/subscribersCredentialsAppend.ts +3 -3
- package/src/funcs/subscribersCredentialsUpdate.ts +3 -3
- package/src/lib/config.ts +4 -4
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -5
- package/src/mcp-server/tools/environmentsGetTags.ts +39 -0
- package/src/mcp-server/tools/retrieve.ts +35 -0
- package/src/mcp-server/tools/subscribersCredentialsAppend.ts +3 -3
- package/src/mcp-server/tools/subscribersCredentialsUpdate.ts +3 -3
- package/src/models/components/activitynotificationtemplateresponsedto.ts +7 -7
- package/src/models/components/chatorpushproviderenum.ts +1 -0
- package/src/models/components/chatstepresponsedto.ts +8 -8
- package/src/models/components/chatstepupsertdto.ts +21 -31
- package/src/models/components/contentissueenum.ts +41 -0
- package/src/models/components/createworkflowdto.ts +21 -14
- package/src/models/components/customstepresponsedto.ts +8 -8
- package/src/models/components/customstepupsertdto.ts +21 -24
- package/src/models/components/delaycontroldto.ts +15 -16
- package/src/models/components/delaystepresponsedto.ts +8 -8
- package/src/models/components/delaystepupsertdto.ts +21 -115
- package/src/models/components/digeststepresponsedto.ts +8 -8
- package/src/models/components/digeststepupsertdto.ts +20 -146
- package/src/models/components/emailcontroldto.ts +7 -0
- package/src/models/components/emailstepresponsedto.ts +15 -8
- package/src/models/components/emailstepupsertdto.ts +21 -88
- package/src/models/components/environmentresponsedto.ts +43 -0
- package/src/models/components/getenvironmenttagsdto.ts +66 -0
- package/src/models/components/inappstepresponsedto.ts +8 -8
- package/src/models/components/inappstepupsertdto.ts +16 -87
- package/src/models/components/index.ts +4 -3
- package/src/models/components/integrationissueenum.ts +38 -0
- package/src/models/components/lookbackwindowdto.ts +16 -15
- package/src/models/components/messageresponsedto.ts +14 -12
- package/src/models/components/notificationfeeditemdto.ts +14 -0
- package/src/models/components/patchworkflowdto.ts +11 -4
- package/src/models/components/providersidenum.ts +1 -0
- package/src/models/components/pushstepresponsedto.ts +8 -8
- package/src/models/components/pushstepupsertdto.ts +21 -38
- package/src/models/components/resourceoriginenum.ts +40 -0
- package/src/models/components/smsstepresponsedto.ts +8 -8
- package/src/models/components/smsstepupsertdto.ts +20 -30
- package/src/models/components/stepcontentissuedto.ts +7 -7
- package/src/models/components/stepintegrationissue.ts +7 -7
- package/src/models/components/stepresponsedto.ts +8 -8
- package/src/models/components/subscriberchanneldto.ts +1 -0
- package/src/models/components/uicomponentenum.ts +2 -0
- package/src/models/components/uischemagroupenum.ts +1 -0
- package/src/models/components/uischemaproperty.ts +8 -0
- package/src/models/components/updateworkflowdto.ts +29 -22
- package/src/models/components/workflowlistresponsedto.ts +180 -8
- package/src/models/components/workflowresponsedto.ts +174 -22
- package/src/models/errors/sdkerror.ts +8 -2
- package/src/models/operations/environmentscontrollergetenvironmenttags.ts +186 -0
- package/src/models/operations/index.ts +2 -0
- package/src/models/operations/logscontrollergetlogs.ts +163 -0
- package/src/models/operations/notificationscontrollerlistnotifications.ts +1 -1
- package/src/sdk/credentials.ts +6 -6
- package/src/sdk/environments.ts +20 -0
- package/src/sdk/sdk.ts +17 -5
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
- package/models/components/stepcontentissueenum.d.ts.map +0 -1
- package/models/components/stepcontentissueenum.js.map +0 -1
- package/models/components/stepintegrationissueenum.d.ts.map +0 -1
- package/models/components/stepintegrationissueenum.js.map +0 -1
- package/src/models/components/stepcontentissueenum.ts +0 -41
- package/src/models/components/stepintegrationissueenum.ts +0 -40
- package/src/models/components/workfloworiginenum.ts +0 -40
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
environmentId: z.ZodString;
|
|
5
|
+
idempotencyKey: z.ZodOptional<z.ZodString>;
|
|
6
|
+
};
|
|
7
|
+
export declare const tool$environmentsGetTags: ToolDefinition<typeof args>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=environmentsGetTags.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentsGetTags.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/environmentsGetTags.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;;CAGT,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,cAAc,CAAC,OAAO,IAAI,CAyBhE,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.tool$environmentsGetTags = void 0;
|
|
30
|
+
const z = __importStar(require("zod"));
|
|
31
|
+
const environmentsGetTags_js_1 = require("../../funcs/environmentsGetTags.js");
|
|
32
|
+
const tools_js_1 = require("../tools.js");
|
|
33
|
+
const args = {
|
|
34
|
+
environmentId: z.string(),
|
|
35
|
+
idempotencyKey: z.string().optional(),
|
|
36
|
+
};
|
|
37
|
+
exports.tool$environmentsGetTags = {
|
|
38
|
+
name: "environments-get-tags",
|
|
39
|
+
description: `Get environment tags
|
|
40
|
+
|
|
41
|
+
Retrieve all unique tags used in workflows within the specified environment. These tags can be used for filtering workflows.`,
|
|
42
|
+
args,
|
|
43
|
+
tool: async (client, args, ctx) => {
|
|
44
|
+
const [result, apiCall] = await (0, environmentsGetTags_js_1.environmentsGetTags)(client, args.environmentId, args.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
45
|
+
if (!result.ok) {
|
|
46
|
+
return {
|
|
47
|
+
content: [{ type: "text", text: result.error.message }],
|
|
48
|
+
isError: true,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
const value = result.value.result;
|
|
52
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
53
|
+
},
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=environmentsGetTags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environmentsGetTags.js","sourceRoot":"","sources":["../../src/mcp-server/tools/environmentsGetTags.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,+EAAyE;AACzE,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;AAEW,QAAA,wBAAwB,GAAgC;IACnE,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE;;6HAE8G;IAC3H,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,4CAAmB,EACjD,MAAM,EACN,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,cAAc,EACnB,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as operations from "../../models/operations/index.js";
|
|
2
|
+
import { ToolDefinition } from "../tools.js";
|
|
3
|
+
declare const args: {
|
|
4
|
+
request: import("zod").ZodType<operations.LogsControllerGetLogsRequest, import("zod").ZodTypeDef, unknown>;
|
|
5
|
+
};
|
|
6
|
+
export declare const tool$retrieve: ToolDefinition<typeof args>;
|
|
7
|
+
export {};
|
|
8
|
+
//# sourceMappingURL=retrieve.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve.d.ts","sourceRoot":"","sources":["../../src/mcp-server/tools/retrieve.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAgB,cAAc,EAAE,MAAM,aAAa,CAAC;AAE3D,QAAA,MAAM,IAAI;;CAET,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,cAAc,CAAC,OAAO,IAAI,CAsBrD,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.tool$retrieve = void 0;
|
|
30
|
+
const retrieve_js_1 = require("../../funcs/retrieve.js");
|
|
31
|
+
const operations = __importStar(require("../../models/operations/index.js"));
|
|
32
|
+
const tools_js_1 = require("../tools.js");
|
|
33
|
+
const args = {
|
|
34
|
+
request: operations.LogsControllerGetLogsRequest$inboundSchema,
|
|
35
|
+
};
|
|
36
|
+
exports.tool$retrieve = {
|
|
37
|
+
name: "retrieve",
|
|
38
|
+
description: ``,
|
|
39
|
+
args,
|
|
40
|
+
tool: async (client, args, ctx) => {
|
|
41
|
+
const [result, apiCall] = await (0, retrieve_js_1.retrieve)(client, args.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
42
|
+
if (!result.ok) {
|
|
43
|
+
return {
|
|
44
|
+
content: [{ type: "text", text: result.error.message }],
|
|
45
|
+
isError: true,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
const value = result.value;
|
|
49
|
+
return (0, tools_js_1.formatResult)(value, apiCall);
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=retrieve.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"retrieve.js","sourceRoot":"","sources":["../../src/mcp-server/tools/retrieve.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yDAAmD;AACnD,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,OAAO,EAAE,UAAU,CAAC,0CAA0C;CAC/D,CAAC;AAEW,QAAA,aAAa,GAAgC;IACxD,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,EAAE;IACf,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,sBAAQ,EACtC,MAAM,EACN,IAAI,CAAC,OAAO,EACZ,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;QAE3B,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -38,10 +38,10 @@ const args = {
|
|
|
38
38
|
};
|
|
39
39
|
exports.tool$subscribersCredentialsAppend = {
|
|
40
40
|
name: "subscribers-credentials-append",
|
|
41
|
-
description: `
|
|
41
|
+
description: `Create or Partially Update provider credentials
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
**providerId** is required field. This API
|
|
43
|
+
Create or Partially credentials for a provider such as **slack** and **FCM**.
|
|
44
|
+
**providerId** is required field. This API creates the **deviceTokens** or replaces the existing ones.`,
|
|
45
45
|
args,
|
|
46
46
|
tool: async (client, args, ctx) => {
|
|
47
47
|
const [result, apiCall] = await (0, subscribersCredentialsAppend_js_1.subscribersCredentialsAppend)(client, args.updateSubscriberChannelRequestDto, args.subscriberId, args.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribersCredentialsAppend.js","sourceRoot":"","sources":["../../src/mcp-server/tools/subscribersCredentialsAppend.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,iCAAiC,EAC/B,UAAU,CAAC,+CAA+C;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;
|
|
1
|
+
{"version":3,"file":"subscribersCredentialsAppend.js","sourceRoot":"","sources":["../../src/mcp-server/tools/subscribersCredentialsAppend.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,iCAAiC,EAC/B,UAAU,CAAC,+CAA+C;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;6GAG8F;IAC3G,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,8DAA4B,EAC1D,MAAM,EACN,IAAI,CAAC,iCAAiC,EACtC,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,cAAc,EACnB,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -38,10 +38,10 @@ const args = {
|
|
|
38
38
|
};
|
|
39
39
|
exports.tool$subscribersCredentialsUpdate = {
|
|
40
40
|
name: "subscribers-credentials-update",
|
|
41
|
-
description: `
|
|
41
|
+
description: `Upsert provider credentials
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
**providerId** is required field. This API
|
|
43
|
+
Upsert credentials for a provider such as slack and push tokens.
|
|
44
|
+
**providerId** is required field. This API creates **deviceTokens** or appends to the existing ones.`,
|
|
45
45
|
args,
|
|
46
46
|
tool: async (client, args, ctx) => {
|
|
47
47
|
const [result, apiCall] = await (0, subscribersCredentialsUpdate_js_1.subscribersCredentialsUpdate)(client, args.updateSubscriberChannelRequestDto, args.subscriberId, args.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscribersCredentialsUpdate.js","sourceRoot":"","sources":["../../src/mcp-server/tools/subscribersCredentialsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,iCAAiC,EAC/B,UAAU,CAAC,+CAA+C;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;
|
|
1
|
+
{"version":3,"file":"subscribersCredentialsUpdate.js","sourceRoot":"","sources":["../../src/mcp-server/tools/subscribersCredentialsUpdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,iGAA2F;AAC3F,6EAA+D;AAC/D,0CAA2D;AAE3D,MAAM,IAAI,GAAG;IACX,iCAAiC,EAC/B,UAAU,CAAC,+CAA+C;IAC5D,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACtC,CAAC;AAEW,QAAA,iCAAiC,GAAgC;IAC5E,IAAI,EAAE,gCAAgC;IACtC,WAAW,EAAE;;;2GAG4F;IACzG,IAAI;IACJ,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE;QAChC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,IAAA,8DAA4B,EAC1D,MAAM,EACN,IAAI,CAAC,iCAAiC,EACtC,IAAI,CAAC,YAAY,EACjB,IAAI,CAAC,cAAc,EACnB,EAAE,YAAY,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,EAAE,CACzC,CAAC,QAAQ,EAAE,CAAC;QAEb,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;gBACvD,OAAO,EAAE,IAAI;aACd,CAAC;QACJ,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC;QAElC,OAAO,IAAA,uBAAY,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtC,CAAC;CACF,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { NotificationTriggerDto, NotificationTriggerDto$Outbound } from "./notificationtriggerdto.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ResourceOriginEnum } from "./resourceoriginenum.js";
|
|
6
6
|
export type ActivityNotificationTemplateResponseDto = {
|
|
7
7
|
/**
|
|
8
8
|
* Unique identifier of the template
|
|
@@ -15,7 +15,7 @@ export type ActivityNotificationTemplateResponseDto = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Origin of the workflow
|
|
17
17
|
*/
|
|
18
|
-
origin?:
|
|
18
|
+
origin?: ResourceOriginEnum | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Triggers of the template
|
|
21
21
|
*/
|
|
@@ -31,12 +31,12 @@ const z = __importStar(require("zod"));
|
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
33
|
const notificationtriggerdto_js_1 = require("./notificationtriggerdto.js");
|
|
34
|
-
const
|
|
34
|
+
const resourceoriginenum_js_1 = require("./resourceoriginenum.js");
|
|
35
35
|
/** @internal */
|
|
36
36
|
exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
37
37
|
_id: z.string().optional(),
|
|
38
38
|
name: z.string(),
|
|
39
|
-
origin:
|
|
39
|
+
origin: resourceoriginenum_js_1.ResourceOriginEnum$inboundSchema.optional(),
|
|
40
40
|
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$inboundSchema),
|
|
41
41
|
}).transform((v) => {
|
|
42
42
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -47,7 +47,7 @@ exports.ActivityNotificationTemplateResponseDto$inboundSchema = z.object({
|
|
|
47
47
|
exports.ActivityNotificationTemplateResponseDto$outboundSchema = z.object({
|
|
48
48
|
id: z.string().optional(),
|
|
49
49
|
name: z.string(),
|
|
50
|
-
origin:
|
|
50
|
+
origin: resourceoriginenum_js_1.ResourceOriginEnum$outboundSchema.optional(),
|
|
51
51
|
triggers: z.array(notificationtriggerdto_js_1.NotificationTriggerDto$outboundSchema),
|
|
52
52
|
}).transform((v) => {
|
|
53
53
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -14,6 +14,7 @@ export declare const ChatOrPushProviderEnum: {
|
|
|
14
14
|
readonly Getstream: "getstream";
|
|
15
15
|
readonly RocketChat: "rocket-chat";
|
|
16
16
|
readonly WhatsappBusiness: "whatsapp-business";
|
|
17
|
+
readonly ChatWebhook: "chat-webhook";
|
|
17
18
|
readonly Fcm: "fcm";
|
|
18
19
|
readonly Apns: "apns";
|
|
19
20
|
readonly Expo: "expo";
|
|
@@ -47,6 +48,7 @@ export declare namespace ChatOrPushProviderEnum$ {
|
|
|
47
48
|
readonly Getstream: "getstream";
|
|
48
49
|
readonly RocketChat: "rocket-chat";
|
|
49
50
|
readonly WhatsappBusiness: "whatsapp-business";
|
|
51
|
+
readonly ChatWebhook: "chat-webhook";
|
|
50
52
|
readonly Fcm: "fcm";
|
|
51
53
|
readonly Apns: "apns";
|
|
52
54
|
readonly Expo: "expo";
|
|
@@ -67,6 +69,7 @@ export declare namespace ChatOrPushProviderEnum$ {
|
|
|
67
69
|
readonly Getstream: "getstream";
|
|
68
70
|
readonly RocketChat: "rocket-chat";
|
|
69
71
|
readonly WhatsappBusiness: "whatsapp-business";
|
|
72
|
+
readonly ChatWebhook: "chat-webhook";
|
|
70
73
|
readonly Fcm: "fcm";
|
|
71
74
|
readonly Apns: "apns";
|
|
72
75
|
readonly Expo: "expo";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatorpushproviderenum.d.ts","sourceRoot":"","sources":["../../src/models/components/chatorpushproviderenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"chatorpushproviderenum.d.ts","sourceRoot":"","sources":["../../src/models/components/chatorpushproviderenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;CAmBzB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE/E,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,aAAa,CAChE,OAAO,sBAAsB,CACS,CAAC;AAEzC,gBAAgB;AAChB,eAAO,MAAM,qCAAqC,EAAE,CAAC,CAAC,aAAa,CACjE,OAAO,sBAAsB,CACS,CAAC;AAEzC;;;GAGG;AACH,yBAAiB,uBAAuB,CAAC;IACvC,sEAAsE;IAC/D,MAAM,aAAa;;;;;;;;;;;;;;;;;;;MAAuC,CAAC;IAClE,uEAAuE;IAChE,MAAM,cAAc;;;;;;;;;;;;;;;;;;;MAAwC,CAAC;CACrE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatorpushproviderenum.js","sourceRoot":"","sources":["../../src/models/components/chatorpushproviderenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;IACrC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAMX,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,CAAC,CAAC,UAAU,CAAC,8BAAsB,CAAC,CAAC;AAEzC,gBAAgB;AACH,QAAA,qCAAqC,GAE9C,4CAAoC,CAAC;AAEzC;;;GAGG;AACH,IAAiB,uBAAuB,CAKvC;AALD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AACtE,CAAC,EALgB,uBAAuB,uCAAvB,uBAAuB,QAKvC"}
|
|
1
|
+
{"version":3,"file":"chatorpushproviderenum.js","sourceRoot":"","sources":["../../src/models/components/chatorpushproviderenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,sBAAsB,GAAG;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,UAAU,EAAE,YAAY;IACxB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,iBAAiB;IAChC,SAAS,EAAE,WAAW;IACtB,UAAU,EAAE,aAAa;IACzB,gBAAgB,EAAE,mBAAmB;IACrC,WAAW,EAAE,cAAc;IAC3B,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,YAAY;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,cAAc;IAC3B,WAAW,EAAE,cAAc;CACnB,CAAC;AAMX,gBAAgB;AACH,QAAA,oCAAoC,GAE7C,CAAC,CAAC,UAAU,CAAC,8BAAsB,CAAC,CAAC;AAEzC,gBAAgB;AACH,QAAA,qCAAqC,GAE9C,4CAAoC,CAAC;AAEzC;;;GAGG;AACH,IAAiB,uBAAuB,CAKvC;AALD,WAAiB,uBAAuB;IACtC,sEAAsE;IACzD,qCAAa,GAAG,4CAAoC,CAAC;IAClE,uEAAuE;IAC1D,sCAAc,GAAG,6CAAqC,CAAC;AACtE,CAAC,EALgB,uBAAuB,uCAAvB,uBAAuB,QAKvC"}
|
|
@@ -2,9 +2,9 @@ import * as z from "zod";
|
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
4
|
import { ChatControlsMetadataResponseDto, ChatControlsMetadataResponseDto$Outbound } from "./chatcontrolsmetadataresponsedto.js";
|
|
5
|
+
import { ResourceOriginEnum } from "./resourceoriginenum.js";
|
|
5
6
|
import { StepIssuesDto, StepIssuesDto$Outbound } from "./stepissuesdto.js";
|
|
6
7
|
import { StepTypeEnum } from "./steptypeenum.js";
|
|
7
|
-
import { WorkflowOriginEnum } from "./workfloworiginenum.js";
|
|
8
8
|
/**
|
|
9
9
|
* Control values for the chat step
|
|
10
10
|
*/
|
|
@@ -65,7 +65,7 @@ export type ChatStepResponseDto = {
|
|
|
65
65
|
/**
|
|
66
66
|
* Origin of the workflow
|
|
67
67
|
*/
|
|
68
|
-
origin:
|
|
68
|
+
origin: ResourceOriginEnum;
|
|
69
69
|
/**
|
|
70
70
|
* Workflow identifier
|
|
71
71
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatstepresponsedto.d.ts","sourceRoot":"","sources":["../../src/models/components/chatstepresponsedto.ts"],"names":[],"mappings":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M,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,gCAAgC,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,sBAAsB,GAAG,SAAS,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CACxD,4BAA4B,EAC5B,CAAC,CAAC,UAAU,EACZ,mBAAmB,CAmBnB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,oBAAoB,CAAC;IACpC,mEAAmE;IAC5D,MAAM,aAAa,uDAAoC,CAAC;IAC/D,oEAAoE;IAC7D,MAAM,cAAc,4EAAqC,CAAC;IACjE,8DAA8D;IAC9D,KAAY,QAAQ,GAAG,4BAA4B,CAAC;CACrD;AAED,wBAAgB,yBAAyB,CACvC,mBAAmB,EAAE,mBAAmB,GACvC,MAAM,CAIR;AAED,wBAAgB,2BAA2B,CACzC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAM1D"}
|
|
@@ -31,9 +31,9 @@ const z = __importStar(require("zod"));
|
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
33
|
const chatcontrolsmetadataresponsedto_js_1 = require("./chatcontrolsmetadataresponsedto.js");
|
|
34
|
+
const resourceoriginenum_js_1 = require("./resourceoriginenum.js");
|
|
34
35
|
const stepissuesdto_js_1 = require("./stepissuesdto.js");
|
|
35
36
|
const steptypeenum_js_1 = require("./steptypeenum.js");
|
|
36
|
-
const workfloworiginenum_js_1 = require("./workfloworiginenum.js");
|
|
37
37
|
/** @internal */
|
|
38
38
|
exports.ChatStepResponseDtoControlValues$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
|
|
39
39
|
skip: z.record(z.any()).optional(),
|
|
@@ -105,7 +105,7 @@ exports.ChatStepResponseDto$inboundSchema = z.object({
|
|
|
105
105
|
name: z.string(),
|
|
106
106
|
slug: z.lazy(() => exports.ChatStepResponseDtoSlug$inboundSchema),
|
|
107
107
|
type: steptypeenum_js_1.StepTypeEnum$inboundSchema,
|
|
108
|
-
origin:
|
|
108
|
+
origin: resourceoriginenum_js_1.ResourceOriginEnum$inboundSchema,
|
|
109
109
|
workflowId: z.string(),
|
|
110
110
|
workflowDatabaseId: z.string(),
|
|
111
111
|
issues: stepissuesdto_js_1.StepIssuesDto$inboundSchema.optional(),
|
|
@@ -125,7 +125,7 @@ exports.ChatStepResponseDto$outboundSchema = z.object({
|
|
|
125
125
|
name: z.string(),
|
|
126
126
|
slug: z.lazy(() => exports.ChatStepResponseDtoSlug$outboundSchema),
|
|
127
127
|
type: steptypeenum_js_1.StepTypeEnum$outboundSchema,
|
|
128
|
-
origin:
|
|
128
|
+
origin: resourceoriginenum_js_1.ResourceOriginEnum$outboundSchema,
|
|
129
129
|
workflowId: z.string(),
|
|
130
130
|
workflowDatabaseId: z.string(),
|
|
131
131
|
issues: stepissuesdto_js_1.StepIssuesDto$outboundSchema.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/chatstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AAG9B,6FAK8C;AAC9C,yDAK4B;AAC5B,uDAI2B;
|
|
1
|
+
{"version":3,"file":"chatstepresponsedto.js","sourceRoot":"","sources":["../../src/models/components/chatstepresponsedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;A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AAE;CAChD,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,EAAE,EAAE,KAAK;KACV,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,oBAAoB,CAOpC;AAPD,WAAiB,oBAAoB;IACnC,mEAAmE;IACtD,kCAAa,GAAG,yCAAiC,CAAC;IAC/D,oEAAoE;IACvD,mCAAc,GAAG,0CAAkC,CAAC;AAGnE,CAAC,EAPgB,oBAAoB,oCAApB,oBAAoB,QAOpC;AAED,SAAgB,yBAAyB,CACvC,mBAAwC;IAExC,OAAO,IAAI,CAAC,SAAS,CACnB,0CAAkC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAC9D,CAAC;AACJ,CAAC;AAND,8DAMC;AAED,SAAgB,2BAA2B,CACzC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,yCAAiC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC7D,iDAAiD,CAClD,CAAC;AACJ,CAAC;AARD,kEAQC"}
|
|
@@ -1,21 +1,13 @@
|
|
|
1
1
|
import * as z from "zod";
|
|
2
2
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
3
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ChatControlDto, ChatControlDto$Outbound } from "./chatcontroldto.js";
|
|
4
5
|
import { StepTypeEnum } from "./steptypeenum.js";
|
|
5
6
|
/**
|
|
6
|
-
* Control values for the Chat step
|
|
7
|
+
* Control values for the Chat step.
|
|
7
8
|
*/
|
|
8
|
-
export type ChatStepUpsertDtoControlValues = {
|
|
9
|
-
|
|
10
|
-
* JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference.
|
|
11
|
-
*/
|
|
12
|
-
skip?: {
|
|
13
|
-
[k: string]: any;
|
|
14
|
-
} | undefined;
|
|
15
|
-
/**
|
|
16
|
-
* Content of the chat message.
|
|
17
|
-
*/
|
|
18
|
-
body?: string | undefined;
|
|
9
|
+
export type ChatStepUpsertDtoControlValues = ChatControlDto | {
|
|
10
|
+
[k: string]: any;
|
|
19
11
|
};
|
|
20
12
|
export type ChatStepUpsertDto = {
|
|
21
13
|
/**
|
|
@@ -31,18 +23,17 @@ export type ChatStepUpsertDto = {
|
|
|
31
23
|
*/
|
|
32
24
|
type: StepTypeEnum;
|
|
33
25
|
/**
|
|
34
|
-
* Control values for the Chat step
|
|
26
|
+
* Control values for the Chat step.
|
|
35
27
|
*/
|
|
36
|
-
controlValues?:
|
|
28
|
+
controlValues?: ChatControlDto | {
|
|
29
|
+
[k: string]: any;
|
|
30
|
+
} | undefined;
|
|
37
31
|
};
|
|
38
32
|
/** @internal */
|
|
39
33
|
export declare const ChatStepUpsertDtoControlValues$inboundSchema: z.ZodType<ChatStepUpsertDtoControlValues, z.ZodTypeDef, unknown>;
|
|
40
34
|
/** @internal */
|
|
41
|
-
export type ChatStepUpsertDtoControlValues$Outbound = {
|
|
42
|
-
|
|
43
|
-
[k: string]: any;
|
|
44
|
-
} | undefined;
|
|
45
|
-
body?: string | undefined;
|
|
35
|
+
export type ChatStepUpsertDtoControlValues$Outbound = ChatControlDto$Outbound | {
|
|
36
|
+
[k: string]: any;
|
|
46
37
|
};
|
|
47
38
|
/** @internal */
|
|
48
39
|
export declare const ChatStepUpsertDtoControlValues$outboundSchema: z.ZodType<ChatStepUpsertDtoControlValues$Outbound, z.ZodTypeDef, ChatStepUpsertDtoControlValues>;
|
|
@@ -67,7 +58,9 @@ export type ChatStepUpsertDto$Outbound = {
|
|
|
67
58
|
_id?: string | undefined;
|
|
68
59
|
name: string;
|
|
69
60
|
type: string;
|
|
70
|
-
controlValues?:
|
|
61
|
+
controlValues?: ChatControlDto$Outbound | {
|
|
62
|
+
[k: string]: any;
|
|
63
|
+
} | undefined;
|
|
71
64
|
};
|
|
72
65
|
/** @internal */
|
|
73
66
|
export declare const ChatStepUpsertDto$outboundSchema: z.ZodType<ChatStepUpsertDto$Outbound, z.ZodTypeDef, ChatStepUpsertDto>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatstepupsertdto.d.ts","sourceRoot":"","sources":["../../src/models/components/chatstepupsertdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG
|
|
1
|
+
{"version":3,"file":"chatstepupsertdto.d.ts","sourceRoot":"","sources":["../../src/models/components/chatstepupsertdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,cAAc,EAEd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,YAAY,EAGb,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,cAAc,GAAG;IAC5D,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,aAAa,CA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,GAAG,SAAS,CAAC;CAC5E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACtD,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,iBAAiB,CAWjB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,kBAAkB,CAAC;IAClC,iEAAiE;IAC1D,MAAM,aAAa,qDAAkC,CAAC;IAC7D,kEAAkE;IAC3D,MAAM,cAAc,wEAAmC,CAAC;IAC/D,4DAA4D;IAC5D,KAAY,QAAQ,GAAG,0BAA0B,CAAC;CACnD;AAED,wBAAgB,uBAAuB,CACrC,iBAAiB,EAAE,iBAAiB,GACnC,MAAM,CAIR;AAED,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -30,17 +30,12 @@ exports.chatStepUpsertDtoFromJSON = exports.chatStepUpsertDtoToJSON = exports.Ch
|
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
32
32
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
33
|
+
const chatcontroldto_js_1 = require("./chatcontroldto.js");
|
|
33
34
|
const steptypeenum_js_1 = require("./steptypeenum.js");
|
|
34
35
|
/** @internal */
|
|
35
|
-
exports.ChatStepUpsertDtoControlValues$inboundSchema = z.
|
|
36
|
-
skip: z.record(z.any()).optional(),
|
|
37
|
-
body: z.string().optional(),
|
|
38
|
-
});
|
|
36
|
+
exports.ChatStepUpsertDtoControlValues$inboundSchema = z.union([chatcontroldto_js_1.ChatControlDto$inboundSchema, z.record(z.any())]);
|
|
39
37
|
/** @internal */
|
|
40
|
-
exports.ChatStepUpsertDtoControlValues$outboundSchema = z.
|
|
41
|
-
skip: z.record(z.any()).optional(),
|
|
42
|
-
body: z.string().optional(),
|
|
43
|
-
});
|
|
38
|
+
exports.ChatStepUpsertDtoControlValues$outboundSchema = z.union([chatcontroldto_js_1.ChatControlDto$outboundSchema, z.record(z.any())]);
|
|
44
39
|
/**
|
|
45
40
|
* @internal
|
|
46
41
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
@@ -65,7 +60,8 @@ exports.ChatStepUpsertDto$inboundSchema = z.object({
|
|
|
65
60
|
_id: z.string().optional(),
|
|
66
61
|
name: z.string(),
|
|
67
62
|
type: steptypeenum_js_1.StepTypeEnum$inboundSchema,
|
|
68
|
-
controlValues: z.
|
|
63
|
+
controlValues: z.union([chatcontroldto_js_1.ChatControlDto$inboundSchema, z.record(z.any())])
|
|
64
|
+
.optional(),
|
|
69
65
|
}).transform((v) => {
|
|
70
66
|
return (0, primitives_js_1.remap)(v, {
|
|
71
67
|
"_id": "id",
|
|
@@ -76,7 +72,8 @@ exports.ChatStepUpsertDto$outboundSchema = z.object({
|
|
|
76
72
|
id: z.string().optional(),
|
|
77
73
|
name: z.string(),
|
|
78
74
|
type: steptypeenum_js_1.StepTypeEnum$outboundSchema,
|
|
79
|
-
controlValues: z.
|
|
75
|
+
controlValues: z.union([chatcontroldto_js_1.ChatControlDto$outboundSchema, z.record(z.any())])
|
|
76
|
+
.optional(),
|
|
80
77
|
}).transform((v) => {
|
|
81
78
|
return (0, primitives_js_1.remap)(v, {
|
|
82
79
|
id: "_id",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chatstepupsertdto.js","sourceRoot":"","sources":["../../src/models/components/chatstepupsertdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAGjD,uDAI2B;
|
|
1
|
+
{"version":3,"file":"chatstepupsertdto.js","sourceRoot":"","sources":["../../src/models/components/chatstepupsertdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AACzB,2DAA0D;AAC1D,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CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC;AARD,8DAQC"}
|
|
@@ -3,7 +3,7 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Type of step content issue
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const ContentIssueEnum: {
|
|
7
7
|
readonly IllegalVariableInControlValue: "ILLEGAL_VARIABLE_IN_CONTROL_VALUE";
|
|
8
8
|
readonly InvalidFilterArgInVariable: "INVALID_FILTER_ARG_IN_VARIABLE";
|
|
9
9
|
readonly MissingValue: "MISSING_VALUE";
|
|
@@ -12,24 +12,24 @@ export declare const StepContentIssueEnum: {
|
|
|
12
12
|
/**
|
|
13
13
|
* Type of step content issue
|
|
14
14
|
*/
|
|
15
|
-
export type
|
|
15
|
+
export type ContentIssueEnum = ClosedEnum<typeof ContentIssueEnum>;
|
|
16
16
|
/** @internal */
|
|
17
|
-
export declare const
|
|
17
|
+
export declare const ContentIssueEnum$inboundSchema: z.ZodNativeEnum<typeof ContentIssueEnum>;
|
|
18
18
|
/** @internal */
|
|
19
|
-
export declare const
|
|
19
|
+
export declare const ContentIssueEnum$outboundSchema: z.ZodNativeEnum<typeof ContentIssueEnum>;
|
|
20
20
|
/**
|
|
21
21
|
* @internal
|
|
22
22
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
23
23
|
*/
|
|
24
|
-
export declare namespace
|
|
25
|
-
/** @deprecated use `
|
|
24
|
+
export declare namespace ContentIssueEnum$ {
|
|
25
|
+
/** @deprecated use `ContentIssueEnum$inboundSchema` instead. */
|
|
26
26
|
const inboundSchema: z.ZodNativeEnum<{
|
|
27
27
|
readonly IllegalVariableInControlValue: "ILLEGAL_VARIABLE_IN_CONTROL_VALUE";
|
|
28
28
|
readonly InvalidFilterArgInVariable: "INVALID_FILTER_ARG_IN_VARIABLE";
|
|
29
29
|
readonly MissingValue: "MISSING_VALUE";
|
|
30
30
|
readonly TierLimitExceeded: "TIER_LIMIT_EXCEEDED";
|
|
31
31
|
}>;
|
|
32
|
-
/** @deprecated use `
|
|
32
|
+
/** @deprecated use `ContentIssueEnum$outboundSchema` instead. */
|
|
33
33
|
const outboundSchema: z.ZodNativeEnum<{
|
|
34
34
|
readonly IllegalVariableInControlValue: "ILLEGAL_VARIABLE_IN_CONTROL_VALUE";
|
|
35
35
|
readonly InvalidFilterArgInVariable: "INVALID_FILTER_ARG_IN_VARIABLE";
|
|
@@ -37,4 +37,4 @@ export declare namespace StepContentIssueEnum$ {
|
|
|
37
37
|
readonly TierLimitExceeded: "TIER_LIMIT_EXCEEDED";
|
|
38
38
|
}>;
|
|
39
39
|
}
|
|
40
|
-
//# sourceMappingURL=
|
|
40
|
+
//# sourceMappingURL=contentissueenum.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentissueenum.d.ts","sourceRoot":"","sources":["../../src/models/components/contentissueenum.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;CAKnB,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEnE,gBAAgB;AAChB,eAAO,MAAM,8BAA8B,EAAE,CAAC,CAAC,aAAa,CAC1D,OAAO,gBAAgB,CACS,CAAC;AAEnC,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,aAAa,CAC3D,OAAO,gBAAgB,CACS,CAAC;AAEnC;;;GAGG;AACH,yBAAiB,iBAAiB,CAAC;IACjC,gEAAgE;IACzD,MAAM,aAAa;;;;;MAAiC,CAAC;IAC5D,iEAAiE;IAC1D,MAAM,cAAc;;;;;MAAkC,CAAC;CAC/D"}
|
|
@@ -26,30 +26,30 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.ContentIssueEnum$ = exports.ContentIssueEnum$outboundSchema = exports.ContentIssueEnum$inboundSchema = exports.ContentIssueEnum = void 0;
|
|
30
30
|
const z = __importStar(require("zod"));
|
|
31
31
|
/**
|
|
32
32
|
* Type of step content issue
|
|
33
33
|
*/
|
|
34
|
-
exports.
|
|
34
|
+
exports.ContentIssueEnum = {
|
|
35
35
|
IllegalVariableInControlValue: "ILLEGAL_VARIABLE_IN_CONTROL_VALUE",
|
|
36
36
|
InvalidFilterArgInVariable: "INVALID_FILTER_ARG_IN_VARIABLE",
|
|
37
37
|
MissingValue: "MISSING_VALUE",
|
|
38
38
|
TierLimitExceeded: "TIER_LIMIT_EXCEEDED",
|
|
39
39
|
};
|
|
40
40
|
/** @internal */
|
|
41
|
-
exports.
|
|
41
|
+
exports.ContentIssueEnum$inboundSchema = z.nativeEnum(exports.ContentIssueEnum);
|
|
42
42
|
/** @internal */
|
|
43
|
-
exports.
|
|
43
|
+
exports.ContentIssueEnum$outboundSchema = exports.ContentIssueEnum$inboundSchema;
|
|
44
44
|
/**
|
|
45
45
|
* @internal
|
|
46
46
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
47
|
*/
|
|
48
|
-
var
|
|
49
|
-
(function (
|
|
50
|
-
/** @deprecated use `
|
|
51
|
-
|
|
52
|
-
/** @deprecated use `
|
|
53
|
-
|
|
54
|
-
})(
|
|
55
|
-
//# sourceMappingURL=
|
|
48
|
+
var ContentIssueEnum$;
|
|
49
|
+
(function (ContentIssueEnum$) {
|
|
50
|
+
/** @deprecated use `ContentIssueEnum$inboundSchema` instead. */
|
|
51
|
+
ContentIssueEnum$.inboundSchema = exports.ContentIssueEnum$inboundSchema;
|
|
52
|
+
/** @deprecated use `ContentIssueEnum$outboundSchema` instead. */
|
|
53
|
+
ContentIssueEnum$.outboundSchema = exports.ContentIssueEnum$outboundSchema;
|
|
54
|
+
})(ContentIssueEnum$ || (exports.ContentIssueEnum$ = ContentIssueEnum$ = {}));
|
|
55
|
+
//# sourceMappingURL=contentissueenum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contentissueenum.js","sourceRoot":"","sources":["../../src/models/components/contentissueenum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,uCAAyB;AAGzB;;GAEG;AACU,QAAA,gBAAgB,GAAG;IAC9B,6BAA6B,EAAE,mCAAmC;IAClE,0BAA0B,EAAE,gCAAgC;IAC5D,YAAY,EAAE,eAAe;IAC7B,iBAAiB,EAAE,qBAAqB;CAChC,CAAC;AAMX,gBAAgB;AACH,QAAA,8BAA8B,GAEvC,CAAC,CAAC,UAAU,CAAC,wBAAgB,CAAC,CAAC;AAEnC,gBAAgB;AACH,QAAA,+BAA+B,GAExC,sCAA8B,CAAC;AAEnC;;;GAGG;AACH,IAAiB,iBAAiB,CAKjC;AALD,WAAiB,iBAAiB;IAChC,gEAAgE;IACnD,+BAAa,GAAG,sCAA8B,CAAC;IAC5D,iEAAiE;IACpD,gCAAc,GAAG,uCAA+B,CAAC;AAChE,CAAC,EALgB,iBAAiB,iCAAjB,iBAAiB,QAKjC"}
|