@lssm/lib.contracts 1.7.0 → 1.7.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/app-config/contracts.d.ts +51 -49
- 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 +28 -26
- 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 +81 -79
- 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 +1 -0
- package/dist/client/react/form-render.d.ts.map +1 -1
- package/dist/contracts-adapter-input.d.ts +1 -0
- package/dist/contracts-adapter-input.d.ts.map +1 -1
- package/dist/events.d.ts +1 -0
- 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 +1 -0
- package/dist/forms.d.ts.map +1 -1
- package/dist/install.d.ts +1 -0
- package/dist/install.d.ts.map +1 -1
- package/dist/integrations/contracts.d.ts +103 -101
- 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 +67 -65
- 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 +35 -33
- 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 +49 -47
- 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 +57 -54
- 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 +67 -65
- 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 +30 -28
- 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 +1 -0
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.v2.d.ts +1 -0
- 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 +1 -0
- package/dist/registry.d.ts.map +1 -1
- package/dist/resources.d.ts.map +1 -1
- package/dist/schema/{src → dist}/FieldType.js +1 -1
- package/dist/schema/dist/FieldType.js.map +1 -0
- package/dist/schema/dist/ScalarTypeEnum.js +2 -0
- package/dist/schema/dist/ScalarTypeEnum.js.map +1 -0
- package/dist/schema/{src → dist}/SchemaModel.js +1 -1
- package/dist/schema/dist/SchemaModel.js.map +1 -0
- package/dist/schema/dist/index.js +1 -0
- package/dist/spec.d.ts +1 -0
- package/dist/spec.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/schema/src/FieldType.js.map +0 -1
- package/dist/schema/src/ScalarTypeEnum.js +0 -2
- package/dist/schema/src/ScalarTypeEnum.js.map +0 -1
- package/dist/schema/src/SchemaModel.js.map +0 -1
- package/dist/schema/src/index.js +0 -1
- /package/dist/schema/{src → dist}/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;iBAgChC,iCAAiC,sBACtC,iBAAA,CAAkB,cAAc;EAjC3B,mBAAa,EAAA,CAAA,KAAA,EA8HS,cA9HwB,GAAA,IAAA,EAAA,GAAA,IAAA;AAgC9D,CAAA"}
|
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;;AAUW,UAVM,SAUN,CAAA,UAV0B,cAU1B,CAAA,CAAA;EAEG;EAAa,IAAA,EAAA,MAAA;EAIX;EAAsB,OAAA,EAAA,MAAA;EACvB;EAAV,WAAA,CAAA,EAAA,MAAA;EACQ;EAAV,GAAA,CAAA,EAAA,MAAA,EAAA;EAAS;EAIK,OAAA,EAZN,CAYM;EAeL;EAEC,SAAA,CAAA,EA3BC,aA2B2C;;;iBAvBzC,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/dist/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":"+BAuBA,SAAgB,EACd,EACc,CACd,OAAO,EAoBT,MAAa,GAAY,EAAc,IACrC,GAAG,EAAK,IAAI"}
|
package/dist/forms.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
+
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
2
3
|
|
|
3
4
|
//#region src/forms.d.ts
|
|
4
5
|
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;UAiBK,UAAA;EAjBL;EAiBK,IAAA,EAAA,MAAA;EAOA,EAAA,CAAA,EAJV,WAImB;EACjB,KAAA,CAAA,EAAA,OAAA;;AAED,UAHS,SAAA,CAGT;EACA,IAAA,CAAA,EAHC,UAGD;EAAS,GAAA,CAAA,EAFT,SAES,EAAA;EAGA,GAAA,CAAA,EAJT,SAImB,EAAA;EAOf,GAAA,CAAA,EAVJ,SAUI;AAUZ;AAkBgB,UAnCC,UAAA,CAmCD;EACA,SAAA,EAAA,MAAA;EACC,KAAA,EAAA,MAAA,GAAA,MAAA,GAAA,OAAA;EAGL,eAAA,CAAA,EAAA,MAAA;EAAM,QAAA,CAAA,EAAA,OAAA;AAqBlB;AAgBiB,KAtEL,aAAA,GAsEuB;EAQlB,IAAA,EAAA,QAAA;EAGN,OAAA,EAAA,SAhF6B,UAgF7B,EAAA;CAAyB,GAAA;EAHK,IAAA,EAAA,UAAA;EAAa,WAAA,EAAA,MAAA;EAMrC;EAKA,IAAA,EAAA,MAAA,EAAA;EAGN,IAAA,CAAA,EArFE,MAqFF,CAAA,MAAA,EAAA,OAAA,CAAA;CAAyB;AAHI,UA/EvB,aAAA,CA+EuB;EAAa;EAMpC,IAAA,EAAA,MAAA,GAAA,UAAgB,GAAA,QAAQ,GAAA,UAAa,GAAA,OAAA,GAAA,QAAA,GAAA,OAAA,GAAA,OAAA;EAKrC;EAOA,IAAA,CAAA,EAAA,MAAA;EAKH,SAAA,CAAA,EAAA,MAAA;EAAW,eAAA,CAAA,EAAA,MAAA;EAAiB,eAAA,CAAA,EAAA,MAAA;EAApC,QAAA,CAAA,EAAA,OAAA;EALkC;EAAa,WAAA,CAAA,EA/ErC,SA+EqC;EAUzC,WA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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";
|
|
7
8
|
|
|
8
9
|
//#region src/install.d.ts
|
|
9
10
|
/** 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":";;;;;;;;;;KASY,uBAAuB,mBAAmB;AAA1C,KACA,YADS,CAAA,aACiB,eADgB,CAAA,GACG,cADC,CAExD,SAFwD,CAE9C,IAF8C,CAAA,SAAA,IAAA,GAEzB,cAFyB,GAER,WAFQ,CAEI,SAFJ,CAEc,IAFd,CAAA,CAAA,CAAA;AAC9C,KAIA,UAJY,CAAA,aAIY,eAJZ,CAAA,GAI+B,IAJ/B,CAAA,IAAA,CAAA,CAAA,QAAA,CAAA;KAMnB,YANiC,CAAA,UAMV,qBANU,CAAA,OAAA,CAAA,CAAA,GAMwB,MANxB,CAOpC,CAPoC,CAAA,SAAA,CAAA,SAAA,MAAA,GAON,CAPM,CAAA,SAAA,CAAA,GAAA,IAAA,EAAA,MAAA,GAAA,MAAA,CAAA;KAWjC,cAVO,CAAA,CAAA,CAAA,GAWV,CAXU,SAWA,qBAXA,CAAA,OAAA,CAAA,GAYN,CAZM,CAAA,MAAA,CAAA,SAAA,IAAA,GAaJ,YAbI,CAaS,CAbT,CAAA,EAAA,GAcJ,YAdI,CAcS,CAdT,CAAA,GAAA,KAAA;AAAV,KAiBU,iBAjBV,CAAA,aAiByC,eAjBzC,CAAA,GAkBA,UAlBA,CAkBW,IAlBX,CAAA,SAkByB,cAlBzB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AA,CAAA;EAAlB;EAAR,KAAA,EAAA,CAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,MAAA,EAAA,OAAA,EAAA,OAAA,EAAA,GAuD4D,OAvD5D,CAAA,IAAA,CAAA;EAAO;EAGA,MAAA,EAAA,CAAA,GAAA,EAwDY,iBAxDF,CAwDoB,CAxDpB,CAAA,EAAA,GAwDsB,OAxDtB,CAAA,IAAA,CAAA;CAElB;;;;;AAIA,iBA6DY,SA7DZ,CAAA,UA6DgC,eA7DhC,CAAA,CAAA,GAAA,EA8DG,YA9DH,EAAA,IAAA,EA+DI,CA/DJ,EAAA,OAAA,EAgEO,UAhEP,CAgEkB,CAhElB,CAAA,CAAA,EAiED,YAjEC;;;;;;AAIe,iBAsEH,EAtEG,CAAA,UAsEU,eAtEV,CAAA,CAAA,IAAA,EAuEX,CAvEW,EAAA,OAAA,EAwER,UAxEQ,CAwEG,eAxEH,CAAA,CAAA,EAAA;EAAK,IAAA,GAAA;EAMnB,OAAA,YAAA,gBAAiB,CAAA;EAElB,OAAA,EAAA,CAAA,GAAA,EAqEe,YArEf,EAAA,GAqE2B,YArE3B;CACA"}
|
|
@@ -1,398 +1,400 @@
|
|
|
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";
|
|
3
5
|
|
|
4
6
|
//#region src/integrations/contracts.d.ts
|
|
5
7
|
declare const CreateIntegrationConnection: ContractSpec<SchemaModel<{
|
|
6
8
|
tenantId: {
|
|
7
|
-
type:
|
|
9
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
8
10
|
isOptional: false;
|
|
9
11
|
};
|
|
10
12
|
integrationKey: {
|
|
11
|
-
type:
|
|
13
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
12
14
|
isOptional: false;
|
|
13
15
|
};
|
|
14
16
|
integrationVersion: {
|
|
15
|
-
type:
|
|
17
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
16
18
|
isOptional: false;
|
|
17
19
|
};
|
|
18
20
|
label: {
|
|
19
|
-
type:
|
|
21
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
20
22
|
isOptional: false;
|
|
21
23
|
};
|
|
22
24
|
ownershipMode: {
|
|
23
|
-
type:
|
|
25
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
24
26
|
isOptional: false;
|
|
25
27
|
};
|
|
26
28
|
externalAccountId: {
|
|
27
|
-
type:
|
|
29
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
28
30
|
isOptional: true;
|
|
29
31
|
};
|
|
30
32
|
secretProvider: {
|
|
31
|
-
type:
|
|
33
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
32
34
|
isOptional: false;
|
|
33
35
|
};
|
|
34
36
|
secretRef: {
|
|
35
|
-
type:
|
|
37
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
36
38
|
isOptional: false;
|
|
37
39
|
};
|
|
38
40
|
environment: {
|
|
39
|
-
type:
|
|
41
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
40
42
|
isOptional: true;
|
|
41
43
|
};
|
|
42
44
|
config: {
|
|
43
|
-
type:
|
|
45
|
+
type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
44
46
|
isOptional: false;
|
|
45
47
|
};
|
|
46
48
|
}>, SchemaModel<{
|
|
47
49
|
id: {
|
|
48
|
-
type:
|
|
50
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
49
51
|
isOptional: false;
|
|
50
52
|
};
|
|
51
53
|
tenantId: {
|
|
52
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
53
55
|
isOptional: false;
|
|
54
56
|
};
|
|
55
57
|
integrationKey: {
|
|
56
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
57
59
|
isOptional: false;
|
|
58
60
|
};
|
|
59
61
|
integrationVersion: {
|
|
60
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
61
63
|
isOptional: false;
|
|
62
64
|
};
|
|
63
65
|
label: {
|
|
64
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
65
67
|
isOptional: false;
|
|
66
68
|
};
|
|
67
69
|
ownershipMode: {
|
|
68
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
69
71
|
isOptional: false;
|
|
70
72
|
};
|
|
71
73
|
externalAccountId: {
|
|
72
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
73
75
|
isOptional: true;
|
|
74
76
|
};
|
|
75
77
|
secretProvider: {
|
|
76
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
77
79
|
isOptional: false;
|
|
78
80
|
};
|
|
79
81
|
secretRef: {
|
|
80
|
-
type:
|
|
82
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
81
83
|
isOptional: false;
|
|
82
84
|
};
|
|
83
85
|
status: {
|
|
84
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
85
87
|
isOptional: false;
|
|
86
88
|
};
|
|
87
89
|
environment: {
|
|
88
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
89
91
|
isOptional: true;
|
|
90
92
|
};
|
|
91
93
|
healthStatus: {
|
|
92
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
93
95
|
isOptional: true;
|
|
94
96
|
};
|
|
95
97
|
healthCheckedAt: {
|
|
96
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
97
99
|
isOptional: true;
|
|
98
100
|
};
|
|
99
101
|
healthLatencyMs: {
|
|
100
|
-
type:
|
|
102
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
101
103
|
isOptional: true;
|
|
102
104
|
};
|
|
103
105
|
healthErrorCode: {
|
|
104
|
-
type:
|
|
106
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
105
107
|
isOptional: true;
|
|
106
108
|
};
|
|
107
109
|
healthErrorMessage: {
|
|
108
|
-
type:
|
|
110
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
109
111
|
isOptional: true;
|
|
110
112
|
};
|
|
111
113
|
usageRequestCount: {
|
|
112
|
-
type:
|
|
114
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
113
115
|
isOptional: true;
|
|
114
116
|
};
|
|
115
117
|
usageSuccessCount: {
|
|
116
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
117
119
|
isOptional: true;
|
|
118
120
|
};
|
|
119
121
|
usageErrorCount: {
|
|
120
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
121
123
|
isOptional: true;
|
|
122
124
|
};
|
|
123
125
|
usageLastUsedAt: {
|
|
124
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
125
127
|
isOptional: true;
|
|
126
128
|
};
|
|
127
129
|
usageLastErrorAt: {
|
|
128
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
129
131
|
isOptional: true;
|
|
130
132
|
};
|
|
131
133
|
usageLastErrorCode: {
|
|
132
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
133
135
|
isOptional: true;
|
|
134
136
|
};
|
|
135
137
|
createdAt: {
|
|
136
|
-
type:
|
|
138
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
137
139
|
isOptional: true;
|
|
138
140
|
};
|
|
139
141
|
updatedAt: {
|
|
140
|
-
type:
|
|
142
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
141
143
|
isOptional: true;
|
|
142
144
|
};
|
|
143
145
|
}>, undefined>;
|
|
144
146
|
declare const UpdateIntegrationConnection: ContractSpec<SchemaModel<{
|
|
145
147
|
connectionId: {
|
|
146
|
-
type:
|
|
148
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
147
149
|
isOptional: false;
|
|
148
150
|
};
|
|
149
151
|
label: {
|
|
150
|
-
type:
|
|
152
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
151
153
|
isOptional: true;
|
|
152
154
|
};
|
|
153
155
|
status: {
|
|
154
|
-
type:
|
|
156
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
155
157
|
isOptional: true;
|
|
156
158
|
};
|
|
157
159
|
ownershipMode: {
|
|
158
|
-
type:
|
|
160
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
159
161
|
isOptional: true;
|
|
160
162
|
};
|
|
161
163
|
externalAccountId: {
|
|
162
|
-
type:
|
|
164
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
163
165
|
isOptional: true;
|
|
164
166
|
};
|
|
165
167
|
secretProvider: {
|
|
166
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
167
169
|
isOptional: true;
|
|
168
170
|
};
|
|
169
171
|
secretRef: {
|
|
170
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
171
173
|
isOptional: true;
|
|
172
174
|
};
|
|
173
175
|
config: {
|
|
174
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema445.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
175
177
|
isOptional: true;
|
|
176
178
|
};
|
|
177
179
|
}>, SchemaModel<{
|
|
178
180
|
id: {
|
|
179
|
-
type:
|
|
181
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
180
182
|
isOptional: false;
|
|
181
183
|
};
|
|
182
184
|
tenantId: {
|
|
183
|
-
type:
|
|
185
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
184
186
|
isOptional: false;
|
|
185
187
|
};
|
|
186
188
|
integrationKey: {
|
|
187
|
-
type:
|
|
189
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
188
190
|
isOptional: false;
|
|
189
191
|
};
|
|
190
192
|
integrationVersion: {
|
|
191
|
-
type:
|
|
193
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
192
194
|
isOptional: false;
|
|
193
195
|
};
|
|
194
196
|
label: {
|
|
195
|
-
type:
|
|
197
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
196
198
|
isOptional: false;
|
|
197
199
|
};
|
|
198
200
|
ownershipMode: {
|
|
199
|
-
type:
|
|
201
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
200
202
|
isOptional: false;
|
|
201
203
|
};
|
|
202
204
|
externalAccountId: {
|
|
203
|
-
type:
|
|
205
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
204
206
|
isOptional: true;
|
|
205
207
|
};
|
|
206
208
|
secretProvider: {
|
|
207
|
-
type:
|
|
209
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
208
210
|
isOptional: false;
|
|
209
211
|
};
|
|
210
212
|
secretRef: {
|
|
211
|
-
type:
|
|
213
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
212
214
|
isOptional: false;
|
|
213
215
|
};
|
|
214
216
|
status: {
|
|
215
|
-
type:
|
|
217
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
216
218
|
isOptional: false;
|
|
217
219
|
};
|
|
218
220
|
environment: {
|
|
219
|
-
type:
|
|
221
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
220
222
|
isOptional: true;
|
|
221
223
|
};
|
|
222
224
|
healthStatus: {
|
|
223
|
-
type:
|
|
225
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
224
226
|
isOptional: true;
|
|
225
227
|
};
|
|
226
228
|
healthCheckedAt: {
|
|
227
|
-
type:
|
|
229
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
228
230
|
isOptional: true;
|
|
229
231
|
};
|
|
230
232
|
healthLatencyMs: {
|
|
231
|
-
type:
|
|
233
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
232
234
|
isOptional: true;
|
|
233
235
|
};
|
|
234
236
|
healthErrorCode: {
|
|
235
|
-
type:
|
|
237
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
236
238
|
isOptional: true;
|
|
237
239
|
};
|
|
238
240
|
healthErrorMessage: {
|
|
239
|
-
type:
|
|
241
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
240
242
|
isOptional: true;
|
|
241
243
|
};
|
|
242
244
|
usageRequestCount: {
|
|
243
|
-
type:
|
|
245
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
244
246
|
isOptional: true;
|
|
245
247
|
};
|
|
246
248
|
usageSuccessCount: {
|
|
247
|
-
type:
|
|
249
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
248
250
|
isOptional: true;
|
|
249
251
|
};
|
|
250
252
|
usageErrorCount: {
|
|
251
|
-
type:
|
|
253
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
252
254
|
isOptional: true;
|
|
253
255
|
};
|
|
254
256
|
usageLastUsedAt: {
|
|
255
|
-
type:
|
|
257
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
256
258
|
isOptional: true;
|
|
257
259
|
};
|
|
258
260
|
usageLastErrorAt: {
|
|
259
|
-
type:
|
|
261
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
260
262
|
isOptional: true;
|
|
261
263
|
};
|
|
262
264
|
usageLastErrorCode: {
|
|
263
|
-
type:
|
|
265
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
264
266
|
isOptional: true;
|
|
265
267
|
};
|
|
266
268
|
createdAt: {
|
|
267
|
-
type:
|
|
269
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
268
270
|
isOptional: true;
|
|
269
271
|
};
|
|
270
272
|
updatedAt: {
|
|
271
|
-
type:
|
|
273
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
272
274
|
isOptional: true;
|
|
273
275
|
};
|
|
274
276
|
}>, undefined>;
|
|
275
277
|
declare const DeleteIntegrationConnection: ContractSpec<SchemaModel<{
|
|
276
278
|
connectionId: {
|
|
277
|
-
type:
|
|
279
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
278
280
|
isOptional: false;
|
|
279
281
|
};
|
|
280
282
|
}>, SchemaModel<{
|
|
281
283
|
success: {
|
|
282
|
-
type:
|
|
284
|
+
type: _lssm_lib_schema445.FieldType<boolean, boolean>;
|
|
283
285
|
isOptional: false;
|
|
284
286
|
};
|
|
285
287
|
}>, undefined>;
|
|
286
288
|
declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
|
|
287
289
|
tenantId: {
|
|
288
|
-
type:
|
|
290
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
289
291
|
isOptional: false;
|
|
290
292
|
};
|
|
291
293
|
category: {
|
|
292
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
293
295
|
isOptional: true;
|
|
294
296
|
};
|
|
295
297
|
status: {
|
|
296
|
-
type:
|
|
298
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
297
299
|
isOptional: true;
|
|
298
300
|
};
|
|
299
301
|
}>, SchemaModel<{
|
|
300
302
|
connections: {
|
|
301
303
|
type: SchemaModel<{
|
|
302
304
|
id: {
|
|
303
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
304
306
|
isOptional: false;
|
|
305
307
|
};
|
|
306
308
|
tenantId: {
|
|
307
|
-
type:
|
|
309
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
308
310
|
isOptional: false;
|
|
309
311
|
};
|
|
310
312
|
integrationKey: {
|
|
311
|
-
type:
|
|
313
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
312
314
|
isOptional: false;
|
|
313
315
|
};
|
|
314
316
|
integrationVersion: {
|
|
315
|
-
type:
|
|
317
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
316
318
|
isOptional: false;
|
|
317
319
|
};
|
|
318
320
|
label: {
|
|
319
|
-
type:
|
|
321
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
320
322
|
isOptional: false;
|
|
321
323
|
};
|
|
322
324
|
ownershipMode: {
|
|
323
|
-
type:
|
|
325
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
324
326
|
isOptional: false;
|
|
325
327
|
};
|
|
326
328
|
externalAccountId: {
|
|
327
|
-
type:
|
|
329
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
328
330
|
isOptional: true;
|
|
329
331
|
};
|
|
330
332
|
secretProvider: {
|
|
331
|
-
type:
|
|
333
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
332
334
|
isOptional: false;
|
|
333
335
|
};
|
|
334
336
|
secretRef: {
|
|
335
|
-
type:
|
|
337
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
336
338
|
isOptional: false;
|
|
337
339
|
};
|
|
338
340
|
status: {
|
|
339
|
-
type:
|
|
341
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
340
342
|
isOptional: false;
|
|
341
343
|
};
|
|
342
344
|
environment: {
|
|
343
|
-
type:
|
|
345
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
344
346
|
isOptional: true;
|
|
345
347
|
};
|
|
346
348
|
healthStatus: {
|
|
347
|
-
type:
|
|
349
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
348
350
|
isOptional: true;
|
|
349
351
|
};
|
|
350
352
|
healthCheckedAt: {
|
|
351
|
-
type:
|
|
353
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
352
354
|
isOptional: true;
|
|
353
355
|
};
|
|
354
356
|
healthLatencyMs: {
|
|
355
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
356
358
|
isOptional: true;
|
|
357
359
|
};
|
|
358
360
|
healthErrorCode: {
|
|
359
|
-
type:
|
|
361
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
360
362
|
isOptional: true;
|
|
361
363
|
};
|
|
362
364
|
healthErrorMessage: {
|
|
363
|
-
type:
|
|
365
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
364
366
|
isOptional: true;
|
|
365
367
|
};
|
|
366
368
|
usageRequestCount: {
|
|
367
|
-
type:
|
|
369
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
368
370
|
isOptional: true;
|
|
369
371
|
};
|
|
370
372
|
usageSuccessCount: {
|
|
371
|
-
type:
|
|
373
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
372
374
|
isOptional: true;
|
|
373
375
|
};
|
|
374
376
|
usageErrorCount: {
|
|
375
|
-
type:
|
|
377
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
376
378
|
isOptional: true;
|
|
377
379
|
};
|
|
378
380
|
usageLastUsedAt: {
|
|
379
|
-
type:
|
|
381
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
380
382
|
isOptional: true;
|
|
381
383
|
};
|
|
382
384
|
usageLastErrorAt: {
|
|
383
|
-
type:
|
|
385
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
384
386
|
isOptional: true;
|
|
385
387
|
};
|
|
386
388
|
usageLastErrorCode: {
|
|
387
|
-
type:
|
|
389
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
388
390
|
isOptional: true;
|
|
389
391
|
};
|
|
390
392
|
createdAt: {
|
|
391
|
-
type:
|
|
393
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
392
394
|
isOptional: true;
|
|
393
395
|
};
|
|
394
396
|
updatedAt: {
|
|
395
|
-
type:
|
|
397
|
+
type: _lssm_lib_schema445.FieldType<Date, string>;
|
|
396
398
|
isOptional: true;
|
|
397
399
|
};
|
|
398
400
|
}>;
|
|
@@ -402,28 +404,28 @@ declare const ListIntegrationConnections: ContractSpec<SchemaModel<{
|
|
|
402
404
|
}>, undefined>;
|
|
403
405
|
declare const TestIntegrationConnection: ContractSpec<SchemaModel<{
|
|
404
406
|
connectionId: {
|
|
405
|
-
type:
|
|
407
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
406
408
|
isOptional: false;
|
|
407
409
|
};
|
|
408
410
|
}>, SchemaModel<{
|
|
409
411
|
success: {
|
|
410
|
-
type:
|
|
412
|
+
type: _lssm_lib_schema445.FieldType<boolean, boolean>;
|
|
411
413
|
isOptional: false;
|
|
412
414
|
};
|
|
413
415
|
status: {
|
|
414
|
-
type:
|
|
416
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
415
417
|
isOptional: true;
|
|
416
418
|
};
|
|
417
419
|
latencyMs: {
|
|
418
|
-
type:
|
|
420
|
+
type: _lssm_lib_schema445.FieldType<number, number>;
|
|
419
421
|
isOptional: true;
|
|
420
422
|
};
|
|
421
423
|
error: {
|
|
422
|
-
type:
|
|
424
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
423
425
|
isOptional: true;
|
|
424
426
|
};
|
|
425
427
|
errorCode: {
|
|
426
|
-
type:
|
|
428
|
+
type: _lssm_lib_schema445.FieldType<string, string>;
|
|
427
429
|
isOptional: true;
|
|
428
430
|
};
|
|
429
431
|
}>, undefined>;
|