@dynamic-labs/sdk-api 0.0.788 → 0.0.790

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.788",
3
+ "version": "0.0.790",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* tslint:disable */
6
- /* eslint-disable */
7
- /**
8
- * Dashboard API
9
- * Dashboard API documentation
10
- *
11
- * The version of the OpenAPI document: 1.0.0
12
- *
13
- *
14
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
- * https://openapi-generator.tech
16
- * Do not edit the class manually.
17
- */
18
8
  function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json) {
19
9
  return DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json);
20
10
  }
@@ -23,12 +13,12 @@ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json,
23
13
  return json;
24
14
  }
25
15
  return {
26
- 'algorithm': json['algorithm'],
16
+ 'alg': json['alg'],
27
17
  'iv': json['iv'],
28
- 'encryptedData': json['encryptedData'],
29
- 'authTag': json['authTag'],
30
- 'encryptedKey': json['encryptedKey'],
31
- 'encodedEnvelopeBytes': json['encodedEnvelopeBytes'],
18
+ 'ct': json['ct'],
19
+ 'tag': json['tag'],
20
+ 'ek': json['ek'],
21
+ 'kid': !runtime.exists(json, 'kid') ? undefined : json['kid'],
32
22
  };
33
23
  }
34
24
  function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
@@ -39,12 +29,12 @@ function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
39
29
  return null;
40
30
  }
41
31
  return {
42
- 'algorithm': value.algorithm,
32
+ 'alg': value.alg,
43
33
  'iv': value.iv,
44
- 'encryptedData': value.encryptedData,
45
- 'authTag': value.authTag,
46
- 'encryptedKey': value.encryptedKey,
47
- 'encodedEnvelopeBytes': value.encodedEnvelopeBytes,
34
+ 'ct': value.ct,
35
+ 'tag': value.tag,
36
+ 'ek': value.ek,
37
+ 'kid': value.kid,
48
38
  };
49
39
  }
50
40
 
@@ -20,7 +20,7 @@ export interface DelegatedShareDeliveryRequestEncryptedDelegatedShare {
20
20
  * @type {string}
21
21
  * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
22
22
  */
23
- algorithm: string;
23
+ alg: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -32,25 +32,25 @@ export interface DelegatedShareDeliveryRequestEncryptedDelegatedShare {
32
32
  * @type {string}
33
33
  * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
34
34
  */
35
- encryptedData: string;
35
+ ct: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
39
  * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
40
40
  */
41
- authTag: string;
41
+ tag: string;
42
42
  /**
43
43
  * A string with a max length of 4096 characters
44
44
  * @type {string}
45
45
  * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
46
46
  */
47
- encryptedKey: string;
47
+ ek: string;
48
48
  /**
49
- * A string with a max length of 4096 characters
49
+ *
50
50
  * @type {string}
51
51
  * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
52
52
  */
53
- encodedEnvelopeBytes: string;
53
+ kid?: string;
54
54
  }
55
55
  export declare function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json: any): DelegatedShareDeliveryRequestEncryptedDelegatedShare;
56
56
  export declare function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedShareDeliveryRequestEncryptedDelegatedShare;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dashboard API
5
- * Dashboard API documentation
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
4
  function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json) {
15
5
  return DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json);
16
6
  }
@@ -19,12 +9,12 @@ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json,
19
9
  return json;
20
10
  }
21
11
  return {
22
- 'algorithm': json['algorithm'],
12
+ 'alg': json['alg'],
23
13
  'iv': json['iv'],
24
- 'encryptedData': json['encryptedData'],
25
- 'authTag': json['authTag'],
26
- 'encryptedKey': json['encryptedKey'],
27
- 'encodedEnvelopeBytes': json['encodedEnvelopeBytes'],
14
+ 'ct': json['ct'],
15
+ 'tag': json['tag'],
16
+ 'ek': json['ek'],
17
+ 'kid': !exists(json, 'kid') ? undefined : json['kid'],
28
18
  };
29
19
  }
30
20
  function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
@@ -35,12 +25,12 @@ function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
35
25
  return null;
36
26
  }
37
27
  return {
38
- 'algorithm': value.algorithm,
28
+ 'alg': value.alg,
39
29
  'iv': value.iv,
40
- 'encryptedData': value.encryptedData,
41
- 'authTag': value.authTag,
42
- 'encryptedKey': value.encryptedKey,
43
- 'encodedEnvelopeBytes': value.encodedEnvelopeBytes,
30
+ 'ct': value.ct,
31
+ 'tag': value.tag,
32
+ 'ek': value.ek,
33
+ 'kid': value.kid,
44
34
  };
