losant_rest 1.22.2 → 1.22.4

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.
data/docs/_schemas.md CHANGED
@@ -15217,6 +15217,60 @@ Schema for a single Application
15217
15217
  },
15218
15218
  "maxItems": 1000
15219
15219
  },
15220
+ "includeApplicationExport": {
15221
+ "type": "boolean",
15222
+ "default": false
15223
+ },
15224
+ "applicationExportOptions": {
15225
+ "type": "object",
15226
+ "properties": {
15227
+ "includeFiles": {
15228
+ "type": "boolean",
15229
+ "default": false
15230
+ },
15231
+ "includeDataTableRows": {
15232
+ "type": "boolean",
15233
+ "default": false
15234
+ },
15235
+ "includeDevices": {
15236
+ "type": "boolean",
15237
+ "default": false
15238
+ },
15239
+ "exportType": {
15240
+ "type": "string",
15241
+ "enum": [
15242
+ "repo"
15243
+ ],
15244
+ "default": "repo"
15245
+ },
15246
+ "credentialName": {
15247
+ "type": "string",
15248
+ "minLength": 1,
15249
+ "maxLength": 255
15250
+ },
15251
+ "repo": {
15252
+ "type": "object",
15253
+ "properties": {
15254
+ "branch": {
15255
+ "type": "string",
15256
+ "maxLength": 255
15257
+ },
15258
+ "directory": {
15259
+ "type": "string",
15260
+ "maxLength": 1024
15261
+ },
15262
+ "commitMessage": {
15263
+ "type": "string",
15264
+ "maxLength": 1024
15265
+ }
15266
+ }
15267
+ }
15268
+ },
15269
+ "required": [
15270
+ "credentialName"
15271
+ ],
15272
+ "additionalProperties": false
15273
+ },
15220
15274
  "delayDays": {
15221
15275
  "type": "integer",
15222
15276
  "minimum": 1
@@ -16929,6 +16983,60 @@ Schema for creating an application by template result
16929
16983
  },
16930
16984
  "maxItems": 1000
16931
16985
  },
