@lssm/lib.contracts 1.7.2 → 1.7.3
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/app-config/contracts.d.ts +49 -51
- package/dist/app-config/contracts.d.ts.map +1 -1
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/contracts.js.map +1 -1
- package/dist/app-config/events.d.ts +26 -28
- package/dist/app-config/events.d.ts.map +1 -1
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/events.js.map +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +79 -81
- package/dist/app-config/lifecycle-contracts.d.ts.map +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/app-config/lifecycle-contracts.js.map +1 -1
- package/dist/capabilities/openbanking.js.map +1 -1
- package/dist/client/react/form-render.d.ts +0 -1
- package/dist/client/react/form-render.d.ts.map +1 -1
- package/dist/contracts-adapter-input.d.ts +0 -1
- package/dist/contracts-adapter-input.d.ts.map +1 -1
- package/dist/events.d.ts +0 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/forms.d.ts +0 -1
- package/dist/forms.d.ts.map +1 -1
- package/dist/install.d.ts +0 -1
- package/dist/install.d.ts.map +1 -1
- package/dist/integrations/contracts.d.ts +101 -103
- package/dist/integrations/contracts.d.ts.map +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/contracts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +65 -67
- package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +33 -35
- package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/integrations/openbanking/contracts/index.js.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +47 -49
- package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/integrations/openbanking/guards.js.map +1 -1
- package/dist/integrations/openbanking/models.d.ts +54 -57
- package/dist/integrations/openbanking/models.d.ts.map +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/models.js.map +1 -1
- package/dist/integrations/openbanking/telemetry.js.map +1 -1
- package/dist/integrations/providers/powens.js.map +1 -1
- package/dist/jsonschema.d.ts +1 -1
- package/dist/jsonschema.d.ts.map +1 -1
- package/dist/knowledge/contracts.d.ts +65 -67
- package/dist/knowledge/contracts.d.ts.map +1 -1
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/contracts.js.map +1 -1
- package/dist/knowledge/spaces/product-canon.js.map +1 -1
- package/dist/knowledge/spaces/support-faq.js.map +1 -1
- package/dist/knowledge/spec.js.map +1 -1
- package/dist/onboarding-base.d.ts +28 -30
- package/dist/onboarding-base.d.ts.map +1 -1
- package/dist/onboarding-base.js +1 -1
- package/dist/onboarding-base.js.map +1 -1
- package/dist/presentations.d.ts +0 -1
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.v2.d.ts +0 -1
- package/dist/presentations.v2.d.ts.map +1 -1
- package/dist/regenerator/executor.js.map +1 -1
- package/dist/regenerator/service.js.map +1 -1
- package/dist/regenerator/sinks.js.map +1 -1
- package/dist/regenerator/utils.js.map +1 -1
- package/dist/registry.d.ts +0 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/resources.d.ts.map +1 -1
- package/dist/schema/{dist → src}/FieldType.js +1 -1
- package/dist/schema/src/FieldType.js.map +1 -0
- package/dist/schema/src/ScalarTypeEnum.js +2 -0
- package/dist/schema/src/ScalarTypeEnum.js.map +1 -0
- package/dist/schema/{dist → src}/SchemaModel.js +1 -1
- package/dist/schema/src/SchemaModel.js.map +1 -0
- package/dist/schema/src/index.js +1 -0
- package/dist/spec.d.ts +0 -1
- package/dist/spec.d.ts.map +1 -1
- package/dist/workflow/spec.d.ts.map +1 -1
- package/package.json +339 -168
- package/dist/schema/dist/FieldType.js.map +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -2
- package/dist/schema/dist/ScalarTypeEnum.js.map +0 -1
- package/dist/schema/dist/SchemaModel.js.map +0 -1
- package/dist/schema/dist/index.js +0 -1
- /package/dist/schema/{dist → src}/EnumType.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts-adapter-input.d.ts","names":[],"sources":["../src/contracts-adapter-input.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contracts-adapter-input.d.ts","names":[],"sources":["../src/contracts-adapter-input.ts"],"sourcesContent":[],"mappings":";;;iBAOgB,aAAA,mBAAgC;AAAhC,iBAgCA,sBAhC8C,CAAA,UAgCb,WAhCa,CAAA,CAAA,OAAA,EAiCnD,iBAAA,CAAkB,aAjCiC,CAiCnB,CAjCmB,CAAA,CAAA,EAAA;EAgC9C,mBAAA,EAAA,CAAA,KAAsB,EA8FA,cA9FA,GAAA,IAAA,EAAA,GAAA,IAAA;CAAW"}
|
package/dist/events.d.ts
CHANGED
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;;AAOA;;;AAYc,UAZG,SAYH,CAAA,UAZuB,cAYvB,CAAA,CAAA;EAAa;EAIX,IAAA,EAAA,MAAA;EAAsB;EACvB,OAAA,EAAA,MAAA;EAAV;EACQ,WAAA,CAAA,EAAA,MAAA;EAAV;EAAS,GAAA,CAAA,EAAA,MAAA,EAAA;EAIK;EAeL,OAAA,EA3BD,CA2BC;EAEC;cA3BC;;;iBAIE,sBAAsB,mBACjC,UAAU,KACZ,UAAU;UAII;;;;;;;;;;;;WAYN;;KAGC,QAAA;;cAEC,6CAA4C"}
|
package/dist/events.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./schema/
|
|
1
|
+
import"./schema/src/index.js";function e(e){return e}const t=(e,t)=>`${e}.v${t}`;export{e as defineEvent,t as eventKey};
|
|
2
2
|
//# sourceMappingURL=events.js.map
|
package/dist/events.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","names":[],"sources":["../src/events.ts"],"sourcesContent":["import { type AnySchemaModel } from '@lssm/lib.schema';\nimport type { OwnerShipMeta } from './ownership';\n\n/**\n * Typed event specification. Declare once, validate payloads at publish time,\n * and guard emissions via the contracts runtime.\n */\nexport interface EventSpec<T extends AnySchemaModel> {\n /** Fully-qualified event name, e.g. \"sigil.magic_link.created\". */\n name: string;\n /** Event payload version. Bump on any breaking payload change. */\n version: number;\n /** Short human-friendly summary. */\n description?: string;\n /** JSON-like paths to redact from logs/exports. */\n pii?: string[];\n /** Event payload schema from @lssm/lib.schema. */\n payload: T;\n /** Optional ownership metadata for governance and docs. */\n ownership?: OwnerShipMeta;\n}\n\n/** Identity function to keep type inference when declaring events. */\nexport function defineEvent<T extends AnySchemaModel>(\n e: EventSpec<T>\n): EventSpec<T> {\n return e;\n}\n\nexport interface EventEnvelope<T> {\n /** Unique identifier for the published event (UUID recommended). */\n id: string;\n /** ISO timestamp when the event occurred. */\n occurredAt: string;\n /** Optional trace identifier for correlating across services. */\n traceId?: string;\n /** Event name as published (should match spec.name). */\n name: string;\n /** Event version as published (should match spec.version). */\n version: number;\n /** Validated payload. */\n payload: T;\n}\n\nexport type EventKey = `${string}.v${number}`;\n/** Build a stable string key for an event name/version pair. */\nexport const eventKey = (name: string, version: number): EventKey =>\n `${name}.v${version}`;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.js","names":[],"sources":["../src/events.ts"],"sourcesContent":["import { type AnySchemaModel } from '@lssm/lib.schema';\nimport type { OwnerShipMeta } from './ownership';\n\n/**\n * Typed event specification. Declare once, validate payloads at publish time,\n * and guard emissions via the contracts runtime.\n */\nexport interface EventSpec<T extends AnySchemaModel> {\n /** Fully-qualified event name, e.g. \"sigil.magic_link.created\". */\n name: string;\n /** Event payload version. Bump on any breaking payload change. */\n version: number;\n /** Short human-friendly summary. */\n description?: string;\n /** JSON-like paths to redact from logs/exports. */\n pii?: string[];\n /** Event payload schema from @lssm/lib.schema. */\n payload: T;\n /** Optional ownership metadata for governance and docs. */\n ownership?: OwnerShipMeta;\n}\n\n/** Identity function to keep type inference when declaring events. */\nexport function defineEvent<T extends AnySchemaModel>(\n e: EventSpec<T>\n): EventSpec<T> {\n return e;\n}\n\nexport interface EventEnvelope<T> {\n /** Unique identifier for the published event (UUID recommended). */\n id: string;\n /** ISO timestamp when the event occurred. */\n occurredAt: string;\n /** Optional trace identifier for correlating across services. */\n traceId?: string;\n /** Event name as published (should match spec.name). */\n name: string;\n /** Event version as published (should match spec.version). */\n version: number;\n /** Validated payload. */\n payload: T;\n}\n\nexport type EventKey = `${string}.v${number}`;\n/** Build a stable string key for an event name/version pair. */\nexport const eventKey = (name: string, version: number): EventKey =>\n `${name}.v${version}`;\n"],"mappings":"8BAuBA,SAAgB,EACd,EACc,CACd,OAAO,EAoBT,MAAa,GAAY,EAAc,IACrC,GAAG,EAAK,IAAI"}
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
-
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
3
2
|
|
|
4
3
|
//#region src/forms.d.ts
|
|
5
4
|
type PredicateOp = 'equals' | 'notEquals' | 'in' | 'notIn' | 'gt' | 'gte' | 'lt' | 'lte' | 'truthy' | 'empty' | 'lengthGt' | 'lengthGte' | 'lengthLt' | 'lengthLte';
|
package/dist/forms.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forms.d.ts","names":[],"sources":["../src/forms.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"forms.d.ts","names":[],"sources":["../src/forms.ts"],"sourcesContent":[],"mappings":";;;KAKY,WAAA;AAAA,UAiBK,UAAA,CAjBM;EAiBN;EAOA,IAAA,EAAA,MAAS;EACjB,EAAA,CAAA,EALF,WAKE;EACD,KAAA,CAAA,EAAA,OAAA;;AAEA,UAJS,SAAA,CAIT;EAAS,IAAA,CAAA,EAHR,UAGQ;EAGA,GAAA,CAAA,EALT,SAKmB,EAAA;EAOf,GAAA,CAAA,EAXJ,SAWI,EAAa;EAUR,GAAA,CAAA,EApBT,SAoBS;;AAmBD,UApCC,UAAA,CAoCD;EACC,SAAA,EAAA,MAAA;EAGL,KAAA,EAAA,MAAA,GAAA,MAAA,GAAA,OAAA;EAAM,eAAA,CAAA,EAAA,MAAA;EAqBD,QAAA,CAAA,EAAA,OAAc;AAgB/B;AAQiB,KA9EL,aAAA,GA8EqB;EAGtB,IAAA,EAAA,QAAA;EAAyB,OAAA,EAAA,SAhFI,UAgFJ,EAAA;CAHK,GAAA;EAAa,IAAA,EAAA,UAAA;EAMrC,WAAA,EAAA,MAAA;EAKA;EAGN,IAAA,EAAA,MAAA,EAAA;EAAyB,IAAA,CAAA,EArFvB,MAqFuB,CAAA,MAAA,EAAA,OAAA,CAAA;CAHI;AAAa,UA/EpC,aAAA,CA+EoC;EAMpC;EAKA,IAAA,EAAA,MAAA,GAAA,UAAe,GAAA,QAItB,GAAA,UAJ8B,GAAA,OAAa,GAAA,QAAA,GAAA,OAAA,GAAA,OAAA;EAOpC;EAKH,IAAA,CAAA,EAAA,MAAA;EAAW,SAAA,CAAA,EAAA,MAAA;EAAiB,eAAA,CAAA,EAAA,MAAA;EAApC,eAAA,CAAA,EAAA,M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EP,SAAS"}
|
package/dist/install.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { AnyContractSpec, ContractSpec, EmitDecl } from "./spec.js";
|
|
|
4
4
|
import { HandlerCtx } from "./types.js";
|
|
5
5
|
import { SpecRegistry } from "./registry.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
8
7
|
|
|
9
8
|
//#region src/install.d.ts
|
|
10
9
|
/** Infer input/output types from a ContractSpec */
|
package/dist/install.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.d.ts","names":[],"sources":["../src/install.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"install.d.ts","names":[],"sources":["../src/install.ts"],"sourcesContent":[],"mappings":";;;;;;;;;AASY,KAAA,SAAS,CAAA,aAAc,eAAmB,CAAA,GAAA,IAAI,CAAA,IAAA,CAAA,CAAA,OAAA,CAAA;AAC9C,KAAA,YAAY,CAAA,aAAc,eAAd,CAAA,GAAiC,cAAjC,CACtB,SADsB,CACZ,IADY,CAAA,SAAA,IAAA,GACS,cADT,GAC0B,WAD1B,CACsC,SADtC,CACgD,IADhD,CAAA,CAAA,CAAA;AAAc,KAI1B,UAJ0B,CAAA,aAIF,eAJE,CAAA,GAIiB,IAJjB,CAAA,IAAA,CAAA,CAAA,QAAA,CAAA;KAMjC,YALO,CAAA,UAKgB,qBALhB,CAAA,OAAA,CAAA,CAAA,GAKkD,MALlD,CAMV,CANU,CAAA,SAAA,CAAA,SAAA,MAAA,GAMoB,CANpB,CAAA,SAAA,CAAA,GAAA,IAAA,EAAA,MAAA,GAAA,MAAA,CAAA;KAUP,cAVH,CAAA,CAAA,CAAA,GAWA,CAXA,SAWU,qBAXV,CAAA,OAAA,CAAA,GAYI,CAZJ,CAAA,MAAA,CAAA,SAAA,IAAA,GAaM,YAbN,CAamB,CAbnB,CAAA,EAAA,GAcM,YAdN,CAcmB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iDO,CAjDP,CAAA,EAAA,OAAA,EAkDE,cAlDF,CAkDiB,CAlDjB,CAAA,EAAA,GAkDmB,OAlDnB,CAAA,IAAA,CAAA;EAAR;EAAO,KAAA,EAAA,CAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,OAAA,EAAA,GAuDqD,OAvDrD,CAAA,IAAA,CAAA;EAGA;EAER,MAAA,EAAA,CAAA,GAAA,EAsDoB,iBAtDpB,CAsDsC,CAtDtC,CAAA,EAAA,GAsDwC,OAtDxC,CAAA,IAAA,CAAA;CACA;;;;;AAGoD,iBA6DxC,SA7DwC,CAAA,UA6DpB,eA7DoB,CAAA,CAAA,GAAA,EA8DjD,YA9DiD,EAAA,IAAA,EA+DhD,CA/DgD,EAAA,OAAA,EAgE7C,UAhE6C,CAgElC,CAhEkC,CAAA,CAAA,EAiErD,YAjEqD;;;;;;AAIhC,iBAsER,EAtEQ,CAAA,UAsEK,eAtEL,CAAA,CAAA,IAAA,EAuEhB,CAvEgB,EAAA,OAAA,EAwEb,UAxEa,CAwEF,eAxEE,CAAA,CAAA,EAAA;EAMnB,IAAA,GAAA;EAED,OAAA,YAAA,gBAAA,CAAA;EACA,OAAA,EAAA,CAAA,GAAA,EAoEe,YApEf,EAAA,GAoE2B,YApE3B;CAAiB"}
|
|
@@ -1,400 +1,398 @@
|
|
|
1
1
|
import { ContractSpec } from "../spec.js";
|
|
2
2
|
import { SpecRegistry } from "../registry.js";
|
|
3
|
-
import * as _lssm_lib_schema445 from "@lssm/lib.schema";
|
|
4
|
-
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
3
|
|
|
6
4
|
//#region src/integrations/contracts.d.ts
|
|
7
5
|
declare const CreateIntegrationConnection: ContractSpec<SchemaModel<{
|
|
8
6
|
tenantId: {
|
|
9
|
-
type:
|
|
7
|
+
type: void 0<string, string>;
|
|
10
8
|
isOptional: false;
|
|
11
9
|
};
|
|
12
10
|
integrationKey: {
|
|
13
|
-
type:
|
|
11
|
+
type: void 0<string, string>;
|
|
14
12
|
isOptional: false;
|
|
15
13
|
};
|
|
16
14
|
integrationVersion: {
|
|
17
|
-
type:
|
|
15
|
+
type: void 0<number, number>;
|
|
18
16
|
isOptional: false;
|
|
19
17
|
};
|
|
20
18
|
label: {
|
|
21
|
-
type:
|
|
19
|
+
type: void 0<string, string>;
|
|
22
20
|
isOptional: false;
|
|
23
21
|
};
|
|
24
22
|
ownershipMode: {
|
|
25
|
-
type:
|
|
23
|
+
type: void 0<string, string>;
|
|
26
24
|
isOptional: false;
|
|
27
25
|
};
|
|
28
26
|
externalAccountId: {
|
|
29
|
-
type:
|
|
27
|
+
type: void 0<string, string>;
|
|
30
28
|
isOptional: true;
|
|
31
29
|
};
|
|
32
30
|
secretProvider: {
|
|
33
|
-
type:
|
|
31
|
+
type: void 0<string, string>;
|
|
34
32
|
isOptional: false;
|
|
35
33
|
};
|
|
36
34
|
secretRef: {
|
|
37
|
-
type:
|
|
35
|
+
type: void 0<string, string>;
|
|
38
36
|
isOptional: false;
|
|
39
37
|
};
|
|
40
38
|
environment: {
|
|
41
|
-
type:
|
|
39
|
+
type: void 0<string, string>;
|
|
42
40
|
isOptional: true;
|
|
43
41
|
};
|
|
44
42
|
config: {
|
|
45
|
-
type:
|
|
43
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
46
44
|
isOptional: false;
|
|
47
45
|
};
|
|
48
46
|
}>, SchemaModel<{
|
|
49
47
|
id: {
|
|
50
|
-
type:
|
|
48
|
+
type: void 0<string, string>;
|
|
51
49
|
isOptional: false;
|
|
52
50
|
};
|
|
53
51
|
tenantId: {
|
|
54
|
-
type:
|
|
52
|
+
type: void 0<string, string>;
|
|
55
53
|
isOptional: false;
|
|
56
54
|
};
|
|
57
55
|
integrationKey: {
|
|
58
|
-
type:
|
|
56
|
+
type: void 0<string, string>;
|
|
59
57
|
isOptional: false;
|
|
60
58
|
};
|
|
61
59
|
integrationVersion: {
|
|
62
|
-
type:
|
|
60
|
+
type: void 0<number, number>;
|
|
63
61
|
isOptional: false;
|
|
64
62
|
};
|
|
65
63
|
label: {
|
|
66
|
-
type:
|
|
64
|
+
type: void 0<string, string>;
|
|
67
65
|
isOptional: false;
|
|
68
66
|
};
|
|
69
67
|
ownershipMode: {
|
|
70
|
-
type:
|
|
68
|
+
type: void 0<string, string>;
|
|
71
69
|
isOptional: false;
|
|
72
70
|
};
|
|
73
71
|
externalAccountId: {
|
|
74
|
-
type:
|
|
72
|
+
type: void 0<string, string>;
|
|
75
73
|
isOptional: true;
|
|
76
74
|
};
|
|
77
75
|
secretProvider: {
|
|
78
|
-
type:
|
|
76
|
+
type: void 0<string, string>;
|
|
79
77
|
isOptional: false;
|
|
80
78
|
};
|
|
81
79
|
secretRef: {
|
|
82
|
-
type:
|
|
80
|
+
type: void 0<string, string>;
|
|
83
81
|
isOptional: false;
|
|
84
82
|
};
|
|
85
83
|
status: {
|
|
86
|
-
type:
|
|
84
|
+
type: void 0<string, string>;
|
|
87
85
|
isOptional: false;
|
|
88
86
|
};
|
|
89
87
|
environment: {
|
|
90
|
-
type:
|
|
88
|
+
type: void 0<string, string>;
|
|
91
89
|
isOptional: true;
|
|
92
90
|
};
|
|
93
91
|
healthStatus: {
|
|
94
|
-
type:
|
|
92
|
+
type: void 0<string, string>;
|
|
95
93
|
isOptional: true;
|
|
96
94
|
};
|
|
97
95
|
healthCheckedAt: {
|
|
98
|
-
type:
|
|
96
|
+
type: void 0<Date, string>;
|
|
99
97
|
isOptional: true;
|
|
100
98
|
};
|
|
101
99
|
healthLatencyMs: {
|
|
102
|
-
type:
|
|
100
|
+
type: void 0<number, number>;
|
|
103
101
|
isOptional: true;
|
|
104
102
|
};
|
|
105
103
|
healthErrorCode: {
|
|
106
|
-
type:
|
|
104
|
+
type: void 0<string, string>;
|
|
107
105
|
isOptional: true;
|
|
108
106
|
};
|
|
109
107
|
healthErrorMessage: {
|
|
110
|
-
type:
|
|
108
|
+
type: void 0<string, string>;
|
|
111
109
|
isOptional: true;
|
|
112
110
|
};
|
|
113
111
|
usageRequestCount: {
|
|
114
|
-
type:
|
|
112
|
+
type: void 0<number, number>;
|
|
115
113
|
isOptional: true;
|
|
116
114
|
};
|
|
117
115
|
usageSuccessCount: {
|
|
118
|
-
type:
|
|
116
|
+
type: void 0<number, number>;
|
|
119
117
|
isOptional: true;
|
|
120
118
|
};
|
|
121
119
|
usageErrorCount: {
|
|
122
|
-
type:
|
|
120
|
+
type: void 0<number, number>;
|
|
123
121
|
isOptional: true;
|
|
124
122
|
};
|
|
125
123
|
usageLastUsedAt: {
|
|
126
|
-
type:
|
|
124
|
+
type: void 0<Date, string>;
|
|
127
125
|
isOptional: true;
|
|
128
126
|
};
|
|
129
127
|
usageLastErrorAt: {
|
|
130
|
-
type:
|
|
128
|
+
type: void 0<Date, string>;
|
|
131
129
|
isOptional: true;
|
|
132
130
|
};
|
|
133
131
|
usageLastErrorCode: {
|
|
134
|
-
type:
|
|
132
|
+
type: void 0<string, string>;
|
|
135
133
|
isOptional: true;
|
|
136
134
|
};
|
|
137
135
|
createdAt: {
|
|
138
|
-
type:
|
|
136
|
+
type: void 0<Date, string>;
|
|
139
137
|
isOptional: true;
|
|
140
138
|
};
|
|
141
139
|
updatedAt: {
|
|
142
|
-
type:
|
|
140
|
+
type: void 0<Date, string>;
|
|
143
141
|
isOptional: true;
|
|
144
142
|
};
|
|
145
143
|
}>, undefined>;
|
|
146
144
|
declare const UpdateIntegrationConnection: ContractSpec<SchemaModel<{
|
|
147
145
|
connectionId: {
|
|
148
|
-
type:
|
|
146
|
+
type: void 0<string, string>;
|
|
149
147
|
isOptional: false;
|
|
150
148
|
};
|
|
151
149
|
label: {
|
|
152
|
-
type:
|
|
150
|
+
type: void 0<string, string>;
|
|
153
151
|
isOptional: true;
|
|
154
152
|
};
|
|
155
153
|
status: {
|
|
156
|
-
type:
|
|
154
|
+
type: void 0<string, string>;
|
|
157
155
|
isOptional: true;
|
|
158
156
|
};
|
|
159
157
|
ownershipMode: {
|
|
160
|
-
type:
|
|
158
|
+
type: void 0<string, string>;
|
|
161
159
|
isOptional: true;
|
|
162
160
|
};
|
|
163
161
|
externalAccountId: {
|
|
164
|
-
type:
|
|
162
|
+
type: void 0<string, string>;
|
|
165
163
|
isOptional: true;
|
|
166
164
|
};
|
|
167
165
|
secretProvider: {
|
|
168
|
-
type:
|
|
166
|
+
type: void 0<string, string>;
|
|
169
167
|
isOptional: true;
|
|
170
168
|
};
|
|
171
169
|
secretRef: {
|
|
172
|
-
type:
|
|
170
|
+
type: void 0<string, string>;
|
|
173
171
|
isOptional: true;
|
|
174
172
|
};
|
|
175
173
|
config: {
|
|
176
|
-
type:
|
|
174
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
177
175
|
isOptional: true;
|
|
178
176
|
};
|
|
179
177
|
}>, SchemaModel<{
|
|
180
178
|
id: {
|
|
181
|
-
type:
|
|
179
|
+
type: void 0<string, string>;
|
|
182
180
|
isOptional: false;
|
|
183
181
|
};
|
|
184
182
|
tenantId: {
|
|
185
|
-
type:
|
|
183
|
+
type: void 0<string, string>;
|
|
186
184
|
isOptional: false;
|
|
187
185
|
};
|
|
188
186
|
integrationKey: {
|
|
189
|
-
type:
|
|
187
|
+
type: void 0<string, string>;
|
|
190
188
|
isOptional: false;
|
|
191
189
|
};
|
|
192
190
|
integrationVersion: {
|
|
193
|
-
type:
|
|
191
|
+
type: void 0<number, number>;
|
|
194
192
|
isOptional: false;
|
|
195
193
|
};
|
|
196
194
|
label: {
|
|
197
|
-
type:
|
|
195
|
+
type: void 0<string, string>;
|
|
198
196
|
isOptional: false;
|
|
199
197
|
};
|
|
200
198
|
ownershipMode: {
|
|
201
|
-
type:
|
|
199
|
+
type: void 0<string, string>;
|
|
202
200
|
isOptional: false;
|
|
203
201
|
};
|
|
204
202
|
externalAccountId: {
|
|
205
|
-
type:
|
|
203
|
+
type: void 0<string, string>;
|
|
206
204
|
isOptional: true;
|
|
207
205
|
};
|
|
208
206
|
secretProvider: {
|
|
209
|
-
type:
|
|
207
|
+
type: void 0<string, string>;
|
|
210
208
|
isOptional: false;
|
|
211
209
|
};
|
|
212
210
|
secretRef: {
|
|
213
|
-
type:
|
|
211
|
+
type: void 0<string, string>;
|
|
214
212
|
isOptional: false;
|
|
215
213
|
};
|
|
216
214
|
status: {
|
|
217
|
-
type:
|
|
215
|
+
type: void 0<string, string>;
|
|
218
216
|
isOptional: false;
|
|
219
217
|
};
|
|
220
218
|
environment: {
|
|
221
|
-
type:
|
|
219
|
+
type: void 0<string, string>;
|
|
222
220
|
isOptional: true;
|
|
223
221
|
};
|
|
224
222
|
healthStatus: {
|
|
225
|
-
type:
|
|
223
|
+
type: void 0<string, string>;
|
|
226
224
|
isOptional: true;
|
|
227
225
|
};
|
|
228
226
|
healthCheckedAt: {
|
|
229
|
-
type:
|
|
227
|
+
type: void 0<Date, string>;
|
|
230
228
|
isOptional: true;
|
|
231
229
|
};
|
|
232
230
|
healthLatencyMs: {
|
|
233
|
-
type:
|
|
231
|
+
type: void 0<number, number>;
|
|
234
232
|
isOptional: true;
|
|
235
233
|
};
|
|
236
234
|
healthErrorCode: {
|
|
237
|
-
type:
|
|
235
|
+
type: void 0<string, string>;
|
|
238
236
|
isOptional: true;
|
|
239
237
|
};
|
|
240
238
|
healthErrorMessage: {
|
|
241
|
-
type:
|
|
239
|
+
type: void 0<string, string>;
|
|
242
240
|
isOptional: true;
|
|
243
241
|
};
|
|
244
242
|
usageRequestCount: {
|
|
245
|
-
type:
|
|
243
|
+
type: void 0<number, number>;
|
|
246
244
|
isOptional: true;
|
|
247
245
|
};
|
|
248
246
|
usageSuccessCount: {
|
|
249
|
-
type:
|
|
247
|
+
type: void 0<number, number>;
|
|
250
248
|
isOptional: true;
|
|
251
249
|
};
|
|
252
250
|
usageErrorCount: {
|
|
253
|
-
type:
|
|
251
|
+
type: void 0<number, number>;
|
|
254
252
|
isOptional: true;
|
|
255
253
|
};
|
|
256
254
|
usageLastUsedAt: {
|
|
257
|
-
type:
|
|
255
|
+
type: void 0<Date, string>;
|
|
258
256
|
isOptional: true;
|
|
259
257
|
};
|
|
260
258
|
usageLastErrorAt: {
|
|
261
|
-
type:
|
|
259
|
+
type: void 0<Date, string>;
|
|
262
260
|
isOptional: true;
|
|
263
261
|
};
|
|
264
262
|
usageLastErrorCode: {
|
|
265
|
-
type:
|
|
263
|
+
type: void 0<string, string>;
|
|
266
264
|
isOptional: true;
|
|
267
265
|
};
|
|
268
266
|
createdAt: {
|
|
269
|
-
type:
|
|
267
|
+
type: void 0<Date, string>;
|
|
270
268
|
isOptional: true;
|
|
271
269
|
};
|
|
272
270
|
updatedAt: {
|
|
273
|
-
type:
|
|
271
|
+
type: void 0<Date, string>;
|
|
274
272
|
isOptional: true;
|
|
275
273
|
};
|
|
276
274
|
}>, undefined>;
|
|
277
275
|
declare const DeleteIntegrationConnection: ContractSpec<SchemaModel<{
|
|
278
276
|
connectionId: {
|
|
279
|
-
type:
|
|
277
|
+
type: void 0<string, string>;
|
|
280
278
|
isOptional: false;
|
|
281
279
|
};
|
|
282
280
|
}>, SchemaModel<{
|
|
283
281
|
success: {
|
|
284
|
-
type:
|
|
282
|
+
type: void 0<boolean, boolean>;
|
|
285
283
|
isOptional: false;
|
|
286
284
|
};
|
|
287
285
|
}>, undefined>;
|
|
288
286
|
declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
|
|
289
287
|
tenantId: {
|
|
290
|
-
type:
|
|
288
|
+
type: void 0<string, string>;
|
|
291
289
|
isOptional: false;
|
|
292
290
|
};
|
|
293
291
|
category: {
|
|
294
|
-
type:
|
|
292
|
+
type: void 0<string, string>;
|
|
295
293
|
isOptional: true;
|
|
296
294
|
};
|
|
297
295
|
status: {
|
|
298
|
-
type:
|
|
296
|
+
type: void 0<string, string>;
|
|
299
297
|
isOptional: true;
|
|
300
298
|
};
|
|
301
299
|
}>, SchemaModel<{
|
|
302
300
|
connections: {
|
|
303
301
|
type: SchemaModel<{
|
|
304
302
|
id: {
|
|
305
|
-
type:
|
|
303
|
+
type: void 0<string, string>;
|
|
306
304
|
isOptional: false;
|
|
307
305
|
};
|
|
308
306
|
tenantId: {
|
|
309
|
-
type:
|
|
307
|
+
type: void 0<string, string>;
|
|
310
308
|
isOptional: false;
|
|
311
309
|
};
|
|
312
310
|
integrationKey: {
|
|
313
|
-
type:
|
|
311
|
+
type: void 0<string, string>;
|
|
314
312
|
isOptional: false;
|
|
315
313
|
};
|
|
316
314
|
integrationVersion: {
|
|
317
|
-
type:
|
|
315
|
+
type: void 0<number, number>;
|
|
318
316
|
isOptional: false;
|
|
319
317
|
};
|
|
320
318
|
label: {
|
|
321
|
-
type:
|
|
319
|
+
type: void 0<string, string>;
|
|
322
320
|
isOptional: false;
|
|
323
321
|
};
|
|
324
322
|
ownershipMode: {
|
|
325
|
-
type:
|
|
323
|
+
type: void 0<string, string>;
|
|
326
324
|
isOptional: false;
|
|
327
325
|
};
|
|
328
326
|
externalAccountId: {
|
|
329
|
-
type:
|
|
327
|
+
type: void 0<string, string>;
|
|
330
328
|
isOptional: true;
|
|
331
329
|
};
|
|
332
330
|
secretProvider: {
|
|
333
|
-
type:
|
|
331
|
+
type: void 0<string, string>;
|
|
334
332
|
isOptional: false;
|
|
335
333
|
};
|
|
336
334
|
secretRef: {
|
|
337
|
-
type:
|
|
335
|
+
type: void 0<string, string>;
|
|
338
336
|
isOptional: false;
|
|
339
337
|
};
|
|
340
338
|
status: {
|
|
341
|
-
type:
|
|
339
|
+
type: void 0<string, string>;
|
|
342
340
|
isOptional: false;
|
|
343
341
|
};
|
|
344
342
|
environment: {
|
|
345
|
-
type:
|
|
343
|
+
type: void 0<string, string>;
|
|
346
344
|
isOptional: true;
|
|
347
345
|
};
|
|
348
346
|
healthStatus: {
|
|
349
|
-
type:
|
|
347
|
+
type: void 0<string, string>;
|
|
350
348
|
isOptional: true;
|
|
351
349
|
};
|
|
352
350
|
healthCheckedAt: {
|
|
353
|
-
type:
|
|
351
|
+
type: void 0<Date, string>;
|
|
354
352
|
isOptional: true;
|
|
355
353
|
};
|
|
356
354
|
healthLatencyMs: {
|
|
357
|
-
type:
|
|
355
|
+
type: void 0<number, number>;
|
|
358
356
|
isOptional: true;
|
|
359
357
|
};
|
|
360
358
|
healthErrorCode: {
|
|
361
|
-
type:
|
|
359
|
+
type: void 0<string, string>;
|
|
362
360
|
isOptional: true;
|
|
363
361
|
};
|
|
364
362
|
healthErrorMessage: {
|
|
365
|
-
type:
|
|
363
|
+
type: void 0<string, string>;
|
|
366
364
|
isOptional: true;
|
|
367
365
|
};
|
|
368
366
|
usageRequestCount: {
|
|
369
|
-
type:
|
|
367
|
+
type: void 0<number, number>;
|
|
370
368
|
isOptional: true;
|
|
371
369
|
};
|
|
372
370
|
usageSuccessCount: {
|
|
373
|
-
type:
|
|
371
|
+
type: void 0<number, number>;
|
|
374
372
|
isOptional: true;
|
|
375
373
|
};
|
|
376
374
|
usageErrorCount: {
|
|
377
|
-
type:
|
|
375
|
+
type: void 0<number, number>;
|
|
378
376
|
isOptional: true;
|
|
379
377
|
};
|
|
380
378
|
usageLastUsedAt: {
|
|
381
|
-
type:
|
|
379
|
+
type: void 0<Date, string>;
|
|
382
380
|
isOptional: true;
|
|
383
381
|
};
|
|
384
382
|
usageLastErrorAt: {
|
|
385
|
-
type:
|
|
383
|
+
type: void 0<Date, string>;
|
|
386
384
|
isOptional: true;
|
|
387
385
|
};
|
|
388
386
|
usageLastErrorCode: {
|
|
389
|
-
type:
|
|
387
|
+
type: void 0<string, string>;
|
|
390
388
|
isOptional: true;
|
|
391
389
|
};
|
|
392
390
|
createdAt: {
|
|
393
|
-
type:
|
|
391
|
+
type: void 0<Date, string>;
|
|
394
392
|
isOptional: true;
|
|
395
393
|
};
|
|
396
394
|
updatedAt: {
|
|
397
|
-
type:
|
|
395
|
+
type: void 0<Date, string>;
|
|
398
396
|
isOptional: true;
|
|
399
397
|
};
|
|
400
398
|
}>;
|
|
@@ -404,28 +402,28 @@ declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
|
|
|
404
402
|
}>, undefined>;
|
|
405
403
|
declare const TestIntegrationConnection: ContractSpec<SchemaModel<{
|
|
406
404
|
connectionId: {
|
|
407
|
-
type:
|
|
405
|
+
type: void 0<string, string>;
|
|
408
406
|
isOptional: false;
|
|
409
407
|
};
|
|
410
408
|
}>, SchemaModel<{
|
|
411
409
|
success: {
|
|
412
|
-
type:
|
|
410
|
+
type: void 0<boolean, boolean>;
|
|
413
411
|
isOptional: false;
|
|
414
412
|
};
|
|
415
413
|
status: {
|
|
416
|
-
type:
|
|
414
|
+
type: void 0<string, string>;
|
|
417
415
|
isOptional: true;
|
|
418
416
|
};
|
|
419
417
|
latencyMs: {
|
|
420
|
-
type:
|
|
418
|
+
type: void 0<number, number>;
|
|
421
419
|
isOptional: true;
|
|
422
420
|
};
|
|
423
421
|
error: {
|
|
424
|
-
type:
|
|
422
|
+
type: void 0<string, string>;
|
|
425
423
|
isOptional: true;
|
|
426
424
|
};
|
|
427
425
|
errorCode: {
|
|
428
|
-
type:
|
|
426
|
+
type: void 0<string, string>;
|
|
429
427
|
isOptional: true;
|
|
430
428
|
};
|
|
431
429
|
}>, undefined>;
|