45
35
  }
46
36
 
@@ -26,6 +26,16 @@ exports.TokenScopes = void 0;
26
26
  TokenScopes["WaasAuthenticate"] = "waas.authenticate";
27
27
  TokenScopes["EnvironmentSettingsRead"] = "environment.settings.read";
28
28
  TokenScopes["EnvironmentSettingsWrite"] = "environment.settings.write";
29
+ TokenScopes["EnvironmentApiTokensRead"] = "environment.apiTokens.read";
30
+ TokenScopes["EnvironmentApiTokensWrite"] = "environment.apiTokens.write";
31
+ TokenScopes["EnvironmentUsersRead"] = "environment.users.read";
32
+ TokenScopes["EnvironmentUsersWrite"] = "environment.users.write";
33
+ TokenScopes["EnvironmentAnalyticsRead"] = "environment.analytics.read";
34
+ TokenScopes["EnvironmentWebhooksRead"] = "environment.webhooks.read";
35
+ TokenScopes["EnvironmentWebhooksWrite"] = "environment.webhooks.write";
36
+ TokenScopes["EnvironmentEventsRead"] = "environment.events.read";
37
+ TokenScopes["EnvironmentEventsWrite"] = "environment.events.write";
38
+ TokenScopes["EnvironmentBalancesRead"] = "environment.balances.read";
29
39
  })(exports.TokenScopes || (exports.TokenScopes = {}));
30
40
  function TokenScopesFromJSON(json) {
31
41
  return TokenScopesFromJSONTyped(json);
@@ -18,7 +18,17 @@ export declare enum TokenScopes {
18
18
  WaasDelegatedAccessSignMessage = "waas.delegatedAccess.signMessage",
19
19
  WaasAuthenticate = "waas.authenticate",
20
20
  EnvironmentSettingsRead = "environment.settings.read",
21
- EnvironmentSettingsWrite = "environment.settings.write"
21
+ EnvironmentSettingsWrite = "environment.settings.write",
22
+ EnvironmentApiTokensRead = "environment.apiTokens.read",
23
+ EnvironmentApiTokensWrite = "environment.apiTokens.write",
24
+ EnvironmentUsersRead = "environment.users.read",
25
+ EnvironmentUsersWrite = "environment.users.write",
26
+ EnvironmentAnalyticsRead = "environment.analytics.read",
27
+ EnvironmentWebhooksRead = "environment.webhooks.read",
28
+ EnvironmentWebhooksWrite = "environment.webhooks.write",
29
+ EnvironmentEventsRead = "environment.events.read",
30
+ EnvironmentEventsWrite = "environment.events.write",
31
+ EnvironmentBalancesRead = "environment.balances.read"
22
32
  }
23
33
  export declare function TokenScopesFromJSON(json: any): TokenScopes;
24
34
  export declare function TokenScopesFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenScopes;
@@ -22,6 +22,16 @@ var TokenScopes;
22
22
  TokenScopes["WaasAuthenticate"] = "waas.authenticate";
23
23
  TokenScopes["EnvironmentSettingsRead"] = "environment.settings.read";
24
24
  TokenScopes["EnvironmentSettingsWrite"] = "environment.settings.write";
25
+ TokenScopes["EnvironmentApiTokensRead"] = "environment.apiTokens.read";
26
+ TokenScopes["EnvironmentApiTokensWrite"] = "environment.apiTokens.write";
27
+ TokenScopes["EnvironmentUsersRead"] = "environment.users.read";
28
+ TokenScopes["EnvironmentUsersWrite"] = "environment.users.write";
29
+ TokenScopes["EnvironmentAnalyticsRead"] = "environment.analytics.read";
30
+ TokenScopes["EnvironmentWebhooksRead"] = "environment.webhooks.read";
31
+ TokenScopes["EnvironmentWebhooksWrite"] = "environment.webhooks.write";
32
+ TokenScopes["EnvironmentEventsRead"] = "environment.events.read";
33
+ TokenScopes["EnvironmentEventsWrite"] = "environment.events.write";
34
+ TokenScopes["EnvironmentBalancesRead"] = "environment.balances.read";
25
35
  })(TokenScopes || (TokenScopes = {}));
26
36
  function TokenScopesFromJSON(json) {
27
37
  return TokenScopesFromJSONTyped(json);