@limecloud/cli 0.6.0 → 0.8.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.
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Lime Identity API",
5
- "version": "0.6.0",
5
+ "version": "0.8.0",
6
6
  "description": "Implemented public OAuth 2.0 and OpenID Connect endpoints. Plain protocol responses; separate from authenticated management BFF APIs."
7
7
  },
8
8
  "servers": [
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Lime Cloud Management API",
5
- "version": "0.6.0",
5
+ "version": "0.8.0",
6
6
  "description": "Controlled public CLI Bearer API. Scopes bound the delegated entry point; current domain roles, membership, environment, step-up, revision, idempotency and independent review remain authoritative. Browser BFF authentication is separate."
7
7
  },
8
8
  "servers": [
@@ -12997,6 +12997,11 @@
12997
12997
  "type": "integer",
12998
12998
  "minimum": 1,
12999
12999
  "maximum": 9007199254740991
13000
+ },
13001
+ "api_request_revision": {
13002
+ "type": "integer",
13003
+ "minimum": 0,
13004
+ "maximum": 9007199254740991
13000
13005
  }
13001
13006
  },
13002
13007
  "required": [
@@ -19936,6 +19941,417 @@
19936
19941
  ],
19937
19942
  "additionalProperties": false
19938
19943
  },
19944
+ "APIReleaseSnapshot": {
19945
+ "type": "object",
19946
+ "properties": {
19947
+ "version": {
19948
+ "type": "integer",
19949
+ "const": 1
19950
+ },
19951
+ "application_id": {
19952
+ "type": "string",
19953
+ "minLength": 1,
19954
+ "maxLength": 40,
19955
+ "pattern": "^[A-Za-z0-9_-]+$"
19956
+ },
19957
+ "space_id": {
19958
+ "type": "string",
19959
+ "minLength": 1,
19960
+ "maxLength": 40,
19961
+ "pattern": "^[A-Za-z0-9_-]+$"
19962
+ },
19963
+ "resources": {
19964
+ "type": "array",
19965
+ "maxItems": 100,
19966
+ "items": {
19967
+ "$ref": "#/components/schemas/APIResource"
19968
+ }
19969
+ },
19970
+ "digest": {
19971
+ "type": "string",
19972
+ "pattern": "^[a-f0-9]{64}$"
19973
+ }
19974
+ },
19975
+ "required": [
19976
+ "version",
19977
+ "application_id",
19978
+ "space_id",
19979
+ "resources",
19980
+ "digest"
19981
+ ],
19982
+ "additionalProperties": false
19983
+ },
19984
+ "APIRequestedResource": {
19985
+ "type": "object",
19986
+ "properties": {
19987
+ "provider_release_id": {
19988
+ "type": "string",
19989
+ "minLength": 1,
19990
+ "maxLength": 40,
19991
+ "pattern": "^[A-Za-z0-9_-]+$"
19992
+ },
19993
+ "provider_release_digest": {
19994
+ "type": "string",
19995
+ "pattern": "^[a-f0-9]{64}$"
19996
+ },
19997
+ "resource": {
19998
+ "allOf": [
19999
+ {
20000
+ "$ref": "#/components/schemas/APIResource"
20001
+ },
20002
+ {
20003
+ "type": "object",
20004
+ "properties": {
20005
+ "environment": {
20006
+ "const": "production"
20007
+ },
20008
+ "status": {
20009
+ "const": "active"
20010
+ }
20011
+ }
20012
+ }
20013
+ ]
20014
+ },
20015
+ "scope_codes": {
20016
+ "type": "array",
20017
+ "items": {
20018
+ "type": "string",
20019
+ "minLength": 1,
20020
+ "maxLength": 128,
20021
+ "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"
20022
+ },
20023
+ "minItems": 1,
20024
+ "maxItems": 100,
20025
+ "uniqueItems": true
20026
+ }
20027
+ },
20028
+ "required": [
20029
+ "provider_release_id",
20030
+ "provider_release_digest",
20031
+ "resource",
20032
+ "scope_codes"
20033
+ ],
20034
+ "additionalProperties": false
20035
+ },
20036
+ "APIRequestSnapshot": {
20037
+ "type": "object",
20038
+ "properties": {
20039
+ "version": {
20040
+ "type": "integer",
20041
+ "const": 1
20042
+ },
20043
+ "application_id": {
20044
+ "type": "string",
20045
+ "minLength": 1,
20046
+ "maxLength": 40,
20047
+ "pattern": "^[A-Za-z0-9_-]+$"
20048
+ },
20049
+ "space_id": {
20050
+ "type": "string",
20051
+ "minLength": 1,
20052
+ "maxLength": 40,
20053
+ "pattern": "^[A-Za-z0-9_-]+$"
20054
+ },
20055
+ "revision": {
20056
+ "type": "integer",
20057
+ "minimum": 0
20058
+ },
20059
+ "requests": {
20060
+ "type": "array",
20061
+ "maxItems": 100,
20062
+ "items": {
20063
+ "$ref": "#/components/schemas/APIRequestedResource"
20064
+ }
20065
+ },
20066
+ "digest": {
20067
+ "type": "string",
20068
+ "pattern": "^[a-f0-9]{64}$"
20069
+ }
20070
+ },
20071
+ "required": [
20072
+ "version",
20073
+ "application_id",
20074
+ "space_id",
20075
+ "revision",
20076
+ "requests",
20077
+ "digest"
20078
+ ],
20079
+ "additionalProperties": false
20080
+ },
20081
+ "APIResource": {
20082
+ "type": "object",
20083
+ "properties": {
20084
+ "id": {
20085
+ "type": "string",
20086
+ "minLength": 1,
20087
+ "maxLength": 40,
20088
+ "pattern": "^[A-Za-z0-9_-]+$"
20089
+ },
20090
+ "environment": {
20091
+ "type": "string",
20092
+ "enum": [
20093
+ "sandbox",
20094
+ "production"
20095
+ ]
20096
+ },
20097
+ "name": {
20098
+ "allOf": [
20099
+ {
20100
+ "$ref": "#/components/schemas/LocalizedContentText"
20101
+ },
20102
+ {
20103
+ "type": "object",
20104
+ "properties": {
20105
+ "source": {
20106
+ "type": "string",
20107
+ "minLength": 1,
20108
+ "maxLength": 120
20109
+ },
20110
+ "translations": {
20111
+ "type": "object",
20112
+ "additionalProperties": {
20113
+ "type": "string",
20114
+ "minLength": 1,
20115
+ "maxLength": 120
20116
+ }
20117
+ }
20118
+ }
20119
+ }
20120
+ ]
20121
+ },
20122
+ "description": {
20123
+ "allOf": [
20124
+ {
20125
+ "$ref": "#/components/schemas/LocalizedContentText"
20126
+ },
20127
+ {
20128
+ "type": "object",
20129
+ "properties": {
20130
+ "source": {
20131
+ "type": "string",
20132
+ "minLength": 1,
20133
+ "maxLength": 2000
20134
+ },
20135
+ "translations": {
20136
+ "type": "object",
20137
+ "additionalProperties": {
20138
+ "type": "string",
20139
+ "minLength": 1,
20140
+ "maxLength": 2000
20141
+ }
20142
+ }
20143
+ }
20144
+ }
20145
+ ]
20146
+ },
20147
+ "scopes": {
20148
+ "type": "array",
20149
+ "items": {
20150
+ "$ref": "#/components/schemas/APIScope"
20151
+ },
20152
+ "minItems": 0,
20153
+ "maxItems": 100,
20154
+ "uniqueItems": true
20155
+ },
20156
+ "status": {
20157
+ "type": "string",
20158
+ "enum": [
20159
+ "draft",
20160
+ "active",
20161
+ "disabled"
20162
+ ]
20163
+ },
20164
+ "application_id": {
20165
+ "type": "string",
20166
+ "minLength": 1,
20167
+ "maxLength": 40,
20168
+ "pattern": "^[A-Za-z0-9_-]+$"
20169
+ },
20170
+ "space_id": {
20171
+ "type": "string",
20172
+ "minLength": 1,
20173
+ "maxLength": 40,
20174
+ "pattern": "^[A-Za-z0-9_-]+$"
20175
+ },
20176
+ "audience": {
20177
+ "type": "string",
20178
+ "minLength": 1,
20179
+ "maxLength": 180
20180
+ },
20181
+ "revision": {
20182
+ "type": "integer",
20183
+ "minimum": 1
20184
+ },
20185
+ "generation": {
20186
+ "type": "integer",
20187
+ "minimum": 1
20188
+ }
20189
+ },
20190
+ "required": [
20191
+ "id",
20192
+ "environment",
20193
+ "name",
20194
+ "description",
20195
+ "scopes",
20196
+ "status",
20197
+ "application_id",
20198
+ "space_id",
20199
+ "audience",
20200
+ "revision",
20201
+ "generation"
20202
+ ],
20203
+ "additionalProperties": false
20204
+ },
20205
+ "APIScope": {
20206
+ "type": "object",
20207
+ "properties": {
20208
+ "code": {
20209
+ "type": "string",
20210
+ "minLength": 1,
20211
+ "maxLength": 128,
20212
+ "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"
20213
+ },
20214
+ "name": {
20215
+ "allOf": [
20216
+ {
20217
+ "$ref": "#/components/schemas/LocalizedContentText"
20218
+ },
20219
+ {
20220
+ "type": "object",
20221
+ "properties": {
20222
+ "source": {
20223
+ "type": "string",
20224
+ "minLength": 1,
20225
+ "maxLength": 120
20226
+ },
20227
+ "translations": {
20228
+ "type": "object",
20229
+ "additionalProperties": {
20230
+ "type": "string",
20231
+ "minLength": 1,
20232
+ "maxLength": 120
20233
+ }
20234
+ }
20235
+ }
20236
+ }
20237
+ ]
20238
+ },
20239
+ "description": {
20240
+ "allOf": [
20241
+ {
20242
+ "$ref": "#/components/schemas/LocalizedContentText"
20243
+ },
20244
+ {
20245
+ "type": "object",
20246
+ "properties": {
20247
+ "source": {
20248
+ "type": "string",
20249
+ "minLength": 1,
20250
+ "maxLength": 2000
20251
+ },
20252
+ "translations": {
20253
+ "type": "object",
20254
+ "additionalProperties": {
20255
+ "type": "string",
20256
+ "minLength": 1,
20257
+ "maxLength": 2000
20258
+ }
20259
+ }
20260
+ }
20261
+ }
20262
+ ]
20263
+ },
20264
+ "subject_kinds": {
20265
+ "type": "array",
20266
+ "items": {
20267
+ "type": "string",
20268
+ "enum": [
20269
+ "user",
20270
+ "service"
20271
+ ]
20272
+ },
20273
+ "minItems": 1,
20274
+ "maxItems": 2,
20275
+ "uniqueItems": true
20276
+ },
20277
+ "actions": {
20278
+ "type": "array",
20279
+ "items": {
20280
+ "type": "string",
20281
+ "minLength": 1,
20282
+ "maxLength": 128,
20283
+ "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"
20284
+ },
20285
+ "minItems": 1,
20286
+ "maxItems": 50,
20287
+ "uniqueItems": true
20288
+ },
20289
+ "data_scope_kinds": {
20290
+ "type": "array",
20291
+ "items": {
20292
+ "type": "string",
20293
+ "enum": [
20294
+ "self",
20295
+ "space",
20296
+ "application",
20297
+ "assigned_resources"
20298
+ ]
20299
+ },
20300
+ "minItems": 1,
20301
+ "maxItems": 4,
20302
+ "uniqueItems": true
20303
+ },
20304
+ "readable_fields": {
20305
+ "type": "array",
20306
+ "items": {
20307
+ "type": "string",
20308
+ "minLength": 1,
20309
+ "maxLength": 128,
20310
+ "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"
20311
+ },
20312
+ "minItems": 0,
20313
+ "maxItems": 100,
20314
+ "uniqueItems": true
20315
+ },
20316
+ "writable_fields": {
20317
+ "type": "array",
20318
+ "items": {
20319
+ "type": "string",
20320
+ "minLength": 1,
20321
+ "maxLength": 128,
20322
+ "pattern": "^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$"
20323
+ },
20324
+ "minItems": 0,
20325
+ "maxItems": 100,
20326
+ "uniqueItems": true
20327
+ },
20328
+ "risk": {
20329
+ "type": "string",
20330
+ "enum": [
20331
+ "standard",
20332
+ "sensitive"
20333
+ ]
20334
+ },
20335
+ "requires_administrator": {
20336
+ "type": "boolean",
20337
+ "default": false
20338
+ },
20339
+ "requires_strong_auth": {
20340
+ "type": "boolean",
20341
+ "default": false
20342
+ }
20343
+ },
20344
+ "required": [
20345
+ "code",
20346
+ "name",
20347
+ "description",
20348
+ "subject_kinds",
20349
+ "actions",
20350
+ "data_scope_kinds",
20351
+ "risk"
20352
+ ],
20353
+ "additionalProperties": false
20354
+ },
19939
20355
  "Application": {
19940
20356
  "type": "object",
19941
20357
  "properties": {
@@ -24209,6 +24625,26 @@
24209
24625
  },
24210
24626
  "review": {
24211
24627
  "$ref": "#/components/schemas/ReleaseReview"
24628
+ },
24629
+ "api_authorization_snapshot": {
24630
+ "oneOf": [
24631
+ {
24632
+ "$ref": "#/components/schemas/APIReleaseSnapshot"
24633
+ },
24634
+ {
24635
+ "type": "null"
24636
+ }
24637
+ ]
24638
+ },
24639
+ "api_request_snapshot": {
24640
+ "oneOf": [
24641
+ {
24642
+ "$ref": "#/components/schemas/APIRequestSnapshot"
24643
+ },
24644
+ {
24645
+ "type": "null"
24646
+ }
24647
+ ]
24212
24648
  }
24213
24649
  },
24214
24650
  "required": [
@@ -24223,7 +24659,9 @@
24223
24659
  "published_at",
24224
24660
  "application_snapshot",
24225
24661
  "configuration_snapshot",
24226
- "review"
24662
+ "review",
24663
+ "api_authorization_snapshot",
24664
+ "api_request_snapshot"
24227
24665
  ],
24228
24666
  "additionalProperties": false
24229
24667
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limecloud/cli",
3
- "version": "0.6.0",
3
+ "version": "0.8.0",
4
4
  "description": "Lime Cloud CLI for public identity and delegated platform APIs",
5
5
  "type": "module",
6
6
  "engines": {