@shuffl/api-contracts 0.5.5 → 0.5.6
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/dist/index.d.ts +81 -13
- package/dist/management-operations.d.ts +1 -1
- package/dist/management-operations.js +9 -1
- package/dist/management.generated.d.ts +79 -13
- package/dist/management.generated.js +87 -1
- package/dist/permissions.d.ts +2 -0
- package/openapi.json +1020 -268
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -35347,6 +35347,9 @@
|
|
|
35347
35347
|
{
|
|
35348
35348
|
"const": "groups.allAutomations"
|
|
35349
35349
|
},
|
|
35350
|
+
{
|
|
35351
|
+
"const": "groups.automationChoices"
|
|
35352
|
+
},
|
|
35350
35353
|
{
|
|
35351
35354
|
"const": "groups.automations"
|
|
35352
35355
|
},
|
|
@@ -37087,6 +37090,9 @@
|
|
|
37087
37090
|
{
|
|
37088
37091
|
"const": "groups.allAutomations"
|
|
37089
37092
|
},
|
|
37093
|
+
{
|
|
37094
|
+
"const": "groups.automationChoices"
|
|
37095
|
+
},
|
|
37090
37096
|
{
|
|
37091
37097
|
"const": "groups.automations"
|
|
37092
37098
|
},
|
|
@@ -38402,6 +38408,9 @@
|
|
|
38402
38408
|
{
|
|
38403
38409
|
"const": "groups.allAutomations"
|
|
38404
38410
|
},
|
|
38411
|
+
{
|
|
38412
|
+
"const": "groups.automationChoices"
|
|
38413
|
+
},
|
|
38405
38414
|
{
|
|
38406
38415
|
"const": "groups.automations"
|
|
38407
38416
|
},
|
|
@@ -54326,6 +54335,9 @@
|
|
|
54326
54335
|
}
|
|
54327
54336
|
]
|
|
54328
54337
|
},
|
|
54338
|
+
"badgeId": {
|
|
54339
|
+
"type": "string"
|
|
54340
|
+
},
|
|
54329
54341
|
"body": {
|
|
54330
54342
|
"type": "array",
|
|
54331
54343
|
"items": {
|
|
@@ -54351,296 +54363,328 @@
|
|
|
54351
54363
|
"note": {
|
|
54352
54364
|
"type": "string"
|
|
54353
54365
|
},
|
|
54354
|
-
"
|
|
54366
|
+
"personId": {
|
|
54355
54367
|
"type": "string"
|
|
54356
54368
|
},
|
|
54357
|
-
"
|
|
54369
|
+
"programId": {
|
|
54358
54370
|
"type": "string"
|
|
54359
|
-
}
|
|
54360
|
-
},
|
|
54361
|
-
"additionalProperties": false
|
|
54362
|
-
},
|
|
54363
|
-
"createdAt": {
|
|
54364
|
-
"type": "string",
|
|
54365
|
-
"format": "date-time"
|
|
54366
|
-
},
|
|
54367
|
-
"createdBy": {
|
|
54368
|
-
"anyOf": [
|
|
54369
|
-
{
|
|
54370
|
-
"type": "null"
|
|
54371
54371
|
},
|
|
54372
|
-
{
|
|
54372
|
+
"questionId": {
|
|
54373
54373
|
"type": "string"
|
|
54374
|
-
}
|
|
54375
|
-
]
|
|
54376
|
-
},
|
|
54377
|
-
"group": {
|
|
54378
|
-
"type": "object",
|
|
54379
|
-
"properties": {
|
|
54380
|
-
"id": {
|
|
54381
|
-
"type": "string"
|
|
54382
|
-
},
|
|
54383
|
-
"kind": {
|
|
54384
|
-
"anyOf": [
|
|
54385
|
-
{
|
|
54386
|
-
"const": "dynamic"
|
|
54387
|
-
},
|
|
54388
|
-
{
|
|
54389
|
-
"const": "list"
|
|
54390
|
-
}
|
|
54391
|
-
]
|
|
54392
54374
|
},
|
|
54393
|
-
"
|
|
54394
|
-
"type": "
|
|
54375
|
+
"subject": {
|
|
54376
|
+
"type": "string"
|
|
54395
54377
|
},
|
|
54396
|
-
"
|
|
54378
|
+
"targetGroupId": {
|
|
54397
54379
|
"type": "string"
|
|
54398
54380
|
}
|
|
54399
54381
|
},
|
|
54400
|
-
"required": [
|
|
54401
|
-
"id",
|
|
54402
|
-
"kind",
|
|
54403
|
-
"members",
|
|
54404
|
-
"name"
|
|
54405
|
-
],
|
|
54406
54382
|
"additionalProperties": false
|
|
54407
54383
|
},
|
|
54408
|
-
"
|
|
54409
|
-
"type": "string"
|
|
54410
|
-
},
|
|
54411
|
-
"id": {
|
|
54412
|
-
"type": "string"
|
|
54413
|
-
},
|
|
54414
|
-
"kind": {
|
|
54415
|
-
"anyOf": [
|
|
54416
|
-
{
|
|
54417
|
-
"const": "add_to_program"
|
|
54418
|
-
},
|
|
54419
|
-
{
|
|
54420
|
-
"const": "invite_community"
|
|
54421
|
-
},
|
|
54422
|
-
{
|
|
54423
|
-
"const": "send_message"
|
|
54424
|
-
},
|
|
54425
|
-
{
|
|
54426
|
-
"const": "start_playbook"
|
|
54427
|
-
},
|
|
54428
|
-
{
|
|
54429
|
-
"const": "tell_hr"
|
|
54430
|
-
},
|
|
54431
|
-
{
|
|
54432
|
-
"const": "tell_manager"
|
|
54433
|
-
}
|
|
54434
|
-
]
|
|
54435
|
-
},
|
|
54436
|
-
"lastRunAt": {
|
|
54437
|
-
"anyOf": [
|
|
54438
|
-
{
|
|
54439
|
-
"type": "null"
|
|
54440
|
-
},
|
|
54441
|
-
{
|
|
54442
|
-
"type": "string",
|
|
54443
|
-
"format": "date-time"
|
|
54444
|
-
}
|
|
54445
|
-
]
|
|
54446
|
-
},
|
|
54447
|
-
"runs": {
|
|
54448
|
-
"type": "number"
|
|
54449
|
-
},
|
|
54450
|
-
"state": {
|
|
54451
|
-
"anyOf": [
|
|
54452
|
-
{
|
|
54453
|
-
"const": "active"
|
|
54454
|
-
},
|
|
54455
|
-
{
|
|
54456
|
-
"const": "paused"
|
|
54457
|
-
}
|
|
54458
|
-
]
|
|
54459
|
-
},
|
|
54460
|
-
"summary": {
|
|
54461
|
-
"type": "string"
|
|
54462
|
-
},
|
|
54463
|
-
"target": {
|
|
54464
|
-
"anyOf": [
|
|
54465
|
-
{
|
|
54466
|
-
"type": "null"
|
|
54467
|
-
},
|
|
54468
|
-
{
|
|
54469
|
-
"type": "object",
|
|
54470
|
-
"properties": {
|
|
54471
|
-
"id": {
|
|
54472
|
-
"type": "string"
|
|
54473
|
-
},
|
|
54474
|
-
"name": {
|
|
54475
|
-
"anyOf": [
|
|
54476
|
-
{
|
|
54477
|
-
"type": "null"
|
|
54478
|
-
},
|
|
54479
|
-
{
|
|
54480
|
-
"type": "string"
|
|
54481
|
-
}
|
|
54482
|
-
]
|
|
54483
|
-
}
|
|
54484
|
-
},
|
|
54485
|
-
"required": [
|
|
54486
|
-
"id",
|
|
54487
|
-
"name"
|
|
54488
|
-
],
|
|
54489
|
-
"additionalProperties": false
|
|
54490
|
-
}
|
|
54491
|
-
]
|
|
54492
|
-
},
|
|
54493
|
-
"trigger": {
|
|
54494
|
-
"anyOf": [
|
|
54495
|
-
{
|
|
54496
|
-
"const": "entered"
|
|
54497
|
-
},
|
|
54498
|
-
{
|
|
54499
|
-
"const": "left"
|
|
54500
|
-
}
|
|
54501
|
-
]
|
|
54502
|
-
},
|
|
54503
|
-
"updatedAt": {
|
|
54384
|
+
"createdAt": {
|
|
54504
54385
|
"type": "string",
|
|
54505
54386
|
"format": "date-time"
|
|
54506
|
-
}
|
|
54507
|
-
},
|
|
54508
|
-
"required": [
|
|
54509
|
-
"config",
|
|
54510
|
-
"createdAt",
|
|
54511
|
-
"createdBy",
|
|
54512
|
-
"group",
|
|
54513
|
-
"groupId",
|
|
54514
|
-
"id",
|
|
54515
|
-
"kind",
|
|
54516
|
-
"lastRunAt",
|
|
54517
|
-
"runs",
|
|
54518
|
-
"state",
|
|
54519
|
-
"summary",
|
|
54520
|
-
"target",
|
|
54521
|
-
"trigger",
|
|
54522
|
-
"updatedAt"
|
|
54523
|
-
],
|
|
54524
|
-
"additionalProperties": false
|
|
54525
|
-
}
|
|
54526
|
-
},
|
|
54527
|
-
"playbookStarts": {
|
|
54528
|
-
"type": "array",
|
|
54529
|
-
"items": {
|
|
54530
|
-
"type": "object",
|
|
54531
|
-
"properties": {
|
|
54532
|
-
"group": {
|
|
54533
|
-
"anyOf": [
|
|
54534
|
-
{
|
|
54535
|
-
"type": "null"
|
|
54536
|
-
},
|
|
54537
|
-
{
|
|
54538
|
-
"type": "object",
|
|
54539
|
-
"properties": {
|
|
54540
|
-
"id": {
|
|
54541
|
-
"type": "string"
|
|
54542
|
-
},
|
|
54543
|
-
"kind": {
|
|
54544
|
-
"anyOf": [
|
|
54545
|
-
{
|
|
54546
|
-
"const": "dynamic"
|
|
54547
|
-
},
|
|
54548
|
-
{
|
|
54549
|
-
"const": "list"
|
|
54550
|
-
}
|
|
54551
|
-
]
|
|
54552
|
-
},
|
|
54553
|
-
"members": {
|
|
54554
|
-
"type": "number"
|
|
54555
|
-
},
|
|
54556
|
-
"name": {
|
|
54557
|
-
"type": "string"
|
|
54558
|
-
}
|
|
54559
|
-
},
|
|
54560
|
-
"required": [
|
|
54561
|
-
"id",
|
|
54562
|
-
"kind",
|
|
54563
|
-
"members",
|
|
54564
|
-
"name"
|
|
54565
|
-
],
|
|
54566
|
-
"additionalProperties": false
|
|
54567
|
-
}
|
|
54568
|
-
]
|
|
54569
54387
|
},
|
|
54570
|
-
"
|
|
54388
|
+
"createdBy": {
|
|
54571
54389
|
"anyOf": [
|
|
54572
54390
|
{
|
|
54573
54391
|
"type": "null"
|
|
54574
54392
|
},
|
|
54575
54393
|
{
|
|
54576
|
-
"type": "string",
|
|
54577
|
-
"format": "date-time"
|
|
54578
|
-
}
|
|
54579
|
-
]
|
|
54580
|
-
},
|
|
54581
|
-
"playbook": {
|
|
54582
|
-
"type": "object",
|
|
54583
|
-
"properties": {
|
|
54584
|
-
"id": {
|
|
54585
|
-
"type": "string"
|
|
54586
|
-
},
|
|
54587
|
-
"name": {
|
|
54588
54394
|
"type": "string"
|
|
54589
|
-
},
|
|
54590
|
-
"status": {
|
|
54591
|
-
"anyOf": [
|
|
54592
|
-
{
|
|
54593
|
-
"const": "active"
|
|
54594
|
-
},
|
|
54595
|
-
{
|
|
54596
|
-
"const": "archived"
|
|
54597
|
-
},
|
|
54598
|
-
{
|
|
54599
|
-
"const": "paused"
|
|
54600
|
-
}
|
|
54601
|
-
]
|
|
54602
54395
|
}
|
|
54603
|
-
|
|
54604
|
-
"required": [
|
|
54605
|
-
"id",
|
|
54606
|
-
"name",
|
|
54607
|
-
"status"
|
|
54608
|
-
],
|
|
54609
|
-
"additionalProperties": false
|
|
54610
|
-
},
|
|
54611
|
-
"runs": {
|
|
54612
|
-
"type": "number"
|
|
54396
|
+
]
|
|
54613
54397
|
},
|
|
54614
|
-
"
|
|
54398
|
+
"delayDays": {
|
|
54615
54399
|
"type": "number"
|
|
54616
54400
|
},
|
|
54617
|
-
"
|
|
54618
|
-
"
|
|
54619
|
-
|
|
54620
|
-
|
|
54621
|
-
|
|
54622
|
-
|
|
54623
|
-
|
|
54624
|
-
|
|
54625
|
-
|
|
54626
|
-
|
|
54627
|
-
|
|
54628
|
-
|
|
54629
|
-
|
|
54630
|
-
|
|
54631
|
-
|
|
54632
|
-
|
|
54633
|
-
|
|
54634
|
-
|
|
54635
|
-
|
|
54636
|
-
|
|
54637
|
-
|
|
54638
|
-
|
|
54639
|
-
|
|
54640
|
-
|
|
54641
|
-
|
|
54642
|
-
|
|
54643
|
-
|
|
54401
|
+
"group": {
|
|
54402
|
+
"type": "object",
|
|
54403
|
+
"properties": {
|
|
54404
|
+
"id": {
|
|
54405
|
+
"type": "string"
|
|
54406
|
+
},
|
|
54407
|
+
"kind": {
|
|
54408
|
+
"anyOf": [
|
|
54409
|
+
{
|
|
54410
|
+
"const": "dynamic"
|
|
54411
|
+
},
|
|
54412
|
+
{
|
|
54413
|
+
"const": "list"
|
|
54414
|
+
}
|
|
54415
|
+
]
|
|
54416
|
+
},
|
|
54417
|
+
"members": {
|
|
54418
|
+
"type": "number"
|
|
54419
|
+
},
|
|
54420
|
+
"name": {
|
|
54421
|
+
"type": "string"
|
|
54422
|
+
}
|
|
54423
|
+
},
|
|
54424
|
+
"required": [
|
|
54425
|
+
"id",
|
|
54426
|
+
"kind",
|
|
54427
|
+
"members",
|
|
54428
|
+
"name"
|
|
54429
|
+
],
|
|
54430
|
+
"additionalProperties": false
|
|
54431
|
+
},
|
|
54432
|
+
"groupId": {
|
|
54433
|
+
"type": "string"
|
|
54434
|
+
},
|
|
54435
|
+
"id": {
|
|
54436
|
+
"type": "string"
|
|
54437
|
+
},
|
|
54438
|
+
"kind": {
|
|
54439
|
+
"anyOf": [
|
|
54440
|
+
{
|
|
54441
|
+
"const": "add_to_group"
|
|
54442
|
+
},
|
|
54443
|
+
{
|
|
54444
|
+
"const": "add_to_program"
|
|
54445
|
+
},
|
|
54446
|
+
{
|
|
54447
|
+
"const": "ask_pulse"
|
|
54448
|
+
},
|
|
54449
|
+
{
|
|
54450
|
+
"const": "give_badge"
|
|
54451
|
+
},
|
|
54452
|
+
{
|
|
54453
|
+
"const": "invite_community"
|
|
54454
|
+
},
|
|
54455
|
+
{
|
|
54456
|
+
"const": "remove_from_group"
|
|
54457
|
+
},
|
|
54458
|
+
{
|
|
54459
|
+
"const": "send_message"
|
|
54460
|
+
},
|
|
54461
|
+
{
|
|
54462
|
+
"const": "start_playbook"
|
|
54463
|
+
},
|
|
54464
|
+
{
|
|
54465
|
+
"const": "tell_hr"
|
|
54466
|
+
},
|
|
54467
|
+
{
|
|
54468
|
+
"const": "tell_manager"
|
|
54469
|
+
},
|
|
54470
|
+
{
|
|
54471
|
+
"const": "tell_person"
|
|
54472
|
+
}
|
|
54473
|
+
]
|
|
54474
|
+
},
|
|
54475
|
+
"lastRunAt": {
|
|
54476
|
+
"anyOf": [
|
|
54477
|
+
{
|
|
54478
|
+
"type": "null"
|
|
54479
|
+
},
|
|
54480
|
+
{
|
|
54481
|
+
"type": "string",
|
|
54482
|
+
"format": "date-time"
|
|
54483
|
+
}
|
|
54484
|
+
]
|
|
54485
|
+
},
|
|
54486
|
+
"runs": {
|
|
54487
|
+
"type": "number"
|
|
54488
|
+
},
|
|
54489
|
+
"state": {
|
|
54490
|
+
"anyOf": [
|
|
54491
|
+
{
|
|
54492
|
+
"const": "active"
|
|
54493
|
+
},
|
|
54494
|
+
{
|
|
54495
|
+
"const": "paused"
|
|
54496
|
+
}
|
|
54497
|
+
]
|
|
54498
|
+
},
|
|
54499
|
+
"summary": {
|
|
54500
|
+
"type": "string"
|
|
54501
|
+
},
|
|
54502
|
+
"target": {
|
|
54503
|
+
"anyOf": [
|
|
54504
|
+
{
|
|
54505
|
+
"type": "null"
|
|
54506
|
+
},
|
|
54507
|
+
{
|
|
54508
|
+
"type": "object",
|
|
54509
|
+
"properties": {
|
|
54510
|
+
"id": {
|
|
54511
|
+
"type": "string"
|
|
54512
|
+
},
|
|
54513
|
+
"name": {
|
|
54514
|
+
"anyOf": [
|
|
54515
|
+
{
|
|
54516
|
+
"type": "null"
|
|
54517
|
+
},
|
|
54518
|
+
{
|
|
54519
|
+
"type": "string"
|
|
54520
|
+
}
|
|
54521
|
+
]
|
|
54522
|
+
}
|
|
54523
|
+
},
|
|
54524
|
+
"required": [
|
|
54525
|
+
"id",
|
|
54526
|
+
"name"
|
|
54527
|
+
],
|
|
54528
|
+
"additionalProperties": false
|
|
54529
|
+
}
|
|
54530
|
+
]
|
|
54531
|
+
},
|
|
54532
|
+
"trigger": {
|
|
54533
|
+
"anyOf": [
|
|
54534
|
+
{
|
|
54535
|
+
"const": "entered"
|
|
54536
|
+
},
|
|
54537
|
+
{
|
|
54538
|
+
"const": "left"
|
|
54539
|
+
}
|
|
54540
|
+
]
|
|
54541
|
+
},
|
|
54542
|
+
"updatedAt": {
|
|
54543
|
+
"type": "string",
|
|
54544
|
+
"format": "date-time"
|
|
54545
|
+
},
|
|
54546
|
+
"when": {
|
|
54547
|
+
"type": "string"
|
|
54548
|
+
}
|
|
54549
|
+
},
|
|
54550
|
+
"required": [
|
|
54551
|
+
"config",
|
|
54552
|
+
"createdAt",
|
|
54553
|
+
"createdBy",
|
|
54554
|
+
"delayDays",
|
|
54555
|
+
"group",
|
|
54556
|
+
"groupId",
|
|
54557
|
+
"id",
|
|
54558
|
+
"kind",
|
|
54559
|
+
"lastRunAt",
|
|
54560
|
+
"runs",
|
|
54561
|
+
"state",
|
|
54562
|
+
"summary",
|
|
54563
|
+
"target",
|
|
54564
|
+
"trigger",
|
|
54565
|
+
"updatedAt",
|
|
54566
|
+
"when"
|
|
54567
|
+
],
|
|
54568
|
+
"additionalProperties": false
|
|
54569
|
+
}
|
|
54570
|
+
},
|
|
54571
|
+
"playbookStarts": {
|
|
54572
|
+
"type": "array",
|
|
54573
|
+
"items": {
|
|
54574
|
+
"type": "object",
|
|
54575
|
+
"properties": {
|
|
54576
|
+
"group": {
|
|
54577
|
+
"anyOf": [
|
|
54578
|
+
{
|
|
54579
|
+
"type": "null"
|
|
54580
|
+
},
|
|
54581
|
+
{
|
|
54582
|
+
"type": "object",
|
|
54583
|
+
"properties": {
|
|
54584
|
+
"id": {
|
|
54585
|
+
"type": "string"
|
|
54586
|
+
},
|
|
54587
|
+
"kind": {
|
|
54588
|
+
"anyOf": [
|
|
54589
|
+
{
|
|
54590
|
+
"const": "dynamic"
|
|
54591
|
+
},
|
|
54592
|
+
{
|
|
54593
|
+
"const": "list"
|
|
54594
|
+
}
|
|
54595
|
+
]
|
|
54596
|
+
},
|
|
54597
|
+
"members": {
|
|
54598
|
+
"type": "number"
|
|
54599
|
+
},
|
|
54600
|
+
"name": {
|
|
54601
|
+
"type": "string"
|
|
54602
|
+
}
|
|
54603
|
+
},
|
|
54604
|
+
"required": [
|
|
54605
|
+
"id",
|
|
54606
|
+
"kind",
|
|
54607
|
+
"members",
|
|
54608
|
+
"name"
|
|
54609
|
+
],
|
|
54610
|
+
"additionalProperties": false
|
|
54611
|
+
}
|
|
54612
|
+
]
|
|
54613
|
+
},
|
|
54614
|
+
"lastRunAt": {
|
|
54615
|
+
"anyOf": [
|
|
54616
|
+
{
|
|
54617
|
+
"type": "null"
|
|
54618
|
+
},
|
|
54619
|
+
{
|
|
54620
|
+
"type": "string",
|
|
54621
|
+
"format": "date-time"
|
|
54622
|
+
}
|
|
54623
|
+
]
|
|
54624
|
+
},
|
|
54625
|
+
"playbook": {
|
|
54626
|
+
"type": "object",
|
|
54627
|
+
"properties": {
|
|
54628
|
+
"id": {
|
|
54629
|
+
"type": "string"
|
|
54630
|
+
},
|
|
54631
|
+
"name": {
|
|
54632
|
+
"type": "string"
|
|
54633
|
+
},
|
|
54634
|
+
"status": {
|
|
54635
|
+
"anyOf": [
|
|
54636
|
+
{
|
|
54637
|
+
"const": "active"
|
|
54638
|
+
},
|
|
54639
|
+
{
|
|
54640
|
+
"const": "archived"
|
|
54641
|
+
},
|
|
54642
|
+
{
|
|
54643
|
+
"const": "paused"
|
|
54644
|
+
}
|
|
54645
|
+
]
|
|
54646
|
+
}
|
|
54647
|
+
},
|
|
54648
|
+
"required": [
|
|
54649
|
+
"id",
|
|
54650
|
+
"name",
|
|
54651
|
+
"status"
|
|
54652
|
+
],
|
|
54653
|
+
"additionalProperties": false
|
|
54654
|
+
},
|
|
54655
|
+
"runs": {
|
|
54656
|
+
"type": "number"
|
|
54657
|
+
},
|
|
54658
|
+
"runs30": {
|
|
54659
|
+
"type": "number"
|
|
54660
|
+
},
|
|
54661
|
+
"state": {
|
|
54662
|
+
"anyOf": [
|
|
54663
|
+
{
|
|
54664
|
+
"const": "active"
|
|
54665
|
+
},
|
|
54666
|
+
{
|
|
54667
|
+
"const": "paused"
|
|
54668
|
+
}
|
|
54669
|
+
]
|
|
54670
|
+
}
|
|
54671
|
+
},
|
|
54672
|
+
"required": [
|
|
54673
|
+
"group",
|
|
54674
|
+
"lastRunAt",
|
|
54675
|
+
"playbook",
|
|
54676
|
+
"runs",
|
|
54677
|
+
"runs30",
|
|
54678
|
+
"state"
|
|
54679
|
+
],
|
|
54680
|
+
"additionalProperties": false
|
|
54681
|
+
}
|
|
54682
|
+
},
|
|
54683
|
+
"programRosters": {
|
|
54684
|
+
"type": "array",
|
|
54685
|
+
"items": {
|
|
54686
|
+
"type": "object",
|
|
54687
|
+
"properties": {
|
|
54644
54688
|
"group": {
|
|
54645
54689
|
"type": "object",
|
|
54646
54690
|
"properties": {
|
|
@@ -54729,6 +54773,17 @@
|
|
|
54729
54773
|
}
|
|
54730
54774
|
]
|
|
54731
54775
|
},
|
|
54776
|
+
"dueAt": {
|
|
54777
|
+
"anyOf": [
|
|
54778
|
+
{
|
|
54779
|
+
"type": "null"
|
|
54780
|
+
},
|
|
54781
|
+
{
|
|
54782
|
+
"type": "string",
|
|
54783
|
+
"format": "date-time"
|
|
54784
|
+
}
|
|
54785
|
+
]
|
|
54786
|
+
},
|
|
54732
54787
|
"groupId": {
|
|
54733
54788
|
"type": "string"
|
|
54734
54789
|
},
|
|
@@ -54750,12 +54805,24 @@
|
|
|
54750
54805
|
{
|
|
54751
54806
|
"type": "null"
|
|
54752
54807
|
},
|
|
54808
|
+
{
|
|
54809
|
+
"const": "add_to_group"
|
|
54810
|
+
},
|
|
54753
54811
|
{
|
|
54754
54812
|
"const": "add_to_program"
|
|
54755
54813
|
},
|
|
54814
|
+
{
|
|
54815
|
+
"const": "ask_pulse"
|
|
54816
|
+
},
|
|
54817
|
+
{
|
|
54818
|
+
"const": "give_badge"
|
|
54819
|
+
},
|
|
54756
54820
|
{
|
|
54757
54821
|
"const": "invite_community"
|
|
54758
54822
|
},
|
|
54823
|
+
{
|
|
54824
|
+
"const": "remove_from_group"
|
|
54825
|
+
},
|
|
54759
54826
|
{
|
|
54760
54827
|
"const": "send_message"
|
|
54761
54828
|
},
|
|
@@ -54767,6 +54834,9 @@
|
|
|
54767
54834
|
},
|
|
54768
54835
|
{
|
|
54769
54836
|
"const": "tell_manager"
|
|
54837
|
+
},
|
|
54838
|
+
{
|
|
54839
|
+
"const": "tell_person"
|
|
54770
54840
|
}
|
|
54771
54841
|
]
|
|
54772
54842
|
},
|
|
@@ -54788,6 +54858,9 @@
|
|
|
54788
54858
|
{
|
|
54789
54859
|
"const": "failed"
|
|
54790
54860
|
},
|
|
54861
|
+
{
|
|
54862
|
+
"const": "scheduled"
|
|
54863
|
+
},
|
|
54791
54864
|
{
|
|
54792
54865
|
"const": "skipped"
|
|
54793
54866
|
}
|
|
@@ -54821,6 +54894,7 @@
|
|
|
54821
54894
|
"at",
|
|
54822
54895
|
"automationId",
|
|
54823
54896
|
"code",
|
|
54897
|
+
"dueAt",
|
|
54824
54898
|
"groupId",
|
|
54825
54899
|
"groupName",
|
|
54826
54900
|
"id",
|
|
@@ -54852,6 +54926,9 @@
|
|
|
54852
54926
|
"paused": {
|
|
54853
54927
|
"type": "number"
|
|
54854
54928
|
},
|
|
54929
|
+
"scheduled": {
|
|
54930
|
+
"type": "number"
|
|
54931
|
+
},
|
|
54855
54932
|
"skipped30": {
|
|
54856
54933
|
"type": "number"
|
|
54857
54934
|
}
|
|
@@ -54862,6 +54939,7 @@
|
|
|
54862
54939
|
"failed30",
|
|
54863
54940
|
"groups",
|
|
54864
54941
|
"paused",
|
|
54942
|
+
"scheduled",
|
|
54865
54943
|
"skipped30"
|
|
54866
54944
|
],
|
|
54867
54945
|
"additionalProperties": false
|
|
@@ -55304,6 +55382,530 @@
|
|
|
55304
55382
|
"x-shuffl-permission": "groups.allAutomations"
|
|
55305
55383
|
}
|
|
55306
55384
|
},
|
|
55385
|
+
"/manage/groups/automationChoices": {
|
|
55386
|
+
"post": {
|
|
55387
|
+
"operationId": "groups.automationChoices",
|
|
55388
|
+
"summary": "The Pulse questions, badges and Shuffl lists a group automation can ask, give or add people to",
|
|
55389
|
+
"requestBody": {
|
|
55390
|
+
"required": true,
|
|
55391
|
+
"content": {
|
|
55392
|
+
"application/json": {
|
|
55393
|
+
"schema": {
|
|
55394
|
+
"type": "object",
|
|
55395
|
+
"additionalProperties": false
|
|
55396
|
+
}
|
|
55397
|
+
}
|
|
55398
|
+
}
|
|
55399
|
+
},
|
|
55400
|
+
"responses": {
|
|
55401
|
+
"200": {
|
|
55402
|
+
"description": "OK",
|
|
55403
|
+
"content": {
|
|
55404
|
+
"application/json": {
|
|
55405
|
+
"schema": {
|
|
55406
|
+
"type": "object",
|
|
55407
|
+
"properties": {
|
|
55408
|
+
"badges": {
|
|
55409
|
+
"type": "array",
|
|
55410
|
+
"items": {
|
|
55411
|
+
"type": "object",
|
|
55412
|
+
"properties": {
|
|
55413
|
+
"id": {
|
|
55414
|
+
"type": "string"
|
|
55415
|
+
},
|
|
55416
|
+
"name": {
|
|
55417
|
+
"type": "string"
|
|
55418
|
+
}
|
|
55419
|
+
},
|
|
55420
|
+
"required": [
|
|
55421
|
+
"id",
|
|
55422
|
+
"name"
|
|
55423
|
+
],
|
|
55424
|
+
"additionalProperties": false
|
|
55425
|
+
}
|
|
55426
|
+
},
|
|
55427
|
+
"groups": {
|
|
55428
|
+
"type": "array",
|
|
55429
|
+
"items": {
|
|
55430
|
+
"type": "object",
|
|
55431
|
+
"properties": {
|
|
55432
|
+
"department": {
|
|
55433
|
+
"type": "boolean"
|
|
55434
|
+
},
|
|
55435
|
+
"id": {
|
|
55436
|
+
"type": "string"
|
|
55437
|
+
},
|
|
55438
|
+
"name": {
|
|
55439
|
+
"type": "string"
|
|
55440
|
+
}
|
|
55441
|
+
},
|
|
55442
|
+
"required": [
|
|
55443
|
+
"department",
|
|
55444
|
+
"id",
|
|
55445
|
+
"name"
|
|
55446
|
+
],
|
|
55447
|
+
"additionalProperties": false
|
|
55448
|
+
}
|
|
55449
|
+
},
|
|
55450
|
+
"questions": {
|
|
55451
|
+
"type": "array",
|
|
55452
|
+
"items": {
|
|
55453
|
+
"type": "object",
|
|
55454
|
+
"properties": {
|
|
55455
|
+
"id": {
|
|
55456
|
+
"type": "string"
|
|
55457
|
+
},
|
|
55458
|
+
"retired": {
|
|
55459
|
+
"type": "boolean"
|
|
55460
|
+
},
|
|
55461
|
+
"text": {
|
|
55462
|
+
"type": "string"
|
|
55463
|
+
}
|
|
55464
|
+
},
|
|
55465
|
+
"required": [
|
|
55466
|
+
"id",
|
|
55467
|
+
"retired",
|
|
55468
|
+
"text"
|
|
55469
|
+
],
|
|
55470
|
+
"additionalProperties": false
|
|
55471
|
+
}
|
|
55472
|
+
}
|
|
55473
|
+
},
|
|
55474
|
+
"required": [
|
|
55475
|
+
"badges",
|
|
55476
|
+
"groups",
|
|
55477
|
+
"questions"
|
|
55478
|
+
],
|
|
55479
|
+
"additionalProperties": false
|
|
55480
|
+
}
|
|
55481
|
+
}
|
|
55482
|
+
}
|
|
55483
|
+
},
|
|
55484
|
+
"400": {
|
|
55485
|
+
"description": "400",
|
|
55486
|
+
"content": {
|
|
55487
|
+
"application/json": {
|
|
55488
|
+
"schema": {
|
|
55489
|
+
"oneOf": [
|
|
55490
|
+
{
|
|
55491
|
+
"type": "object",
|
|
55492
|
+
"properties": {
|
|
55493
|
+
"defined": {
|
|
55494
|
+
"const": true
|
|
55495
|
+
},
|
|
55496
|
+
"code": {
|
|
55497
|
+
"const": "BAD_REQUEST"
|
|
55498
|
+
},
|
|
55499
|
+
"status": {
|
|
55500
|
+
"const": 400
|
|
55501
|
+
},
|
|
55502
|
+
"message": {
|
|
55503
|
+
"type": "string",
|
|
55504
|
+
"default": "Check the request input."
|
|
55505
|
+
},
|
|
55506
|
+
"data": {}
|
|
55507
|
+
},
|
|
55508
|
+
"required": [
|
|
55509
|
+
"defined",
|
|
55510
|
+
"code",
|
|
55511
|
+
"status",
|
|
55512
|
+
"message"
|
|
55513
|
+
]
|
|
55514
|
+
},
|
|
55515
|
+
{
|
|
55516
|
+
"type": "object",
|
|
55517
|
+
"properties": {
|
|
55518
|
+
"defined": {
|
|
55519
|
+
"const": false
|
|
55520
|
+
},
|
|
55521
|
+
"code": {
|
|
55522
|
+
"type": "string"
|
|
55523
|
+
},
|
|
55524
|
+
"status": {
|
|
55525
|
+
"type": "number"
|
|
55526
|
+
},
|
|
55527
|
+
"message": {
|
|
55528
|
+
"type": "string"
|
|
55529
|
+
},
|
|
55530
|
+
"data": {}
|
|
55531
|
+
},
|
|
55532
|
+
"required": [
|
|
55533
|
+
"defined",
|
|
55534
|
+
"code",
|
|
55535
|
+
"status",
|
|
55536
|
+
"message"
|
|
55537
|
+
]
|
|
55538
|
+
}
|
|
55539
|
+
]
|
|
55540
|
+
}
|
|
55541
|
+
}
|
|
55542
|
+
}
|
|
55543
|
+
},
|
|
55544
|
+
"401": {
|
|
55545
|
+
"description": "401",
|
|
55546
|
+
"content": {
|
|
55547
|
+
"application/json": {
|
|
55548
|
+
"schema": {
|
|
55549
|
+
"oneOf": [
|
|
55550
|
+
{
|
|
55551
|
+
"type": "object",
|
|
55552
|
+
"properties": {
|
|
55553
|
+
"defined": {
|
|
55554
|
+
"const": true
|
|
55555
|
+
},
|
|
55556
|
+
"code": {
|
|
55557
|
+
"const": "UNAUTHORIZED"
|
|
55558
|
+
},
|
|
55559
|
+
"status": {
|
|
55560
|
+
"const": 401
|
|
55561
|
+
},
|
|
55562
|
+
"message": {
|
|
55563
|
+
"type": "string",
|
|
55564
|
+
"default": "A valid Shuffl API token is required."
|
|
55565
|
+
},
|
|
55566
|
+
"data": {}
|
|
55567
|
+
},
|
|
55568
|
+
"required": [
|
|
55569
|
+
"defined",
|
|
55570
|
+
"code",
|
|
55571
|
+
"status",
|
|
55572
|
+
"message"
|
|
55573
|
+
]
|
|
55574
|
+
},
|
|
55575
|
+
{
|
|
55576
|
+
"type": "object",
|
|
55577
|
+
"properties": {
|
|
55578
|
+
"defined": {
|
|
55579
|
+
"const": false
|
|
55580
|
+
},
|
|
55581
|
+
"code": {
|
|
55582
|
+
"type": "string"
|
|
55583
|
+
},
|
|
55584
|
+
"status": {
|
|
55585
|
+
"type": "number"
|
|
55586
|
+
},
|
|
55587
|
+
"message": {
|
|
55588
|
+
"type": "string"
|
|
55589
|
+
},
|
|
55590
|
+
"data": {}
|
|
55591
|
+
},
|
|
55592
|
+
"required": [
|
|
55593
|
+
"defined",
|
|
55594
|
+
"code",
|
|
55595
|
+
"status",
|
|
55596
|
+
"message"
|
|
55597
|
+
]
|
|
55598
|
+
}
|
|
55599
|
+
]
|
|
55600
|
+
}
|
|
55601
|
+
}
|
|
55602
|
+
}
|
|
55603
|
+
},
|
|
55604
|
+
"403": {
|
|
55605
|
+
"description": "403",
|
|
55606
|
+
"content": {
|
|
55607
|
+
"application/json": {
|
|
55608
|
+
"schema": {
|
|
55609
|
+
"oneOf": [
|
|
55610
|
+
{
|
|
55611
|
+
"type": "object",
|
|
55612
|
+
"properties": {
|
|
55613
|
+
"defined": {
|
|
55614
|
+
"const": true
|
|
55615
|
+
},
|
|
55616
|
+
"code": {
|
|
55617
|
+
"const": "FORBIDDEN"
|
|
55618
|
+
},
|
|
55619
|
+
"status": {
|
|
55620
|
+
"const": 403
|
|
55621
|
+
},
|
|
55622
|
+
"message": {
|
|
55623
|
+
"type": "string",
|
|
55624
|
+
"default": "This token or team role does not permit the operation."
|
|
55625
|
+
},
|
|
55626
|
+
"data": {}
|
|
55627
|
+
},
|
|
55628
|
+
"required": [
|
|
55629
|
+
"defined",
|
|
55630
|
+
"code",
|
|
55631
|
+
"status",
|
|
55632
|
+
"message"
|
|
55633
|
+
]
|
|
55634
|
+
},
|
|
55635
|
+
{
|
|
55636
|
+
"type": "object",
|
|
55637
|
+
"properties": {
|
|
55638
|
+
"defined": {
|
|
55639
|
+
"const": false
|
|
55640
|
+
},
|
|
55641
|
+
"code": {
|
|
55642
|
+
"type": "string"
|
|
55643
|
+
},
|
|
55644
|
+
"status": {
|
|
55645
|
+
"type": "number"
|
|
55646
|
+
},
|
|
55647
|
+
"message": {
|
|
55648
|
+
"type": "string"
|
|
55649
|
+
},
|
|
55650
|
+
"data": {}
|
|
55651
|
+
},
|
|
55652
|
+
"required": [
|
|
55653
|
+
"defined",
|
|
55654
|
+
"code",
|
|
55655
|
+
"status",
|
|
55656
|
+
"message"
|
|
55657
|
+
]
|
|
55658
|
+
}
|
|
55659
|
+
]
|
|
55660
|
+
}
|
|
55661
|
+
}
|
|
55662
|
+
}
|
|
55663
|
+
},
|
|
55664
|
+
"404": {
|
|
55665
|
+
"description": "404",
|
|
55666
|
+
"content": {
|
|
55667
|
+
"application/json": {
|
|
55668
|
+
"schema": {
|
|
55669
|
+
"oneOf": [
|
|
55670
|
+
{
|
|
55671
|
+
"type": "object",
|
|
55672
|
+
"properties": {
|
|
55673
|
+
"defined": {
|
|
55674
|
+
"const": true
|
|
55675
|
+
},
|
|
55676
|
+
"code": {
|
|
55677
|
+
"const": "NOT_FOUND"
|
|
55678
|
+
},
|
|
55679
|
+
"status": {
|
|
55680
|
+
"const": 404
|
|
55681
|
+
},
|
|
55682
|
+
"message": {
|
|
55683
|
+
"type": "string",
|
|
55684
|
+
"default": "The requested resource was not found."
|
|
55685
|
+
},
|
|
55686
|
+
"data": {}
|
|
55687
|
+
},
|
|
55688
|
+
"required": [
|
|
55689
|
+
"defined",
|
|
55690
|
+
"code",
|
|
55691
|
+
"status",
|
|
55692
|
+
"message"
|
|
55693
|
+
]
|
|
55694
|
+
},
|
|
55695
|
+
{
|
|
55696
|
+
"type": "object",
|
|
55697
|
+
"properties": {
|
|
55698
|
+
"defined": {
|
|
55699
|
+
"const": false
|
|
55700
|
+
},
|
|
55701
|
+
"code": {
|
|
55702
|
+
"type": "string"
|
|
55703
|
+
},
|
|
55704
|
+
"status": {
|
|
55705
|
+
"type": "number"
|
|
55706
|
+
},
|
|
55707
|
+
"message": {
|
|
55708
|
+
"type": "string"
|
|
55709
|
+
},
|
|
55710
|
+
"data": {}
|
|
55711
|
+
},
|
|
55712
|
+
"required": [
|
|
55713
|
+
"defined",
|
|
55714
|
+
"code",
|
|
55715
|
+
"status",
|
|
55716
|
+
"message"
|
|
55717
|
+
]
|
|
55718
|
+
}
|
|
55719
|
+
]
|
|
55720
|
+
}
|
|
55721
|
+
}
|
|
55722
|
+
}
|
|
55723
|
+
},
|
|
55724
|
+
"409": {
|
|
55725
|
+
"description": "409",
|
|
55726
|
+
"content": {
|
|
55727
|
+
"application/json": {
|
|
55728
|
+
"schema": {
|
|
55729
|
+
"oneOf": [
|
|
55730
|
+
{
|
|
55731
|
+
"type": "object",
|
|
55732
|
+
"properties": {
|
|
55733
|
+
"defined": {
|
|
55734
|
+
"const": true
|
|
55735
|
+
},
|
|
55736
|
+
"code": {
|
|
55737
|
+
"const": "CONFLICT"
|
|
55738
|
+
},
|
|
55739
|
+
"status": {
|
|
55740
|
+
"const": 409
|
|
55741
|
+
},
|
|
55742
|
+
"message": {
|
|
55743
|
+
"type": "string",
|
|
55744
|
+
"default": "The resource changed or the request key was reused."
|
|
55745
|
+
},
|
|
55746
|
+
"data": {}
|
|
55747
|
+
},
|
|
55748
|
+
"required": [
|
|
55749
|
+
"defined",
|
|
55750
|
+
"code",
|
|
55751
|
+
"status",
|
|
55752
|
+
"message"
|
|
55753
|
+
]
|
|
55754
|
+
},
|
|
55755
|
+
{
|
|
55756
|
+
"type": "object",
|
|
55757
|
+
"properties": {
|
|
55758
|
+
"defined": {
|
|
55759
|
+
"const": false
|
|
55760
|
+
},
|
|
55761
|
+
"code": {
|
|
55762
|
+
"type": "string"
|
|
55763
|
+
},
|
|
55764
|
+
"status": {
|
|
55765
|
+
"type": "number"
|
|
55766
|
+
},
|
|
55767
|
+
"message": {
|
|
55768
|
+
"type": "string"
|
|
55769
|
+
},
|
|
55770
|
+
"data": {}
|
|
55771
|
+
},
|
|
55772
|
+
"required": [
|
|
55773
|
+
"defined",
|
|
55774
|
+
"code",
|
|
55775
|
+
"status",
|
|
55776
|
+
"message"
|
|
55777
|
+
]
|
|
55778
|
+
}
|
|
55779
|
+
]
|
|
55780
|
+
}
|
|
55781
|
+
}
|
|
55782
|
+
}
|
|
55783
|
+
},
|
|
55784
|
+
"412": {
|
|
55785
|
+
"description": "412",
|
|
55786
|
+
"content": {
|
|
55787
|
+
"application/json": {
|
|
55788
|
+
"schema": {
|
|
55789
|
+
"oneOf": [
|
|
55790
|
+
{
|
|
55791
|
+
"type": "object",
|
|
55792
|
+
"properties": {
|
|
55793
|
+
"defined": {
|
|
55794
|
+
"const": true
|
|
55795
|
+
},
|
|
55796
|
+
"code": {
|
|
55797
|
+
"const": "PRECONDITION_FAILED"
|
|
55798
|
+
},
|
|
55799
|
+
"status": {
|
|
55800
|
+
"const": 412
|
|
55801
|
+
},
|
|
55802
|
+
"message": {
|
|
55803
|
+
"type": "string",
|
|
55804
|
+
"default": "The team is not ready for this operation."
|
|
55805
|
+
},
|
|
55806
|
+
"data": {}
|
|
55807
|
+
},
|
|
55808
|
+
"required": [
|
|
55809
|
+
"defined",
|
|
55810
|
+
"code",
|
|
55811
|
+
"status",
|
|
55812
|
+
"message"
|
|
55813
|
+
]
|
|
55814
|
+
},
|
|
55815
|
+
{
|
|
55816
|
+
"type": "object",
|
|
55817
|
+
"properties": {
|
|
55818
|
+
"defined": {
|
|
55819
|
+
"const": false
|
|
55820
|
+
},
|
|
55821
|
+
"code": {
|
|
55822
|
+
"type": "string"
|
|
55823
|
+
},
|
|
55824
|
+
"status": {
|
|
55825
|
+
"type": "number"
|
|
55826
|
+
},
|
|
55827
|
+
"message": {
|
|
55828
|
+
"type": "string"
|
|
55829
|
+
},
|
|
55830
|
+
"data": {}
|
|
55831
|
+
},
|
|
55832
|
+
"required": [
|
|
55833
|
+
"defined",
|
|
55834
|
+
"code",
|
|
55835
|
+
"status",
|
|
55836
|
+
"message"
|
|
55837
|
+
]
|
|
55838
|
+
}
|
|
55839
|
+
]
|
|
55840
|
+
}
|
|
55841
|
+
}
|
|
55842
|
+
}
|
|
55843
|
+
},
|
|
55844
|
+
"429": {
|
|
55845
|
+
"description": "429",
|
|
55846
|
+
"content": {
|
|
55847
|
+
"application/json": {
|
|
55848
|
+
"schema": {
|
|
55849
|
+
"oneOf": [
|
|
55850
|
+
{
|
|
55851
|
+
"type": "object",
|
|
55852
|
+
"properties": {
|
|
55853
|
+
"defined": {
|
|
55854
|
+
"const": true
|
|
55855
|
+
},
|
|
55856
|
+
"code": {
|
|
55857
|
+
"const": "TOO_MANY_REQUESTS"
|
|
55858
|
+
},
|
|
55859
|
+
"status": {
|
|
55860
|
+
"const": 429
|
|
55861
|
+
},
|
|
55862
|
+
"message": {
|
|
55863
|
+
"type": "string",
|
|
55864
|
+
"default": "Too many requests. Try again shortly."
|
|
55865
|
+
},
|
|
55866
|
+
"data": {}
|
|
55867
|
+
},
|
|
55868
|
+
"required": [
|
|
55869
|
+
"defined",
|
|
55870
|
+
"code",
|
|
55871
|
+
"status",
|
|
55872
|
+
"message"
|
|
55873
|
+
]
|
|
55874
|
+
},
|
|
55875
|
+
{
|
|
55876
|
+
"type": "object",
|
|
55877
|
+
"properties": {
|
|
55878
|
+
"defined": {
|
|
55879
|
+
"const": false
|
|
55880
|
+
},
|
|
55881
|
+
"code": {
|
|
55882
|
+
"type": "string"
|
|
55883
|
+
},
|
|
55884
|
+
"status": {
|
|
55885
|
+
"type": "number"
|
|
55886
|
+
},
|
|
55887
|
+
"message": {
|
|
55888
|
+
"type": "string"
|
|
55889
|
+
},
|
|
55890
|
+
"data": {}
|
|
55891
|
+
},
|
|
55892
|
+
"required": [
|
|
55893
|
+
"defined",
|
|
55894
|
+
"code",
|
|
55895
|
+
"status",
|
|
55896
|
+
"message"
|
|
55897
|
+
]
|
|
55898
|
+
}
|
|
55899
|
+
]
|
|
55900
|
+
}
|
|
55901
|
+
}
|
|
55902
|
+
}
|
|
55903
|
+
}
|
|
55904
|
+
},
|
|
55905
|
+
"x-shuffl-access": "read",
|
|
55906
|
+
"x-shuffl-permission": "groups.automationChoices"
|
|
55907
|
+
}
|
|
55908
|
+
},
|
|
55307
55909
|
"/manage/groups/automations": {
|
|
55308
55910
|
"post": {
|
|
55309
55911
|
"operationId": "groups.automations",
|
|
@@ -55366,6 +55968,9 @@
|
|
|
55366
55968
|
}
|
|
55367
55969
|
]
|
|
55368
55970
|
},
|
|
55971
|
+
"badgeId": {
|
|
55972
|
+
"type": "string"
|
|
55973
|
+
},
|
|
55369
55974
|
"body": {
|
|
55370
55975
|
"type": "array",
|
|
55371
55976
|
"items": {
|
|
@@ -55391,11 +55996,20 @@
|
|
|
55391
55996
|
"note": {
|
|
55392
55997
|
"type": "string"
|
|
55393
55998
|
},
|
|
55999
|
+
"personId": {
|
|
56000
|
+
"type": "string"
|
|
56001
|
+
},
|
|
55394
56002
|
"programId": {
|
|
55395
56003
|
"type": "string"
|
|
55396
56004
|
},
|
|
56005
|
+
"questionId": {
|
|
56006
|
+
"type": "string"
|
|
56007
|
+
},
|
|
55397
56008
|
"subject": {
|
|
55398
56009
|
"type": "string"
|
|
56010
|
+
},
|
|
56011
|
+
"targetGroupId": {
|
|
56012
|
+
"type": "string"
|
|
55399
56013
|
}
|
|
55400
56014
|
},
|
|
55401
56015
|
"additionalProperties": false
|
|
@@ -55414,6 +56028,9 @@
|
|
|
55414
56028
|
}
|
|
55415
56029
|
]
|
|
55416
56030
|
},
|
|
56031
|
+
"delayDays": {
|
|
56032
|
+
"type": "number"
|
|
56033
|
+
},
|
|
55417
56034
|
"groupId": {
|
|
55418
56035
|
"type": "string"
|
|
55419
56036
|
},
|
|
@@ -55422,12 +56039,24 @@
|
|
|
55422
56039
|
},
|
|
55423
56040
|
"kind": {
|
|
55424
56041
|
"anyOf": [
|
|
56042
|
+
{
|
|
56043
|
+
"const": "add_to_group"
|
|
56044
|
+
},
|
|
55425
56045
|
{
|
|
55426
56046
|
"const": "add_to_program"
|
|
55427
56047
|
},
|
|
56048
|
+
{
|
|
56049
|
+
"const": "ask_pulse"
|
|
56050
|
+
},
|
|
56051
|
+
{
|
|
56052
|
+
"const": "give_badge"
|
|
56053
|
+
},
|
|
55428
56054
|
{
|
|
55429
56055
|
"const": "invite_community"
|
|
55430
56056
|
},
|
|
56057
|
+
{
|
|
56058
|
+
"const": "remove_from_group"
|
|
56059
|
+
},
|
|
55431
56060
|
{
|
|
55432
56061
|
"const": "send_message"
|
|
55433
56062
|
},
|
|
@@ -55439,6 +56068,9 @@
|
|
|
55439
56068
|
},
|
|
55440
56069
|
{
|
|
55441
56070
|
"const": "tell_manager"
|
|
56071
|
+
},
|
|
56072
|
+
{
|
|
56073
|
+
"const": "tell_person"
|
|
55442
56074
|
}
|
|
55443
56075
|
]
|
|
55444
56076
|
},
|
|
@@ -55512,12 +56144,16 @@
|
|
|
55512
56144
|
"updatedAt": {
|
|
55513
56145
|
"type": "string",
|
|
55514
56146
|
"format": "date-time"
|
|
56147
|
+
},
|
|
56148
|
+
"when": {
|
|
56149
|
+
"type": "string"
|
|
55515
56150
|
}
|
|
55516
56151
|
},
|
|
55517
56152
|
"required": [
|
|
55518
56153
|
"config",
|
|
55519
56154
|
"createdAt",
|
|
55520
56155
|
"createdBy",
|
|
56156
|
+
"delayDays",
|
|
55521
56157
|
"groupId",
|
|
55522
56158
|
"id",
|
|
55523
56159
|
"kind",
|
|
@@ -55527,7 +56163,8 @@
|
|
|
55527
56163
|
"summary",
|
|
55528
56164
|
"target",
|
|
55529
56165
|
"trigger",
|
|
55530
|
-
"updatedAt"
|
|
56166
|
+
"updatedAt",
|
|
56167
|
+
"when"
|
|
55531
56168
|
],
|
|
55532
56169
|
"additionalProperties": false
|
|
55533
56170
|
}
|
|
@@ -55557,17 +56194,40 @@
|
|
|
55557
56194
|
}
|
|
55558
56195
|
]
|
|
55559
56196
|
},
|
|
56197
|
+
"dueAt": {
|
|
56198
|
+
"anyOf": [
|
|
56199
|
+
{
|
|
56200
|
+
"type": "null"
|
|
56201
|
+
},
|
|
56202
|
+
{
|
|
56203
|
+
"type": "string",
|
|
56204
|
+
"format": "date-time"
|
|
56205
|
+
}
|
|
56206
|
+
]
|
|
56207
|
+
},
|
|
55560
56208
|
"id": {
|
|
55561
56209
|
"type": "string"
|
|
55562
56210
|
},
|
|
55563
56211
|
"kind": {
|
|
55564
56212
|
"anyOf": [
|
|
56213
|
+
{
|
|
56214
|
+
"const": "add_to_group"
|
|
56215
|
+
},
|
|
55565
56216
|
{
|
|
55566
56217
|
"const": "add_to_program"
|
|
55567
56218
|
},
|
|
56219
|
+
{
|
|
56220
|
+
"const": "ask_pulse"
|
|
56221
|
+
},
|
|
56222
|
+
{
|
|
56223
|
+
"const": "give_badge"
|
|
56224
|
+
},
|
|
55568
56225
|
{
|
|
55569
56226
|
"const": "invite_community"
|
|
55570
56227
|
},
|
|
56228
|
+
{
|
|
56229
|
+
"const": "remove_from_group"
|
|
56230
|
+
},
|
|
55571
56231
|
{
|
|
55572
56232
|
"const": "send_message"
|
|
55573
56233
|
},
|
|
@@ -55579,6 +56239,9 @@
|
|
|
55579
56239
|
},
|
|
55580
56240
|
{
|
|
55581
56241
|
"const": "tell_manager"
|
|
56242
|
+
},
|
|
56243
|
+
{
|
|
56244
|
+
"const": "tell_person"
|
|
55582
56245
|
}
|
|
55583
56246
|
]
|
|
55584
56247
|
},
|
|
@@ -55600,6 +56263,9 @@
|
|
|
55600
56263
|
{
|
|
55601
56264
|
"const": "failed"
|
|
55602
56265
|
},
|
|
56266
|
+
{
|
|
56267
|
+
"const": "scheduled"
|
|
56268
|
+
},
|
|
55603
56269
|
{
|
|
55604
56270
|
"const": "skipped"
|
|
55605
56271
|
}
|
|
@@ -55633,6 +56299,7 @@
|
|
|
55633
56299
|
"at",
|
|
55634
56300
|
"automationId",
|
|
55635
56301
|
"code",
|
|
56302
|
+
"dueAt",
|
|
55636
56303
|
"id",
|
|
55637
56304
|
"kind",
|
|
55638
56305
|
"name",
|
|
@@ -68001,7 +68668,7 @@
|
|
|
68001
68668
|
"/manage/groups/setAutomation": {
|
|
68002
68669
|
"post": {
|
|
68003
68670
|
"operationId": "groups.setAutomation",
|
|
68004
|
-
"summary": "Add or change an automation on a group; a new one starts paused",
|
|
68671
|
+
"summary": "Add or change an automation on a group: send a message, ask a Pulse question, start a playbook, invite to a community, add to Connections, give a badge, add to or remove from another group, or tell HR, their manager or someone named, right away or days later; a new one starts paused",
|
|
68005
68672
|
"requestBody": {
|
|
68006
68673
|
"required": true,
|
|
68007
68674
|
"content": {
|
|
@@ -68040,6 +68707,9 @@
|
|
|
68040
68707
|
}
|
|
68041
68708
|
]
|
|
68042
68709
|
},
|
|
68710
|
+
"badgeId": {
|
|
68711
|
+
"type": "string"
|
|
68712
|
+
},
|
|
68043
68713
|
"body": {
|
|
68044
68714
|
"type": "array",
|
|
68045
68715
|
"items": {
|
|
@@ -68065,17 +68735,29 @@
|
|
|
68065
68735
|
"note": {
|
|
68066
68736
|
"type": "string"
|
|
68067
68737
|
},
|
|
68738
|
+
"personId": {
|
|
68739
|
+
"type": "string"
|
|
68740
|
+
},
|
|
68068
68741
|
"programId": {
|
|
68069
68742
|
"type": "string"
|
|
68070
68743
|
},
|
|
68744
|
+
"questionId": {
|
|
68745
|
+
"type": "string"
|
|
68746
|
+
},
|
|
68071
68747
|
"subject": {
|
|
68072
68748
|
"type": "string"
|
|
68749
|
+
},
|
|
68750
|
+
"targetGroupId": {
|
|
68751
|
+
"type": "string"
|
|
68073
68752
|
}
|
|
68074
68753
|
},
|
|
68075
68754
|
"additionalProperties": false
|
|
68076
68755
|
}
|
|
68077
68756
|
]
|
|
68078
68757
|
},
|
|
68758
|
+
"delayDays": {
|
|
68759
|
+
"type": "number"
|
|
68760
|
+
},
|
|
68079
68761
|
"groupId": {
|
|
68080
68762
|
"type": "string"
|
|
68081
68763
|
},
|
|
@@ -68084,12 +68766,24 @@
|
|
|
68084
68766
|
},
|
|
68085
68767
|
"kind": {
|
|
68086
68768
|
"anyOf": [
|
|
68769
|
+
{
|
|
68770
|
+
"const": "add_to_group"
|
|
68771
|
+
},
|
|
68087
68772
|
{
|
|
68088
68773
|
"const": "add_to_program"
|
|
68089
68774
|
},
|
|
68775
|
+
{
|
|
68776
|
+
"const": "ask_pulse"
|
|
68777
|
+
},
|
|
68778
|
+
{
|
|
68779
|
+
"const": "give_badge"
|
|
68780
|
+
},
|
|
68090
68781
|
{
|
|
68091
68782
|
"const": "invite_community"
|
|
68092
68783
|
},
|
|
68784
|
+
{
|
|
68785
|
+
"const": "remove_from_group"
|
|
68786
|
+
},
|
|
68093
68787
|
{
|
|
68094
68788
|
"const": "send_message"
|
|
68095
68789
|
},
|
|
@@ -68101,6 +68795,9 @@
|
|
|
68101
68795
|
},
|
|
68102
68796
|
{
|
|
68103
68797
|
"const": "tell_manager"
|
|
68798
|
+
},
|
|
68799
|
+
{
|
|
68800
|
+
"const": "tell_person"
|
|
68104
68801
|
}
|
|
68105
68802
|
]
|
|
68106
68803
|
},
|
|
@@ -68224,6 +68921,9 @@
|
|
|
68224
68921
|
}
|
|
68225
68922
|
]
|
|
68226
68923
|
},
|
|
68924
|
+
"badgeId": {
|
|
68925
|
+
"type": "string"
|
|
68926
|
+
},
|
|
68227
68927
|
"body": {
|
|
68228
68928
|
"type": "array",
|
|
68229
68929
|
"items": {
|
|
@@ -68249,11 +68949,20 @@
|
|
|
68249
68949
|
"note": {
|
|
68250
68950
|
"type": "string"
|
|
68251
68951
|
},
|
|
68952
|
+
"personId": {
|
|
68953
|
+
"type": "string"
|
|
68954
|
+
},
|
|
68252
68955
|
"programId": {
|
|
68253
68956
|
"type": "string"
|
|
68254
68957
|
},
|
|
68958
|
+
"questionId": {
|
|
68959
|
+
"type": "string"
|
|
68960
|
+
},
|
|
68255
68961
|
"subject": {
|
|
68256
68962
|
"type": "string"
|
|
68963
|
+
},
|
|
68964
|
+
"targetGroupId": {
|
|
68965
|
+
"type": "string"
|
|
68257
68966
|
}
|
|
68258
68967
|
},
|
|
68259
68968
|
"additionalProperties": false
|
|
@@ -68272,6 +68981,9 @@
|
|
|
68272
68981
|
}
|
|
68273
68982
|
]
|
|
68274
68983
|
},
|
|
68984
|
+
"delayDays": {
|
|
68985
|
+
"type": "number"
|
|
68986
|
+
},
|
|
68275
68987
|
"groupId": {
|
|
68276
68988
|
"type": "string"
|
|
68277
68989
|
},
|
|
@@ -68280,12 +68992,24 @@
|
|
|
68280
68992
|
},
|
|
68281
68993
|
"kind": {
|
|
68282
68994
|
"anyOf": [
|
|
68995
|
+
{
|
|
68996
|
+
"const": "add_to_group"
|
|
68997
|
+
},
|
|
68283
68998
|
{
|
|
68284
68999
|
"const": "add_to_program"
|
|
68285
69000
|
},
|
|
69001
|
+
{
|
|
69002
|
+
"const": "ask_pulse"
|
|
69003
|
+
},
|
|
69004
|
+
{
|
|
69005
|
+
"const": "give_badge"
|
|
69006
|
+
},
|
|
68286
69007
|
{
|
|
68287
69008
|
"const": "invite_community"
|
|
68288
69009
|
},
|
|
69010
|
+
{
|
|
69011
|
+
"const": "remove_from_group"
|
|
69012
|
+
},
|
|
68289
69013
|
{
|
|
68290
69014
|
"const": "send_message"
|
|
68291
69015
|
},
|
|
@@ -68297,6 +69021,9 @@
|
|
|
68297
69021
|
},
|
|
68298
69022
|
{
|
|
68299
69023
|
"const": "tell_manager"
|
|
69024
|
+
},
|
|
69025
|
+
{
|
|
69026
|
+
"const": "tell_person"
|
|
68300
69027
|
}
|
|
68301
69028
|
]
|
|
68302
69029
|
},
|
|
@@ -68370,6 +69097,9 @@
|
|
|
68370
69097
|
"updatedAt": {
|
|
68371
69098
|
"type": "string",
|
|
68372
69099
|
"format": "date-time"
|
|
69100
|
+
},
|
|
69101
|
+
"when": {
|
|
69102
|
+
"type": "string"
|
|
68373
69103
|
}
|
|
68374
69104
|
},
|
|
68375
69105
|
"required": [
|
|
@@ -68377,6 +69107,7 @@
|
|
|
68377
69107
|
"config",
|
|
68378
69108
|
"createdAt",
|
|
68379
69109
|
"createdBy",
|
|
69110
|
+
"delayDays",
|
|
68380
69111
|
"groupId",
|
|
68381
69112
|
"id",
|
|
68382
69113
|
"kind",
|
|
@@ -68386,7 +69117,8 @@
|
|
|
68386
69117
|
"summary",
|
|
68387
69118
|
"target",
|
|
68388
69119
|
"trigger",
|
|
68389
|
-
"updatedAt"
|
|
69120
|
+
"updatedAt",
|
|
69121
|
+
"when"
|
|
68390
69122
|
],
|
|
68391
69123
|
"additionalProperties": false
|
|
68392
69124
|
},
|
|
@@ -233916,12 +234648,24 @@
|
|
|
233916
234648
|
},
|
|
233917
234649
|
"automation": {
|
|
233918
234650
|
"anyOf": [
|
|
234651
|
+
{
|
|
234652
|
+
"const": "add_to_group"
|
|
234653
|
+
},
|
|
233919
234654
|
{
|
|
233920
234655
|
"const": "add_to_program"
|
|
233921
234656
|
},
|
|
234657
|
+
{
|
|
234658
|
+
"const": "ask_pulse"
|
|
234659
|
+
},
|
|
234660
|
+
{
|
|
234661
|
+
"const": "give_badge"
|
|
234662
|
+
},
|
|
233922
234663
|
{
|
|
233923
234664
|
"const": "invite_community"
|
|
233924
234665
|
},
|
|
234666
|
+
{
|
|
234667
|
+
"const": "remove_from_group"
|
|
234668
|
+
},
|
|
233925
234669
|
{
|
|
233926
234670
|
"const": "send_message"
|
|
233927
234671
|
},
|
|
@@ -233933,6 +234677,9 @@
|
|
|
233933
234677
|
},
|
|
233934
234678
|
{
|
|
233935
234679
|
"const": "tell_manager"
|
|
234680
|
+
},
|
|
234681
|
+
{
|
|
234682
|
+
"const": "tell_person"
|
|
233936
234683
|
}
|
|
233937
234684
|
]
|
|
233938
234685
|
},
|
|
@@ -233963,6 +234710,9 @@
|
|
|
233963
234710
|
{
|
|
233964
234711
|
"const": "failed"
|
|
233965
234712
|
},
|
|
234713
|
+
{
|
|
234714
|
+
"const": "scheduled"
|
|
234715
|
+
},
|
|
233966
234716
|
{
|
|
233967
234717
|
"const": "skipped"
|
|
233968
234718
|
}
|
|
@@ -254827,6 +255577,7 @@
|
|
|
254827
255577
|
"getStarted.intro",
|
|
254828
255578
|
"getStarted.wizard",
|
|
254829
255579
|
"groups.allAutomations",
|
|
255580
|
+
"groups.automationChoices",
|
|
254830
255581
|
"groups.automations",
|
|
254831
255582
|
"groups.directory",
|
|
254832
255583
|
"groups.directoryGroup",
|
|
@@ -255289,6 +256040,7 @@
|
|
|
255289
256040
|
"getStarted.intro",
|
|
255290
256041
|
"getStarted.wizard",
|
|
255291
256042
|
"groups.allAutomations",
|
|
256043
|
+
"groups.automationChoices",
|
|
255292
256044
|
"groups.automations",
|
|
255293
256045
|
"groups.directory",
|
|
255294
256046
|
"groups.directoryGroup",
|