@botpress/client 0.23.2 → 0.24.1

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 (145) hide show
  1. package/.turbo/turbo-build.log +12 -6
  2. package/.turbo/turbo-generate.log +1 -1
  3. package/dist/bundle.cjs.map +1 -1
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +10936 -4
  6. package/dist/index.mjs.map +1 -1
  7. package/package.json +4 -3
  8. package/dist/client.d.ts +0 -10
  9. package/dist/config.d.ts +0 -2
  10. package/dist/errors.d.ts +0 -41
  11. package/dist/gen/errors.d.ts +0 -211
  12. package/dist/gen/index.d.ts +0 -401
  13. package/dist/gen/models.d.ts +0 -1269
  14. package/dist/gen/operations/addParticipant.d.ts +0 -56
  15. package/dist/gen/operations/breakDownWorkspaceUsageByBot.d.ts +0 -27
  16. package/dist/gen/operations/callAction.d.ts +0 -36
  17. package/dist/gen/operations/changeAISpendQuota.d.ts +0 -21
  18. package/dist/gen/operations/chargeWorkspaceUnpaidInvoices.d.ts +0 -40
  19. package/dist/gen/operations/checkHandleAvailability.d.ts +0 -24
  20. package/dist/gen/operations/configureIntegration.d.ts +0 -24
  21. package/dist/gen/operations/createBot.d.ts +0 -487
  22. package/dist/gen/operations/createBotVersion.d.ts +0 -28
  23. package/dist/gen/operations/createConversation.d.ts +0 -70
  24. package/dist/gen/operations/createEvent.d.ts +0 -95
  25. package/dist/gen/operations/createIntegration.d.ts +0 -573
  26. package/dist/gen/operations/createIntegrationApiKey.d.ts +0 -29
  27. package/dist/gen/operations/createInterface.d.ts +0 -172
  28. package/dist/gen/operations/createMessage.d.ts +0 -98
  29. package/dist/gen/operations/createPersonalAccessToken.d.ts +0 -33
  30. package/dist/gen/operations/createTable.d.ts +0 -151
  31. package/dist/gen/operations/createTableRows.d.ts +0 -71
  32. package/dist/gen/operations/createTask.d.ts +0 -125
  33. package/dist/gen/operations/createUser.d.ts +0 -70
  34. package/dist/gen/operations/createWorkspace.d.ts +0 -38
  35. package/dist/gen/operations/createWorkspaceMember.d.ts +0 -29
  36. package/dist/gen/operations/deleteBot.d.ts +0 -21
  37. package/dist/gen/operations/deleteBotIssue.d.ts +0 -22
  38. package/dist/gen/operations/deleteConversation.d.ts +0 -21
  39. package/dist/gen/operations/deleteFile.d.ts +0 -21
  40. package/dist/gen/operations/deleteIntegration.d.ts +0 -21
  41. package/dist/gen/operations/deleteIntegrationApiKey.d.ts +0 -21
  42. package/dist/gen/operations/deleteInterface.d.ts +0 -21
  43. package/dist/gen/operations/deleteMessage.d.ts +0 -21
  44. package/dist/gen/operations/deletePersonalAccessToken.d.ts +0 -21
  45. package/dist/gen/operations/deleteTable.d.ts +0 -21
  46. package/dist/gen/operations/deleteTableRows.d.ts +0 -36
  47. package/dist/gen/operations/deleteTask.d.ts +0 -21
  48. package/dist/gen/operations/deleteUser.d.ts +0 -21
  49. package/dist/gen/operations/deleteWorkspace.d.ts +0 -21
  50. package/dist/gen/operations/deleteWorkspaceMember.d.ts +0 -21
  51. package/dist/gen/operations/deployBotVersion.d.ts +0 -22
  52. package/dist/gen/operations/duplicateTable.d.ts +0 -137
  53. package/dist/gen/operations/findTableRows.d.ts +0 -94
  54. package/dist/gen/operations/getAccount.d.ts +0 -31
  55. package/dist/gen/operations/getAccountPreference.d.ts +0 -22
  56. package/dist/gen/operations/getAllWorkspaceQuotaCompletion.d.ts +0 -24
  57. package/dist/gen/operations/getAuditRecords.d.ts +0 -38
  58. package/dist/gen/operations/getBot.d.ts +0 -308
  59. package/dist/gen/operations/getBotAnalytics.d.ts +0 -49
  60. package/dist/gen/operations/getBotIssue.d.ts +0 -39
  61. package/dist/gen/operations/getBotLogs.d.ts +0 -30
  62. package/dist/gen/operations/getBotVersion.d.ts +0 -23
  63. package/dist/gen/operations/getBotWebchat.d.ts +0 -23
  64. package/dist/gen/operations/getConversation.d.ts +0 -56
  65. package/dist/gen/operations/getEvent.d.ts +0 -61
  66. package/dist/gen/operations/getFile.d.ts +0 -85
  67. package/dist/gen/operations/getIntegration.d.ts +0 -315
  68. package/dist/gen/operations/getIntegrationByName.d.ts +0 -316
  69. package/dist/gen/operations/getIntegrationLogs.d.ts +0 -30
  70. package/dist/gen/operations/getInterface.d.ts +0 -104
  71. package/dist/gen/operations/getInterfaceByName.d.ts +0 -105
  72. package/dist/gen/operations/getMessage.d.ts +0 -62
  73. package/dist/gen/operations/getMultipleUsages.d.ts +0 -45
  74. package/dist/gen/operations/getOrCreateConversation.d.ts +0 -70
  75. package/dist/gen/operations/getOrCreateMessage.d.ts +0 -98
  76. package/dist/gen/operations/getOrCreateTable.d.ts +0 -164
  77. package/dist/gen/operations/getOrCreateUser.d.ts +0 -70
  78. package/dist/gen/operations/getOrSetState.d.ts +0 -76
  79. package/dist/gen/operations/getParticipant.d.ts +0 -53
  80. package/dist/gen/operations/getPublicIntegration.d.ts +0 -321
  81. package/dist/gen/operations/getPublicIntegrationById.d.ts +0 -320
  82. package/dist/gen/operations/getPublicWorkspace.d.ts +0 -31
  83. package/dist/gen/operations/getState.d.ts +0 -66
  84. package/dist/gen/operations/getTable.d.ts +0 -136
  85. package/dist/gen/operations/getTableRow.d.ts +0 -53
  86. package/dist/gen/operations/getTask.d.ts +0 -86
  87. package/dist/gen/operations/getUpcomingInvoice.d.ts +0 -29
  88. package/dist/gen/operations/getUsage.d.ts +0 -45
  89. package/dist/gen/operations/getUser.d.ts +0 -52
  90. package/dist/gen/operations/getWorkspace.d.ts +0 -38
  91. package/dist/gen/operations/getWorkspaceMember.d.ts +0 -27
  92. package/dist/gen/operations/getWorkspaceQuota.d.ts +0 -37
  93. package/dist/gen/operations/introspect.d.ts +0 -24
  94. package/dist/gen/operations/listActivities.d.ts +0 -42
  95. package/dist/gen/operations/listBotIssueEvents.d.ts +0 -32
  96. package/dist/gen/operations/listBotIssues.d.ts +0 -45
  97. package/dist/gen/operations/listBotVersions.d.ts +0 -26
  98. package/dist/gen/operations/listBots.d.ts +0 -46
  99. package/dist/gen/operations/listConversations.d.ts +0 -64
  100. package/dist/gen/operations/listEvents.d.ts +0 -69
  101. package/dist/gen/operations/listFiles.d.ts +0 -94
  102. package/dist/gen/operations/listIntegrationApiKeys.d.ts +0 -26
  103. package/dist/gen/operations/listIntegrations.d.ts +0 -68
  104. package/dist/gen/operations/listInterfaces.d.ts +0 -49
  105. package/dist/gen/operations/listMessages.d.ts +0 -69
  106. package/dist/gen/operations/listParticipants.d.ts +0 -56
  107. package/dist/gen/operations/listPersonalAccessTokens.d.ts +0 -25
  108. package/dist/gen/operations/listPublicIntegrations.d.ts +0 -72
  109. package/dist/gen/operations/listPublicWorkspaces.d.ts +0 -42
  110. package/dist/gen/operations/listTables.d.ts +0 -126
  111. package/dist/gen/operations/listTasks.d.ts +0 -97
  112. package/dist/gen/operations/listUsageHistory.d.ts +0 -44
  113. package/dist/gen/operations/listUsers.d.ts +0 -59
  114. package/dist/gen/operations/listWorkspaceInvoices.d.ts +0 -57
  115. package/dist/gen/operations/listWorkspaceMembers.d.ts +0 -36
  116. package/dist/gen/operations/listWorkspaceQuotas.d.ts +0 -36
  117. package/dist/gen/operations/listWorkspaceUsages.d.ts +0 -45
  118. package/dist/gen/operations/listWorkspaces.d.ts +0 -47
  119. package/dist/gen/operations/patchState.d.ts +0 -72
  120. package/dist/gen/operations/removeParticipant.d.ts +0 -22
  121. package/dist/gen/operations/renameTableColumn.d.ts +0 -132
  122. package/dist/gen/operations/runVrl.d.ts +0 -28
  123. package/dist/gen/operations/searchFiles.d.ts +0 -56
  124. package/dist/gen/operations/setAccountPreference.d.ts +0 -22
  125. package/dist/gen/operations/setState.d.ts +0 -76
  126. package/dist/gen/operations/setWorkspacePaymentMethod.d.ts +0 -37
  127. package/dist/gen/operations/trackAnalytics.d.ts +0 -22
  128. package/dist/gen/operations/transferBot.d.ts +0 -25
  129. package/dist/gen/operations/updateAccount.d.ts +0 -34
  130. package/dist/gen/operations/updateBot.d.ts +0 -486
  131. package/dist/gen/operations/updateConversation.d.ts +0 -63
  132. package/dist/gen/operations/updateFileMetadata.d.ts +0 -95
  133. package/dist/gen/operations/updateIntegration.d.ts +0 -562
  134. package/dist/gen/operations/updateInterface.d.ts +0 -165
  135. package/dist/gen/operations/updateMessage.d.ts +0 -68
  136. package/dist/gen/operations/updateTable.d.ts +0 -152
  137. package/dist/gen/operations/updateTableRows.d.ts +0 -74
  138. package/dist/gen/operations/updateTask.d.ts +0 -114
  139. package/dist/gen/operations/updateUser.d.ts +0 -66
  140. package/dist/gen/operations/updateWorkspace.d.ts +0 -50
  141. package/dist/gen/operations/updateWorkspaceMember.d.ts +0 -29
  142. package/dist/gen/operations/upsertFile.d.ts +0 -114
  143. package/dist/gen/operations/upsertTableRows.d.ts +0 -107
  144. package/dist/gen/to-axios.d.ts +0 -16
  145. package/dist/types.d.ts +0 -49
