@dynamic-labs/sdk-api 0.0.544 → 0.0.546

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.544",
3
+ "version": "0.0.546",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -29,6 +29,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
29
29
  'privateCustomerRpcUrls': !runtime.exists(json, 'privateCustomerRpcUrls') ? undefined : json['privateCustomerRpcUrls'],
30
30
  'blockExplorerUrls': json['blockExplorerUrls'],
31
31
  'vanityName': !runtime.exists(json, 'vanityName') ? undefined : json['vanityName'],
32
+ 'bech32Prefix': !runtime.exists(json, 'bech32_prefix') ? undefined : json['bech32_prefix'],
32
33
  };
33
34
  }
34
35
  function NetworkConfigurationToJSON(value) {
@@ -53,6 +54,7 @@ function NetworkConfigurationToJSON(value) {
53
54
  'privateCustomerRpcUrls': value.privateCustomerRpcUrls,
54
55
  'blockExplorerUrls': value.blockExplorerUrls,
55
56
  'vanityName': value.vanityName,
57
+ 'bech32_prefix': value.bech32Prefix,
56
58
  };
57
59
  }
58
60
 
@@ -101,6 +101,12 @@ export interface NetworkConfiguration {
101
101
  * @memberof NetworkConfiguration
102
102
  */
103
103
  vanityName?: string;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof NetworkConfiguration
108
+ */
109
+ bech32Prefix?: string;
104
110
  }
105
111
  export declare function NetworkConfigurationFromJSON(json: any): NetworkConfiguration;
106
112
  export declare function NetworkConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetworkConfiguration;
@@ -25,6 +25,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'privateCustomerRpcUrls': !exists(json, 'privateCustomerRpcUrls') ? undefined : json['privateCustomerRpcUrls'],
26
26
  'blockExplorerUrls': json['blockExplorerUrls'],
27
27
  'vanityName': !exists(json, 'vanityName') ? undefined : json['vanityName'],
28
+ 'bech32Prefix': !exists(json, 'bech32_prefix') ? undefined : json['bech32_prefix'],
28
29
  };
29
30
  }
30
31
  function NetworkConfigurationToJSON(value) {
@@ -49,6 +50,7 @@ function NetworkConfigurationToJSON(value) {
49
50
  'privateCustomerRpcUrls': value.privateCustomerRpcUrls,
50
51
  'blockExplorerUrls': value.blockExplorerUrls,
51
52
  'vanityName': value.vanityName,
53
+ 'bech32_prefix': value.bech32Prefix,
52
54
  };
53
55
  }
54
56
 
@@ -49,6 +49,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
50
50
  'termsAcceptedByUser': !runtime.exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreement.ProviderAgreementFromJSON(json['termsAcceptedByUser']),
51
51
  'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
52
+ 'baseAuthUrl': !runtime.exists(json, 'baseAuthUrl') ? undefined : json['baseAuthUrl'],
52
53
  'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
53
54
  'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
54
55
  'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
@@ -82,6 +83,7 @@ function ProviderToJSON(value) {
82
83
  'keyExportUrl': value.keyExportUrl,
83
84
  'termsAcceptedByUser': ProviderAgreement.ProviderAgreementToJSON(value.termsAcceptedByUser),
84
85
  'scopes': value.scopes,
86
+ 'baseAuthUrl': value.baseAuthUrl,
85
87
  'appleKeyId': value.appleKeyId,
86
88
  'appleTeamId': value.appleTeamId,
87
89
  'accountSid': value.accountSid,
@@ -98,6 +98,12 @@ export interface Provider {
98
98
  * @memberof Provider
99
99
  */
100
100
  scopes?: string;
101
+ /**
102
+ * Base auth url for oauth provider
103
+ * @type {string}
104
+ * @memberof Provider
105
+ */
106
+ baseAuthUrl?: string;
101
107
  /**
102
108
  * Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
103
109
  * @type {string}
@@ -45,6 +45,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
45
45
  'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
46
46
  'termsAcceptedByUser': !exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreementFromJSON(json['termsAcceptedByUser']),
47
47
  'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
48
+ 'baseAuthUrl': !exists(json, 'baseAuthUrl') ? undefined : json['baseAuthUrl'],
48
49
  'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
49
50
  'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
50
51
  'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
@@ -78,6 +79,7 @@ function ProviderToJSON(value) {
78
79
  'keyExportUrl': value.keyExportUrl,
79
80
  'termsAcceptedByUser': ProviderAgreementToJSON(value.termsAcceptedByUser),
80
81
  'scopes': value.scopes,
82
+ 'baseAuthUrl': value.baseAuthUrl,
81
83
  'appleKeyId': value.appleKeyId,
82
84
  'appleTeamId': value.appleTeamId,
83
85
  'accountSid': value.accountSid,
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var ProviderEnum = require('./ProviderEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -16,6 +17,7 @@ function ProviderUrlFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'provider': ProviderEnum.ProviderEnumFromJSON(json['provider']),
17
18
  'authorizationUrl': json['authorizationUrl'],
18
19
  'redirectUrl': json['redirectUrl'],
20
+ 'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
19
21
  };
20
22
  }
21
23
  function ProviderUrlToJSON(value) {
@@ -29,6 +31,7 @@ function ProviderUrlToJSON(value) {
29
31
  'provider': ProviderEnum.ProviderEnumToJSON(value.provider),
30
32
  'authorizationUrl': value.authorizationUrl,
31
33
  'redirectUrl': value.redirectUrl,
34
+ 'scopes': value.scopes,
32
35
  };
33
36
  }
34
37
 
@@ -34,6 +34,12 @@ export interface ProviderUrl {
34
34
  * @memberof ProviderUrl
35
35
  */
36
36
  redirectUrl: string;
37
+ /**
38
+ * Optional custom space-delimited list of Oauth scopes for the social provider
39
+ * @type {string}
40
+ * @memberof ProviderUrl
41
+ */
42
+ scopes?: string;
37
43
  }
38
44
  export declare function ProviderUrlFromJSON(json: any): ProviderUrl;
39
45
  export declare function ProviderUrlFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUrl;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
2
3
 
3
4
  /* tslint:disable */
@@ -12,6 +13,7 @@ function ProviderUrlFromJSONTyped(json, ignoreDiscriminator) {
12
13
  'provider': ProviderEnumFromJSON(json['provider']),
13
14
  'authorizationUrl': json['authorizationUrl'],
14
15
  'redirectUrl': json['redirectUrl'],
16
+ 'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
15
17
  };
16
18
  }
17
19
  function ProviderUrlToJSON(value) {
@@ -25,6 +27,7 @@ function ProviderUrlToJSON(value) {
25
27
  'provider': ProviderEnumToJSON(value.provider),
26
28
  'authorizationUrl': value.authorizationUrl,
27
29
  'redirectUrl': value.redirectUrl,
30
+ 'scopes': value.scopes,
28
31
  };
29
32
  }
30
33