@dynamic-labs/sdk-api 0.0.541 → 0.0.543
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 +1 -1
- package/src/models/Provider.cjs +2 -0
- package/src/models/Provider.d.ts +6 -0
- package/src/models/Provider.js +2 -0
- package/src/models/ProviderCreateRequest.cjs +2 -0
- package/src/models/ProviderCreateRequest.d.ts +6 -0
- package/src/models/ProviderCreateRequest.js +2 -0
- package/src/models/ProviderUpdateRequest.cjs +2 -0
- package/src/models/ProviderUpdateRequest.d.ts +6 -0
- package/src/models/ProviderUpdateRequest.js +2 -0
package/package.json
CHANGED
package/src/models/Provider.cjs
CHANGED
|
@@ -48,6 +48,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'defaultChain': !runtime.exists(json, 'defaultChain') ? undefined : json['defaultChain'],
|
|
49
49
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
50
50
|
'termsAcceptedByUser': !runtime.exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreement.ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
51
|
+
'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
|
|
51
52
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
52
53
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
53
54
|
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -80,6 +81,7 @@ function ProviderToJSON(value) {
|
|
|
80
81
|
'defaultChain': value.defaultChain,
|
|
81
82
|
'keyExportUrl': value.keyExportUrl,
|
|
82
83
|
'termsAcceptedByUser': ProviderAgreement.ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
84
|
+
'scopes': value.scopes,
|
|
83
85
|
'appleKeyId': value.appleKeyId,
|
|
84
86
|
'appleTeamId': value.appleTeamId,
|
|
85
87
|
'accountSid': value.accountSid,
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -92,6 +92,12 @@ export interface Provider {
|
|
|
92
92
|
* @memberof Provider
|
|
93
93
|
*/
|
|
94
94
|
termsAcceptedByUser?: ProviderAgreement;
|
|
95
|
+
/**
|
|
96
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof Provider
|
|
99
|
+
*/
|
|
100
|
+
scopes?: string;
|
|
95
101
|
/**
|
|
96
102
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
97
103
|
* @type {string}
|
package/src/models/Provider.js
CHANGED
|
@@ -44,6 +44,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'defaultChain': !exists(json, 'defaultChain') ? undefined : json['defaultChain'],
|
|
45
45
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
46
46
|
'termsAcceptedByUser': !exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
47
|
+
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
|
47
48
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
48
49
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
49
50
|
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -76,6 +77,7 @@ function ProviderToJSON(value) {
|
|
|
76
77
|
'defaultChain': value.defaultChain,
|
|
77
78
|
'keyExportUrl': value.keyExportUrl,
|
|
78
79
|
'termsAcceptedByUser': ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
80
|
+
'scopes': value.scopes,
|
|
79
81
|
'appleKeyId': value.appleKeyId,
|
|
80
82
|
'appleTeamId': value.appleTeamId,
|
|
81
83
|
'accountSid': value.accountSid,
|
|
@@ -25,6 +25,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
26
26
|
'termsUrl': !runtime.exists(json, 'termsUrl') ? undefined : json['termsUrl'],
|
|
27
27
|
'useDynamicCredentials': !runtime.exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
28
|
+
'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
|
|
28
29
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
29
30
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
30
31
|
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -50,6 +51,7 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
50
51
|
'keyExportUrl': value.keyExportUrl,
|
|
51
52
|
'termsUrl': value.termsUrl,
|
|
52
53
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
54
|
+
'scopes': value.scopes,
|
|
53
55
|
'appleKeyId': value.appleKeyId,
|
|
54
56
|
'appleTeamId': value.appleTeamId,
|
|
55
57
|
'accountSid': value.accountSid,
|
|
@@ -72,6 +72,12 @@ export interface ProviderCreateRequest {
|
|
|
72
72
|
* @memberof ProviderCreateRequest
|
|
73
73
|
*/
|
|
74
74
|
useDynamicCredentials?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ProviderCreateRequest
|
|
79
|
+
*/
|
|
80
|
+
scopes?: string;
|
|
75
81
|
/**
|
|
76
82
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
77
83
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
22
22
|
'termsUrl': !exists(json, 'termsUrl') ? undefined : json['termsUrl'],
|
|
23
23
|
'useDynamicCredentials': !exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
24
|
+
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
|
24
25
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
25
26
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
26
27
|
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -46,6 +47,7 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
46
47
|
'keyExportUrl': value.keyExportUrl,
|
|
47
48
|
'termsUrl': value.termsUrl,
|
|
48
49
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
50
|
+
'scopes': value.scopes,
|
|
49
51
|
'appleKeyId': value.appleKeyId,
|
|
50
52
|
'appleTeamId': value.appleTeamId,
|
|
51
53
|
'accountSid': value.accountSid,
|
|
@@ -22,6 +22,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'defaultChain': !runtime.exists(json, 'defaultChain') ? undefined : json['defaultChain'],
|
|
23
23
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
24
24
|
'useDynamicCredentials': !runtime.exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
25
|
+
'scopes': !runtime.exists(json, 'scopes') ? undefined : json['scopes'],
|
|
25
26
|
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
26
27
|
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
27
28
|
'accountSid': !runtime.exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -45,6 +46,7 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
45
46
|
'defaultChain': value.defaultChain,
|
|
46
47
|
'keyExportUrl': value.keyExportUrl,
|
|
47
48
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
49
|
+
'scopes': value.scopes,
|
|
48
50
|
'appleKeyId': value.appleKeyId,
|
|
49
51
|
'appleTeamId': value.appleTeamId,
|
|
50
52
|
'accountSid': value.accountSid,
|
|
@@ -59,6 +59,12 @@ export interface ProviderUpdateRequest {
|
|
|
59
59
|
* @memberof ProviderUpdateRequest
|
|
60
60
|
*/
|
|
61
61
|
useDynamicCredentials?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Optional custom space-delimited list of Oauth scopes for the social provider
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProviderUpdateRequest
|
|
66
|
+
*/
|
|
67
|
+
scopes?: string;
|
|
62
68
|
/**
|
|
63
69
|
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
64
70
|
* @type {string}
|
|
@@ -18,6 +18,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'defaultChain': !exists(json, 'defaultChain') ? undefined : json['defaultChain'],
|
|
19
19
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
20
20
|
'useDynamicCredentials': !exists(json, 'useDynamicCredentials') ? undefined : json['useDynamicCredentials'],
|
|
21
|
+
'scopes': !exists(json, 'scopes') ? undefined : json['scopes'],
|
|
21
22
|
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
22
23
|
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
23
24
|
'accountSid': !exists(json, 'accountSid') ? undefined : json['accountSid'],
|
|
@@ -41,6 +42,7 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
41
42
|
'defaultChain': value.defaultChain,
|
|
42
43
|
'keyExportUrl': value.keyExportUrl,
|
|
43
44
|
'useDynamicCredentials': value.useDynamicCredentials,
|
|
45
|
+
'scopes': value.scopes,
|
|
44
46
|
'appleKeyId': value.appleKeyId,
|
|
45
47
|
'appleTeamId': value.appleTeamId,
|
|
46
48
|
'accountSid': value.accountSid,
|