@xemahq/platform-common 0.14.0 → 0.14.1
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/dist/nestjs/connector-webhooks/connector-webhook-envelope.dto.d.ts +1 -0
- package/dist/nestjs/connector-webhooks/connector-webhook-envelope.dto.d.ts.map +1 -1
- package/dist/nestjs/connector-webhooks/connector-webhook-envelope.dto.js +17 -0
- package/dist/nestjs/connector-webhooks/connector-webhook-envelope.dto.js.map +1 -1
- package/package.json +2 -2
|
@@ -9,6 +9,7 @@ export declare class ConnectorWebhookEnvelopeDto<TPayload = unknown> {
|
|
|
9
9
|
correlationId: string;
|
|
10
10
|
externalId?: string;
|
|
11
11
|
externalSpaceKey?: string;
|
|
12
|
+
connectionId?: string;
|
|
12
13
|
payload: TPayload;
|
|
13
14
|
}
|
|
14
15
|
//# sourceMappingURL=connector-webhook-envelope.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-webhook-envelope.dto.d.ts","sourceRoot":"","sources":["../../../src/nestjs/connector-webhooks/connector-webhook-envelope.dto.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAwB7E,qBAAa,2BAA2B,CAAC,QAAQ,GAAG,OAAO;IAazD,QAAQ,EAAG,MAAM,CAAC;IASlB,UAAU,EAAG,UAAU,CAAC;IAQxB,KAAK,EAAG,MAAM,CAAC;IAIf,UAAU,EAAG,iBAAiB,CAAC;IAQ/B,UAAU,EAAG,MAAM,CAAC;IAOpB,UAAU,EAAG,MAAM,CAAC;IAQpB,aAAa,EAAG,MAAM,CAAC;IASvB,UAAU,CAAC,EAAE,MAAM,CAAC;IASpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"connector-webhook-envelope.dto.d.ts","sourceRoot":"","sources":["../../../src/nestjs/connector-webhooks/connector-webhook-envelope.dto.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAwB7E,qBAAa,2BAA2B,CAAC,QAAQ,GAAG,OAAO;IAazD,QAAQ,EAAG,MAAM,CAAC;IASlB,UAAU,EAAG,UAAU,CAAC;IAQxB,KAAK,EAAG,MAAM,CAAC;IAIf,UAAU,EAAG,iBAAiB,CAAC;IAQ/B,UAAU,EAAG,MAAM,CAAC;IAOpB,UAAU,EAAG,MAAM,CAAC;IAQpB,aAAa,EAAG,MAAM,CAAC;IASvB,UAAU,CAAC,EAAE,MAAM,CAAC;IASpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAsC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IAKtB,OAAO,EAAG,QAAQ,CAAC;CACpB"}
|
|
@@ -23,6 +23,7 @@ class ConnectorWebhookEnvelopeDto {
|
|
|
23
23
|
correlationId;
|
|
24
24
|
externalId;
|
|
25
25
|
externalSpaceKey;
|
|
26
|
+
connectionId;
|
|
26
27
|
payload;
|
|
27
28
|
}
|
|
28
29
|
exports.ConnectorWebhookEnvelopeDto = ConnectorWebhookEnvelopeDto;
|
|
@@ -98,4 +99,20 @@ __decorate([
|
|
|
98
99
|
(0, class_validator_1.IsString)(),
|
|
99
100
|
__metadata("design:type", String)
|
|
100
101
|
], ConnectorWebhookEnvelopeDto.prototype, "externalSpaceKey", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, swagger_1.ApiPropertyOptional)({
|
|
104
|
+
description: 'Connector connection this delivery was received through — the ' +
|
|
105
|
+
'connector-gateway `OrgConnection` row id. Absent from deliveries ' +
|
|
106
|
+
'produced before the gateway stamped it, so consumers must treat an ' +
|
|
107
|
+
'absent value as unknown rather than as an error. When present it can be ' +
|
|
108
|
+
'passed straight back as the `connectionId` control key of a connector ' +
|
|
109
|
+
'action so the operation runs against the SAME account the delivery came ' +
|
|
110
|
+
'from, instead of the org default for the provider.',
|
|
111
|
+
example: 'clx7k2m4t0000qwer1234asdf',
|
|
112
|
+
}),
|
|
113
|
+
(0, class_validator_1.IsOptional)(),
|
|
114
|
+
(0, class_validator_1.IsString)(),
|
|
115
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], ConnectorWebhookEnvelopeDto.prototype, "connectionId", void 0);
|
|
101
118
|
//# sourceMappingURL=connector-webhook-envelope.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector-webhook-envelope.dto.js","sourceRoot":"","sources":["../../../src/nestjs/connector-webhooks/connector-webhook-envelope.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAOyB;AAEzB,qEAA6E;AAwB7E,MAAa,2BAA2B;IAatC,QAAQ,CAAU;IASlB,UAAU,CAAc;IAQxB,KAAK,CAAU;IAIf,UAAU,CAAqB;IAQ/B,UAAU,CAAU;IAOpB,UAAU,CAAU;IAQpB,aAAa,CAAU;IASvB,UAAU,CAAU;IASpB,gBAAgB,CAAU;
|
|
1
|
+
{"version":3,"file":"connector-webhook-envelope.dto.js","sourceRoot":"","sources":["../../../src/nestjs/connector-webhooks/connector-webhook-envelope.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAmE;AACnE,qDAOyB;AAEzB,qEAA6E;AAwB7E,MAAa,2BAA2B;IAatC,QAAQ,CAAU;IASlB,UAAU,CAAc;IAQxB,KAAK,CAAU;IAIf,UAAU,CAAqB;IAQ/B,UAAU,CAAU;IAOpB,UAAU,CAAU;IAQpB,aAAa,CAAU;IASvB,UAAU,CAAU;IASpB,gBAAgB,CAAU;IAsC1B,YAAY,CAAU;IAKtB,OAAO,CAAY;CACpB;AAvHD,kEAuHC;AA1GC;IAZC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EACT,uEAAuE;YACvE,mEAAmE;YACnE,oEAAoE;YACpE,6EAA6E;YAC7E,mDAA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IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACS"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xemahq/platform-common",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.1",
|
|
4
4
|
"description": "Shared NestJS building blocks for Xema services — auth guards, response redaction, CORS configuration, and crypto helpers.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Neuralchowder Inc. <developer@xema.dev> (https://xema.dev)",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"rxjs": "7.8.2",
|
|
63
63
|
"ts-jest": "^29.4.9",
|
|
64
64
|
"typescript": "5.9.3",
|
|
65
|
-
"@xemahq/kernel-contracts": "^
|
|
65
|
+
"@xemahq/kernel-contracts": "^18.1.0"
|
|
66
66
|
},
|
|
67
67
|
"exports": {
|
|
68
68
|
".": {
|