@dynamic-labs/sdk-api 0.0.283 → 0.0.284
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/apis/SDKApi.cjs +72 -0
- package/src/apis/SDKApi.d.ts +29 -0
- package/src/apis/SDKApi.js +72 -0
- package/src/models/Provider.cjs +4 -0
- package/src/models/Provider.d.ts +12 -0
- package/src/models/Provider.js +4 -0
- package/src/models/ProviderCreateRequest.cjs +4 -0
- package/src/models/ProviderCreateRequest.d.ts +13 -1
- package/src/models/ProviderCreateRequest.js +4 -0
- package/src/models/ProviderUpdateRequest.cjs +4 -0
- package/src/models/ProviderUpdateRequest.d.ts +12 -0
- package/src/models/ProviderUpdateRequest.js +4 -0
package/package.json
CHANGED
package/src/apis/SDKApi.cjs
CHANGED
|
@@ -653,6 +653,78 @@ class SDKApi extends runtime.BaseAPI {
|
|
|
653
653
|
yield this.nonceOptionsRaw(requestParameters, initOverrides);
|
|
654
654
|
});
|
|
655
655
|
}
|
|
656
|
+
/**
|
|
657
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
658
|
+
* Oauth provider authorization endpoint
|
|
659
|
+
*/
|
|
660
|
+
oauthAuthorizeHtmlRaw(requestParameters, initOverrides) {
|
|
661
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
662
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
663
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtml.');
|
|
664
|
+
}
|
|
665
|
+
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
666
|
+
throw new runtime.RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtml.');
|
|
667
|
+
}
|
|
668
|
+
const queryParameters = {};
|
|
669
|
+
if (requestParameters.scope !== undefined) {
|
|
670
|
+
queryParameters['scope'] = requestParameters.scope;
|
|
671
|
+
}
|
|
672
|
+
if (requestParameters.state !== undefined) {
|
|
673
|
+
queryParameters['state'] = requestParameters.state;
|
|
674
|
+
}
|
|
675
|
+
if (requestParameters.redirectURI !== undefined) {
|
|
676
|
+
queryParameters['redirectURI'] = requestParameters.redirectURI;
|
|
677
|
+
}
|
|
678
|
+
const headerParameters = {};
|
|
679
|
+
const response = yield this.request({
|
|
680
|
+
path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))),
|
|
681
|
+
method: 'GET',
|
|
682
|
+
headers: headerParameters,
|
|
683
|
+
query: queryParameters,
|
|
684
|
+
}, initOverrides);
|
|
685
|
+
return new runtime.TextApiResponse(response);
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
/**
|
|
689
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
690
|
+
* Oauth provider authorization endpoint
|
|
691
|
+
*/
|
|
692
|
+
oauthAuthorizeHtml(requestParameters, initOverrides) {
|
|
693
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
694
|
+
const response = yield this.oauthAuthorizeHtmlRaw(requestParameters, initOverrides);
|
|
695
|
+
return yield response.value();
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* Options call for this endpoint
|
|
700
|
+
*/
|
|
701
|
+
oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides) {
|
|
702
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
703
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
704
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtmlOptions.');
|
|
705
|
+
}
|
|
706
|
+
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
707
|
+
throw new runtime.RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtmlOptions.');
|
|
708
|
+
}
|
|
709
|
+
const queryParameters = {};
|
|
710
|
+
const headerParameters = {};
|
|
711
|
+
const response = yield this.request({
|
|
712
|
+
path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))),
|
|
713
|
+
method: 'OPTIONS',
|
|
714
|
+
headers: headerParameters,
|
|
715
|
+
query: queryParameters,
|
|
716
|
+
}, initOverrides);
|
|
717
|
+
return new runtime.VoidApiResponse(response);
|
|
718
|
+
});
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Options call for this endpoint
|
|
722
|
+
*/
|
|
723
|
+
oauthAuthorizeHtmlOptions(requestParameters, initOverrides) {
|
|
724
|
+
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
725
|
+
yield this.oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides);
|
|
726
|
+
});
|
|
727
|
+
}
|
|
656
728
|
/**
|
|
657
729
|
* Get redirect URL for Oauth provider login
|
|
658
730
|
*/
|
package/src/apis/SDKApi.d.ts
CHANGED
|
@@ -77,6 +77,17 @@ export interface NetworksOptionsRequest {
|
|
|
77
77
|
export interface NonceOptionsRequest {
|
|
78
78
|
environmentId: string;
|
|
79
79
|
}
|
|
80
|
+
export interface OauthAuthorizeHtmlRequest {
|
|
81
|
+
environmentId: string;
|
|
82
|
+
providerType: ProviderEnum;
|
|
83
|
+
scope?: string;
|
|
84
|
+
state?: string;
|
|
85
|
+
redirectURI?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface OauthAuthorizeHtmlOptionsRequest {
|
|
88
|
+
environmentId: string;
|
|
89
|
+
providerType: ProviderEnum;
|
|
90
|
+
}
|
|
80
91
|
export interface OauthLoginRequest {
|
|
81
92
|
environmentId: string;
|
|
82
93
|
providerType: ProviderEnum;
|
|
@@ -389,6 +400,24 @@ export declare class SDKApi extends runtime.BaseAPI {
|
|
|
389
400
|
* Options call for this endpoint
|
|
390
401
|
*/
|
|
391
402
|
nonceOptions(requestParameters: NonceOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
403
|
+
/**
|
|
404
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
405
|
+
* Oauth provider authorization endpoint
|
|
406
|
+
*/
|
|
407
|
+
oauthAuthorizeHtmlRaw(requestParameters: OauthAuthorizeHtmlRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<string>>;
|
|
408
|
+
/**
|
|
409
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
410
|
+
* Oauth provider authorization endpoint
|
|
411
|
+
*/
|
|
412
|
+
oauthAuthorizeHtml(requestParameters: OauthAuthorizeHtmlRequest, initOverrides?: RequestInit): Promise<string>;
|
|
413
|
+
/**
|
|
414
|
+
* Options call for this endpoint
|
|
415
|
+
*/
|
|
416
|
+
oauthAuthorizeHtmlOptionsRaw(requestParameters: OauthAuthorizeHtmlOptionsRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<void>>;
|
|
417
|
+
/**
|
|
418
|
+
* Options call for this endpoint
|
|
419
|
+
*/
|
|
420
|
+
oauthAuthorizeHtmlOptions(requestParameters: OauthAuthorizeHtmlOptionsRequest, initOverrides?: RequestInit): Promise<void>;
|
|
392
421
|
/**
|
|
393
422
|
* Get redirect URL for Oauth provider login
|
|
394
423
|
*/
|
package/src/apis/SDKApi.js
CHANGED
|
@@ -649,6 +649,78 @@ class SDKApi extends BaseAPI {
|
|
|
649
649
|
yield this.nonceOptionsRaw(requestParameters, initOverrides);
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
654
|
+
* Oauth provider authorization endpoint
|
|
655
|
+
*/
|
|
656
|
+
oauthAuthorizeHtmlRaw(requestParameters, initOverrides) {
|
|
657
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
658
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
659
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtml.');
|
|
660
|
+
}
|
|
661
|
+
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
662
|
+
throw new RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtml.');
|
|
663
|
+
}
|
|
664
|
+
const queryParameters = {};
|
|
665
|
+
if (requestParameters.scope !== undefined) {
|
|
666
|
+
queryParameters['scope'] = requestParameters.scope;
|
|
667
|
+
}
|
|
668
|
+
if (requestParameters.state !== undefined) {
|
|
669
|
+
queryParameters['state'] = requestParameters.state;
|
|
670
|
+
}
|
|
671
|
+
if (requestParameters.redirectURI !== undefined) {
|
|
672
|
+
queryParameters['redirectURI'] = requestParameters.redirectURI;
|
|
673
|
+
}
|
|
674
|
+
const headerParameters = {};
|
|
675
|
+
const response = yield this.request({
|
|
676
|
+
path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))),
|
|
677
|
+
method: 'GET',
|
|
678
|
+
headers: headerParameters,
|
|
679
|
+
query: queryParameters,
|
|
680
|
+
}, initOverrides);
|
|
681
|
+
return new TextApiResponse(response);
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* Endpoint where an oauth provider would return authorization HTML used for mobile-friendly login, such as Apple ID with Touch ID on enabled devices.
|
|
686
|
+
* Oauth provider authorization endpoint
|
|
687
|
+
*/
|
|
688
|
+
oauthAuthorizeHtml(requestParameters, initOverrides) {
|
|
689
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
690
|
+
const response = yield this.oauthAuthorizeHtmlRaw(requestParameters, initOverrides);
|
|
691
|
+
return yield response.value();
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
/**
|
|
695
|
+
* Options call for this endpoint
|
|
696
|
+
*/
|
|
697
|
+
oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides) {
|
|
698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
699
|
+
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
700
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling oauthAuthorizeHtmlOptions.');
|
|
701
|
+
}
|
|
702
|
+
if (requestParameters.providerType === null || requestParameters.providerType === undefined) {
|
|
703
|
+
throw new RequiredError('providerType', 'Required parameter requestParameters.providerType was null or undefined when calling oauthAuthorizeHtmlOptions.');
|
|
704
|
+
}
|
|
705
|
+
const queryParameters = {};
|
|
706
|
+
const headerParameters = {};
|
|
707
|
+
const response = yield this.request({
|
|
708
|
+
path: `/sdk/{environmentId}/providers/{providerType}/authorizeHtml`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"providerType"}}`, encodeURIComponent(String(requestParameters.providerType))),
|
|
709
|
+
method: 'OPTIONS',
|
|
710
|
+
headers: headerParameters,
|
|
711
|
+
query: queryParameters,
|
|
712
|
+
}, initOverrides);
|
|
713
|
+
return new VoidApiResponse(response);
|
|
714
|
+
});
|
|
715
|
+
}
|
|
716
|
+
/**
|
|
717
|
+
* Options call for this endpoint
|
|
718
|
+
*/
|
|
719
|
+
oauthAuthorizeHtmlOptions(requestParameters, initOverrides) {
|
|
720
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
721
|
+
yield this.oauthAuthorizeHtmlOptionsRaw(requestParameters, initOverrides);
|
|
722
|
+
});
|
|
723
|
+
}
|
|
652
724
|
/**
|
|
653
725
|
* Get redirect URL for Oauth provider login
|
|
654
726
|
*/
|
package/src/models/Provider.cjs
CHANGED
|
@@ -26,6 +26,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
'defaultChainId': !runtime.exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
27
27
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
28
28
|
'termsAcceptedByUser': !runtime.exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreement.ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
29
|
+
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
30
|
+
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
function ProviderToJSON(value) {
|
|
@@ -47,6 +49,8 @@ function ProviderToJSON(value) {
|
|
|
47
49
|
'defaultChainId': value.defaultChainId,
|
|
48
50
|
'keyExportUrl': value.keyExportUrl,
|
|
49
51
|
'termsAcceptedByUser': ProviderAgreement.ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
52
|
+
'appleKeyId': value.appleKeyId,
|
|
53
|
+
'appleTeamId': value.appleTeamId,
|
|
50
54
|
};
|
|
51
55
|
}
|
|
52
56
|
|
package/src/models/Provider.d.ts
CHANGED
|
@@ -83,6 +83,18 @@ export interface Provider {
|
|
|
83
83
|
* @memberof Provider
|
|
84
84
|
*/
|
|
85
85
|
termsAcceptedByUser?: ProviderAgreement;
|
|
86
|
+
/**
|
|
87
|
+
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof Provider
|
|
90
|
+
*/
|
|
91
|
+
appleKeyId?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Team ID required for Apple Oauth2 applications. This is associated with the Apple developer membership account.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof Provider
|
|
96
|
+
*/
|
|
97
|
+
appleTeamId?: string;
|
|
86
98
|
}
|
|
87
99
|
export declare function ProviderFromJSON(json: any): Provider;
|
|
88
100
|
export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
|
package/src/models/Provider.js
CHANGED
|
@@ -22,6 +22,8 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
22
|
'defaultChainId': !exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
23
23
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
24
24
|
'termsAcceptedByUser': !exists(json, 'termsAcceptedByUser') ? undefined : ProviderAgreementFromJSON(json['termsAcceptedByUser']),
|
|
25
|
+
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
26
|
+
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
25
27
|
};
|
|
26
28
|
}
|
|
27
29
|
function ProviderToJSON(value) {
|
|
@@ -43,6 +45,8 @@ function ProviderToJSON(value) {
|
|
|
43
45
|
'defaultChainId': value.defaultChainId,
|
|
44
46
|
'keyExportUrl': value.keyExportUrl,
|
|
45
47
|
'termsAcceptedByUser': ProviderAgreementToJSON(value.termsAcceptedByUser),
|
|
48
|
+
'appleKeyId': value.appleKeyId,
|
|
49
|
+
'appleTeamId': value.appleTeamId,
|
|
46
50
|
};
|
|
47
51
|
}
|
|
48
52
|
|
|
@@ -21,6 +21,8 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
'defaultChainId': !runtime.exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
22
22
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
23
23
|
'termsUrl': !runtime.exists(json, 'termsUrl') ? undefined : json['termsUrl'],
|
|
24
|
+
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
25
|
+
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -38,6 +40,8 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
38
40
|
'defaultChainId': value.defaultChainId,
|
|
39
41
|
'keyExportUrl': value.keyExportUrl,
|
|
40
42
|
'termsUrl': value.termsUrl,
|
|
43
|
+
'appleKeyId': value.appleKeyId,
|
|
44
|
+
'appleTeamId': value.appleTeamId,
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
|
|
@@ -23,7 +23,7 @@ export interface ProviderCreateRequest {
|
|
|
23
23
|
*/
|
|
24
24
|
provider: ProviderEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Standard OAuth client ID. For more information, see: https://www.oauth.com/oauth2-servers/client-registration/client-id-secret
|
|
26
|
+
* Standard OAuth client ID. For more information, see: https://www.oauth.com/oauth2-servers/client-registration/client-id-secret/. For Apple, this is also known as the Service ID.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof ProviderCreateRequest
|
|
29
29
|
*/
|
|
@@ -58,6 +58,18 @@ export interface ProviderCreateRequest {
|
|
|
58
58
|
* @memberof ProviderCreateRequest
|
|
59
59
|
*/
|
|
60
60
|
termsUrl?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof ProviderCreateRequest
|
|
65
|
+
*/
|
|
66
|
+
appleKeyId?: string;
|
|
67
|
+
/**
|
|
68
|
+
* Team ID required for Apple Oauth2 applications. This is associated with the Apple developer membership account.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProviderCreateRequest
|
|
71
|
+
*/
|
|
72
|
+
appleTeamId?: string;
|
|
61
73
|
}
|
|
62
74
|
export declare function ProviderCreateRequestFromJSON(json: any): ProviderCreateRequest;
|
|
63
75
|
export declare function ProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCreateRequest;
|
|
@@ -17,6 +17,8 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'defaultChainId': !exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
18
18
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
19
19
|
'termsUrl': !exists(json, 'termsUrl') ? undefined : json['termsUrl'],
|
|
20
|
+
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
21
|
+
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function ProviderCreateRequestToJSON(value) {
|
|
@@ -34,6 +36,8 @@ function ProviderCreateRequestToJSON(value) {
|
|
|
34
36
|
'defaultChainId': value.defaultChainId,
|
|
35
37
|
'keyExportUrl': value.keyExportUrl,
|
|
36
38
|
'termsUrl': value.termsUrl,
|
|
39
|
+
'appleKeyId': value.appleKeyId,
|
|
40
|
+
'appleTeamId': value.appleTeamId,
|
|
37
41
|
};
|
|
38
42
|
}
|
|
39
43
|
|
|
@@ -18,6 +18,8 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
18
|
'providerProjectId': !runtime.exists(json, 'providerProjectId') ? undefined : json['providerProjectId'],
|
|
19
19
|
'defaultChainId': !runtime.exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
20
20
|
'keyExportUrl': !runtime.exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
21
|
+
'appleKeyId': !runtime.exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
22
|
+
'appleTeamId': !runtime.exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
21
23
|
};
|
|
22
24
|
}
|
|
23
25
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -33,6 +35,8 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
33
35
|
'providerProjectId': value.providerProjectId,
|
|
34
36
|
'defaultChainId': value.defaultChainId,
|
|
35
37
|
'keyExportUrl': value.keyExportUrl,
|
|
38
|
+
'appleKeyId': value.appleKeyId,
|
|
39
|
+
'appleTeamId': value.appleTeamId,
|
|
36
40
|
};
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -45,6 +45,18 @@ export interface ProviderUpdateRequest {
|
|
|
45
45
|
* @memberof ProviderUpdateRequest
|
|
46
46
|
*/
|
|
47
47
|
keyExportUrl?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Key ID required for Apple Oauth2 applications. This is the identifier for a private key.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProviderUpdateRequest
|
|
52
|
+
*/
|
|
53
|
+
appleKeyId?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Team ID required for Apple Oauth2 applications. This is associated with the Apple developer membership account.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof ProviderUpdateRequest
|
|
58
|
+
*/
|
|
59
|
+
appleTeamId?: string;
|
|
48
60
|
}
|
|
49
61
|
export declare function ProviderUpdateRequestFromJSON(json: any): ProviderUpdateRequest;
|
|
50
62
|
export declare function ProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUpdateRequest;
|
|
@@ -14,6 +14,8 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
'providerProjectId': !exists(json, 'providerProjectId') ? undefined : json['providerProjectId'],
|
|
15
15
|
'defaultChainId': !exists(json, 'defaultChainId') ? undefined : json['defaultChainId'],
|
|
16
16
|
'keyExportUrl': !exists(json, 'keyExportUrl') ? undefined : json['keyExportUrl'],
|
|
17
|
+
'appleKeyId': !exists(json, 'appleKeyId') ? undefined : json['appleKeyId'],
|
|
18
|
+
'appleTeamId': !exists(json, 'appleTeamId') ? undefined : json['appleTeamId'],
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
function ProviderUpdateRequestToJSON(value) {
|
|
@@ -29,6 +31,8 @@ function ProviderUpdateRequestToJSON(value) {
|
|
|
29
31
|
'providerProjectId': value.providerProjectId,
|
|
30
32
|
'defaultChainId': value.defaultChainId,
|
|
31
33
|
'keyExportUrl': value.keyExportUrl,
|
|
34
|
+
'appleKeyId': value.appleKeyId,
|
|
35
|
+
'appleTeamId': value.appleTeamId,
|
|
32
36
|
};
|
|
33
37
|
}
|
|
34
38
|
|