@wix/auth-management 1.0.27 → 1.0.28
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.28",
|
|
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.14"
|
|
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": "7ffa53cb1abc1d8840847ef00d8a105e303b38634e677570b97af67b"
|
|
47
47
|
}
|
|
@@ -44,19 +44,6 @@ 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
|
-
}
|
|
50
|
-
/** OAuth application type. */
|
|
51
|
-
declare enum OAuthAppType {
|
|
52
|
-
/** OAuth app type is not specified. */
|
|
53
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
54
|
-
/** OAuth app type is a web application. */
|
|
55
|
-
WEB_APP = "WEB_APP",
|
|
56
|
-
/** OAuth app type is a mobile application. */
|
|
57
|
-
MOBILE = "MOBILE",
|
|
58
|
-
/** OAuth app type is some other type of application. */
|
|
59
|
-
OTHER = "OTHER"
|
|
60
47
|
}
|
|
61
48
|
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
62
49
|
/** ID of a site visitor that has not logged in to the site. */
|
|
@@ -190,8 +177,6 @@ interface UpdateOAuthApp {
|
|
|
190
177
|
allowSecretGeneration?: boolean | null;
|
|
191
178
|
/** 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. */
|
|
192
179
|
logoutUrl?: string | null;
|
|
193
|
-
/** OAuth application type. */
|
|
194
|
-
applicationType?: OAuthAppType;
|
|
195
180
|
}
|
|
196
181
|
interface QueryOffsetResult {
|
|
197
182
|
currentPage: number | undefined;
|
|
@@ -272,17 +257,14 @@ type BuildEventDefinition<T extends EventDefinition<any, string>> = (handler: Ev
|
|
|
272
257
|
declare function createOAuthApp$1(httpClient: HttpClient): (oAuthApp: OAuthApp) => Promise<OAuthApp & {
|
|
273
258
|
allowedRedirectUris: string[];
|
|
274
259
|
allowedRedirectDomains: string[];
|
|
275
|
-
applicationType: OAuthAppType;
|
|
276
260
|
}>;
|
|
277
261
|
declare function getOAuthApp$1(httpClient: HttpClient): (oAuthAppId: string) => Promise<OAuthApp & {
|
|
278
262
|
allowedRedirectUris: string[];
|
|
279
263
|
allowedRedirectDomains: string[];
|
|
280
|
-
applicationType: OAuthAppType;
|
|
281
264
|
}>;
|
|
282
265
|
declare function updateOAuthApp$1(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp) => Promise<OAuthApp & {
|
|
283
266
|
allowedRedirectUris: string[];
|
|
284
267
|
allowedRedirectDomains: string[];
|
|
285
|
-
applicationType: OAuthAppType;
|
|
286
268
|
}>;
|
|
287
269
|
declare function queryOAuthApps$1(httpClient: HttpClient): () => OAuthAppsQueryBuilder;
|
|
288
270
|
declare const onOAuthAppCreated$1: EventDefinition<OAuthAppCreatedEnvelope, "wix.headless.v1.o_auth_app_created">;
|
|
@@ -44,19 +44,6 @@ 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
|
-
}
|
|
50
|
-
/** OAuth application type. */
|
|
51
|
-
declare enum OAuthAppType {
|
|
52
|
-
/** OAuth app type is not specified. */
|
|
53
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
54
|
-
/** OAuth app type is a web application. */
|
|
55
|
-
WEB_APP = "WEB_APP",
|
|
56
|
-
/** OAuth app type is a mobile application. */
|
|
57
|
-
MOBILE = "MOBILE",
|
|
58
|
-
/** OAuth app type is some other type of application. */
|
|
59
|
-
OTHER = "OTHER"
|
|
60
47
|
}
|
|
61
48
|
interface CreateOAuthAppRequest {
|
|
62
49
|
/** OAuth app to create. */
|
|
@@ -560,28 +547,24 @@ interface CreateOAuthAppResponseNonNullableFields {
|
|
|
560
547
|
oAuthApp?: {
|
|
561
548
|
allowedRedirectUris: string[];
|
|
562
549
|
allowedRedirectDomains: string[];
|
|
563
|
-
applicationType: OAuthAppType;
|
|
564
550
|
};
|
|
565
551
|
}
|
|
566
552
|
interface GetOAuthAppResponseNonNullableFields {
|
|
567
553
|
oAuthApp?: {
|
|
568
554
|
allowedRedirectUris: string[];
|
|
569
555
|
allowedRedirectDomains: string[];
|
|
570
|
-
applicationType: OAuthAppType;
|
|
571
556
|
};
|
|
572
557
|
}
|
|
573
558
|
interface UpdateOAuthAppResponseNonNullableFields {
|
|
574
559
|
oAuthApp?: {
|
|
575
560
|
allowedRedirectUris: string[];
|
|
576
561
|
allowedRedirectDomains: string[];
|
|
577
|
-
applicationType: OAuthAppType;
|
|
578
562
|
};
|
|
579
563
|
}
|
|
580
564
|
interface QueryOAuthAppsResponseNonNullableFields {
|
|
581
565
|
oAuthApps: {
|
|
582
566
|
allowedRedirectUris: string[];
|
|
583
567
|
allowedRedirectDomains: string[];
|
|
584
|
-
applicationType: OAuthAppType;
|
|
585
568
|
}[];
|
|
586
569
|
}
|
|
587
570
|
interface BaseEventMetadata {
|
|
@@ -686,8 +669,6 @@ interface UpdateOAuthApp {
|
|
|
686
669
|
allowSecretGeneration?: boolean | null;
|
|
687
670
|
/** 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. */
|
|
688
671
|
logoutUrl?: string | null;
|
|
689
|
-
/** OAuth application type. */
|
|
690
|
-
applicationType?: OAuthAppType;
|
|
691
672
|
}
|
|
692
673
|
interface QueryOffsetResult {
|
|
693
674
|
currentPage: number | undefined;
|
|
@@ -767,17 +748,14 @@ declare const __metadata: {
|
|
|
767
748
|
declare function createOAuthApp(httpClient: HttpClient): (oAuthApp: OAuthApp) => Promise<OAuthApp & {
|
|
768
749
|
allowedRedirectUris: string[];
|
|
769
750
|
allowedRedirectDomains: string[];
|
|
770
|
-
applicationType: OAuthAppType;
|
|
771
751
|
}>;
|
|
772
752
|
declare function getOAuthApp(httpClient: HttpClient): (oAuthAppId: string) => Promise<OAuthApp & {
|
|
773
753
|
allowedRedirectUris: string[];
|
|
774
754
|
allowedRedirectDomains: string[];
|
|
775
|
-
applicationType: OAuthAppType;
|
|
776
755
|
}>;
|
|
777
756
|
declare function updateOAuthApp(httpClient: HttpClient): (_id: string | null, oAuthApp: UpdateOAuthApp) => Promise<OAuthApp & {
|
|
778
757
|
allowedRedirectUris: string[];
|
|
779
758
|
allowedRedirectDomains: string[];
|
|
780
|
-
applicationType: OAuthAppType;
|
|
781
759
|
}>;
|
|
782
760
|
declare function queryOAuthApps(httpClient: HttpClient): () => OAuthAppsQueryBuilder;
|
|
783
761
|
declare const onOAuthAppCreated: EventDefinition<OAuthAppCreatedEnvelope, "wix.headless.v1.o_auth_app_created">;
|
|
@@ -820,8 +798,6 @@ type index_d_NamespaceChanged = NamespaceChanged;
|
|
|
820
798
|
type index_d_OAuthApp = OAuthApp;
|
|
821
799
|
type index_d_OAuthAppCreatedEnvelope = OAuthAppCreatedEnvelope;
|
|
822
800
|
type index_d_OAuthAppDeletedEnvelope = OAuthAppDeletedEnvelope;
|
|
823
|
-
type index_d_OAuthAppType = OAuthAppType;
|
|
824
|
-
declare const index_d_OAuthAppType: typeof OAuthAppType;
|
|
825
801
|
type index_d_OAuthAppUpdatedEnvelope = OAuthAppUpdatedEnvelope;
|
|
826
802
|
type index_d_OAuthAppsQueryBuilder = OAuthAppsQueryBuilder;
|
|
827
803
|
type index_d_OAuthAppsQueryResult = OAuthAppsQueryResult;
|
|
@@ -868,7 +844,7 @@ declare const index_d_onOAuthAppUpdated: typeof onOAuthAppUpdated;
|
|
|
868
844
|
declare const index_d_queryOAuthApps: typeof queryOAuthApps;
|
|
869
845
|
declare const index_d_updateOAuthApp: typeof updateOAuthApp;
|
|
870
846
|
declare namespace index_d {
|
|
871
|
-
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,
|
|
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 };
|
|
872
848
|
}
|
|
873
849
|
|
|
874
850
|
export { index_d as oAuthApps };
|
|
@@ -44,19 +44,6 @@ 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
|
-
}
|
|
50
|
-
/** OAuth application type. */
|
|
51
|
-
declare enum OAuthAppType$1 {
|
|
52
|
-
/** OAuth app type is not specified. */
|
|
53
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
54
|
-
/** OAuth app type is a web application. */
|
|
55
|
-
WEB_APP = "WEB_APP",
|
|
56
|
-
/** OAuth app type is a mobile application. */
|
|
57
|
-
MOBILE = "MOBILE",
|
|
58
|
-
/** OAuth app type is some other type of application. */
|
|
59
|
-
OTHER = "OTHER"
|
|
60
47
|
}
|
|
61
48
|
interface CreateOAuthAppRequest$1 {
|
|
62
49
|
/** OAuth app to create. */
|
|
@@ -169,7 +156,6 @@ interface CreateOAuthAppResponseNonNullableFields$1 {
|
|
|
169
156
|
allowedDomains: string[];
|
|
170
157
|
allowedRedirectUris: string[];
|
|
171
158
|
allowedRedirectDomains: string[];
|
|
172
|
-
applicationType: OAuthAppType$1;
|
|
173
159
|
};
|
|
174
160
|
}
|
|
175
161
|
interface GetOAuthAppResponseNonNullableFields$1 {
|
|
@@ -177,7 +163,6 @@ interface GetOAuthAppResponseNonNullableFields$1 {
|
|
|
177
163
|
allowedDomains: string[];
|
|
178
164
|
allowedRedirectUris: string[];
|
|
179
165
|
allowedRedirectDomains: string[];
|
|
180
|
-
applicationType: OAuthAppType$1;
|
|
181
166
|
};
|
|
182
167
|
}
|
|
183
168
|
interface UpdateOAuthAppResponseNonNullableFields$1 {
|
|
@@ -185,7 +170,6 @@ interface UpdateOAuthAppResponseNonNullableFields$1 {
|
|
|
185
170
|
allowedDomains: string[];
|
|
186
171
|
allowedRedirectUris: string[];
|
|
187
172
|
allowedRedirectDomains: string[];
|
|
188
|
-
applicationType: OAuthAppType$1;
|
|
189
173
|
};
|
|
190
174
|
}
|
|
191
175
|
interface QueryOAuthAppsResponseNonNullableFields$1 {
|
|
@@ -193,7 +177,6 @@ interface QueryOAuthAppsResponseNonNullableFields$1 {
|
|
|
193
177
|
allowedDomains: string[];
|
|
194
178
|
allowedRedirectUris: string[];
|
|
195
179
|
allowedRedirectDomains: string[];
|
|
196
|
-
applicationType: OAuthAppType$1;
|
|
197
180
|
}[];
|
|
198
181
|
}
|
|
199
182
|
|
|
@@ -243,19 +226,6 @@ interface OAuthApp {
|
|
|
243
226
|
allowSecretGeneration?: boolean | null;
|
|
244
227
|
/** 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. */
|
|
245
228
|
logoutUrl?: string | null;
|
|
246
|
-
/** OAuth application type. */
|
|
247
|
-
applicationType?: OAuthAppType;
|
|
248
|
-
}
|
|
249
|
-
/** OAuth application type. */
|
|
250
|
-
declare enum OAuthAppType {
|
|
251
|
-
/** OAuth app type is not specified. */
|
|
252
|
-
OAUTH_APP_TYPE_UNSPECIFIED = "OAUTH_APP_TYPE_UNSPECIFIED",
|
|
253
|
-
/** OAuth app type is a web application. */
|
|
254
|
-
WEB_APP = "WEB_APP",
|
|
255
|
-
/** OAuth app type is a mobile application. */
|
|
256
|
-
MOBILE = "MOBILE",
|
|
257
|
-
/** OAuth app type is some other type of application. */
|
|
258
|
-
OTHER = "OTHER"
|
|
259
229
|
}
|
|
260
230
|
interface CreateOAuthAppRequest {
|
|
261
231
|
/** OAuth app to create. */
|
|
@@ -367,28 +337,24 @@ interface CreateOAuthAppResponseNonNullableFields {
|
|
|
367
337
|
oAuthApp?: {
|
|
368
338
|
allowedRedirectUris: string[];
|
|
369
339
|
allowedRedirectDomains: string[];
|
|
370
|
-
applicationType: OAuthAppType;
|
|
371
340
|
};
|
|
372
341
|
}
|
|
373
342
|
interface GetOAuthAppResponseNonNullableFields {
|
|
374
343
|
oAuthApp?: {
|
|
375
344
|
allowedRedirectUris: string[];
|
|
376
345
|
allowedRedirectDomains: string[];
|
|
377
|
-
applicationType: OAuthAppType;
|
|
378
346
|
};
|
|
379
347
|
}
|
|
380
348
|
interface UpdateOAuthAppResponseNonNullableFields {
|
|
381
349
|
oAuthApp?: {
|
|
382
350
|
allowedRedirectUris: string[];
|
|
383
351
|
allowedRedirectDomains: string[];
|
|
384
|
-
applicationType: OAuthAppType;
|
|
385
352
|
};
|
|
386
353
|
}
|
|
387
354
|
interface QueryOAuthAppsResponseNonNullableFields {
|
|
388
355
|
oAuthApps: {
|
|
389
356
|
allowedRedirectUris: string[];
|
|
390
357
|
allowedRedirectDomains: string[];
|
|
391
|
-
applicationType: OAuthAppType;
|
|
392
358
|
}[];
|
|
393
359
|
}
|
|
394
360
|
|