16986
+ "includeApplicationExport": {
16987
+ "type": "boolean",
16988
+ "default": false
16989
+ },
16990
+ "applicationExportOptions": {
16991
+ "type": "object",
16992
+ "properties": {
16993
+ "includeFiles": {
16994
+ "type": "boolean",
16995
+ "default": false
16996
+ },
16997
+ "includeDataTableRows": {
16998
+ "type": "boolean",
16999
+ "default": false
17000
+ },
17001
+ "includeDevices": {
17002
+ "type": "boolean",
17003
+ "default": false
17004
+ },
17005
+ "exportType": {
17006
+ "type": "string",
17007
+ "enum": [
17008
+ "repo"
17009
+ ],
17010
+ "default": "repo"
17011
+ },
17012
+ "credentialName": {
17013
+ "type": "string",
17014
+ "minLength": 1,
17015
+ "maxLength": 255
17016
+ },
17017
+ "repo": {
17018
+ "type": "object",
17019
+ "properties": {
17020
+ "branch": {
17021
+ "type": "string",
17022
+ "maxLength": 255
17023
+ },
17024
+ "directory": {
17025
+ "type": "string",
17026
+ "maxLength": 1024
17027
+ },
17028
+ "commitMessage": {
17029
+ "type": "string",
17030
+ "maxLength": 1024
17031
+ }
17032
+ }
17033
+ }
17034
+ },
17035
+ "required": [
17036
+ "credentialName"
17037
+ ],
17038
+ "additionalProperties": false
17039
+ },
16932
17040
  "delayDays": {
16933
17041
  "type": "integer",
16934
17042
  "minimum": 1
@@ -23913,7 +24021,7 @@ Schema for a list Application import executions
23913
24021
  "status": "completed",
23914
24022
  "conflictBehavior": "create",
23915
24023
  "dryRun": false,
23916
- "email": "test@losant.com",
24024
+ "email": "email@example.com",
23917
24025
  "include": [
23918
24026
  "ExperienceUser",
23919
24027
  "ExperienceEndpoint",
@@ -25248,159 +25356,220 @@ Schema for the body of an Application modification request
25248
25356
  "maxItems": 100
25249
25357
  },
25250
25358
  "archiveConfig": {
25251
- "type": "object",
25252
- "properties": {
25253
- "directory": {
25254
- "type": "string",
25255
- "maxLength": 255
25256
- },
25257
- "mode": {
25258
- "type": "string",
25259
- "enum": [
25260
- "all",
25261
- "whitelist",
25262
- "blacklist"
25263
- ]
25264
- },
25265
- "deviceIds": {
25266
- "type": "array",
25267
- "items": {
25268
- "type": "string",
25269
- "pattern": "^[A-Fa-f\\d]{24}$"
25270
- },
25271
- "maxItems": 1000
25272
- },
25273
- "deviceTags": {
25274
- "type": "array",
25275
- "items": {
25276
- "type": "object",
25277
- "properties": {
25278
- "key": {
25279
- "type": "string",
25280
- "pattern": "^[0-9a-zA-Z_-]{1,255}$"
25281
- },
25282
- "value": {
25283
- "type": "string",
25284
- "minLength": 1,
25285
- "maxLength": 255
25286
- }
25287
- },
25288
- "additionalProperties": false
25289
- },
25290
- "maxItems": 100
25291
- },
25292
- "includeDevices": {
25293
- "type": "boolean",
25294
- "default": true
25295
- },
25296
- "includeEvents": {
25297
- "type": "boolean",
25298
- "default": false
25299
- },
25300
- "includeDataTables": {
25301
- "type": "boolean",
25302
- "default": false
25303
- },
25304
- "dataTablesMode": {
25305
- "type": "string",
25306
- "enum": [
25307
- "all",
25308
- "whitelist",
25309
- "blacklist"
25310
- ]
25311
- },
25312
- "dataTableIds": {
25313
- "type": "array",
25314
- "items": {
25315
- "type": "string",
25316
- "pattern": "^[A-Fa-f\\d]{24}$"
25317
- },
25318
- "maxItems": 1000
25319
- },
25320
- "delayDays": {
25321
- "type": "integer",
25322
- "minimum": 1
25323
- },
25324
- "s3": {
25359
+ "oneOf": [
25360
+ {
25325
25361
  "type": "object",
25326
25362
  "properties": {
25327
- "bucket": {
25363
+ "directory": {
25328
25364
  "type": "string",
25329
25365
  "maxLength": 255
25330
25366
  },
25331
- "accessKeyId": {
25367
+ "mode": {
25332
25368
  "type": "string",
25333
- "minLength": 4,
25334
- "maxLength": 128
25369
+ "enum": [
25370
+ "all",
25371
+ "whitelist",
25372
+ "blacklist"
25373
+ ]
25335
25374
  },
25336
- "secretAccessKey": {
25337
- "type": "string",
25338
- "minLength": 4,
25339
- "maxLength": 128
25375
+ "deviceIds": {
25376
+ "type": "array",
25377
+ "items": {
25378
+ "type": "string",
25379
+ "pattern": "^[A-Fa-f\\d]{24}$"
25380
+ },
25381
+ "maxItems": 1000
25340
25382
  },
25341
- "region": {
25342
- "type": "string",
25343
- "maxLength": 128
25344
- }
25345
- },
25346
- "required": [
25347
- "bucket"
25348
- ],
25349
- "additionalProperties": false
25350
- },
25351
- "credentialName": {
25352
- "type": "string",
25353
- "minLength": 1,
25354
- "maxLength": 255
25355
- },
25356
- "gcs": {
25357
- "type": "object",
25358
- "properties": {
25359
- "projectId": {
25360
- "type": "string",
25361
- "minLength": 1,
25362
- "maxLength": 1024
25383
+ "deviceTags": {
25384
+ "type": "array",
25385
+ "items": {
25386
+ "type": "object",
25387
+ "properties": {
25388
+ "key": {
25389
+ "type": "string",
25390
+ "pattern": "^[0-9a-zA-Z_-]{1,255}$"
25391
+ },
25392
+ "value": {
25393
+ "type": "string",
25394
+ "minLength": 1,
25395
+ "maxLength": 255
25396
+ }
25397
+ },
25398
+ "additionalProperties": false
25399
+ },
25400
+ "maxItems": 100
25363
25401
  },
25364
- "keyJson": {
25365
- "type": "string",
25366
- "maxLength": 32767,
25367
- "minLength": 4
25402
+ "includeDevices": {
25403
+ "type": "boolean",
25404
+ "default": true
25368
25405
  },
25369
- "bucket": {
25370
- "type": "string",
25371
- "maxLength": 255
25372
- }
25373
- },
25374
- "required": [
25375
- "bucket"
25376
- ],
25377
- "additionalProperties": false
25378
- },
25379
- "azure": {
25380
- "type": "object",
25381
- "properties": {
25382
- "account": {
25406
+ "includeEvents": {
25407
+ "type": "boolean",
25408
+ "default": false
25409
+ },
25410
+ "includeDataTables": {
25411
+ "type": "boolean",
25412
+ "default": false
25413
+ },
25414
+ "dataTablesMode": {
25383
25415
  "type": "string",
25384
- "minLength": 3,
25385
- "maxLength": 24
25416
+ "enum": [
25417
+ "all",
25418
+ "whitelist",
25419
+ "blacklist"
25420
+ ]
25386
25421
  },
25387
- "accountKey": {
25422
+ "dataTableIds": {
25423
+ "type": "array",
25424
+ "items": {
25425
+ "type": "string",
25426
+ "pattern": "^[A-Fa-f\\d]{24}$"
25427
+ },
25428
+ "maxItems": 1000
25429
+ },
25430
+ "includeApplicationExport": {
25431
+ "type": "boolean",
25432
+ "default": false
25433
+ },
25434
+ "applicationExportOptions": {
25435
+ "type": "object",
25436
+ "properties": {
25437
+ "includeFiles": {
25438
+ "type": "boolean",
25439
+ "default": false
25440
+ },
25441
+ "includeDataTableRows": {
25442
+ "type": "boolean",
25443
+ "default": false
25444
+ },
25445
+ "includeDevices": {
25446
+ "type": "boolean",
25447
+ "default": false
25448
+ },
25449
+ "exportType": {
25450
+ "type": "string",
25451
+ "enum": [
25452
+ "repo"
25453
+ ],
25454
+ "default": "repo"
25455
+ },
25456
+ "credentialName": {
25457
+ "type": "string",
25458
+ "minLength": 1,
25459
+ "maxLength": 255
25460
+ },
25461
+ "repo": {
25462
+ "type": "object",
25463
+ "properties": {
25464
+ "branch": {
25465
+ "type": "string",
25466
+ "maxLength": 255
25467
+ },
25468
+ "directory": {
25469
+ "type": "string",
25470
+ "maxLength": 1024
25471
+ },
25472
+ "commitMessage": {
25473
+ "type": "string",
25474
+ "maxLength": 1024
25475
+ }
25476
+ }
25477
+ }
25478
+ },
25479
+ "required": [
25480
+ "credentialName"
25481
+ ],
25482
+ "additionalProperties": false
25483
+ },
25484
+ "delayDays": {
25485
+ "type": "integer",
25486
+ "minimum": 1
25487
+ },
25488
+ "s3": {
25489
+ "type": "object",
25490
+ "properties": {
25491
+ "bucket": {
25492
+ "type": "string",
25493
+ "maxLength": 255
25494
+ },
25495
+ "accessKeyId": {
25496
+ "type": "string",
25497
+ "minLength": 4,
25498
+ "maxLength": 128
25499
+ },
25500
+ "secretAccessKey": {
25501
+ "type": "string",
25502
+ "minLength": 4,
25503
+ "maxLength": 128
25504
+ },
25505
+ "region": {
25506
+ "type": "string",
25507
+ "maxLength": 128
25508
+ }
25509
+ },
25510
+ "required": [
25511
+ "bucket"
25512
+ ],
25513
+ "additionalProperties": false
25514
+ },
25515
+ "credentialName": {
25388
25516
  "type": "string",
25517
+ "minLength": 1,
25389
25518
  "maxLength": 255
25390
25519
  },
25391
- "bucket": {
25392
- "type": "string",
25393
- "minLength": 3,
25394
- "maxLength": 63
25520
+ "gcs": {
25521
+ "type": "object",
25522
+ "properties": {
25523
+ "projectId": {
25524
+ "type": "string",
25525
+ "minLength": 1,
25526
+ "maxLength": 1024
25527
+ },
25528
+ "keyJson": {
25529
+ "type": "string",
25530
+ "maxLength": 32767,
25531
+ "minLength": 4
25532
+ },
25533
+ "bucket": {
25534
+ "type": "string",
25535
+ "maxLength": 255
25536
+ }
25537
+ },
25538
+ "required": [
25539
+ "bucket"
25540
+ ],
25541
+ "additionalProperties": false
25542
+ },
25543
+ "azure": {
25544
+ "type": "object",
25545
+ "properties": {
25546
+ "account": {
25547
+ "type": "string",
25548
+ "minLength": 3,
25549
+ "maxLength": 24
25550
+ },
25551
+ "accountKey": {
25552
+ "type": "string",
25553
+ "maxLength": 255
25554
+ },
25555
+ "bucket": {
25556
+ "type": "string",
25557
+ "minLength": 3,
25558
+ "maxLength": 63
25559
+ }
25560
+ },
25561
+ "required": [
25562
+ "bucket"
25563
+ ],
25564
+ "additionalProperties": false
25395
25565
  }
25396
25566
  },
25397
- "required": [
25398
- "bucket"
25399
- ],
25400
25567
  "additionalProperties": false
25568
+ },
25569
+ {
25570
+ "type": "null"
25401
25571
  }
25402
- },
25403
- "additionalProperties": false
25572
+ ]
25404
25573
  },
25405
25574
  "blobUrlTTL": {
25406
25575
  "type": "number",
@@ -25572,6 +25741,60 @@ Schema for the body of an Application creation request
25572
25741
  },
25573
25742
  "maxItems": 1000
25574
25743
  },
25744
+ "includeApplicationExport": {
25745
+ "type": "boolean",
25746
+ "default": false
25747
+ },
25748
+ "applicationExportOptions": {
25749
+ "type": "object",
25750
+ "properties": {
25751
+ "includeFiles": {
25752
+ "type": "boolean",
25753
+ "default": false
25754
+ },
25755
+ "includeDataTableRows": {
25756
+ "type": "boolean",
25757
+ "default": false
25758
+ },
25759
+ "includeDevices": {
25760
+ "type": "boolean",
25761
+ "default": false
25762
+ },
25763
+ "exportType": {
25764
+ "type": "string",
25765
+ "enum": [
25766
+ "repo"
25767
+ ],
25768
+ "default": "repo"
25769
+ },
25770
+ "credentialName": {
25771
+ "type": "string",
25772
+ "minLength": 1,
25773
+ "maxLength": 255
25774
+ },
25775
+ "repo": {
25776
+ "type": "object",
25777
+ "properties": {
25778
+ "branch": {
25779
+ "type": "string",
25780
+ "maxLength": 255
25781
+ },
25782
+ "directory": {
25783
+ "type": "string",
25784
+ "maxLength": 1024
25785
+ },
25786
+ "commitMessage": {
25787
+ "type": "string",
25788
+ "maxLength": 1024
25789
+ }
25790
+ }
25791
+ }
25792
+ },
25793
+ "required": [
25794
+ "credentialName"
25795
+ ],
25796
+ "additionalProperties": false
25797
+ },
25575
25798
  "delayDays": {
25576
25799
  "type": "integer",
25577
25800
  "minimum": 1
@@ -26901,6 +27124,60 @@ Schema for a collection of Applications
26901
27124
  },
26902
27125
  "maxItems": 1000
26903
27126
  },
27127
+ "includeApplicationExport": {
27128
+ "type": "boolean",
27129
+ "default": false
27130
+ },
27131
+ "applicationExportOptions": {
27132
+ "type": "object",
27133
+ "properties": {
27134
+ "includeFiles": {
27135
+ "type": "boolean",
27136
+ "default": false
27137
+ },
27138
+ "includeDataTableRows": {
27139
+ "type": "boolean",
27140
+ "default": false
27141
+ },
27142
+ "includeDevices": {
27143
+ "type": "boolean",
27144
+ "default": false
27145
+ },
27146
+ "exportType": {
27147
+ "type": "string",
27148
+ "enum": [
27149
+ "repo"
27150
+ ],
27151
+ "default": "repo"
27152
+ },
27153
+ "credentialName": {
27154
+ "type": "string",
27155
+ "minLength": 1,
27156
+ "maxLength": 255
27157
+ },
27158
+ "repo": {
27159
+ "type": "object",
27160
+ "properties": {
27161
+ "branch": {
27162
+ "type": "string",
27163
+ "maxLength": 255
27164
+ },
27165
+ "directory": {
27166
+ "type": "string",
27167
+ "maxLength": 1024
27168
+ },
27169
+ "commitMessage": {
27170
+ "type": "string",
27171
+ "maxLength": 1024
27172
+ }
27173
+ }
27174
+ }
27175
+ },
27176
+ "required": [
27177
+ "credentialName"
27178
+ ],
27179
+ "additionalProperties": false
27180
+ },
26904
27181
  "delayDays": {
26905
27182
  "type": "integer",
26906
27183
  "minimum": 1
@@ -82310,7 +82587,8 @@ Schema for the body of a Devices modification request
82310
82587
  "575ecec57ae143cd83dc4a9f",
82311
82588
  "575ecec57ae143cd83dc4a9e",
82312
82589
  "575ecec57ae143cd83dc4a9a"
82313
- ]
82590
+ ],
82591
+ "email": "email@example.com"
82314
82592
  }
82315
82593
  ```
82316
82594
 
@@ -84422,7 +84700,8 @@ Schema for the body of a bulk data removal request
84422
84700
  "attributes": [
84423
84701
  "deleteMyData",
84424
84702
  "mineToo"
84425
- ]
84703
+ ],
84704
+ "callbackUrl": "https://example.com/cb"
84426
84705
  }
84427
84706
  ```
84428
84707
 
@@ -100656,6 +100935,18 @@ Schema for a single Experience Version
100656
100935
  }
100657
100936
  ]
100658
100937
  },
100938
+ "responseHeaders": {
100939
+ "type": "object",
100940
+ "patternProperties": {
100941
+ "^.{1,255}$": {
100942
+ "type": "string",
100943
+ "minLength": 1,
100944
+ "maxLength": 1024
100945
+ }
100946
+ },
100947
+ "maxProperties": 10,
100948
+ "additionalProperties": false
100949
+ },
100659
100950
  "attachedDomains": {
100660
100951
  "type": "array",
100661
100952
  "items": {
@@ -100841,6 +101132,18 @@ Schema for the body of an Experience Version modification request
100841
101132
  "type": "string",
100842
101133
  "minLength": 1,
100843
101134
  "maxLength": 255
101135
+ },
101136
+ "responseHeaders": {
101137
+ "type": "object",
101138
+ "patternProperties": {
101139
+ "^.{1,255}$": {
101140
+ "type": "string",
101141
+ "minLength": 1,
101142
+ "maxLength": 1024
101143
+ }
101144
+ },
101145
+ "maxProperties": 10,
101146
+ "additionalProperties": false
100844
101147
  }
100845
101148
  },
100846
101149
  "additionalProperties": false
@@ -100994,6 +101297,18 @@ Schema for the body of an Experience Version creation request
100994
101297
  "maxLength": 270
100995
101298
  },
100996
101299
  "maxItems": 100
101300
+ },
101301
+ "responseHeaders": {
101302
+ "type": "object",
101303
+ "patternProperties": {
101304
+ "^.{1,255}$": {
101305
+ "type": "string",
101306
+ "minLength": 1,
101307
+ "maxLength": 1024
101308
+ }
101309
+ },
101310
+ "maxProperties": 10,
101311
+ "additionalProperties": false
100997
101312
  }
100998
101313
  },
