@vindentech/api-client 0.3.0-next.14 โ†’ 0.3.0-next.15

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.
Files changed (65) hide show
  1. package/dist/generated/_all.d.ts +12 -0
  2. package/dist/generated/_all.d.ts.map +1 -1
  3. package/dist/generated/_all.js +12 -0
  4. package/dist/generated/_all.js.map +1 -1
  5. package/dist/generated/_permissions.d.ts +82 -1
  6. package/dist/generated/_permissions.d.ts.map +1 -1
  7. package/dist/generated/_permissions.js +21 -0
  8. package/dist/generated/_permissions.js.map +1 -1
  9. package/dist/generated/index.schemas.d.ts +1212 -7
  10. package/dist/generated/index.schemas.d.ts.map +1 -1
  11. package/dist/generated/index.schemas.js +497 -0
  12. package/dist/generated/index.schemas.js.map +1 -1
  13. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts +23 -0
  14. package/dist/generated/me-notification-preferences/me-notification-preferences.d.ts.map +1 -0
  15. package/dist/generated/me-notification-preferences/me-notification-preferences.js +12 -0
  16. package/dist/generated/me-notification-preferences/me-notification-preferences.js.map +1 -0
  17. package/dist/generated/notification-dispatches/notification-dispatches.d.ts +51 -0
  18. package/dist/generated/notification-dispatches/notification-dispatches.d.ts.map +1 -0
  19. package/dist/generated/notification-dispatches/notification-dispatches.js +27 -0
  20. package/dist/generated/notification-dispatches/notification-dispatches.js.map +1 -0
  21. package/dist/generated/notification-events/notification-events.d.ts +44 -0
  22. package/dist/generated/notification-events/notification-events.d.ts.map +1 -0
  23. package/dist/generated/notification-events/notification-events.js +35 -0
  24. package/dist/generated/notification-events/notification-events.js.map +1 -0
  25. package/dist/generated/notification-health/notification-health.d.ts +23 -0
  26. package/dist/generated/notification-health/notification-health.d.ts.map +1 -0
  27. package/dist/generated/notification-health/notification-health.js +12 -0
  28. package/dist/generated/notification-health/notification-health.js.map +1 -0
  29. package/dist/generated/notification-preferences/notification-preferences.d.ts +30 -0
  30. package/dist/generated/notification-preferences/notification-preferences.d.ts.map +1 -0
  31. package/dist/generated/notification-preferences/notification-preferences.js +18 -0
  32. package/dist/generated/notification-preferences/notification-preferences.js.map +1 -0
  33. package/dist/generated/notification-requests/notification-requests.d.ts +30 -0
  34. package/dist/generated/notification-requests/notification-requests.d.ts.map +1 -0
  35. package/dist/generated/notification-requests/notification-requests.js +11 -0
  36. package/dist/generated/notification-requests/notification-requests.js.map +1 -0
  37. package/dist/generated/notification-rules/notification-rules.d.ts +44 -0
  38. package/dist/generated/notification-rules/notification-rules.d.ts.map +1 -0
  39. package/dist/generated/notification-rules/notification-rules.js +28 -0
  40. package/dist/generated/notification-rules/notification-rules.js.map +1 -0
  41. package/dist/generated/notification-settings/notification-settings.d.ts +23 -0
  42. package/dist/generated/notification-settings/notification-settings.d.ts.map +1 -0
  43. package/dist/generated/notification-settings/notification-settings.js +12 -0
  44. package/dist/generated/notification-settings/notification-settings.js.map +1 -0
  45. package/dist/generated/notification-templates/notification-templates.d.ts +65 -0
  46. package/dist/generated/notification-templates/notification-templates.d.ts.map +1 -0
  47. package/dist/generated/notification-templates/notification-templates.js +37 -0
  48. package/dist/generated/notification-templates/notification-templates.js.map +1 -0
  49. package/dist/generated/orders/orders.d.ts +15 -1
  50. package/dist/generated/orders/orders.d.ts.map +1 -1
  51. package/dist/generated/orders/orders.js +12 -0
  52. package/dist/generated/orders/orders.js.map +1 -1
  53. package/dist/generated/sender-identities/sender-identities.d.ts +44 -0
  54. package/dist/generated/sender-identities/sender-identities.d.ts.map +1 -0
  55. package/dist/generated/sender-identities/sender-identities.js +28 -0
  56. package/dist/generated/sender-identities/sender-identities.js.map +1 -0
  57. package/dist/generated/suppressions/suppressions.d.ts +37 -0
  58. package/dist/generated/suppressions/suppressions.d.ts.map +1 -0
  59. package/dist/generated/suppressions/suppressions.js +36 -0
  60. package/dist/generated/suppressions/suppressions.js.map +1 -0
  61. package/dist/generated/unsubscribe/unsubscribe.d.ts +55 -0
  62. package/dist/generated/unsubscribe/unsubscribe.d.ts.map +1 -0
  63. package/dist/generated/unsubscribe/unsubscribe.js +22 -0
  64. package/dist/generated/unsubscribe/unsubscribe.js.map +1 -0
  65. package/package.json +1 -1
