@adea-ai/sdk 4.1.0 → 4.3.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/README.md +19 -3
- package/dist/client.d.ts +75 -64
- package/dist/client.js +180 -159
- package/dist/operations.d.ts +29 -1
- package/dist/operations.js +29 -1
- package/openapi/control-plane.v4.json +1388 -86
- package/package.json +5 -4
- package/openapi/control-plane.v1.json +0 -3845
- package/openapi/control-plane.v2.json +0 -4585
- package/openapi/control-plane.v3.json +0 -24163
|
@@ -7322,6 +7322,244 @@
|
|
|
7322
7322
|
"security": [{ "serviceBearer": [] }]
|
|
7323
7323
|
}
|
|
7324
7324
|
},
|
|
7325
|
+
"/v1/device-sync/log/ack": {
|
|
7326
|
+
"post": {
|
|
7327
|
+
"operationId": "device-sync.ack",
|
|
7328
|
+
"requestBody": {
|
|
7329
|
+
"content": {
|
|
7330
|
+
"application/json": {
|
|
7331
|
+
"schema": {
|
|
7332
|
+
"properties": {
|
|
7333
|
+
"caller": {
|
|
7334
|
+
"properties": {
|
|
7335
|
+
"servicePrincipalId": {
|
|
7336
|
+
"maxLength": 64,
|
|
7337
|
+
"minLength": 5,
|
|
7338
|
+
"pattern": "^svc_[a-z][a-z0-9-]*$",
|
|
7339
|
+
"type": "string"
|
|
7340
|
+
}
|
|
7341
|
+
},
|
|
7342
|
+
"required": ["servicePrincipalId"],
|
|
7343
|
+
"type": "object"
|
|
7344
|
+
},
|
|
7345
|
+
"commandId": { "pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
7346
|
+
"contractVersion": {
|
|
7347
|
+
"additionalProperties": false,
|
|
7348
|
+
"properties": {
|
|
7349
|
+
"major": {
|
|
7350
|
+
"exclusiveMinimum": 0,
|
|
7351
|
+
"maximum": 9007199254740991,
|
|
7352
|
+
"type": "integer"
|
|
7353
|
+
},
|
|
7354
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7355
|
+
},
|
|
7356
|
+
"required": ["major", "minor"],
|
|
7357
|
+
"type": "object"
|
|
7358
|
+
},
|
|
7359
|
+
"correlation": {
|
|
7360
|
+
"properties": {
|
|
7361
|
+
"causationCommandId": {
|
|
7362
|
+
"pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
7363
|
+
"type": "string"
|
|
7364
|
+
},
|
|
7365
|
+
"parentEventId": {
|
|
7366
|
+
"pattern": "^evt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
7367
|
+
"type": "string"
|
|
7368
|
+
},
|
|
7369
|
+
"traceId": { "pattern": "^trc_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
7370
|
+
},
|
|
7371
|
+
"required": ["traceId"],
|
|
7372
|
+
"type": "object"
|
|
7373
|
+
},
|
|
7374
|
+
"idempotencyKey": {
|
|
7375
|
+
"maxLength": 128,
|
|
7376
|
+
"minLength": 16,
|
|
7377
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
7378
|
+
"type": "string"
|
|
7379
|
+
},
|
|
7380
|
+
"issuedAt": {
|
|
7381
|
+
"format": "date-time",
|
|
7382
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
7383
|
+
"type": "string"
|
|
7384
|
+
},
|
|
7385
|
+
"operation": { "const": "device-sync.ack", "type": "string" },
|
|
7386
|
+
"payload": {
|
|
7387
|
+
"additionalProperties": false,
|
|
7388
|
+
"properties": {
|
|
7389
|
+
"appliedSeq": {
|
|
7390
|
+
"maximum": 9007199254740991,
|
|
7391
|
+
"minimum": 0,
|
|
7392
|
+
"type": "integer"
|
|
7393
|
+
},
|
|
7394
|
+
"readerKeyId": { "pattern": "^(?:spk|dpk)_[a-f0-9]{32}$", "type": "string" }
|
|
7395
|
+
},
|
|
7396
|
+
"required": ["appliedSeq", "readerKeyId"],
|
|
7397
|
+
"type": "object"
|
|
7398
|
+
},
|
|
7399
|
+
"payloadHash": { "pattern": "^[a-f0-9]{64}$", "type": "string" },
|
|
7400
|
+
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
7401
|
+
"requestId": { "pattern": "^req_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
7402
|
+
"workspaceId": { "pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
7403
|
+
},
|
|
7404
|
+
"required": [
|
|
7405
|
+
"caller",
|
|
7406
|
+
"contractVersion",
|
|
7407
|
+
"requestId",
|
|
7408
|
+
"workspaceId",
|
|
7409
|
+
"correlation",
|
|
7410
|
+
"commandId",
|
|
7411
|
+
"idempotencyKey",
|
|
7412
|
+
"payloadHash",
|
|
7413
|
+
"operation",
|
|
7414
|
+
"issuedAt",
|
|
7415
|
+
"payload"
|
|
7416
|
+
],
|
|
7417
|
+
"type": "object"
|
|
7418
|
+
}
|
|
7419
|
+
}
|
|
7420
|
+
},
|
|
7421
|
+
"required": true
|
|
7422
|
+
},
|
|
7423
|
+
"responses": {
|
|
7424
|
+
"200": {
|
|
7425
|
+
"content": {
|
|
7426
|
+
"application/json": {
|
|
7427
|
+
"schema": {
|
|
7428
|
+
"additionalProperties": false,
|
|
7429
|
+
"properties": {
|
|
7430
|
+
"contractVersion": {
|
|
7431
|
+
"additionalProperties": false,
|
|
7432
|
+
"properties": {
|
|
7433
|
+
"major": {
|
|
7434
|
+
"exclusiveMinimum": 0,
|
|
7435
|
+
"maximum": 9007199254740991,
|
|
7436
|
+
"type": "integer"
|
|
7437
|
+
},
|
|
7438
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7439
|
+
},
|
|
7440
|
+
"required": ["major", "minor"],
|
|
7441
|
+
"type": "object"
|
|
7442
|
+
},
|
|
7443
|
+
"correlation": {
|
|
7444
|
+
"additionalProperties": false,
|
|
7445
|
+
"properties": {
|
|
7446
|
+
"causationCommandId": {},
|
|
7447
|
+
"parentEventId": {},
|
|
7448
|
+
"traceId": {}
|
|
7449
|
+
},
|
|
7450
|
+
"required": ["traceId"],
|
|
7451
|
+
"type": "object"
|
|
7452
|
+
},
|
|
7453
|
+
"data": {
|
|
7454
|
+
"additionalProperties": false,
|
|
7455
|
+
"properties": {
|
|
7456
|
+
"appliedSeq": {
|
|
7457
|
+
"maximum": 9007199254740991,
|
|
7458
|
+
"minimum": 0,
|
|
7459
|
+
"type": "integer"
|
|
7460
|
+
}
|
|
7461
|
+
},
|
|
7462
|
+
"required": ["appliedSeq"],
|
|
7463
|
+
"type": "object"
|
|
7464
|
+
},
|
|
7465
|
+
"requestId": {}
|
|
7466
|
+
},
|
|
7467
|
+
"required": ["contractVersion", "requestId", "correlation", "data"],
|
|
7468
|
+
"type": "object"
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
},
|
|
7472
|
+
"description": "Successful response"
|
|
7473
|
+
},
|
|
7474
|
+
"default": {
|
|
7475
|
+
"content": {
|
|
7476
|
+
"application/json": {
|
|
7477
|
+
"schema": {
|
|
7478
|
+
"additionalProperties": false,
|
|
7479
|
+
"properties": {
|
|
7480
|
+
"contractVersion": {
|
|
7481
|
+
"additionalProperties": false,
|
|
7482
|
+
"properties": {
|
|
7483
|
+
"major": {
|
|
7484
|
+
"exclusiveMinimum": 0,
|
|
7485
|
+
"maximum": 9007199254740991,
|
|
7486
|
+
"type": "integer"
|
|
7487
|
+
},
|
|
7488
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7489
|
+
},
|
|
7490
|
+
"required": ["major", "minor"],
|
|
7491
|
+
"type": "object"
|
|
7492
|
+
},
|
|
7493
|
+
"correlation": {
|
|
7494
|
+
"additionalProperties": false,
|
|
7495
|
+
"properties": {
|
|
7496
|
+
"causationCommandId": {},
|
|
7497
|
+
"parentEventId": {},
|
|
7498
|
+
"traceId": {}
|
|
7499
|
+
},
|
|
7500
|
+
"required": ["traceId"],
|
|
7501
|
+
"type": "object"
|
|
7502
|
+
},
|
|
7503
|
+
"error": {
|
|
7504
|
+
"additionalProperties": false,
|
|
7505
|
+
"properties": {
|
|
7506
|
+
"class": {
|
|
7507
|
+
"enum": [
|
|
7508
|
+
"validation",
|
|
7509
|
+
"authentication",
|
|
7510
|
+
"authorization",
|
|
7511
|
+
"conflict",
|
|
7512
|
+
"stale_reference",
|
|
7513
|
+
"capability_mismatch",
|
|
7514
|
+
"runtime_unavailable",
|
|
7515
|
+
"internal"
|
|
7516
|
+
],
|
|
7517
|
+
"type": "string"
|
|
7518
|
+
},
|
|
7519
|
+
"code": {
|
|
7520
|
+
"maxLength": 96,
|
|
7521
|
+
"minLength": 1,
|
|
7522
|
+
"pattern": "^[A-Z][A-Z0-9_]*$",
|
|
7523
|
+
"type": "string"
|
|
7524
|
+
},
|
|
7525
|
+
"details": {
|
|
7526
|
+
"additionalProperties": {},
|
|
7527
|
+
"propertyNames": { "maxLength": 64, "type": "string" },
|
|
7528
|
+
"type": "object"
|
|
7529
|
+
},
|
|
7530
|
+
"message": { "maxLength": 512, "minLength": 1, "type": "string" },
|
|
7531
|
+
"remediation": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
7532
|
+
"retryable": { "type": "boolean" },
|
|
7533
|
+
"source": {
|
|
7534
|
+
"enum": [
|
|
7535
|
+
"client",
|
|
7536
|
+
"auth",
|
|
7537
|
+
"policy",
|
|
7538
|
+
"runtime",
|
|
7539
|
+
"provider",
|
|
7540
|
+
"persistence",
|
|
7541
|
+
"workflow",
|
|
7542
|
+
"system"
|
|
7543
|
+
],
|
|
7544
|
+
"type": "string"
|
|
7545
|
+
}
|
|
7546
|
+
},
|
|
7547
|
+
"required": ["class", "code", "message", "retryable", "source"],
|
|
7548
|
+
"type": "object"
|
|
7549
|
+
},
|
|
7550
|
+
"requestId": {}
|
|
7551
|
+
},
|
|
7552
|
+
"required": ["contractVersion", "requestId", "correlation", "error"],
|
|
7553
|
+
"type": "object"
|
|
7554
|
+
}
|
|
7555
|
+
}
|
|
7556
|
+
},
|
|
7557
|
+
"description": "Normalized error response"
|
|
7558
|
+
}
|
|
7559
|
+
},
|
|
7560
|
+
"security": [{ "serviceBearer": [] }]
|
|
7561
|
+
}
|
|
7562
|
+
},
|
|
7325
7563
|
"/v1/device-sync/log/append": {
|
|
7326
7564
|
"post": {
|
|
7327
7565
|
"operationId": "device-sync.append",
|
|
@@ -7513,7 +7751,663 @@
|
|
|
7513
7751
|
"type": "array"
|
|
7514
7752
|
}
|
|
7515
7753
|
},
|
|
7516
|
-
"required": ["entries"],
|
|
7754
|
+
"required": ["entries"],
|
|
7755
|
+
"type": "object"
|
|
7756
|
+
},
|
|
7757
|
+
"requestId": {}
|
|
7758
|
+
},
|
|
7759
|
+
"required": ["contractVersion", "requestId", "correlation", "data"],
|
|
7760
|
+
"type": "object"
|
|
7761
|
+
}
|
|
7762
|
+
}
|
|
7763
|
+
},
|
|
7764
|
+
"description": "Successful response"
|
|
7765
|
+
},
|
|
7766
|
+
"default": {
|
|
7767
|
+
"content": {
|
|
7768
|
+
"application/json": {
|
|
7769
|
+
"schema": {
|
|
7770
|
+
"additionalProperties": false,
|
|
7771
|
+
"properties": {
|
|
7772
|
+
"contractVersion": {
|
|
7773
|
+
"additionalProperties": false,
|
|
7774
|
+
"properties": {
|
|
7775
|
+
"major": {
|
|
7776
|
+
"exclusiveMinimum": 0,
|
|
7777
|
+
"maximum": 9007199254740991,
|
|
7778
|
+
"type": "integer"
|
|
7779
|
+
},
|
|
7780
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7781
|
+
},
|
|
7782
|
+
"required": ["major", "minor"],
|
|
7783
|
+
"type": "object"
|
|
7784
|
+
},
|
|
7785
|
+
"correlation": {
|
|
7786
|
+
"additionalProperties": false,
|
|
7787
|
+
"properties": {
|
|
7788
|
+
"causationCommandId": {},
|
|
7789
|
+
"parentEventId": {},
|
|
7790
|
+
"traceId": {}
|
|
7791
|
+
},
|
|
7792
|
+
"required": ["traceId"],
|
|
7793
|
+
"type": "object"
|
|
7794
|
+
},
|
|
7795
|
+
"error": {
|
|
7796
|
+
"additionalProperties": false,
|
|
7797
|
+
"properties": {
|
|
7798
|
+
"class": {
|
|
7799
|
+
"enum": [
|
|
7800
|
+
"validation",
|
|
7801
|
+
"authentication",
|
|
7802
|
+
"authorization",
|
|
7803
|
+
"conflict",
|
|
7804
|
+
"stale_reference",
|
|
7805
|
+
"capability_mismatch",
|
|
7806
|
+
"runtime_unavailable",
|
|
7807
|
+
"internal"
|
|
7808
|
+
],
|
|
7809
|
+
"type": "string"
|
|
7810
|
+
},
|
|
7811
|
+
"code": {
|
|
7812
|
+
"maxLength": 96,
|
|
7813
|
+
"minLength": 1,
|
|
7814
|
+
"pattern": "^[A-Z][A-Z0-9_]*$",
|
|
7815
|
+
"type": "string"
|
|
7816
|
+
},
|
|
7817
|
+
"details": {
|
|
7818
|
+
"additionalProperties": {},
|
|
7819
|
+
"propertyNames": { "maxLength": 64, "type": "string" },
|
|
7820
|
+
"type": "object"
|
|
7821
|
+
},
|
|
7822
|
+
"message": { "maxLength": 512, "minLength": 1, "type": "string" },
|
|
7823
|
+
"remediation": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
7824
|
+
"retryable": { "type": "boolean" },
|
|
7825
|
+
"source": {
|
|
7826
|
+
"enum": [
|
|
7827
|
+
"client",
|
|
7828
|
+
"auth",
|
|
7829
|
+
"policy",
|
|
7830
|
+
"runtime",
|
|
7831
|
+
"provider",
|
|
7832
|
+
"persistence",
|
|
7833
|
+
"workflow",
|
|
7834
|
+
"system"
|
|
7835
|
+
],
|
|
7836
|
+
"type": "string"
|
|
7837
|
+
}
|
|
7838
|
+
},
|
|
7839
|
+
"required": ["class", "code", "message", "retryable", "source"],
|
|
7840
|
+
"type": "object"
|
|
7841
|
+
},
|
|
7842
|
+
"requestId": {}
|
|
7843
|
+
},
|
|
7844
|
+
"required": ["contractVersion", "requestId", "correlation", "error"],
|
|
7845
|
+
"type": "object"
|
|
7846
|
+
}
|
|
7847
|
+
}
|
|
7848
|
+
},
|
|
7849
|
+
"description": "Normalized error response"
|
|
7850
|
+
}
|
|
7851
|
+
},
|
|
7852
|
+
"security": [{ "serviceBearer": [] }]
|
|
7853
|
+
}
|
|
7854
|
+
},
|
|
7855
|
+
"/v1/device-sync/log/checkpoint": {
|
|
7856
|
+
"post": {
|
|
7857
|
+
"operationId": "device-sync.checkpoint",
|
|
7858
|
+
"requestBody": {
|
|
7859
|
+
"content": {
|
|
7860
|
+
"application/json": {
|
|
7861
|
+
"schema": {
|
|
7862
|
+
"properties": {
|
|
7863
|
+
"caller": {
|
|
7864
|
+
"properties": {
|
|
7865
|
+
"servicePrincipalId": {
|
|
7866
|
+
"maxLength": 64,
|
|
7867
|
+
"minLength": 5,
|
|
7868
|
+
"pattern": "^svc_[a-z][a-z0-9-]*$",
|
|
7869
|
+
"type": "string"
|
|
7870
|
+
}
|
|
7871
|
+
},
|
|
7872
|
+
"required": ["servicePrincipalId"],
|
|
7873
|
+
"type": "object"
|
|
7874
|
+
},
|
|
7875
|
+
"contractVersion": {
|
|
7876
|
+
"additionalProperties": false,
|
|
7877
|
+
"properties": {
|
|
7878
|
+
"major": {
|
|
7879
|
+
"exclusiveMinimum": 0,
|
|
7880
|
+
"maximum": 9007199254740991,
|
|
7881
|
+
"type": "integer"
|
|
7882
|
+
},
|
|
7883
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7884
|
+
},
|
|
7885
|
+
"required": ["major", "minor"],
|
|
7886
|
+
"type": "object"
|
|
7887
|
+
},
|
|
7888
|
+
"correlation": {
|
|
7889
|
+
"properties": {
|
|
7890
|
+
"causationCommandId": {
|
|
7891
|
+
"pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
7892
|
+
"type": "string"
|
|
7893
|
+
},
|
|
7894
|
+
"parentEventId": {
|
|
7895
|
+
"pattern": "^evt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
7896
|
+
"type": "string"
|
|
7897
|
+
},
|
|
7898
|
+
"traceId": { "pattern": "^trc_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
7899
|
+
},
|
|
7900
|
+
"required": ["traceId"],
|
|
7901
|
+
"type": "object"
|
|
7902
|
+
},
|
|
7903
|
+
"operation": { "const": "device-sync.checkpoint", "type": "string" },
|
|
7904
|
+
"parameters": {
|
|
7905
|
+
"additionalProperties": false,
|
|
7906
|
+
"properties": {
|
|
7907
|
+
"readerKeyId": { "pattern": "^(?:spk|dpk)_[a-f0-9]{32}$", "type": "string" }
|
|
7908
|
+
},
|
|
7909
|
+
"type": "object"
|
|
7910
|
+
},
|
|
7911
|
+
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
7912
|
+
"requestId": { "pattern": "^req_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
7913
|
+
"requestedAt": {
|
|
7914
|
+
"format": "date-time",
|
|
7915
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
7916
|
+
"type": "string"
|
|
7917
|
+
},
|
|
7918
|
+
"workspaceId": { "pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
7919
|
+
},
|
|
7920
|
+
"required": [
|
|
7921
|
+
"caller",
|
|
7922
|
+
"contractVersion",
|
|
7923
|
+
"requestId",
|
|
7924
|
+
"workspaceId",
|
|
7925
|
+
"correlation",
|
|
7926
|
+
"operation",
|
|
7927
|
+
"requestedAt",
|
|
7928
|
+
"parameters"
|
|
7929
|
+
],
|
|
7930
|
+
"type": "object"
|
|
7931
|
+
}
|
|
7932
|
+
}
|
|
7933
|
+
},
|
|
7934
|
+
"required": true
|
|
7935
|
+
},
|
|
7936
|
+
"responses": {
|
|
7937
|
+
"200": {
|
|
7938
|
+
"content": {
|
|
7939
|
+
"application/json": {
|
|
7940
|
+
"schema": {
|
|
7941
|
+
"additionalProperties": false,
|
|
7942
|
+
"properties": {
|
|
7943
|
+
"contractVersion": {
|
|
7944
|
+
"additionalProperties": false,
|
|
7945
|
+
"properties": {
|
|
7946
|
+
"major": {
|
|
7947
|
+
"exclusiveMinimum": 0,
|
|
7948
|
+
"maximum": 9007199254740991,
|
|
7949
|
+
"type": "integer"
|
|
7950
|
+
},
|
|
7951
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
7952
|
+
},
|
|
7953
|
+
"required": ["major", "minor"],
|
|
7954
|
+
"type": "object"
|
|
7955
|
+
},
|
|
7956
|
+
"correlation": {
|
|
7957
|
+
"additionalProperties": false,
|
|
7958
|
+
"properties": {
|
|
7959
|
+
"causationCommandId": {},
|
|
7960
|
+
"parentEventId": {},
|
|
7961
|
+
"traceId": {}
|
|
7962
|
+
},
|
|
7963
|
+
"required": ["traceId"],
|
|
7964
|
+
"type": "object"
|
|
7965
|
+
},
|
|
7966
|
+
"data": {
|
|
7967
|
+
"additionalProperties": false,
|
|
7968
|
+
"properties": {
|
|
7969
|
+
"checkpoint": {
|
|
7970
|
+
"anyOf": [
|
|
7971
|
+
{
|
|
7972
|
+
"additionalProperties": false,
|
|
7973
|
+
"properties": {
|
|
7974
|
+
"authorKeyId": {
|
|
7975
|
+
"pattern": "^(?:spk|dpk)_[a-f0-9]{32}$",
|
|
7976
|
+
"type": "string"
|
|
7977
|
+
},
|
|
7978
|
+
"ciphertext": {
|
|
7979
|
+
"maxLength": 21867,
|
|
7980
|
+
"minLength": 1,
|
|
7981
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
7982
|
+
"type": "string"
|
|
7983
|
+
},
|
|
7984
|
+
"ckv": {
|
|
7985
|
+
"maximum": 9007199254740991,
|
|
7986
|
+
"minimum": 1,
|
|
7987
|
+
"type": "integer"
|
|
7988
|
+
},
|
|
7989
|
+
"createdAt": {
|
|
7990
|
+
"format": "date-time",
|
|
7991
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
7992
|
+
"type": "string"
|
|
7993
|
+
},
|
|
7994
|
+
"entryId": { "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
7995
|
+
"nonce": {
|
|
7996
|
+
"maxLength": 16,
|
|
7997
|
+
"minLength": 16,
|
|
7998
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
7999
|
+
"type": "string"
|
|
8000
|
+
},
|
|
8001
|
+
"objectIds": {
|
|
8002
|
+
"items": { "pattern": "^sob_[a-f0-9]{32}$", "type": "string" },
|
|
8003
|
+
"maxItems": 1,
|
|
8004
|
+
"type": "array"
|
|
8005
|
+
},
|
|
8006
|
+
"partObjectIds": {
|
|
8007
|
+
"items": { "pattern": "^sob_[a-f0-9]{32}$", "type": "string" },
|
|
8008
|
+
"maxItems": 31,
|
|
8009
|
+
"type": "array"
|
|
8010
|
+
},
|
|
8011
|
+
"prevEntryId": {
|
|
8012
|
+
"anyOf": [
|
|
8013
|
+
{ "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8014
|
+
{ "type": "null" }
|
|
8015
|
+
]
|
|
8016
|
+
},
|
|
8017
|
+
"registeredAt": {
|
|
8018
|
+
"format": "date-time",
|
|
8019
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
8020
|
+
"type": "string"
|
|
8021
|
+
},
|
|
8022
|
+
"seq": {
|
|
8023
|
+
"maximum": 9007199254740991,
|
|
8024
|
+
"minimum": 1,
|
|
8025
|
+
"type": "integer"
|
|
8026
|
+
},
|
|
8027
|
+
"signature": {
|
|
8028
|
+
"maxLength": 86,
|
|
8029
|
+
"minLength": 86,
|
|
8030
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
8031
|
+
"type": "string"
|
|
8032
|
+
},
|
|
8033
|
+
"throughSeq": {
|
|
8034
|
+
"maximum": 9007199254740991,
|
|
8035
|
+
"minimum": 0,
|
|
8036
|
+
"type": "integer"
|
|
8037
|
+
}
|
|
8038
|
+
},
|
|
8039
|
+
"required": [
|
|
8040
|
+
"entryId",
|
|
8041
|
+
"authorKeyId",
|
|
8042
|
+
"objectIds",
|
|
8043
|
+
"ckv",
|
|
8044
|
+
"nonce",
|
|
8045
|
+
"ciphertext",
|
|
8046
|
+
"signature",
|
|
8047
|
+
"seq",
|
|
8048
|
+
"createdAt",
|
|
8049
|
+
"throughSeq",
|
|
8050
|
+
"prevEntryId",
|
|
8051
|
+
"partObjectIds",
|
|
8052
|
+
"registeredAt"
|
|
8053
|
+
],
|
|
8054
|
+
"type": "object"
|
|
8055
|
+
},
|
|
8056
|
+
{ "type": "null" }
|
|
8057
|
+
]
|
|
8058
|
+
},
|
|
8059
|
+
"floorSeq": {
|
|
8060
|
+
"maximum": 9007199254740991,
|
|
8061
|
+
"minimum": 0,
|
|
8062
|
+
"type": "integer"
|
|
8063
|
+
},
|
|
8064
|
+
"headSeq": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
|
|
8065
|
+
"previous": {
|
|
8066
|
+
"anyOf": [
|
|
8067
|
+
{
|
|
8068
|
+
"additionalProperties": false,
|
|
8069
|
+
"properties": {
|
|
8070
|
+
"authorKeyId": {
|
|
8071
|
+
"pattern": "^(?:spk|dpk)_[a-f0-9]{32}$",
|
|
8072
|
+
"type": "string"
|
|
8073
|
+
},
|
|
8074
|
+
"ciphertext": {
|
|
8075
|
+
"maxLength": 21867,
|
|
8076
|
+
"minLength": 1,
|
|
8077
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
8078
|
+
"type": "string"
|
|
8079
|
+
},
|
|
8080
|
+
"ckv": {
|
|
8081
|
+
"maximum": 9007199254740991,
|
|
8082
|
+
"minimum": 1,
|
|
8083
|
+
"type": "integer"
|
|
8084
|
+
},
|
|
8085
|
+
"createdAt": {
|
|
8086
|
+
"format": "date-time",
|
|
8087
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
8088
|
+
"type": "string"
|
|
8089
|
+
},
|
|
8090
|
+
"entryId": { "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8091
|
+
"nonce": {
|
|
8092
|
+
"maxLength": 16,
|
|
8093
|
+
"minLength": 16,
|
|
8094
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
8095
|
+
"type": "string"
|
|
8096
|
+
},
|
|
8097
|
+
"objectIds": {
|
|
8098
|
+
"items": { "pattern": "^sob_[a-f0-9]{32}$", "type": "string" },
|
|
8099
|
+
"maxItems": 1,
|
|
8100
|
+
"type": "array"
|
|
8101
|
+
},
|
|
8102
|
+
"partObjectIds": {
|
|
8103
|
+
"items": { "pattern": "^sob_[a-f0-9]{32}$", "type": "string" },
|
|
8104
|
+
"maxItems": 31,
|
|
8105
|
+
"type": "array"
|
|
8106
|
+
},
|
|
8107
|
+
"prevEntryId": {
|
|
8108
|
+
"anyOf": [
|
|
8109
|
+
{ "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8110
|
+
{ "type": "null" }
|
|
8111
|
+
]
|
|
8112
|
+
},
|
|
8113
|
+
"registeredAt": {
|
|
8114
|
+
"format": "date-time",
|
|
8115
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
8116
|
+
"type": "string"
|
|
8117
|
+
},
|
|
8118
|
+
"seq": {
|
|
8119
|
+
"maximum": 9007199254740991,
|
|
8120
|
+
"minimum": 1,
|
|
8121
|
+
"type": "integer"
|
|
8122
|
+
},
|
|
8123
|
+
"signature": {
|
|
8124
|
+
"maxLength": 86,
|
|
8125
|
+
"minLength": 86,
|
|
8126
|
+
"pattern": "^[A-Za-z0-9_-]+$",
|
|
8127
|
+
"type": "string"
|
|
8128
|
+
},
|
|
8129
|
+
"throughSeq": {
|
|
8130
|
+
"maximum": 9007199254740991,
|
|
8131
|
+
"minimum": 0,
|
|
8132
|
+
"type": "integer"
|
|
8133
|
+
}
|
|
8134
|
+
},
|
|
8135
|
+
"required": [
|
|
8136
|
+
"entryId",
|
|
8137
|
+
"authorKeyId",
|
|
8138
|
+
"objectIds",
|
|
8139
|
+
"ckv",
|
|
8140
|
+
"nonce",
|
|
8141
|
+
"ciphertext",
|
|
8142
|
+
"signature",
|
|
8143
|
+
"seq",
|
|
8144
|
+
"createdAt",
|
|
8145
|
+
"throughSeq",
|
|
8146
|
+
"prevEntryId",
|
|
8147
|
+
"partObjectIds",
|
|
8148
|
+
"registeredAt"
|
|
8149
|
+
],
|
|
8150
|
+
"type": "object"
|
|
8151
|
+
},
|
|
8152
|
+
{ "type": "null" }
|
|
8153
|
+
]
|
|
8154
|
+
}
|
|
8155
|
+
},
|
|
8156
|
+
"required": ["checkpoint", "previous", "floorSeq", "headSeq"],
|
|
8157
|
+
"type": "object"
|
|
8158
|
+
},
|
|
8159
|
+
"requestId": {}
|
|
8160
|
+
},
|
|
8161
|
+
"required": ["contractVersion", "requestId", "correlation", "data"],
|
|
8162
|
+
"type": "object"
|
|
8163
|
+
}
|
|
8164
|
+
}
|
|
8165
|
+
},
|
|
8166
|
+
"description": "Successful response"
|
|
8167
|
+
},
|
|
8168
|
+
"default": {
|
|
8169
|
+
"content": {
|
|
8170
|
+
"application/json": {
|
|
8171
|
+
"schema": {
|
|
8172
|
+
"additionalProperties": false,
|
|
8173
|
+
"properties": {
|
|
8174
|
+
"contractVersion": {
|
|
8175
|
+
"additionalProperties": false,
|
|
8176
|
+
"properties": {
|
|
8177
|
+
"major": {
|
|
8178
|
+
"exclusiveMinimum": 0,
|
|
8179
|
+
"maximum": 9007199254740991,
|
|
8180
|
+
"type": "integer"
|
|
8181
|
+
},
|
|
8182
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
8183
|
+
},
|
|
8184
|
+
"required": ["major", "minor"],
|
|
8185
|
+
"type": "object"
|
|
8186
|
+
},
|
|
8187
|
+
"correlation": {
|
|
8188
|
+
"additionalProperties": false,
|
|
8189
|
+
"properties": {
|
|
8190
|
+
"causationCommandId": {},
|
|
8191
|
+
"parentEventId": {},
|
|
8192
|
+
"traceId": {}
|
|
8193
|
+
},
|
|
8194
|
+
"required": ["traceId"],
|
|
8195
|
+
"type": "object"
|
|
8196
|
+
},
|
|
8197
|
+
"error": {
|
|
8198
|
+
"additionalProperties": false,
|
|
8199
|
+
"properties": {
|
|
8200
|
+
"class": {
|
|
8201
|
+
"enum": [
|
|
8202
|
+
"validation",
|
|
8203
|
+
"authentication",
|
|
8204
|
+
"authorization",
|
|
8205
|
+
"conflict",
|
|
8206
|
+
"stale_reference",
|
|
8207
|
+
"capability_mismatch",
|
|
8208
|
+
"runtime_unavailable",
|
|
8209
|
+
"internal"
|
|
8210
|
+
],
|
|
8211
|
+
"type": "string"
|
|
8212
|
+
},
|
|
8213
|
+
"code": {
|
|
8214
|
+
"maxLength": 96,
|
|
8215
|
+
"minLength": 1,
|
|
8216
|
+
"pattern": "^[A-Z][A-Z0-9_]*$",
|
|
8217
|
+
"type": "string"
|
|
8218
|
+
},
|
|
8219
|
+
"details": {
|
|
8220
|
+
"additionalProperties": {},
|
|
8221
|
+
"propertyNames": { "maxLength": 64, "type": "string" },
|
|
8222
|
+
"type": "object"
|
|
8223
|
+
},
|
|
8224
|
+
"message": { "maxLength": 512, "minLength": 1, "type": "string" },
|
|
8225
|
+
"remediation": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
8226
|
+
"retryable": { "type": "boolean" },
|
|
8227
|
+
"source": {
|
|
8228
|
+
"enum": [
|
|
8229
|
+
"client",
|
|
8230
|
+
"auth",
|
|
8231
|
+
"policy",
|
|
8232
|
+
"runtime",
|
|
8233
|
+
"provider",
|
|
8234
|
+
"persistence",
|
|
8235
|
+
"workflow",
|
|
8236
|
+
"system"
|
|
8237
|
+
],
|
|
8238
|
+
"type": "string"
|
|
8239
|
+
}
|
|
8240
|
+
},
|
|
8241
|
+
"required": ["class", "code", "message", "retryable", "source"],
|
|
8242
|
+
"type": "object"
|
|
8243
|
+
},
|
|
8244
|
+
"requestId": {}
|
|
8245
|
+
},
|
|
8246
|
+
"required": ["contractVersion", "requestId", "correlation", "error"],
|
|
8247
|
+
"type": "object"
|
|
8248
|
+
}
|
|
8249
|
+
}
|
|
8250
|
+
},
|
|
8251
|
+
"description": "Normalized error response"
|
|
8252
|
+
}
|
|
8253
|
+
},
|
|
8254
|
+
"security": [{ "serviceBearer": [] }]
|
|
8255
|
+
}
|
|
8256
|
+
},
|
|
8257
|
+
"/v1/device-sync/log/checkpoint/register": {
|
|
8258
|
+
"post": {
|
|
8259
|
+
"operationId": "device-sync.register-checkpoint",
|
|
8260
|
+
"requestBody": {
|
|
8261
|
+
"content": {
|
|
8262
|
+
"application/json": {
|
|
8263
|
+
"schema": {
|
|
8264
|
+
"properties": {
|
|
8265
|
+
"caller": {
|
|
8266
|
+
"properties": {
|
|
8267
|
+
"servicePrincipalId": {
|
|
8268
|
+
"maxLength": 64,
|
|
8269
|
+
"minLength": 5,
|
|
8270
|
+
"pattern": "^svc_[a-z][a-z0-9-]*$",
|
|
8271
|
+
"type": "string"
|
|
8272
|
+
}
|
|
8273
|
+
},
|
|
8274
|
+
"required": ["servicePrincipalId"],
|
|
8275
|
+
"type": "object"
|
|
8276
|
+
},
|
|
8277
|
+
"commandId": { "pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
8278
|
+
"contractVersion": {
|
|
8279
|
+
"additionalProperties": false,
|
|
8280
|
+
"properties": {
|
|
8281
|
+
"major": {
|
|
8282
|
+
"exclusiveMinimum": 0,
|
|
8283
|
+
"maximum": 9007199254740991,
|
|
8284
|
+
"type": "integer"
|
|
8285
|
+
},
|
|
8286
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
8287
|
+
},
|
|
8288
|
+
"required": ["major", "minor"],
|
|
8289
|
+
"type": "object"
|
|
8290
|
+
},
|
|
8291
|
+
"correlation": {
|
|
8292
|
+
"properties": {
|
|
8293
|
+
"causationCommandId": {
|
|
8294
|
+
"pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
8295
|
+
"type": "string"
|
|
8296
|
+
},
|
|
8297
|
+
"parentEventId": {
|
|
8298
|
+
"pattern": "^evt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
8299
|
+
"type": "string"
|
|
8300
|
+
},
|
|
8301
|
+
"traceId": { "pattern": "^trc_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
8302
|
+
},
|
|
8303
|
+
"required": ["traceId"],
|
|
8304
|
+
"type": "object"
|
|
8305
|
+
},
|
|
8306
|
+
"idempotencyKey": {
|
|
8307
|
+
"maxLength": 128,
|
|
8308
|
+
"minLength": 16,
|
|
8309
|
+
"pattern": "^[A-Za-z0-9._:-]+$",
|
|
8310
|
+
"type": "string"
|
|
8311
|
+
},
|
|
8312
|
+
"issuedAt": {
|
|
8313
|
+
"format": "date-time",
|
|
8314
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
8315
|
+
"type": "string"
|
|
8316
|
+
},
|
|
8317
|
+
"operation": { "const": "device-sync.register-checkpoint", "type": "string" },
|
|
8318
|
+
"payload": {
|
|
8319
|
+
"additionalProperties": false,
|
|
8320
|
+
"properties": {
|
|
8321
|
+
"authorKeyId": { "pattern": "^(?:spk|dpk)_[a-f0-9]{32}$", "type": "string" },
|
|
8322
|
+
"entryId": { "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8323
|
+
"partObjectIds": {
|
|
8324
|
+
"items": { "pattern": "^sob_[a-f0-9]{32}$", "type": "string" },
|
|
8325
|
+
"maxItems": 31,
|
|
8326
|
+
"type": "array"
|
|
8327
|
+
},
|
|
8328
|
+
"prevEntryId": {
|
|
8329
|
+
"anyOf": [
|
|
8330
|
+
{ "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8331
|
+
{ "type": "null" }
|
|
8332
|
+
]
|
|
8333
|
+
},
|
|
8334
|
+
"throughSeq": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
8335
|
+
},
|
|
8336
|
+
"required": ["entryId", "throughSeq", "prevEntryId", "authorKeyId"],
|
|
8337
|
+
"type": "object"
|
|
8338
|
+
},
|
|
8339
|
+
"payloadHash": { "pattern": "^[a-f0-9]{64}$", "type": "string" },
|
|
8340
|
+
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
8341
|
+
"requestId": { "pattern": "^req_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
8342
|
+
"workspaceId": { "pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
8343
|
+
},
|
|
8344
|
+
"required": [
|
|
8345
|
+
"caller",
|
|
8346
|
+
"contractVersion",
|
|
8347
|
+
"requestId",
|
|
8348
|
+
"workspaceId",
|
|
8349
|
+
"correlation",
|
|
8350
|
+
"commandId",
|
|
8351
|
+
"idempotencyKey",
|
|
8352
|
+
"payloadHash",
|
|
8353
|
+
"operation",
|
|
8354
|
+
"issuedAt",
|
|
8355
|
+
"payload"
|
|
8356
|
+
],
|
|
8357
|
+
"type": "object"
|
|
8358
|
+
}
|
|
8359
|
+
}
|
|
8360
|
+
},
|
|
8361
|
+
"required": true
|
|
8362
|
+
},
|
|
8363
|
+
"responses": {
|
|
8364
|
+
"200": {
|
|
8365
|
+
"content": {
|
|
8366
|
+
"application/json": {
|
|
8367
|
+
"schema": {
|
|
8368
|
+
"additionalProperties": false,
|
|
8369
|
+
"properties": {
|
|
8370
|
+
"contractVersion": {
|
|
8371
|
+
"additionalProperties": false,
|
|
8372
|
+
"properties": {
|
|
8373
|
+
"major": {
|
|
8374
|
+
"exclusiveMinimum": 0,
|
|
8375
|
+
"maximum": 9007199254740991,
|
|
8376
|
+
"type": "integer"
|
|
8377
|
+
},
|
|
8378
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
8379
|
+
},
|
|
8380
|
+
"required": ["major", "minor"],
|
|
8381
|
+
"type": "object"
|
|
8382
|
+
},
|
|
8383
|
+
"correlation": {
|
|
8384
|
+
"additionalProperties": false,
|
|
8385
|
+
"properties": {
|
|
8386
|
+
"causationCommandId": {},
|
|
8387
|
+
"parentEventId": {},
|
|
8388
|
+
"traceId": {}
|
|
8389
|
+
},
|
|
8390
|
+
"required": ["traceId"],
|
|
8391
|
+
"type": "object"
|
|
8392
|
+
},
|
|
8393
|
+
"data": {
|
|
8394
|
+
"additionalProperties": false,
|
|
8395
|
+
"properties": {
|
|
8396
|
+
"entryId": { "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8397
|
+
"prevEntryId": {
|
|
8398
|
+
"anyOf": [
|
|
8399
|
+
{ "pattern": "^sen_[a-f0-9]{32}$", "type": "string" },
|
|
8400
|
+
{ "type": "null" }
|
|
8401
|
+
]
|
|
8402
|
+
},
|
|
8403
|
+
"seq": { "maximum": 9007199254740991, "minimum": 1, "type": "integer" },
|
|
8404
|
+
"throughSeq": {
|
|
8405
|
+
"maximum": 9007199254740991,
|
|
8406
|
+
"minimum": 0,
|
|
8407
|
+
"type": "integer"
|
|
8408
|
+
}
|
|
8409
|
+
},
|
|
8410
|
+
"required": ["entryId", "seq", "throughSeq", "prevEntryId"],
|
|
7517
8411
|
"type": "object"
|
|
7518
8412
|
},
|
|
7519
8413
|
"requestId": {}
|
|
@@ -7667,7 +8561,8 @@
|
|
|
7667
8561
|
"additionalProperties": false,
|
|
7668
8562
|
"properties": {
|
|
7669
8563
|
"afterSeq": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" },
|
|
7670
|
-
"limit": { "maximum": 500, "minimum": 1, "type": "integer" }
|
|
8564
|
+
"limit": { "maximum": 500, "minimum": 1, "type": "integer" },
|
|
8565
|
+
"readerKeyId": { "pattern": "^(?:spk|dpk)_[a-f0-9]{32}$", "type": "string" }
|
|
7671
8566
|
},
|
|
7672
8567
|
"required": ["afterSeq"],
|
|
7673
8568
|
"type": "object"
|
|
@@ -11723,16 +12618,315 @@
|
|
|
11723
12618
|
"type": "string"
|
|
11724
12619
|
}
|
|
11725
12620
|
},
|
|
11726
|
-
"required": [
|
|
11727
|
-
"planVersion",
|
|
11728
|
-
"pluginId",
|
|
11729
|
-
"releaseId",
|
|
11730
|
-
"instanceId",
|
|
11731
|
-
"strategy",
|
|
11732
|
-
"compatibility",
|
|
11733
|
-
"allowedToActivate",
|
|
11734
|
-
"approvalRequired"
|
|
11735
|
-
],
|
|
12621
|
+
"required": [
|
|
12622
|
+
"planVersion",
|
|
12623
|
+
"pluginId",
|
|
12624
|
+
"releaseId",
|
|
12625
|
+
"instanceId",
|
|
12626
|
+
"strategy",
|
|
12627
|
+
"compatibility",
|
|
12628
|
+
"allowedToActivate",
|
|
12629
|
+
"approvalRequired"
|
|
12630
|
+
],
|
|
12631
|
+
"type": "object"
|
|
12632
|
+
},
|
|
12633
|
+
"requestId": {}
|
|
12634
|
+
},
|
|
12635
|
+
"required": ["contractVersion", "requestId", "correlation", "data"],
|
|
12636
|
+
"type": "object"
|
|
12637
|
+
}
|
|
12638
|
+
}
|
|
12639
|
+
},
|
|
12640
|
+
"description": "Successful response"
|
|
12641
|
+
},
|
|
12642
|
+
"default": {
|
|
12643
|
+
"content": {
|
|
12644
|
+
"application/json": {
|
|
12645
|
+
"schema": {
|
|
12646
|
+
"additionalProperties": false,
|
|
12647
|
+
"properties": {
|
|
12648
|
+
"contractVersion": {
|
|
12649
|
+
"additionalProperties": false,
|
|
12650
|
+
"properties": {
|
|
12651
|
+
"major": {
|
|
12652
|
+
"exclusiveMinimum": 0,
|
|
12653
|
+
"maximum": 9007199254740991,
|
|
12654
|
+
"type": "integer"
|
|
12655
|
+
},
|
|
12656
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
12657
|
+
},
|
|
12658
|
+
"required": ["major", "minor"],
|
|
12659
|
+
"type": "object"
|
|
12660
|
+
},
|
|
12661
|
+
"correlation": {
|
|
12662
|
+
"additionalProperties": false,
|
|
12663
|
+
"properties": {
|
|
12664
|
+
"causationCommandId": {},
|
|
12665
|
+
"parentEventId": {},
|
|
12666
|
+
"traceId": {}
|
|
12667
|
+
},
|
|
12668
|
+
"required": ["traceId"],
|
|
12669
|
+
"type": "object"
|
|
12670
|
+
},
|
|
12671
|
+
"error": {
|
|
12672
|
+
"additionalProperties": false,
|
|
12673
|
+
"properties": {
|
|
12674
|
+
"class": {
|
|
12675
|
+
"enum": [
|
|
12676
|
+
"validation",
|
|
12677
|
+
"authentication",
|
|
12678
|
+
"authorization",
|
|
12679
|
+
"conflict",
|
|
12680
|
+
"stale_reference",
|
|
12681
|
+
"capability_mismatch",
|
|
12682
|
+
"runtime_unavailable",
|
|
12683
|
+
"internal"
|
|
12684
|
+
],
|
|
12685
|
+
"type": "string"
|
|
12686
|
+
},
|
|
12687
|
+
"code": {
|
|
12688
|
+
"maxLength": 96,
|
|
12689
|
+
"minLength": 1,
|
|
12690
|
+
"pattern": "^[A-Z][A-Z0-9_]*$",
|
|
12691
|
+
"type": "string"
|
|
12692
|
+
},
|
|
12693
|
+
"details": {
|
|
12694
|
+
"additionalProperties": {},
|
|
12695
|
+
"propertyNames": { "maxLength": 64, "type": "string" },
|
|
12696
|
+
"type": "object"
|
|
12697
|
+
},
|
|
12698
|
+
"message": { "maxLength": 512, "minLength": 1, "type": "string" },
|
|
12699
|
+
"remediation": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
12700
|
+
"retryable": { "type": "boolean" },
|
|
12701
|
+
"source": {
|
|
12702
|
+
"enum": [
|
|
12703
|
+
"client",
|
|
12704
|
+
"auth",
|
|
12705
|
+
"policy",
|
|
12706
|
+
"runtime",
|
|
12707
|
+
"provider",
|
|
12708
|
+
"persistence",
|
|
12709
|
+
"workflow",
|
|
12710
|
+
"system"
|
|
12711
|
+
],
|
|
12712
|
+
"type": "string"
|
|
12713
|
+
}
|
|
12714
|
+
},
|
|
12715
|
+
"required": ["class", "code", "message", "retryable", "source"],
|
|
12716
|
+
"type": "object"
|
|
12717
|
+
},
|
|
12718
|
+
"requestId": {}
|
|
12719
|
+
},
|
|
12720
|
+
"required": ["contractVersion", "requestId", "correlation", "error"],
|
|
12721
|
+
"type": "object"
|
|
12722
|
+
}
|
|
12723
|
+
}
|
|
12724
|
+
},
|
|
12725
|
+
"description": "Normalized error response"
|
|
12726
|
+
}
|
|
12727
|
+
},
|
|
12728
|
+
"security": [{ "serviceBearer": [] }]
|
|
12729
|
+
}
|
|
12730
|
+
},
|
|
12731
|
+
"/v1/marketplace/installations/get": {
|
|
12732
|
+
"post": {
|
|
12733
|
+
"operationId": "marketplace.installation.get",
|
|
12734
|
+
"requestBody": {
|
|
12735
|
+
"content": {
|
|
12736
|
+
"application/json": {
|
|
12737
|
+
"schema": {
|
|
12738
|
+
"properties": {
|
|
12739
|
+
"caller": {
|
|
12740
|
+
"properties": {
|
|
12741
|
+
"servicePrincipalId": {
|
|
12742
|
+
"maxLength": 64,
|
|
12743
|
+
"minLength": 5,
|
|
12744
|
+
"pattern": "^svc_[a-z][a-z0-9-]*$",
|
|
12745
|
+
"type": "string"
|
|
12746
|
+
}
|
|
12747
|
+
},
|
|
12748
|
+
"required": ["servicePrincipalId"],
|
|
12749
|
+
"type": "object"
|
|
12750
|
+
},
|
|
12751
|
+
"contractVersion": {
|
|
12752
|
+
"additionalProperties": false,
|
|
12753
|
+
"properties": {
|
|
12754
|
+
"major": {
|
|
12755
|
+
"exclusiveMinimum": 0,
|
|
12756
|
+
"maximum": 9007199254740991,
|
|
12757
|
+
"type": "integer"
|
|
12758
|
+
},
|
|
12759
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
12760
|
+
},
|
|
12761
|
+
"required": ["major", "minor"],
|
|
12762
|
+
"type": "object"
|
|
12763
|
+
},
|
|
12764
|
+
"correlation": {
|
|
12765
|
+
"properties": {
|
|
12766
|
+
"causationCommandId": {
|
|
12767
|
+
"pattern": "^cmd_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
12768
|
+
"type": "string"
|
|
12769
|
+
},
|
|
12770
|
+
"parentEventId": {
|
|
12771
|
+
"pattern": "^evt_[0-9A-HJKMNP-TV-Z]{26}$",
|
|
12772
|
+
"type": "string"
|
|
12773
|
+
},
|
|
12774
|
+
"traceId": { "pattern": "^trc_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
12775
|
+
},
|
|
12776
|
+
"required": ["traceId"],
|
|
12777
|
+
"type": "object"
|
|
12778
|
+
},
|
|
12779
|
+
"operation": { "const": "marketplace.installation.get", "type": "string" },
|
|
12780
|
+
"parameters": {
|
|
12781
|
+
"properties": {
|
|
12782
|
+
"installationId": { "pattern": "^ins_[a-z0-9]{1,124}$", "type": "string" },
|
|
12783
|
+
"workspaceIdentity": {
|
|
12784
|
+
"properties": {
|
|
12785
|
+
"userId": { "maxLength": 128, "minLength": 1, "type": "string" },
|
|
12786
|
+
"workspaceId": { "maxLength": 128, "minLength": 1, "type": "string" }
|
|
12787
|
+
},
|
|
12788
|
+
"required": ["workspaceId", "userId"],
|
|
12789
|
+
"type": "object"
|
|
12790
|
+
}
|
|
12791
|
+
},
|
|
12792
|
+
"required": ["installationId", "workspaceIdentity"],
|
|
12793
|
+
"type": "object"
|
|
12794
|
+
},
|
|
12795
|
+
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
12796
|
+
"requestId": { "pattern": "^req_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
12797
|
+
"requestedAt": {
|
|
12798
|
+
"format": "date-time",
|
|
12799
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
12800
|
+
"type": "string"
|
|
12801
|
+
},
|
|
12802
|
+
"workspaceId": { "pattern": "^wsp_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" }
|
|
12803
|
+
},
|
|
12804
|
+
"required": [
|
|
12805
|
+
"caller",
|
|
12806
|
+
"contractVersion",
|
|
12807
|
+
"requestId",
|
|
12808
|
+
"workspaceId",
|
|
12809
|
+
"correlation",
|
|
12810
|
+
"operation",
|
|
12811
|
+
"requestedAt",
|
|
12812
|
+
"parameters"
|
|
12813
|
+
],
|
|
12814
|
+
"type": "object"
|
|
12815
|
+
}
|
|
12816
|
+
}
|
|
12817
|
+
},
|
|
12818
|
+
"required": true
|
|
12819
|
+
},
|
|
12820
|
+
"responses": {
|
|
12821
|
+
"200": {
|
|
12822
|
+
"content": {
|
|
12823
|
+
"application/json": {
|
|
12824
|
+
"schema": {
|
|
12825
|
+
"additionalProperties": false,
|
|
12826
|
+
"properties": {
|
|
12827
|
+
"contractVersion": {
|
|
12828
|
+
"additionalProperties": false,
|
|
12829
|
+
"properties": {
|
|
12830
|
+
"major": {
|
|
12831
|
+
"exclusiveMinimum": 0,
|
|
12832
|
+
"maximum": 9007199254740991,
|
|
12833
|
+
"type": "integer"
|
|
12834
|
+
},
|
|
12835
|
+
"minor": { "maximum": 9007199254740991, "minimum": 0, "type": "integer" }
|
|
12836
|
+
},
|
|
12837
|
+
"required": ["major", "minor"],
|
|
12838
|
+
"type": "object"
|
|
12839
|
+
},
|
|
12840
|
+
"correlation": {
|
|
12841
|
+
"additionalProperties": false,
|
|
12842
|
+
"properties": {
|
|
12843
|
+
"causationCommandId": {},
|
|
12844
|
+
"parentEventId": {},
|
|
12845
|
+
"traceId": {}
|
|
12846
|
+
},
|
|
12847
|
+
"required": ["traceId"],
|
|
12848
|
+
"type": "object"
|
|
12849
|
+
},
|
|
12850
|
+
"data": {
|
|
12851
|
+
"additionalProperties": false,
|
|
12852
|
+
"properties": {
|
|
12853
|
+
"installation": {
|
|
12854
|
+
"additionalProperties": false,
|
|
12855
|
+
"properties": {
|
|
12856
|
+
"canonicalContentDigest": {
|
|
12857
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
12858
|
+
"type": "string"
|
|
12859
|
+
},
|
|
12860
|
+
"catalogId": { "pattern": "^catalog:[a-f0-9]{64}$", "type": "string" },
|
|
12861
|
+
"installationId": {
|
|
12862
|
+
"maxLength": 128,
|
|
12863
|
+
"minLength": 1,
|
|
12864
|
+
"type": "string"
|
|
12865
|
+
},
|
|
12866
|
+
"installationInstanceId": {
|
|
12867
|
+
"maxLength": 256,
|
|
12868
|
+
"minLength": 1,
|
|
12869
|
+
"type": "string"
|
|
12870
|
+
},
|
|
12871
|
+
"installedAt": {
|
|
12872
|
+
"format": "date-time",
|
|
12873
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
12874
|
+
"type": "string"
|
|
12875
|
+
},
|
|
12876
|
+
"installedBy": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
12877
|
+
"packageDigest": {
|
|
12878
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
12879
|
+
"type": "string"
|
|
12880
|
+
},
|
|
12881
|
+
"pluginId": {
|
|
12882
|
+
"pattern": "^plugin:[a-z0-9-]+:[a-z0-9][a-z0-9-]{1,127}$",
|
|
12883
|
+
"type": "string"
|
|
12884
|
+
},
|
|
12885
|
+
"releaseId": { "pattern": "^release:[a-f0-9]{64}$", "type": "string" },
|
|
12886
|
+
"requestedHarness": {
|
|
12887
|
+
"maxLength": 128,
|
|
12888
|
+
"minLength": 1,
|
|
12889
|
+
"type": "string"
|
|
12890
|
+
},
|
|
12891
|
+
"state": {
|
|
12892
|
+
"enum": [
|
|
12893
|
+
"pending-authorization",
|
|
12894
|
+
"unavailable",
|
|
12895
|
+
"rejected-by-policy",
|
|
12896
|
+
"installed",
|
|
12897
|
+
"superseded",
|
|
12898
|
+
"uninstalled"
|
|
12899
|
+
],
|
|
12900
|
+
"type": "string"
|
|
12901
|
+
},
|
|
12902
|
+
"uninstalledAt": {
|
|
12903
|
+
"format": "date-time",
|
|
12904
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
12905
|
+
"type": "string"
|
|
12906
|
+
},
|
|
12907
|
+
"uninstalledBy": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
12908
|
+
"updatedAt": {
|
|
12909
|
+
"format": "date-time",
|
|
12910
|
+
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
12911
|
+
"type": "string"
|
|
12912
|
+
}
|
|
12913
|
+
},
|
|
12914
|
+
"required": [
|
|
12915
|
+
"pluginId",
|
|
12916
|
+
"releaseId",
|
|
12917
|
+
"canonicalContentDigest",
|
|
12918
|
+
"installationId",
|
|
12919
|
+
"catalogId",
|
|
12920
|
+
"requestedHarness",
|
|
12921
|
+
"state",
|
|
12922
|
+
"installedBy",
|
|
12923
|
+
"installedAt",
|
|
12924
|
+
"updatedAt"
|
|
12925
|
+
],
|
|
12926
|
+
"type": "object"
|
|
12927
|
+
}
|
|
12928
|
+
},
|
|
12929
|
+
"required": ["installation"],
|
|
11736
12930
|
"type": "object"
|
|
11737
12931
|
},
|
|
11738
12932
|
"requestId": {}
|
|
@@ -11833,9 +13027,9 @@
|
|
|
11833
13027
|
"security": [{ "serviceBearer": [] }]
|
|
11834
13028
|
}
|
|
11835
13029
|
},
|
|
11836
|
-
"/v1/marketplace/installations/
|
|
13030
|
+
"/v1/marketplace/installations/list": {
|
|
11837
13031
|
"post": {
|
|
11838
|
-
"operationId": "marketplace.installation.
|
|
13032
|
+
"operationId": "marketplace.installation.list",
|
|
11839
13033
|
"requestBody": {
|
|
11840
13034
|
"content": {
|
|
11841
13035
|
"application/json": {
|
|
@@ -11881,10 +13075,17 @@
|
|
|
11881
13075
|
"required": ["traceId"],
|
|
11882
13076
|
"type": "object"
|
|
11883
13077
|
},
|
|
11884
|
-
"operation": { "const": "marketplace.installation.
|
|
13078
|
+
"operation": { "const": "marketplace.installation.list", "type": "string" },
|
|
11885
13079
|
"parameters": {
|
|
11886
13080
|
"properties": {
|
|
11887
|
-
"
|
|
13081
|
+
"cursor": {
|
|
13082
|
+
"maxLength": 512,
|
|
13083
|
+
"minLength": 8,
|
|
13084
|
+
"pattern": "^cur_[A-Za-z0-9_-]+$",
|
|
13085
|
+
"type": "string"
|
|
13086
|
+
},
|
|
13087
|
+
"installedBy": { "maxLength": 128, "minLength": 1, "type": "string" },
|
|
13088
|
+
"limit": { "maximum": 100, "minimum": 1, "type": "integer" },
|
|
11888
13089
|
"workspaceIdentity": {
|
|
11889
13090
|
"properties": {
|
|
11890
13091
|
"userId": { "maxLength": 128, "minLength": 1, "type": "string" },
|
|
@@ -11894,7 +13095,7 @@
|
|
|
11894
13095
|
"type": "object"
|
|
11895
13096
|
}
|
|
11896
13097
|
},
|
|
11897
|
-
"required": ["
|
|
13098
|
+
"required": ["workspaceIdentity"],
|
|
11898
13099
|
"type": "object"
|
|
11899
13100
|
},
|
|
11900
13101
|
"projectId": { "pattern": "^prj_[0-9A-HJKMNP-TV-Z]{26}$", "type": "string" },
|
|
@@ -11955,83 +13156,72 @@
|
|
|
11955
13156
|
"data": {
|
|
11956
13157
|
"additionalProperties": false,
|
|
11957
13158
|
"properties": {
|
|
11958
|
-
"
|
|
13159
|
+
"installations": {
|
|
13160
|
+
"items": {
|
|
13161
|
+
"additionalProperties": false,
|
|
13162
|
+
"properties": {
|
|
13163
|
+
"canonicalContentDigest": {
|
|
13164
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
13165
|
+
"type": "string"
|
|
13166
|
+
},
|
|
13167
|
+
"installationId": {
|
|
13168
|
+
"maxLength": 128,
|
|
13169
|
+
"minLength": 1,
|
|
13170
|
+
"type": "string"
|
|
13171
|
+
},
|
|
13172
|
+
"installationInstanceId": {
|
|
13173
|
+
"maxLength": 256,
|
|
13174
|
+
"minLength": 1,
|
|
13175
|
+
"type": "string"
|
|
13176
|
+
},
|
|
13177
|
+
"packageDigest": {
|
|
13178
|
+
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
13179
|
+
"type": "string"
|
|
13180
|
+
},
|
|
13181
|
+
"pluginId": {
|
|
13182
|
+
"pattern": "^plugin:[a-z0-9-]+:[a-z0-9][a-z0-9-]{1,127}$",
|
|
13183
|
+
"type": "string"
|
|
13184
|
+
},
|
|
13185
|
+
"releaseId": {
|
|
13186
|
+
"pattern": "^release:[a-f0-9]{64}$",
|
|
13187
|
+
"type": "string"
|
|
13188
|
+
},
|
|
13189
|
+
"state": {
|
|
13190
|
+
"enum": [
|
|
13191
|
+
"pending-authorization",
|
|
13192
|
+
"unavailable",
|
|
13193
|
+
"rejected-by-policy",
|
|
13194
|
+
"installed",
|
|
13195
|
+
"superseded"
|
|
13196
|
+
],
|
|
13197
|
+
"type": "string"
|
|
13198
|
+
}
|
|
13199
|
+
},
|
|
13200
|
+
"required": [
|
|
13201
|
+
"pluginId",
|
|
13202
|
+
"releaseId",
|
|
13203
|
+
"canonicalContentDigest",
|
|
13204
|
+
"state"
|
|
13205
|
+
],
|
|
13206
|
+
"type": "object"
|
|
13207
|
+
},
|
|
13208
|
+
"maxItems": 100,
|
|
13209
|
+
"type": "array"
|
|
13210
|
+
},
|
|
13211
|
+
"installationsPage": {
|
|
11959
13212
|
"additionalProperties": false,
|
|
11960
13213
|
"properties": {
|
|
11961
|
-
"
|
|
11962
|
-
"
|
|
11963
|
-
"
|
|
11964
|
-
|
|
11965
|
-
"catalogId": { "pattern": "^catalog:[a-f0-9]{64}$", "type": "string" },
|
|
11966
|
-
"installationId": {
|
|
11967
|
-
"maxLength": 128,
|
|
11968
|
-
"minLength": 1,
|
|
11969
|
-
"type": "string"
|
|
11970
|
-
},
|
|
11971
|
-
"installationInstanceId": {
|
|
11972
|
-
"maxLength": 256,
|
|
11973
|
-
"minLength": 1,
|
|
11974
|
-
"type": "string"
|
|
11975
|
-
},
|
|
11976
|
-
"installedAt": {
|
|
11977
|
-
"format": "date-time",
|
|
11978
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
11979
|
-
"type": "string"
|
|
11980
|
-
},
|
|
11981
|
-
"installedBy": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
11982
|
-
"packageDigest": {
|
|
11983
|
-
"pattern": "^sha256:[a-f0-9]{64}$",
|
|
11984
|
-
"type": "string"
|
|
11985
|
-
},
|
|
11986
|
-
"pluginId": {
|
|
11987
|
-
"pattern": "^plugin:[a-z0-9-]+:[a-z0-9][a-z0-9-]{1,127}$",
|
|
11988
|
-
"type": "string"
|
|
11989
|
-
},
|
|
11990
|
-
"releaseId": { "pattern": "^release:[a-f0-9]{64}$", "type": "string" },
|
|
11991
|
-
"requestedHarness": {
|
|
11992
|
-
"maxLength": 128,
|
|
11993
|
-
"minLength": 1,
|
|
11994
|
-
"type": "string"
|
|
11995
|
-
},
|
|
11996
|
-
"state": {
|
|
11997
|
-
"enum": [
|
|
11998
|
-
"pending-authorization",
|
|
11999
|
-
"unavailable",
|
|
12000
|
-
"rejected-by-policy",
|
|
12001
|
-
"installed",
|
|
12002
|
-
"superseded",
|
|
12003
|
-
"uninstalled"
|
|
12004
|
-
],
|
|
12005
|
-
"type": "string"
|
|
12006
|
-
},
|
|
12007
|
-
"uninstalledAt": {
|
|
12008
|
-
"format": "date-time",
|
|
12009
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
12010
|
-
"type": "string"
|
|
12011
|
-
},
|
|
12012
|
-
"uninstalledBy": { "maxLength": 256, "minLength": 1, "type": "string" },
|
|
12013
|
-
"updatedAt": {
|
|
12014
|
-
"format": "date-time",
|
|
12015
|
-
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
|
|
13214
|
+
"nextCursor": {
|
|
13215
|
+
"maxLength": 512,
|
|
13216
|
+
"minLength": 8,
|
|
13217
|
+
"pattern": "^cur_[A-Za-z0-9_-]+$",
|
|
12016
13218
|
"type": "string"
|
|
12017
13219
|
}
|
|
12018
13220
|
},
|
|
12019
|
-
"required": [
|
|
12020
|
-
"pluginId",
|
|
12021
|
-
"releaseId",
|
|
12022
|
-
"canonicalContentDigest",
|
|
12023
|
-
"installationId",
|
|
12024
|
-
"catalogId",
|
|
12025
|
-
"requestedHarness",
|
|
12026
|
-
"state",
|
|
12027
|
-
"installedBy",
|
|
12028
|
-
"installedAt",
|
|
12029
|
-
"updatedAt"
|
|
12030
|
-
],
|
|
12031
13221
|
"type": "object"
|
|
12032
13222
|
}
|
|
12033
13223
|
},
|
|
12034
|
-
"required": ["
|
|
13224
|
+
"required": ["installations", "installationsPage"],
|
|
12035
13225
|
"type": "object"
|
|
12036
13226
|
},
|
|
12037
13227
|
"requestId": {}
|
|
@@ -12907,11 +14097,24 @@
|
|
|
12907
14097
|
"minLength": 1,
|
|
12908
14098
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
12909
14099
|
"type": "string"
|
|
14100
|
+
},
|
|
14101
|
+
"thinkingLevel": {
|
|
14102
|
+
"enum": [
|
|
14103
|
+
"off",
|
|
14104
|
+
"minimal",
|
|
14105
|
+
"low",
|
|
14106
|
+
"medium",
|
|
14107
|
+
"high",
|
|
14108
|
+
"xhigh",
|
|
14109
|
+
"max"
|
|
14110
|
+
],
|
|
14111
|
+
"type": "string"
|
|
12910
14112
|
}
|
|
12911
14113
|
},
|
|
12912
14114
|
"required": ["connectionRef", "providerModel"],
|
|
12913
14115
|
"type": "object"
|
|
12914
14116
|
},
|
|
14117
|
+
"childFollowsLead": { "type": "boolean" },
|
|
12915
14118
|
"direct": {
|
|
12916
14119
|
"additionalProperties": false,
|
|
12917
14120
|
"properties": {
|
|
@@ -12924,6 +14127,18 @@
|
|
|
12924
14127
|
"minLength": 1,
|
|
12925
14128
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
12926
14129
|
"type": "string"
|
|
14130
|
+
},
|
|
14131
|
+
"thinkingLevel": {
|
|
14132
|
+
"enum": [
|
|
14133
|
+
"off",
|
|
14134
|
+
"minimal",
|
|
14135
|
+
"low",
|
|
14136
|
+
"medium",
|
|
14137
|
+
"high",
|
|
14138
|
+
"xhigh",
|
|
14139
|
+
"max"
|
|
14140
|
+
],
|
|
14141
|
+
"type": "string"
|
|
12927
14142
|
}
|
|
12928
14143
|
},
|
|
12929
14144
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -12941,6 +14156,18 @@
|
|
|
12941
14156
|
"minLength": 1,
|
|
12942
14157
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
12943
14158
|
"type": "string"
|
|
14159
|
+
},
|
|
14160
|
+
"thinkingLevel": {
|
|
14161
|
+
"enum": [
|
|
14162
|
+
"off",
|
|
14163
|
+
"minimal",
|
|
14164
|
+
"low",
|
|
14165
|
+
"medium",
|
|
14166
|
+
"high",
|
|
14167
|
+
"xhigh",
|
|
14168
|
+
"max"
|
|
14169
|
+
],
|
|
14170
|
+
"type": "string"
|
|
12944
14171
|
}
|
|
12945
14172
|
},
|
|
12946
14173
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -13135,11 +14362,16 @@
|
|
|
13135
14362
|
"minLength": 1,
|
|
13136
14363
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13137
14364
|
"type": "string"
|
|
14365
|
+
},
|
|
14366
|
+
"thinkingLevel": {
|
|
14367
|
+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
14368
|
+
"type": "string"
|
|
13138
14369
|
}
|
|
13139
14370
|
},
|
|
13140
14371
|
"required": ["connectionRef", "providerModel"],
|
|
13141
14372
|
"type": "object"
|
|
13142
14373
|
},
|
|
14374
|
+
"childFollowsLead": { "type": "boolean" },
|
|
13143
14375
|
"direct": {
|
|
13144
14376
|
"additionalProperties": false,
|
|
13145
14377
|
"properties": {
|
|
@@ -13149,6 +14381,10 @@
|
|
|
13149
14381
|
"minLength": 1,
|
|
13150
14382
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13151
14383
|
"type": "string"
|
|
14384
|
+
},
|
|
14385
|
+
"thinkingLevel": {
|
|
14386
|
+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
14387
|
+
"type": "string"
|
|
13152
14388
|
}
|
|
13153
14389
|
},
|
|
13154
14390
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -13168,6 +14404,10 @@
|
|
|
13168
14404
|
"minLength": 1,
|
|
13169
14405
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13170
14406
|
"type": "string"
|
|
14407
|
+
},
|
|
14408
|
+
"thinkingLevel": {
|
|
14409
|
+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
14410
|
+
"type": "string"
|
|
13171
14411
|
}
|
|
13172
14412
|
},
|
|
13173
14413
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -13250,11 +14490,24 @@
|
|
|
13250
14490
|
"minLength": 1,
|
|
13251
14491
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13252
14492
|
"type": "string"
|
|
14493
|
+
},
|
|
14494
|
+
"thinkingLevel": {
|
|
14495
|
+
"enum": [
|
|
14496
|
+
"off",
|
|
14497
|
+
"minimal",
|
|
14498
|
+
"low",
|
|
14499
|
+
"medium",
|
|
14500
|
+
"high",
|
|
14501
|
+
"xhigh",
|
|
14502
|
+
"max"
|
|
14503
|
+
],
|
|
14504
|
+
"type": "string"
|
|
13253
14505
|
}
|
|
13254
14506
|
},
|
|
13255
14507
|
"required": ["connectionRef", "providerModel"],
|
|
13256
14508
|
"type": "object"
|
|
13257
14509
|
},
|
|
14510
|
+
"childFollowsLead": { "type": "boolean" },
|
|
13258
14511
|
"direct": {
|
|
13259
14512
|
"additionalProperties": false,
|
|
13260
14513
|
"properties": {
|
|
@@ -13267,6 +14520,18 @@
|
|
|
13267
14520
|
"minLength": 1,
|
|
13268
14521
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13269
14522
|
"type": "string"
|
|
14523
|
+
},
|
|
14524
|
+
"thinkingLevel": {
|
|
14525
|
+
"enum": [
|
|
14526
|
+
"off",
|
|
14527
|
+
"minimal",
|
|
14528
|
+
"low",
|
|
14529
|
+
"medium",
|
|
14530
|
+
"high",
|
|
14531
|
+
"xhigh",
|
|
14532
|
+
"max"
|
|
14533
|
+
],
|
|
14534
|
+
"type": "string"
|
|
13270
14535
|
}
|
|
13271
14536
|
},
|
|
13272
14537
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -13284,6 +14549,18 @@
|
|
|
13284
14549
|
"minLength": 1,
|
|
13285
14550
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
13286
14551
|
"type": "string"
|
|
14552
|
+
},
|
|
14553
|
+
"thinkingLevel": {
|
|
14554
|
+
"enum": [
|
|
14555
|
+
"off",
|
|
14556
|
+
"minimal",
|
|
14557
|
+
"low",
|
|
14558
|
+
"medium",
|
|
14559
|
+
"high",
|
|
14560
|
+
"xhigh",
|
|
14561
|
+
"max"
|
|
14562
|
+
],
|
|
14563
|
+
"type": "string"
|
|
13287
14564
|
}
|
|
13288
14565
|
},
|
|
13289
14566
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -13721,6 +14998,23 @@
|
|
|
13721
14998
|
},
|
|
13722
14999
|
"required": ["ready", "reasonCode"],
|
|
13723
15000
|
"type": "object"
|
|
15001
|
+
},
|
|
15002
|
+
"thinkingLevels": {
|
|
15003
|
+
"items": {
|
|
15004
|
+
"enum": [
|
|
15005
|
+
"off",
|
|
15006
|
+
"minimal",
|
|
15007
|
+
"low",
|
|
15008
|
+
"medium",
|
|
15009
|
+
"high",
|
|
15010
|
+
"xhigh",
|
|
15011
|
+
"max"
|
|
15012
|
+
],
|
|
15013
|
+
"type": "string"
|
|
15014
|
+
},
|
|
15015
|
+
"maxItems": 7,
|
|
15016
|
+
"minItems": 1,
|
|
15017
|
+
"type": "array"
|
|
13724
15018
|
}
|
|
13725
15019
|
},
|
|
13726
15020
|
"required": ["providerModel", "readiness"],
|
|
@@ -14654,6 +15948,10 @@
|
|
|
14654
15948
|
"minLength": 1,
|
|
14655
15949
|
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:/-]*$",
|
|
14656
15950
|
"type": "string"
|
|
15951
|
+
},
|
|
15952
|
+
"thinkingLevel": {
|
|
15953
|
+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
15954
|
+
"type": "string"
|
|
14657
15955
|
}
|
|
14658
15956
|
},
|
|
14659
15957
|
"required": ["connectionRef", "providerModel"],
|
|
@@ -14804,6 +16102,10 @@
|
|
|
14804
16102
|
"maximum": 9007199254740991,
|
|
14805
16103
|
"type": "integer"
|
|
14806
16104
|
},
|
|
16105
|
+
"thinkingLevel": {
|
|
16106
|
+
"enum": ["off", "minimal", "low", "medium", "high", "xhigh", "max"],
|
|
16107
|
+
"type": "string"
|
|
16108
|
+
},
|
|
14807
16109
|
"workspaceGrant": {
|
|
14808
16110
|
"additionalProperties": false,
|
|
14809
16111
|
"properties": {
|