@vindentech/api-client 0.3.0-next.14 โ 0.3.0-next.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/_all.d.ts +13 -0
- package/dist/generated/_all.d.ts.map +1 -1
- package/dist/generated/_all.js +13 -0
- package/dist/generated/_all.js.map +1 -1
- package/dist/generated/_permissions.d.ts +142 -1
- package/dist/generated/_permissions.d.ts.map +1 -1
- package/dist/generated/_permissions.js +36 -0
- package/dist/generated/_permissions.js.map +1 -1
- package/dist/generated/index.schemas.d.ts +1758 -52
- package/dist/generated/index.schemas.d.ts.map +1 -1
- package/dist/generated/index.schemas.js +583 -0
- package/dist/generated/index.schemas.js.map +1 -1
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +23 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.js +12 -0
- package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -0
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts +51 -0
- package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -0
- package/dist/generated/notification-dispatches/notification-dispatches.js +27 -0
- package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -0
- package/dist/generated/notification-events/notification-events.d.ts +44 -0
- package/dist/generated/notification-events/notification-events.d.ts.map +1 -0
- package/dist/generated/notification-events/notification-events.js +35 -0
- package/dist/generated/notification-events/notification-events.js.map +1 -0
- package/dist/generated/notification-health/notification-health.d.ts +23 -0
- package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
- package/dist/generated/notification-health/notification-health.js +12 -0
- package/dist/generated/notification-health/notification-health.js.map +1 -0
- package/dist/generated/notification-preferences/notification-preferences.d.ts +30 -0
- package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
- package/dist/generated/notification-preferences/notification-preferences.js +18 -0
- package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
- package/dist/generated/notification-requests/notification-requests.d.ts +30 -0
- package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
- package/dist/generated/notification-requests/notification-requests.js +11 -0
- package/dist/generated/notification-requests/notification-requests.js.map +1 -0
- package/dist/generated/notification-rules/notification-rules.d.ts +186 -0
- package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
- package/dist/generated/notification-rules/notification-rules.js +88 -0
- package/dist/generated/notification-rules/notification-rules.js.map +1 -0
- package/dist/generated/notification-settings/notification-settings.d.ts +23 -0
- package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
- package/dist/generated/notification-settings/notification-settings.js +12 -0
- package/dist/generated/notification-settings/notification-settings.js.map +1 -0
- package/dist/generated/notification-templates/notification-templates.d.ts +305 -0
- package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
- package/dist/generated/notification-templates/notification-templates.js +121 -0
- package/dist/generated/notification-templates/notification-templates.js.map +1 -0
- package/dist/generated/orders/orders.d.ts +15 -1
- package/dist/generated/orders/orders.d.ts.map +1 -1
- package/dist/generated/orders/orders.js +12 -0
- package/dist/generated/orders/orders.js.map +1 -1
- package/dist/generated/sender-identities/sender-identities.d.ts +44 -0
- package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
- package/dist/generated/sender-identities/sender-identities.js +28 -0
- package/dist/generated/sender-identities/sender-identities.js.map +1 -0
- package/dist/generated/service-points/service-points.d.ts +23 -0
- package/dist/generated/service-points/service-points.d.ts.map +1 -0
- package/dist/generated/service-points/service-points.js +18 -0
- package/dist/generated/service-points/service-points.js.map +1 -0
- package/dist/generated/suppressions/suppressions.d.ts +37 -0
- package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
- package/dist/generated/suppressions/suppressions.js +36 -0
- package/dist/generated/suppressions/suppressions.js.map +1 -0
- package/dist/generated/unsubscribe/unsubscribe.d.ts +55 -0
- package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
- package/dist/generated/unsubscribe/unsubscribe.js +22 -0
- package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.21.0 ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateNotificationRuleDto, EnableRuleDto, NotificationRuleDto, NotificationRulesControllerListV1Params, RecipientEstimateDto, UpdateNotificationRuleDto } from '../index.schemas.js';
|
|
9
|
+
/**
|
|
10
|
+
* Bounded by events ร channels, so a raw array rather than a pagination envelope. Ordered by event then channel; the admin UI groups per event. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
11
|
+
* @summary List notification rules
|
|
12
|
+
*/
|
|
13
|
+
export type notificationRulesControllerListV1Response200 = {
|
|
14
|
+
data: NotificationRuleDto[];
|
|
15
|
+
status: 200;
|
|
16
|
+
};
|
|
17
|
+
export type notificationRulesControllerListV1ResponseSuccess = (notificationRulesControllerListV1Response200) & {
|
|
18
|
+
headers: Headers;
|
|
19
|
+
};
|
|
20
|
+
export type notificationRulesControllerListV1Response = (notificationRulesControllerListV1ResponseSuccess);
|
|
21
|
+
export declare const getNotificationRulesControllerListV1Url: (params?: NotificationRulesControllerListV1Params) => string;
|
|
22
|
+
export declare const notificationRulesControllerListV1: (params?: NotificationRulesControllerListV1Params, options?: RequestInit) => Promise<notificationRulesControllerListV1Response>;
|
|
23
|
+
/**
|
|
24
|
+
* The rule starts DISABLED โ enabling is the separate gated action with the blast-radius confirmation. `recipients` is validated against the pinned contract version's paths at save (02 ยง5), and the category override is pre-checked app-side for a readable message before `trg_rule_category` would reject it. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
25
|
+
* @summary Create a notification rule
|
|
26
|
+
*/
|
|
27
|
+
export type notificationRulesControllerCreateV1Response201 = {
|
|
28
|
+
data: NotificationRuleDto;
|
|
29
|
+
status: 201;
|
|
30
|
+
};
|
|
31
|
+
export type notificationRulesControllerCreateV1Response400 = {
|
|
32
|
+
data: void;
|
|
33
|
+
status: 400;
|
|
34
|
+
};
|
|
35
|
+
export type notificationRulesControllerCreateV1Response404 = {
|
|
36
|
+
data: void;
|
|
37
|
+
status: 404;
|
|
38
|
+
};
|
|
39
|
+
export type notificationRulesControllerCreateV1Response409 = {
|
|
40
|
+
data: void;
|
|
41
|
+
status: 409;
|
|
42
|
+
};
|
|
43
|
+
export type notificationRulesControllerCreateV1ResponseSuccess = (notificationRulesControllerCreateV1Response201) & {
|
|
44
|
+
headers: Headers;
|
|
45
|
+
};
|
|
46
|
+
export type notificationRulesControllerCreateV1ResponseError = (notificationRulesControllerCreateV1Response400 | notificationRulesControllerCreateV1Response404 | notificationRulesControllerCreateV1Response409) & {
|
|
47
|
+
headers: Headers;
|
|
48
|
+
};
|
|
49
|
+
export type notificationRulesControllerCreateV1Response = (notificationRulesControllerCreateV1ResponseSuccess | notificationRulesControllerCreateV1ResponseError);
|
|
50
|
+
export declare const getNotificationRulesControllerCreateV1Url: () => string;
|
|
51
|
+
export declare const notificationRulesControllerCreateV1: (createNotificationRuleDto: CreateNotificationRuleDto, options?: RequestInit) => Promise<notificationRulesControllerCreateV1Response>;
|
|
52
|
+
/**
|
|
53
|
+
* ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
54
|
+
* @summary Get one notification rule
|
|
55
|
+
*/
|
|
56
|
+
export type notificationRulesControllerGetByIdV1Response200 = {
|
|
57
|
+
data: NotificationRuleDto;
|
|
58
|
+
status: 200;
|
|
59
|
+
};
|
|
60
|
+
export type notificationRulesControllerGetByIdV1Response404 = {
|
|
61
|
+
data: void;
|
|
62
|
+
status: 404;
|
|
63
|
+
};
|
|
64
|
+
export type notificationRulesControllerGetByIdV1ResponseSuccess = (notificationRulesControllerGetByIdV1Response200) & {
|
|
65
|
+
headers: Headers;
|
|
66
|
+
};
|
|
67
|
+
export type notificationRulesControllerGetByIdV1ResponseError = (notificationRulesControllerGetByIdV1Response404) & {
|
|
68
|
+
headers: Headers;
|
|
69
|
+
};
|
|
70
|
+
export type notificationRulesControllerGetByIdV1Response = (notificationRulesControllerGetByIdV1ResponseSuccess | notificationRulesControllerGetByIdV1ResponseError);
|
|
71
|
+
export declare const getNotificationRulesControllerGetByIdV1Url: (id: string) => string;
|
|
72
|
+
export declare const notificationRulesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationRulesControllerGetByIdV1Response>;
|
|
73
|
+
/**
|
|
74
|
+
* `eventKey` and `channel` are the rule's identity and cannot be patched. Changing `eventVersion` is the migrate-this-rule action: the recipients AND the bound template's referenced variables are re-validated against the new contract, and the migration is refused with the offenders named rather than silently re-pinned. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
75
|
+
* @summary Update a notification rule
|
|
76
|
+
*/
|
|
77
|
+
export type notificationRulesControllerUpdateV1Response200 = {
|
|
78
|
+
data: NotificationRuleDto;
|
|
79
|
+
status: 200;
|
|
80
|
+
};
|
|
81
|
+
export type notificationRulesControllerUpdateV1Response400 = {
|
|
82
|
+
data: void;
|
|
83
|
+
status: 400;
|
|
84
|
+
};
|
|
85
|
+
export type notificationRulesControllerUpdateV1Response404 = {
|
|
86
|
+
data: void;
|
|
87
|
+
status: 404;
|
|
88
|
+
};
|
|
89
|
+
export type notificationRulesControllerUpdateV1ResponseSuccess = (notificationRulesControllerUpdateV1Response200) & {
|
|
90
|
+
headers: Headers;
|
|
91
|
+
};
|
|
92
|
+
export type notificationRulesControllerUpdateV1ResponseError = (notificationRulesControllerUpdateV1Response400 | notificationRulesControllerUpdateV1Response404) & {
|
|
93
|
+
headers: Headers;
|
|
94
|
+
};
|
|
95
|
+
export type notificationRulesControllerUpdateV1Response = (notificationRulesControllerUpdateV1ResponseSuccess | notificationRulesControllerUpdateV1ResponseError);
|
|
96
|
+
export declare const getNotificationRulesControllerUpdateV1Url: (id: string) => string;
|
|
97
|
+
export declare const notificationRulesControllerUpdateV1: (id: string, updateNotificationRuleDto: UpdateNotificationRuleDto, options?: RequestInit) => Promise<notificationRulesControllerUpdateV1Response>;
|
|
98
|
+
/**
|
|
99
|
+
* Clears the live-uniqueness index, so the same (event, channel) may be authored again. History on the dispatches the rule produced is untouched. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
100
|
+
* @summary Delete a notification rule (soft delete)
|
|
101
|
+
*/
|
|
102
|
+
export type notificationRulesControllerRemoveV1Response204 = {
|
|
103
|
+
data: void;
|
|
104
|
+
status: 204;
|
|
105
|
+
};
|
|
106
|
+
export type notificationRulesControllerRemoveV1Response404 = {
|
|
107
|
+
data: void;
|
|
108
|
+
status: 404;
|
|
109
|
+
};
|
|
110
|
+
export type notificationRulesControllerRemoveV1ResponseSuccess = (notificationRulesControllerRemoveV1Response204) & {
|
|
111
|
+
headers: Headers;
|
|
112
|
+
};
|
|
113
|
+
export type notificationRulesControllerRemoveV1ResponseError = (notificationRulesControllerRemoveV1Response404) & {
|
|
114
|
+
headers: Headers;
|
|
115
|
+
};
|
|
116
|
+
export type notificationRulesControllerRemoveV1Response = (notificationRulesControllerRemoveV1ResponseSuccess | notificationRulesControllerRemoveV1ResponseError);
|
|
117
|
+
export declare const getNotificationRulesControllerRemoveV1Url: (id: string) => string;
|
|
118
|
+
export declare const notificationRulesControllerRemoveV1: (id: string, options?: RequestInit) => Promise<notificationRulesControllerRemoveV1Response>;
|
|
119
|
+
/**
|
|
120
|
+
* Four preconditions, each its own 409 code so the client can render the specific fix: a published template for what the rule renders, at least one `to` recipient, a verified default sender identity on the channel, and a live contract version. Then the blast radius: the server re-estimates and refuses when the fresh number is materially above the one the admin confirmed, or when it is over the typed-confirmation threshold without the tenant slug typed in. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
121
|
+
* @summary Enable a rule, with the blast-radius confirmation
|
|
122
|
+
*/
|
|
123
|
+
export type notificationRulesControllerEnableV1Response200 = {
|
|
124
|
+
data: NotificationRuleDto;
|
|
125
|
+
status: 200;
|
|
126
|
+
};
|
|
127
|
+
export type notificationRulesControllerEnableV1Response404 = {
|
|
128
|
+
data: void;
|
|
129
|
+
status: 404;
|
|
130
|
+
};
|
|
131
|
+
export type notificationRulesControllerEnableV1Response409 = {
|
|
132
|
+
data: void;
|
|
133
|
+
status: 409;
|
|
134
|
+
};
|
|
135
|
+
export type notificationRulesControllerEnableV1ResponseSuccess = (notificationRulesControllerEnableV1Response200) & {
|
|
136
|
+
headers: Headers;
|
|
137
|
+
};
|
|
138
|
+
export type notificationRulesControllerEnableV1ResponseError = (notificationRulesControllerEnableV1Response404 | notificationRulesControllerEnableV1Response409) & {
|
|
139
|
+
headers: Headers;
|
|
140
|
+
};
|
|
141
|
+
export type notificationRulesControllerEnableV1Response = (notificationRulesControllerEnableV1ResponseSuccess | notificationRulesControllerEnableV1ResponseError);
|
|
142
|
+
export declare const getNotificationRulesControllerEnableV1Url: (id: string) => string;
|
|
143
|
+
export declare const notificationRulesControllerEnableV1: (id: string, enableRuleDto: EnableRuleDto, options?: RequestInit) => Promise<notificationRulesControllerEnableV1Response>;
|
|
144
|
+
/**
|
|
145
|
+
* Ungated โ stopping a send is never the risky direction. Dispatches already queued still go out; new events skip as `skipped_disabled`. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
146
|
+
* @summary Disable a rule
|
|
147
|
+
*/
|
|
148
|
+
export type notificationRulesControllerDisableV1Response200 = {
|
|
149
|
+
data: NotificationRuleDto;
|
|
150
|
+
status: 200;
|
|
151
|
+
};
|
|
152
|
+
export type notificationRulesControllerDisableV1Response404 = {
|
|
153
|
+
data: void;
|
|
154
|
+
status: 404;
|
|
155
|
+
};
|
|
156
|
+
export type notificationRulesControllerDisableV1ResponseSuccess = (notificationRulesControllerDisableV1Response200) & {
|
|
157
|
+
headers: Headers;
|
|
158
|
+
};
|
|
159
|
+
export type notificationRulesControllerDisableV1ResponseError = (notificationRulesControllerDisableV1Response404) & {
|
|
160
|
+
headers: Headers;
|
|
161
|
+
};
|
|
162
|
+
export type notificationRulesControllerDisableV1Response = (notificationRulesControllerDisableV1ResponseSuccess | notificationRulesControllerDisableV1ResponseError);
|
|
163
|
+
export declare const getNotificationRulesControllerDisableV1Url: (id: string) => string;
|
|
164
|
+
export declare const notificationRulesControllerDisableV1: (id: string, options?: RequestInit) => Promise<notificationRulesControllerDisableV1Response>;
|
|
165
|
+
/**
|
|
166
|
+
* Resolves the rule's recipient specs against up to 50 recent event payloads (falling back to a sample folded out of the contract's example values when the tenant has no traffic for the event yet). Read-only and live โ `organization_contact` and the staff roster are read per call, so the client shows a spinner. Specs are NOT deduplicated against each other: the number an admin confirms is a ceiling. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
167
|
+
* @summary Blast-radius estimate for a rule
|
|
168
|
+
*/
|
|
169
|
+
export type notificationRulesControllerRecipientEstimateV1Response200 = {
|
|
170
|
+
data: RecipientEstimateDto;
|
|
171
|
+
status: 200;
|
|
172
|
+
};
|
|
173
|
+
export type notificationRulesControllerRecipientEstimateV1Response404 = {
|
|
174
|
+
data: void;
|
|
175
|
+
status: 404;
|
|
176
|
+
};
|
|
177
|
+
export type notificationRulesControllerRecipientEstimateV1ResponseSuccess = (notificationRulesControllerRecipientEstimateV1Response200) & {
|
|
178
|
+
headers: Headers;
|
|
179
|
+
};
|
|
180
|
+
export type notificationRulesControllerRecipientEstimateV1ResponseError = (notificationRulesControllerRecipientEstimateV1Response404) & {
|
|
181
|
+
headers: Headers;
|
|
182
|
+
};
|
|
183
|
+
export type notificationRulesControllerRecipientEstimateV1Response = (notificationRulesControllerRecipientEstimateV1ResponseSuccess | notificationRulesControllerRecipientEstimateV1ResponseError);
|
|
184
|
+
export declare const getNotificationRulesControllerRecipientEstimateV1Url: (id: string) => string;
|
|
185
|
+
export declare const notificationRulesControllerRecipientEstimateV1: (id: string, options?: RequestInit) => Promise<notificationRulesControllerRecipientEstimateV1Response>;
|
|
186
|
+
//# sourceMappingURL=notification-rules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-rules.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-rules/notification-rules.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,yBAAyB,EACzB,aAAa,EACb,mBAAmB,EACnB,uCAAuC,EACvC,oBAAoB,EACpB,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,mBAAmB,EAAE,CAAA;IAC3B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,gDAAgD,GAAG,CAAC,4CAA4C,CAAC,GAAG;IAC9G,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,yCAAyC,GAAG,CAAC,gDAAgD,CAAC,CAAA;AAE1G,eAAO,MAAM,uCAAuC,GAAI,SAAS,uCAAuC,WAavG,CAAA;AAED,eAAO,MAAM,iCAAiC,GAAU,SAAS,uCAAuC,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,yCAAyC,CAShL,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,mBAAmB,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,8CAA8C,GAAG;IAC3D,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GAAG;IACpH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,iDAAiD,GAAG,CAAC,+CAA+C,CAAC,GAAG;IAClH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,4CAA4C,GAAG,CAAC,mDAAmD,GAAG,iDAAiD,CAAC,CAAA;AAEpK,eAAO,MAAM,0CAA0C,GAAI,IAAI,MAAM,WAMpE,CAAA;AAED,eAAO,MAAM,oCAAoC,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,4CAA4C,CAShJ,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG;IACtE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,6DAA6D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACxI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,2DAA2D,GAAG,CAAC,yDAAyD,CAAC,GAAG;IACtI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,sDAAsD,GAAG,CAAC,6DAA6D,GAAG,2DAA2D,CAAC,CAAA;AAElM,eAAO,MAAM,oDAAoD,GAAI,IAAI,MAAM,WAM9E,CAAA;AAED,eAAO,MAAM,8CAA8C,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,sDAAsD,CASpK,CAAA"}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getNotificationRulesControllerListV1Url = (params) => {
|
|
4
|
+
const normalizedParams = new URLSearchParams();
|
|
5
|
+
Object.entries(params || {}).forEach(([key, value]) => {
|
|
6
|
+
if (value !== undefined) {
|
|
7
|
+
normalizedParams.append(key, value === null ? 'null' : value.toString());
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
const stringifiedParams = normalizedParams.toString();
|
|
11
|
+
return stringifiedParams.length > 0 ? `/v1/notification-rules?${stringifiedParams}` : `/v1/notification-rules`;
|
|
12
|
+
};
|
|
13
|
+
export const notificationRulesControllerListV1 = async (params, options) => {
|
|
14
|
+
return customFetch(getNotificationRulesControllerListV1Url(params), {
|
|
15
|
+
...options,
|
|
16
|
+
method: 'GET'
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
export const getNotificationRulesControllerCreateV1Url = () => {
|
|
20
|
+
return `/v1/notification-rules`;
|
|
21
|
+
};
|
|
22
|
+
export const notificationRulesControllerCreateV1 = async (createNotificationRuleDto, options) => {
|
|
23
|
+
return customFetch(getNotificationRulesControllerCreateV1Url(), {
|
|
24
|
+
...options,
|
|
25
|
+
method: 'POST',
|
|
26
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
27
|
+
body: JSON.stringify(createNotificationRuleDto)
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
export const getNotificationRulesControllerGetByIdV1Url = (id) => {
|
|
31
|
+
return `/v1/notification-rules/${id}`;
|
|
32
|
+
};
|
|
33
|
+
export const notificationRulesControllerGetByIdV1 = async (id, options) => {
|
|
34
|
+
return customFetch(getNotificationRulesControllerGetByIdV1Url(id), {
|
|
35
|
+
...options,
|
|
36
|
+
method: 'GET'
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
export const getNotificationRulesControllerUpdateV1Url = (id) => {
|
|
40
|
+
return `/v1/notification-rules/${id}`;
|
|
41
|
+
};
|
|
42
|
+
export const notificationRulesControllerUpdateV1 = async (id, updateNotificationRuleDto, options) => {
|
|
43
|
+
return customFetch(getNotificationRulesControllerUpdateV1Url(id), {
|
|
44
|
+
...options,
|
|
45
|
+
method: 'PATCH',
|
|
46
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
47
|
+
body: JSON.stringify(updateNotificationRuleDto)
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
export const getNotificationRulesControllerRemoveV1Url = (id) => {
|
|
51
|
+
return `/v1/notification-rules/${id}`;
|
|
52
|
+
};
|
|
53
|
+
export const notificationRulesControllerRemoveV1 = async (id, options) => {
|
|
54
|
+
return customFetch(getNotificationRulesControllerRemoveV1Url(id), {
|
|
55
|
+
...options,
|
|
56
|
+
method: 'DELETE'
|
|
57
|
+
});
|
|
58
|
+
};
|
|
59
|
+
export const getNotificationRulesControllerEnableV1Url = (id) => {
|
|
60
|
+
return `/v1/notification-rules/${id}/enable`;
|
|
61
|
+
};
|
|
62
|
+
export const notificationRulesControllerEnableV1 = async (id, enableRuleDto, options) => {
|
|
63
|
+
return customFetch(getNotificationRulesControllerEnableV1Url(id), {
|
|
64
|
+
...options,
|
|
65
|
+
method: 'POST',
|
|
66
|
+
headers: { 'Content-Type': 'application/json', ...options?.headers },
|
|
67
|
+
body: JSON.stringify(enableRuleDto)
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
export const getNotificationRulesControllerDisableV1Url = (id) => {
|
|
71
|
+
return `/v1/notification-rules/${id}/disable`;
|
|
72
|
+
};
|
|
73
|
+
export const notificationRulesControllerDisableV1 = async (id, options) => {
|
|
74
|
+
return customFetch(getNotificationRulesControllerDisableV1Url(id), {
|
|
75
|
+
...options,
|
|
76
|
+
method: 'POST'
|
|
77
|
+
});
|
|
78
|
+
};
|
|
79
|
+
export const getNotificationRulesControllerRecipientEstimateV1Url = (id) => {
|
|
80
|
+
return `/v1/notification-rules/${id}/recipient-estimate`;
|
|
81
|
+
};
|
|
82
|
+
export const notificationRulesControllerRecipientEstimateV1 = async (id, options) => {
|
|
83
|
+
return customFetch(getNotificationRulesControllerRecipientEstimateV1Url(id), {
|
|
84
|
+
...options,
|
|
85
|
+
method: 'GET'
|
|
86
|
+
});
|
|
87
|
+
};
|
|
88
|
+
//# sourceMappingURL=notification-rules.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-rules.js","sourceRoot":"","sources":["../../../src/generated/notification-rules/notification-rules.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,CAAC,MAAgD,EAAG,EAAE;IAC3G,MAAM,gBAAgB,GAAG,IAAI,eAAe,EAAE,CAAC;IAE/C,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAEpD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,gBAAgB,CAAC,MAAM,CAAC,GAAG,EAAE,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAA;QAC1E,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,QAAQ,EAAE,CAAC;IAEtD,OAAO,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,0BAA0B,iBAAiB,EAAE,CAAC,CAAC,CAAC,wBAAwB,CAAA;AAChH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAE,MAAgD,EAAE,OAAqB,EAAsD,EAAE;IAErL,OAAO,WAAW,CAA4C,uCAAuC,CAAC,MAAM,CAAC,EAC7G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AAoCH,MAAM,CAAC,MAAM,yCAAyC,GAAG,GAAG,EAAE;IAK5D,OAAO,wBAAwB,CAAA;AACjC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,EAAE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,EAAU,EAAE,OAAqB,EAAmE,EAAE;IAEzK,OAAO,WAAW,CAAyD,oDAAoD,CAAC,EAAE,CAAC,EACnI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.21.0 ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { NotificationSettingsDto } from '../index.schemas.js';
|
|
9
|
+
/**
|
|
10
|
+
* The send-pause state with who toggled it, when and why (from the last pause/resume admin_action), plus the SMS and rendered-body flags. Send caps are null until the config surface lands with the write slice. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
11
|
+
* @summary Get the tenant's notification settings
|
|
12
|
+
*/
|
|
13
|
+
export type notificationSettingsControllerGetV1Response200 = {
|
|
14
|
+
data: NotificationSettingsDto;
|
|
15
|
+
status: 200;
|
|
16
|
+
};
|
|
17
|
+
export type notificationSettingsControllerGetV1ResponseSuccess = (notificationSettingsControllerGetV1Response200) & {
|
|
18
|
+
headers: Headers;
|
|
19
|
+
};
|
|
20
|
+
export type notificationSettingsControllerGetV1Response = (notificationSettingsControllerGetV1ResponseSuccess);
|
|
21
|
+
export declare const getNotificationSettingsControllerGetV1Url: () => string;
|
|
22
|
+
export declare const notificationSettingsControllerGetV1: (options?: RequestInit) => Promise<notificationSettingsControllerGetV1Response>;
|
|
23
|
+
//# sourceMappingURL=notification-settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-settings.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-settings/notification-settings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,uBAAuB,EACxB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,uBAAuB,CAAA;IAC7B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG,CAAC,8CAA8C,CAAC,GAAG;IAClH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,2CAA2C,GAAG,CAAC,kDAAkD,CAAC,CAAA;AAE9G,eAAO,MAAM,yCAAyC,cAMrD,CAAA;AAED,eAAO,MAAM,mCAAmC,GAAW,UAAU,WAAW,KAAG,OAAO,CAAC,2CAA2C,CASnI,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { customFetch } from '../../mutator.js';
|
|
2
|
+
;
|
|
3
|
+
export const getNotificationSettingsControllerGetV1Url = () => {
|
|
4
|
+
return `/v1/notification-settings`;
|
|
5
|
+
};
|
|
6
|
+
export const notificationSettingsControllerGetV1 = async (options) => {
|
|
7
|
+
return customFetch(getNotificationSettingsControllerGetV1Url(), {
|
|
8
|
+
...options,
|
|
9
|
+
method: 'GET'
|
|
10
|
+
});
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=notification-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notification-settings.js","sourceRoot":"","sources":["../../../src/generated/notification-settings/notification-settings.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,yCAAyC,GAAG,GAAG,EAAE;IAK5D,OAAO,2BAA2B,CAAA;AACpC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,mCAAmC,GAAG,KAAK,EAAG,OAAqB,EAAwD,EAAE;IAExI,OAAO,WAAW,CAA8C,yCAAyC,EAAE,EAC3G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v7.21.0 ๐บ
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* Vinden Core API
|
|
5
|
+
* Core API for the Vinden Platform
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { CreateNotificationTemplateDto, CreateTemplateVersionDto, NotificationTemplateDetailDto, NotificationTemplateDto, NotificationTemplatesControllerListV1Params, PaginatedNotificationTemplatesDto, PreviewTemplateVersionDto, PublishedTemplateVersionDto, TemplatePreviewDto, TemplateVersionDto, TemplateVersionSummaryDto, TestSendDto, TestSendResultDto, UpdateNotificationTemplateDto, UpdateTemplateVersionDto } from '../index.schemas.js';
|
|
9
|
+
/**
|
|
10
|
+
* Paginated: org overrides ร locales multiply, so this list is unbounded in a way the rules list is not. `scope` / `organizationId` select the tenant defaults or the overrides; `state` filters on the template's version lifecycle. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
11
|
+
* @summary List notification templates
|
|
12
|
+
*/
|
|
13
|
+
export type notificationTemplatesControllerListV1Response200 = {
|
|
14
|
+
data: PaginatedNotificationTemplatesDto;
|
|
15
|
+
status: 200;
|
|
16
|
+
};
|
|
17
|
+
export type notificationTemplatesControllerListV1ResponseSuccess = (notificationTemplatesControllerListV1Response200) & {
|
|
18
|
+
headers: Headers;
|
|
19
|
+
};
|
|
20
|
+
export type notificationTemplatesControllerListV1Response = (notificationTemplatesControllerListV1ResponseSuccess);
|
|
21
|
+
export declare const getNotificationTemplatesControllerListV1Url: (params?: NotificationTemplatesControllerListV1Params) => string;
|
|
22
|
+
export declare const notificationTemplatesControllerListV1: (params?: NotificationTemplatesControllerListV1Params, options?: RequestInit) => Promise<notificationTemplatesControllerListV1Response>;
|
|
23
|
+
/**
|
|
24
|
+
* `sourceTemplateId` clones that template's PUBLISHED content into the first draft โ the Customize action on a platform system template, and the tenant-default โ org-override path. A template with no version is a row nobody can author against, so the draft is created with it. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
25
|
+
* @summary Create a template (and its first draft)
|
|
26
|
+
*/
|
|
27
|
+
export type notificationTemplatesControllerCreateV1Response201 = {
|
|
28
|
+
data: NotificationTemplateDetailDto;
|
|
29
|
+
status: 201;
|
|
30
|
+
};
|
|
31
|
+
export type notificationTemplatesControllerCreateV1Response400 = {
|
|
32
|
+
data: void;
|
|
33
|
+
status: 400;
|
|
34
|
+
};
|
|
35
|
+
export type notificationTemplatesControllerCreateV1Response404 = {
|
|
36
|
+
data: void;
|
|
37
|
+
status: 404;
|
|
38
|
+
};
|
|
39
|
+
export type notificationTemplatesControllerCreateV1Response409 = {
|
|
40
|
+
data: void;
|
|
41
|
+
status: 409;
|
|
42
|
+
};
|
|
43
|
+
export type notificationTemplatesControllerCreateV1ResponseSuccess = (notificationTemplatesControllerCreateV1Response201) & {
|
|
44
|
+
headers: Headers;
|
|
45
|
+
};
|
|
46
|
+
export type notificationTemplatesControllerCreateV1ResponseError = (notificationTemplatesControllerCreateV1Response400 | notificationTemplatesControllerCreateV1Response404 | notificationTemplatesControllerCreateV1Response409) & {
|
|
47
|
+
headers: Headers;
|
|
48
|
+
};
|
|
49
|
+
export type notificationTemplatesControllerCreateV1Response = (notificationTemplatesControllerCreateV1ResponseSuccess | notificationTemplatesControllerCreateV1ResponseError);
|
|
50
|
+
export declare const getNotificationTemplatesControllerCreateV1Url: () => string;
|
|
51
|
+
export declare const notificationTemplatesControllerCreateV1: (createNotificationTemplateDto: CreateNotificationTemplateDto, options?: RequestInit) => Promise<notificationTemplatesControllerCreateV1Response>;
|
|
52
|
+
/**
|
|
53
|
+
* ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
54
|
+
* @summary Get one template with its version summary list
|
|
55
|
+
*/
|
|
56
|
+
export type notificationTemplatesControllerGetByIdV1Response200 = {
|
|
57
|
+
data: NotificationTemplateDetailDto;
|
|
58
|
+
status: 200;
|
|
59
|
+
};
|
|
60
|
+
export type notificationTemplatesControllerGetByIdV1Response404 = {
|
|
61
|
+
data: void;
|
|
62
|
+
status: 404;
|
|
63
|
+
};
|
|
64
|
+
export type notificationTemplatesControllerGetByIdV1ResponseSuccess = (notificationTemplatesControllerGetByIdV1Response200) & {
|
|
65
|
+
headers: Headers;
|
|
66
|
+
};
|
|
67
|
+
export type notificationTemplatesControllerGetByIdV1ResponseError = (notificationTemplatesControllerGetByIdV1Response404) & {
|
|
68
|
+
headers: Headers;
|
|
69
|
+
};
|
|
70
|
+
export type notificationTemplatesControllerGetByIdV1Response = (notificationTemplatesControllerGetByIdV1ResponseSuccess | notificationTemplatesControllerGetByIdV1ResponseError);
|
|
71
|
+
export declare const getNotificationTemplatesControllerGetByIdV1Url: (id: string) => string;
|
|
72
|
+
export declare const notificationTemplatesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationTemplatesControllerGetByIdV1Response>;
|
|
73
|
+
/**
|
|
74
|
+
* `name` is the only mutable field โ event, channel, locale and organization are the template's identity, and changing one would make it a different template with a different resolution. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
75
|
+
* @summary Rename a template
|
|
76
|
+
*/
|
|
77
|
+
export type notificationTemplatesControllerUpdateV1Response200 = {
|
|
78
|
+
data: NotificationTemplateDto;
|
|
79
|
+
status: 200;
|
|
80
|
+
};
|
|
81
|
+
export type notificationTemplatesControllerUpdateV1Response400 = {
|
|
82
|
+
data: void;
|
|
83
|
+
status: 400;
|
|
84
|
+
};
|
|
85
|
+
export type notificationTemplatesControllerUpdateV1Response404 = {
|
|
86
|
+
data: void;
|
|
87
|
+
status: 404;
|
|
88
|
+
};
|
|
89
|
+
export type notificationTemplatesControllerUpdateV1ResponseSuccess = (notificationTemplatesControllerUpdateV1Response200) & {
|
|
90
|
+
headers: Headers;
|
|
91
|
+
};
|
|
92
|
+
export type notificationTemplatesControllerUpdateV1ResponseError = (notificationTemplatesControllerUpdateV1Response400 | notificationTemplatesControllerUpdateV1Response404) & {
|
|
93
|
+
headers: Headers;
|
|
94
|
+
};
|
|
95
|
+
export type notificationTemplatesControllerUpdateV1Response = (notificationTemplatesControllerUpdateV1ResponseSuccess | notificationTemplatesControllerUpdateV1ResponseError);
|
|
96
|
+
export declare const getNotificationTemplatesControllerUpdateV1Url: (id: string) => string;
|
|
97
|
+
export declare const notificationTemplatesControllerUpdateV1: (id: string, updateNotificationTemplateDto: UpdateNotificationTemplateDto, options?: RequestInit) => Promise<notificationTemplatesControllerUpdateV1Response>;
|
|
98
|
+
/**
|
|
99
|
+
* Refused while an ENABLED rule binds it: the rule would then resolve to no content and every send of that event would fail to render. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
100
|
+
* @summary Delete a template (soft delete)
|
|
101
|
+
*/
|
|
102
|
+
export type notificationTemplatesControllerRemoveV1Response204 = {
|
|
103
|
+
data: void;
|
|
104
|
+
status: 204;
|
|
105
|
+
};
|
|
106
|
+
export type notificationTemplatesControllerRemoveV1Response400 = {
|
|
107
|
+
data: void;
|
|
108
|
+
status: 400;
|
|
109
|
+
};
|
|
110
|
+
export type notificationTemplatesControllerRemoveV1Response404 = {
|
|
111
|
+
data: void;
|
|
112
|
+
status: 404;
|
|
113
|
+
};
|
|
114
|
+
export type notificationTemplatesControllerRemoveV1Response409 = {
|
|
115
|
+
data: void;
|
|
116
|
+
status: 409;
|
|
117
|
+
};
|
|
118
|
+
export type notificationTemplatesControllerRemoveV1ResponseSuccess = (notificationTemplatesControllerRemoveV1Response204) & {
|
|
119
|
+
headers: Headers;
|
|
120
|
+
};
|
|
121
|
+
export type notificationTemplatesControllerRemoveV1ResponseError = (notificationTemplatesControllerRemoveV1Response400 | notificationTemplatesControllerRemoveV1Response404 | notificationTemplatesControllerRemoveV1Response409) & {
|
|
122
|
+
headers: Headers;
|
|
123
|
+
};
|
|
124
|
+
export type notificationTemplatesControllerRemoveV1Response = (notificationTemplatesControllerRemoveV1ResponseSuccess | notificationTemplatesControllerRemoveV1ResponseError);
|
|
125
|
+
export declare const getNotificationTemplatesControllerRemoveV1Url: (id: string) => string;
|
|
126
|
+
export declare const notificationTemplatesControllerRemoveV1: (id: string, options?: RequestInit) => Promise<notificationTemplatesControllerRemoveV1Response>;
|
|
127
|
+
/**
|
|
128
|
+
* State and timestamps only โ the editor sidebar (04 ยง5). Version CONTENT comes back from the authoring endpoints and the preview. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
129
|
+
* @summary List a template's version history
|
|
130
|
+
*/
|
|
131
|
+
export type notificationTemplatesControllerListVersionsV1Response200 = {
|
|
132
|
+
data: TemplateVersionSummaryDto[];
|
|
133
|
+
status: 200;
|
|
134
|
+
};
|
|
135
|
+
export type notificationTemplatesControllerListVersionsV1Response404 = {
|
|
136
|
+
data: void;
|
|
137
|
+
status: 404;
|
|
138
|
+
};
|
|
139
|
+
export type notificationTemplatesControllerListVersionsV1ResponseSuccess = (notificationTemplatesControllerListVersionsV1Response200) & {
|
|
140
|
+
headers: Headers;
|
|
141
|
+
};
|
|
142
|
+
export type notificationTemplatesControllerListVersionsV1ResponseError = (notificationTemplatesControllerListVersionsV1Response404) & {
|
|
143
|
+
headers: Headers;
|
|
144
|
+
};
|
|
145
|
+
export type notificationTemplatesControllerListVersionsV1Response = (notificationTemplatesControllerListVersionsV1ResponseSuccess | notificationTemplatesControllerListVersionsV1ResponseError);
|
|
146
|
+
export declare const getNotificationTemplatesControllerListVersionsV1Url: (id: string) => string;
|
|
147
|
+
export declare const notificationTemplatesControllerListVersionsV1: (id: string, options?: RequestInit) => Promise<notificationTemplatesControllerListVersionsV1Response>;
|
|
148
|
+
/**
|
|
149
|
+
* Blank, or cloned from any version โ including an ARCHIVED one, which is the rollback-with-edits path. The archived row itself is never mutated; a rollback with NO edits is a publish of the archived version instead. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
150
|
+
* @summary Start a new draft
|
|
151
|
+
*/
|
|
152
|
+
export type notificationTemplatesControllerCreateVersionV1Response201 = {
|
|
153
|
+
data: TemplateVersionDto;
|
|
154
|
+
status: 201;
|
|
155
|
+
};
|
|
156
|
+
export type notificationTemplatesControllerCreateVersionV1Response400 = {
|
|
157
|
+
data: void;
|
|
158
|
+
status: 400;
|
|
159
|
+
};
|
|
160
|
+
export type notificationTemplatesControllerCreateVersionV1Response404 = {
|
|
161
|
+
data: void;
|
|
162
|
+
status: 404;
|
|
163
|
+
};
|
|
164
|
+
export type notificationTemplatesControllerCreateVersionV1Response409 = {
|
|
165
|
+
data: void;
|
|
166
|
+
status: 409;
|
|
167
|
+
};
|
|
168
|
+
export type notificationTemplatesControllerCreateVersionV1ResponseSuccess = (notificationTemplatesControllerCreateVersionV1Response201) & {
|
|
169
|
+
headers: Headers;
|
|
170
|
+
};
|
|
171
|
+
export type notificationTemplatesControllerCreateVersionV1ResponseError = (notificationTemplatesControllerCreateVersionV1Response400 | notificationTemplatesControllerCreateVersionV1Response404 | notificationTemplatesControllerCreateVersionV1Response409) & {
|
|
172
|
+
headers: Headers;
|
|
173
|
+
};
|
|
174
|
+
export type notificationTemplatesControllerCreateVersionV1Response = (notificationTemplatesControllerCreateVersionV1ResponseSuccess | notificationTemplatesControllerCreateVersionV1ResponseError);
|
|
175
|
+
export declare const getNotificationTemplatesControllerCreateVersionV1Url: (id: string) => string;
|
|
176
|
+
export declare const notificationTemplatesControllerCreateVersionV1: (id: string, createTemplateVersionDto: CreateTemplateVersionDto, options?: RequestInit) => Promise<notificationTemplatesControllerCreateVersionV1Response>;
|
|
177
|
+
/**
|
|
178
|
+
* Drafts only โ a published version is what the sender is rendering and an archived one is history. `bodyHtml` requires the `template:author_html` capability; without it the field is REFUSED rather than dropped, so a safe-mode author is never left thinking their HTML saved. Editing content invalidates the preview marker, so publish will ask for a fresh preview. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
179
|
+
* @summary Edit draft content
|
|
180
|
+
*/
|
|
181
|
+
export type notificationTemplatesControllerUpdateVersionV1Response200 = {
|
|
182
|
+
data: TemplateVersionDto;
|
|
183
|
+
status: 200;
|
|
184
|
+
};
|
|
185
|
+
export type notificationTemplatesControllerUpdateVersionV1Response400 = {
|
|
186
|
+
data: void;
|
|
187
|
+
status: 400;
|
|
188
|
+
};
|
|
189
|
+
export type notificationTemplatesControllerUpdateVersionV1Response403 = {
|
|
190
|
+
data: void;
|
|
191
|
+
status: 403;
|
|
192
|
+
};
|
|
193
|
+
export type notificationTemplatesControllerUpdateVersionV1Response404 = {
|
|
194
|
+
data: void;
|
|
195
|
+
status: 404;
|
|
196
|
+
};
|
|
197
|
+
export type notificationTemplatesControllerUpdateVersionV1Response409 = {
|
|
198
|
+
data: void;
|
|
199
|
+
status: 409;
|
|
200
|
+
};
|
|
201
|
+
export type notificationTemplatesControllerUpdateVersionV1ResponseSuccess = (notificationTemplatesControllerUpdateVersionV1Response200) & {
|
|
202
|
+
headers: Headers;
|
|
203
|
+
};
|
|
204
|
+
export type notificationTemplatesControllerUpdateVersionV1ResponseError = (notificationTemplatesControllerUpdateVersionV1Response400 | notificationTemplatesControllerUpdateVersionV1Response403 | notificationTemplatesControllerUpdateVersionV1Response404 | notificationTemplatesControllerUpdateVersionV1Response409) & {
|
|
205
|
+
headers: Headers;
|
|
206
|
+
};
|
|
207
|
+
export type notificationTemplatesControllerUpdateVersionV1Response = (notificationTemplatesControllerUpdateVersionV1ResponseSuccess | notificationTemplatesControllerUpdateVersionV1ResponseError);
|
|
208
|
+
export declare const getNotificationTemplatesControllerUpdateVersionV1Url: (id: string, versionId: string) => string;
|
|
209
|
+
export declare const notificationTemplatesControllerUpdateVersionV1: (id: string, versionId: string, updateTemplateVersionDto: UpdateTemplateVersionDto, options?: RequestInit) => Promise<notificationTemplatesControllerUpdateVersionV1Response>;
|
|
210
|
+
/**
|
|
211
|
+
* Runs the render-time sanitizer, so preview and send cannot diverge (04 ยง7). POST because the payload is a body, not because it sends anything. The server records the preview against the draft's content hash โ publish requires a preview of the CURRENT content. ๐ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
212
|
+
* @summary Render a version against a sample payload
|
|
213
|
+
*/
|
|
214
|
+
export type notificationTemplatesControllerPreviewV1Response200 = {
|
|
215
|
+
data: TemplatePreviewDto;
|
|
216
|
+
status: 200;
|
|
217
|
+
};
|
|
218
|
+
export type notificationTemplatesControllerPreviewV1Response400 = {
|
|
219
|
+
data: void;
|
|
220
|
+
status: 400;
|
|
221
|
+
};
|
|
222
|
+
export type notificationTemplatesControllerPreviewV1Response404 = {
|
|
223
|
+
data: void;
|
|
224
|
+
status: 404;
|
|
225
|
+
};
|
|
226
|
+
export type notificationTemplatesControllerPreviewV1Response422 = {
|
|
227
|
+
data: void;
|
|
228
|
+
status: 422;
|
|
229
|
+
};
|
|
230
|
+
export type notificationTemplatesControllerPreviewV1ResponseSuccess = (notificationTemplatesControllerPreviewV1Response200) & {
|
|
231
|
+
headers: Headers;
|
|
232
|
+
};
|
|
233
|
+
export type notificationTemplatesControllerPreviewV1ResponseError = (notificationTemplatesControllerPreviewV1Response400 | notificationTemplatesControllerPreviewV1Response404 | notificationTemplatesControllerPreviewV1Response422) & {
|
|
234
|
+
headers: Headers;
|
|
235
|
+
};
|
|
236
|
+
export type notificationTemplatesControllerPreviewV1Response = (notificationTemplatesControllerPreviewV1ResponseSuccess | notificationTemplatesControllerPreviewV1ResponseError);
|
|
237
|
+
export declare const getNotificationTemplatesControllerPreviewV1Url: (id: string, versionId: string) => string;
|
|
238
|
+
export declare const notificationTemplatesControllerPreviewV1: (id: string, versionId: string, previewTemplateVersionDto: PreviewTemplateVersionDto, options?: RequestInit) => Promise<notificationTemplatesControllerPreviewV1Response>;
|
|
239
|
+
/**
|
|
240
|
+
* Creates an `is_test` dispatch with no parent request (the 02 ยง7.2 CHECK admits exactly that shape) and lets the real Phase-B sender deliver it; the client polls the log row for the outcome. Suppression is honoured โ a suppressed address gets a terminal row, not a message. Audited as an admin action. ๐ Requires permission: notification:operate. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
241
|
+
* @summary Send a real test message
|
|
242
|
+
*/
|
|
243
|
+
export type notificationTemplatesControllerTestSendV1Response202 = {
|
|
244
|
+
data: TestSendResultDto;
|
|
245
|
+
status: 202;
|
|
246
|
+
};
|
|
247
|
+
export type notificationTemplatesControllerTestSendV1Response400 = {
|
|
248
|
+
data: void;
|
|
249
|
+
status: 400;
|
|
250
|
+
};
|
|
251
|
+
export type notificationTemplatesControllerTestSendV1Response403 = {
|
|
252
|
+
data: void;
|
|
253
|
+
status: 403;
|
|
254
|
+
};
|
|
255
|
+
export type notificationTemplatesControllerTestSendV1Response404 = {
|
|
256
|
+
data: void;
|
|
257
|
+
status: 404;
|
|
258
|
+
};
|
|
259
|
+
export type notificationTemplatesControllerTestSendV1Response422 = {
|
|
260
|
+
data: void;
|
|
261
|
+
status: 422;
|
|
262
|
+
};
|
|
263
|
+
export type notificationTemplatesControllerTestSendV1ResponseSuccess = (notificationTemplatesControllerTestSendV1Response202) & {
|
|
264
|
+
headers: Headers;
|
|
265
|
+
};
|
|
266
|
+
export type notificationTemplatesControllerTestSendV1ResponseError = (notificationTemplatesControllerTestSendV1Response400 | notificationTemplatesControllerTestSendV1Response403 | notificationTemplatesControllerTestSendV1Response404 | notificationTemplatesControllerTestSendV1Response422) & {
|
|
267
|
+
headers: Headers;
|
|
268
|
+
};
|
|
269
|
+
export type notificationTemplatesControllerTestSendV1Response = (notificationTemplatesControllerTestSendV1ResponseSuccess | notificationTemplatesControllerTestSendV1ResponseError);
|
|
270
|
+
export declare const getNotificationTemplatesControllerTestSendV1Url: (id: string, versionId: string) => string;
|
|
271
|
+
export declare const notificationTemplatesControllerTestSendV1: (id: string, versionId: string, testSendDto: TestSendDto, options?: RequestInit) => Promise<notificationTemplatesControllerTestSendV1Response>;
|
|
272
|
+
/**
|
|
273
|
+
* Runs the full 02 ยง4.2 gate and, on pass, the atomic swap: the new version becomes published, the prior published one archived, and the parent pointer repointed โ one transaction over a deferrable FK. Publishing an ARCHIVED version is the rollback, over the identical path: history is never rewritten. Audited as an admin action. ๐ Requires permission: notification:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
|
|
274
|
+
* @summary Publish a version (or roll back to an archived one)
|
|
275
|
+
*/
|
|
276
|
+
export type notificationTemplatesControllerPublishV1Response200 = {
|
|
277
|
+
data: PublishedTemplateVersionDto;
|
|
278
|
+
status: 200;
|
|
279
|
+
};
|
|
280
|
+
export type notificationTemplatesControllerPublishV1Response400 = {
|
|
281
|
+
data: void;
|
|
282
|
+
status: 400;
|
|
283
|
+
};
|
|
284
|
+
export type notificationTemplatesControllerPublishV1Response404 = {
|
|
285
|
+
data: void;
|
|
286
|
+
status: 404;
|
|
287
|
+
};
|
|
288
|
+
export type notificationTemplatesControllerPublishV1Response409 = {
|
|
289
|
+
data: void;
|
|
290
|
+
status: 409;
|
|
291
|
+
};
|
|
292
|
+
export type notificationTemplatesControllerPublishV1Response422 = {
|
|
293
|
+
data: void;
|
|
294
|
+
status: 422;
|
|
295
|
+
};
|
|
296
|
+
export type notificationTemplatesControllerPublishV1ResponseSuccess = (notificationTemplatesControllerPublishV1Response200) & {
|
|
297
|
+
headers: Headers;
|
|
298
|
+
};
|
|
299
|
+
export type notificationTemplatesControllerPublishV1ResponseError = (notificationTemplatesControllerPublishV1Response400 | notificationTemplatesControllerPublishV1Response404 | notificationTemplatesControllerPublishV1Response409 | notificationTemplatesControllerPublishV1Response422) & {
|
|
300
|
+
headers: Headers;
|
|
301
|
+
};
|
|
302
|
+
export type notificationTemplatesControllerPublishV1Response = (notificationTemplatesControllerPublishV1ResponseSuccess | notificationTemplatesControllerPublishV1ResponseError);
|
|
303
|
+
export declare const getNotificationTemplatesControllerPublishV1Url: (id: string, versionId: string) => string;
|
|
304
|
+
export declare const notificationTemplatesControllerPublishV1: (id: string, versionId: string, options?: RequestInit) => Promise<notificationTemplatesControllerPublishV1Response>;
|
|
305
|
+
//# sourceMappingURL=notification-templates.d.ts.map
|