@wix/auth-management 1.0.28 → 1.0.30
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": "@wix/auth-management",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"type-bundles"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@wix/auth-management_o-auth-apps": "1.0.
|
|
21
|
+
"@wix/auth-management_o-auth-apps": "1.0.16"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@wix/sdk": "https://cdn.dev.wixpress.com/@wix/sdk/02e8069ab2fd783e0e6a080fc7d590e76cb26ab93c8389574286305b.tar.gz",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"fqdn": ""
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
-
"falconPackageHash": "
|
|
46
|
+
"falconPackageHash": "cebfec94f9a8ba1a4ede437095a558d04791801f5c640950ca1fc803"
|
|
47
47
|
}
|
|
@@ -44,6 +44,42 @@ interface OAuthApp {
|
|
|
44
44
|
allowSecretGeneration?: boolean | null;
|
|
45
45
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
46
46
|
logoutUrl?: string | null;
|
|
47
|
+
/** OAuth application type. */
|
|
48
|
+
applicationType?: OAuthAppType;
|
|
49
|
+
/** OAuth technology used by the oauth application. */
|
|
50
|
+
technology?: OAuthTechnologies;
|
|
51
|
+
}
|
|
52
|
+
/** OAuth application type. */
|
|
53
|
+
declare enum OAuthAppType {
|
|
54
|
+
/** OAuth app type is not specified. */
|
|
55
|
+
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
56
|
+
/** OAuth app type is a web application. */
|
|
57
|
+
WEB_APP = "WEB_APP",
|
|
58
|
+
/** OAuth app type is a mobile application. */
|
|
59
|
+
MOBILE = "MOBILE",
|
|
60
|
+
/** OAuth app type is some other type of application. */
|
|
61
|
+
OTHER = "OTHER"
|
|
62
|
+
}
|
|
63
|
+
/** OAuth technology used by the oauth application. */
|
|
64
|
+
declare enum OAuthTechnologies {
|
|
65
|
+
/** The OAuth technology is not specified. */
|
|
66
|
+
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
67
|
+
/** OAuth technology using JavaScript. */
|
|
68
|
+
JAVASCRIPT = "JAVASCRIPT",
|
|
69
|
+
/** OAuth technology using Angular. */
|
|
70
|
+
ANGULAR = "ANGULAR",
|
|
71
|
+
/** OAuth technology using Vue.js. */
|
|
72
|
+
VUE = "VUE",
|
|
73
|
+
/** OAuth technology using React. */
|
|
74
|
+
REACT = "REACT",
|
|
75
|
+
/** OAuth technology using React Native. */
|
|
76
|
+
REACT_NATIVE = "REACT_NATIVE",
|
|
77
|
+
/** OAuth technology using iOS. */
|
|
78
|
+
IOS = "IOS",
|
|
79
|
+
/** OAuth technology using Android. */
|
|
80
|
+
ANDROID = "ANDROID",
|
|
81
|
+
/** OAuth technology using some other kind of technology. */
|
|
82
|
+
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
47
83
|
}
|
|
48
84
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
49
85
|
/** ID of a site visitor that has not logged in to the site. */
|
|
@@ -177,6 +213,10 @@ interface UpdateOAuthApp {
|
|
|
177
213
|
allowSecretGeneration?: boolean | null;
|
|
178
214
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
179
215
|
logoutUrl?: string | null;
|
|
216
|
+
/** OAuth application type. */
|
|
217
|
+
applicationType?: OAuthAppType;
|
|
218
|
+
/** OAuth technology used by the oauth application. */
|
|
219
|
+
technology?: OAuthTechnologies;
|
|
180
220
|
}
|
|
181
221
|
interface QueryOffsetResult {
|
|
182
222
|
currentPage: number | undefined;
|
|
@@ -257,14 +297,20 @@ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: Ev
|
|
|
257
297
|
declare function createOAuthApp$1(httpClient: HttpClient): (oAuthApp: OAuthApp) => Promise<OAuthApp & {
|
|
258
298
|
allowedRedirectUris: string[];
|
|
259
299
|
allowedRedirectDomains: string[];
|
|
300
|
+
applicationType: OAuthAppType;
|
|
301
|
+
technology: OAuthTechnologies;
|
|
260
302
|
}>;
|
|
261
303
|
declare function getOAuthApp$1(httpClient: HttpClient): (oAuthAppId: string) => Promise<OAuthApp & {
|
|
262
304
|
allowedRedirectUris: string[];
|
|
263
305
|
allowedRedirectDomains: string[];
|
|
306
|
+
applicationType: OAuthAppType;
|
|
307
|
+
technology: OAuthTechnologies;
|
|
264
308
|
}>;
|
|
265
309
|
declare function updateOAuthApp$1(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp) => Promise<OAuthApp & {
|
|
266
310
|
allowedRedirectUris: string[];
|
|
267
311
|
allowedRedirectDomains: string[];
|
|
312
|
+
applicationType: OAuthAppType;
|
|
313
|
+
technology: OAuthTechnologies;
|
|
268
314
|
}>;
|
|
269
315
|
declare function queryOAuthApps$1(httpClient: HttpClient): () => OAuthAppsQueryBuilder;
|
|
270
316
|
declare const onOAuthAppCreated$1: EventDefinition<OAuthAppCreatedEnvelope, "wix.headless.v1.o_auth_app_created">;
|
|
@@ -44,6 +44,42 @@ interface OAuthApp {
|
|
|
44
44
|
allowSecretGeneration?: boolean | null;
|
|
45
45
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
46
46
|
logoutUrl?: string | null;
|
|
47
|
+
/** OAuth application type. */
|
|
48
|
+
applicationType?: OAuthAppType;
|
|
49
|
+
/** OAuth technology used by the oauth application. */
|
|
50
|
+
technology?: OAuthTechnologies;
|
|
51
|
+
}
|
|
52
|
+
/** OAuth application type. */
|
|
53
|
+
declare enum OAuthAppType {
|
|
54
|
+
/** OAuth app type is not specified. */
|
|
55
|
+
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
56
|
+
/** OAuth app type is a web application. */
|
|
57
|
+
WEB_APP = "WEB_APP",
|
|
58
|
+
/** OAuth app type is a mobile application. */
|
|
59
|
+
MOBILE = "MOBILE",
|
|
60
|
+
/** OAuth app type is some other type of application. */
|
|
61
|
+
OTHER = "OTHER"
|
|
62
|
+
}
|
|
63
|
+
/** OAuth technology used by the oauth application. */
|
|
64
|
+
declare enum OAuthTechnologies {
|
|
65
|
+
/** The OAuth technology is not specified. */
|
|
66
|
+
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
67
|
+
/** OAuth technology using JavaScript. */
|
|
68
|
+
JAVASCRIPT = "JAVASCRIPT",
|
|
69
|
+
/** OAuth technology using Angular. */
|
|
70
|
+
ANGULAR = "ANGULAR",
|
|
71
|
+
/** OAuth technology using Vue.js. */
|
|
72
|
+
VUE = "VUE",
|
|
73
|
+
/** OAuth technology using React. */
|
|
74
|
+
REACT = "REACT",
|
|
75
|
+
/** OAuth technology using React Native. */
|
|
76
|
+
REACT_NATIVE = "REACT_NATIVE",
|
|
77
|
+
/** OAuth technology using iOS. */
|
|
78
|
+
IOS = "IOS",
|
|
79
|
+
/** OAuth technology using Android. */
|
|
80
|
+
ANDROID = "ANDROID",
|
|
81
|
+
/** OAuth technology using some other kind of technology. */
|
|
82
|
+
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
47
83
|
}
|
|
48
84
|
interface CreateOAuthAppRequest {
|
|
49
85
|
/** OAuth app to create. */
|
|
@@ -547,24 +583,32 @@ interface CreateOAuthAppResponseNonNullableFields {
|
|
|
547
583
|
oAuthApp?: {
|
|
548
584
|
allowedRedirectUris: string[];
|
|
549
585
|
allowedRedirectDomains: string[];
|
|
586
|
+
applicationType: OAuthAppType;
|
|
587
|
+
technology: OAuthTechnologies;
|
|
550
588
|
};
|
|
551
589
|
}
|
|
552
590
|
interface GetOAuthAppResponseNonNullableFields {
|
|
553
591
|
oAuthApp?: {
|
|
554
592
|
allowedRedirectUris: string[];
|
|
555
593
|
allowedRedirectDomains: string[];
|
|
594
|
+
applicationType: OAuthAppType;
|
|
595
|
+
technology: OAuthTechnologies;
|
|
556
596
|
};
|
|
557
597
|
}
|
|
558
598
|
interface UpdateOAuthAppResponseNonNullableFields {
|
|
559
599
|
oAuthApp?: {
|
|
560
600
|
allowedRedirectUris: string[];
|
|
561
601
|
allowedRedirectDomains: string[];
|
|
602
|
+
applicationType: OAuthAppType;
|
|
603
|
+
technology: OAuthTechnologies;
|
|
562
604
|
};
|
|
563
605
|
}
|
|
564
606
|
interface QueryOAuthAppsResponseNonNullableFields {
|
|
565
607
|
oAuthApps: {
|
|
566
608
|
allowedRedirectUris: string[];
|
|
567
609
|
allowedRedirectDomains: string[];
|
|
610
|
+
applicationType: OAuthAppType;
|
|
611
|
+
technology: OAuthTechnologies;
|
|
568
612
|
}[];
|
|
569
613
|
}
|
|
570
614
|
interface BaseEventMetadata {
|
|
@@ -669,6 +713,10 @@ interface UpdateOAuthApp {
|
|
|
669
713
|
allowSecretGeneration?: boolean | null;
|
|
670
714
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
671
715
|
logoutUrl?: string | null;
|
|
716
|
+
/** OAuth application type. */
|
|
717
|
+
applicationType?: OAuthAppType;
|
|
718
|
+
/** OAuth technology used by the oauth application. */
|
|
719
|
+
technology?: OAuthTechnologies;
|
|
672
720
|
}
|
|
673
721
|
interface QueryOffsetResult {
|
|
674
722
|
currentPage: number | undefined;
|
|
@@ -748,14 +796,20 @@ declare const __metadata: {
|
|
|
748
796
|
declare function createOAuthApp(httpClient: HttpClient): (oAuthApp: OAuthApp) => Promise<OAuthApp & {
|
|
749
797
|
allowedRedirectUris: string[];
|
|
750
798
|
allowedRedirectDomains: string[];
|
|
799
|
+
applicationType: OAuthAppType;
|
|
800
|
+
technology: OAuthTechnologies;
|
|
751
801
|
}>;
|
|
752
802
|
declare function getOAuthApp(httpClient: HttpClient): (oAuthAppId: string) => Promise<OAuthApp & {
|
|
753
803
|
allowedRedirectUris: string[];
|
|
754
804
|
allowedRedirectDomains: string[];
|
|
805
|
+
applicationType: OAuthAppType;
|
|
806
|
+
technology: OAuthTechnologies;
|
|
755
807
|
}>;
|
|
756
808
|
declare function updateOAuthApp(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp) => Promise<OAuthApp & {
|
|
757
809
|
allowedRedirectUris: string[];
|
|
758
810
|
allowedRedirectDomains: string[];
|
|
811
|
+
applicationType: OAuthAppType;
|
|
812
|
+
technology: OAuthTechnologies;
|
|
759
813
|
}>;
|
|
760
814
|
declare function queryOAuthApps(httpClient: HttpClient): () => OAuthAppsQueryBuilder;
|
|
761
815
|
declare const onOAuthAppCreated: EventDefinition<OAuthAppCreatedEnvelope, "wix.headless.v1.o_auth_app_created">;
|
|
@@ -798,9 +852,13 @@ type index_d_NamespaceChanged = NamespaceChanged;
|
|
|
798
852
|
type index_d_OAuthApp = OAuthApp;
|
|
799
853
|
type index_d_OAuthAppCreatedEnvelope = OAuthAppCreatedEnvelope;
|
|
800
854
|
type index_d_OAuthAppDeletedEnvelope = OAuthAppDeletedEnvelope;
|
|
855
|
+
type index_d_OAuthAppType = OAuthAppType;
|
|
856
|
+
declare const index_d_OAuthAppType: typeof OAuthAppType;
|
|
801
857
|
type index_d_OAuthAppUpdatedEnvelope = OAuthAppUpdatedEnvelope;
|
|
802
858
|
type index_d_OAuthAppsQueryBuilder = OAuthAppsQueryBuilder;
|
|
803
859
|
type index_d_OAuthAppsQueryResult = OAuthAppsQueryResult;
|
|
860
|
+
type index_d_OAuthTechnologies = OAuthTechnologies;
|
|
861
|
+
declare const index_d_OAuthTechnologies: typeof OAuthTechnologies;
|
|
804
862
|
type index_d_Paging = Paging;
|
|
805
863
|
type index_d_PagingMetadataV2 = PagingMetadataV2;
|
|
806
864
|
type index_d_PlatformQuery = PlatformQuery;
|
|
@@ -844,7 +902,7 @@ declare const index_d_onOAuthAppUpdated: typeof onOAuthAppUpdated;
|
|
|
844
902
|
declare const index_d_queryOAuthApps: typeof queryOAuthApps;
|
|
845
903
|
declare const index_d_updateOAuthApp: typeof updateOAuthApp;
|
|
846
904
|
declare namespace index_d {
|
|
847
|
-
export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateOAuthAppRequest as CreateOAuthAppRequest, type index_d_CreateOAuthAppResponse as CreateOAuthAppResponse, type index_d_CreateOAuthAppResponseNonNullableFields as CreateOAuthAppResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteContext as DeleteContext, type index_d_DeleteOAuthAppRequest as DeleteOAuthAppRequest, type index_d_DeleteOAuthAppResponse as DeleteOAuthAppResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GenerateOAuthAppSecretRequest as GenerateOAuthAppSecretRequest, type index_d_GenerateOAuthAppSecretResponse as GenerateOAuthAppSecretResponse, type index_d_GetOAuthAppRequest as GetOAuthAppRequest, type index_d_GetOAuthAppResponse as GetOAuthAppResponse, type index_d_GetOAuthAppResponseNonNullableFields as GetOAuthAppResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_OAuthApp as OAuthApp, type index_d_OAuthAppCreatedEnvelope as OAuthAppCreatedEnvelope, type index_d_OAuthAppDeletedEnvelope as OAuthAppDeletedEnvelope, type index_d_OAuthAppUpdatedEnvelope as OAuthAppUpdatedEnvelope, type index_d_OAuthAppsQueryBuilder as OAuthAppsQueryBuilder, type index_d_OAuthAppsQueryResult as OAuthAppsQueryResult, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_PlatformQuery as PlatformQuery, type index_d_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d_QueryOAuthAppsRequest as QueryOAuthAppsRequest, type index_d_QueryOAuthAppsResponse as QueryOAuthAppsResponse, type index_d_QueryOAuthAppsResponseNonNullableFields as QueryOAuthAppsResponseNonNullableFields, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_UpdateOAuthApp as UpdateOAuthApp, type index_d_UpdateOAuthAppRequest as UpdateOAuthAppRequest, type index_d_UpdateOAuthAppResponse as UpdateOAuthAppResponse, type index_d_UpdateOAuthAppResponseNonNullableFields as UpdateOAuthAppResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_createOAuthApp as createOAuthApp, index_d_getOAuthApp as getOAuthApp, index_d_onOAuthAppCreated as onOAuthAppCreated, index_d_onOAuthAppDeleted as onOAuthAppDeleted, index_d_onOAuthAppUpdated as onOAuthAppUpdated, index_d_queryOAuthApps as queryOAuthApps, index_d_updateOAuthApp as updateOAuthApp };
|
|
905
|
+
export { type index_d_ActionEvent as ActionEvent, type index_d_Asset as Asset, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_CreateOAuthAppRequest as CreateOAuthAppRequest, type index_d_CreateOAuthAppResponse as CreateOAuthAppResponse, type index_d_CreateOAuthAppResponseNonNullableFields as CreateOAuthAppResponseNonNullableFields, type index_d_CursorPaging as CursorPaging, type index_d_Cursors as Cursors, type index_d_DeleteContext as DeleteContext, type index_d_DeleteOAuthAppRequest as DeleteOAuthAppRequest, type index_d_DeleteOAuthAppResponse as DeleteOAuthAppResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_GenerateOAuthAppSecretRequest as GenerateOAuthAppSecretRequest, type index_d_GenerateOAuthAppSecretResponse as GenerateOAuthAppSecretResponse, type index_d_GetOAuthAppRequest as GetOAuthAppRequest, type index_d_GetOAuthAppResponse as GetOAuthAppResponse, type index_d_GetOAuthAppResponseNonNullableFields as GetOAuthAppResponseNonNullableFields, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, type index_d_OAuthApp as OAuthApp, type index_d_OAuthAppCreatedEnvelope as OAuthAppCreatedEnvelope, type index_d_OAuthAppDeletedEnvelope as OAuthAppDeletedEnvelope, index_d_OAuthAppType as OAuthAppType, type index_d_OAuthAppUpdatedEnvelope as OAuthAppUpdatedEnvelope, type index_d_OAuthAppsQueryBuilder as OAuthAppsQueryBuilder, type index_d_OAuthAppsQueryResult as OAuthAppsQueryResult, index_d_OAuthTechnologies as OAuthTechnologies, type index_d_Paging as Paging, type index_d_PagingMetadataV2 as PagingMetadataV2, type index_d_PlatformQuery as PlatformQuery, type index_d_PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOf, type index_d_QueryOAuthAppsRequest as QueryOAuthAppsRequest, type index_d_QueryOAuthAppsResponse as QueryOAuthAppsResponse, type index_d_QueryOAuthAppsResponseNonNullableFields as QueryOAuthAppsResponseNonNullableFields, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, type index_d_UpdateOAuthApp as UpdateOAuthApp, type index_d_UpdateOAuthAppRequest as UpdateOAuthAppRequest, type index_d_UpdateOAuthAppResponse as UpdateOAuthAppResponse, type index_d_UpdateOAuthAppResponseNonNullableFields as UpdateOAuthAppResponseNonNullableFields, index_d_WebhookIdentityType as WebhookIdentityType, index_d___metadata as __metadata, index_d_createOAuthApp as createOAuthApp, index_d_getOAuthApp as getOAuthApp, index_d_onOAuthAppCreated as onOAuthAppCreated, index_d_onOAuthAppDeleted as onOAuthAppDeleted, index_d_onOAuthAppUpdated as onOAuthAppUpdated, index_d_queryOAuthApps as queryOAuthApps, index_d_updateOAuthApp as updateOAuthApp };
|
|
848
906
|
}
|
|
849
907
|
|
|
850
908
|
export { index_d as oAuthApps };
|
|
@@ -44,6 +44,42 @@ interface OAuthApp$1 {
|
|
|
44
44
|
allowSecretGeneration?: boolean | null;
|
|
45
45
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
46
46
|
logoutUrl?: string | null;
|
|
47
|
+
/** OAuth application type. */
|
|
48
|
+
applicationType?: OAuthAppType$1;
|
|
49
|
+
/** OAuth technology used by the oauth application. */
|
|
50
|
+
technology?: OAuthTechnologies$1;
|
|
51
|
+
}
|
|
52
|
+
/** OAuth application type. */
|
|
53
|
+
declare enum OAuthAppType$1 {
|
|
54
|
+
/** OAuth app type is not specified. */
|
|
55
|
+
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
56
|
+
/** OAuth app type is a web application. */
|
|
57
|
+
WEB_APP = "WEB_APP",
|
|
58
|
+
/** OAuth app type is a mobile application. */
|
|
59
|
+
MOBILE = "MOBILE",
|
|
60
|
+
/** OAuth app type is some other type of application. */
|
|
61
|
+
OTHER = "OTHER"
|
|
62
|
+
}
|
|
63
|
+
/** OAuth technology used by the oauth application. */
|
|
64
|
+
declare enum OAuthTechnologies$1 {
|
|
65
|
+
/** The OAuth technology is not specified. */
|
|
66
|
+
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
67
|
+
/** OAuth technology using JavaScript. */
|
|
68
|
+
JAVASCRIPT = "JAVASCRIPT",
|
|
69
|
+
/** OAuth technology using Angular. */
|
|
70
|
+
ANGULAR = "ANGULAR",
|
|
71
|
+
/** OAuth technology using Vue.js. */
|
|
72
|
+
VUE = "VUE",
|
|
73
|
+
/** OAuth technology using React. */
|
|
74
|
+
REACT = "REACT",
|
|
75
|
+
/** OAuth technology using React Native. */
|
|
76
|
+
REACT_NATIVE = "REACT_NATIVE",
|
|
77
|
+
/** OAuth technology using iOS. */
|
|
78
|
+
IOS = "IOS",
|
|
79
|
+
/** OAuth technology using Android. */
|
|
80
|
+
ANDROID = "ANDROID",
|
|
81
|
+
/** OAuth technology using some other kind of technology. */
|
|
82
|
+
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
47
83
|
}
|
|
48
84
|
interface CreateOAuthAppRequest$1 {
|
|
49
85
|
/** OAuth app to create. */
|
|
@@ -156,6 +192,8 @@ interface CreateOAuthAppResponseNonNullableFields$1 {
|
|
|
156
192
|
allowedDomains: string[];
|
|
157
193
|
allowedRedirectUris: string[];
|
|
158
194
|
allowedRedirectDomains: string[];
|
|
195
|
+
applicationType: OAuthAppType$1;
|
|
196
|
+
technology: OAuthTechnologies$1;
|
|
159
197
|
};
|
|
160
198
|
}
|
|
161
199
|
interface GetOAuthAppResponseNonNullableFields$1 {
|
|
@@ -163,6 +201,8 @@ interface GetOAuthAppResponseNonNullableFields$1 {
|
|
|
163
201
|
allowedDomains: string[];
|
|
164
202
|
allowedRedirectUris: string[];
|
|
165
203
|
allowedRedirectDomains: string[];
|
|
204
|
+
applicationType: OAuthAppType$1;
|
|
205
|
+
technology: OAuthTechnologies$1;
|
|
166
206
|
};
|
|
167
207
|
}
|
|
168
208
|
interface UpdateOAuthAppResponseNonNullableFields$1 {
|
|
@@ -170,6 +210,8 @@ interface UpdateOAuthAppResponseNonNullableFields$1 {
|
|
|
170
210
|
allowedDomains: string[];
|
|
171
211
|
allowedRedirectUris: string[];
|
|
172
212
|
allowedRedirectDomains: string[];
|
|
213
|
+
applicationType: OAuthAppType$1;
|
|
214
|
+
technology: OAuthTechnologies$1;
|
|
173
215
|
};
|
|
174
216
|
}
|
|
175
217
|
interface QueryOAuthAppsResponseNonNullableFields$1 {
|
|
@@ -177,6 +219,8 @@ interface QueryOAuthAppsResponseNonNullableFields$1 {
|
|
|
177
219
|
allowedDomains: string[];
|
|
178
220
|
allowedRedirectUris: string[];
|
|
179
221
|
allowedRedirectDomains: string[];
|
|
222
|
+
applicationType: OAuthAppType$1;
|
|
223
|
+
technology: OAuthTechnologies$1;
|
|
180
224
|
}[];
|
|
181
225
|
}
|
|
182
226
|
|
|
@@ -226,6 +270,42 @@ interface OAuthApp {
|
|
|
226
270
|
allowSecretGeneration?: boolean | null;
|
|
227
271
|
/** External logout URL to which we invoke when user logout at wix. If no logout URL is specified, the user is logged out only at Wix. */
|
|
228
272
|
logoutUrl?: string | null;
|
|
273
|
+
/** OAuth application type. */
|
|
274
|
+
applicationType?: OAuthAppType;
|
|
275
|
+
/** OAuth technology used by the oauth application. */
|
|
276
|
+
technology?: OAuthTechnologies;
|
|
277
|
+
}
|
|
278
|
+
/** OAuth application type. */
|
|
279
|
+
declare enum OAuthAppType {
|
|
280
|
+
/** OAuth app type is not specified. */
|
|
281
|
+
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
282
|
+
/** OAuth app type is a web application. */
|
|
283
|
+
WEB_APP = "WEB_APP",
|
|
284
|
+
/** OAuth app type is a mobile application. */
|
|
285
|
+
MOBILE = "MOBILE",
|
|
286
|
+
/** OAuth app type is some other type of application. */
|
|
287
|
+
OTHER = "OTHER"
|
|
288
|
+
}
|
|
289
|
+
/** OAuth technology used by the oauth application. */
|
|
290
|
+
declare enum OAuthTechnologies {
|
|
291
|
+
/** The OAuth technology is not specified. */
|
|
292
|
+
OAUTH_TECHNOLOGY_UNSPECIFIED = "OAUTH_TECHNOLOGY_UNSPECIFIED",
|
|
293
|
+
/** OAuth technology using JavaScript. */
|
|
294
|
+
JAVASCRIPT = "JAVASCRIPT",
|
|
295
|
+
/** OAuth technology using Angular. */
|
|
296
|
+
ANGULAR = "ANGULAR",
|
|
297
|
+
/** OAuth technology using Vue.js. */
|
|
298
|
+
VUE = "VUE",
|
|
299
|
+
/** OAuth technology using React. */
|
|
300
|
+
REACT = "REACT",
|
|
301
|
+
/** OAuth technology using React Native. */
|
|
302
|
+
REACT_NATIVE = "REACT_NATIVE",
|
|
303
|
+
/** OAuth technology using iOS. */
|
|
304
|
+
IOS = "IOS",
|
|
305
|
+
/** OAuth technology using Android. */
|
|
306
|
+
ANDROID = "ANDROID",
|
|
307
|
+
/** OAuth technology using some other kind of technology. */
|
|
308
|
+
OTHER_TECHNOLOGY = "OTHER_TECHNOLOGY"
|
|
229
309
|
}
|
|
230
310
|
interface CreateOAuthAppRequest {
|
|
231
311
|
/** OAuth app to create. */
|
|
@@ -337,24 +417,32 @@ interface CreateOAuthAppResponseNonNullableFields {
|
|
|
337
417
|
oAuthApp?: {
|
|
338
418
|
allowedRedirectUris: string[];
|
|
339
419
|
allowedRedirectDomains: string[];
|
|
420
|
+
applicationType: OAuthAppType;
|
|
421
|
+
technology: OAuthTechnologies;
|
|
340
422
|
};
|
|
341
423
|
}
|
|
342
424
|
interface GetOAuthAppResponseNonNullableFields {
|
|
343
425
|
oAuthApp?: {
|
|
344
426
|
allowedRedirectUris: string[];
|
|
345
427
|
allowedRedirectDomains: string[];
|
|
428
|
+
applicationType: OAuthAppType;
|
|
429
|
+
technology: OAuthTechnologies;
|
|
346
430
|
};
|
|
347
431
|
}
|
|
348
432
|
interface UpdateOAuthAppResponseNonNullableFields {
|
|
349
433
|
oAuthApp?: {
|
|
350
434
|
allowedRedirectUris: string[];
|
|
351
435
|
allowedRedirectDomains: string[];
|
|
436
|
+
applicationType: OAuthAppType;
|
|
437
|
+
technology: OAuthTechnologies;
|
|
352
438
|
};
|
|
353
439
|
}
|
|
354
440
|
interface QueryOAuthAppsResponseNonNullableFields {
|
|
355
441
|
oAuthApps: {
|
|
356
442
|
allowedRedirectUris: string[];
|
|
357
443
|
allowedRedirectDomains: string[];
|
|
444
|
+
applicationType: OAuthAppType;
|
|
445
|
+
technology: OAuthTechnologies;
|
|
358
446
|
}[];
|
|
359
447
|
}
|
|
360
448
|
|