@wix/auto_sdk_connectors_connectors 1.0.7 → 1.0.9

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.
@@ -38,7 +38,8 @@ interface Connector extends ConnectorRegistrationOneOf {
38
38
  */
39
39
  connectorSlug?: string;
40
40
  /**
41
- * Wix user who consented to this private Connector. Required when exposure is USER.
41
+ * Always set: the Wix user who consented. CreateConnector refuses a request without one, so every
42
+ * new Connector carries it; read paths still accept a stored row without it.
42
43
  * @internal
43
44
  * @format GUID
44
45
  * @immutable
@@ -381,8 +382,8 @@ interface StartConnectRequest extends StartConnectRequestOwnerOneOf {
381
382
  componentId?: string;
382
383
  /**
383
384
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
384
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
385
- * Connector's consenting_user_id and the connection is then visible only to that user.
385
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
386
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
386
387
  */
387
388
  exposure?: ExposureWithLiterals;
388
389
  /**
@@ -617,7 +618,7 @@ interface AccountInfo {
617
618
  * to their consenting user or to a server-signed app authorized by get_connector; ACCOUNT
618
619
  * Connectors are visible to authorized account callers.
619
620
  * @param connectorId - ID of the Connector to retrieve.
620
- * @internal
621
+ * @public
621
622
  * @documentationMaturity preview
622
623
  * @requiredField connectorId
623
624
  * @permissionId connectors:v1:connector:get_connector
@@ -632,7 +633,7 @@ declare function getConnector(connectorId: string): Promise<NonNullablePaths<Con
632
633
  * account or site bindings may still depend on it. Reclaiming an unreferenced access key is the
633
634
  * access key owner's job, not this method's.
634
635
  * @param connectorId - ID of the Connector to move to the trash bin.
635
- * @internal
636
+ * @public
636
637
  * @documentationMaturity preview
637
638
  * @requiredField connectorId
638
639
  * @permissionId connectors:v1:connector:delete_connector
@@ -839,8 +840,8 @@ interface StartConnectOptions extends StartConnectOptionsOwnerOneOf {
839
840
  componentId?: string;
840
841
  /**
841
842
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
842
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
843
- * Connector's consenting_user_id and the connection is then visible only to that user.
843
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
844
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
844
845
  */
845
846
  exposure?: ExposureWithLiterals;
846
847
  /**
@@ -38,7 +38,8 @@ interface Connector extends ConnectorRegistrationOneOf {
38
38
  */
39
39
  connectorSlug?: string;
40
40
  /**
41
- * Wix user who consented to this private Connector. Required when exposure is USER.
41
+ * Always set: the Wix user who consented. CreateConnector refuses a request without one, so every
42
+ * new Connector carries it; read paths still accept a stored row without it.
42
43
  * @internal
43
44
  * @format GUID
44
45
  * @immutable
@@ -381,8 +382,8 @@ interface StartConnectRequest extends StartConnectRequestOwnerOneOf {
381
382
  componentId?: string;
382
383
  /**
383
384
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
384
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
385
- * Connector's consenting_user_id and the connection is then visible only to that user.
385
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
386
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
386
387
  */
387
388
  exposure?: ExposureWithLiterals;
388
389
  /**
@@ -2,7 +2,6 @@ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@
2
2
  import { Connector, StartConnectOptions, StartConnectResponse, ConnectorsQueryBuilder, ConnectorQuery, typedQueryConnectors } from './index.typings.mjs';
3
3
  export { AccountInfo, ActionEvent, CommonQueryWithEntityContext, Completed, ConnectorQuerySpec, ConnectorRegistrationOneOf, ConnectorsQueryResult, CreateConnectorRequest, CreateConnectorResponse, CredentialState, CredentialStateWithLiterals, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteConnectorRequest, DeleteConnectorResponse, DomainEvent, DomainEventBodyOneOf, DynamicRegistration, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Exposure, ExposureWithLiterals, GetConnectorRequest, GetConnectorResponse, GrantedScopes, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, PredefinedRegistration, QueryConnectorsRequest, QueryConnectorsResponse, Redirect, RegistrationType, RegistrationTypeWithLiterals, RestoreInfo, ScopeReportingState, ScopeReportingStateWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, StartConnectOptionsOwnerOneOf, StartConnectRequest, StartConnectRequestOwnerOneOf, StartConnectRequestRegistrationType, StartConnectRequestRegistrationTypeWithLiterals, StartConnectResponseNextActionOneOf, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.mjs';
4
4
 
5
- /** @internal */
6
5
  declare function getConnector$1(httpClient: HttpClient): GetConnectorSignature;
7
6
  interface GetConnectorSignature {
8
7
  /**
@@ -14,7 +13,6 @@ interface GetConnectorSignature {
14
13
  */
15
14
  (connectorId: string): Promise<NonNullablePaths<Connector, `predefinedRegistration.appId` | `predefinedRegistration.componentId` | `dynamicRegistration.registrationId` | `connectorSlug` | `exposure` | `credentialState` | `appId` | `componentId` | `registrationType` | `externalIdentityLabel`, 1>>;
16
15
  }
17
- /** @internal */
18
16
  declare function deleteConnector$1(httpClient: HttpClient): DeleteConnectorSignature;
19
17
  interface DeleteConnectorSignature {
20
18
  /**
@@ -44,9 +42,7 @@ declare function customQueryConnectors(httpClient: HttpClient): {
44
42
  (): ConnectorsQueryBuilder;
45
43
  (query: ConnectorQuery): ReturnType<typeof typedQueryConnectors>;
46
44
  };
47
- /** @internal */
48
45
  declare const getConnector: MaybeContext<BuildRESTFunction<typeof getConnector$1> & typeof getConnector$1>;
49
- /** @internal */
50
46
  declare const deleteConnector: MaybeContext<BuildRESTFunction<typeof deleteConnector$1> & typeof deleteConnector$1>;
51
47
  declare const startConnect: MaybeContext<BuildRESTFunction<typeof startConnect$1> & typeof startConnect$1>;
52
48
  declare const queryConnectors: MaybeContext<BuildRESTFunction<typeof customQueryConnectors> & typeof customQueryConnectors>;
@@ -38,7 +38,8 @@ interface Connector extends ConnectorRegistrationOneOf {
38
38
  */
39
39
  connectorSlug?: string;
40
40
  /**
41
- * Wix user who consented to this private Connector. Required when exposure is USER.
41
+ * Always set: the Wix user who consented. CreateConnector refuses a request without one, so every
42
+ * new Connector carries it; read paths still accept a stored row without it.
42
43
  * @internal
43
44
  * @format GUID
44
45
  * @immutable
@@ -381,8 +382,8 @@ interface StartConnectRequest extends StartConnectRequestOwnerOneOf {
381
382
  componentId?: string;
382
383
  /**
383
384
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
384
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
385
- * Connector's consenting_user_id and the connection is then visible only to that user.
385
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
386
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
386
387
  */
387
388
  exposure?: ExposureWithLiterals;
388
389
  /**
@@ -617,7 +618,7 @@ interface AccountInfo {
617
618
  * to their consenting user or to a server-signed app authorized by get_connector; ACCOUNT
618
619
  * Connectors are visible to authorized account callers.
619
620
  * @param connectorId - ID of the Connector to retrieve.
620
- * @internal
621
+ * @public
621
622
  * @documentationMaturity preview
622
623
  * @requiredField connectorId
623
624
  * @permissionId connectors:v1:connector:get_connector
@@ -632,7 +633,7 @@ declare function getConnector(connectorId: string): Promise<NonNullablePaths<Con
632
633
  * account or site bindings may still depend on it. Reclaiming an unreferenced access key is the
633
634
  * access key owner's job, not this method's.
634
635
  * @param connectorId - ID of the Connector to move to the trash bin.
635
- * @internal
636
+ * @public
636
637
  * @documentationMaturity preview
637
638
  * @requiredField connectorId
638
639
  * @permissionId connectors:v1:connector:delete_connector
@@ -839,8 +840,8 @@ interface StartConnectOptions extends StartConnectOptionsOwnerOneOf {
839
840
  componentId?: string;
840
841
  /**
841
842
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
842
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
843
- * Connector's consenting_user_id and the connection is then visible only to that user.
843
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
844
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
844
845
  */
845
846
  exposure?: ExposureWithLiterals;
846
847
  /**
@@ -38,7 +38,8 @@ interface Connector extends ConnectorRegistrationOneOf {
38
38
  */
39
39
  connectorSlug?: string;
40
40
  /**
41
- * Wix user who consented to this private Connector. Required when exposure is USER.
41
+ * Always set: the Wix user who consented. CreateConnector refuses a request without one, so every
42
+ * new Connector carries it; read paths still accept a stored row without it.
42
43
  * @internal
43
44
  * @format GUID
44
45
  * @immutable
@@ -381,8 +382,8 @@ interface StartConnectRequest extends StartConnectRequestOwnerOneOf {
381
382
  componentId?: string;
382
383
  /**
383
384
  * Requested exposure of the Connector this connect will produce. UNKNOWN_EXPOSURE is treated as
384
- * ACCOUNT. USER requires an initiating Wix user identity on the call — its id is recorded as the
385
- * Connector's consenting_user_id and the connection is then visible only to that user.
385
+ * ACCOUNT. Every connect requires an initiating Wix user identity on the call, and its id is recorded
386
+ * as the Connector's consenting_user_id. USER also makes the connection visible only to that user.
386
387
  */
387
388
  exposure?: ExposureWithLiterals;
388
389
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_connectors_connectors",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",
@@ -50,5 +50,5 @@
50
50
  "fqdn": "wix.connectors.v1.connector"
51
51
  }
52
52
  },
53
- "falconPackageHash": "386efae2374e4453b01b973fe7d8b08af46e4bde6f67c571c1285fd7"
53
+ "falconPackageHash": "396f2ff7555fb333e7cc28a87e4a9f945368f1e9039d23eafb4814fc"
54
54
  }