@wix/auto_sdk_connectors_connectors 1.0.6 → 1.0.7
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/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -5
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -5
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -28
- package/build/internal/cjs/meta.d.ts +5 -28
- package/build/internal/es/index.typings.d.mts +5 -28
- package/build/internal/es/meta.d.mts +5 -28
- package/package.json +2 -2
|
@@ -37,29 +37,6 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
37
37
|
* @immutable
|
|
38
38
|
*/
|
|
39
39
|
connectorSlug?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The provider-side subject this connection is about, and the value inbound webhook deliveries are
|
|
42
|
-
* attributed by: it must be byte-identical to what a delivery carries at the pointer the connector's
|
|
43
|
-
* WebhookConfig.provider_tenant_id_json_pointer names. Which value that is follows from where
|
|
44
|
-
* OAuthConfig.identity_operation.response_id_json_pointer points, so aim that pointer at whatever the
|
|
45
|
-
* provider's webhooks are about -- usually a workspace, team or installation rather than the individual
|
|
46
|
-
* user who consented. This PII also participates in the account-local uniqueness constraint.
|
|
47
|
-
*
|
|
48
|
-
* For a connector whose WebhookConfig declares verification_source = CONNECTOR_WIDE, a non-empty
|
|
49
|
-
* provider_tenant_id_json_pointer, and unique_callback_path = false, that byte-identity is a hard
|
|
50
|
-
* contract, not advice: connectors-webhooks uses this value as the provider tenant identity when it
|
|
51
|
-
* builds the shared-delivery fan-out route for this connector, so a mismatch means the account's
|
|
52
|
-
* deliveries verify but resolve no route and are refused. Config validation enforces the
|
|
53
|
-
* precondition of that contract: such a connector is rejected unless it also names
|
|
54
|
-
* OAuthConfig.identity_operation.response_id_json_pointer, because a connector that names no
|
|
55
|
-
* identity pointer produces no external id for a delivery to be matched against. The equivalence
|
|
56
|
-
* itself stays unvalidated and remains the responsibility of whoever configures the two pointers:
|
|
57
|
-
* they address different documents -- the provider's identity response and an inbound delivery
|
|
58
|
-
* body -- so only a live delivery can show that they select the same value.
|
|
59
|
-
* @internal
|
|
60
|
-
* @maxLength 200
|
|
61
|
-
*/
|
|
62
|
-
connectorExternalId?: string;
|
|
63
40
|
/**
|
|
64
41
|
* Wix user who consented to this private Connector. Required when exposure is USER.
|
|
65
42
|
* @internal
|
|
@@ -148,12 +125,12 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
148
125
|
* AccessKeyBindingPushed the same way as credential_state and granted_scopes -- see credential_state's
|
|
149
126
|
* comment for the full advisory rule, which applies identically here. A human-readable label from the
|
|
150
127
|
* provider (an org, workspace, or account name) that helps a user recognize which connection this is --
|
|
151
|
-
* NEVER an identity. The identity is
|
|
152
|
-
*
|
|
153
|
-
*
|
|
128
|
+
* NEVER an identity. The provider identity is the shared access key's external_provider_id; this field
|
|
129
|
+
* can lag, be blank, or go stale like every other advisory projection, and must never be used as an
|
|
130
|
+
* authorization input or a dedup key.
|
|
154
131
|
*
|
|
155
|
-
* Deliberately NOT field_exposure = INTERNAL, unlike its
|
|
156
|
-
*
|
|
132
|
+
* Deliberately NOT field_exposure = INTERNAL, unlike its neighbour consenting_user_id -- this field
|
|
133
|
+
* exists specifically so the callers this feature serves can read it.
|
|
157
134
|
* credential_state carries the same explicit choice for the same reason. On a USER-exposed Connector,
|
|
158
135
|
* ConnectorsService additionally omits this field from a read response to any caller other than the
|
|
159
136
|
* consenting user, including a service identity admitted by mayRead's identities.service.nonEmpty
|
|
@@ -37,29 +37,6 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
37
37
|
* @immutable
|
|
38
38
|
*/
|
|
39
39
|
connectorSlug?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The provider-side subject this connection is about, and the value inbound webhook deliveries are
|
|
42
|
-
* attributed by: it must be byte-identical to what a delivery carries at the pointer the connector's
|
|
43
|
-
* WebhookConfig.provider_tenant_id_json_pointer names. Which value that is follows from where
|
|
44
|
-
* OAuthConfig.identity_operation.response_id_json_pointer points, so aim that pointer at whatever the
|
|
45
|
-
* provider's webhooks are about -- usually a workspace, team or installation rather than the individual
|
|
46
|
-
* user who consented. This PII also participates in the account-local uniqueness constraint.
|
|
47
|
-
*
|
|
48
|
-
* For a connector whose WebhookConfig declares verification_source = CONNECTOR_WIDE, a non-empty
|
|
49
|
-
* provider_tenant_id_json_pointer, and unique_callback_path = false, that byte-identity is a hard
|
|
50
|
-
* contract, not advice: connectors-webhooks uses this value as the provider tenant identity when it
|
|
51
|
-
* builds the shared-delivery fan-out route for this connector, so a mismatch means the account's
|
|
52
|
-
* deliveries verify but resolve no route and are refused. Config validation enforces the
|
|
53
|
-
* precondition of that contract: such a connector is rejected unless it also names
|
|
54
|
-
* OAuthConfig.identity_operation.response_id_json_pointer, because a connector that names no
|
|
55
|
-
* identity pointer produces no external id for a delivery to be matched against. The equivalence
|
|
56
|
-
* itself stays unvalidated and remains the responsibility of whoever configures the two pointers:
|
|
57
|
-
* they address different documents -- the provider's identity response and an inbound delivery
|
|
58
|
-
* body -- so only a live delivery can show that they select the same value.
|
|
59
|
-
* @internal
|
|
60
|
-
* @maxLength 200
|
|
61
|
-
*/
|
|
62
|
-
connectorExternalId?: string;
|
|
63
40
|
/**
|
|
64
41
|
* Wix user who consented to this private Connector. Required when exposure is USER.
|
|
65
42
|
* @internal
|
|
@@ -148,12 +125,12 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
148
125
|
* AccessKeyBindingPushed the same way as credential_state and granted_scopes -- see credential_state's
|
|
149
126
|
* comment for the full advisory rule, which applies identically here. A human-readable label from the
|
|
150
127
|
* provider (an org, workspace, or account name) that helps a user recognize which connection this is --
|
|
151
|
-
* NEVER an identity. The identity is
|
|
152
|
-
*
|
|
153
|
-
*
|
|
128
|
+
* NEVER an identity. The provider identity is the shared access key's external_provider_id; this field
|
|
129
|
+
* can lag, be blank, or go stale like every other advisory projection, and must never be used as an
|
|
130
|
+
* authorization input or a dedup key.
|
|
154
131
|
*
|
|
155
|
-
* Deliberately NOT field_exposure = INTERNAL, unlike its
|
|
156
|
-
*
|
|
132
|
+
* Deliberately NOT field_exposure = INTERNAL, unlike its neighbour consenting_user_id -- this field
|
|
133
|
+
* exists specifically so the callers this feature serves can read it.
|
|
157
134
|
* credential_state carries the same explicit choice for the same reason. On a USER-exposed Connector,
|
|
158
135
|
* ConnectorsService additionally omits this field from a read response to any caller other than the
|
|
159
136
|
* consenting user, including a service identity admitted by mayRead's identities.service.nonEmpty
|
|
@@ -37,29 +37,6 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
37
37
|
* @immutable
|
|
38
38
|
*/
|
|
39
39
|
connectorSlug?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The provider-side subject this connection is about, and the value inbound webhook deliveries are
|
|
42
|
-
* attributed by: it must be byte-identical to what a delivery carries at the pointer the connector's
|
|
43
|
-
* WebhookConfig.provider_tenant_id_json_pointer names. Which value that is follows from where
|
|
44
|
-
* OAuthConfig.identity_operation.response_id_json_pointer points, so aim that pointer at whatever the
|
|
45
|
-
* provider's webhooks are about -- usually a workspace, team or installation rather than the individual
|
|
46
|
-
* user who consented. This PII also participates in the account-local uniqueness constraint.
|
|
47
|
-
*
|
|
48
|
-
* For a connector whose WebhookConfig declares verification_source = CONNECTOR_WIDE, a non-empty
|
|
49
|
-
* provider_tenant_id_json_pointer, and unique_callback_path = false, that byte-identity is a hard
|
|
50
|
-
* contract, not advice: connectors-webhooks uses this value as the provider tenant identity when it
|
|
51
|
-
* builds the shared-delivery fan-out route for this connector, so a mismatch means the account's
|
|
52
|
-
* deliveries verify but resolve no route and are refused. Config validation enforces the
|
|
53
|
-
* precondition of that contract: such a connector is rejected unless it also names
|
|
54
|
-
* OAuthConfig.identity_operation.response_id_json_pointer, because a connector that names no
|
|
55
|
-
* identity pointer produces no external id for a delivery to be matched against. The equivalence
|
|
56
|
-
* itself stays unvalidated and remains the responsibility of whoever configures the two pointers:
|
|
57
|
-
* they address different documents -- the provider's identity response and an inbound delivery
|
|
58
|
-
* body -- so only a live delivery can show that they select the same value.
|
|
59
|
-
* @internal
|
|
60
|
-
* @maxLength 200
|
|
61
|
-
*/
|
|
62
|
-
connectorExternalId?: string;
|
|
63
40
|
/**
|
|
64
41
|
* Wix user who consented to this private Connector. Required when exposure is USER.
|
|
65
42
|
* @internal
|
|
@@ -148,12 +125,12 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
148
125
|
* AccessKeyBindingPushed the same way as credential_state and granted_scopes -- see credential_state's
|
|
149
126
|
* comment for the full advisory rule, which applies identically here. A human-readable label from the
|
|
150
127
|
* provider (an org, workspace, or account name) that helps a user recognize which connection this is --
|
|
151
|
-
* NEVER an identity. The identity is
|
|
152
|
-
*
|
|
153
|
-
*
|
|
128
|
+
* NEVER an identity. The provider identity is the shared access key's external_provider_id; this field
|
|
129
|
+
* can lag, be blank, or go stale like every other advisory projection, and must never be used as an
|
|
130
|
+
* authorization input or a dedup key.
|
|
154
131
|
*
|
|
155
|
-
* Deliberately NOT field_exposure = INTERNAL, unlike its
|
|
156
|
-
*
|
|
132
|
+
* Deliberately NOT field_exposure = INTERNAL, unlike its neighbour consenting_user_id -- this field
|
|
133
|
+
* exists specifically so the callers this feature serves can read it.
|
|
157
134
|
* credential_state carries the same explicit choice for the same reason. On a USER-exposed Connector,
|
|
158
135
|
* ConnectorsService additionally omits this field from a read response to any caller other than the
|
|
159
136
|
* consenting user, including a service identity admitted by mayRead's identities.service.nonEmpty
|
|
@@ -37,29 +37,6 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
37
37
|
* @immutable
|
|
38
38
|
*/
|
|
39
39
|
connectorSlug?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The provider-side subject this connection is about, and the value inbound webhook deliveries are
|
|
42
|
-
* attributed by: it must be byte-identical to what a delivery carries at the pointer the connector's
|
|
43
|
-
* WebhookConfig.provider_tenant_id_json_pointer names. Which value that is follows from where
|
|
44
|
-
* OAuthConfig.identity_operation.response_id_json_pointer points, so aim that pointer at whatever the
|
|
45
|
-
* provider's webhooks are about -- usually a workspace, team or installation rather than the individual
|
|
46
|
-
* user who consented. This PII also participates in the account-local uniqueness constraint.
|
|
47
|
-
*
|
|
48
|
-
* For a connector whose WebhookConfig declares verification_source = CONNECTOR_WIDE, a non-empty
|
|
49
|
-
* provider_tenant_id_json_pointer, and unique_callback_path = false, that byte-identity is a hard
|
|
50
|
-
* contract, not advice: connectors-webhooks uses this value as the provider tenant identity when it
|
|
51
|
-
* builds the shared-delivery fan-out route for this connector, so a mismatch means the account's
|
|
52
|
-
* deliveries verify but resolve no route and are refused. Config validation enforces the
|
|
53
|
-
* precondition of that contract: such a connector is rejected unless it also names
|
|
54
|
-
* OAuthConfig.identity_operation.response_id_json_pointer, because a connector that names no
|
|
55
|
-
* identity pointer produces no external id for a delivery to be matched against. The equivalence
|
|
56
|
-
* itself stays unvalidated and remains the responsibility of whoever configures the two pointers:
|
|
57
|
-
* they address different documents -- the provider's identity response and an inbound delivery
|
|
58
|
-
* body -- so only a live delivery can show that they select the same value.
|
|
59
|
-
* @internal
|
|
60
|
-
* @maxLength 200
|
|
61
|
-
*/
|
|
62
|
-
connectorExternalId?: string;
|
|
63
40
|
/**
|
|
64
41
|
* Wix user who consented to this private Connector. Required when exposure is USER.
|
|
65
42
|
* @internal
|
|
@@ -148,12 +125,12 @@ interface Connector extends ConnectorRegistrationOneOf {
|
|
|
148
125
|
* AccessKeyBindingPushed the same way as credential_state and granted_scopes -- see credential_state's
|
|
149
126
|
* comment for the full advisory rule, which applies identically here. A human-readable label from the
|
|
150
127
|
* provider (an org, workspace, or account name) that helps a user recognize which connection this is --
|
|
151
|
-
* NEVER an identity. The identity is
|
|
152
|
-
*
|
|
153
|
-
*
|
|
128
|
+
* NEVER an identity. The provider identity is the shared access key's external_provider_id; this field
|
|
129
|
+
* can lag, be blank, or go stale like every other advisory projection, and must never be used as an
|
|
130
|
+
* authorization input or a dedup key.
|
|
154
131
|
*
|
|
155
|
-
* Deliberately NOT field_exposure = INTERNAL, unlike its
|
|
156
|
-
*
|
|
132
|
+
* Deliberately NOT field_exposure = INTERNAL, unlike its neighbour consenting_user_id -- this field
|
|
133
|
+
* exists specifically so the callers this feature serves can read it.
|
|
157
134
|
* credential_state carries the same explicit choice for the same reason. On a USER-exposed Connector,
|
|
158
135
|
* ConnectorsService additionally omits this field from a read response to any caller other than the
|
|
159
136
|
* consenting user, including a service identity admitted by mayRead's identities.service.nonEmpty
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_connectors_connectors",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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": "
|
|
53
|
+
"falconPackageHash": "386efae2374e4453b01b973fe7d8b08af46e4bde6f67c571c1285fd7"
|
|
54
54
|
}
|