@novu/api 0.0.1-alpha.85 → 0.0.1-alpha.88
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 +0 -30
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/models/components/index.d.ts +0 -7
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -7
- package/models/components/index.js.map +1 -1
- package/models/components/integrationresponsedto.d.ts +8 -8
- package/models/components/integrationresponsedto.d.ts.map +1 -1
- package/models/components/integrationresponsedto.js +14 -13
- package/models/components/integrationresponsedto.js.map +1 -1
- package/models/components/notificationfeeditemdto.d.ts +4 -4
- package/models/components/notificationfeeditemdto.d.ts.map +1 -1
- package/models/components/notificationfeeditemdto.js +2 -2
- package/models/components/notificationfeeditemdto.js.map +1 -1
- package/models/components/stepfilter.d.ts +8 -8
- package/models/components/stepfilter.d.ts.map +1 -1
- package/models/components/stepfilter.js +13 -13
- package/models/components/stepfilter.js.map +1 -1
- package/models/components/topicpayloaddto.d.ts +27 -2
- package/models/components/topicpayloaddto.d.ts.map +1 -1
- package/models/components/topicpayloaddto.js +22 -4
- package/models/components/topicpayloaddto.js.map +1 -1
- package/models/components/triggereventrequestdto.d.ts +28 -4
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js +57 -5
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggereventresponsedto.d.ts +8 -8
- package/models/components/triggereventresponsedto.d.ts.map +1 -1
- package/models/components/triggereventresponsedto.js +14 -13
- package/models/components/triggereventresponsedto.js.map +1 -1
- package/models/operations/index.d.ts +0 -9
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -9
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/sdk.d.ts +0 -9
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -15
- package/sdk/sdk.js.map +1 -1
- package/src/lib/config.ts +3 -3
- package/src/models/components/index.ts +0 -7
- package/src/models/components/integrationresponsedto.ts +14 -18
- package/src/models/components/notificationfeeditemdto.ts +4 -4
- package/src/models/components/stepfilter.ts +16 -15
- package/src/models/components/topicpayloaddto.ts +30 -8
- package/src/models/components/triggereventrequestdto.ts +109 -17
- package/src/models/components/triggereventresponsedto.ts +14 -18
- package/src/models/operations/index.ts +0 -9
- package/src/sdk/sdk.ts +0 -18
- package/docs/sdks/apikeys/README.md +0 -79
- package/docs/sdks/environments/README.md +0 -154
- package/docs/sdks/executiondetails/README.md +0 -84
- package/docs/sdks/workflowgroups/README.md +0 -382
- package/funcs/environmentsApiKeysList.d.ts +0 -12
- package/funcs/environmentsApiKeysList.d.ts.map +0 -1
- package/funcs/environmentsApiKeysList.js +0 -97
- package/funcs/environmentsApiKeysList.js.map +0 -1
- package/funcs/environmentsList.d.ts +0 -12
- package/funcs/environmentsList.d.ts.map +0 -1
- package/funcs/environmentsList.js +0 -97
- package/funcs/environmentsList.js.map +0 -1
- package/funcs/environmentsRetrieve.d.ts +0 -12
- package/funcs/environmentsRetrieve.d.ts.map +0 -1
- package/funcs/environmentsRetrieve.js +0 -97
- package/funcs/environmentsRetrieve.js.map +0 -1
- package/funcs/executionDetailsRetrieve.d.ts +0 -12
- package/funcs/executionDetailsRetrieve.d.ts.map +0 -1
- package/funcs/executionDetailsRetrieve.js +0 -117
- package/funcs/executionDetailsRetrieve.js.map +0 -1
- package/funcs/workflowGroupsCreate.d.ts +0 -16
- package/funcs/workflowGroupsCreate.d.ts.map +0 -1
- package/funcs/workflowGroupsCreate.js +0 -111
- package/funcs/workflowGroupsCreate.js.map +0 -1
- package/funcs/workflowGroupsDelete.d.ts +0 -15
- package/funcs/workflowGroupsDelete.d.ts.map +0 -1
- package/funcs/workflowGroupsDelete.js +0 -120
- package/funcs/workflowGroupsDelete.js.map +0 -1
- package/funcs/workflowGroupsList.d.ts +0 -15
- package/funcs/workflowGroupsList.d.ts.map +0 -1
- package/funcs/workflowGroupsList.js +0 -100
- package/funcs/workflowGroupsList.js.map +0 -1
- package/funcs/workflowGroupsRetrieve.d.ts +0 -15
- package/funcs/workflowGroupsRetrieve.d.ts.map +0 -1
- package/funcs/workflowGroupsRetrieve.js +0 -120
- package/funcs/workflowGroupsRetrieve.js.map +0 -1
- package/funcs/workflowGroupsUpdate.d.ts +0 -16
- package/funcs/workflowGroupsUpdate.d.ts.map +0 -1
- package/funcs/workflowGroupsUpdate.js +0 -124
- package/funcs/workflowGroupsUpdate.js.map +0 -1
- package/models/components/apikey.d.ts +0 -31
- package/models/components/apikey.d.ts.map +0 -1
- package/models/components/apikey.js +0 -71
- package/models/components/apikey.js.map +0 -1
- package/models/components/createnotificationgrouprequestdto.d.ts +0 -29
- package/models/components/createnotificationgrouprequestdto.d.ts.map +0 -1
- package/models/components/createnotificationgrouprequestdto.js +0 -59
- package/models/components/createnotificationgrouprequestdto.js.map +0 -1
- package/models/components/deletenotificationgroupresponsedto.d.ts +0 -66
- package/models/components/deletenotificationgroupresponsedto.d.ts.map +0 -1
- package/models/components/deletenotificationgroupresponsedto.js +0 -83
- package/models/components/deletenotificationgroupresponsedto.js.map +0 -1
- package/models/components/environmentresponsedto.d.ts +0 -41
- package/models/components/environmentresponsedto.d.ts.map +0 -1
- package/models/components/environmentresponsedto.js +0 -84
- package/models/components/environmentresponsedto.js.map +0 -1
- package/models/components/executiondetailsresponsedto.d.ts +0 -176
- package/models/components/executiondetailsresponsedto.d.ts.map +0 -1
- package/models/components/executiondetailsresponsedto.js +0 -187
- package/models/components/executiondetailsresponsedto.js.map +0 -1
- package/models/components/notificationgroupresponsedto.d.ts +0 -37
- package/models/components/notificationgroupresponsedto.d.ts.map +0 -1
- package/models/components/notificationgroupresponsedto.js +0 -82
- package/models/components/notificationgroupresponsedto.js.map +0 -1
- package/models/components/triggerrecipientstypeenum.d.ts +0 -28
- package/models/components/triggerrecipientstypeenum.d.ts.map +0 -1
- package/models/components/triggerrecipientstypeenum.js +0 -50
- package/models/components/triggerrecipientstypeenum.js.map +0 -1
- package/models/operations/environmentscontrollerv1getcurrentenvironment.d.ts +0 -36
- package/models/operations/environmentscontrollerv1getcurrentenvironment.d.ts.map +0 -1
- package/models/operations/environmentscontrollerv1getcurrentenvironment.js +0 -73
- package/models/operations/environmentscontrollerv1getcurrentenvironment.js.map +0 -1
- package/models/operations/environmentscontrollerv1listmyenvironments.d.ts +0 -36
- package/models/operations/environmentscontrollerv1listmyenvironments.d.ts.map +0 -1
- package/models/operations/environmentscontrollerv1listmyenvironments.js +0 -73
- package/models/operations/environmentscontrollerv1listmyenvironments.js.map +0 -1
- package/models/operations/environmentscontrollerv1listorganizationapikeys.d.ts +0 -36
- package/models/operations/environmentscontrollerv1listorganizationapikeys.d.ts.map +0 -1
- package/models/operations/environmentscontrollerv1listorganizationapikeys.js +0 -75
- package/models/operations/environmentscontrollerv1listorganizationapikeys.js.map +0 -1
- package/models/operations/executiondetailscontrollergetexecutiondetailsfornotification.d.ts +0 -63
- package/models/operations/executiondetailscontrollergetexecutiondetailsfornotification.d.ts.map +0 -1
- package/models/operations/executiondetailscontrollergetexecutiondetailsfornotification.js +0 -106
- package/models/operations/executiondetailscontrollergetexecutiondetailsfornotification.js.map +0 -1
- package/models/operations/notificationgroupscontrollercreatenotificationgroup.d.ts +0 -36
- package/models/operations/notificationgroupscontrollercreatenotificationgroup.d.ts.map +0 -1
- package/models/operations/notificationgroupscontrollercreatenotificationgroup.js +0 -75
- package/models/operations/notificationgroupscontrollercreatenotificationgroup.js.map +0 -1
- package/models/operations/notificationgroupscontrollerdeletenotificationgroup.d.ts +0 -61
- package/models/operations/notificationgroupscontrollerdeletenotificationgroup.d.ts.map +0 -1
- package/models/operations/notificationgroupscontrollerdeletenotificationgroup.js +0 -104
- package/models/operations/notificationgroupscontrollerdeletenotificationgroup.js.map +0 -1
- package/models/operations/notificationgroupscontrollergetnotificationgroup.d.ts +0 -61
- package/models/operations/notificationgroupscontrollergetnotificationgroup.d.ts.map +0 -1
- package/models/operations/notificationgroupscontrollergetnotificationgroup.js +0 -104
- package/models/operations/notificationgroupscontrollergetnotificationgroup.js.map +0 -1
- package/models/operations/notificationgroupscontrollerlistnotificationgroups.d.ts +0 -36
- package/models/operations/notificationgroupscontrollerlistnotificationgroups.d.ts.map +0 -1
- package/models/operations/notificationgroupscontrollerlistnotificationgroups.js +0 -75
- package/models/operations/notificationgroupscontrollerlistnotificationgroups.js.map +0 -1
- package/models/operations/notificationgroupscontrollerupdatenotificationgroup.d.ts +0 -63
- package/models/operations/notificationgroupscontrollerupdatenotificationgroup.d.ts.map +0 -1
- package/models/operations/notificationgroupscontrollerupdatenotificationgroup.js +0 -114
- package/models/operations/notificationgroupscontrollerupdatenotificationgroup.js.map +0 -1
- package/sdk/apikeys.d.ts +0 -9
- package/sdk/apikeys.d.ts.map +0 -1
- package/sdk/apikeys.js +0 -19
- package/sdk/apikeys.js.map +0 -1
- package/sdk/environments.d.ts +0 -16
- package/sdk/environments.d.ts.map +0 -1
- package/sdk/environments.js +0 -31
- package/sdk/environments.js.map +0 -1
- package/sdk/executiondetails.d.ts +0 -9
- package/sdk/executiondetails.d.ts.map +0 -1
- package/sdk/executiondetails.js +0 -19
- package/sdk/executiondetails.js.map +0 -1
- package/sdk/workflowgroups.d.ts +0 -41
- package/sdk/workflowgroups.d.ts.map +0 -1
- package/sdk/workflowgroups.js +0 -62
- package/sdk/workflowgroups.js.map +0 -1
- package/src/funcs/environmentsApiKeysList.ts +0 -124
- package/src/funcs/environmentsList.ts +0 -124
- package/src/funcs/environmentsRetrieve.ts +0 -124
- package/src/funcs/executionDetailsRetrieve.ts +0 -157
- package/src/funcs/workflowGroupsCreate.ts +0 -145
- package/src/funcs/workflowGroupsDelete.ts +0 -157
- package/src/funcs/workflowGroupsList.ts +0 -127
- package/src/funcs/workflowGroupsRetrieve.ts +0 -157
- package/src/funcs/workflowGroupsUpdate.ts +0 -164
- package/src/models/components/apikey.ts +0 -72
- package/src/models/components/createnotificationgrouprequestdto.ts +0 -69
- package/src/models/components/deletenotificationgroupresponsedto.ts +0 -117
- package/src/models/components/environmentresponsedto.ts +0 -103
- package/src/models/components/executiondetailsresponsedto.ts +0 -244
- package/src/models/components/notificationgroupresponsedto.ts +0 -99
- package/src/models/components/triggerrecipientstypeenum.ts +0 -35
- package/src/models/operations/environmentscontrollerv1getcurrentenvironment.ts +0 -96
- package/src/models/operations/environmentscontrollerv1listmyenvironments.ts +0 -96
- package/src/models/operations/environmentscontrollerv1listorganizationapikeys.ts +0 -94
- package/src/models/operations/executiondetailscontrollergetexecutiondetailsfornotification.ts +0 -176
- package/src/models/operations/notificationgroupscontrollercreatenotificationgroup.ts +0 -95
- package/src/models/operations/notificationgroupscontrollerdeletenotificationgroup.ts +0 -166
- package/src/models/operations/notificationgroupscontrollergetnotificationgroup.ts +0 -165
- package/src/models/operations/notificationgroupscontrollerlistnotificationgroups.ts +0 -95
- package/src/models/operations/notificationgroupscontrollerupdatenotificationgroup.ts +0 -182
- package/src/sdk/apikeys.ts +0 -24
- package/src/sdk/environments.ts +0 -41
- package/src/sdk/executiondetails.ts +0 -28
- package/src/sdk/workflowgroups.ts +0 -111
package/src/lib/config.ts
CHANGED
|
@@ -55,7 +55,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
55
55
|
export const SDK_METADATA = {
|
|
56
56
|
language: "typescript",
|
|
57
57
|
openapiDocVersion: "1.0",
|
|
58
|
-
sdkVersion: "0.0.1-alpha.
|
|
59
|
-
genVersion: "2.
|
|
60
|
-
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.
|
|
58
|
+
sdkVersion: "0.0.1-alpha.88",
|
|
59
|
+
genVersion: "2.477.0",
|
|
60
|
+
userAgent: "speakeasy-sdk/typescript 0.0.1-alpha.88 2.477.0 1.0 @novu/api",
|
|
61
61
|
} as const;
|
|
@@ -11,7 +11,6 @@ export * from "./activitystatsresponsedto.js";
|
|
|
11
11
|
export * from "./actorfeeditemdto.js";
|
|
12
12
|
export * from "./actortypeenum.js";
|
|
13
13
|
export * from "./addsubscribersrequestdto.js";
|
|
14
|
-
export * from "./apikey.js";
|
|
15
14
|
export * from "./assignsubscribertotopicdto.js";
|
|
16
15
|
export * from "./bulksubscribercreatedto.js";
|
|
17
16
|
export * from "./bulktriggereventdto.js";
|
|
@@ -21,7 +20,6 @@ export * from "./channelpreference.js";
|
|
|
21
20
|
export * from "./channelsettings.js";
|
|
22
21
|
export * from "./channeltypeenum.js";
|
|
23
22
|
export * from "./createintegrationrequestdto.js";
|
|
24
|
-
export * from "./createnotificationgrouprequestdto.js";
|
|
25
23
|
export * from "./createsubscriberrequestdto.js";
|
|
26
24
|
export * from "./createtopicrequestdto.js";
|
|
27
25
|
export * from "./createtopicresponsedto.js";
|
|
@@ -30,14 +28,11 @@ export * from "./databooleandto.js";
|
|
|
30
28
|
export * from "./delayregularmetadata.js";
|
|
31
29
|
export * from "./delayscheduledmetadata.js";
|
|
32
30
|
export * from "./deletemessageresponsedto.js";
|
|
33
|
-
export * from "./deletenotificationgroupresponsedto.js";
|
|
34
31
|
export * from "./deletesubscriberresponsedto.js";
|
|
35
32
|
export * from "./digestregularmetadata.js";
|
|
36
33
|
export * from "./digesttimedmetadata.js";
|
|
37
34
|
export * from "./emailblock.js";
|
|
38
35
|
export * from "./emailblockstyles.js";
|
|
39
|
-
export * from "./environmentresponsedto.js";
|
|
40
|
-
export * from "./executiondetailsresponsedto.js";
|
|
41
36
|
export * from "./failedassignmentsdto.js";
|
|
42
37
|
export * from "./feedresponsedto.js";
|
|
43
38
|
export * from "./fieldfilterpart.js";
|
|
@@ -58,7 +53,6 @@ export * from "./messageresponsedto.js";
|
|
|
58
53
|
export * from "./messagetemplate.js";
|
|
59
54
|
export * from "./notificationfeeditemdto.js";
|
|
60
55
|
export * from "./notificationgroup.js";
|
|
61
|
-
export * from "./notificationgroupresponsedto.js";
|
|
62
56
|
export * from "./notificationstep.js";
|
|
63
57
|
export * from "./notificationstepvariant.js";
|
|
64
58
|
export * from "./notificationtrigger.js";
|
|
@@ -83,7 +77,6 @@ export * from "./topicsubscriberdto.js";
|
|
|
83
77
|
export * from "./triggereventrequestdto.js";
|
|
84
78
|
export * from "./triggereventresponsedto.js";
|
|
85
79
|
export * from "./triggereventtoallrequestdto.js";
|
|
86
|
-
export * from "./triggerrecipientstypeenum.js";
|
|
87
80
|
export * from "./unseencountresponse.js";
|
|
88
81
|
export * from "./updateintegrationrequestdto.js";
|
|
89
82
|
export * from "./updatesubscriberchannelrequestdto.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
* The channel type for the integration, which defines how the integration communicates (e.g., email, SMS).
|
|
26
26
|
*/
|
|
27
|
-
export const
|
|
27
|
+
export const Channel = {
|
|
28
28
|
InApp: "in_app",
|
|
29
29
|
Email: "email",
|
|
30
30
|
Sms: "sms",
|
|
@@ -34,9 +34,7 @@ export const IntegrationResponseDtoChannel = {
|
|
|
34
34
|
/**
|
|
35
35
|
* The channel type for the integration, which defines how the integration communicates (e.g., email, SMS).
|
|
36
36
|
*/
|
|
37
|
-
export type
|
|
38
|
-
typeof IntegrationResponseDtoChannel
|
|
39
|
-
>;
|
|
37
|
+
export type Channel = ClosedEnum<typeof Channel>;
|
|
40
38
|
|
|
41
39
|
export type IntegrationResponseDto = {
|
|
42
40
|
/**
|
|
@@ -66,7 +64,7 @@ export type IntegrationResponseDto = {
|
|
|
66
64
|
/**
|
|
67
65
|
* The channel type for the integration, which defines how the integration communicates (e.g., email, SMS).
|
|
68
66
|
*/
|
|
69
|
-
channel:
|
|
67
|
+
channel: Channel;
|
|
70
68
|
/**
|
|
71
69
|
* The credentials required for the integration to function, including API keys and other sensitive information.
|
|
72
70
|
*/
|
|
@@ -98,24 +96,22 @@ export type IntegrationResponseDto = {
|
|
|
98
96
|
};
|
|
99
97
|
|
|
100
98
|
/** @internal */
|
|
101
|
-
export const
|
|
102
|
-
|
|
103
|
-
> = z.nativeEnum(IntegrationResponseDtoChannel);
|
|
99
|
+
export const Channel$inboundSchema: z.ZodNativeEnum<typeof Channel> = z
|
|
100
|
+
.nativeEnum(Channel);
|
|
104
101
|
|
|
105
102
|
/** @internal */
|
|
106
|
-
export const
|
|
107
|
-
|
|
108
|
-
> = IntegrationResponseDtoChannel$inboundSchema;
|
|
103
|
+
export const Channel$outboundSchema: z.ZodNativeEnum<typeof Channel> =
|
|
104
|
+
Channel$inboundSchema;
|
|
109
105
|
|
|
110
106
|
/**
|
|
111
107
|
* @internal
|
|
112
108
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
113
109
|
*/
|
|
114
|
-
export namespace
|
|
115
|
-
/** @deprecated use `
|
|
116
|
-
export const inboundSchema =
|
|
117
|
-
/** @deprecated use `
|
|
118
|
-
export const outboundSchema =
|
|
110
|
+
export namespace Channel$ {
|
|
111
|
+
/** @deprecated use `Channel$inboundSchema` instead. */
|
|
112
|
+
export const inboundSchema = Channel$inboundSchema;
|
|
113
|
+
/** @deprecated use `Channel$outboundSchema` instead. */
|
|
114
|
+
export const outboundSchema = Channel$outboundSchema;
|
|
119
115
|
}
|
|
120
116
|
|
|
121
117
|
/** @internal */
|
|
@@ -130,7 +126,7 @@ export const IntegrationResponseDto$inboundSchema: z.ZodType<
|
|
|
130
126
|
name: z.string(),
|
|
131
127
|
identifier: z.string(),
|
|
132
128
|
providerId: z.string(),
|
|
133
|
-
channel:
|
|
129
|
+
channel: Channel$inboundSchema,
|
|
134
130
|
credentials: CredentialsDto$inboundSchema,
|
|
135
131
|
active: z.boolean(),
|
|
136
132
|
deleted: z.boolean(),
|
|
@@ -176,7 +172,7 @@ export const IntegrationResponseDto$outboundSchema: z.ZodType<
|
|
|
176
172
|
name: z.string(),
|
|
177
173
|
identifier: z.string(),
|
|
178
174
|
providerId: z.string(),
|
|
179
|
-
channel:
|
|
175
|
+
channel: Channel$outboundSchema,
|
|
180
176
|
credentials: CredentialsDto$outboundSchema,
|
|
181
177
|
active: z.boolean(),
|
|
182
178
|
deleted: z.boolean(),
|
|
@@ -151,7 +151,7 @@ export type NotificationFeedItemDto = {
|
|
|
151
151
|
/**
|
|
152
152
|
* The payload that was used to send the notification trigger.
|
|
153
153
|
*/
|
|
154
|
-
payload
|
|
154
|
+
payload: { [k: string]: any };
|
|
155
155
|
/**
|
|
156
156
|
* Provider-specific overrides used when triggering the notification.
|
|
157
157
|
*/
|
|
@@ -214,7 +214,7 @@ export const NotificationFeedItemDto$inboundSchema: z.ZodType<
|
|
|
214
214
|
deviceTokens: z.nullable(z.array(z.string())).optional(),
|
|
215
215
|
cta: MessageCTA$inboundSchema,
|
|
216
216
|
status: NotificationFeedItemDtoStatus$inboundSchema,
|
|
217
|
-
payload: z.record(z.any())
|
|
217
|
+
payload: z.record(z.any()),
|
|
218
218
|
overrides: z.record(z.any()).optional(),
|
|
219
219
|
}).transform((v) => {
|
|
220
220
|
return remap$(v, {
|
|
@@ -257,7 +257,7 @@ export type NotificationFeedItemDto$Outbound = {
|
|
|
257
257
|
deviceTokens?: Array<string> | null | undefined;
|
|
258
258
|
cta: MessageCTA$Outbound;
|
|
259
259
|
status: string;
|
|
260
|
-
payload
|
|
260
|
+
payload: { [k: string]: any };
|
|
261
261
|
overrides?: { [k: string]: any } | undefined;
|
|
262
262
|
};
|
|
263
263
|
|
|
@@ -292,7 +292,7 @@ export const NotificationFeedItemDto$outboundSchema: z.ZodType<
|
|
|
292
292
|
deviceTokens: z.nullable(z.array(z.string())).optional(),
|
|
293
293
|
cta: MessageCTA$outboundSchema,
|
|
294
294
|
status: NotificationFeedItemDtoStatus$outboundSchema,
|
|
295
|
-
payload: z.record(z.any())
|
|
295
|
+
payload: z.record(z.any()),
|
|
296
296
|
overrides: z.record(z.any()).optional(),
|
|
297
297
|
}).transform((v) => {
|
|
298
298
|
return remap$(v, {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
FieldFilterPart$outboundSchema,
|
|
15
15
|
} from "./fieldfilterpart.js";
|
|
16
16
|
|
|
17
|
-
export const
|
|
17
|
+
export const StepFilterType = {
|
|
18
18
|
Boolean: "BOOLEAN",
|
|
19
19
|
Text: "TEXT",
|
|
20
20
|
Date: "DATE",
|
|
@@ -24,7 +24,7 @@ export const Type = {
|
|
|
24
24
|
MultiList: "MULTI_LIST",
|
|
25
25
|
Group: "GROUP",
|
|
26
26
|
} as const;
|
|
27
|
-
export type
|
|
27
|
+
export type StepFilterType = ClosedEnum<typeof StepFilterType>;
|
|
28
28
|
|
|
29
29
|
export const Value = {
|
|
30
30
|
And: "AND",
|
|
@@ -34,29 +34,30 @@ export type Value = ClosedEnum<typeof Value>;
|
|
|
34
34
|
|
|
35
35
|
export type StepFilter = {
|
|
36
36
|
isNegated: boolean;
|
|
37
|
-
type:
|
|
37
|
+
type: StepFilterType;
|
|
38
38
|
value: Value;
|
|
39
39
|
children: Array<FieldFilterPart>;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
/** @internal */
|
|
43
|
-
export const
|
|
44
|
-
|
|
45
|
-
);
|
|
43
|
+
export const StepFilterType$inboundSchema: z.ZodNativeEnum<
|
|
44
|
+
typeof StepFilterType
|
|
45
|
+
> = z.nativeEnum(StepFilterType);
|
|
46
46
|
|
|
47
47
|
/** @internal */
|
|
48
|
-
export const
|
|
49
|
-
|
|
48
|
+
export const StepFilterType$outboundSchema: z.ZodNativeEnum<
|
|
49
|
+
typeof StepFilterType
|
|
50
|
+
> = StepFilterType$inboundSchema;
|
|
50
51
|
|
|
51
52
|
/**
|
|
52
53
|
* @internal
|
|
53
54
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
54
55
|
*/
|
|
55
|
-
export namespace
|
|
56
|
-
/** @deprecated use `
|
|
57
|
-
export const inboundSchema =
|
|
58
|
-
/** @deprecated use `
|
|
59
|
-
export const outboundSchema =
|
|
56
|
+
export namespace StepFilterType$ {
|
|
57
|
+
/** @deprecated use `StepFilterType$inboundSchema` instead. */
|
|
58
|
+
export const inboundSchema = StepFilterType$inboundSchema;
|
|
59
|
+
/** @deprecated use `StepFilterType$outboundSchema` instead. */
|
|
60
|
+
export const outboundSchema = StepFilterType$outboundSchema;
|
|
60
61
|
}
|
|
61
62
|
|
|
62
63
|
/** @internal */
|
|
@@ -86,7 +87,7 @@ export const StepFilter$inboundSchema: z.ZodType<
|
|
|
86
87
|
unknown
|
|
87
88
|
> = z.object({
|
|
88
89
|
isNegated: z.boolean(),
|
|
89
|
-
type:
|
|
90
|
+
type: StepFilterType$inboundSchema,
|
|
90
91
|
value: Value$inboundSchema,
|
|
91
92
|
children: z.array(FieldFilterPart$inboundSchema),
|
|
92
93
|
});
|
|
@@ -106,7 +107,7 @@ export const StepFilter$outboundSchema: z.ZodType<
|
|
|
106
107
|
StepFilter
|
|
107
108
|
> = z.object({
|
|
108
109
|
isNegated: z.boolean(),
|
|
109
|
-
type:
|
|
110
|
+
type: StepFilterType$outboundSchema,
|
|
110
111
|
value: Value$outboundSchema,
|
|
111
112
|
children: z.array(FieldFilterPart$outboundSchema),
|
|
112
113
|
});
|
|
@@ -4,19 +4,41 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
10
|
+
|
|
11
|
+
export const Type = {
|
|
12
|
+
Subscriber: "Subscriber",
|
|
13
|
+
Topic: "Topic",
|
|
14
|
+
} as const;
|
|
15
|
+
export type Type = ClosedEnum<typeof Type>;
|
|
14
16
|
|
|
15
17
|
export type TopicPayloadDto = {
|
|
16
18
|
topicKey: string;
|
|
17
|
-
type:
|
|
19
|
+
type: Type;
|
|
18
20
|
};
|
|
19
21
|
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
|
|
24
|
+
Type,
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
|
|
29
|
+
Type$inboundSchema;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
+
*/
|
|
35
|
+
export namespace Type$ {
|
|
36
|
+
/** @deprecated use `Type$inboundSchema` instead. */
|
|
37
|
+
export const inboundSchema = Type$inboundSchema;
|
|
38
|
+
/** @deprecated use `Type$outboundSchema` instead. */
|
|
39
|
+
export const outboundSchema = Type$outboundSchema;
|
|
40
|
+
}
|
|
41
|
+
|
|
20
42
|
/** @internal */
|
|
21
43
|
export const TopicPayloadDto$inboundSchema: z.ZodType<
|
|
22
44
|
TopicPayloadDto,
|
|
@@ -24,7 +46,7 @@ export const TopicPayloadDto$inboundSchema: z.ZodType<
|
|
|
24
46
|
unknown
|
|
25
47
|
> = z.object({
|
|
26
48
|
topicKey: z.string(),
|
|
27
|
-
type:
|
|
49
|
+
type: Type$inboundSchema,
|
|
28
50
|
});
|
|
29
51
|
|
|
30
52
|
/** @internal */
|
|
@@ -40,7 +62,7 @@ export const TopicPayloadDto$outboundSchema: z.ZodType<
|
|
|
40
62
|
TopicPayloadDto
|
|
41
63
|
> = z.object({
|
|
42
64
|
topicKey: z.string(),
|
|
43
|
-
type:
|
|
65
|
+
type: Type$outboundSchema,
|
|
44
66
|
});
|
|
45
67
|
|
|
46
68
|
/**
|
|
@@ -31,7 +31,16 @@ import {
|
|
|
31
31
|
WorkflowToStepControlValuesDto$outboundSchema,
|
|
32
32
|
} from "./workflowtostepcontrolvaluesdto.js";
|
|
33
33
|
|
|
34
|
-
export type
|
|
34
|
+
export type One = TopicPayloadDto | SubscriberPayloadDto | string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* The recipients list of people who will receive the notification.
|
|
38
|
+
*/
|
|
39
|
+
export type To =
|
|
40
|
+
| TopicPayloadDto
|
|
41
|
+
| SubscriberPayloadDto
|
|
42
|
+
| Array<TopicPayloadDto | SubscriberPayloadDto | string>
|
|
43
|
+
| string;
|
|
35
44
|
|
|
36
45
|
/**
|
|
37
46
|
* It is used to display the Avatar of the provided actor's subscriber id or actor object.
|
|
@@ -74,7 +83,11 @@ export type TriggerEventRequestDto = {
|
|
|
74
83
|
/**
|
|
75
84
|
* The recipients list of people who will receive the notification.
|
|
76
85
|
*/
|
|
77
|
-
to:
|
|
86
|
+
to:
|
|
87
|
+
| TopicPayloadDto
|
|
88
|
+
| SubscriberPayloadDto
|
|
89
|
+
| Array<TopicPayloadDto | SubscriberPayloadDto | string>
|
|
90
|
+
| string;
|
|
78
91
|
/**
|
|
79
92
|
* A unique identifier for this transaction, we will generate a UUID if not provided.
|
|
80
93
|
*/
|
|
@@ -100,10 +113,67 @@ export type TriggerEventRequestDto = {
|
|
|
100
113
|
controls?: WorkflowToStepControlValuesDto | undefined;
|
|
101
114
|
};
|
|
102
115
|
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const One$inboundSchema: z.ZodType<One, z.ZodTypeDef, unknown> = z.union(
|
|
118
|
+
[
|
|
119
|
+
TopicPayloadDto$inboundSchema,
|
|
120
|
+
SubscriberPayloadDto$inboundSchema,
|
|
121
|
+
z.string(),
|
|
122
|
+
],
|
|
123
|
+
);
|
|
124
|
+
|
|
125
|
+
/** @internal */
|
|
126
|
+
export type One$Outbound =
|
|
127
|
+
| TopicPayloadDto$Outbound
|
|
128
|
+
| SubscriberPayloadDto$Outbound
|
|
129
|
+
| string;
|
|
130
|
+
|
|
131
|
+
/** @internal */
|
|
132
|
+
export const One$outboundSchema: z.ZodType<One$Outbound, z.ZodTypeDef, One> = z
|
|
133
|
+
.union([
|
|
134
|
+
TopicPayloadDto$outboundSchema,
|
|
135
|
+
SubscriberPayloadDto$outboundSchema,
|
|
136
|
+
z.string(),
|
|
137
|
+
]);
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* @internal
|
|
141
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
142
|
+
*/
|
|
143
|
+
export namespace One$ {
|
|
144
|
+
/** @deprecated use `One$inboundSchema` instead. */
|
|
145
|
+
export const inboundSchema = One$inboundSchema;
|
|
146
|
+
/** @deprecated use `One$outboundSchema` instead. */
|
|
147
|
+
export const outboundSchema = One$outboundSchema;
|
|
148
|
+
/** @deprecated use `One$Outbound` instead. */
|
|
149
|
+
export type Outbound = One$Outbound;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function oneToJSON(one: One): string {
|
|
153
|
+
return JSON.stringify(One$outboundSchema.parse(one));
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function oneFromJSON(
|
|
157
|
+
jsonString: string,
|
|
158
|
+
): SafeParseResult<One, SDKValidationError> {
|
|
159
|
+
return safeParse(
|
|
160
|
+
jsonString,
|
|
161
|
+
(x) => One$inboundSchema.parse(JSON.parse(x)),
|
|
162
|
+
`Failed to parse 'One' from JSON`,
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
|
|
103
166
|
/** @internal */
|
|
104
167
|
export const To$inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown> = z.union([
|
|
105
168
|
TopicPayloadDto$inboundSchema,
|
|
106
169
|
SubscriberPayloadDto$inboundSchema,
|
|
170
|
+
z.array(
|
|
171
|
+
z.union([
|
|
172
|
+
TopicPayloadDto$inboundSchema,
|
|
173
|
+
SubscriberPayloadDto$inboundSchema,
|
|
174
|
+
z.string(),
|
|
175
|
+
]),
|
|
176
|
+
),
|
|
107
177
|
z.string(),
|
|
108
178
|
]);
|
|
109
179
|
|
|
@@ -111,6 +181,7 @@ export const To$inboundSchema: z.ZodType<To, z.ZodTypeDef, unknown> = z.union([
|
|
|
111
181
|
export type To$Outbound =
|
|
112
182
|
| TopicPayloadDto$Outbound
|
|
113
183
|
| SubscriberPayloadDto$Outbound
|
|
184
|
+
| Array<TopicPayloadDto$Outbound | SubscriberPayloadDto$Outbound | string>
|
|
114
185
|
| string;
|
|
115
186
|
|
|
116
187
|
/** @internal */
|
|
@@ -118,6 +189,13 @@ export const To$outboundSchema: z.ZodType<To$Outbound, z.ZodTypeDef, To> = z
|
|
|
118
189
|
.union([
|
|
119
190
|
TopicPayloadDto$outboundSchema,
|
|
120
191
|
SubscriberPayloadDto$outboundSchema,
|
|
192
|
+
z.array(
|
|
193
|
+
z.union([
|
|
194
|
+
TopicPayloadDto$outboundSchema,
|
|
195
|
+
SubscriberPayloadDto$outboundSchema,
|
|
196
|
+
z.string(),
|
|
197
|
+
]),
|
|
198
|
+
),
|
|
121
199
|
z.string(),
|
|
122
200
|
]);
|
|
123
201
|
|
|
@@ -240,13 +318,18 @@ export const TriggerEventRequestDto$inboundSchema: z.ZodType<
|
|
|
240
318
|
payload: z.record(z.any()).optional(),
|
|
241
319
|
bridgeUrl: z.string().optional(),
|
|
242
320
|
overrides: z.record(z.record(z.any())).optional(),
|
|
243
|
-
to: z.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
z.
|
|
248
|
-
|
|
249
|
-
|
|
321
|
+
to: z.union([
|
|
322
|
+
TopicPayloadDto$inboundSchema,
|
|
323
|
+
SubscriberPayloadDto$inboundSchema,
|
|
324
|
+
z.array(
|
|
325
|
+
z.union([
|
|
326
|
+
TopicPayloadDto$inboundSchema,
|
|
327
|
+
SubscriberPayloadDto$inboundSchema,
|
|
328
|
+
z.string(),
|
|
329
|
+
]),
|
|
330
|
+
),
|
|
331
|
+
z.string(),
|
|
332
|
+
]),
|
|
250
333
|
transactionId: z.string().optional(),
|
|
251
334
|
actor: z.union([SubscriberPayloadDto$inboundSchema, z.string()]).optional(),
|
|
252
335
|
tenant: z.union([TenantPayloadDto$inboundSchema, z.string()]).optional(),
|
|
@@ -259,7 +342,11 @@ export type TriggerEventRequestDto$Outbound = {
|
|
|
259
342
|
payload?: { [k: string]: any } | undefined;
|
|
260
343
|
bridgeUrl?: string | undefined;
|
|
261
344
|
overrides?: { [k: string]: { [k: string]: any } } | undefined;
|
|
262
|
-
to:
|
|
345
|
+
to:
|
|
346
|
+
| TopicPayloadDto$Outbound
|
|
347
|
+
| SubscriberPayloadDto$Outbound
|
|
348
|
+
| Array<TopicPayloadDto$Outbound | SubscriberPayloadDto$Outbound | string>
|
|
349
|
+
| string;
|
|
263
350
|
transactionId?: string | undefined;
|
|
264
351
|
actor?: SubscriberPayloadDto$Outbound | string | undefined;
|
|
265
352
|
tenant?: TenantPayloadDto$Outbound | string | undefined;
|
|
@@ -276,13 +363,18 @@ export const TriggerEventRequestDto$outboundSchema: z.ZodType<
|
|
|
276
363
|
payload: z.record(z.any()).optional(),
|
|
277
364
|
bridgeUrl: z.string().optional(),
|
|
278
365
|
overrides: z.record(z.record(z.any())).optional(),
|
|
279
|
-
to: z.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
z.
|
|
284
|
-
|
|
285
|
-
|
|
366
|
+
to: z.union([
|
|
367
|
+
TopicPayloadDto$outboundSchema,
|
|
368
|
+
SubscriberPayloadDto$outboundSchema,
|
|
369
|
+
z.array(
|
|
370
|
+
z.union([
|
|
371
|
+
TopicPayloadDto$outboundSchema,
|
|
372
|
+
SubscriberPayloadDto$outboundSchema,
|
|
373
|
+
z.string(),
|
|
374
|
+
]),
|
|
375
|
+
),
|
|
376
|
+
z.string(),
|
|
377
|
+
]),
|
|
286
378
|
transactionId: z.string().optional(),
|
|
287
379
|
actor: z.union([SubscriberPayloadDto$outboundSchema, z.string()]).optional(),
|
|
288
380
|
tenant: z.union([TenantPayloadDto$outboundSchema, z.string()]).optional(),
|
|
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
/**
|
|
12
12
|
* Status of the trigger
|
|
13
13
|
*/
|
|
14
|
-
export const
|
|
14
|
+
export const Status = {
|
|
15
15
|
Error: "error",
|
|
16
16
|
TriggerNotActive: "trigger_not_active",
|
|
17
17
|
NoWorkflowActiveStepsDefined: "no_workflow_active_steps_defined",
|
|
@@ -23,9 +23,7 @@ export const TriggerEventResponseDtoStatus = {
|
|
|
23
23
|
/**
|
|
24
24
|
* Status of the trigger
|
|
25
25
|
*/
|
|
26
|
-
export type
|
|
27
|
-
typeof TriggerEventResponseDtoStatus
|
|
28
|
-
>;
|
|
26
|
+
export type Status = ClosedEnum<typeof Status>;
|
|
29
27
|
|
|
30
28
|
export type TriggerEventResponseDto = {
|
|
31
29
|
/**
|
|
@@ -35,7 +33,7 @@ export type TriggerEventResponseDto = {
|
|
|
35
33
|
/**
|
|
36
34
|
* Status of the trigger
|
|
37
35
|
*/
|
|
38
|
-
status:
|
|
36
|
+
status: Status;
|
|
39
37
|
/**
|
|
40
38
|
* In case of an error, this field will contain the error message(s)
|
|
41
39
|
*/
|
|
@@ -47,24 +45,22 @@ export type TriggerEventResponseDto = {
|
|
|
47
45
|
};
|
|
48
46
|
|
|
49
47
|
/** @internal */
|
|
50
|
-
export const
|
|
51
|
-
|
|
52
|
-
> = z.nativeEnum(TriggerEventResponseDtoStatus);
|
|
48
|
+
export const Status$inboundSchema: z.ZodNativeEnum<typeof Status> = z
|
|
49
|
+
.nativeEnum(Status);
|
|
53
50
|
|
|
54
51
|
/** @internal */
|
|
55
|
-
export const
|
|
56
|
-
|
|
57
|
-
> = TriggerEventResponseDtoStatus$inboundSchema;
|
|
52
|
+
export const Status$outboundSchema: z.ZodNativeEnum<typeof Status> =
|
|
53
|
+
Status$inboundSchema;
|
|
58
54
|
|
|
59
55
|
/**
|
|
60
56
|
* @internal
|
|
61
57
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
62
58
|
*/
|
|
63
|
-
export namespace
|
|
64
|
-
/** @deprecated use `
|
|
65
|
-
export const inboundSchema =
|
|
66
|
-
/** @deprecated use `
|
|
67
|
-
export const outboundSchema =
|
|
59
|
+
export namespace Status$ {
|
|
60
|
+
/** @deprecated use `Status$inboundSchema` instead. */
|
|
61
|
+
export const inboundSchema = Status$inboundSchema;
|
|
62
|
+
/** @deprecated use `Status$outboundSchema` instead. */
|
|
63
|
+
export const outboundSchema = Status$outboundSchema;
|
|
68
64
|
}
|
|
69
65
|
|
|
70
66
|
/** @internal */
|
|
@@ -74,7 +70,7 @@ export const TriggerEventResponseDto$inboundSchema: z.ZodType<
|
|
|
74
70
|
unknown
|
|
75
71
|
> = z.object({
|
|
76
72
|
acknowledged: z.boolean(),
|
|
77
|
-
status:
|
|
73
|
+
status: Status$inboundSchema,
|
|
78
74
|
error: z.array(z.string()).optional(),
|
|
79
75
|
transactionId: z.string().optional(),
|
|
80
76
|
});
|
|
@@ -94,7 +90,7 @@ export const TriggerEventResponseDto$outboundSchema: z.ZodType<
|
|
|
94
90
|
TriggerEventResponseDto
|
|
95
91
|
> = z.object({
|
|
96
92
|
acknowledged: z.boolean(),
|
|
97
|
-
status:
|
|
93
|
+
status: Status$outboundSchema,
|
|
98
94
|
error: z.array(z.string()).optional(),
|
|
99
95
|
transactionId: z.string().optional(),
|
|
100
96
|
});
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./environmentscontrollerv1getcurrentenvironment.js";
|
|
6
|
-
export * from "./environmentscontrollerv1listmyenvironments.js";
|
|
7
|
-
export * from "./environmentscontrollerv1listorganizationapikeys.js";
|
|
8
5
|
export * from "./eventscontrollerbroadcasteventtoall.js";
|
|
9
6
|
export * from "./eventscontrollercancel.js";
|
|
10
7
|
export * from "./eventscontrollertrigger.js";
|
|
11
8
|
export * from "./eventscontrollertriggerbulk.js";
|
|
12
|
-
export * from "./executiondetailscontrollergetexecutiondetailsfornotification.js";
|
|
13
9
|
export * from "./integrationscontrollercreateintegration.js";
|
|
14
10
|
export * from "./integrationscontrollergetactiveintegrations.js";
|
|
15
11
|
export * from "./integrationscontrollergetwebhooksupportstatus.js";
|
|
@@ -20,11 +16,6 @@ export * from "./integrationscontrollerupdateintegrationbyid.js";
|
|
|
20
16
|
export * from "./messagescontrollerdeletemessage.js";
|
|
21
17
|
export * from "./messagescontrollerdeletemessagesbytransactionid.js";
|
|
22
18
|
export * from "./messagescontrollergetmessages.js";
|
|
23
|
-
export * from "./notificationgroupscontrollercreatenotificationgroup.js";
|
|
24
|
-
export * from "./notificationgroupscontrollerdeletenotificationgroup.js";
|
|
25
|
-
export * from "./notificationgroupscontrollergetnotificationgroup.js";
|
|
26
|
-
export * from "./notificationgroupscontrollerlistnotificationgroups.js";
|
|
27
|
-
export * from "./notificationgroupscontrollerupdatenotificationgroup.js";
|
|
28
19
|
export * from "./notificationscontrollergetactivitygraphstats.js";
|
|
29
20
|
export * from "./notificationscontrollergetactivitystats.js";
|
|
30
21
|
export * from "./notificationscontrollergetnotification.js";
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -10,36 +10,18 @@ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
|
10
10
|
import * as components from "../models/components/index.js";
|
|
11
11
|
import * as operations from "../models/operations/index.js";
|
|
12
12
|
import { unwrapAsync } from "../types/fp.js";
|
|
13
|
-
import { Environments } from "./environments.js";
|
|
14
|
-
import { ExecutionDetails } from "./executiondetails.js";
|
|
15
13
|
import { Integrations } from "./integrations.js";
|
|
16
14
|
import { Messages } from "./messages.js";
|
|
17
15
|
import { Notifications } from "./notifications.js";
|
|
18
16
|
import { Subscribers } from "./subscribers.js";
|
|
19
17
|
import { Topics } from "./topics.js";
|
|
20
|
-
import { WorkflowGroups } from "./workflowgroups.js";
|
|
21
18
|
|
|
22
19
|
export class Novu extends ClientSDK {
|
|
23
|
-
private _environments?: Environments;
|
|
24
|
-
get environments(): Environments {
|
|
25
|
-
return (this._environments ??= new Environments(this._options));
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
private _executionDetails?: ExecutionDetails;
|
|
29
|
-
get executionDetails(): ExecutionDetails {
|
|
30
|
-
return (this._executionDetails ??= new ExecutionDetails(this._options));
|
|
31
|
-
}
|
|
32
|
-
|
|
33
20
|
private _notifications?: Notifications;
|
|
34
21
|
get notifications(): Notifications {
|
|
35
22
|
return (this._notifications ??= new Notifications(this._options));
|
|
36
23
|
}
|
|
37
24
|
|
|
38
|
-
private _workflowGroups?: WorkflowGroups;
|
|
39
|
-
get workflowGroups(): WorkflowGroups {
|
|
40
|
-
return (this._workflowGroups ??= new WorkflowGroups(this._options));
|
|
41
|
-
}
|
|
42
|
-
|
|
43
25
|
private _integrations?: Integrations;
|
|
44
26
|
get integrations(): Integrations {
|
|
45
27
|
return (this._integrations ??= new Integrations(this._options));
|