@@ -0,0 +1,51 @@
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 { NotificationDispatchDetailDto, NotificationDispatchesControllerListV1Params, PaginatedNotificationDispatchesDto } from '../index.schemas.js';
9
+ /**
10
+ * Over the monthly-partitioned dispatch table, so the createdFrom/createdTo range is always bounded โ€” it defaults to the last 30 days and an invalid or inverted range is `400 date_range_required`. Test-sends are hidden unless `isTest=true`. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary List message dispatches
12
+ */
13
+ export type notificationDispatchesControllerListV1Response200 = {
14
+ data: PaginatedNotificationDispatchesDto;
15
+ status: 200;
16
+ };
17
+ export type notificationDispatchesControllerListV1Response400 = {
18
+ data: void;
19
+ status: 400;
20
+ };
21
+ export type notificationDispatchesControllerListV1ResponseSuccess = (notificationDispatchesControllerListV1Response200) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationDispatchesControllerListV1ResponseError = (notificationDispatchesControllerListV1Response400) & {
25
+ headers: Headers;
26
+ };
27
+ export type notificationDispatchesControllerListV1Response = (notificationDispatchesControllerListV1ResponseSuccess | notificationDispatchesControllerListV1ResponseError);
28
+ export declare const getNotificationDispatchesControllerListV1Url: (params?: NotificationDispatchesControllerListV1Params) => string;
29
+ export declare const notificationDispatchesControllerListV1: (params?: NotificationDispatchesControllerListV1Params, options?: RequestInit) => Promise<notificationDispatchesControllerListV1Response>;
30
+ /**
31
+ * Adds `resolutionReason` (why this address was chosen) and the provider `deliveryEvents` timeline. `renderedBody` is returned only when the tenant enabled body storage and the row is inside the 90-day scrub window โ€” otherwise `bodyRetained` is false and the body is null. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
32
+ * @summary Get one dispatch with its delivery timeline
33
+ */
34
+ export type notificationDispatchesControllerGetByIdV1Response200 = {
35
+ data: NotificationDispatchDetailDto;
36
+ status: 200;
37
+ };
38
+ export type notificationDispatchesControllerGetByIdV1Response404 = {
39
+ data: void;
40
+ status: 404;
41
+ };
42
+ export type notificationDispatchesControllerGetByIdV1ResponseSuccess = (notificationDispatchesControllerGetByIdV1Response200) & {
43
+ headers: Headers;
44
+ };
45
+ export type notificationDispatchesControllerGetByIdV1ResponseError = (notificationDispatchesControllerGetByIdV1Response404) & {
46
+ headers: Headers;
47
+ };
48
+ export type notificationDispatchesControllerGetByIdV1Response = (notificationDispatchesControllerGetByIdV1ResponseSuccess | notificationDispatchesControllerGetByIdV1ResponseError);
49
+ export declare const getNotificationDispatchesControllerGetByIdV1Url: (id: string) => string;
50
+ export declare const notificationDispatchesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationDispatchesControllerGetByIdV1Response>;
51
+ //# sourceMappingURL=notification-dispatches.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-dispatches.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,6BAA6B,EAC7B,4CAA4C,EAC5C,kCAAkC,EACnC,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,kCAAkC,CAAA;IACxC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,mDAAmD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,GAAG,mDAAmD,CAAC,CAAA;AAE1K,eAAO,MAAM,4CAA4C,GAAI,SAAS,4CAA4C,WAajH,CAAA;AAED,eAAO,MAAM,sCAAsC,GAAU,SAAS,4CAA4C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,8CAA8C,CAS/L,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,6BAA6B,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,GAAI,IAAI,MAAM,WAMzE,CAAA;AAED,eAAO,MAAM,yCAAyC,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,iDAAiD,CAS1J,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationDispatchesControllerListV1Url = (params) => {
3
+ const normalizedParams = new URLSearchParams();
4
+ Object.entries(params || {}).forEach(([key, value]) => {
5
+ if (value !== undefined) {
6
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-dispatches?${stringifiedParams}` : `/v1/notification-dispatches`;
11
+ };
12
+ export const notificationDispatchesControllerListV1 = async (params, options) => {
13
+ return customFetch(getNotificationDispatchesControllerListV1Url(params), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ export const getNotificationDispatchesControllerGetByIdV1Url = (id) => {
19
+ return `/v1/notification-dispatches/${id}`;
20
+ };
21
+ export const notificationDispatchesControllerGetByIdV1 = async (id, options) => {
22
+ return customFetch(getNotificationDispatchesControllerGetByIdV1Url(id), {
23
+ ...options,
24
+ method: 'GET'
25
+ });
26
+ };
27
+ //# sourceMappingURL=notification-dispatches.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-dispatches.js","sourceRoot":"","sources":["../../../src/generated/notification-dispatches/notification-dispatches.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAyB/C,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,MAAqD,EAAG,EAAE;IACrH,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,+BAA+B,iBAAiB,EAAE,CAAC,CAAC,CAAC,6BAA6B,CAAA;AAC1H,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,MAAqD,EAAE,OAAqB,EAA2D,EAAE;IAEpM,OAAO,WAAW,CAAiD,4CAA4C,CAAC,MAAM,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA0BH,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK7E,OAAO,+BAA+B,EAAE,EAAE,CAAA;AAC5C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAA8D,EAAE;IAE/J,OAAO,WAAW,CAAoD,+CAA+C,CAAC,EAAE,CAAC,EACzH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,44 @@
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 { NotificationEventDto, NotificationEventSummaryDto, NotificationEventsControllerGetByKeyV1Params, NotificationEventsControllerListV1Params } from '../index.schemas.js';
9
+ /**
10
+ * One row per (eventKey, version) so a deprecated version and its successor are both visible. Bounded platform reference data โ€” a raw array, not a pagination envelope. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary List the platform event catalog
12
+ */
13
+ export type notificationEventsControllerListV1Response200 = {
14
+ data: NotificationEventSummaryDto[];
15
+ status: 200;
16
+ };
17
+ export type notificationEventsControllerListV1ResponseSuccess = (notificationEventsControllerListV1Response200) & {
18
+ headers: Headers;
19
+ };
20
+ export type notificationEventsControllerListV1Response = (notificationEventsControllerListV1ResponseSuccess);
21
+ export declare const getNotificationEventsControllerListV1Url: (params?: NotificationEventsControllerListV1Params) => string;
22
+ export declare const notificationEventsControllerListV1: (params?: NotificationEventsControllerListV1Params, options?: RequestInit) => Promise<notificationEventsControllerListV1Response>;
23
+ /**
24
+ * Returns the ACTIVE version by default โ€” the one a new rule or template would pin. `?version=N` addresses any version, including a retired one, so a rule still bound to it stays inspectable. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
25
+ * @summary Get one event with its contract
26
+ */
27
+ export type notificationEventsControllerGetByKeyV1Response200 = {
28
+ data: NotificationEventDto;
29
+ status: 200;
30
+ };
31
+ export type notificationEventsControllerGetByKeyV1Response404 = {
32
+ data: void;
33
+ status: 404;
34
+ };
35
+ export type notificationEventsControllerGetByKeyV1ResponseSuccess = (notificationEventsControllerGetByKeyV1Response200) & {
36
+ headers: Headers;
37
+ };
38
+ export type notificationEventsControllerGetByKeyV1ResponseError = (notificationEventsControllerGetByKeyV1Response404) & {
39
+ headers: Headers;
40
+ };
41
+ export type notificationEventsControllerGetByKeyV1Response = (notificationEventsControllerGetByKeyV1ResponseSuccess | notificationEventsControllerGetByKeyV1ResponseError);
42
+ export declare const getNotificationEventsControllerGetByKeyV1Url: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params) => string;
43
+ export declare const notificationEventsControllerGetByKeyV1: (eventKey: string, params?: NotificationEventsControllerGetByKeyV1Params, options?: RequestInit) => Promise<notificationEventsControllerGetByKeyV1Response>;
44
+ //# sourceMappingURL=notification-events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-events.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,4CAA4C,EAC5C,wCAAwC,EACzC,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,6CAA6C,GAAG;IAC1D,IAAI,EAAE,2BAA2B,EAAE,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG,CAAC,6CAA6C,CAAC,GAAG;IAChH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,0CAA0C,GAAG,CAAC,iDAAiD,CAAC,CAAA;AAE5G,eAAO,MAAM,wCAAwC,GAAI,SAAS,wCAAwC,WAazG,CAAA;AAED,eAAO,MAAM,kCAAkC,GAAU,SAAS,wCAAwC,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,0CAA0C,CASnL,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,oBAAoB,CAAA;IAC1B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,iDAAiD,GAAG;IAC9D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,mDAAmD,GAAG,CAAC,iDAAiD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,8CAA8C,GAAG,CAAC,qDAAqD,GAAG,mDAAmD,CAAC,CAAA;AAE1K,eAAO,MAAM,4CAA4C,GAAI,UAAU,MAAM,EACzE,SAAS,4CAA4C,WAaxD,CAAA;AAED,eAAO,MAAM,sCAAsC,GAAU,UAAU,MAAM,EACzE,SAAS,4CAA4C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,8CAA8C,CAStI,CAAA"}
@@ -0,0 +1,35 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationEventsControllerListV1Url = (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-events?${stringifiedParams}` : `/v1/notification-events`;
12
+ };
13
+ export const notificationEventsControllerListV1 = async (params, options) => {
14
+ return customFetch(getNotificationEventsControllerListV1Url(params), {
15
+ ...options,
16
+ method: 'GET'
17
+ });
18
+ };
19
+ export const getNotificationEventsControllerGetByKeyV1Url = (eventKey, params) => {
20
+ const normalizedParams = new URLSearchParams();
21
+ Object.entries(params || {}).forEach(([key, value]) => {
22
+ if (value !== undefined) {
23
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
24
+ }
25
+ });
26
+ const stringifiedParams = normalizedParams.toString();
27
+ return stringifiedParams.length > 0 ? `/v1/notification-events/${eventKey}?${stringifiedParams}` : `/v1/notification-events/${eventKey}`;
28
+ };
29
+ export const notificationEventsControllerGetByKeyV1 = async (eventKey, params, options) => {
30
+ return customFetch(getNotificationEventsControllerGetByKeyV1Url(eventKey, params), {
31
+ ...options,
32
+ method: 'GET'
33
+ });
34
+ };
35
+ //# sourceMappingURL=notification-events.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-events.js","sourceRoot":"","sources":["../../../src/generated/notification-events/notification-events.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,wCAAwC,GAAG,CAAC,MAAiD,EAAG,EAAE;IAC7G,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,2BAA2B,iBAAiB,EAAE,CAAC,CAAC,CAAC,yBAAyB,CAAA;AAClH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,kCAAkC,GAAG,KAAK,EAAE,MAAiD,EAAE,OAAqB,EAAuD,EAAE;IAExL,OAAO,WAAW,CAA6C,wCAAwC,CAAC,MAAM,CAAC,EAC/G;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA0BH,MAAM,CAAC,MAAM,4CAA4C,GAAG,CAAC,QAAgB,EACzE,MAAqD,EAAG,EAAE;IAC5D,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,2BAA2B,QAAQ,IAAI,iBAAiB,EAAE,CAAC,CAAC,CAAC,2BAA2B,QAAQ,EAAE,CAAA;AAC1I,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,sCAAsC,GAAG,KAAK,EAAE,QAAgB,EACzE,MAAqD,EAAE,OAAqB,EAA2D,EAAE;IAE3I,OAAO,WAAW,CAAiD,4CAA4C,CAAC,QAAQ,EAAC,MAAM,CAAC,EAChI;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 { NotificationHealthDto } from '../index.schemas.js';
9
+ /**
10
+ * Rolling bounce / complaint / render-failure rates and suppression growth over 7- and 30-day windows, computed from the existing dispatch and suppression tables. A rate is null (not zero) when its window had no qualifying sends. Test-sends are excluded throughout. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Per-tenant notification health
12
+ */
13
+ export type notificationHealthControllerGetV1Response200 = {
14
+ data: NotificationHealthDto;
15
+ status: 200;
16
+ };
17
+ export type notificationHealthControllerGetV1ResponseSuccess = (notificationHealthControllerGetV1Response200) & {
18
+ headers: Headers;
19
+ };
20
+ export type notificationHealthControllerGetV1Response = (notificationHealthControllerGetV1ResponseSuccess);
21
+ export declare const getNotificationHealthControllerGetV1Url: () => string;
22
+ export declare const notificationHealthControllerGetV1: (options?: RequestInit) => Promise<notificationHealthControllerGetV1Response>;
23
+ //# sourceMappingURL=notification-health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-health.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,4CAA4C,GAAG;IACzD,IAAI,EAAE,qBAAqB,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,cAMnD,CAAA;AAED,eAAO,MAAM,iCAAiC,GAAW,UAAU,WAAW,KAAG,OAAO,CAAC,yCAAyC,CAS/H,CAAA"}
@@ -0,0 +1,12 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationHealthControllerGetV1Url = () => {
4
+ return `/v1/notification-health`;
5
+ };
6
+ export const notificationHealthControllerGetV1 = async (options) => {
7
+ return customFetch(getNotificationHealthControllerGetV1Url(), {
8
+ ...options,
9
+ method: 'GET'
10
+ });
11
+ };
12
+ //# sourceMappingURL=notification-health.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-health.js","sourceRoot":"","sources":["../../../src/generated/notification-health/notification-health.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,uCAAuC,GAAG,GAAG,EAAE;IAK1D,OAAO,yBAAyB,CAAA;AAClC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,iCAAiC,GAAG,KAAK,EAAG,OAAqB,EAAsD,EAAE;IAEpI,OAAO,WAAW,CAA4C,uCAAuC,EAAE,EACvG;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,30 @@
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 { NotificationPreferencesControllerSearchV1Params, PreferenceDto } from '../index.schemas.js';
9
+ /**
10
+ * Exactly one of `userSub` or `address` is required. Default is opt-IN, so an empty array means the subject receives everything โ€” not that the subject is unknown. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Search a subject's notification preferences
12
+ */
13
+ export type notificationPreferencesControllerSearchV1Response200 = {
14
+ data: PreferenceDto[];
15
+ status: 200;
16
+ };
17
+ export type notificationPreferencesControllerSearchV1Response400 = {
18
+ data: void;
19
+ status: 400;
20
+ };
21
+ export type notificationPreferencesControllerSearchV1ResponseSuccess = (notificationPreferencesControllerSearchV1Response200) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationPreferencesControllerSearchV1ResponseError = (notificationPreferencesControllerSearchV1Response400) & {
25
+ headers: Headers;
26
+ };
27
+ export type notificationPreferencesControllerSearchV1Response = (notificationPreferencesControllerSearchV1ResponseSuccess | notificationPreferencesControllerSearchV1ResponseError);
28
+ export declare const getNotificationPreferencesControllerSearchV1Url: (params?: NotificationPreferencesControllerSearchV1Params) => string;
29
+ export declare const notificationPreferencesControllerSearchV1: (params?: NotificationPreferencesControllerSearchV1Params, options?: RequestInit) => Promise<notificationPreferencesControllerSearchV1Response>;
30
+ //# sourceMappingURL=notification-preferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-preferences.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,+CAA+C,EAC/C,aAAa,EACd,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,aAAa,EAAE,CAAA;IACrB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG;IACjE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC9H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,sDAAsD,GAAG,CAAC,oDAAoD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,iDAAiD,GAAG,CAAC,wDAAwD,GAAG,sDAAsD,CAAC,CAAA;AAEnL,eAAO,MAAM,+CAA+C,GAAI,SAAS,+CAA+C,WAavH,CAAA;AAED,eAAO,MAAM,yCAAyC,GAAU,SAAS,+CAA+C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,iDAAiD,CASxM,CAAA"}
@@ -0,0 +1,18 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationPreferencesControllerSearchV1Url = (params) => {
3
+ const normalizedParams = new URLSearchParams();
4
+ Object.entries(params || {}).forEach(([key, value]) => {
5
+ if (value !== undefined) {
6
+ normalizedParams.append(key, value === null ? 'null' : value.toString());
7
+ }
8
+ });
9
+ const stringifiedParams = normalizedParams.toString();
10
+ return stringifiedParams.length > 0 ? `/v1/notification-preferences?${stringifiedParams}` : `/v1/notification-preferences`;
11
+ };
12
+ export const notificationPreferencesControllerSearchV1 = async (params, options) => {
13
+ return customFetch(getNotificationPreferencesControllerSearchV1Url(params), {
14
+ ...options,
15
+ method: 'GET'
16
+ });
17
+ };
18
+ //# sourceMappingURL=notification-preferences.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-preferences.js","sourceRoot":"","sources":["../../../src/generated/notification-preferences/notification-preferences.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAyB/C,MAAM,CAAC,MAAM,+CAA+C,GAAG,CAAC,MAAwD,EAAG,EAAE;IAC3H,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,gCAAgC,iBAAiB,EAAE,CAAC,CAAC,CAAC,8BAA8B,CAAA;AAC5H,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,yCAAyC,GAAG,KAAK,EAAE,MAAwD,EAAE,OAAqB,EAA8D,EAAE;IAE7M,OAAO,WAAW,CAAoD,+CAA+C,CAAC,MAAM,CAAC,EAC7H;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,30 @@
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 { NotificationRequestDto } from '../index.schemas.js';
9
+ /**
10
+ * Request success is not dispatch success: a `fanned_out` request whose dispatches all bounced is a complete success at its own level, which is what `dispatchStatusCounts` shows. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
+ * @summary Get one notification request with its dispatch rollup
12
+ */
13
+ export type notificationRequestsControllerGetByIdV1Response200 = {
14
+ data: NotificationRequestDto;
15
+ status: 200;
16
+ };
17
+ export type notificationRequestsControllerGetByIdV1Response404 = {
18
+ data: void;
19
+ status: 404;
20
+ };
21
+ export type notificationRequestsControllerGetByIdV1ResponseSuccess = (notificationRequestsControllerGetByIdV1Response200) & {
22
+ headers: Headers;
23
+ };
24
+ export type notificationRequestsControllerGetByIdV1ResponseError = (notificationRequestsControllerGetByIdV1Response404) & {
25
+ headers: Headers;
26
+ };
27
+ export type notificationRequestsControllerGetByIdV1Response = (notificationRequestsControllerGetByIdV1ResponseSuccess | notificationRequestsControllerGetByIdV1ResponseError);
28
+ export declare const getNotificationRequestsControllerGetByIdV1Url: (id: string) => string;
29
+ export declare const notificationRequestsControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationRequestsControllerGetByIdV1Response>;
30
+ //# sourceMappingURL=notification-requests.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-requests.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,sBAAsB,EACvB,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,sBAAsB,CAAA;IAC5B,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,kDAAkD,GAAG;IAC/D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,oDAAoD,GAAG,CAAC,kDAAkD,CAAC,GAAG;IACxH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,+CAA+C,GAAG,CAAC,sDAAsD,GAAG,oDAAoD,CAAC,CAAA;AAE7K,eAAO,MAAM,6CAA6C,GAAI,IAAI,MAAM,WAMvE,CAAA;AAED,eAAO,MAAM,uCAAuC,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,+CAA+C,CAStJ,CAAA"}
@@ -0,0 +1,11 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ export const getNotificationRequestsControllerGetByIdV1Url = (id) => {
3
+ return `/v1/notification-requests/${id}`;
4
+ };
5
+ export const notificationRequestsControllerGetByIdV1 = async (id, options) => {
6
+ return customFetch(getNotificationRequestsControllerGetByIdV1Url(id), {
7
+ ...options,
8
+ method: 'GET'
9
+ });
10
+ };
11
+ //# sourceMappingURL=notification-requests.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-requests.js","sourceRoot":"","sources":["../../../src/generated/notification-requests/notification-requests.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAyB/C,MAAM,CAAC,MAAM,6CAA6C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK3E,OAAO,6BAA6B,EAAE,EAAE,CAAA;AAC1C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,uCAAuC,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAA4D,EAAE;IAE3J,OAAO,WAAW,CAAkD,6CAA6C,CAAC,EAAE,CAAC,EACrH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -0,0 +1,44 @@
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 { NotificationRuleDto, NotificationRulesControllerListV1Params } 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
+ * ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
25
+ * @summary Get one notification rule
26
+ */
27
+ export type notificationRulesControllerGetByIdV1Response200 = {
28
+ data: NotificationRuleDto;
29
+ status: 200;
30
+ };
31
+ export type notificationRulesControllerGetByIdV1Response404 = {
32
+ data: void;
33
+ status: 404;
34
+ };
35
+ export type notificationRulesControllerGetByIdV1ResponseSuccess = (notificationRulesControllerGetByIdV1Response200) & {
36
+ headers: Headers;
37
+ };
38
+ export type notificationRulesControllerGetByIdV1ResponseError = (notificationRulesControllerGetByIdV1Response404) & {
39
+ headers: Headers;
40
+ };
41
+ export type notificationRulesControllerGetByIdV1Response = (notificationRulesControllerGetByIdV1ResponseSuccess | notificationRulesControllerGetByIdV1ResponseError);
42
+ export declare const getNotificationRulesControllerGetByIdV1Url: (id: string) => string;
43
+ export declare const notificationRulesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationRulesControllerGetByIdV1Response>;
44
+ //# 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,mBAAmB,EACnB,uCAAuC,EACxC,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,+CAA+C,GAAG;IAC5D,IAAI,EAAE,mBAAmB,CAAA;IACzB,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG;IAC5D,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,CAAC,+CAA+C,CAAC,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"}
@@ -0,0 +1,28 @@
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 getNotificationRulesControllerGetByIdV1Url = (id) => {
20
+ return `/v1/notification-rules/${id}`;
21
+ };
22
+ export const notificationRulesControllerGetByIdV1 = async (id, options) => {
23
+ return customFetch(getNotificationRulesControllerGetByIdV1Url(id), {
24
+ ...options,
25
+ method: 'GET'
26
+ });
27
+ };
28
+ //# 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":"AAYA,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;AA0BH,MAAM,CAAC,MAAM,0CAA0C,GAAG,CAAC,EAAU,EAAG,EAAE;IAKxE,OAAO,0BAA0B,EAAE,EAAE,CAAA;AACvC,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,oCAAoC,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAAyD,EAAE;IAErJ,OAAO,WAAW,CAA+C,0CAA0C,CAAC,EAAE,CAAC,EAC/G;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,65 @@
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 { NotificationTemplateDetailDto, NotificationTemplatesControllerListV1Params, PaginatedNotificationTemplatesDto, TemplateVersionSummaryDto } 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
+ * ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
25
+ * @summary Get one template with its version summary list
26
+ */
27
+ export type notificationTemplatesControllerGetByIdV1Response200 = {
28
+ data: NotificationTemplateDetailDto;
29
+ status: 200;
30
+ };
31
+ export type notificationTemplatesControllerGetByIdV1Response404 = {
32
+ data: void;
33
+ status: 404;
34
+ };
35
+ export type notificationTemplatesControllerGetByIdV1ResponseSuccess = (notificationTemplatesControllerGetByIdV1Response200) & {
36
+ headers: Headers;
37
+ };
38
+ export type notificationTemplatesControllerGetByIdV1ResponseError = (notificationTemplatesControllerGetByIdV1Response404) & {
39
+ headers: Headers;
40
+ };
41
+ export type notificationTemplatesControllerGetByIdV1Response = (notificationTemplatesControllerGetByIdV1ResponseSuccess | notificationTemplatesControllerGetByIdV1ResponseError);
42
+ export declare const getNotificationTemplatesControllerGetByIdV1Url: (id: string) => string;
43
+ export declare const notificationTemplatesControllerGetByIdV1: (id: string, options?: RequestInit) => Promise<notificationTemplatesControllerGetByIdV1Response>;
44
+ /**
45
+ * State and timestamps only โ€” the editor sidebar (04 ยง5). Version CONTENT is on the detail read of a single version, which lands with the authoring slice. ๐Ÿ”’ Requires permission: notification:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
46
+ * @summary List a template's version history
47
+ */
48
+ export type notificationTemplatesControllerListVersionsV1Response200 = {
49
+ data: TemplateVersionSummaryDto[];
50
+ status: 200;
51
+ };
52
+ export type notificationTemplatesControllerListVersionsV1Response404 = {
53
+ data: void;
54
+ status: 404;
55
+ };
56
+ export type notificationTemplatesControllerListVersionsV1ResponseSuccess = (notificationTemplatesControllerListVersionsV1Response200) & {
57
+ headers: Headers;
58
+ };
59
+ export type notificationTemplatesControllerListVersionsV1ResponseError = (notificationTemplatesControllerListVersionsV1Response404) & {
60
+ headers: Headers;
61
+ };
62
+ export type notificationTemplatesControllerListVersionsV1Response = (notificationTemplatesControllerListVersionsV1ResponseSuccess | notificationTemplatesControllerListVersionsV1ResponseError);
63
+ export declare const getNotificationTemplatesControllerListVersionsV1Url: (id: string) => string;
64
+ export declare const notificationTemplatesControllerListVersionsV1: (id: string, options?: RequestInit) => Promise<notificationTemplatesControllerListVersionsV1Response>;
65
+ //# sourceMappingURL=notification-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-templates.d.ts","sourceRoot":"","sources":["../../../src/generated/notification-templates/notification-templates.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EACV,6BAA6B,EAC7B,2CAA2C,EAC3C,iCAAiC,EACjC,yBAAyB,EAC1B,MAAM,qBAAqB,CAAC;AAI7B;;;GAGG;AACH,MAAM,MAAM,gDAAgD,GAAG;IAC7D,IAAI,EAAE,iCAAiC,CAAA;IACvC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,oDAAoD,GAAG,CAAC,gDAAgD,CAAC,GAAG;IACtH,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAGF,MAAM,MAAM,6CAA6C,GAAG,CAAC,oDAAoD,CAAC,CAAA;AAElH,eAAO,MAAM,2CAA2C,GAAI,SAAS,2CAA2C,WAa/G,CAAA;AAED,eAAO,MAAM,qCAAqC,GAAU,SAAS,2CAA2C,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,6CAA6C,CAS5L,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,6BAA6B,CAAA;IACnC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG;IAChE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC5H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,qDAAqD,GAAG,CAAC,mDAAmD,CAAC,GAAG;IAC1H,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gDAAgD,GAAG,CAAC,uDAAuD,GAAG,qDAAqD,CAAC,CAAA;AAEhL,eAAO,MAAM,8CAA8C,GAAI,IAAI,MAAM,WAMxE,CAAA;AAED,eAAO,MAAM,wCAAwC,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,gDAAgD,CASxJ,CAAA;AAGH;;;GAGG;AACH,MAAM,MAAM,wDAAwD,GAAG;IACrE,IAAI,EAAE,yBAAyB,EAAE,CAAA;IACjC,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG;IACrE,IAAI,EAAE,IAAI,CAAA;IACV,MAAM,EAAE,GAAG,CAAA;CACZ,CAAA;AAED,MAAM,MAAM,4DAA4D,GAAG,CAAC,wDAAwD,CAAC,GAAG;IACtI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,0DAA0D,GAAG,CAAC,wDAAwD,CAAC,GAAG;IACpI,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,qDAAqD,GAAG,CAAC,4DAA4D,GAAG,0DAA0D,CAAC,CAAA;AAE/L,eAAO,MAAM,mDAAmD,GAAI,IAAI,MAAM,WAM7E,CAAA;AAED,eAAO,MAAM,6CAA6C,GAAU,IAAI,MAAM,EAAE,UAAU,WAAW,KAAG,OAAO,CAAC,qDAAqD,CASlK,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { customFetch } from '../../mutator.js';
2
+ ;
3
+ export const getNotificationTemplatesControllerListV1Url = (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-templates?${stringifiedParams}` : `/v1/notification-templates`;
12
+ };
13
+ export const notificationTemplatesControllerListV1 = async (params, options) => {
14
+ return customFetch(getNotificationTemplatesControllerListV1Url(params), {
15
+ ...options,
16
+ method: 'GET'
17
+ });
18
+ };
19
+ export const getNotificationTemplatesControllerGetByIdV1Url = (id) => {
20
+ return `/v1/notification-templates/${id}`;
21
+ };
22
+ export const notificationTemplatesControllerGetByIdV1 = async (id, options) => {
23
+ return customFetch(getNotificationTemplatesControllerGetByIdV1Url(id), {
24
+ ...options,
25
+ method: 'GET'
26
+ });
27
+ };
28
+ export const getNotificationTemplatesControllerListVersionsV1Url = (id) => {
29
+ return `/v1/notification-templates/${id}/versions`;
30
+ };
31
+ export const notificationTemplatesControllerListVersionsV1 = async (id, options) => {
32
+ return customFetch(getNotificationTemplatesControllerListVersionsV1Url(id), {
33
+ ...options,
34
+ method: 'GET'
35
+ });
36
+ };
37
+ //# sourceMappingURL=notification-templates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification-templates.js","sourceRoot":"","sources":["../../../src/generated/notification-templates/notification-templates.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAc/C,CAAC;AAID,MAAM,CAAC,MAAM,2CAA2C,GAAG,CAAC,MAAoD,EAAG,EAAE;IACnH,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,8BAA8B,iBAAiB,EAAE,CAAC,CAAC,CAAC,4BAA4B,CAAA;AACxH,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,qCAAqC,GAAG,KAAK,EAAE,MAAoD,EAAE,OAAqB,EAA0D,EAAE;IAEjM,OAAO,WAAW,CAAgD,2CAA2C,CAAC,MAAM,CAAC,EACrH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA0BH,MAAM,CAAC,MAAM,8CAA8C,GAAG,CAAC,EAAU,EAAG,EAAE;IAK5E,OAAO,8BAA8B,EAAE,EAAE,CAAA;AAC3C,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,wCAAwC,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAA6D,EAAE;IAE7J,OAAO,WAAW,CAAmD,8CAA8C,CAAC,EAAE,CAAC,EACvH;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA;AA0BH,MAAM,CAAC,MAAM,mDAAmD,GAAG,CAAC,EAAU,EAAG,EAAE;IAKjF,OAAO,8BAA8B,EAAE,WAAW,CAAA;AACpD,CAAC,CAAA;AAED,MAAM,CAAC,MAAM,6CAA6C,GAAG,KAAK,EAAE,EAAU,EAAE,OAAqB,EAAkE,EAAE;IAEvK,OAAO,WAAW,CAAwD,mDAAmD,CAAC,EAAE,CAAC,EACjI;QACE,GAAG,OAAO;QACV,MAAM,EAAE,KAAK;KAGd,CACF,CAAC;AAAA,CAAC,CAAA"}
@@ -5,7 +5,7 @@
5
5
  * Core API for the Vinden Platform
6
6
  * OpenAPI spec version: 0.1.0
7
7
  */
8
- import type { CancelOrderDto, CancelOrderResultDto, CompleteOrderDto, CompleteOrderResultDto, DeliverAllDto, DeliverAllResultDto, EditOrderDto, EditOrderItemsDto, OrderDetailDto, OrderTimelineDto, OrderTransitionDto, OrderTransitionResultDto, OrdersControllerListV1Params, PaginatedOrdersDto, RemoveRemainingDto, RemoveRemainingResultDto } from '../index.schemas.js';
8
+ import type { CancelOrderDto, CancelOrderResultDto, CompleteOrderDto, CompleteOrderResultDto, DeliverAllDto, DeliverAllResultDto, EditOrderDto, EditOrderEstimateDto, EditOrderItemsDto, OrderDetailDto, OrderTimelineDto, OrderTransitionDto, OrderTransitionResultDto, OrdersControllerListV1Params, PaginatedOrdersDto, RemoveRemainingDto, RemoveRemainingResultDto } from '../index.schemas.js';
9
9
  /**
10
10
  * ๐Ÿ”’ Requires permission: order:read. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
11
11
  * @summary List orders visible to the caller (RLS-scoped)
@@ -76,6 +76,20 @@ export type ordersControllerEditItemsV1ResponseSuccess = (ordersControllerEditIt
76
76
  export type ordersControllerEditItemsV1Response = (ordersControllerEditItemsV1ResponseSuccess);
77
77
  export declare const getOrdersControllerEditItemsV1Url: (id: string) => string;
78
78
  export declare const ordersControllerEditItemsV1: (id: string, editOrderItemsDto: EditOrderItemsDto, options?: RequestInit) => Promise<ordersControllerEditItemsV1Response>;
79
+ /**
80
+ * ๐Ÿ”’ Requires permission: order:edit. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
81
+ * @summary Replace a placed PICKUP/MOVE order's customer estimate (declared expected items) within its editable window
82
+ */
83
+ export type ordersControllerEditEstimateV1Response200 = {
84
+ data: OrderDetailDto;
85
+ status: 200;
86
+ };
87
+ export type ordersControllerEditEstimateV1ResponseSuccess = (ordersControllerEditEstimateV1Response200) & {
88
+ headers: Headers;
89
+ };
90
+ export type ordersControllerEditEstimateV1Response = (ordersControllerEditEstimateV1ResponseSuccess);
91
+ export declare const getOrdersControllerEditEstimateV1Url: (id: string) => string;
92
+ export declare const ordersControllerEditEstimateV1: (id: string, editOrderEstimateDto: EditOrderEstimateDto, options?: RequestInit) => Promise<ordersControllerEditEstimateV1Response>;
79
93
  /**
80
94
  * ๐Ÿ”’ Requires permission: order:write. Gate UI with hasRequiredPermissions() from @vindentech/api-client.
81
95
  * @summary Drive a guarded status transition (validated against sales_order_status_transition)