@kohost/api-client 4.19.6 → 4.19.8-beta.0
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/cjs/models/session.cjs +3 -2
- package/dist/cjs/models/session.cjs.map +1 -1
- package/dist/cjs/schemas/session.cjs +1 -3
- package/dist/cjs/schemas/session.cjs.map +1 -1
- package/dist/cjs/schemas/session.d.cts +1 -1
- package/dist/cjs/validate.d.cts +0 -6
- package/dist/esm/models/session.js +3 -2
- package/dist/esm/models/session.js.map +1 -1
- package/dist/esm/schemas/session.d.ts +1 -1
- package/dist/esm/schemas/session.js +1 -3
- package/dist/esm/schemas/session.js.map +1 -1
- package/dist/esm/validate.d.ts +0 -6
- package/package.json +1 -1
|
@@ -33,10 +33,11 @@ class Session extends import_entity.Entity {
|
|
|
33
33
|
this.id = data.id;
|
|
34
34
|
this.type = data.type;
|
|
35
35
|
this.userId = data.userId;
|
|
36
|
-
|
|
36
|
+
if (data.organizationId !== void 0)
|
|
37
|
+
this.organizationId = data.organizationId;
|
|
37
38
|
this.userAgent = data.userAgent;
|
|
38
39
|
this.expires = data.expires;
|
|
39
|
-
this.data = data.data;
|
|
40
|
+
if (data.data !== void 0) this.data = data.data;
|
|
40
41
|
if (data.createdAt !== void 0) this.createdAt = data.createdAt;
|
|
41
42
|
if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
|
|
42
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/models/session.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateSession as validate } from \"../validate.js\";\nimport { sessionSchema, type SessionSchema } from \"../schemas/session.js\";\n\n/**\n * Data type for Session constructor - exported for backwards compatibility\n */\nexport type SessionData = SessionSchema;\n\n/**\n * Session\n */\nexport interface Session extends SessionSchema {}\nexport class Session extends Entity {\n declare schema: typeof sessionSchema;\n declare validator: typeof validate;\n\n constructor(data: SessionSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.userId = data.userId;\n this.organizationId = data.organizationId;\n this.userAgent = data.userAgent;\n this.expires = data.expires;\n this.data = data.data;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Session.prototype, \"schema\", {\n value: sessionSchema,\n});\n\nObject.defineProperty(Session.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAuB;AACvB,sBAA4C;AAC5C,qBAAkD;AAW3C,MAAM,gBAAgB,qBAAO;AAAA,EAfpC,OAeoC;AAAA;AAAA;AAAA,EAIlC,YAAY,MAAqB;AAC/B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,
|
|
1
|
+
{"version":3,"sources":["../../../.generated/models/session.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateSession as validate } from \"../validate.js\";\nimport { sessionSchema, type SessionSchema } from \"../schemas/session.js\";\n\n/**\n * Data type for Session constructor - exported for backwards compatibility\n */\nexport type SessionData = SessionSchema;\n\n/**\n * Session\n */\nexport interface Session extends SessionSchema {}\nexport class Session extends Entity {\n declare schema: typeof sessionSchema;\n declare validator: typeof validate;\n\n constructor(data: SessionSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.userId = data.userId;\n if (data.organizationId !== undefined)\n this.organizationId = data.organizationId;\n this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.data !== undefined) this.data = data.data;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Session.prototype, \"schema\", {\n value: sessionSchema,\n});\n\nObject.defineProperty(Session.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,oBAAuB;AACvB,sBAA4C;AAC5C,qBAAkD;AAW3C,MAAM,gBAAgB,qBAAO;AAAA,EAfpC,OAeoC;AAAA;AAAA;AAAA,EAIlC,YAAY,MAAqB;AAC/B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,mBAAmB;AAC1B,WAAK,iBAAiB,KAAK;AAC7B,SAAK,YAAY,KAAK;AACtB,SAAK,UAAU,KAAK;AACpB,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,QAAQ,WAAW,UAAU;AAAA,EACjD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,QAAQ,WAAW,aAAa;AAAA,EACpD,KAAK,kCAAY;AACf,WAAO,gBAAAA;AAAA,EACT,GAFK;AAGP,CAAC;","names":["validate"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/schemas/session.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { policySchema } from \"./policy\";\n\nexport const sessionSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"session.json\",\n title: \"Session\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"userId\",\n \"
|
|
1
|
+
{"version":3,"sources":["../../../.generated/schemas/session.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { policySchema } from \"./policy\";\n\nexport const sessionSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"session.json\",\n title: \"Session\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"userId\",\n \"userAgent\",\n \"expires\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"session\",\n enum: [\"session\"],\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n $ref: \"definitions.json#/definitions/date\",\n },\n data: {\n type: \"object\",\n additionalProperties: true,\n required: [\"phoneVerified\", \"properties\", \"organizationId\"],\n properties: {\n phoneVerified: {\n type: \"boolean\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n roles: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n policies: {\n type: \"array\",\n items: {\n $ref: \"policy.json#\",\n },\n },\n },\n },\n },\n organizationId: {\n type: \"string\",\n },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SessionSchema = FromSchema<\n typeof sessionSchema,\n {\n references: [typeof defs, typeof policySchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAIO,MAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,MAAM,CAAC,SAAS;AAAA,IAClB;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,UAAU,CAAC,iBAAiB,cAAc,gBAAgB;AAAA,MAC1D,YAAY;AAAA,QACV,eAAe;AAAA,UACb,MAAM;AAAA,QACR;AAAA,QACA,YAAY;AAAA,UACV,MAAM;AAAA,UACN,OAAO;AAAA,YACL,MAAM;AAAA,YACN,sBAAsB;AAAA,YACtB,YAAY;AAAA,cACV,IAAI;AAAA,gBACF,MAAM;AAAA,cACR;AAAA,cACA,OAAO;AAAA,gBACL,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,QAAQ;AAAA,gBACN,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,OAAO;AAAA,gBACL,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,UAAU;AAAA,gBACR,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,QACA,gBAAgB;AAAA,UACd,MAAM;AAAA,QACR;AAAA,MACF;AAAA,IACF;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
|
|
@@ -7,7 +7,7 @@ declare const sessionSchema: {
|
|
|
7
7
|
readonly $id: "session.json";
|
|
8
8
|
readonly title: "Session";
|
|
9
9
|
readonly type: "object";
|
|
10
|
-
readonly required: readonly ["id", "type", "userId", "
|
|
10
|
+
readonly required: readonly ["id", "type", "userId", "userAgent", "expires"];
|
|
11
11
|
readonly additionalProperties: false;
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly id: {
|
package/dist/cjs/validate.d.cts
CHANGED
|
@@ -495,23 +495,17 @@ declare const validateServer: ajv.ValidateFunction<{
|
|
|
495
495
|
type: any;
|
|
496
496
|
}>;
|
|
497
497
|
declare const validateSession: ajv.ValidateFunction<{
|
|
498
|
-
data: any;
|
|
499
498
|
id: any;
|
|
500
499
|
type: any;
|
|
501
500
|
expires: any;
|
|
502
|
-
organizationId: any;
|
|
503
501
|
userId: any;
|
|
504
502
|
userAgent: any;
|
|
505
|
-
} & {
|
|
506
|
-
data: any;
|
|
507
503
|
} & {
|
|
508
504
|
id: any;
|
|
509
505
|
} & {
|
|
510
506
|
type: any;
|
|
511
507
|
} & {
|
|
512
508
|
expires: any;
|
|
513
|
-
} & {
|
|
514
|
-
organizationId: any;
|
|
515
509
|
} & {
|
|
516
510
|
userId: any;
|
|
517
511
|
} & {
|
|
@@ -12,10 +12,11 @@ class Session extends Entity {
|
|
|
12
12
|
this.id = data.id;
|
|
13
13
|
this.type = data.type;
|
|
14
14
|
this.userId = data.userId;
|
|
15
|
-
|
|
15
|
+
if (data.organizationId !== void 0)
|
|
16
|
+
this.organizationId = data.organizationId;
|
|
16
17
|
this.userAgent = data.userAgent;
|
|
17
18
|
this.expires = data.expires;
|
|
18
|
-
this.data = data.data;
|
|
19
|
+
if (data.data !== void 0) this.data = data.data;
|
|
19
20
|
if (data.createdAt !== void 0) this.createdAt = data.createdAt;
|
|
20
21
|
if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
|
|
21
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/models/session.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateSession as validate } from \"../validate.js\";\nimport { sessionSchema, type SessionSchema } from \"../schemas/session.js\";\n\n/**\n * Data type for Session constructor - exported for backwards compatibility\n */\nexport type SessionData = SessionSchema;\n\n/**\n * Session\n */\nexport interface Session extends SessionSchema {}\nexport class Session extends Entity {\n declare schema: typeof sessionSchema;\n declare validator: typeof validate;\n\n constructor(data: SessionSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.userId = data.userId;\n this.organizationId = data.organizationId;\n this.userAgent = data.userAgent;\n this.expires = data.expires;\n this.data = data.data;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Session.prototype, \"schema\", {\n value: sessionSchema,\n});\n\nObject.defineProperty(Session.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,mBAAmB,gBAAgB;AAC5C,SAAS,qBAAyC;AAW3C,MAAM,gBAAgB,OAAO;AAAA,EAfpC,OAeoC;AAAA;AAAA;AAAA,EAIlC,YAAY,MAAqB;AAC/B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,
|
|
1
|
+
{"version":3,"sources":["../../../.generated/models/session.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateSession as validate } from \"../validate.js\";\nimport { sessionSchema, type SessionSchema } from \"../schemas/session.js\";\n\n/**\n * Data type for Session constructor - exported for backwards compatibility\n */\nexport type SessionData = SessionSchema;\n\n/**\n * Session\n */\nexport interface Session extends SessionSchema {}\nexport class Session extends Entity {\n declare schema: typeof sessionSchema;\n declare validator: typeof validate;\n\n constructor(data: SessionSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n this.userId = data.userId;\n if (data.organizationId !== undefined)\n this.organizationId = data.organizationId;\n this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.data !== undefined) this.data = data.data;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n }\n}\n\nObject.defineProperty(Session.prototype, \"schema\", {\n value: sessionSchema,\n});\n\nObject.defineProperty(Session.prototype, \"validator\", {\n get: function () {\n return validate;\n },\n});\n"],"mappings":";;AAEA,SAAS,cAAc;AACvB,SAAS,mBAAmB,gBAAgB;AAC5C,SAAS,qBAAyC;AAW3C,MAAM,gBAAgB,OAAO;AAAA,EAfpC,OAeoC;AAAA;AAAA;AAAA,EAIlC,YAAY,MAAqB;AAC/B,UAAM,IAAI;AACV,SAAK,KAAK,KAAK;AACf,SAAK,OAAO,KAAK;AACjB,SAAK,SAAS,KAAK;AACnB,QAAI,KAAK,mBAAmB;AAC1B,WAAK,iBAAiB,KAAK;AAC7B,SAAK,YAAY,KAAK;AACtB,SAAK,UAAU,KAAK;AACpB,QAAI,KAAK,SAAS,OAAW,MAAK,OAAO,KAAK;AAC9C,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AACxD,QAAI,KAAK,cAAc,OAAW,MAAK,YAAY,KAAK;AAAA,EAC1D;AACF;AAEA,OAAO,eAAe,QAAQ,WAAW,UAAU;AAAA,EACjD,OAAO;AACT,CAAC;AAED,OAAO,eAAe,QAAQ,WAAW,aAAa;AAAA,EACpD,KAAK,kCAAY;AACf,WAAO;AAAA,EACT,GAFK;AAGP,CAAC;","names":[]}
|
|
@@ -7,7 +7,7 @@ declare const sessionSchema: {
|
|
|
7
7
|
readonly $id: "session.json";
|
|
8
8
|
readonly title: "Session";
|
|
9
9
|
readonly type: "object";
|
|
10
|
-
readonly required: readonly ["id", "type", "userId", "
|
|
10
|
+
readonly required: readonly ["id", "type", "userId", "userAgent", "expires"];
|
|
11
11
|
readonly additionalProperties: false;
|
|
12
12
|
readonly properties: {
|
|
13
13
|
readonly id: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../.generated/schemas/session.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { policySchema } from \"./policy\";\n\nexport const sessionSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"session.json\",\n title: \"Session\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"userId\",\n \"
|
|
1
|
+
{"version":3,"sources":["../../../.generated/schemas/session.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { policySchema } from \"./policy\";\n\nexport const sessionSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"session.json\",\n title: \"Session\",\n type: \"object\",\n required: [\n \"id\",\n \"type\",\n \"userId\",\n \"userAgent\",\n \"expires\",\n ],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"session\",\n enum: [\"session\"],\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n $ref: \"definitions.json#/definitions/date\",\n },\n data: {\n type: \"object\",\n additionalProperties: true,\n required: [\"phoneVerified\", \"properties\", \"organizationId\"],\n properties: {\n phoneVerified: {\n type: \"boolean\",\n },\n properties: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n roles: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n spaces: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n rooms: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n policies: {\n type: \"array\",\n items: {\n $ref: \"policy.json#\",\n },\n },\n },\n },\n },\n organizationId: {\n type: \"string\",\n },\n },\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n} as const;\n\nexport type SessionSchema = FromSchema<\n typeof sessionSchema,\n {\n references: [typeof defs, typeof policySchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"AAIO,MAAM,gBAAgB;AAAA,EAC3B,SAAS;AAAA,EACT,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,UAAU;AAAA,IACR;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,sBAAsB;AAAA,EACtB,YAAY;AAAA,IACV,IAAI;AAAA,MACF,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,MACT,MAAM,CAAC,SAAS;AAAA,IAClB;AAAA,IACA,QAAQ;AAAA,MACN,MAAM;AAAA,IACR;AAAA,IACA,gBAAgB;AAAA,MACd,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,SAAS;AAAA,MACP,MAAM;AAAA,IACR;AAAA,IACA,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,sBAAsB;AAAA,MACtB,UAAU,CAAC,iBAAiB,cAAc,gBAAgB;AAAA,MAC1D,YAAY;AAAA,QACV,eAAe;AAAA,UACb,MAAM;AAAA,QACR;AAAA,QACA,YAAY;AAAA,UACV,MAAM;AAAA,UACN,OAAO;AAAA,YACL,MAAM;AAAA,YACN,sBAAsB;AAAA,YACtB,YAAY;AAAA,cACV,IAAI;AAAA,gBACF,MAAM;AAAA,cACR;AAAA,cACA,OAAO;AAAA,gBACL,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,QAAQ;AAAA,gBACN,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,OAAO;AAAA,gBACL,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,cACA,UAAU;AAAA,gBACR,MAAM;AAAA,gBACN,OAAO;AAAA,kBACL,MAAM;AAAA,gBACR;AAAA,cACF;AAAA,YACF;AAAA,UACF;AAAA,QACF;AAAA,QACA,gBAAgB;AAAA,UACd,MAAM;AAAA,QACR;AAAA,MACF;AAAA,IACF;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,IACA,WAAW;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF;","names":[]}
|
package/dist/esm/validate.d.ts
CHANGED
|
@@ -495,23 +495,17 @@ declare const validateServer: ajv.ValidateFunction<{
|
|
|
495
495
|
type: any;
|
|
496
496
|
}>;
|
|
497
497
|
declare const validateSession: ajv.ValidateFunction<{
|
|
498
|
-
data: any;
|
|
499
498
|
id: any;
|
|
500
499
|
type: any;
|
|
501
500
|
expires: any;
|
|
502
|
-
organizationId: any;
|
|
503
501
|
userId: any;
|
|
504
502
|
userAgent: any;
|
|
505
|
-
} & {
|
|
506
|
-
data: any;
|
|
507
503
|
} & {
|
|
508
504
|
id: any;
|
|
509
505
|
} & {
|
|
510
506
|
type: any;
|
|
511
507
|
} & {
|
|
512
508
|
expires: any;
|
|
513
|
-
} & {
|
|
514
|
-
organizationId: any;
|
|
515
509
|
} & {
|
|
516
510
|
userId: any;
|
|
517
511
|
} & {
|