@@ -1,321 +0,0 @@
1
- export interface GetPublicIntegrationRequestHeaders {
2
- }
3
- export interface GetPublicIntegrationRequestQuery {
4
- }
5
- export interface GetPublicIntegrationRequestParams {
6
- name: string;
7
- version: string;
8
- }
9
- export interface GetPublicIntegrationRequestBody {
10
- }
11
- export type GetPublicIntegrationInput = GetPublicIntegrationRequestBody & GetPublicIntegrationRequestHeaders & GetPublicIntegrationRequestQuery & GetPublicIntegrationRequestParams;
12
- export type GetPublicIntegrationRequest = {
13
- headers: GetPublicIntegrationRequestHeaders;
14
- query: GetPublicIntegrationRequestQuery;
15
- params: GetPublicIntegrationRequestParams;
16
- body: GetPublicIntegrationRequestBody;
17
- };
18
- export declare const parseReq: (input: GetPublicIntegrationInput) => GetPublicIntegrationRequest & {
19
- path: string;
20
- };
21
- export interface GetPublicIntegrationResponse {
22
- integration: {
23
- /**
24
- * ID of the [Integration](#schema_integration)
25
- */
26
- id: string;
27
- /**
28
- * Creation date of the [Integration](#schema_integration) in ISO 8601 format
29
- */
30
- createdAt: string;
31
- /**
32
- * Updating date of the [Integration](#schema_integration) in ISO 8601 format
33
- */
34
- updatedAt: string;
35
- /**
36
- * Global identifier configuration of the [Integration](#schema_integration)
37
- */
38
- identifier: {
39
- /**
40
- * VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
41
- */
42
- fallbackHandlerScript?: string;
43
- /**
44
- * VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
45
- */
46
- extractScript?: string;
47
- };
48
- /**
49
- * URL of the [Integration](#schema_integration)
50
- */
51
- url: string;
52
- /**
53
- * Name of the [Integration](#schema_integration)
54
- */
55
- name: string;
56
- /**
57
- * Version of the [Integration](#schema_integration)
58
- */
59
- version: string;
60
- interfaces: {
61
- [k: string]: {
62
- id: string;
63
- entities: {
64
- [k: string]: {
65
- name: string;
66
- };
67
- };
68
- actions: {
69
- [k: string]: {
70
- name: string;
71
- };
72
- };
73
- events: {
74
- [k: string]: {
75
- name: string;
76
- };
77
- };
78
- };
79
- };
80
- /**
81
- * Configuration definition
82
- */
83
- configuration: {
84
- /**
85
- * Identifier configuration of the [Integration](#schema_integration)
86
- */
87
- identifier: {
88
- linkTemplateScript?: string;
89
- required: boolean;
90
- };
91
- /**
92
- * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
93
- */
94
- schema?: {
95
- [k: string]: any;
96
- };
97
- };
98
- channels: {
99
- /**
100
- * Channel definition
101
- */
102
- [k: string]: {
103
- /**
104
- * Title of the channel
105
- */
106
- title?: string;
107
- /**
108
- * Description of the channel
109
- */
110
- description?: string;
111
- messages: {
112
- /**
113
- * Message definition
114
- */
115
- [k: string]: {
116
- schema: {
117
- [k: string]: any;
118
- };
119
- };
120
- };
121
- /**
122
- * Conversation object configuration
123
- */
124
- conversation: {
125
- tags: {
126
- /**
127
- * Definition of a tag that can be provided on the object
128
- */
129
- [k: string]: {
130
- /**
131
- * Title of the tag
132
- */
133
- title?: string;
134
- /**
135
- * Description of the tag
136
- */
137
- description?: string;
138
- };
139
- };
140
- /**
141
- * The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
142
- */
143
- creation: {
144
- /**
145
- * Enable conversation creation
146
- */
147
- enabled: boolean;
148
- /**
149
- * The list of tags that are required to be specified when calling the API directly to create a conversation.
150
- */
151
- requiredTags: string[];
152
- };
153
- };
154
- /**
155
- * Message object configuration
156
- */
157
- message: {
158
- tags: {
159
- /**
160
- * Definition of a tag that can be provided on the object
161
- */
162
- [k: string]: {
163
- /**
164
- * Title of the tag
165
- */
166
- title?: string;
167
- /**
168
- * Description of the tag
169
- */
170
- description?: string;
171
- };
172
- };
173
- };
174
- };
175
- };
176
- states: {
177
- /**
178
- * State definition
179
- */
180
- [k: string]: {
181
- /**
182
- * Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
183
- */
184
- type: "conversation" | "user" | "integration";
185
- /**
186
- * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
187
- */
188
- schema: {
189
- [k: string]: any;
190
- };
191
- };
192
- };
193
- events: {
194
- /**
195
- * Event Definition
196
- */
197
- [k: string]: {
198
- /**
199
- * Title of the event
200
- */
201
- title?: string;
202
- /**
203
- * Description of the event
204
- */
205
- description?: string;
206
- schema: {
207
- [k: string]: any;
208
- };
209
- };
210
- };
211
- actions: {
212
- /**
213
- * Action definition
214
- */
215
- [k: string]: {
216
- /**
217
- * Title of the action
218
- */
219
- title?: string;
220
- /**
221
- * Description of the action
222
- */
223
- description?: string;
224
- input: {
225
- schema: {
226
- [k: string]: any;
227
- };
228
- };
229
- output: {
230
- schema: {
231
- [k: string]: any;
232
- };
233
- };
234
- };
235
- };
236
- /**
237
- * User object configuration
238
- */
239
- user: {
240
- tags: {
241
- /**
242
- * Definition of a tag that can be provided on the object
243
- */
244
- [k: string]: {
245
- /**
246
- * Title of the tag
247
- */
248
- title?: string;
249
- /**
250
- * Description of the tag
251
- */
252
- description?: string;
253
- };
254
- };
255
- /**
256
- * The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
257
- */
258
- creation: {
259
- /**
260
- * Enable user creation
261
- */
262
- enabled: boolean;
263
- /**
264
- * The list of tags that are required to be specified when calling the API directly to create a user.
265
- */
266
- requiredTags: string[];
267
- };
268
- };
269
- entities: {
270
- /**
271
- * Entity definition
272
- */
273
- [k: string]: {
274
- /**
275
- * Title of the entity
276
- */
277
- title?: string;
278
- /**
279
- * Description of the entity
280
- */
281
- description?: string;
282
- schema: {
283
- [k: string]: any;
284
- };
285
- };
286
- };
287
- /**
288
- * Indicates if the integration is a development integration; Dev integrations run locally
289
- */
290
- dev: boolean;
291
- /**
292
- * Title of the integration. This is the name that will be displayed in the UI
293
- */
294
- title: string;
295
- /**
296
- * Description of the integration. This is the description that will be displayed in the UI
297
- */
298
- description: string;
299
- /**
300
- * URL of the icon of the integration. This is the icon that will be displayed in the UI
301
- */
302
- iconUrl: string;
303
- /**
304
- * URL of the readme of the integration. This is the readme that will be displayed in the UI
305
- */
306
- readmeUrl: string;
307
- /**
308
- * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
309
- */
310
- public: boolean;
311
- /**
312
- * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
313
- */
314
- secrets: string[];
315
- ownerWorkspace: {
316
- id: string;
317
- handle: string | null;
318
- name: string;
319
- };
320
- };
321
- }
@@ -1,320 +0,0 @@
1
- export interface GetPublicIntegrationByIdRequestHeaders {
2
- }
3
- export interface GetPublicIntegrationByIdRequestQuery {
4
- }
5
- export interface GetPublicIntegrationByIdRequestParams {
6
- id: string;
7
- }
8
- export interface GetPublicIntegrationByIdRequestBody {
9
- }
10
- export type GetPublicIntegrationByIdInput = GetPublicIntegrationByIdRequestBody & GetPublicIntegrationByIdRequestHeaders & GetPublicIntegrationByIdRequestQuery & GetPublicIntegrationByIdRequestParams;
11
- export type GetPublicIntegrationByIdRequest = {
12
- headers: GetPublicIntegrationByIdRequestHeaders;
13
- query: GetPublicIntegrationByIdRequestQuery;
14
- params: GetPublicIntegrationByIdRequestParams;
15
- body: GetPublicIntegrationByIdRequestBody;
16
- };
17
- export declare const parseReq: (input: GetPublicIntegrationByIdInput) => GetPublicIntegrationByIdRequest & {
18
- path: string;
19
- };
20
- export interface GetPublicIntegrationByIdResponse {
21
- integration: {
22
- /**
23
- * ID of the [Integration](#schema_integration)
24
- */
25
- id: string;
26
- /**
27
- * Creation date of the [Integration](#schema_integration) in ISO 8601 format
28
- */
29
- createdAt: string;
30
- /**
31
- * Updating date of the [Integration](#schema_integration) in ISO 8601 format
32
- */
33
- updatedAt: string;
34
- /**
35
- * Global identifier configuration of the [Integration](#schema_integration)
36
- */
37
- identifier: {
38
- /**
39
- * VRL Script of the [Integration](#schema_integration) to handle incoming requests for a request that doesn't have an identifier
40
- */
41
- fallbackHandlerScript?: string;
42
- /**
43
- * VRL Script of the [Integration](#schema_integration) to extract the identifier from an incoming webhook often use for OAuth
44
- */
45
- extractScript?: string;
46
- };
47
- /**
48
- * URL of the [Integration](#schema_integration)
49
- */
50
- url: string;
51
- /**
52
- * Name of the [Integration](#schema_integration)
53
- */
54
- name: string;
55
- /**
56
- * Version of the [Integration](#schema_integration)
57
- */
58
- version: string;
59
- interfaces: {
60
- [k: string]: {
61
- id: string;
62
- entities: {
63
- [k: string]: {
64
- name: string;
65
- };
66
- };
67
- actions: {
68
- [k: string]: {
69
- name: string;
70
- };
71
- };
72
- events: {
73
- [k: string]: {
74
- name: string;
75
- };
76
- };
77
- };
78
- };
79
- /**
80
- * Configuration definition
81
- */
82
- configuration: {
83
- /**
84
- * Identifier configuration of the [Integration](#schema_integration)
85
- */
86
- identifier: {
87
- linkTemplateScript?: string;
88
- required: boolean;
89
- };
90
- /**
91
- * Schema of the configuration in the `JSON schema` format. The configuration data is validated against this `JSON schema`.
92
- */
93
- schema?: {
94
- [k: string]: any;
95
- };
96
- };
97
- channels: {
98
- /**
99
- * Channel definition
100
- */
101
- [k: string]: {
102
- /**
103
- * Title of the channel
104
- */
105
- title?: string;
106
- /**
107
- * Description of the channel
108
- */
109
- description?: string;
110
- messages: {
111
- /**
112
- * Message definition
113
- */
114
- [k: string]: {
115
- schema: {
116
- [k: string]: any;
117
- };
118
- };
119
- };
120
- /**
121
- * Conversation object configuration
122
- */
123
- conversation: {
124
- tags: {
125
- /**
126
- * Definition of a tag that can be provided on the object
127
- */
128
- [k: string]: {
129
- /**
130
- * Title of the tag
131
- */
132
- title?: string;
133
- /**
134
- * Description of the tag
135
- */
136
- description?: string;
137
- };
138
- };
139
- /**
140
- * The conversation creation setting determines how to create a conversation through the API directly. The integration will have to implement the `createConversation` functionality to support this setting.
141
- */
142
- creation: {
143
- /**
144
- * Enable conversation creation
145
- */
146
- enabled: boolean;
147
- /**
148
- * The list of tags that are required to be specified when calling the API directly to create a conversation.
149
- */
150
- requiredTags: string[];
151
- };
152
- };
153
- /**
154
- * Message object configuration
155
- */
156
- message: {
157
- tags: {
158
- /**
159
- * Definition of a tag that can be provided on the object
160
- */
161
- [k: string]: {
162
- /**
163
- * Title of the tag
164
- */
165
- title?: string;
166
- /**
167
- * Description of the tag
168
- */
169
- description?: string;
170
- };
171
- };
172
- };
173
- };
174
- };
175
- states: {
176
- /**
177
- * State definition
178
- */
179
- [k: string]: {
180
- /**
181
- * Type of the [State](#schema_state) (`conversation`, `user` or `integration`)
182
- */
183
- type: "conversation" | "user" | "integration";
184
- /**
185
- * Schema of the [State](#schema_state) in the `JSON schema` format. This `JSON schema` is going to be used for validating the state data.
186
- */
187
- schema: {
188
- [k: string]: any;
189
- };
190
- };
191
- };
192
- events: {
193
- /**
194
- * Event Definition
195
- */
196
- [k: string]: {
197
- /**
198
- * Title of the event
199
- */
200
- title?: string;
201
- /**
202
- * Description of the event
203
- */
204
- description?: string;
205
- schema: {
206
- [k: string]: any;
207
- };
208
- };
209
- };
210
- actions: {
211
- /**
212
- * Action definition
213
- */
214
- [k: string]: {
215
- /**
216
- * Title of the action
217
- */
218
- title?: string;
219
- /**
220
- * Description of the action
221
- */
222
- description?: string;
223
- input: {
224
- schema: {
225
- [k: string]: any;
226
- };
227
- };
228
- output: {
229
- schema: {
230
- [k: string]: any;
231
- };
232
- };
233
- };
234
- };
235
- /**
236
- * User object configuration
237
- */
238
- user: {
239
- tags: {
240
- /**
241
- * Definition of a tag that can be provided on the object
242
- */
243
- [k: string]: {
244
- /**
245
- * Title of the tag
246
- */
247
- title?: string;
248
- /**
249
- * Description of the tag
250
- */
251
- description?: string;
252
- };
253
- };
254
- /**
255
- * The user creation setting determines how to create a user through the API directly. The integration will have to implement the `createUser` functionality to support this setting.
256
- */
257
- creation: {
258
- /**
259
- * Enable user creation
260
- */
261
- enabled: boolean;
262
- /**
263
- * The list of tags that are required to be specified when calling the API directly to create a user.
264
- */
265
- requiredTags: string[];
266
- };
267
- };
268
- entities: {
269
- /**
270
- * Entity definition
271
- */
272
- [k: string]: {
273
- /**
274
- * Title of the entity
275
- */
276
- title?: string;
277
- /**
278
- * Description of the entity
279
- */
280
- description?: string;
281
- schema: {
282
- [k: string]: any;
283
- };
284
- };
285
- };
286
- /**
287
- * Indicates if the integration is a development integration; Dev integrations run locally
288
- */
289
- dev: boolean;
290
- /**
291
- * Title of the integration. This is the name that will be displayed in the UI
292
- */
293
- title: string;
294
- /**
295
- * Description of the integration. This is the description that will be displayed in the UI
296
- */
297
- description: string;
298
- /**
299
- * URL of the icon of the integration. This is the icon that will be displayed in the UI
300
- */
301
- iconUrl: string;
302
- /**
303
- * URL of the readme of the integration. This is the readme that will be displayed in the UI
304
- */
305
- readmeUrl: string;
306
- /**
307
- * Idicates if the integration is public. Public integrations are available to all and cannot be updated without creating a new version.
308
- */
309
- public: boolean;
310
- /**
311
- * Secrets are integration-wide values available in the code via environment variables formatted with a SECRET_ prefix followed by your secret name. A secret name must respect SCREAMING_SNAKE casing.
312
- */
313
- secrets: string[];
314
- ownerWorkspace: {
315
- id: string;
316
- handle: string | null;
317
- name: string;
318
- };
319
- };
320
- }
@@ -1,31 +0,0 @@
1
- export interface GetPublicWorkspaceRequestHeaders {
2
- }
3
- export interface GetPublicWorkspaceRequestQuery {
4
- }
5
- export interface GetPublicWorkspaceRequestParams {
6
- id: string;
7
- }
8
- export interface GetPublicWorkspaceRequestBody {
9
- }
10
- export type GetPublicWorkspaceInput = GetPublicWorkspaceRequestBody & GetPublicWorkspaceRequestHeaders & GetPublicWorkspaceRequestQuery & GetPublicWorkspaceRequestParams;
11
- export type GetPublicWorkspaceRequest = {
12
- headers: GetPublicWorkspaceRequestHeaders;
13
- query: GetPublicWorkspaceRequestQuery;
14
- params: GetPublicWorkspaceRequestParams;
15
- body: GetPublicWorkspaceRequestBody;
16
- };
17
- export declare const parseReq: (input: GetPublicWorkspaceInput) => GetPublicWorkspaceRequest & {
18
- path: string;
19
- };
20
- export interface GetPublicWorkspaceResponse {
21
- id: string;
22
- name: string;
23
- createdAt: string;
24
- updatedAt: string;
25
- about?: string;
26
- profilePicture?: string;
27
- contactEmail?: string;
28
- website?: string;
29
- socialAccounts?: string[];
30
- handle?: string;
31
- }