100999
101314
  "additionalProperties": false,
@@ -101193,6 +101508,18 @@ Schema for a collection of Experience Versions
101193
101508
  }
101194
101509
  ]
101195
101510
  },
101511
+ "responseHeaders": {
101512
+ "type": "object",
101513
+ "patternProperties": {
101514
+ "^.{1,255}$": {
101515
+ "type": "string",
101516
+ "minLength": 1,
101517
+ "maxLength": 1024
101518
+ }
101519
+ },
101520
+ "maxProperties": 10,
101521
+ "additionalProperties": false
101522
+ },
101196
101523
  "attachedDomains": {
101197
101524
  "type": "array",
101198
101525
  "items": {
@@ -160287,6 +160614,11 @@ Schema for information about the currently authenticated user
160287
160614
  "format": "email",
160288
160615
  "maxLength": 1024
160289
160616
  },
160617
+ "requestedEmail": {
160618
+ "type": "string",
160619
+ "format": "email",
160620
+ "maxLength": 1024
160621
+ },
160290
160622
  "firstName": {
160291
160623
  "type": "string",
160292
160624
  "minLength": 1,
@@ -166942,7 +167274,7 @@ Schema for a set of Notification Rule delivery logs
166942
167274
  "subject": "Limit Exceeded",
166943
167275
  "body": "Org has exceeded its payload limit",
166944
167276
  "addresses": [
166945
- "alice@exmaple.com"
167277
+ "alice@example.com"
166946
167278
  ]
166947
167279
  },
166948
167280
  "evaluation": {
@@ -173208,7 +173540,8 @@ Schema for the body of a workflow suggestion function request
173208
173540
  "type": "string",
173209
173541
  "minLength": 1,
173210
173542
  "maxLength": 8192
173211
- }
173543
+ },
173544
+ "payload": {}
173212
173545
  },
