magicbell-js 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -19
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +26 -26
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +16 -16
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts +1 -105
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +0 -419
- package/dist/commonjs/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts +0 -14
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts +0 -15
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts +0 -7
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.js +0 -28
- package/dist/commonjs/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/user-client/services/integrations/models/index.d.ts +0 -1
- package/dist/commonjs/user-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +26 -26
- package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +16 -16
- package/dist/esm/project-client/services/broadcasts/models/broadcast.js +3 -3
- package/dist/esm/project-client/services/broadcasts/models/broadcast.js.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts +1 -105
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +0 -419
- package/dist/esm/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/index.d.ts +0 -14
- package/dist/esm/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/esm/project-client/services/integrations/request-params.d.ts +0 -15
- package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts +0 -7
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.js +0 -28
- package/dist/esm/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/user-client/services/integrations/models/index.d.ts +0 -1
- package/dist/esm/user-client/services/integrations/models/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/project-client/services/broadcasts/models/broadcast.ts +3 -3
- package/src/project-client/services/integrations/integrations-service.ts +0 -485
- package/src/project-client/services/integrations/models/index.ts +0 -14
- package/src/project-client/services/integrations/request-params.ts +0 -20
- package/src/user-client/services/integrations/integrations-service.ts +0 -36
- package/src/user-client/services/integrations/models/index.ts +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/github-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.d.ts +0 -246
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config.d.ts +0 -76
- package/dist/commonjs/project-client/services/integrations/models/templates-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config.js +0 -49
- package/dist/commonjs/project-client/services/integrations/models/templates-config.js.map +0 -1
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.d.ts +0 -76
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.d.ts.map +0 -1
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.js +0 -49
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/awssns-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/awssns-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/event-source-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/github-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/stripe-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts +0 -246
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config.d.ts +0 -76
- package/dist/esm/project-client/services/integrations/models/templates-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config.js +0 -46
- package/dist/esm/project-client/services/integrations/models/templates-config.js.map +0 -1
- package/dist/esm/user-client/services/integrations/models/templates-installation.d.ts +0 -76
- package/dist/esm/user-client/services/integrations/models/templates-installation.d.ts.map +0 -1
- package/dist/esm/user-client/services/integrations/models/templates-installation.js +0 -46
- package/dist/esm/user-client/services/integrations/models/templates-installation.js.map +0 -1
- package/src/project-client/services/integrations/models/awssns-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/awssns-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/awssns-config.ts +0 -64
- package/src/project-client/services/integrations/models/event-source-config-collection.ts +0 -59
- package/src/project-client/services/integrations/models/event-source-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/event-source-config.ts +0 -64
- package/src/project-client/services/integrations/models/github-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/github-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/github-config.ts +0 -64
- package/src/project-client/services/integrations/models/stripe-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/stripe-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/stripe-config.ts +0 -64
- package/src/project-client/services/integrations/models/templates-config-collection.ts +0 -59
- package/src/project-client/services/integrations/models/templates-config.ts +0 -57
- package/src/user-client/services/integrations/models/templates-installation.ts +0 -57
package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* The shape of the model inside the application code - what the users use
|
|
4
|
-
*/
|
|
5
|
-
export declare const templatesConfigCollection: z.ZodLazy<z.ZodObject<{
|
|
6
|
-
data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
7
|
-
config: z.ZodAny;
|
|
8
|
-
id: z.ZodString;
|
|
9
|
-
name: z.ZodString;
|
|
10
|
-
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
config?: any;
|
|
14
|
-
}, {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
config?: any;
|
|
18
|
-
}>>, "many">>;
|
|
19
|
-
links: z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
20
|
-
first: z.ZodOptional<z.ZodString>;
|
|
21
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
-
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
-
}, "strip", z.ZodTypeAny, {
|
|
24
|
-
first?: string | undefined;
|
|
25
|
-
next?: string | null | undefined;
|
|
26
|
-
prev?: string | null | undefined;
|
|
27
|
-
}, {
|
|
28
|
-
first?: string | undefined;
|
|
29
|
-
next?: string | null | undefined;
|
|
30
|
-
prev?: string | null | undefined;
|
|
31
|
-
}>>>;
|
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
data?: {
|
|
34
|
-
id: string;
|
|
35
|
-
name: string;
|
|
36
|
-
config?: any;
|
|
37
|
-
}[] | undefined;
|
|
38
|
-
links?: {
|
|
39
|
-
first?: string | undefined;
|
|
40
|
-
next?: string | null | undefined;
|
|
41
|
-
prev?: string | null | undefined;
|
|
42
|
-
} | undefined;
|
|
43
|
-
}, {
|
|
44
|
-
data?: {
|
|
45
|
-
id: string;
|
|
46
|
-
name: string;
|
|
47
|
-
config?: any;
|
|
48
|
-
}[] | undefined;
|
|
49
|
-
links?: {
|
|
50
|
-
first?: string | undefined;
|
|
51
|
-
next?: string | null | undefined;
|
|
52
|
-
prev?: string | null | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
}>>;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @typedef {TemplatesConfigCollection} templatesConfigCollection
|
|
58
|
-
* @property {TemplatesConfig[]}
|
|
59
|
-
* @property {Links}
|
|
60
|
-
*/
|
|
61
|
-
export type TemplatesConfigCollection = z.infer<typeof templatesConfigCollection>;
|
|
62
|
-
/**
|
|
63
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
64
|
-
* Is equal to application shape if all property names match the api schema
|
|
65
|
-
*/
|
|
66
|
-
export declare const templatesConfigCollectionResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
67
|
-
data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
68
|
-
config: z.ZodAny;
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
name: z.ZodString;
|
|
71
|
-
}, "strip", z.ZodTypeAny, {
|
|
72
|
-
id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
config?: any;
|
|
75
|
-
}, {
|
|
76
|
-
id: string;
|
|
77
|
-
name: string;
|
|
78
|
-
config?: any;
|
|
79
|
-
}>, {
|
|
80
|
-
config: any;
|
|
81
|
-
id: string;
|
|
82
|
-
name: string;
|
|
83
|
-
}, {
|
|
84
|
-
id: string;
|
|
85
|
-
name: string;
|
|
86
|
-
config?: any;
|
|
87
|
-
}>>, "many">>;
|
|
88
|
-
links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
89
|
-
first: z.ZodOptional<z.ZodString>;
|
|
90
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
91
|
-
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
92
|
-
}, "strip", z.ZodTypeAny, {
|
|
93
|
-
first?: string | undefined;
|
|
94
|
-
next?: string | null | undefined;
|
|
95
|
-
prev?: string | null | undefined;
|
|
96
|
-
}, {
|
|
97
|
-
first?: string | undefined;
|
|
98
|
-
next?: string | null | undefined;
|
|
99
|
-
prev?: string | null | undefined;
|
|
100
|
-
}>, {
|
|
101
|
-
first: string | undefined;
|
|
102
|
-
next: string | null | undefined;
|
|
103
|
-
prev: string | null | undefined;
|
|
104
|
-
}, {
|
|
105
|
-
first?: string | undefined;
|
|
106
|
-
next?: string | null | undefined;
|
|
107
|
-
prev?: string | null | undefined;
|
|
108
|
-
}>>>;
|
|
109
|
-
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
data?: {
|
|
111
|
-
config: any;
|
|
112
|
-
id: string;
|
|
113
|
-
name: string;
|
|
114
|
-
}[] | undefined;
|
|
115
|
-
links?: {
|
|
116
|
-
first: string | undefined;
|
|
117
|
-
next: string | null | undefined;
|
|
118
|
-
prev: string | null | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
}, {
|
|
121
|
-
data?: {
|
|
122
|
-
id: string;
|
|
123
|
-
name: string;
|
|
124
|
-
config?: any;
|
|
125
|
-
}[] | undefined;
|
|
126
|
-
links?: {
|
|
127
|
-
first?: string | undefined;
|
|
128
|
-
next?: string | null | undefined;
|
|
129
|
-
prev?: string | null | undefined;
|
|
130
|
-
} | undefined;
|
|
131
|
-
}>, {
|
|
132
|
-
data: {
|
|
133
|
-
config: any;
|
|
134
|
-
id: string;
|
|
135
|
-
name: string;
|
|
136
|
-
}[] | undefined;
|
|
137
|
-
links: {
|
|
138
|
-
first: string | undefined;
|
|
139
|
-
next: string | null | undefined;
|
|
140
|
-
prev: string | null | undefined;
|
|
141
|
-
} | undefined;
|
|
142
|
-
}, {
|
|
143
|
-
data?: {
|
|
144
|
-
id: string;
|
|
145
|
-
name: string;
|
|
146
|
-
config?: any;
|
|
147
|
-
}[] | undefined;
|
|
148
|
-
links?: {
|
|
149
|
-
first?: string | undefined;
|
|
150
|
-
next?: string | null | undefined;
|
|
151
|
-
prev?: string | null | undefined;
|
|
152
|
-
} | undefined;
|
|
153
|
-
}>>;
|
|
154
|
-
/**
|
|
155
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
156
|
-
* Is equal to application shape if all property names match the api schema
|
|
157
|
-
*/
|
|
158
|
-
export declare const templatesConfigCollectionRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
159
|
-
data: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
160
|
-
config: z.ZodAny;
|
|
161
|
-
id: z.ZodString;
|
|
162
|
-
name: z.ZodString;
|
|
163
|
-
}, "strip", z.ZodTypeAny, {
|
|
164
|
-
id: string;
|
|
165
|
-
name: string;
|
|
166
|
-
config?: any;
|
|
167
|
-
}, {
|
|
168
|
-
id: string;
|
|
169
|
-
name: string;
|
|
170
|
-
config?: any;
|
|
171
|
-
}>, {
|
|
172
|
-
config: any;
|
|
173
|
-
id: string;
|
|
174
|
-
name: string;
|
|
175
|
-
}, {
|
|
176
|
-
id: string;
|
|
177
|
-
name: string;
|
|
178
|
-
config?: any;
|
|
179
|
-
}>>, "many">>;
|
|
180
|
-
links: z.ZodOptional<z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
181
|
-
first: z.ZodOptional<z.ZodString>;
|
|
182
|
-
next: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
183
|
-
prev: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
184
|
-
}, "strip", z.ZodTypeAny, {
|
|
185
|
-
first?: string | undefined;
|
|
186
|
-
next?: string | null | undefined;
|
|
187
|
-
prev?: string | null | undefined;
|
|
188
|
-
}, {
|
|
189
|
-
first?: string | undefined;
|
|
190
|
-
next?: string | null | undefined;
|
|
191
|
-
prev?: string | null | undefined;
|
|
192
|
-
}>, {
|
|
193
|
-
first: string | undefined;
|
|
194
|
-
next: string | null | undefined;
|
|
195
|
-
prev: string | null | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
first?: string | undefined;
|
|
198
|
-
next?: string | null | undefined;
|
|
199
|
-
prev?: string | null | undefined;
|
|
200
|
-
}>>>;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
data?: {
|
|
203
|
-
config: any;
|
|
204
|
-
id: string;
|
|
205
|
-
name: string;
|
|
206
|
-
}[] | undefined;
|
|
207
|
-
links?: {
|
|
208
|
-
first: string | undefined;
|
|
209
|
-
next: string | null | undefined;
|
|
210
|
-
prev: string | null | undefined;
|
|
211
|
-
} | undefined;
|
|
212
|
-
}, {
|
|
213
|
-
data?: {
|
|
214
|
-
id: string;
|
|
215
|
-
name: string;
|
|
216
|
-
config?: any;
|
|
217
|
-
}[] | undefined;
|
|
218
|
-
links?: {
|
|
219
|
-
first?: string | undefined;
|
|
220
|
-
next?: string | null | undefined;
|
|
221
|
-
prev?: string | null | undefined;
|
|
222
|
-
} | undefined;
|
|
223
|
-
}>, {
|
|
224
|
-
data: {
|
|
225
|
-
config: any;
|
|
226
|
-
id: string;
|
|
227
|
-
name: string;
|
|
228
|
-
}[] | undefined;
|
|
229
|
-
links: {
|
|
230
|
-
first: string | undefined;
|
|
231
|
-
next: string | null | undefined;
|
|
232
|
-
prev: string | null | undefined;
|
|
233
|
-
} | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
data?: {
|
|
236
|
-
id: string;
|
|
237
|
-
name: string;
|
|
238
|
-
config?: any;
|
|
239
|
-
}[] | undefined;
|
|
240
|
-
links?: {
|
|
241
|
-
first?: string | undefined;
|
|
242
|
-
next?: string | null | undefined;
|
|
243
|
-
prev?: string | null | undefined;
|
|
244
|
-
} | undefined;
|
|
245
|
-
}>>;
|
|
246
|
-
//# sourceMappingURL=templates-config-collection.d.ts.map
|
package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-config-collection.d.ts","sourceRoot":"","sources":["../../../../../../src/project-client/services/integrations/models/templates-config-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAKpC,CAAC;AAEH;;;;;GAKG;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF;;;GAGG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU5C,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAU3C,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { links, linksRequest, linksResponse } from '../../common/links.js';
|
|
3
|
-
import { templatesConfig, templatesConfigRequest, templatesConfigResponse, } from './templates-config.js';
|
|
4
|
-
/**
|
|
5
|
-
* The shape of the model inside the application code - what the users use
|
|
6
|
-
*/
|
|
7
|
-
export const templatesConfigCollection = z.lazy(() => {
|
|
8
|
-
return z.object({
|
|
9
|
-
data: z.array(templatesConfig).optional(),
|
|
10
|
-
links: links.optional(),
|
|
11
|
-
});
|
|
12
|
-
});
|
|
13
|
-
/**
|
|
14
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
15
|
-
* Is equal to application shape if all property names match the api schema
|
|
16
|
-
*/
|
|
17
|
-
export const templatesConfigCollectionResponse = z.lazy(() => {
|
|
18
|
-
return z
|
|
19
|
-
.object({
|
|
20
|
-
data: z.array(templatesConfigResponse).optional(),
|
|
21
|
-
links: linksResponse.optional(),
|
|
22
|
-
})
|
|
23
|
-
.transform((data) => ({
|
|
24
|
-
data: data['data'],
|
|
25
|
-
links: data['links'],
|
|
26
|
-
}));
|
|
27
|
-
});
|
|
28
|
-
/**
|
|
29
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
30
|
-
* Is equal to application shape if all property names match the api schema
|
|
31
|
-
*/
|
|
32
|
-
export const templatesConfigCollectionRequest = z.lazy(() => {
|
|
33
|
-
return z
|
|
34
|
-
.object({
|
|
35
|
-
data: z.array(templatesConfigRequest).optional(),
|
|
36
|
-
links: linksRequest.optional(),
|
|
37
|
-
})
|
|
38
|
-
.transform((data) => ({
|
|
39
|
-
data: data['data'],
|
|
40
|
-
links: data['links'],
|
|
41
|
-
}));
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=templates-config-collection.js.map
|
package/dist/esm/project-client/services/integrations/models/templates-config-collection.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-config-collection.js","sourceRoot":"","sources":["../../../../../../src/project-client/services/integrations/models/templates-config-collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAS,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAClF,OAAO,EAEL,eAAe,EACf,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,uBAAuB,CAAC;AAE/B;;GAEG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACnD,OAAO,CAAC,CAAC,MAAM,CAAC;QACd,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;QACzC,KAAK,EAAE,KAAK,CAAC,QAAQ,EAAE;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAUH;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC3D,OAAO,CAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC,QAAQ,EAAE;QACjD,KAAK,EAAE,aAAa,CAAC,QAAQ,EAAE;KAChC,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;KACrB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC1D,OAAO,CAAC;SACL,MAAM,CAAC;QACN,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;QAChD,KAAK,EAAE,YAAY,CAAC,QAAQ,EAAE;KAC/B,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;QAClB,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;KACrB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* The shape of the model inside the application code - what the users use
|
|
4
|
-
*/
|
|
5
|
-
export declare const templatesConfig: z.ZodLazy<z.ZodObject<{
|
|
6
|
-
config: z.ZodAny;
|
|
7
|
-
id: z.ZodString;
|
|
8
|
-
name: z.ZodString;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
id: string;
|
|
11
|
-
name: string;
|
|
12
|
-
config?: any;
|
|
13
|
-
}, {
|
|
14
|
-
id: string;
|
|
15
|
-
name: string;
|
|
16
|
-
config?: any;
|
|
17
|
-
}>>;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @typedef {TemplatesConfig} templatesConfig
|
|
21
|
-
* @property {any}
|
|
22
|
-
* @property {string}
|
|
23
|
-
* @property {string}
|
|
24
|
-
*/
|
|
25
|
-
export type TemplatesConfig = z.infer<typeof templatesConfig>;
|
|
26
|
-
/**
|
|
27
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
28
|
-
* Is equal to application shape if all property names match the api schema
|
|
29
|
-
*/
|
|
30
|
-
export declare const templatesConfigResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
31
|
-
config: z.ZodAny;
|
|
32
|
-
id: z.ZodString;
|
|
33
|
-
name: z.ZodString;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
id: string;
|
|
36
|
-
name: string;
|
|
37
|
-
config?: any;
|
|
38
|
-
}, {
|
|
39
|
-
id: string;
|
|
40
|
-
name: string;
|
|
41
|
-
config?: any;
|
|
42
|
-
}>, {
|
|
43
|
-
config: any;
|
|
44
|
-
id: string;
|
|
45
|
-
name: string;
|
|
46
|
-
}, {
|
|
47
|
-
id: string;
|
|
48
|
-
name: string;
|
|
49
|
-
config?: any;
|
|
50
|
-
}>>;
|
|
51
|
-
/**
|
|
52
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
53
|
-
* Is equal to application shape if all property names match the api schema
|
|
54
|
-
*/
|
|
55
|
-
export declare const templatesConfigRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
56
|
-
config: z.ZodAny;
|
|
57
|
-
id: z.ZodString;
|
|
58
|
-
name: z.ZodString;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
id: string;
|
|
61
|
-
name: string;
|
|
62
|
-
config?: any;
|
|
63
|
-
}, {
|
|
64
|
-
id: string;
|
|
65
|
-
name: string;
|
|
66
|
-
config?: any;
|
|
67
|
-
}>, {
|
|
68
|
-
config: any;
|
|
69
|
-
id: string;
|
|
70
|
-
name: string;
|
|
71
|
-
}, {
|
|
72
|
-
id: string;
|
|
73
|
-
name: string;
|
|
74
|
-
config?: any;
|
|
75
|
-
}>>;
|
|
76
|
-
//# sourceMappingURL=templates-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-config.d.ts","sourceRoot":"","sources":["../../../../../../src/project-client/services/integrations/models/templates-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;GAM1B,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAE9D;;;GAGG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;GAYlC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;GAYjC,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* The shape of the model inside the application code - what the users use
|
|
4
|
-
*/
|
|
5
|
-
export const templatesConfig = z.lazy(() => {
|
|
6
|
-
return z.object({
|
|
7
|
-
config: z.any(),
|
|
8
|
-
id: z.string(),
|
|
9
|
-
name: z.string(),
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
/**
|
|
13
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
14
|
-
* Is equal to application shape if all property names match the api schema
|
|
15
|
-
*/
|
|
16
|
-
export const templatesConfigResponse = z.lazy(() => {
|
|
17
|
-
return z
|
|
18
|
-
.object({
|
|
19
|
-
config: z.any(),
|
|
20
|
-
id: z.string(),
|
|
21
|
-
name: z.string(),
|
|
22
|
-
})
|
|
23
|
-
.transform((data) => ({
|
|
24
|
-
config: data['config'],
|
|
25
|
-
id: data['id'],
|
|
26
|
-
name: data['name'],
|
|
27
|
-
}));
|
|
28
|
-
});
|
|
29
|
-
/**
|
|
30
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
31
|
-
* Is equal to application shape if all property names match the api schema
|
|
32
|
-
*/
|
|
33
|
-
export const templatesConfigRequest = z.lazy(() => {
|
|
34
|
-
return z
|
|
35
|
-
.object({
|
|
36
|
-
config: z.any(),
|
|
37
|
-
id: z.string(),
|
|
38
|
-
name: z.string(),
|
|
39
|
-
})
|
|
40
|
-
.transform((data) => ({
|
|
41
|
-
config: data['config'],
|
|
42
|
-
id: data['id'],
|
|
43
|
-
name: data['name'],
|
|
44
|
-
}));
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=templates-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-config.js","sourceRoot":"","sources":["../../../../../../src/project-client/services/integrations/models/templates-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACzC,OAAO,CAAC,CAAC,MAAM,CAAC;QACd,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACjD,OAAO,CAAC;SACL,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAChD,OAAO,CAAC;SACL,MAAM,CAAC;QACN,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;QACf,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;QACtB,EAAE,EAAE,IAAI,CAAC,IAAI,CAAC;QACd,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* The shape of the model inside the application code - what the users use
|
|
4
|
-
*/
|
|
5
|
-
export declare const templatesInstallation: z.ZodLazy<z.ZodObject<{
|
|
6
|
-
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7
|
-
channel: z.ZodString;
|
|
8
|
-
text: z.ZodString;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
text: string;
|
|
11
|
-
channel: string;
|
|
12
|
-
category?: string | null | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
text: string;
|
|
15
|
-
channel: string;
|
|
16
|
-
category?: string | null | undefined;
|
|
17
|
-
}>>;
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @typedef {TemplatesInstallation} templatesInstallation
|
|
21
|
-
* @property {string}
|
|
22
|
-
* @property {string}
|
|
23
|
-
* @property {string}
|
|
24
|
-
*/
|
|
25
|
-
export type TemplatesInstallation = z.infer<typeof templatesInstallation>;
|
|
26
|
-
/**
|
|
27
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
28
|
-
* Is equal to application shape if all property names match the api schema
|
|
29
|
-
*/
|
|
30
|
-
export declare const templatesInstallationResponse: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
31
|
-
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
32
|
-
channel: z.ZodString;
|
|
33
|
-
text: z.ZodString;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
text: string;
|
|
36
|
-
channel: string;
|
|
37
|
-
category?: string | null | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
text: string;
|
|
40
|
-
channel: string;
|
|
41
|
-
category?: string | null | undefined;
|
|
42
|
-
}>, {
|
|
43
|
-
category: string | null | undefined;
|
|
44
|
-
channel: string;
|
|
45
|
-
text: string;
|
|
46
|
-
}, {
|
|
47
|
-
text: string;
|
|
48
|
-
channel: string;
|
|
49
|
-
category?: string | null | undefined;
|
|
50
|
-
}>>;
|
|
51
|
-
/**
|
|
52
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
53
|
-
* Is equal to application shape if all property names match the api schema
|
|
54
|
-
*/
|
|
55
|
-
export declare const templatesInstallationRequest: z.ZodLazy<z.ZodEffects<z.ZodObject<{
|
|
56
|
-
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
57
|
-
channel: z.ZodString;
|
|
58
|
-
text: z.ZodString;
|
|
59
|
-
}, "strip", z.ZodTypeAny, {
|
|
60
|
-
text: string;
|
|
61
|
-
channel: string;
|
|
62
|
-
category?: string | null | undefined;
|
|
63
|
-
}, {
|
|
64
|
-
text: string;
|
|
65
|
-
channel: string;
|
|
66
|
-
category?: string | null | undefined;
|
|
67
|
-
}>, {
|
|
68
|
-
category: string | null | undefined;
|
|
69
|
-
channel: string;
|
|
70
|
-
text: string;
|
|
71
|
-
}, {
|
|
72
|
-
text: string;
|
|
73
|
-
channel: string;
|
|
74
|
-
category?: string | null | undefined;
|
|
75
|
-
}>>;
|
|
76
|
-
//# sourceMappingURL=templates-installation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-installation.d.ts","sourceRoot":"","sources":["../../../../../../src/user-client/services/integrations/models/templates-installation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;GAMhC,CAAC;AAEH;;;;;;GAMG;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E;;;GAGG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;GAYxC,CAAC;AAEH;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;GAYvC,CAAC"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/**
|
|
3
|
-
* The shape of the model inside the application code - what the users use
|
|
4
|
-
*/
|
|
5
|
-
export const templatesInstallation = z.lazy(() => {
|
|
6
|
-
return z.object({
|
|
7
|
-
category: z.string().optional().nullable(),
|
|
8
|
-
channel: z.string(),
|
|
9
|
-
text: z.string(),
|
|
10
|
-
});
|
|
11
|
-
});
|
|
12
|
-
/**
|
|
13
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
14
|
-
* Is equal to application shape if all property names match the api schema
|
|
15
|
-
*/
|
|
16
|
-
export const templatesInstallationResponse = z.lazy(() => {
|
|
17
|
-
return z
|
|
18
|
-
.object({
|
|
19
|
-
category: z.string().optional().nullable(),
|
|
20
|
-
channel: z.string(),
|
|
21
|
-
text: z.string(),
|
|
22
|
-
})
|
|
23
|
-
.transform((data) => ({
|
|
24
|
-
category: data['category'],
|
|
25
|
-
channel: data['channel'],
|
|
26
|
-
text: data['text'],
|
|
27
|
-
}));
|
|
28
|
-
});
|
|
29
|
-
/**
|
|
30
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
31
|
-
* Is equal to application shape if all property names match the api schema
|
|
32
|
-
*/
|
|
33
|
-
export const templatesInstallationRequest = z.lazy(() => {
|
|
34
|
-
return z
|
|
35
|
-
.object({
|
|
36
|
-
category: z.string().optional().nullable(),
|
|
37
|
-
channel: z.string(),
|
|
38
|
-
text: z.string(),
|
|
39
|
-
})
|
|
40
|
-
.transform((data) => ({
|
|
41
|
-
category: data['category'],
|
|
42
|
-
channel: data['channel'],
|
|
43
|
-
text: data['text'],
|
|
44
|
-
}));
|
|
45
|
-
});
|
|
46
|
-
//# sourceMappingURL=templates-installation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"templates-installation.js","sourceRoot":"","sources":["../../../../../../src/user-client/services/integrations/models/templates-installation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IAC/C,OAAO,CAAC,CAAC,MAAM,CAAC;QACd,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACvD,OAAO,CAAC;SACL,MAAM,CAAC;QACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE;IACtD,OAAO,CAAC;SACL,MAAM,CAAC;QACN,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;QAC1C,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC;SACD,SAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;QACpB,QAAQ,EAAE,IAAI,CAAC,UAAU,CAAC;QAC1B,OAAO,EAAE,IAAI,CAAC,SAAS,CAAC;QACxB,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC;KACnB,CAAC,CAAC,CAAC;AACR,CAAC,CAAC,CAAC"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
import { Links, links, linksRequest, linksResponse } from '../../common/links.js';
|
|
4
|
-
import { AwssnsConfig, awssnsConfig, awssnsConfigRequest, awssnsConfigResponse } from './awssns-config.js';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* The shape of the model inside the application code - what the users use
|
|
8
|
-
*/
|
|
9
|
-
export const awssnsConfigCollection = z.lazy(() => {
|
|
10
|
-
return z.object({
|
|
11
|
-
data: z.array(awssnsConfig).optional(),
|
|
12
|
-
links: links.optional(),
|
|
13
|
-
});
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @typedef {AwssnsConfigCollection} awssnsConfigCollection
|
|
19
|
-
* @property {AwssnsConfig[]}
|
|
20
|
-
* @property {Links}
|
|
21
|
-
*/
|
|
22
|
-
export type AwssnsConfigCollection = z.infer<typeof awssnsConfigCollection>;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
26
|
-
* Is equal to application shape if all property names match the api schema
|
|
27
|
-
*/
|
|
28
|
-
export const awssnsConfigCollectionResponse = z.lazy(() => {
|
|
29
|
-
return z
|
|
30
|
-
.object({
|
|
31
|
-
data: z.array(awssnsConfigResponse).optional(),
|
|
32
|
-
links: linksResponse.optional(),
|
|
33
|
-
})
|
|
34
|
-
.transform((data) => ({
|
|
35
|
-
data: data['data'],
|
|
36
|
-
links: data['links'],
|
|
37
|
-
}));
|
|
38
|
-
});
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
42
|
-
* Is equal to application shape if all property names match the api schema
|
|
43
|
-
*/
|
|
44
|
-
export const awssnsConfigCollectionRequest = z.lazy(() => {
|
|
45
|
-
return z
|
|
46
|
-
.object({
|
|
47
|
-
data: z.array(awssnsConfigRequest).optional(),
|
|
48
|
-
links: linksRequest.optional(),
|
|
49
|
-
})
|
|
50
|
-
.transform((data) => ({
|
|
51
|
-
data: data['data'],
|
|
52
|
-
links: data['links'],
|
|
53
|
-
}));
|
|
54
|
-
});
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The shape of the model inside the application code - what the users use
|
|
5
|
-
*/
|
|
6
|
-
export const awssnsConfigPayload = z.lazy(() => {
|
|
7
|
-
return z.object({
|
|
8
|
-
webhookSigningSecret: z.string().min(1),
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @typedef {AwssnsConfigPayload} awssnsConfigPayload
|
|
15
|
-
* @property {string} - The signing certificate from AWS SNS
|
|
16
|
-
*/
|
|
17
|
-
export type AwssnsConfigPayload = z.infer<typeof awssnsConfigPayload>;
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* The shape of the model mapping from the api schema into the application shape.
|
|
21
|
-
* Is equal to application shape if all property names match the api schema
|
|
22
|
-
*/
|
|
23
|
-
export const awssnsConfigPayloadResponse = z.lazy(() => {
|
|
24
|
-
return z
|
|
25
|
-
.object({
|
|
26
|
-
webhook_signing_secret: z.string().min(1),
|
|
27
|
-
})
|
|
28
|
-
.transform((data) => ({
|
|
29
|
-
webhookSigningSecret: data['webhook_signing_secret'],
|
|
30
|
-
}));
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* The shape of the model mapping from the application shape into the api schema.
|
|
35
|
-
* Is equal to application shape if all property names match the api schema
|
|
36
|
-
*/
|
|
37
|
-
export const awssnsConfigPayloadRequest = z.lazy(() => {
|
|
38
|
-
return z
|
|
39
|
-
.object({
|
|
40
|
-
webhookSigningSecret: z.string().min(1),
|
|
41
|
-
})
|
|
42
|
-
.transform((data) => ({
|
|
43
|
-
webhook_signing_secret: data['webhookSigningSecret'],
|
|
44
|
-
}));
|
|
45
|
-
});
|