@cobaltio/cobalt-js 8.7.2 → 8.9.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/docs/llms.txt ADDED
@@ -0,0 +1,837 @@
1
+ **@cobaltio/cobalt-js**
2
+
3
+ ***
4
+
5
+ # Cobalt Javascript SDK
6
+ Cobalt frontend SDK.
7
+
8
+ ## Install
9
+
10
+ #### npm
11
+ ```bash
12
+ npm install @cobaltio/cobalt-js
13
+ ```
14
+
15
+ #### yarn
16
+ ```bash
17
+ yarn add @cobaltio/cobalt-js
18
+ ```
19
+
20
+ ## Usage
21
+
22
+ ### Include
23
+
24
+ #### Browser
25
+ ```html
26
+ <!-- use this if you get an error saying `exports` is not defined. -->
27
+ <script>var exports = {};</script>
28
+ <!-- use a specific version -->
29
+ <script src="https://cdn.jsdelivr.net/npm/@cobaltio/cobalt-js@8.0.0"></script>
30
+ <!-- use a version range instead of a specific version -->
31
+ <script src="https://cdn.jsdelivr.net/npm/@cobaltio/cobalt-js@8"></script>
32
+ <script src="https://cdn.jsdelivr.net/npm/@cobaltio/cobalt-js@8.0"></script>
33
+ <!-- omit the version completely to use the latest one -->
34
+ <!-- you should NOT use this in production -->
35
+ <script src="https://cdn.jsdelivr.net/npm/@cobaltio/cobalt-js"></script>
36
+ ```
37
+
38
+ #### Node
39
+ ```js
40
+ import { Cobalt } from "@cobaltio/cobalt-js";
41
+ // or, if you're using CommonJS
42
+ const { Cobalt } = require("@cobaltio/cobalt-js");
43
+ ```
44
+
45
+ ### Initialize
46
+ ```js
47
+ // initialize with token
48
+ const cobalt = new Cobalt({
49
+ // the token you generate for linked accounts using the cobalt backend SDK
50
+ token: "COBALT_SESSION_TOKEN",
51
+ // OPTIONAL: set custom base url for all API requests. only useful if you are hosting Cobalt on premise.
52
+ baseUrl: "https://cobalt.example.com/backend",
53
+ });
54
+
55
+ // Or, initialize without token
56
+ const cobalt = new Cobalt();
57
+ // and you can set the token later.
58
+ cobalt.token = "COBALT_SESSION_TOKEN";
59
+ ```
60
+
61
+ # Documentation
62
+
63
+ - You can read the [SDK documentation here](https://gocobalt.github.io/cobalt-js).
64
+
65
+ - [`llms.txt`](https://gocobalt.github.io/cobalt-js/llms.txt)
66
+
67
+ This documentation is also available in [llms.txt](https://llmstxt.org) format, which is a simple markdown standard that LLMs can consume easily.
68
+
69
+ ## Classes
70
+
71
+ ### Cobalt
72
+
73
+ Defined in: [cobalt.ts:267](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L267)
74
+
75
+ #### Constructors
76
+
77
+ ##### Constructor
78
+
79
+ > **new Cobalt**(`options`): [`Cobalt`](#cobalt)
80
+
81
+ Defined in: [cobalt.ts:277](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L277)
82
+
83
+ Cobalt Frontend SDK
84
+
85
+ ###### Parameters
86
+
87
+ | Parameter | Type | Description |
88
+ | ------ | ------ | ------ |
89
+ | `options` | [`CobaltOptions`](#cobaltoptions) | The options to configure the Cobalt SDK. |
90
+
91
+ ###### Returns
92
+
93
+ [`Cobalt`](#cobalt)
94
+
95
+ #### Properties
96
+
97
+ | Property | Modifier | Type | Defined in |
98
+ | ------ | ------ | ------ | ------ |
99
+ | <a id="token"></a> `token` | `public` | `string` | [cobalt.ts:269](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L269) |
100
+
101
+ #### Methods
102
+
103
+ ##### config()
104
+
105
+ > **config**(`payload`): `Promise`\<[`Config`](#config-2)\>
106
+
107
+ Defined in: [cobalt.ts:524](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L524)
108
+
109
+ Returns the specified config, or creates one if it doesn't exist.
110
+
111
+ ###### Parameters
112
+
113
+ | Parameter | Type | Description |
114
+ | ------ | ------ | ------ |
115
+ | `payload` | [`ConfigPayload`](#configpayload) | The payload object for config. |
116
+
117
+ ###### Returns
118
+
119
+ `Promise`\<[`Config`](#config-2)\>
120
+
121
+ The specified config.
122
+
123
+ ##### connect()
124
+
125
+ > **connect**(`slug`, `payload?`): `Promise`\<`boolean`\>
126
+
127
+ Defined in: [cobalt.ts:464](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L464)
128
+
129
+ Connect the specified application, optionally with the auth data that user provides.
130
+
131
+ ###### Parameters
132
+
133
+ | Parameter | Type | Description |
134
+ | ------ | ------ | ------ |
135
+ | `slug` | `string` | The application slug. |
136
+ | `payload?` | `Record`\<`string`, `string`\> | The key value pairs of auth data. |
137
+
138
+ ###### Returns
139
+
140
+ `Promise`\<`boolean`\>
141
+
142
+ Whether the connection was successful.
143
+
144
+ ##### ~~createEcosystemLead()~~
145
+
146
+ > **createEcosystemLead**(`payload`): `Promise`\<[`EcosystemLead`](#ecosystemlead)\>
147
+
148
+ Defined in: [cobalt.ts:637](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L637)
149
+
150
+ ###### Parameters
151
+
152
+ | Parameter | Type | Description |
153
+ | ------ | ------ | ------ |
154
+ | `payload` | [`EcosystemLeadPayload`](#ecosystemleadpayload) | The payload object for the lead. |
155
+
156
+ ###### Returns
157
+
158
+ `Promise`\<[`EcosystemLead`](#ecosystemlead)\>
159
+
160
+ ###### Deprecated
161
+
162
+ Create a lead for an ecosystem app.
163
+
164
+ ##### createWorkflow()
165
+
166
+ > **createWorkflow**(`params`): `Promise`\<[`PublicWorkflow`](#publicworkflow)\>
167
+
168
+ Defined in: [cobalt.ts:790](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L790)
169
+
170
+ Create a public workflow for the linked account.
171
+
172
+ ###### Parameters
173
+
174
+ | Parameter | Type | Description |
175
+ | ------ | ------ | ------ |
176
+ | `params` | [`PublicWorkflowPayload`](#publicworkflowpayload) | |
177
+
178
+ ###### Returns
179
+
180
+ `Promise`\<[`PublicWorkflow`](#publicworkflow)\>
181
+
182
+ The created public workflow.
183
+
184
+ ##### deleteConfig()
185
+
186
+ > **deleteConfig**(`slug`, `configId?`): `Promise`\<`unknown`\>
187
+
188
+ Defined in: [cobalt.ts:615](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L615)
189
+
190
+ Delete the specified config.
191
+
192
+ ###### Parameters
193
+
194
+ | Parameter | Type | Description |
195
+ | ------ | ------ | ------ |
196
+ | `slug` | `string` | The application slug. |
197
+ | `configId?` | `string` | The unique ID of the config. |
198
+
199
+ ###### Returns
200
+
201
+ `Promise`\<`unknown`\>
202
+
203
+ ##### deleteConfigField()
204
+
205
+ > **deleteConfigField**(`slug`, `fieldId`, `workflowId?`): `Promise`\<`unknown`\>
206
+
207
+ Defined in: [cobalt.ts:712](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L712)
208
+
209
+ Delete the specified config field value.
210
+
211
+ ###### Parameters
212
+
213
+ | Parameter | Type | Description |
214
+ | ------ | ------ | ------ |
215
+ | `slug` | `string` | The application slug. |
216
+ | `fieldId` | `string` | The unique ID of the field. |
217
+ | `workflowId?` | `string` | The unique ID of the workflow. |
218
+
219
+ ###### Returns
220
+
221
+ `Promise`\<`unknown`\>
222
+
223
+ ##### deleteWorkflow()
224
+
225
+ > **deleteWorkflow**(`workflowId`): `Promise`\<`unknown`\>
226
+
227
+ Defined in: [cobalt.ts:818](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L818)
228
+
229
+ Delete the specified public workflow.
230
+
231
+ ###### Parameters
232
+
233
+ | Parameter | Type | Description |
234
+ | ------ | ------ | ------ |
235
+ | `workflowId` | `string` | The workflow ID. |
236
+
237
+ ###### Returns
238
+
239
+ `Promise`\<`unknown`\>
240
+
241
+ ##### disconnect()
242
+
243
+ > **disconnect**(`slug`): `Promise`\<`void`\>
244
+
245
+ Defined in: [cobalt.ts:505](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L505)
246
+
247
+ Disconnect the specified application and remove any associated data from Cobalt.
248
+
249
+ ###### Parameters
250
+
251
+ | Parameter | Type | Description |
252
+ | ------ | ------ | ------ |
253
+ | `slug` | `string` | The application slug. |
254
+
255
+ ###### Returns
256
+
257
+ `Promise`\<`void`\>
258
+
259
+ ##### getApp()
260
+
261
+ Returns the application details for the specified application, provided
262
+ the application is enabled in Cobalt. If no application is specified,
263
+ it returns all the enabled applications.
264
+
265
+ ###### Param
266
+
267
+ The application slug.
268
+
269
+ ###### Call Signature
270
+
271
+ > **getApp**(): `Promise`\<[`Application`](#application)[]\>
272
+
273
+ Defined in: [cobalt.ts:337](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L337)
274
+
275
+ Returns the list of enabled applications and their details.
276
+
277
+ ###### Returns
278
+
279
+ `Promise`\<[`Application`](#application)[]\>
280
+
281
+ The application details.
282
+
283
+ ###### Param
284
+
285
+ The application slug.
286
+
287
+ ###### Call Signature
288
+
289
+ > **getApp**(`slug`): `Promise`\<[`Application`](#application)\>
290
+
291
+ Defined in: [cobalt.ts:344](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L344)
292
+
293
+ Returns the application details for the specified application, provided
294
+ the application is enabled in Cobalt.
295
+
296
+ ###### Parameters
297
+
298
+ | Parameter | Type | Description |
299
+ | ------ | ------ | ------ |
300
+ | `slug` | `string` | The application slug. |
301
+
302
+ ###### Returns
303
+
304
+ `Promise`\<[`Application`](#application)\>
305
+
306
+ The application details.
307
+
308
+ ###### Param
309
+
310
+ The application slug.
311
+
312
+ ##### getApps()
313
+
314
+ > **getApps**(): `Promise`\<[`Application`](#application)[]\>
315
+
316
+ Defined in: [cobalt.ts:372](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L372)
317
+
318
+ Returns all the enabled apps.
319
+
320
+ ###### Returns
321
+
322
+ `Promise`\<[`Application`](#application)[]\>
323
+
324
+ The list of applications.
325
+
326
+ ##### getConfig()
327
+
328
+ > **getConfig**(`slug`, `configId?`): `Promise`\<[`Config`](#config-2)\>
329
+
330
+ Defined in: [cobalt.ts:571](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L571)
331
+
332
+ Returns the specified config.
333
+
334
+ ###### Parameters
335
+
336
+ | Parameter | Type | Description |
337
+ | ------ | ------ | ------ |
338
+ | `slug` | `string` | The application slug. |
339
+ | `configId?` | `string` | The unique ID of the config. |
340
+
341
+ ###### Returns
342
+
343
+ `Promise`\<[`Config`](#config-2)\>
344
+
345
+ The specified config.
346
+
347
+ ##### getConfigField()
348
+
349
+ > **getConfigField**(`slug`, `fieldId`, `workflowId?`): `Promise`\<[`Config`](#config-2)\>
350
+
351
+ Defined in: [cobalt.ts:662](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L662)
352
+
353
+ Returns the specified field of the config.
354
+
355
+ ###### Parameters
356
+
357
+ | Parameter | Type | Description |
358
+ | ------ | ------ | ------ |
359
+ | `slug` | `string` | The application slug. |
360
+ | `fieldId` | `string` | The unique ID of the field. |
361
+ | `workflowId?` | `string` | The unique ID of the workflow. |
362
+
363
+ ###### Returns
364
+
365
+ `Promise`\<[`Config`](#config-2)\>
366
+
367
+ The specified config field.
368
+
369
+ ##### getConfigs()
370
+
371
+ > **getConfigs**(`slug`): `Promise`\<`object`[]\>
372
+
373
+ Defined in: [cobalt.ts:550](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L550)
374
+
375
+ Returns the configs created for the specified application.
376
+
377
+ ###### Parameters
378
+
379
+ | Parameter | Type | Description |
380
+ | ------ | ------ | ------ |
381
+ | `slug` | `string` | The application slug. |
382
+
383
+ ###### Returns
384
+
385
+ `Promise`\<`object`[]\>
386
+
387
+ The configs created for the specified application.
388
+
389
+ ##### getExecution()
390
+
391
+ > **getExecution**(`executionId`): `Promise`\<[`Execution`](#execution)\>
392
+
393
+ Defined in: [cobalt.ts:861](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L861)
394
+
395
+ Returns the specified workflow execution log.
396
+
397
+ ###### Parameters
398
+
399
+ | Parameter | Type | Description |
400
+ | ------ | ------ | ------ |
401
+ | `executionId` | `string` | The execution ID. |
402
+
403
+ ###### Returns
404
+
405
+ `Promise`\<[`Execution`](#execution)\>
406
+
407
+ The specified execution log.
408
+
409
+ ##### getExecutions()
410
+
411
+ > **getExecutions**(`params?`): `Promise`\<`PaginatedResponse`\<[`Execution`](#execution)\>\>
412
+
413
+ Defined in: [cobalt.ts:841](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L841)
414
+
415
+ Returns the workflow execution logs for the linked account.
416
+
417
+ ###### Parameters
418
+
419
+ | Parameter | Type | Description |
420
+ | ------ | ------ | ------ |
421
+ | `params?` | `PaginationProps` | |
422
+
423
+ ###### Returns
424
+
425
+ `Promise`\<`PaginatedResponse`\<[`Execution`](#execution)\>\>
426
+
427
+ The paginated workflow execution logs.
428
+
429
+ ##### getFieldOptions()
430
+
431
+ > **getFieldOptions**(`lhs`, `slug`, `fieldId`, `workflowId?`): `Promise`\<[`RuleOptions`](#ruleoptions)\>
432
+
433
+ Defined in: [cobalt.ts:737](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L737)
434
+
435
+ Returns the options for the specified field.
436
+
437
+ ###### Parameters
438
+
439
+ | Parameter | Type | Description |
440
+ | ------ | ------ | ------ |
441
+ | `lhs` | `string` | The selected value of the lhs field. |
442
+ | `slug` | `string` | The application slug. |
443
+ | `fieldId` | `string` | The unique ID of the field. |
444
+ | `workflowId?` | `string` | The unique ID of the workflow, if this is a workflow field. |
445
+
446
+ ###### Returns
447
+
448
+ `Promise`\<[`RuleOptions`](#ruleoptions)\>
449
+
450
+ The specified rule field's options.
451
+
452
+ ##### getWorkflows()
453
+
454
+ > **getWorkflows**(`params?`): `Promise`\<`PaginatedResponse`\<[`PublicWorkflow`](#publicworkflow)\>\>
455
+
456
+ Defined in: [cobalt.ts:766](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L766)
457
+
458
+ Returns the private workflows for the specified application.
459
+
460
+ ###### Parameters
461
+
462
+ | Parameter | Type | Description |
463
+ | ------ | ------ | ------ |
464
+ | `params?` | [`PublicWorkflowsPayload`](#publicworkflowspayload) | |
465
+
466
+ ###### Returns
467
+
468
+ `Promise`\<`PaginatedResponse`\<[`PublicWorkflow`](#publicworkflow)\>\>
469
+
470
+ ##### updateConfig()
471
+
472
+ > **updateConfig**(`payload`): `Promise`\<[`Config`](#config-2)\>
473
+
474
+ Defined in: [cobalt.ts:591](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L591)
475
+
476
+ Update the specified config.
477
+
478
+ ###### Parameters
479
+
480
+ | Parameter | Type | Description |
481
+ | ------ | ------ | ------ |
482
+ | `payload` | [`UpdateConfigPayload`](#updateconfigpayload) | The update payload. |
483
+
484
+ ###### Returns
485
+
486
+ `Promise`\<[`Config`](#config-2)\>
487
+
488
+ The specified config.
489
+
490
+ ##### updateConfigField()
491
+
492
+ > **updateConfigField**(`slug`, `fieldId`, `value`, `workflowId?`): `Promise`\<[`Config`](#config-2)\>
493
+
494
+ Defined in: [cobalt.ts:686](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L686)
495
+
496
+ Update the specified config field value.
497
+
498
+ ###### Parameters
499
+
500
+ | Parameter | Type | Description |
501
+ | ------ | ------ | ------ |
502
+ | `slug` | `string` | The application slug. |
503
+ | `fieldId` | `string` | The unique ID of the field. |
504
+ | `value` | `null` \| `string` \| `number` \| `boolean` | The new value for the field. |
505
+ | `workflowId?` | `string` | The unique ID of the workflow. |
506
+
507
+ ###### Returns
508
+
509
+ `Promise`\<[`Config`](#config-2)\>
510
+
511
+ The updated config field.
512
+
513
+ ## Interfaces
514
+
515
+ ### Application
516
+
517
+ Defined in: [cobalt.ts:6](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L6)
518
+
519
+ An application in Cobalt.
520
+
521
+ #### Properties
522
+
523
+ | Property | Type | Description | Defined in |
524
+ | ------ | ------ | ------ | ------ |
525
+ | <a id="app_id"></a> `app_id` | `string` | Application ID | [cobalt.ts:8](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L8) |
526
+ | <a id="auth_input_map"></a> `auth_input_map?` | [`InputField`](#inputfield)[] | The fields required from the user to connect the application (for `keybased` auth type). | [cobalt.ts:29](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L29) |
527
+ | <a id="auth_type"></a> `auth_type` | `"oauth2"` \| `"keybased"` | The type of auth used by application. | [cobalt.ts:23](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L23) |
528
+ | <a id="connected"></a> `connected?` | `boolean` | Whether the user has connected the application. | [cobalt.ts:25](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L25) |
529
+ | <a id="description"></a> `description` | `string` | The application description. | [cobalt.ts:12](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L12) |
530
+ | <a id="icon"></a> `icon` | `string` | The application icon. | [cobalt.ts:14](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L14) |
531
+ | <a id="name"></a> `name` | `string` | The application name. | [cobalt.ts:10](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L10) |
532
+ | <a id="reauth_required"></a> `reauth_required?` | `boolean` | Whether the connection has expired and re-auth is required. | [cobalt.ts:27](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L27) |
533
+ | <a id="slug"></a> `slug` | `string` | The application slug. | [cobalt.ts:21](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L21) |
534
+ | <a id="tags"></a> `tags?` | `string`[] | The categories/tags for the application. | [cobalt.ts:31](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L31) |
535
+ | <a id="type"></a> ~~`type`~~ | `string` | **Deprecated** Use `slug` instead. The application slug for native apps and `custom` for custom apps. | [cobalt.ts:19](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L19) |
536
+
537
+ ***
538
+
539
+ ### CobaltOptions
540
+
541
+ Defined in: [cobalt.ts:97](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L97)
542
+
543
+ #### Properties
544
+
545
+ | Property | Type | Description | Defined in |
546
+ | ------ | ------ | ------ | ------ |
547
+ | <a id="baseurl"></a> `baseUrl?` | `string` | The base URL of the Cobalt API. You don't need to set this. | [cobalt.ts:99](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L99) |
548
+ | <a id="token-1"></a> `token?` | `string` | The session token. | [cobalt.ts:101](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L101) |
549
+
550
+ ***
551
+
552
+ ### Config
553
+
554
+ Defined in: [cobalt.ts:182](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L182)
555
+
556
+ #### Properties
557
+
558
+ | Property | Type | Defined in |
559
+ | ------ | ------ | ------ |
560
+ | <a id="config_id"></a> `config_id?` | `string` | [cobalt.ts:184](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L184) |
561
+ | <a id="field_errors"></a> `field_errors?` | `object`[] | [cobalt.ts:187](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L187) |
562
+ | <a id="fields"></a> `fields?` | [`ConfigField`](#configfield)[] | [cobalt.ts:185](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L185) |
563
+ | <a id="slug-1"></a> `slug` | `string` | [cobalt.ts:183](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L183) |
564
+ | <a id="workflows"></a> `workflows?` | [`ConfigWorkflow`](#configworkflow)[] | [cobalt.ts:186](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L186) |
565
+
566
+ ***
567
+
568
+ ### ConfigField
569
+
570
+ Defined in: [cobalt.ts:197](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L197)
571
+
572
+ #### Properties
573
+
574
+ | Property | Type | Description | Defined in |
575
+ | ------ | ------ | ------ | ------ |
576
+ | <a id="associated_page"></a> `associated_page?` | `string` | The page this field is associated with. | [cobalt.ts:219](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L219) |
577
+ | <a id="field_type"></a> `field_type` | `string` | - | [cobalt.ts:200](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L200) |
578
+ | <a id="help_text"></a> `help_text?` | `string` | The help text for the field. | [cobalt.ts:217](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L217) |
579
+ | <a id="hidden"></a> `hidden?` | `boolean` | - | [cobalt.ts:212](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L212) |
580
+ | <a id="id"></a> `id` | `string` | - | [cobalt.ts:198](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L198) |
581
+ | <a id="labels"></a> `labels?` | `object`[] | - | [cobalt.ts:206](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L206) |
582
+ | <a id="multiple"></a> `multiple?` | `boolean` | - | [cobalt.ts:210](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L210) |
583
+ | <a id="name-1"></a> `name` | `string` | - | [cobalt.ts:199](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L199) |
584
+ | <a id="options"></a> `options?` | `object`[] | - | [cobalt.ts:201](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L201) |
585
+ | <a id="parent"></a> `parent?` | `string` | - | [cobalt.ts:205](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L205) |
586
+ | <a id="placeholder"></a> `placeholder?` | `string` | The placeholder for the field. | [cobalt.ts:215](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L215) |
587
+ | <a id="required"></a> `required?` | `boolean` | - | [cobalt.ts:211](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L211) |
588
+ | <a id="value"></a> `value?` | `any` | - | [cobalt.ts:213](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L213) |
589
+
590
+ ***
591
+
592
+ ### ConfigPayload
593
+
594
+ Defined in: [cobalt.ts:58](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L58)
595
+
596
+ The payload object for config.
597
+
598
+ #### Properties
599
+
600
+ | Property | Type | Description | Defined in |
601
+ | ------ | ------ | ------ | ------ |
602
+ | <a id="config_id-1"></a> `config_id?` | `string` | Unique ID for the config. | [cobalt.ts:62](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L62) |
603
+ | <a id="labels-1"></a> `labels?` | [`Label`](#label-1)[] | The dynamic label mappings. | [cobalt.ts:64](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L64) |
604
+ | <a id="slug-2"></a> `slug` | `string` | The application slug. | [cobalt.ts:60](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L60) |
605
+
606
+ ***
607
+
608
+ ### ConfigWorkflow
609
+
610
+ Defined in: [cobalt.ts:222](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L222)
611
+
612
+ #### Properties
613
+
614
+ | Property | Type | Defined in |
615
+ | ------ | ------ | ------ |
616
+ | <a id="description-1"></a> `description?` | `string` | [cobalt.ts:225](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L225) |
617
+ | <a id="enabled"></a> `enabled` | `boolean` | [cobalt.ts:226](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L226) |
618
+ | <a id="fields-1"></a> `fields?` | [`ConfigField`](#configfield)[] | [cobalt.ts:227](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L227) |
619
+ | <a id="id-1"></a> `id` | `string` | [cobalt.ts:223](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L223) |
620
+ | <a id="name-2"></a> `name` | `string` | [cobalt.ts:224](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L224) |
621
+
622
+ ***
623
+
624
+ ### ~~EcosystemLead~~
625
+
626
+ Defined in: [cobalt.ts:107](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L107)
627
+
628
+ #### Deprecated
629
+
630
+ #### Properties
631
+
632
+ | Property | Type | Defined in |
633
+ | ------ | ------ | ------ |
634
+ | <a id="_id"></a> ~~`_id`~~ | `string` | [cobalt.ts:108](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L108) |
635
+ | <a id="created_at"></a> ~~`created_at`~~ | `string` | [cobalt.ts:112](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L112) |
636
+ | <a id="description-2"></a> ~~`description?`~~ | `string` | [cobalt.ts:111](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L111) |
637
+ | <a id="email"></a> ~~`email`~~ | `string` | [cobalt.ts:110](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L110) |
638
+ | <a id="name-3"></a> ~~`name?`~~ | `string` | [cobalt.ts:109](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L109) |
639
+
640
+ ***
641
+
642
+ ### ~~EcosystemLeadPayload~~
643
+
644
+ Defined in: [cobalt.ts:118](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L118)
645
+
646
+ #### Deprecated
647
+
648
+ #### Properties
649
+
650
+ | Property | Type | Defined in |
651
+ | ------ | ------ | ------ |
652
+ | <a id="description-3"></a> ~~`description?`~~ | `string` | [cobalt.ts:122](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L122) |
653
+ | <a id="email-1"></a> ~~`email`~~ | `string` | [cobalt.ts:121](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L121) |
654
+ | <a id="name-4"></a> ~~`name?`~~ | `string` | [cobalt.ts:120](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L120) |
655
+ | <a id="slug-3"></a> ~~`slug`~~ | `string` | [cobalt.ts:119](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L119) |
656
+
657
+ ***
658
+
659
+ ### Execution
660
+
661
+ Defined in: [cobalt.ts:230](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L230)
662
+
663
+ #### Properties
664
+
665
+ | Property | Type | Defined in |
666
+ | ------ | ------ | ------ |
667
+ | <a id="_id-1"></a> `_id` | `string` | [cobalt.ts:231](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L231) |
668
+ | <a id="associated_application"></a> `associated_application` | `object` | [cobalt.ts:235](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L235) |
669
+ | `associated_application._id` | `string` | [cobalt.ts:236](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L236) |
670
+ | `associated_application.icon?` | `string` | [cobalt.ts:238](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L238) |
671
+ | `associated_application.name` | `string` | [cobalt.ts:237](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L237) |
672
+ | <a id="associated_event_id"></a> `associated_event_id` | `string` | [cobalt.ts:259](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L259) |
673
+ | <a id="associated_trigger_application"></a> `associated_trigger_application` | `object` | [cobalt.ts:245](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L245) |
674
+ | `associated_trigger_application._id` | `string` | [cobalt.ts:246](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L246) |
675
+ | `associated_trigger_application.app_type?` | `string` | [cobalt.ts:249](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L249) |
676
+ | `associated_trigger_application.icon?` | `string` | [cobalt.ts:248](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L248) |
677
+ | `associated_trigger_application.name` | `string` | [cobalt.ts:247](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L247) |
678
+ | `associated_trigger_application.origin_trigger` | `object` | [cobalt.ts:250](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L250) |
679
+ | `associated_trigger_application.origin_trigger._id` | `string` | [cobalt.ts:251](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L251) |
680
+ | `associated_trigger_application.origin_trigger.name` | `string` | [cobalt.ts:252](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L252) |
681
+ | <a id="associated_workflow"></a> `associated_workflow` | `object` | [cobalt.ts:241](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L241) |
682
+ | `associated_workflow._id` | `string` | [cobalt.ts:242](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L242) |
683
+ | `associated_workflow.name` | `string` | [cobalt.ts:243](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L243) |
684
+ | <a id="config_id-2"></a> `config_id` | `string` | [cobalt.ts:258](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L258) |
685
+ | <a id="createdat"></a> `createdAt` | `string` | [cobalt.ts:262](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L262) |
686
+ | <a id="custom_application_id"></a> `custom_application_id?` | `string` | [cobalt.ts:261](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L261) |
687
+ | <a id="custom_trigger_id"></a> `custom_trigger_id?` | `string` | [cobalt.ts:260](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L260) |
688
+ | <a id="environment"></a> `environment` | `"test"` \| `"production"` | [cobalt.ts:257](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L257) |
689
+ | <a id="id-2"></a> `id?` | `string` | [cobalt.ts:232](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L232) |
690
+ | <a id="linked_account_id"></a> `linked_account_id` | `string` | [cobalt.ts:256](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L256) |
691
+ | <a id="name-5"></a> `name` | `string` | [cobalt.ts:233](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L233) |
692
+ | <a id="org_id"></a> `org_id` | `string` | [cobalt.ts:234](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L234) |
693
+ | <a id="status"></a> `status` | `"COMPLETED"` \| `"RUNNING"` \| `"ERRORED"` \| `"STOPPED"` \| `"STOPPING"` \| `"TIMED_OUT"` | [cobalt.ts:240](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L240) |
694
+ | <a id="trigger_application_event"></a> `trigger_application_event?` | `string` | [cobalt.ts:255](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L255) |
695
+
696
+ ***
697
+
698
+ ### InputField
699
+
700
+ Defined in: [cobalt.ts:35](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L35)
701
+
702
+ An Input field to take input from the user.
703
+
704
+ #### Properties
705
+
706
+ | Property | Type | Description | Defined in |
707
+ | ------ | ------ | ------ | ------ |
708
+ | <a id="help_text-1"></a> `help_text?` | `string` | The help text for the field. | [cobalt.ts:49](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L49) |
709
+ | <a id="label"></a> `label` | `string` | The label of the field. | [cobalt.ts:47](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L47) |
710
+ | <a id="multiple-1"></a> `multiple?` | `boolean` | Whether the field accepts multiple values. | [cobalt.ts:43](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L43) |
711
+ | <a id="name-6"></a> `name` | `string` | Key name of the field. | [cobalt.ts:37](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L37) |
712
+ | <a id="options-1"></a> `options?` | `object`[] | The options for the field. | [cobalt.ts:51](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L51) |
713
+ | <a id="placeholder-1"></a> `placeholder` | `string` | The placeholder of the field. | [cobalt.ts:45](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L45) |
714
+ | <a id="required-1"></a> `required` | `boolean` | Whether the field is required. | [cobalt.ts:41](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L41) |
715
+ | <a id="type-1"></a> `type` | `string` | Input type of the field. | [cobalt.ts:39](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L39) |
716
+
717
+ ***
718
+
719
+ ### Label
720
+
721
+ Defined in: [cobalt.ts:68](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L68)
722
+
723
+ Label Mapping
724
+
725
+ #### Properties
726
+
727
+ | Property | Type | Description | Defined in |
728
+ | ------ | ------ | ------ | ------ |
729
+ | <a id="name-7"></a> `name` | `string` | The label name. | [cobalt.ts:70](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L70) |
730
+ | <a id="value-1"></a> `value` | `string` \| `number` \| `boolean` | The label value. | [cobalt.ts:72](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L72) |
731
+
732
+ ***
733
+
734
+ ### PublicWorkflow
735
+
736
+ Defined in: [cobalt.ts:146](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L146)
737
+
738
+ A public workflow in Cobalt.
739
+
740
+ #### Properties
741
+
742
+ | Property | Type | Description | Defined in |
743
+ | ------ | ------ | ------ | ------ |
744
+ | <a id="_id-2"></a> `_id` | `string` | The workflow ID. | [cobalt.ts:148](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L148) |
745
+ | <a id="description-4"></a> `description?` | `string` | The workflow description. | [cobalt.ts:152](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L152) |
746
+ | <a id="name-8"></a> `name` | `string` | The workflow name. | [cobalt.ts:150](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L150) |
747
+
748
+ ***
749
+
750
+ ### PublicWorkflowPayload
751
+
752
+ Defined in: [cobalt.ts:156](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L156)
753
+
754
+ The payload for creating a public workflow for the linked account.
755
+
756
+ #### Properties
757
+
758
+ | Property | Type | Description | Defined in |
759
+ | ------ | ------ | ------ | ------ |
760
+ | <a id="description-5"></a> `description?` | `string` | The workflow description. | [cobalt.ts:160](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L160) |
761
+ | <a id="name-9"></a> `name` | `string` | The workflow name. | [cobalt.ts:158](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L158) |
762
+ | <a id="slug-4"></a> `slug?` | `string` | The application slug in which this workflow should be created. | [cobalt.ts:162](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L162) |
763
+
764
+ ***
765
+
766
+ ### PublicWorkflowsPayload
767
+
768
+ Defined in: [cobalt.ts:165](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L165)
769
+
770
+ #### Extends
771
+
772
+ - `PaginationProps`
773
+
774
+ #### Properties
775
+
776
+ | Property | Type | Inherited from | Defined in |
777
+ | ------ | ------ | ------ | ------ |
778
+ | <a id="limit"></a> `limit?` | `number` | `PaginationProps.limit` | [cobalt.ts:171](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L171) |
779
+ | <a id="page"></a> `page?` | `number` | `PaginationProps.page` | [cobalt.ts:170](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L170) |
780
+ | <a id="slug-5"></a> `slug?` | `string` | - | [cobalt.ts:166](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L166) |
781
+
782
+ ***
783
+
784
+ ### RuleOptions
785
+
786
+ Defined in: [cobalt.ts:125](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L125)
787
+
788
+ #### Properties
789
+
790
+ | Property | Type | Defined in |
791
+ | ------ | ------ | ------ |
792
+ | <a id="conditional_code_stdout"></a> `conditional_code_stdout?` | `string`[] | [cobalt.ts:138](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L138) |
793
+ | <a id="error"></a> `error?` | `object` | [cobalt.ts:139](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L139) |
794
+ | `error.message?` | `string` | [cobalt.ts:140](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L140) |
795
+ | `error.stack?` | `string` | [cobalt.ts:141](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L141) |
796
+ | <a id="rule_column"></a> `rule_column` | `object` | [cobalt.ts:126](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L126) |
797
+ | `rule_column.operator` | `object` | [cobalt.ts:132](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L132) |
798
+ | `rule_column.operator.name` | `string` | [cobalt.ts:133](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L133) |
799
+ | `rule_column.operator.options` | [`Label`](#label-1)[] | [cobalt.ts:135](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L135) |
800
+ | `rule_column.operator.type` | `"select"` | [cobalt.ts:134](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L134) |
801
+ | `rule_column.rhs` | `object` | [cobalt.ts:127](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L127) |
802
+ | `rule_column.rhs.name` | `string` | [cobalt.ts:128](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L128) |
803
+ | `rule_column.rhs.options?` | [`Label`](#label-1)[] | [cobalt.ts:130](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L130) |
804
+ | `rule_column.rhs.type` | `"text"` \| `"select"` | [cobalt.ts:129](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L129) |
805
+
806
+ ***
807
+
808
+ ### UpdateConfigPayload
809
+
810
+ Defined in: [cobalt.ts:76](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L76)
811
+
812
+ The configuration data for an application.
813
+
814
+ #### Properties
815
+
816
+ | Property | Type | Description | Defined in |
817
+ | ------ | ------ | ------ | ------ |
818
+ | <a id="config_id-3"></a> `config_id?` | `string` | Unique ID for the config. | [cobalt.ts:80](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L80) |
819
+ | <a id="fields-2"></a> `fields` | `Record`\<`string`, `string` \| `number` \| `boolean`\> | A map of application fields and their values. | [cobalt.ts:82](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L82) |
820
+ | <a id="slug-6"></a> `slug` | `string` | The application slug | [cobalt.ts:78](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L78) |
821
+ | <a id="workflows-1"></a> `workflows` | [`WorkflowPayload`](#workflowpayload)[] | The config workflows data. | [cobalt.ts:84](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L84) |
822
+
823
+ ***
824
+
825
+ ### WorkflowPayload
826
+
827
+ Defined in: [cobalt.ts:88](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L88)
828
+
829
+ The workflow.
830
+
831
+ #### Properties
832
+
833
+ | Property | Type | Description | Defined in |
834
+ | ------ | ------ | ------ | ------ |
835
+ | <a id="enabled-1"></a> `enabled` | `boolean` | Whether the workflow is enabled. | [cobalt.ts:92](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L92) |
836
+ | <a id="fields-3"></a> `fields` | `Record`\<`string`, `string` \| `number` \| `boolean`\> | A map of workflow field names and their values. | [cobalt.ts:94](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L94) |
837
+ | <a id="id-3"></a> `id` | `string` | The ID of the workflow. | [cobalt.ts:90](https://github.com/gocobalt/cobalt-js/blob/16eca84ac399316b053aeb5413affb7ab3323410/cobalt.ts#L90) |