173213
173546
  "required": [
173214
173547
  "text"
@@ -177702,6 +178035,9 @@ Schema for a single Webhook
177702
178035
  },
177703
178036
  "annotateMultipart": {
177704
178037
  "type": "boolean"
178038
+ },
178039
+ "enabled": {
178040
+ "type": "boolean"
177705
178041
  }
177706
178042
  }
177707
178043
  }
@@ -177789,6 +178125,9 @@ Schema for the body of a Webhook modification request
177789
178125
  },
177790
178126
  "annotateMultipart": {
177791
178127
  "type": "boolean"
178128
+ },
178129
+ "enabled": {
178130
+ "type": "boolean"
177792
178131
  }
177793
178132
  },
177794
178133
  "additionalProperties": false
@@ -177870,6 +178209,9 @@ Schema for the body of a Webhook creation request
177870
178209
  },
177871
178210
  "annotateMultipart": {
177872
178211
  "type": "boolean"
178212
+ },
178213
+ "enabled": {
178214
+ "type": "boolean"
177873
178215
  }
177874
178216
  },
177875
178217
  "required": [
@@ -177984,6 +178326,9 @@ Schema for a collection of Webhooks
177984
178326
  },
177985
178327
  "annotateMultipart": {
177986
178328
  "type": "boolean"
178329
+ },
178330
+ "enabled": {
178331
+ "type": "boolean"
177987
178332
  }
177988
178333
  }
177989
178334
  }