@shapediver/api.platform-api-dto-v1 2.6.0 → 2.6.2
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/commons/SdPlatformApiTokenScopes.d.ts +11 -0
- package/dist/commons/SdPlatformApiTokenScopes.d.ts.map +1 -1
- package/dist/commons/SdPlatformApiTokenScopes.js +11 -0
- package/dist/commons/SdPlatformApiTokenScopes.js.map +1 -1
- package/dist/response/SdPlatformResponseApiToken.d.ts +1 -1
- package/dist/response/SdPlatformResponseApiToken.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -11,6 +11,7 @@ export declare enum SdPlatformApiTokenScopes {
|
|
|
11
11
|
ImagesFull = "images-full",
|
|
12
12
|
Tokens = "tokens",
|
|
13
13
|
TagsRead = "tags-read",
|
|
14
|
+
TagsWrite = "tags-write",
|
|
14
15
|
UsersRead = "users-read",
|
|
15
16
|
UsersWrite = "users-write",
|
|
16
17
|
ModelSharingRead = "model-sharing-read",
|
|
@@ -25,9 +26,19 @@ export declare enum SdPlatformApiTokenScopes {
|
|
|
25
26
|
ActionsFull = "actions-full",
|
|
26
27
|
ApiClientsFull = "apiclients-full",
|
|
27
28
|
BackendSystemsFull = "backendsystems-full",
|
|
29
|
+
DomainsRead = "domains-read",
|
|
28
30
|
DomainsFull = "domains-full",
|
|
29
31
|
HttpLogsFull = "httplogs-full",
|
|
30
32
|
PoliciesFull = "policies-full",
|
|
33
|
+
OrganizationsRead = "organizations-read",
|
|
34
|
+
OrganizationsWrite = "organizations-write",
|
|
35
|
+
OrganizationsFull = "organizations-full",
|
|
36
|
+
NotificationsRead = "notifications-read",
|
|
37
|
+
NotificationsWrite = "notifications-write",
|
|
38
|
+
NotificationsFull = "notifications-full",
|
|
39
|
+
DocumentsRead = "documents-read",
|
|
40
|
+
DocumentsWrite = "documents-write",
|
|
41
|
+
DocumentsFull = "documents-full",
|
|
31
42
|
All = "*"
|
|
32
43
|
}
|
|
33
44
|
//# sourceMappingURL=SdPlatformApiTokenScopes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformApiTokenScopes.d.ts","sourceRoot":"","sources":["../../src/commons/SdPlatformApiTokenScopes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,wBAAwB;IAEhC,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,cAAc;IACtB,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,qBAAqB,6BAA6B;IAClD,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,YAAY,kBAAkB;IAC9B,GAAG,MAAM;CACZ"}
|
|
1
|
+
{"version":3,"file":"SdPlatformApiTokenScopes.d.ts","sourceRoot":"","sources":["../../src/commons/SdPlatformApiTokenScopes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,wBAAwB;IAEhC,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,aAAa,mBAAmB;IAChC,UAAU,gBAAgB;IAC1B,WAAW,iBAAiB;IAC5B,UAAU,gBAAgB;IAC1B,MAAM,WAAW;IACjB,QAAQ,cAAc;IACtB,SAAS,eAAe;IACxB,SAAS,eAAe;IACxB,UAAU,gBAAgB;IAC1B,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,gBAAgB,uBAAuB;IACvC,eAAe,sBAAsB;IACrC,qBAAqB,6BAA6B;IAClD,sBAAsB,8BAA8B;IACpD,qBAAqB,6BAA6B;IAClD,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,kBAAkB,wBAAwB;IAC1C,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,YAAY,kBAAkB;IAC9B,iBAAiB,uBAAuB;IACxC,kBAAkB,wBAAwB;IAC1C,iBAAiB,uBAAuB;IACxC,iBAAiB,uBAAuB;IACxC,kBAAkB,wBAAwB;IAC1C,iBAAiB,uBAAuB;IACxC,aAAa,mBAAmB;IAChC,cAAc,oBAAoB;IAClC,aAAa,mBAAmB;IAChC,GAAG,MAAM;CACZ"}
|
|
@@ -15,6 +15,7 @@ var SdPlatformApiTokenScopes;
|
|
|
15
15
|
SdPlatformApiTokenScopes["ImagesFull"] = "images-full";
|
|
16
16
|
SdPlatformApiTokenScopes["Tokens"] = "tokens";
|
|
17
17
|
SdPlatformApiTokenScopes["TagsRead"] = "tags-read";
|
|
18
|
+
SdPlatformApiTokenScopes["TagsWrite"] = "tags-write";
|
|
18
19
|
SdPlatformApiTokenScopes["UsersRead"] = "users-read";
|
|
19
20
|
SdPlatformApiTokenScopes["UsersWrite"] = "users-write";
|
|
20
21
|
SdPlatformApiTokenScopes["ModelSharingRead"] = "model-sharing-read";
|
|
@@ -29,9 +30,19 @@ var SdPlatformApiTokenScopes;
|
|
|
29
30
|
SdPlatformApiTokenScopes["ActionsFull"] = "actions-full";
|
|
30
31
|
SdPlatformApiTokenScopes["ApiClientsFull"] = "apiclients-full";
|
|
31
32
|
SdPlatformApiTokenScopes["BackendSystemsFull"] = "backendsystems-full";
|
|
33
|
+
SdPlatformApiTokenScopes["DomainsRead"] = "domains-read";
|
|
32
34
|
SdPlatformApiTokenScopes["DomainsFull"] = "domains-full";
|
|
33
35
|
SdPlatformApiTokenScopes["HttpLogsFull"] = "httplogs-full";
|
|
34
36
|
SdPlatformApiTokenScopes["PoliciesFull"] = "policies-full";
|
|
37
|
+
SdPlatformApiTokenScopes["OrganizationsRead"] = "organizations-read";
|
|
38
|
+
SdPlatformApiTokenScopes["OrganizationsWrite"] = "organizations-write";
|
|
39
|
+
SdPlatformApiTokenScopes["OrganizationsFull"] = "organizations-full";
|
|
40
|
+
SdPlatformApiTokenScopes["NotificationsRead"] = "notifications-read";
|
|
41
|
+
SdPlatformApiTokenScopes["NotificationsWrite"] = "notifications-write";
|
|
42
|
+
SdPlatformApiTokenScopes["NotificationsFull"] = "notifications-full";
|
|
43
|
+
SdPlatformApiTokenScopes["DocumentsRead"] = "documents-read";
|
|
44
|
+
SdPlatformApiTokenScopes["DocumentsWrite"] = "documents-write";
|
|
45
|
+
SdPlatformApiTokenScopes["DocumentsFull"] = "documents-full";
|
|
35
46
|
SdPlatformApiTokenScopes["All"] = "*";
|
|
36
47
|
})(SdPlatformApiTokenScopes = exports.SdPlatformApiTokenScopes || (exports.SdPlatformApiTokenScopes = {}));
|
|
37
48
|
//# sourceMappingURL=SdPlatformApiTokenScopes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformApiTokenScopes.js","sourceRoot":"","sources":["../../src/commons/SdPlatformApiTokenScopes.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"SdPlatformApiTokenScopes.js","sourceRoot":"","sources":["../../src/commons/SdPlatformApiTokenScopes.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,IAAY,wBAwCX;AAxCD,WAAY,wBAAwB;IAEhC,sDAA0B,CAAA;IAC1B,wDAA4B,CAAA;IAC5B,sDAA0B,CAAA;IAC1B,4DAAgC,CAAA;IAChC,sDAA0B,CAAA;IAC1B,wDAA4B,CAAA;IAC5B,sDAA0B,CAAA;IAC1B,6CAAiB,CAAA;IACjB,kDAAsB,CAAA;IACtB,oDAAwB,CAAA;IACxB,oDAAwB,CAAA;IACxB,sDAA0B,CAAA;IAC1B,mEAAuC,CAAA;IACvC,qEAAyC,CAAA;IACzC,mEAAuC,CAAA;IACvC,iEAAqC,CAAA;IACrC,mEAAuC,CAAA;IACvC,iEAAqC,CAAA;IACrC,8EAAkD,CAAA;IAClD,gFAAoD,CAAA;IACpD,8EAAkD,CAAA;IAClD,wDAA4B,CAAA;IAC5B,8DAAkC,CAAA;IAClC,sEAA0C,CAAA;IAC1C,wDAA4B,CAAA;IAC5B,wDAA4B,CAAA;IAC5B,0DAA8B,CAAA;IAC9B,0DAA8B,CAAA;IAC9B,oEAAwC,CAAA;IACxC,sEAA0C,CAAA;IAC1C,oEAAwC,CAAA;IACxC,oEAAwC,CAAA;IACxC,sEAA0C,CAAA;IAC1C,oEAAwC,CAAA;IACxC,4DAAgC,CAAA;IAChC,8DAAkC,CAAA;IAClC,4DAAgC,CAAA;IAChC,qCAAS,CAAA;AACb,CAAC,EAxCW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAwCnC"}
|
|
@@ -8,7 +8,7 @@ export interface SdPlatformResponseApiToken {
|
|
|
8
8
|
/** scopes which the API token is limited to */
|
|
9
9
|
readonly scope: Array<SdPlatformApiTokenScopes>;
|
|
10
10
|
/** epoch timestamp until which the API token shall be valid */
|
|
11
|
-
readonly valid_until
|
|
11
|
+
readonly valid_until?: number;
|
|
12
12
|
/** whether the token is currently active */
|
|
13
13
|
readonly active: boolean;
|
|
14
14
|
/** description of the token */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SdPlatformResponseApiToken.d.ts","sourceRoot":"","sources":["../../src/response/SdPlatformResponseApiToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAEvC,8EAA8E;IAC9E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAChD,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SdPlatformResponseApiToken.d.ts","sourceRoot":"","sources":["../../src/response/SdPlatformResponseApiToken.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AAE/E;;GAEG;AACH,MAAM,WAAW,0BAA0B;IAEvC,8EAA8E;IAC9E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,+CAA+C;IAC/C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAChD,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B,4CAA4C;IAC5C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,+BAA+B;IAC/B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,oCAAqC,SAAQ,0BAA0B;IAEpF,sFAAsF;IACtF,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B"}
|