samva 0.46.0 → 0.47.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/AGENTS.md +13 -7
- package/README.md +107 -9
- package/dist/agent/index.d.ts +56 -0
- package/dist/agent/index.js +52 -0
- package/dist/agent/runtime.d.ts +3 -0
- package/dist/agent/runtime.js +74 -0
- package/dist/agent/test.d.ts +31 -0
- package/dist/agent/test.js +66 -0
- package/dist/agent/types.d.ts +123 -0
- package/dist/client/client/client.gen.d.ts +1 -1
- package/dist/client/client/index.d.ts +10 -10
- package/dist/client/client/types.gen.d.ts +4 -4
- package/dist/client/client/utils.gen.d.ts +2 -2
- package/dist/client/client.gen.d.ts +2 -2
- package/dist/client/core/bodySerializer.gen.d.ts +1 -1
- package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/client/core/types.gen.d.ts +2 -2
- package/dist/client/core/utils.gen.d.ts +1 -1
- package/dist/client/sdk.gen.d.ts +41 -161
- package/dist/client/sdk.gen.js +1302 -1598
- package/dist/client/types.gen.d.ts +377 -966
- package/dist/effect/accounts.d.ts +6 -6
- package/dist/effect/accounts.js +2 -1
- package/dist/effect/agents.d.ts +355 -23
- package/dist/effect/agents.js +6 -3
- package/dist/effect/analytics.d.ts +6 -6
- package/dist/effect/analytics.js +2 -1
- package/dist/effect/api-keys.d.ts +13 -13
- package/dist/effect/api-keys.js +2 -1
- package/dist/effect/approval-requests.d.ts +4 -4
- package/dist/effect/approval-requests.js +2 -1
- package/dist/effect/attachments.d.ts +4 -4
- package/dist/effect/attachments.js +2 -1
- package/dist/effect/brands.d.ts +7 -7
- package/dist/effect/brands.js +2 -1
- package/dist/effect/campaigns.d.ts +205 -205
- package/dist/effect/campaigns.js +2 -1
- package/dist/effect/categories.d.ts +3 -3
- package/dist/effect/client.d.ts +1 -1
- package/dist/effect/contact-groups.d.ts +18 -18
- package/dist/effect/contact-groups.js +2 -1
- package/dist/effect/contacts.d.ts +41 -33
- package/dist/effect/contacts.js +8 -3
- package/dist/effect/conversations.d.ts +17 -17
- package/dist/effect/conversations.js +2 -1
- package/dist/effect/custom-fields.d.ts +4 -4
- package/dist/effect/custom-fields.js +2 -1
- package/dist/effect/descriptors/accounts.d.ts +59 -0
- package/dist/effect/descriptors/accounts.js +57 -0
- package/dist/effect/descriptors/agents.d.ts +129 -0
- package/dist/effect/descriptors/agents.js +127 -0
- package/dist/effect/descriptors/analytics.d.ts +56 -0
- package/dist/effect/descriptors/analytics.js +48 -0
- package/dist/effect/descriptors/api-keys.d.ts +80 -0
- package/dist/effect/descriptors/api-keys.js +80 -0
- package/dist/effect/descriptors/approval-requests.d.ts +41 -0
- package/dist/effect/descriptors/approval-requests.js +43 -0
- package/dist/effect/descriptors/attachments.d.ts +41 -0
- package/dist/effect/descriptors/attachments.js +43 -0
- package/dist/effect/descriptors/brands.d.ts +60 -0
- package/dist/effect/descriptors/brands.js +60 -0
- package/dist/effect/descriptors/campaigns.d.ts +148 -0
- package/dist/effect/descriptors/campaigns.js +144 -0
- package/dist/effect/descriptors/contact-groups.d.ts +99 -0
- package/dist/effect/descriptors/contact-groups.js +97 -0
- package/dist/effect/descriptors/contacts.d.ts +246 -0
- package/dist/effect/descriptors/contacts.js +234 -0
- package/dist/effect/descriptors/conversations.d.ts +130 -0
- package/dist/effect/descriptors/conversations.js +130 -0
- package/dist/effect/descriptors/custom-fields.d.ts +40 -0
- package/dist/effect/descriptors/custom-fields.js +40 -0
- package/dist/effect/descriptors/email.d.ts +607 -0
- package/dist/effect/descriptors/email.js +561 -0
- package/dist/effect/descriptors/events.d.ts +20 -0
- package/dist/effect/descriptors/events.js +20 -0
- package/dist/effect/descriptors/feedback.d.ts +11 -0
- package/dist/effect/descriptors/feedback.js +11 -0
- package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
- package/dist/effect/descriptors/integrations-catalog.js +27 -0
- package/dist/effect/descriptors/integrations.d.ts +70 -0
- package/dist/effect/descriptors/integrations.js +70 -0
- package/dist/effect/descriptors/journeys.d.ts +140 -0
- package/dist/effect/descriptors/journeys.js +140 -0
- package/dist/effect/descriptors/mailboxes.d.ts +724 -0
- package/dist/effect/descriptors/mailboxes.js +728 -0
- package/dist/effect/descriptors/media.d.ts +51 -0
- package/dist/effect/descriptors/media.js +53 -0
- package/dist/effect/descriptors/messages.d.ts +99 -0
- package/dist/effect/descriptors/messages.js +97 -0
- package/dist/effect/descriptors/namespaces.d.ts +110 -0
- package/dist/effect/descriptors/namespaces.js +114 -0
- package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
- package/dist/effect/descriptors/newsletter-domains.js +46 -0
- package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
- package/dist/effect/descriptors/newsletter-issues.js +116 -0
- package/dist/effect/descriptors/newsletters.d.ts +51 -0
- package/dist/effect/descriptors/newsletters.js +53 -0
- package/dist/effect/descriptors/operations.d.ts +31 -0
- package/dist/effect/descriptors/operations.js +33 -0
- package/dist/effect/descriptors/organizations.d.ts +111 -0
- package/dist/effect/descriptors/organizations.js +93 -0
- package/dist/effect/descriptors/policies.d.ts +32 -0
- package/dist/effect/descriptors/policies.js +36 -0
- package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
- package/dist/effect/descriptors/scheduled-messages.js +50 -0
- package/dist/effect/descriptors/subscriptions.d.ts +11 -0
- package/dist/effect/descriptors/subscriptions.js +11 -0
- package/dist/effect/descriptors/template-registrations.d.ts +32 -0
- package/dist/effect/descriptors/template-registrations.js +36 -0
- package/dist/effect/descriptors/template-share-links.d.ts +52 -0
- package/dist/effect/descriptors/template-share-links.js +56 -0
- package/dist/effect/descriptors/templates.d.ts +365 -0
- package/dist/effect/descriptors/templates.js +355 -0
- package/dist/effect/descriptors/topic-forms.d.ts +52 -0
- package/dist/effect/descriptors/topic-forms.js +56 -0
- package/dist/effect/descriptors/topics.d.ts +89 -0
- package/dist/effect/descriptors/topics.js +87 -0
- package/dist/effect/descriptors/webhooks.d.ts +110 -0
- package/dist/effect/descriptors/webhooks.js +110 -0
- package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
- package/dist/effect/descriptors/whats-app-flows.js +97 -0
- package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
- package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
- package/dist/effect/descriptors/whats-app.d.ts +116 -0
- package/dist/effect/descriptors/whats-app.js +108 -0
- package/dist/effect/descriptors/whoami.d.ts +11 -0
- package/dist/effect/descriptors/whoami.js +11 -0
- package/dist/effect/email.d.ts +78 -78
- package/dist/effect/email.js +2 -1
- package/dist/effect/errors.d.ts +2 -2
- package/dist/effect/events.d.ts +3 -3
- package/dist/effect/events.js +2 -1
- package/dist/effect/feedback.d.ts +2 -2
- package/dist/effect/feedback.js +2 -1
- package/dist/effect/generated/accounts.d.ts +19 -9
- package/dist/effect/generated/accounts.js +1 -0
- package/dist/effect/generated/agents.d.ts +2967 -690
- package/dist/effect/generated/agents.js +54 -13
- package/dist/effect/generated/analytics.d.ts +1 -1
- package/dist/effect/generated/api-keys.d.ts +1 -1
- package/dist/effect/generated/approval-requests.d.ts +13 -13
- package/dist/effect/generated/attachments.d.ts +1 -1
- package/dist/effect/generated/brands.d.ts +1 -1
- package/dist/effect/generated/campaigns.d.ts +230 -230
- package/dist/effect/generated/contact-events.d.ts +4 -4
- package/dist/effect/generated/contact-groups.d.ts +1 -1
- package/dist/effect/generated/contacts.d.ts +907 -49
- package/dist/effect/generated/contacts.js +62 -3
- package/dist/effect/generated/conversations.d.ts +1 -1
- package/dist/effect/generated/custom-fields.d.ts +1 -1
- package/dist/effect/generated/email.d.ts +1 -1
- package/dist/effect/generated/events.d.ts +12 -12
- package/dist/effect/generated/feedback.d.ts +1 -1
- package/dist/effect/generated/index.d.ts +84 -88
- package/dist/effect/generated/integrations-catalog.d.ts +3 -3
- package/dist/effect/generated/integrations.d.ts +15 -15
- package/dist/effect/generated/journeys.d.ts +336 -96
- package/dist/effect/generated/journeys.js +3 -1
- package/dist/effect/generated/mailboxes.d.ts +93 -95
- package/dist/effect/generated/mailboxes.js +21 -25
- package/dist/effect/generated/media.d.ts +1 -1
- package/dist/effect/generated/messages.d.ts +1 -1
- package/dist/effect/generated/namespaces.d.ts +1 -1
- package/dist/effect/generated/newsletter-domains.d.ts +1 -1
- package/dist/effect/generated/newsletter-issues.d.ts +1 -1
- package/dist/effect/generated/newsletters.d.ts +1 -1
- package/dist/effect/generated/operations.d.ts +1 -1
- package/dist/effect/generated/organizations.d.ts +1 -1
- package/dist/effect/generated/policies.d.ts +1 -1
- package/dist/effect/generated/scheduled-messages.d.ts +147 -147
- package/dist/effect/generated/shared.d.ts +408 -102
- package/dist/effect/generated/shared.js +80 -36
- package/dist/effect/generated/subscriptions.d.ts +1 -1
- package/dist/effect/generated/template-registrations.d.ts +1 -4
- package/dist/effect/generated/template-registrations.js +2 -6
- package/dist/effect/generated/template-share-links.d.ts +1 -1
- package/dist/effect/generated/templates.d.ts +1 -1
- package/dist/effect/generated/topic-forms.d.ts +1 -1
- package/dist/effect/generated/topics.d.ts +1 -1
- package/dist/effect/generated/webhooks.d.ts +1 -1
- package/dist/effect/generated/whats-app-flows.d.ts +1 -1
- package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
- package/dist/effect/generated/whats-app.d.ts +1 -1
- package/dist/effect/generated/whoami.d.ts +1 -1
- package/dist/effect/generated-metadata.d.ts +18 -84
- package/dist/effect/generated-metadata.js +362 -415
- package/dist/effect/index.d.ts +45 -47
- package/dist/effect/index.js +1 -3
- package/dist/effect/integrations-catalog.d.ts +3 -3
- package/dist/effect/integrations-catalog.js +2 -1
- package/dist/effect/integrations.d.ts +11 -11
- package/dist/effect/integrations.js +2 -1
- package/dist/effect/internal/client.d.ts +3 -3
- package/dist/effect/internal/client.js +1 -1
- package/dist/effect/internal/email-sender.d.ts +4 -4
- package/dist/effect/internal/mailbox-events.d.ts +2 -2
- package/dist/effect/internal/operation.d.ts +24 -5
- package/dist/effect/internal/operation.js +25 -22
- package/dist/effect/internal/send.d.ts +4 -4
- package/dist/effect/journeys.d.ts +46 -22
- package/dist/effect/journeys.js +2 -1
- package/dist/effect/mailboxes.d.ts +163 -163
- package/dist/effect/mailboxes.js +2 -1
- package/dist/effect/media.d.ts +5 -5
- package/dist/effect/media.js +2 -1
- package/dist/effect/messages.d.ts +17 -17
- package/dist/effect/messages.js +2 -1
- package/dist/effect/namespaces.d.ts +15 -15
- package/dist/effect/namespaces.js +2 -1
- package/dist/effect/newsletter-domains.d.ts +6 -6
- package/dist/effect/newsletter-domains.js +2 -1
- package/dist/effect/newsletter-issues.d.ts +11 -11
- package/dist/effect/newsletter-issues.js +2 -1
- package/dist/effect/newsletters.d.ts +5 -5
- package/dist/effect/newsletters.js +2 -1
- package/dist/effect/operations.d.ts +5 -5
- package/dist/effect/operations.js +2 -1
- package/dist/effect/organizations.d.ts +12 -12
- package/dist/effect/organizations.js +2 -1
- package/dist/effect/policies.d.ts +3 -3
- package/dist/effect/policies.js +2 -1
- package/dist/effect/scheduled-messages.d.ts +371 -371
- package/dist/effect/scheduled-messages.js +2 -1
- package/dist/effect/subscriptions.d.ts +1 -1
- package/dist/effect/subscriptions.js +2 -1
- package/dist/effect/template-registrations.d.ts +3 -3
- package/dist/effect/template-registrations.js +2 -1
- package/dist/effect/template-share-links.d.ts +5 -5
- package/dist/effect/template-share-links.js +2 -1
- package/dist/effect/templates.d.ts +46 -46
- package/dist/effect/templates.js +2 -1
- package/dist/effect/topic-forms.d.ts +5 -5
- package/dist/effect/topic-forms.js +2 -1
- package/dist/effect/topics.d.ts +13 -13
- package/dist/effect/topics.js +2 -1
- package/dist/effect/webhooks.d.ts +16 -16
- package/dist/effect/webhooks.js +2 -1
- package/dist/effect/whatsapp-flows.d.ts +10 -10
- package/dist/effect/whatsapp-flows.js +2 -1
- package/dist/effect/whatsapp-setup-links.d.ts +6 -6
- package/dist/effect/whatsapp-setup-links.js +2 -1
- package/dist/effect/whatsapp.d.ts +12 -12
- package/dist/effect/whatsapp.js +2 -1
- package/dist/effect/whoami.d.ts +1 -1
- package/dist/effect/whoami.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/package.js +1 -1
- package/dist/promises/client.d.ts +10 -14
- package/dist/promises/client.js +3 -7
- package/dist/promises/errors.gen.d.ts +1 -1
- package/dist/promises/index.d.ts +5 -5
- package/dist/promises/request.d.ts +2 -2
- package/dist/promises/request.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/request-policy.d.ts +10 -2
- package/dist/request-policy.js +3 -5
- package/dist/service-map.d.ts +18 -75
- package/package.json +17 -29
- package/dist/effect/extension-installations.d.ts +0 -132
- package/dist/effect/extension-installations.js +0 -28
- package/dist/effect/extensions.d.ts +0 -102
- package/dist/effect/extensions.js +0 -20
- package/dist/effect/generated/extension-installations.d.ts +0 -2761
- package/dist/effect/generated/extension-installations.js +0 -405
- package/dist/effect/generated/extensions.d.ts +0 -1037
- package/dist/effect/generated/extensions.js +0 -214
- package/dist/mailbox/dispatch.d.ts +0 -10
- package/dist/mailbox/dispatch.js +0 -66
- package/dist/mailbox/index.d.ts +0 -17
- package/dist/mailbox/index.js +0 -30
- package/dist/mailbox/test.d.ts +0 -25
- package/dist/mailbox/test.js +0 -181
- package/dist/mailbox/types.d.ts +0 -221
- package/dist/mailbox/webhook.d.ts +0 -10
- package/dist/mailbox/webhook.js +0 -41
- package/dist/service-map.js +0 -830
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
// src/effect/descriptors/templates.ts
|
|
2
|
+
const templatesOperations = {
|
|
3
|
+
templatesList: {
|
|
4
|
+
group: "Templates",
|
|
5
|
+
method: "GET",
|
|
6
|
+
idempotent: false,
|
|
7
|
+
paginated: true,
|
|
8
|
+
call: { kind: "params" }
|
|
9
|
+
},
|
|
10
|
+
templatesCreate: {
|
|
11
|
+
group: "Templates",
|
|
12
|
+
method: "POST",
|
|
13
|
+
idempotent: true,
|
|
14
|
+
paginated: false,
|
|
15
|
+
call: { kind: "payload" }
|
|
16
|
+
},
|
|
17
|
+
templatesListFamilies: {
|
|
18
|
+
group: "Templates",
|
|
19
|
+
method: "GET",
|
|
20
|
+
idempotent: false,
|
|
21
|
+
paginated: true,
|
|
22
|
+
call: { kind: "params" }
|
|
23
|
+
},
|
|
24
|
+
templatesCreateFamily: {
|
|
25
|
+
group: "Templates",
|
|
26
|
+
method: "POST",
|
|
27
|
+
idempotent: false,
|
|
28
|
+
paginated: false,
|
|
29
|
+
call: { kind: "payload" }
|
|
30
|
+
},
|
|
31
|
+
templatesGetFamily: {
|
|
32
|
+
group: "Templates",
|
|
33
|
+
method: "GET",
|
|
34
|
+
idempotent: false,
|
|
35
|
+
paginated: false,
|
|
36
|
+
call: {
|
|
37
|
+
kind: "path",
|
|
38
|
+
paths: ["id"]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
templatesRenameFamily: {
|
|
42
|
+
group: "Templates",
|
|
43
|
+
method: "PATCH",
|
|
44
|
+
idempotent: false,
|
|
45
|
+
paginated: false,
|
|
46
|
+
call: {
|
|
47
|
+
kind: "pathPayload",
|
|
48
|
+
paths: ["id"]
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
templatesDeleteFamily: {
|
|
52
|
+
group: "Templates",
|
|
53
|
+
method: "DELETE",
|
|
54
|
+
idempotent: false,
|
|
55
|
+
paginated: false,
|
|
56
|
+
call: {
|
|
57
|
+
kind: "path",
|
|
58
|
+
paths: ["id"]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
templatesCreateFamilyFromTemplate: {
|
|
62
|
+
group: "Templates",
|
|
63
|
+
method: "POST",
|
|
64
|
+
idempotent: false,
|
|
65
|
+
paginated: false,
|
|
66
|
+
call: {
|
|
67
|
+
kind: "pathPayload",
|
|
68
|
+
paths: ["templateId"]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
templatesAttachFamilyMember: {
|
|
72
|
+
group: "Templates",
|
|
73
|
+
method: "POST",
|
|
74
|
+
idempotent: false,
|
|
75
|
+
paginated: false,
|
|
76
|
+
call: {
|
|
77
|
+
kind: "path",
|
|
78
|
+
paths: ["id", "templateId"]
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
templatesDetachFamilyMember: {
|
|
82
|
+
group: "Templates",
|
|
83
|
+
method: "DELETE",
|
|
84
|
+
idempotent: false,
|
|
85
|
+
paginated: false,
|
|
86
|
+
call: {
|
|
87
|
+
kind: "path",
|
|
88
|
+
paths: ["id", "templateId"]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
templatesGetById: {
|
|
92
|
+
group: "Templates",
|
|
93
|
+
method: "GET",
|
|
94
|
+
idempotent: false,
|
|
95
|
+
paginated: false,
|
|
96
|
+
call: {
|
|
97
|
+
kind: "path",
|
|
98
|
+
paths: ["id"]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
templatesUpdate: {
|
|
102
|
+
group: "Templates",
|
|
103
|
+
method: "PATCH",
|
|
104
|
+
idempotent: false,
|
|
105
|
+
paginated: false,
|
|
106
|
+
call: {
|
|
107
|
+
kind: "pathPayload",
|
|
108
|
+
paths: ["id"]
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
templatesDelete: {
|
|
112
|
+
group: "Templates",
|
|
113
|
+
method: "DELETE",
|
|
114
|
+
idempotent: false,
|
|
115
|
+
paginated: false,
|
|
116
|
+
call: {
|
|
117
|
+
kind: "path",
|
|
118
|
+
paths: ["id"]
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
templatesSuggestStarters: {
|
|
122
|
+
group: "Templates",
|
|
123
|
+
method: "POST",
|
|
124
|
+
idempotent: false,
|
|
125
|
+
paginated: false,
|
|
126
|
+
call: { kind: "payload" }
|
|
127
|
+
},
|
|
128
|
+
templatesCreateFromBrief: {
|
|
129
|
+
group: "Templates",
|
|
130
|
+
method: "POST",
|
|
131
|
+
idempotent: true,
|
|
132
|
+
paginated: false,
|
|
133
|
+
call: { kind: "payload" }
|
|
134
|
+
},
|
|
135
|
+
templatesCreateFromWebsite: {
|
|
136
|
+
group: "Templates",
|
|
137
|
+
method: "POST",
|
|
138
|
+
idempotent: true,
|
|
139
|
+
paginated: false,
|
|
140
|
+
call: { kind: "payload" }
|
|
141
|
+
},
|
|
142
|
+
templatesAddEntry: {
|
|
143
|
+
group: "Templates",
|
|
144
|
+
method: "POST",
|
|
145
|
+
idempotent: false,
|
|
146
|
+
paginated: false,
|
|
147
|
+
call: {
|
|
148
|
+
kind: "pathPayload",
|
|
149
|
+
paths: ["id"]
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
templatesDeleteProject: {
|
|
153
|
+
group: "Templates",
|
|
154
|
+
method: "DELETE",
|
|
155
|
+
idempotent: false,
|
|
156
|
+
paginated: false,
|
|
157
|
+
call: {
|
|
158
|
+
kind: "path",
|
|
159
|
+
paths: ["id"]
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
templatesOpenWorkspace: {
|
|
163
|
+
group: "Templates",
|
|
164
|
+
method: "POST",
|
|
165
|
+
idempotent: false,
|
|
166
|
+
paginated: false,
|
|
167
|
+
call: {
|
|
168
|
+
kind: "path",
|
|
169
|
+
paths: ["id"]
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
templatesPatchWorkspace: {
|
|
173
|
+
group: "Templates",
|
|
174
|
+
method: "PATCH",
|
|
175
|
+
idempotent: true,
|
|
176
|
+
paginated: false,
|
|
177
|
+
call: {
|
|
178
|
+
kind: "pathPayload",
|
|
179
|
+
paths: ["id"]
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
templatesDiffWorkspace: {
|
|
183
|
+
group: "Templates",
|
|
184
|
+
method: "POST",
|
|
185
|
+
idempotent: false,
|
|
186
|
+
paginated: false,
|
|
187
|
+
call: {
|
|
188
|
+
kind: "pathPayload",
|
|
189
|
+
paths: ["id"]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
templatesPutWorkspaceAsset: {
|
|
193
|
+
group: "Templates",
|
|
194
|
+
method: "PUT",
|
|
195
|
+
idempotent: true,
|
|
196
|
+
paginated: false,
|
|
197
|
+
call: {
|
|
198
|
+
kind: "pathPayload",
|
|
199
|
+
paths: ["id"]
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
templatesResolveWorkspaceConflict: {
|
|
203
|
+
group: "Templates",
|
|
204
|
+
method: "POST",
|
|
205
|
+
idempotent: true,
|
|
206
|
+
paginated: false,
|
|
207
|
+
call: {
|
|
208
|
+
kind: "pathPayload",
|
|
209
|
+
paths: ["id"]
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
templatesSaveWorkspace: {
|
|
213
|
+
group: "Templates",
|
|
214
|
+
method: "POST",
|
|
215
|
+
idempotent: true,
|
|
216
|
+
paginated: false,
|
|
217
|
+
call: {
|
|
218
|
+
kind: "pathPayload",
|
|
219
|
+
paths: ["id"]
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
templatesRestoreWorkspace: {
|
|
223
|
+
group: "Templates",
|
|
224
|
+
method: "POST",
|
|
225
|
+
idempotent: true,
|
|
226
|
+
paginated: false,
|
|
227
|
+
call: {
|
|
228
|
+
kind: "pathPayload",
|
|
229
|
+
paths: ["id"]
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
templatesWorkspaceHistory: {
|
|
233
|
+
group: "Templates",
|
|
234
|
+
method: "GET",
|
|
235
|
+
idempotent: false,
|
|
236
|
+
paginated: false,
|
|
237
|
+
call: {
|
|
238
|
+
kind: "pathParams",
|
|
239
|
+
paths: ["id"]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
templatesCheckWorkspace: {
|
|
243
|
+
group: "Templates",
|
|
244
|
+
method: "POST",
|
|
245
|
+
idempotent: false,
|
|
246
|
+
paginated: false,
|
|
247
|
+
call: {
|
|
248
|
+
kind: "pathPayload",
|
|
249
|
+
paths: ["id"]
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
templatesRenderWorkspaceFixture: {
|
|
253
|
+
group: "Templates",
|
|
254
|
+
method: "POST",
|
|
255
|
+
idempotent: false,
|
|
256
|
+
paginated: false,
|
|
257
|
+
call: {
|
|
258
|
+
kind: "pathPayload",
|
|
259
|
+
paths: ["id"]
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
templatesPublish: {
|
|
263
|
+
group: "Templates",
|
|
264
|
+
method: "POST",
|
|
265
|
+
idempotent: false,
|
|
266
|
+
paginated: false,
|
|
267
|
+
call: {
|
|
268
|
+
kind: "pathPayload",
|
|
269
|
+
paths: ["id"]
|
|
270
|
+
}
|
|
271
|
+
},
|
|
272
|
+
templatesGetPublication: {
|
|
273
|
+
group: "Templates",
|
|
274
|
+
method: "GET",
|
|
275
|
+
idempotent: false,
|
|
276
|
+
paginated: false,
|
|
277
|
+
call: {
|
|
278
|
+
kind: "path",
|
|
279
|
+
paths: ["id", "publicationId"]
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
templatesRenderPublication: {
|
|
283
|
+
group: "Templates",
|
|
284
|
+
method: "POST",
|
|
285
|
+
idempotent: false,
|
|
286
|
+
paginated: false,
|
|
287
|
+
call: {
|
|
288
|
+
kind: "pathPayload",
|
|
289
|
+
paths: ["id", "publicationId"]
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
templatesListInputContracts: {
|
|
293
|
+
group: "Templates",
|
|
294
|
+
method: "GET",
|
|
295
|
+
idempotent: false,
|
|
296
|
+
paginated: true,
|
|
297
|
+
call: {
|
|
298
|
+
kind: "pathParams",
|
|
299
|
+
paths: ["id"]
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
templatesGetInputContract: {
|
|
303
|
+
group: "Templates",
|
|
304
|
+
method: "GET",
|
|
305
|
+
idempotent: false,
|
|
306
|
+
paginated: false,
|
|
307
|
+
call: {
|
|
308
|
+
kind: "path",
|
|
309
|
+
paths: ["id", "inputContractId"]
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
templatesGetGitRepository: {
|
|
313
|
+
group: "Templates",
|
|
314
|
+
method: "GET",
|
|
315
|
+
idempotent: false,
|
|
316
|
+
paginated: false,
|
|
317
|
+
call: {
|
|
318
|
+
kind: "path",
|
|
319
|
+
paths: ["id"]
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
templatesIssueGitCredential: {
|
|
323
|
+
group: "Templates",
|
|
324
|
+
method: "POST",
|
|
325
|
+
idempotent: false,
|
|
326
|
+
paginated: false,
|
|
327
|
+
call: {
|
|
328
|
+
kind: "pathPayload",
|
|
329
|
+
paths: ["id"]
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
templatesAttachWorkspaceResource: {
|
|
333
|
+
group: "Templates",
|
|
334
|
+
method: "POST",
|
|
335
|
+
idempotent: true,
|
|
336
|
+
paginated: false,
|
|
337
|
+
call: {
|
|
338
|
+
kind: "pathPayload",
|
|
339
|
+
paths: ["id"]
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
templatesRemoveWorkspaceResource: {
|
|
343
|
+
group: "Templates",
|
|
344
|
+
method: "POST",
|
|
345
|
+
idempotent: true,
|
|
346
|
+
paginated: false,
|
|
347
|
+
call: {
|
|
348
|
+
kind: "pathPayload",
|
|
349
|
+
paths: ["id", "resourceId"]
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
};
|
|
353
|
+
export { templatesOperations };
|
|
354
|
+
|
|
355
|
+
//# sourceMappingURL=templates.js.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare const topicFormsOperations: {
|
|
2
|
+
readonly topicFormsList: {
|
|
3
|
+
readonly group: "Topic forms";
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly idempotent: false;
|
|
6
|
+
readonly paginated: false;
|
|
7
|
+
readonly call: {
|
|
8
|
+
readonly kind: "path";
|
|
9
|
+
readonly paths: readonly ["id"];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
readonly topicFormsCreate: {
|
|
13
|
+
readonly group: "Topic forms";
|
|
14
|
+
readonly method: "POST";
|
|
15
|
+
readonly idempotent: false;
|
|
16
|
+
readonly paginated: false;
|
|
17
|
+
readonly call: {
|
|
18
|
+
readonly kind: "pathPayload";
|
|
19
|
+
readonly paths: readonly ["id"];
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
readonly topicFormsGet: {
|
|
23
|
+
readonly group: "Topic forms";
|
|
24
|
+
readonly method: "GET";
|
|
25
|
+
readonly idempotent: false;
|
|
26
|
+
readonly paginated: false;
|
|
27
|
+
readonly call: {
|
|
28
|
+
readonly kind: "path";
|
|
29
|
+
readonly paths: readonly ["id", "formId"];
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
readonly topicFormsUpdate: {
|
|
33
|
+
readonly group: "Topic forms";
|
|
34
|
+
readonly method: "PATCH";
|
|
35
|
+
readonly idempotent: false;
|
|
36
|
+
readonly paginated: false;
|
|
37
|
+
readonly call: {
|
|
38
|
+
readonly kind: "pathPayload";
|
|
39
|
+
readonly paths: readonly ["id", "formId"];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
readonly topicFormsRemove: {
|
|
43
|
+
readonly group: "Topic forms";
|
|
44
|
+
readonly method: "DELETE";
|
|
45
|
+
readonly idempotent: false;
|
|
46
|
+
readonly paginated: false;
|
|
47
|
+
readonly call: {
|
|
48
|
+
readonly kind: "path";
|
|
49
|
+
readonly paths: readonly ["id", "formId"];
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// src/effect/descriptors/topic-forms.ts
|
|
2
|
+
const topicFormsOperations = {
|
|
3
|
+
topicFormsList: {
|
|
4
|
+
group: "Topic forms",
|
|
5
|
+
method: "GET",
|
|
6
|
+
idempotent: false,
|
|
7
|
+
paginated: false,
|
|
8
|
+
call: {
|
|
9
|
+
kind: "path",
|
|
10
|
+
paths: ["id"]
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
topicFormsCreate: {
|
|
14
|
+
group: "Topic forms",
|
|
15
|
+
method: "POST",
|
|
16
|
+
idempotent: false,
|
|
17
|
+
paginated: false,
|
|
18
|
+
call: {
|
|
19
|
+
kind: "pathPayload",
|
|
20
|
+
paths: ["id"]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
topicFormsGet: {
|
|
24
|
+
group: "Topic forms",
|
|
25
|
+
method: "GET",
|
|
26
|
+
idempotent: false,
|
|
27
|
+
paginated: false,
|
|
28
|
+
call: {
|
|
29
|
+
kind: "path",
|
|
30
|
+
paths: ["id", "formId"]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
topicFormsUpdate: {
|
|
34
|
+
group: "Topic forms",
|
|
35
|
+
method: "PATCH",
|
|
36
|
+
idempotent: false,
|
|
37
|
+
paginated: false,
|
|
38
|
+
call: {
|
|
39
|
+
kind: "pathPayload",
|
|
40
|
+
paths: ["id", "formId"]
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
topicFormsRemove: {
|
|
44
|
+
group: "Topic forms",
|
|
45
|
+
method: "DELETE",
|
|
46
|
+
idempotent: false,
|
|
47
|
+
paginated: false,
|
|
48
|
+
call: {
|
|
49
|
+
kind: "path",
|
|
50
|
+
paths: ["id", "formId"]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
export { topicFormsOperations };
|
|
55
|
+
|
|
56
|
+
//# sourceMappingURL=topic-forms.js.map
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
export declare const topicsOperations: {
|
|
2
|
+
readonly topicsList: {
|
|
3
|
+
readonly group: "Topics";
|
|
4
|
+
readonly method: "GET";
|
|
5
|
+
readonly idempotent: false;
|
|
6
|
+
readonly paginated: false;
|
|
7
|
+
readonly call: {
|
|
8
|
+
readonly kind: "params";
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
readonly topicsCreate: {
|
|
12
|
+
readonly group: "Topics";
|
|
13
|
+
readonly method: "POST";
|
|
14
|
+
readonly idempotent: false;
|
|
15
|
+
readonly paginated: false;
|
|
16
|
+
readonly call: {
|
|
17
|
+
readonly kind: "payload";
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
readonly topicsCheckSubscription: {
|
|
21
|
+
readonly group: "Topics";
|
|
22
|
+
readonly method: "GET";
|
|
23
|
+
readonly idempotent: false;
|
|
24
|
+
readonly paginated: false;
|
|
25
|
+
readonly call: {
|
|
26
|
+
readonly kind: "params";
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
readonly topicsGet: {
|
|
30
|
+
readonly group: "Topics";
|
|
31
|
+
readonly method: "GET";
|
|
32
|
+
readonly idempotent: false;
|
|
33
|
+
readonly paginated: false;
|
|
34
|
+
readonly call: {
|
|
35
|
+
readonly kind: "path";
|
|
36
|
+
readonly paths: readonly ["id"];
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
readonly topicsUpdate: {
|
|
40
|
+
readonly group: "Topics";
|
|
41
|
+
readonly method: "PATCH";
|
|
42
|
+
readonly idempotent: false;
|
|
43
|
+
readonly paginated: false;
|
|
44
|
+
readonly call: {
|
|
45
|
+
readonly kind: "pathPayload";
|
|
46
|
+
readonly paths: readonly ["id"];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
readonly topicsRemove: {
|
|
50
|
+
readonly group: "Topics";
|
|
51
|
+
readonly method: "DELETE";
|
|
52
|
+
readonly idempotent: false;
|
|
53
|
+
readonly paginated: false;
|
|
54
|
+
readonly call: {
|
|
55
|
+
readonly kind: "path";
|
|
56
|
+
readonly paths: readonly ["id"];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
readonly topicsSetDefault: {
|
|
60
|
+
readonly group: "Topics";
|
|
61
|
+
readonly method: "POST";
|
|
62
|
+
readonly idempotent: false;
|
|
63
|
+
readonly paginated: false;
|
|
64
|
+
readonly call: {
|
|
65
|
+
readonly kind: "path";
|
|
66
|
+
readonly paths: readonly ["id"];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
readonly topicsListSubscriptions: {
|
|
70
|
+
readonly group: "Topics";
|
|
71
|
+
readonly method: "GET";
|
|
72
|
+
readonly idempotent: false;
|
|
73
|
+
readonly paginated: true;
|
|
74
|
+
readonly call: {
|
|
75
|
+
readonly kind: "pathParams";
|
|
76
|
+
readonly paths: readonly ["id"];
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly topicsSetSubscriptions: {
|
|
80
|
+
readonly group: "Topics";
|
|
81
|
+
readonly method: "POST";
|
|
82
|
+
readonly idempotent: false;
|
|
83
|
+
readonly paginated: false;
|
|
84
|
+
readonly call: {
|
|
85
|
+
readonly kind: "pathPayload";
|
|
86
|
+
readonly paths: readonly ["id"];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// src/effect/descriptors/topics.ts
|
|
2
|
+
const topicsOperations = {
|
|
3
|
+
topicsList: {
|
|
4
|
+
group: "Topics",
|
|
5
|
+
method: "GET",
|
|
6
|
+
idempotent: false,
|
|
7
|
+
paginated: false,
|
|
8
|
+
call: { kind: "params" }
|
|
9
|
+
},
|
|
10
|
+
topicsCreate: {
|
|
11
|
+
group: "Topics",
|
|
12
|
+
method: "POST",
|
|
13
|
+
idempotent: false,
|
|
14
|
+
paginated: false,
|
|
15
|
+
call: { kind: "payload" }
|
|
16
|
+
},
|
|
17
|
+
topicsCheckSubscription: {
|
|
18
|
+
group: "Topics",
|
|
19
|
+
method: "GET",
|
|
20
|
+
idempotent: false,
|
|
21
|
+
paginated: false,
|
|
22
|
+
call: { kind: "params" }
|
|
23
|
+
},
|
|
24
|
+
topicsGet: {
|
|
25
|
+
group: "Topics",
|
|
26
|
+
method: "GET",
|
|
27
|
+
idempotent: false,
|
|
28
|
+
paginated: false,
|
|
29
|
+
call: {
|
|
30
|
+
kind: "path",
|
|
31
|
+
paths: ["id"]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
topicsUpdate: {
|
|
35
|
+
group: "Topics",
|
|
36
|
+
method: "PATCH",
|
|
37
|
+
idempotent: false,
|
|
38
|
+
paginated: false,
|
|
39
|
+
call: {
|
|
40
|
+
kind: "pathPayload",
|
|
41
|
+
paths: ["id"]
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
topicsRemove: {
|
|
45
|
+
group: "Topics",
|
|
46
|
+
method: "DELETE",
|
|
47
|
+
idempotent: false,
|
|
48
|
+
paginated: false,
|
|
49
|
+
call: {
|
|
50
|
+
kind: "path",
|
|
51
|
+
paths: ["id"]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
topicsSetDefault: {
|
|
55
|
+
group: "Topics",
|
|
56
|
+
method: "POST",
|
|
57
|
+
idempotent: false,
|
|
58
|
+
paginated: false,
|
|
59
|
+
call: {
|
|
60
|
+
kind: "path",
|
|
61
|
+
paths: ["id"]
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
topicsListSubscriptions: {
|
|
65
|
+
group: "Topics",
|
|
66
|
+
method: "GET",
|
|
67
|
+
idempotent: false,
|
|
68
|
+
paginated: true,
|
|
69
|
+
call: {
|
|
70
|
+
kind: "pathParams",
|
|
71
|
+
paths: ["id"]
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
topicsSetSubscriptions: {
|
|
75
|
+
group: "Topics",
|
|
76
|
+
method: "POST",
|
|
77
|
+
idempotent: false,
|
|
78
|
+
paginated: false,
|
|
79
|
+
call: {
|
|
80
|
+
kind: "pathPayload",
|
|
81
|
+
paths: ["id"]
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
};
|
|
85
|
+
export { topicsOperations };
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=topics.js.map
|