@kohost/api-client 7.25.0 → 7.26.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.
@@ -12,6 +12,7 @@ var Credential = class extends Entity {
12
12
  if (data.discriminator !== void 0) this.discriminator = data.discriminator;
13
13
  this.credential = data.credential;
14
14
  if (data.keyHash !== void 0) this.keyHash = data.keyHash;
15
+ if (data.allowedOperations !== void 0) this.allowedOperations = data.allowedOperations;
15
16
  if (data.userId !== void 0) this.userId = data.userId;
16
17
  if (data.organizationId !== void 0) this.organizationId = data.organizationId;
17
18
  if (data.propertyId !== void 0) this.propertyId = data.propertyId;
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","names":["validate"],"sources":["../../.generated/models/credential.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateCredential as validate } from \"../validate.js\";\nimport { credentialSchema, type CredentialSchema } from \"../schemas/credential.js\";\n\n/**\n * Data type for Credential constructor - exported for backwards compatibility\n */\nexport type CredentialData = CredentialSchema;\n\n/**\n * Credential\n */\nexport interface Credential extends CredentialSchema {}\nexport class Credential extends Entity {\n declare schema: typeof credentialSchema;\n declare validator: typeof validate;\n\n constructor(data: CredentialSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n if (data.driver !== undefined) this.driver = data.driver;\n if (data.name !== undefined) this.name = data.name;\n if (data.discriminator !== undefined) this.discriminator = data.discriminator;\n this.credential = data.credential;\n if (data.keyHash !== undefined) this.keyHash = data.keyHash;\n if (data.userId !== undefined) this.userId = data.userId;\n if (data.organizationId !== undefined) this.organizationId = data.organizationId;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.deviceId !== undefined) this.deviceId = data.deviceId;\n if (data.userAgent !== undefined) this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n }\n\n\n\n\n\n\n\n\n}\n\nObject.defineProperty(Credential.prototype, \"schema\", {\n value: credentialSchema\n});\n\nObject.defineProperty(Credential.prototype, \"validator\", {\n get: function() { return validate; }\n});\n"],"mappings":";;;;AAeA,IAAa,aAAb,cAAgC,OAAO;CAIrC,YAAY,MAAwB;EAClC,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,SAAS,KAAA,GAAW,KAAK,OAAO,KAAK;EAC9C,IAAI,KAAK,kBAAkB,KAAA,GAAW,KAAK,gBAAgB,KAAK;EAChE,KAAK,aAAa,KAAK;EACvB,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,mBAAmB,KAAA,GAAW,KAAK,iBAAiB,KAAK;EAClE,IAAI,KAAK,eAAe,KAAA,GAAW,KAAK,aAAa,KAAK;EAC1D,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,KAAK,UAAU,KAAK;EACpB,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;CACxD;AASF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU,EACpD,OAAO,iBACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa,EACvD,KAAK,WAAW;CAAE,OAAOA;AAAU,EACrC,CAAC"}
1
+ {"version":3,"file":"credential.js","names":["validate"],"sources":["../../.generated/models/credential.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nimport { Entity } from \"./entity.js\";\nimport { validateCredential as validate } from \"../validate.js\";\nimport { credentialSchema, type CredentialSchema } from \"../schemas/credential.js\";\n\n/**\n * Data type for Credential constructor - exported for backwards compatibility\n */\nexport type CredentialData = CredentialSchema;\n\n/**\n * Credential\n */\nexport interface Credential extends CredentialSchema {}\nexport class Credential extends Entity {\n declare schema: typeof credentialSchema;\n declare validator: typeof validate;\n\n constructor(data: CredentialSchema) {\n super(data);\n this.id = data.id;\n this.type = data.type;\n if (data.driver !== undefined) this.driver = data.driver;\n if (data.name !== undefined) this.name = data.name;\n if (data.discriminator !== undefined) this.discriminator = data.discriminator;\n this.credential = data.credential;\n if (data.keyHash !== undefined) this.keyHash = data.keyHash;\n if (data.allowedOperations !== undefined) this.allowedOperations = data.allowedOperations;\n if (data.userId !== undefined) this.userId = data.userId;\n if (data.organizationId !== undefined) this.organizationId = data.organizationId;\n if (data.propertyId !== undefined) this.propertyId = data.propertyId;\n if (data.deviceId !== undefined) this.deviceId = data.deviceId;\n if (data.userAgent !== undefined) this.userAgent = data.userAgent;\n this.expires = data.expires;\n if (data.createdAt !== undefined) this.createdAt = data.createdAt;\n if (data.updatedAt !== undefined) this.updatedAt = data.updatedAt;\n if (data.systemId !== undefined) this.systemId = data.systemId;\n }\n\n\n\n\n\n\n\n\n}\n\nObject.defineProperty(Credential.prototype, \"schema\", {\n value: credentialSchema\n});\n\nObject.defineProperty(Credential.prototype, \"validator\", {\n get: function() { return validate; }\n});\n"],"mappings":";;;;AAeA,IAAa,aAAb,cAAgC,OAAO;CAIrC,YAAY,MAAwB;EAClC,MAAM,IAAI;EACV,KAAK,KAAK,KAAK;EACf,KAAK,OAAO,KAAK;EACjB,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,SAAS,KAAA,GAAW,KAAK,OAAO,KAAK;EAC9C,IAAI,KAAK,kBAAkB,KAAA,GAAW,KAAK,gBAAgB,KAAK;EAChE,KAAK,aAAa,KAAK;EACvB,IAAI,KAAK,YAAY,KAAA,GAAW,KAAK,UAAU,KAAK;EACpD,IAAI,KAAK,sBAAsB,KAAA,GAAW,KAAK,oBAAoB,KAAK;EACxE,IAAI,KAAK,WAAW,KAAA,GAAW,KAAK,SAAS,KAAK;EAClD,IAAI,KAAK,mBAAmB,KAAA,GAAW,KAAK,iBAAiB,KAAK;EAClE,IAAI,KAAK,eAAe,KAAA,GAAW,KAAK,aAAa,KAAK;EAC1D,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;EACtD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,KAAK,UAAU,KAAK;EACpB,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,cAAc,KAAA,GAAW,KAAK,YAAY,KAAK;EACxD,IAAI,KAAK,aAAa,KAAA,GAAW,KAAK,WAAW,KAAK;CACxD;AASF;AAEA,OAAO,eAAe,WAAW,WAAW,UAAU,EACpD,OAAO,iBACT,CAAC;AAED,OAAO,eAAe,WAAW,WAAW,aAAa,EACvD,KAAK,WAAW;CAAE,OAAOA;AAAU,EACrC,CAAC"}
@@ -32,6 +32,13 @@ export declare const credentialSchema: {
32
32
  readonly keyHash: {
33
33
  readonly type: "string";
34
34
  };
35
+ readonly allowedOperations: {
36
+ readonly type: readonly ["array", "null"];
37
+ readonly items: {
38
+ readonly type: "string";
39
+ };
40
+ readonly description: "For an apiKey: the operations the key may call. Null or absent means unrestricted.";
41
+ };
35
42
  readonly userId: {
36
43
  readonly type: "string";
37
44
  };
@@ -35,6 +35,11 @@ const credentialSchema = {
35
35
  },
36
36
  credential: { type: "string" },
37
37
  keyHash: { type: "string" },
38
+ allowedOperations: {
39
+ type: ["array", "null"],
40
+ items: { type: "string" },
41
+ description: "For an apiKey: the operations the key may call. Null or absent means unrestricted."
42
+ },
38
43
  userId: { type: "string" },
39
44
  organizationId: { type: "string" },
40
45
  propertyId: { type: "string" },
@@ -1 +1 @@
1
- {"version":3,"file":"credential.js","names":[],"sources":["../../.generated/schemas/credential.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const credentialSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"credential.json\",\n title: \"Credential\",\n type: \"object\",\n required: [\"id\", \"type\", \"credential\", \"expires\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"credential\",\n enum: [\"credential\"],\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"verificationCode\",\n \"token\",\n \"mobileKey\",\n \"pin\",\n \"publicKey\",\n \"passkeyChallenge\",\n \"alarmCode\",\n \"apiKey\",\n ],\n },\n credential: {\n type: \"string\",\n },\n keyHash: {\n type: \"string\",\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n deviceId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n type: [\"string\", \"object\", \"null\"],\n format: \"date-time\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n },\n} as const;\n\nexport type CredentialSchema = Omit<\n FromSchema<\n typeof credentialSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n >,\n \"expires\"\n> & { expires: Date | ISODateString | null };\n"],"mappings":";AAGA,MAAa,mBAAmB;CAC9B,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAQ;EAAc;CAAS;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,YAAY;EACrB;EACA,QAAQ,EACN,MAAM,uCACR;EACA,MAAM,EACJ,MAAM,qCACR;EACA,eAAe;GACb,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EACF;EACA,YAAY,EACV,MAAM,SACR;EACA,SAAS,EACP,MAAM,SACR;EACA,QAAQ,EACN,MAAM,SACR;EACA,gBAAgB,EACd,MAAM,SACR;EACA,YAAY,EACV,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,SAAS;GACP,MAAM;IAAC;IAAU;IAAU;GAAM;GACjC,QAAQ;EACV;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,UAAU,EACR,MAAM,yCACR;CACF;AACF"}
1
+ {"version":3,"file":"credential.js","names":[],"sources":["../../.generated/schemas/credential.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\n\nexport const credentialSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"credential.json\",\n title: \"Credential\",\n type: \"object\",\n required: [\"id\", \"type\", \"credential\", \"expires\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"credential\",\n enum: [\"credential\"],\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n },\n name: {\n $ref: \"definitions.json#/definitions/name\",\n },\n discriminator: {\n type: \"string\",\n enum: [\n \"verificationCode\",\n \"token\",\n \"mobileKey\",\n \"pin\",\n \"publicKey\",\n \"passkeyChallenge\",\n \"alarmCode\",\n \"apiKey\",\n ],\n },\n credential: {\n type: \"string\",\n },\n keyHash: {\n type: \"string\",\n },\n allowedOperations: {\n type: [\"array\", \"null\"],\n items: { type: \"string\" },\n description:\n \"For an apiKey: the operations the key may call. Null or absent means unrestricted.\",\n },\n userId: {\n type: \"string\",\n },\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n deviceId: {\n type: \"string\",\n },\n userAgent: {\n type: \"string\",\n },\n expires: {\n type: [\"string\", \"object\", \"null\"],\n format: \"date-time\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n systemId: {\n $ref: \"definitions.json#/definitions/systemId\",\n },\n },\n} as const;\n\nexport type CredentialSchema = Omit<\n FromSchema<\n typeof credentialSchema,\n {\n references: [typeof defs];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n >,\n \"expires\"\n> & { expires: Date | ISODateString | null };\n"],"mappings":";AAGA,MAAa,mBAAmB;CAC9B,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAQ;EAAc;CAAS;CAChD,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;GACT,MAAM,CAAC,YAAY;EACrB;EACA,QAAQ,EACN,MAAM,uCACR;EACA,MAAM,EACJ,MAAM,qCACR;EACA,eAAe;GACb,MAAM;GACN,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EACF;EACA,YAAY,EACV,MAAM,SACR;EACA,SAAS,EACP,MAAM,SACR;EACA,mBAAmB;GACjB,MAAM,CAAC,SAAS,MAAM;GACtB,OAAO,EAAE,MAAM,SAAS;GACxB,aACE;EACJ;EACA,QAAQ,EACN,MAAM,SACR;EACA,gBAAgB,EACd,MAAM,SACR;EACA,YAAY,EACV,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,WAAW,EACT,MAAM,SACR;EACA,SAAS;GACP,MAAM;IAAC;IAAU;IAAU;GAAM;GACjC,QAAQ;EACV;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,UAAU,EACR,MAAM,yCACR;CACF;AACF"}
@@ -117,7 +117,6 @@ export declare const systemSchema: {
117
117
  readonly emergency: {
118
118
  readonly type: readonly ["string", "null"];
119
119
  readonly enum: readonly ["lockdown", "evacuate", null];
120
- readonly default: null;
121
120
  readonly description: "Active system wide emergency state";
122
121
  };
123
122
  readonly supportedEmergencies: {
@@ -132,7 +131,6 @@ export declare const systemSchema: {
132
131
  readonly trippedSensors: {
133
132
  readonly type: "array";
134
133
  readonly uniqueItems: true;
135
- readonly default: readonly [];
136
134
  readonly items: {
137
135
  readonly type: "string";
138
136
  readonly enum: readonly ["rain"];
@@ -122,7 +122,6 @@ const systemSchema = {
122
122
  "evacuate",
123
123
  null
124
124
  ],
125
- default: null,
126
125
  description: "Active system wide emergency state"
127
126
  },
128
127
  supportedEmergencies: {
@@ -137,7 +136,6 @@ const systemSchema = {
137
136
  trippedSensors: {
138
137
  type: "array",
139
138
  uniqueItems: true,
140
- default: [],
141
139
  items: {
142
140
  type: "string",
143
141
  enum: ["rain"]
@@ -1 +1 @@
1
- {"version":3,"file":"system.js","names":[],"sources":["../../.generated/schemas/system.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { mediaFileSchema } from \"./mediaFile\";\n\nexport const systemSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"system.json\",\n title: \"System\",\n type: \"object\",\n required: [\"id\", \"type\", \"driver\", \"entities\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n default: \"system\",\n enum: [\"system\"],\n },\n categories: {\n type: \"array\",\n uniqueItems: true,\n default: [],\n items: { \n enum: [\"access\", \"climate\", \"irrigation\", \"lighting\", \"media\", \"security\", \"sis\"] \n },\n description: \"The categories of functionality this system provides.\",\n },\n name: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n example: \"salto\",\n description: \"The driver value that implements the system\",\n },\n organizationId: {\n type: \"string\",\n description: \"The id of the organization that uses the system\",\n },\n propertyId: {\n type: \"string\",\n description: \"The id of the property that uses the system\",\n },\n entities: {\n type: \"array\",\n description: \"The entities produced by the system\",\n default: [],\n items: {\n type: \"object\",\n required: [\"systemId\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The id of the entity\",\n },\n systemId: {\n type: \"string\",\n description: \"The id of the entity as known by the system\",\n },\n type: {\n type: \"string\",\n description: \"The type of the entity\",\n },\n discriminator: {\n type: \"string\",\n description: \"The discriminator of the entity\",\n },\n propertyIds: {\n type: \"array\",\n description:\n \"The ids of the properties where the entity is located\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n },\n driverApiVersion: {\n type: \"string\",\n description: \"The version of the driver API used by the system\",\n },\n logo: {\n $ref: \"mediaFile.json#\",\n },\n config: {\n type: \"object\",\n additionalProperties: true,\n description: \"The runtime configuration of the system\",\n },\n contactInfo: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n websiteUrl: {\n type: \"string\",\n description: \"The website URL of the system\",\n },\n email: {\n type: \"string\",\n description: \"The email address of the system\",\n },\n phone: {\n type: \"string\",\n description: \"The phone number of the system\",\n },\n itunesAppId: {\n type: \"string\",\n example: \"807316865\",\n },\n googleAppId: {\n type: \"string\",\n example: \"tw.com.geovision.gvaccesscontrol\",\n },\n },\n },\n emergency: {\n type: [\"string\", \"null\"],\n enum: [\"lockdown\", \"evacuate\", null],\n default: null,\n description: \"Active system wide emergency state\",\n },\n supportedEmergencies: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [ \"lockdown\", \"evacuate\" ],\n },\n description: \"System wide emergencies the system can enter. Omitted means unknown (legacy); an empty array means none are supported.\",\n },\n trippedSensors: {\n type: \"array\",\n uniqueItems: true,\n default: [],\n items: {\n type: \"string\",\n enum: [\"rain\"],\n },\n description: \"Active sensors\",\n },\n supportedSensors: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [ \"rain\" ],\n },\n description: \"System wide supported sensors.\",\n },\n health: {\n type: \"object\",\n properties: {\n offline: {\n type: \"boolean\",\n description: \"Whether the system is offline\",\n },\n lastHeartbeatAt: {\n type: \"string\",\n description:\n \"The date and time of the last communication with the system\",\n format: \"date-time\",\n },\n },\n },\n syncedAt: {\n $ref: \"definitions.json#/definitions/date\",\n description:\n \"When the system's roster (people and households) was last synced into the platform.\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n allOf: [\n {\n if: {\n properties: { categories: { contains: { const: \"access\" } } },\n required: [\"categories\"],\n },\n then: { required: [\"emergency\", \"supportedEmergencies\"] },\n },\n {\n if: {\n properties: { categories: { contains: { const: \"irrigation\" } } },\n required: [\"categories\"],\n },\n then: { required: [\"trippedSensors\", \"supportedSensors\"] },\n }\n ]\n} as const;\n\nexport type SystemSchema = FromSchema<\n typeof systemSchema,\n {\n references: [typeof defs, typeof mediaFileSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"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"}
1
+ {"version":3,"file":"system.js","names":[],"sources":["../../.generated/schemas/system.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport type { mediaFileSchema } from \"./mediaFile\";\n\nexport const systemSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"system.json\",\n title: \"System\",\n type: \"object\",\n required: [\"id\", \"type\", \"driver\", \"entities\"],\n additionalProperties: false,\n properties: {\n id: {\n type: \"string\",\n },\n type: {\n type: \"string\",\n default: \"system\",\n enum: [\"system\"],\n },\n categories: {\n type: \"array\",\n uniqueItems: true,\n default: [],\n items: { \n enum: [\"access\", \"climate\", \"irrigation\", \"lighting\", \"media\", \"security\", \"sis\"] \n },\n description: \"The categories of functionality this system provides.\",\n },\n name: {\n type: \"string\",\n },\n driver: {\n $ref: \"definitions.json#/definitions/driver\",\n example: \"salto\",\n description: \"The driver value that implements the system\",\n },\n organizationId: {\n type: \"string\",\n description: \"The id of the organization that uses the system\",\n },\n propertyId: {\n type: \"string\",\n description: \"The id of the property that uses the system\",\n },\n entities: {\n type: \"array\",\n description: \"The entities produced by the system\",\n default: [],\n items: {\n type: \"object\",\n required: [\"systemId\"],\n properties: {\n id: {\n type: \"string\",\n description: \"The id of the entity\",\n },\n systemId: {\n type: \"string\",\n description: \"The id of the entity as known by the system\",\n },\n type: {\n type: \"string\",\n description: \"The type of the entity\",\n },\n discriminator: {\n type: \"string\",\n description: \"The discriminator of the entity\",\n },\n propertyIds: {\n type: \"array\",\n description:\n \"The ids of the properties where the entity is located\",\n items: {\n type: \"string\",\n },\n },\n },\n },\n },\n driverApiVersion: {\n type: \"string\",\n description: \"The version of the driver API used by the system\",\n },\n logo: {\n $ref: \"mediaFile.json#\",\n },\n config: {\n type: \"object\",\n additionalProperties: true,\n description: \"The runtime configuration of the system\",\n },\n contactInfo: {\n type: \"object\",\n additionalProperties: false,\n properties: {\n websiteUrl: {\n type: \"string\",\n description: \"The website URL of the system\",\n },\n email: {\n type: \"string\",\n description: \"The email address of the system\",\n },\n phone: {\n type: \"string\",\n description: \"The phone number of the system\",\n },\n itunesAppId: {\n type: \"string\",\n example: \"807316865\",\n },\n googleAppId: {\n type: \"string\",\n example: \"tw.com.geovision.gvaccesscontrol\",\n },\n },\n },\n emergency: {\n type: [\"string\", \"null\"],\n enum: [\"lockdown\", \"evacuate\", null],\n description: \"Active system wide emergency state\",\n },\n supportedEmergencies: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [ \"lockdown\", \"evacuate\" ],\n },\n description: \"System wide emergencies the system can enter. Omitted means unknown (legacy); an empty array means none are supported.\",\n },\n trippedSensors: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [\"rain\"],\n },\n description: \"Active sensors\",\n },\n supportedSensors: {\n type: \"array\",\n uniqueItems: true,\n items: {\n type: \"string\",\n enum: [ \"rain\" ],\n },\n description: \"System wide supported sensors.\",\n },\n health: {\n type: \"object\",\n properties: {\n offline: {\n type: \"boolean\",\n description: \"Whether the system is offline\",\n },\n lastHeartbeatAt: {\n type: \"string\",\n description:\n \"The date and time of the last communication with the system\",\n format: \"date-time\",\n },\n },\n },\n syncedAt: {\n $ref: \"definitions.json#/definitions/date\",\n description:\n \"When the system's roster (people and households) was last synced into the platform.\",\n },\n createdAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n updatedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n deletedAt: {\n $ref: \"definitions.json#/definitions/date\",\n },\n },\n allOf: [\n {\n if: {\n properties: { categories: { contains: { const: \"access\" } } },\n required: [\"categories\"],\n },\n then: { required: [\"emergency\", \"supportedEmergencies\"] },\n },\n {\n if: {\n properties: { categories: { contains: { const: \"irrigation\" } } },\n required: [\"categories\"],\n },\n then: { required: [\"trippedSensors\", \"supportedSensors\"] },\n }\n ]\n} as const;\n\nexport type SystemSchema = FromSchema<\n typeof systemSchema,\n {\n references: [typeof defs, typeof mediaFileSchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n"],"mappings":"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"}
@@ -15,6 +15,7 @@ export { DeleteUserCommand } from "./deleteUser.js";
15
15
  export { CreateApiKeyCommand } from "./createApiKey.js";
16
16
  export { GetApiKeyCommand } from "./getApiKey.js";
17
17
  export { RotateApiKeyCommand } from "./rotateApiKey.js";
18
+ export { SetApiKeyAllowedOperationsCommand } from "./setApiKeyAllowedOperations.js";
18
19
  export { RevokeApiKeyCommand } from "./revokeApiKey.js";
19
20
  export { SendVerificationCodeCommand } from "./sendVerificationCode.js";
20
21
  export { CheckVerificationCodeCommand } from "./checkVerificationCode.js";
@@ -16,6 +16,7 @@ import { DeleteUserCommand } from "./deleteUser.js";
16
16
  import { CreateApiKeyCommand } from "./createApiKey.js";
17
17
  import { GetApiKeyCommand } from "./getApiKey.js";
18
18
  import { RotateApiKeyCommand } from "./rotateApiKey.js";
19
+ import { SetApiKeyAllowedOperationsCommand } from "./setApiKeyAllowedOperations.js";
19
20
  import { RevokeApiKeyCommand } from "./revokeApiKey.js";
20
21
  import { SendVerificationCodeCommand } from "./sendVerificationCode.js";
21
22
  import { CheckVerificationCodeCommand } from "./checkVerificationCode.js";
@@ -466,6 +467,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
466
467
  SendNotificationCommand: () => SendNotificationCommand,
467
468
  SendSOSUpdateCommand: () => SendSOSUpdateCommand,
468
469
  SendVerificationCodeCommand: () => SendVerificationCodeCommand,
470
+ SetApiKeyAllowedOperationsCommand: () => SetApiKeyAllowedOperationsCommand,
469
471
  SetAwaitingResponseCommand: () => SetAwaitingResponseCommand,
470
472
  SetCostInvoiceCommand: () => SetCostInvoiceCommand,
471
473
  SetCostVendorInvoiceCommand: () => SetCostVendorInvoiceCommand,
@@ -521,6 +523,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
521
523
  WriteOffCostEntryCommand: () => WriteOffCostEntryCommand
522
524
  });
523
525
  //#endregion
524
- export { AcknowledgeCostDivergenceCommand, ActivateServiceContractCommand, AddBillLineCommand, AddBillLinesCommand, AddDueContractCostsCommand, AddSOSEventNoteCommand, AddServiceContractTicketScheduleCommand, AddStaffFunctionMemberCommand, AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CancelServiceContractCommand, CancelWorkItemCommand, CheckVerificationCodeCommand, ClearAwaitingResponseCommand, ClearWorkItemNoChargeCommand, ClearWorkItemVerificationCommand, CopyIssueRoutingCommand, CreateAnnouncementPresetCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateBillCommand, CreateBillingCategoryCommand, CreateCategoryCommand, CreateCostCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateResourceCommand, CreateServerCommand, CreateServiceContractCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DecideApprovalCommand, DeleteAnnouncementPresetCommand, DeleteAutomationCommand, DeleteBillCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteResourceCommand, DeleteServerCommand, DeleteServiceContractCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteStaffUserCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAnnouncementCommand, DescribeAutomationCommand, DescribeBillCommand, DescribeCategoryCommand, DescribeConciergeFacilitiesViewerCommand, DescribeConciergeStageCountsCommand, DescribeConciergeStatsFiltersCommand, DescribeConciergeStatsHeatmapCommand, DescribeConciergeStatsSummaryCommand, DescribeConciergeStatsTicketsCommand, DescribeConciergeWorkspaceFiltersCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrgNotificationDefaultsCommand, DescribeOrganizationBillCommand, DescribeOrganizationCommand, DescribeOrganizationServiceContractCommand, DescribePolicyCommand, DescribePropertyCommand, DescribePushVapidPublicKeyCommand, DescribeResourceCommand, DescribeSISSyncCommand, DescribeSOSCommand, DescribeSOSEventCommand, DescribeSelfAccessCommand, DescribeSelfCommand, DescribeServerCommand, DescribeServiceContractCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeStaffFunctionsCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTicketStatsFiltersCommand, DescribeTicketStatsHeatmapCommand, DescribeTicketStatsSummaryCommand, DescribeTicketStatsTicketsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, DuplicateServiceContractCommand, EditCostCommand, EditCostEntryCommand, EmailUserAccountSetupCommand, ExportSOSEventReportCommand, FetchEmergencyContactPeopleCommand, FetchEmergencyContactsCommand, GetApiKeyCommand, LeaveTicketCommand, ListAnnouncementsCommand, ListAutomationsCommand, ListBillingCategoriesCommand, ListBillsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListConciergeCostLedgerCommand, ListConciergeServiceContractsCommand, ListConciergeUninvoicedCostsCommand, ListConciergeWorkspaceBillsCommand, ListConciergeWorkspaceTicketsCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListEligibleApproversCommand, ListFacilitiesStaffIdsCommand, ListIntegrationsCommand, ListIssuesCommand, ListKohostStaffCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyPushSubscriptionsCommand, ListMyTimeSheetsCommand, ListOrganizationBillsCommand, ListOrganizationServiceContractsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListResourcesCommand, ListSISHouseholdsCommand, ListSISPeopleCommand, ListSOSEventsCommand, ListServersCommand, ListServiceContractCostsCommand, ListServiceContractTicketSchedulesCommand, ListServiceContractsCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MarkBillPaidCommand, MarkBillSentCommand, MergeIssueCommand, MoveDeviceCommand, PreviewAnnouncementCommand, PreviewBillCommand, PreviewSOSEventReportCommand, RecordCostActualCommand, RecordCostEntryCommand, ReinstateCostCommand, ReinstateCostEntryCommand, RemoveBillLineCommand, RemoveServiceContractTicketScheduleCommand, RemoveStaffFunctionMemberCommand, ReplaceDeviceCommand, RequestApprovalCommand, RescheduleWorkItemCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, ScheduleWorkItemCommand, SelectOrganizationCommand, SendAnnouncementCommand, SendNotificationCommand, SendSOSUpdateCommand, SendVerificationCodeCommand, SetAwaitingResponseCommand, SetCostInvoiceCommand, SetCostVendorInvoiceCommand, SetDeviceCommand, SetDevicesCommand, SetUserSuperAdminCommand, SetWorkItemNoChargeCommand, StartSOSCommand, StopSOSCommand, SubscribePushDeviceCommand, SyncSISRosterCommand, UnsubscribePushDeviceCommand, UpdateAnnouncementPresetCommand, UpdateAutomationCommand, UpdateBillCommand, UpdateBillLineCommand, UpdateBillingCategoryCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrgNotificationDefaultsCommand, UpdateOrganizationBillingAddressCommand, UpdateOrganizationBillingContactsCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdateOrganizationTaxExemptCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateResourceCommand, UpdateSelfCommand, UpdateServerCommand, UpdateServiceContractCommand, UpdateServiceContractTicketScheduleCommand, UpdateSpaceCommand, UpdateStaffUserCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, VerifyWorkItemCommand, VoidBillCommand, VoidCostEntryCommand, WriteOffCostCommand, WriteOffCostEntryCommand, useCases_exports };
526
+ export { AcknowledgeCostDivergenceCommand, ActivateServiceContractCommand, AddBillLineCommand, AddBillLinesCommand, AddDueContractCostsCommand, AddSOSEventNoteCommand, AddServiceContractTicketScheduleCommand, AddStaffFunctionMemberCommand, AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CancelServiceContractCommand, CancelWorkItemCommand, CheckVerificationCodeCommand, ClearAwaitingResponseCommand, ClearWorkItemNoChargeCommand, ClearWorkItemVerificationCommand, CopyIssueRoutingCommand, CreateAnnouncementPresetCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateBillCommand, CreateBillingCategoryCommand, CreateCategoryCommand, CreateCostCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateResourceCommand, CreateServerCommand, CreateServiceContractCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DecideApprovalCommand, DeleteAnnouncementPresetCommand, DeleteAutomationCommand, DeleteBillCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteResourceCommand, DeleteServerCommand, DeleteServiceContractCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteStaffUserCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAnnouncementCommand, DescribeAutomationCommand, DescribeBillCommand, DescribeCategoryCommand, DescribeConciergeFacilitiesViewerCommand, DescribeConciergeStageCountsCommand, DescribeConciergeStatsFiltersCommand, DescribeConciergeStatsHeatmapCommand, DescribeConciergeStatsSummaryCommand, DescribeConciergeStatsTicketsCommand, DescribeConciergeWorkspaceFiltersCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrgNotificationDefaultsCommand, DescribeOrganizationBillCommand, DescribeOrganizationCommand, DescribeOrganizationServiceContractCommand, DescribePolicyCommand, DescribePropertyCommand, DescribePushVapidPublicKeyCommand, DescribeResourceCommand, DescribeSISSyncCommand, DescribeSOSCommand, DescribeSOSEventCommand, DescribeSelfAccessCommand, DescribeSelfCommand, DescribeServerCommand, DescribeServiceContractCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeStaffFunctionsCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTicketStatsFiltersCommand, DescribeTicketStatsHeatmapCommand, DescribeTicketStatsSummaryCommand, DescribeTicketStatsTicketsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, DuplicateServiceContractCommand, EditCostCommand, EditCostEntryCommand, EmailUserAccountSetupCommand, ExportSOSEventReportCommand, FetchEmergencyContactPeopleCommand, FetchEmergencyContactsCommand, GetApiKeyCommand, LeaveTicketCommand, ListAnnouncementsCommand, ListAutomationsCommand, ListBillingCategoriesCommand, ListBillsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListConciergeCostLedgerCommand, ListConciergeServiceContractsCommand, ListConciergeUninvoicedCostsCommand, ListConciergeWorkspaceBillsCommand, ListConciergeWorkspaceTicketsCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListEligibleApproversCommand, ListFacilitiesStaffIdsCommand, ListIntegrationsCommand, ListIssuesCommand, ListKohostStaffCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyPushSubscriptionsCommand, ListMyTimeSheetsCommand, ListOrganizationBillsCommand, ListOrganizationServiceContractsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListResourcesCommand, ListSISHouseholdsCommand, ListSISPeopleCommand, ListSOSEventsCommand, ListServersCommand, ListServiceContractCostsCommand, ListServiceContractTicketSchedulesCommand, ListServiceContractsCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MarkBillPaidCommand, MarkBillSentCommand, MergeIssueCommand, MoveDeviceCommand, PreviewAnnouncementCommand, PreviewBillCommand, PreviewSOSEventReportCommand, RecordCostActualCommand, RecordCostEntryCommand, ReinstateCostCommand, ReinstateCostEntryCommand, RemoveBillLineCommand, RemoveServiceContractTicketScheduleCommand, RemoveStaffFunctionMemberCommand, ReplaceDeviceCommand, RequestApprovalCommand, RescheduleWorkItemCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, ScheduleWorkItemCommand, SelectOrganizationCommand, SendAnnouncementCommand, SendNotificationCommand, SendSOSUpdateCommand, SendVerificationCodeCommand, SetApiKeyAllowedOperationsCommand, SetAwaitingResponseCommand, SetCostInvoiceCommand, SetCostVendorInvoiceCommand, SetDeviceCommand, SetDevicesCommand, SetUserSuperAdminCommand, SetWorkItemNoChargeCommand, StartSOSCommand, StopSOSCommand, SubscribePushDeviceCommand, SyncSISRosterCommand, UnsubscribePushDeviceCommand, UpdateAnnouncementPresetCommand, UpdateAutomationCommand, UpdateBillCommand, UpdateBillLineCommand, UpdateBillingCategoryCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrgNotificationDefaultsCommand, UpdateOrganizationBillingAddressCommand, UpdateOrganizationBillingContactsCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdateOrganizationTaxExemptCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateResourceCommand, UpdateSelfCommand, UpdateServerCommand, UpdateServiceContractCommand, UpdateServiceContractTicketScheduleCommand, UpdateSpaceCommand, UpdateStaffUserCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, VerifyWorkItemCommand, VoidBillCommand, VoidCostEntryCommand, WriteOffCostCommand, WriteOffCostEntryCommand, useCases_exports };
525
527
 
526
528
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeCostLedgerCommand } from \"./listConciergeCostLedger.js\";\nexport { ListConciergeServiceContractsCommand } from \"./listConciergeServiceContracts.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeStageCountsCommand } from \"./describeConciergeStageCounts.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { SyncSISRosterCommand } from \"./syncSISRoster.js\";\nexport { DescribeSISSyncCommand } from \"./describeSISSync.js\";\nexport { ListSISPeopleCommand } from \"./listSISPeople.js\";\nexport { ListSISHouseholdsCommand } from \"./listSISHouseholds.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { SetAwaitingResponseCommand } from \"./setAwaitingResponse.js\";\nexport { ClearAwaitingResponseCommand } from \"./clearAwaitingResponse.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { VerifyWorkItemCommand } from \"./verifyWorkItem.js\";\nexport { ClearWorkItemVerificationCommand } from \"./clearWorkItemVerification.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { PreviewAnnouncementCommand } from \"./previewAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\nexport { ListServiceContractsCommand } from \"./listServiceContracts.js\";\nexport { DescribeServiceContractCommand } from \"./describeServiceContract.js\";\nexport { CreateServiceContractCommand } from \"./createServiceContract.js\";\nexport { UpdateServiceContractCommand } from \"./updateServiceContract.js\";\nexport { DuplicateServiceContractCommand } from \"./duplicateServiceContract.js\";\nexport { ActivateServiceContractCommand } from \"./activateServiceContract.js\";\nexport { ListOrganizationServiceContractsCommand } from \"./listOrganizationServiceContracts.js\";\nexport { DescribeOrganizationServiceContractCommand } from \"./describeOrganizationServiceContract.js\";\nexport { ListServiceContractCostsCommand } from \"./listServiceContractCosts.js\";\nexport { ListServiceContractTicketSchedulesCommand } from \"./listServiceContractTicketSchedules.js\";\nexport { AddServiceContractTicketScheduleCommand } from \"./addServiceContractTicketSchedule.js\";\nexport { UpdateServiceContractTicketScheduleCommand } from \"./updateServiceContractTicketSchedule.js\";\nexport { RemoveServiceContractTicketScheduleCommand } from \"./removeServiceContractTicketSchedule.js\";\nexport { CancelServiceContractCommand } from \"./cancelServiceContract.js\";\nexport { AddDueContractCostsCommand } from \"./addDueContractCosts.js\";\nexport { DeleteServiceContractCommand } from \"./deleteServiceContract.js\";\n"],"mappings":""}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../.generated/useCases/index.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport { CreatePwaHandoffTokenCommand } from \"./createPwaHandoffToken.js\";\nexport { LogoutUserCommand } from \"./logoutUser.js\";\nexport { DescribeMyAuthCommand } from \"./describeMyAuth.js\";\nexport { ValidateAuthCommand } from \"./validateAuth.js\";\nexport { SelectOrganizationCommand } from \"./selectOrganization.js\";\nexport { ListMyOrganizationsCommand } from \"./listMyOrganizations.js\";\nexport { DescribeSelfCommand } from \"./describeSelf.js\";\nexport { DescribeSelfAccessCommand } from \"./describeSelfAccess.js\";\nexport { DescribeUserCommand } from \"./describeUser.js\";\nexport { CreateUserCommand } from \"./createUser.js\";\nexport { ListUsersCommand } from \"./listUsers.js\";\nexport { UpdateSelfCommand } from \"./updateSelf.js\";\nexport { UpdateUserCommand } from \"./updateUser.js\";\nexport { DeleteUserCommand } from \"./deleteUser.js\";\nexport { CreateApiKeyCommand } from \"./createApiKey.js\";\nexport { GetApiKeyCommand } from \"./getApiKey.js\";\nexport { RotateApiKeyCommand } from \"./rotateApiKey.js\";\nexport { SetApiKeyAllowedOperationsCommand } from \"./setApiKeyAllowedOperations.js\";\nexport { RevokeApiKeyCommand } from \"./revokeApiKey.js\";\nexport { SendVerificationCodeCommand } from \"./sendVerificationCode.js\";\nexport { CheckVerificationCodeCommand } from \"./checkVerificationCode.js\";\nexport { ListUserSpacesCommand } from \"./listUserSpaces.js\";\nexport { DescribeMyPasskeyRegistrationsCommand } from \"./describeMyPasskeyRegistrations.js\";\nexport { DeleteUserCredentialCommand } from \"./deleteUserCredential.js\";\nexport { CreatePolicyCommand } from \"./createPolicy.js\";\nexport { ListPoliciesCommand } from \"./listPolicies.js\";\nexport { UpdatePolicyCommand } from \"./updatePolicy.js\";\nexport { DeletePolicyCommand } from \"./deletePolicy.js\";\nexport { DescribePolicyCommand } from \"./describePolicy.js\";\nexport { ListSpacesCommand } from \"./listSpaces.js\";\nexport { UpdateSpaceCommand } from \"./updateSpace.js\";\nexport { CreateSpaceCommand } from \"./createSpace.js\";\nexport { DescribeSpaceCommand } from \"./describeSpace.js\";\nexport { DeleteSpaceCommand } from \"./deleteSpace.js\";\nexport { CreateDeviceCommand } from \"./createDevice.js\";\nexport { CreateDeviceCredentialCommand } from \"./createDeviceCredential.js\";\nexport { ListDevicesCommand } from \"./listDevices.js\";\nexport { ListDeviceCredentialsCommand } from \"./listDeviceCredentials.js\";\nexport { ListCameraStreamPreviewsCommand } from \"./listCameraStreamPreviews.js\";\nexport { DescribeDeviceCommand } from \"./describeDevice.js\";\nexport { UpdateDeviceCommand } from \"./updateDevice.js\";\nexport { UpdateDeviceCredentialCommand } from \"./updateDeviceCredential.js\";\nexport { SetDeviceCommand } from \"./setDevice.js\";\nexport { DeleteDeviceCommand } from \"./deleteDevice.js\";\nexport { DeleteDeviceCredentialCommand } from \"./deleteDeviceCredential.js\";\nexport { MoveDeviceCommand } from \"./moveDevice.js\";\nexport { ReplaceDeviceCommand } from \"./replaceDevice.js\";\nexport { DescribeDeviceConfigCommand } from \"./describeDeviceConfig.js\";\nexport { CreateCategoryCommand } from \"./createCategory.js\";\nexport { DeleteCategoryCommand } from \"./deleteCategory.js\";\nexport { DescribeCategoryCommand } from \"./describeCategory.js\";\nexport { ListCategoriesCommand } from \"./listCategories.js\";\nexport { UpdateCategoryCommand } from \"./updateCategory.js\";\nexport { CreateResourceCommand } from \"./createResource.js\";\nexport { DeleteResourceCommand } from \"./deleteResource.js\";\nexport { DescribeResourceCommand } from \"./describeResource.js\";\nexport { ListResourcesCommand } from \"./listResources.js\";\nexport { UpdateResourceCommand } from \"./updateResource.js\";\nexport { DescribeDepartmentCommand } from \"./describeDepartment.js\";\nexport { ListDepartmentsCommand } from \"./listDepartments.js\";\nexport { DeleteDepartmentCommand } from \"./deleteDepartment.js\";\nexport { CreateDepartmentCommand } from \"./createDepartment.js\";\nexport { UpdateDepartmentCommand } from \"./updateDepartment.js\";\nexport { DescribeTicketStatsCommand } from \"./describeTicketStats.js\";\nexport { DescribeTicketStatsSummaryCommand } from \"./describeTicketStatsSummary.js\";\nexport { DescribeTicketStatsTicketsCommand } from \"./describeTicketStatsTickets.js\";\nexport { DescribeTicketStatsHeatmapCommand } from \"./describeTicketStatsHeatmap.js\";\nexport { DescribeTicketStatsFiltersCommand } from \"./describeTicketStatsFilters.js\";\nexport { CreateTicketCommand } from \"./createTicket.js\";\nexport { CreateTicketMessageCommand } from \"./createTicketMessage.js\";\nexport { DeleteTicketCommand } from \"./deleteTicket.js\";\nexport { ListTicketLocationsCommand } from \"./listTicketLocations.js\";\nexport { DescribeTicketFiltersCommand } from \"./describeTicketFilters.js\";\nexport { DescribeTicketCommand } from \"./describeTicket.js\";\nexport { ListTicketsCommand } from \"./listTickets.js\";\nexport { UpdateMessageReadStatusCommand } from \"./updateMessageReadStatus.js\";\nexport { UpdateTicketCommand } from \"./updateTicket.js\";\nexport { LeaveTicketCommand } from \"./leaveTicket.js\";\nexport { CreateDiscoveredDeviceAssociationMapCommand } from \"./createDiscoveredDeviceAssociationMap.js\";\nexport { AutoAssociateDiscoveredDevicesCommand } from \"./autoAssociateDiscoveredDevices.js\";\nexport { CreateDiscoveredDeviceCommand } from \"./createDiscoveredDevice.js\";\nexport { ListDiscoveredDevicesCommand } from \"./listDiscoveredDevices.js\";\nexport { UpdateDiscoveredDeviceCommand } from \"./updateDiscoveredDevice.js\";\nexport { DeleteDiscoveredDeviceCommand } from \"./deleteDiscoveredDevice.js\";\nexport { DescribeDiscoveredDeviceCommand } from \"./describeDiscoveredDevice.js\";\nexport { UpsertDiscoveredDeviceCommand } from \"./upsertDiscoveredDevice.js\";\nexport { CreateDiscoveredDeviceAssociationCommand } from \"./createDiscoveredDeviceAssociation.js\";\nexport { ListIntegrationsCommand } from \"./listIntegrations.js\";\nexport { DescribeMyOrganizationCommand } from \"./describeMyOrganization.js\";\nexport { CreateOrganizationCommand } from \"./createOrganization.js\";\nexport { UpdateOrganizationCommand } from \"./updateOrganization.js\";\nexport { UpdateOrganizationFeaturesCommand } from \"./updateOrganizationFeatures.js\";\nexport { UpdateOrganizationBillingAddressCommand } from \"./updateOrganizationBillingAddress.js\";\nexport { UpdateOrganizationBillingContactsCommand } from \"./updateOrganizationBillingContacts.js\";\nexport { UpdateOrganizationTaxExemptCommand } from \"./updateOrganizationTaxExempt.js\";\nexport { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.js\";\nexport { DescribeConciergeStatsSummaryCommand } from \"./describeConciergeStatsSummary.js\";\nexport { DescribeConciergeStatsFiltersCommand } from \"./describeConciergeStatsFilters.js\";\nexport { DescribeConciergeStatsTicketsCommand } from \"./describeConciergeStatsTickets.js\";\nexport { DescribeConciergeStatsHeatmapCommand } from \"./describeConciergeStatsHeatmap.js\";\nexport { ListConciergeWorkspaceBillsCommand } from \"./listConciergeWorkspaceBills.js\";\nexport { ListConciergeCostLedgerCommand } from \"./listConciergeCostLedger.js\";\nexport { ListConciergeServiceContractsCommand } from \"./listConciergeServiceContracts.js\";\nexport { ListConciergeWorkspaceTicketsCommand } from \"./listConciergeWorkspaceTickets.js\";\nexport { DescribeConciergeStageCountsCommand } from \"./describeConciergeStageCounts.js\";\nexport { DescribeConciergeWorkspaceFiltersCommand } from \"./describeConciergeWorkspaceFilters.js\";\nexport { ListConciergeUninvoicedCostsCommand } from \"./listConciergeUninvoicedCosts.js\";\nexport { ListPropertiesCommand } from \"./listProperties.js\";\nexport { ListPropertyCredentialsCommand } from \"./listPropertyCredentials.js\";\nexport { ListMyPropertiesCommand } from \"./listMyProperties.js\";\nexport { CreatePropertyCommand } from \"./createProperty.js\";\nexport { DeletePropertyCommand } from \"./deleteProperty.js\";\nexport { UpdatePropertyCommand } from \"./updateProperty.js\";\nexport { DescribePropertyCommand } from \"./describeProperty.js\";\nexport { UpdatePropertyFeaturesCommand } from \"./updatePropertyFeatures.js\";\nexport { EmailUserAccountSetupCommand } from \"./emailUserAccountSetup.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { DescribeTimeSheetStatsCommand } from \"./describeTimeSheetStats.js\";\nexport { ListMyTimeSheetsCommand } from \"./listMyTimeSheets.js\";\nexport { DescribeTimeSheetCommand } from \"./describeTimeSheet.js\";\nexport { ListTimeSheetsCommand } from \"./listTimeSheets.js\";\nexport { CreateTimeSheetCommand } from \"./createTimeSheet.js\";\nexport { DeleteTimeSheetCommand } from \"./deleteTimeSheet.js\";\nexport { UpdateTimeSheetCommand } from \"./updateTimeSheet.js\";\nexport { CreateTimeSheetTimeEntryCommand } from \"./createTimeSheetTimeEntry.js\";\nexport { DeleteTimeSheetTimeEntryCommand } from \"./deleteTimeSheetTimeEntry.js\";\nexport { UpdateTimeSheetTimeEntryCommand } from \"./updateTimeSheetTimeEntry.js\";\nexport { StartSOSCommand } from \"./startSOS.js\";\nexport { StopSOSCommand } from \"./stopSOS.js\";\nexport { DescribeSOSCommand } from \"./describeSOS.js\";\nexport { ListSOSEventsCommand } from \"./listSOSEvents.js\";\nexport { DescribeSOSEventCommand } from \"./describeSOSEvent.js\";\nexport { SendSOSUpdateCommand } from \"./sendSOSUpdate.js\";\nexport { AddSOSEventNoteCommand } from \"./addSOSEventNote.js\";\nexport { PreviewSOSEventReportCommand } from \"./previewSOSEventReport.js\";\nexport { ExportSOSEventReportCommand } from \"./exportSOSEventReport.js\";\nexport { FetchEmergencyContactsCommand } from \"./fetchEmergencyContacts.js\";\nexport { FetchEmergencyContactPeopleCommand } from \"./fetchEmergencyContactPeople.js\";\nexport { SyncSISRosterCommand } from \"./syncSISRoster.js\";\nexport { DescribeSISSyncCommand } from \"./describeSISSync.js\";\nexport { ListSISPeopleCommand } from \"./listSISPeople.js\";\nexport { ListSISHouseholdsCommand } from \"./listSISHouseholds.js\";\nexport { DescribeIssueCommand } from \"./describeIssue.js\";\nexport { ListIssuesCommand } from \"./listIssues.js\";\nexport { DeleteIssueCommand } from \"./deleteIssue.js\";\nexport { CreateIssueCommand } from \"./createIssue.js\";\nexport { UpdateIssueCommand } from \"./updateIssue.js\";\nexport { MergeIssueCommand } from \"./mergeIssue.js\";\nexport { CopyIssueRoutingCommand } from \"./copyIssueRouting.js\";\nexport { BulkUpdateIssueCommand } from \"./bulkUpdateIssue.js\";\nexport { DescribeVendorCommand } from \"./describeVendor.js\";\nexport { ListVendorsCommand } from \"./listVendors.js\";\nexport { DeleteVendorCommand } from \"./deleteVendor.js\";\nexport { CreateVendorCommand } from \"./createVendor.js\";\nexport { UpdateVendorCommand } from \"./updateVendor.js\";\nexport { ListBillingCategoriesCommand } from \"./listBillingCategories.js\";\nexport { CreateBillingCategoryCommand } from \"./createBillingCategory.js\";\nexport { UpdateBillingCategoryCommand } from \"./updateBillingCategory.js\";\nexport { ListBillsCommand } from \"./listBills.js\";\nexport { DescribeBillCommand } from \"./describeBill.js\";\nexport { PreviewBillCommand } from \"./previewBill.js\";\nexport { ListOrganizationBillsCommand } from \"./listOrganizationBills.js\";\nexport { DescribeOrganizationBillCommand } from \"./describeOrganizationBill.js\";\nexport { CreateBillCommand } from \"./createBill.js\";\nexport { UpdateBillCommand } from \"./updateBill.js\";\nexport { DeleteBillCommand } from \"./deleteBill.js\";\nexport { AddBillLineCommand } from \"./addBillLine.js\";\nexport { AddBillLinesCommand } from \"./addBillLines.js\";\nexport { UpdateBillLineCommand } from \"./updateBillLine.js\";\nexport { RemoveBillLineCommand } from \"./removeBillLine.js\";\nexport { MarkBillSentCommand } from \"./markBillSent.js\";\nexport { MarkBillPaidCommand } from \"./markBillPaid.js\";\nexport { VoidBillCommand } from \"./voidBill.js\";\nexport { CreateCostCommand } from \"./createCost.js\";\nexport { EditCostCommand } from \"./editCost.js\";\nexport { SetCostInvoiceCommand } from \"./setCostInvoice.js\";\nexport { WriteOffCostCommand } from \"./writeOffCost.js\";\nexport { ReinstateCostCommand } from \"./reinstateCost.js\";\nexport { CreateAutomationCommand } from \"./createAutomation.js\";\nexport { ListAutomationsCommand } from \"./listAutomations.js\";\nexport { DescribeAutomationCommand } from \"./describeAutomation.js\";\nexport { UpdateAutomationCommand } from \"./updateAutomation.js\";\nexport { DeleteAutomationCommand } from \"./deleteAutomation.js\";\nexport { CreateDefaultAutomationsCommand } from \"./createDefaultAutomations.js\";\nexport { RunAutomationCommand } from \"./runAutomation.js\";\nexport { SendNotificationCommand } from \"./sendNotification.js\";\nexport { DescribeOrgNotificationDefaultsCommand } from \"./describeOrgNotificationDefaults.js\";\nexport { UpdateOrgNotificationDefaultsCommand } from \"./updateOrgNotificationDefaults.js\";\nexport { ListMyPushSubscriptionsCommand } from \"./listMyPushSubscriptions.js\";\nexport { DescribePushVapidPublicKeyCommand } from \"./describePushVapidPublicKey.js\";\nexport { SubscribePushDeviceCommand } from \"./subscribePushDevice.js\";\nexport { UnsubscribePushDeviceCommand } from \"./unsubscribePushDevice.js\";\nexport { ListSessionsCommand } from \"./listSessions.js\";\nexport { DescribeSessionCommand } from \"./describeSession.js\";\nexport { DeleteSessionCommand } from \"./deleteSession.js\";\nexport { SetDevicesCommand } from \"./setDevices.js\";\nexport { CreateSystemCommand } from \"./createSystem.js\";\nexport { DeleteSystemCommand } from \"./deleteSystem.js\";\nexport { DescribeSystemCommand } from \"./describeSystem.js\";\nexport { ListSystemsCommand } from \"./listSystems.js\";\nexport { UpdateSystemCommand } from \"./updateSystem.js\";\nexport { CreateServerCommand } from \"./createServer.js\";\nexport { DeleteServerCommand } from \"./deleteServer.js\";\nexport { DescribeServerCommand } from \"./describeServer.js\";\nexport { ListServersCommand } from \"./listServers.js\";\nexport { UpdateServerCommand } from \"./updateServer.js\";\nexport { ScheduleWorkItemCommand } from \"./scheduleWorkItem.js\";\nexport { RescheduleWorkItemCommand } from \"./rescheduleWorkItem.js\";\nexport { CancelWorkItemCommand } from \"./cancelWorkItem.js\";\nexport { SetWorkItemNoChargeCommand } from \"./setWorkItemNoCharge.js\";\nexport { SetAwaitingResponseCommand } from \"./setAwaitingResponse.js\";\nexport { ClearAwaitingResponseCommand } from \"./clearAwaitingResponse.js\";\nexport { ClearWorkItemNoChargeCommand } from \"./clearWorkItemNoCharge.js\";\nexport { VerifyWorkItemCommand } from \"./verifyWorkItem.js\";\nexport { ClearWorkItemVerificationCommand } from \"./clearWorkItemVerification.js\";\nexport { RecordCostEntryCommand } from \"./recordCostEntry.js\";\nexport { EditCostEntryCommand } from \"./editCostEntry.js\";\nexport { RecordCostActualCommand } from \"./recordCostActual.js\";\nexport { SetCostVendorInvoiceCommand } from \"./setCostVendorInvoice.js\";\nexport { WriteOffCostEntryCommand } from \"./writeOffCostEntry.js\";\nexport { VoidCostEntryCommand } from \"./voidCostEntry.js\";\nexport { ReinstateCostEntryCommand } from \"./reinstateCostEntry.js\";\nexport { AcknowledgeCostDivergenceCommand } from \"./acknowledgeCostDivergence.js\";\nexport { RequestApprovalCommand } from \"./requestApproval.js\";\nexport { DecideApprovalCommand } from \"./decideApproval.js\";\nexport { ListEligibleApproversCommand } from \"./listEligibleApprovers.js\";\nexport { DescribeConciergeFacilitiesViewerCommand } from \"./describeConciergeFacilitiesViewer.js\";\nexport { ListKohostStaffCommand } from \"./listKohostStaff.js\";\nexport { SetUserSuperAdminCommand } from \"./setUserSuperAdmin.js\";\nexport { UpdateStaffUserCommand } from \"./updateStaffUser.js\";\nexport { DeleteStaffUserCommand } from \"./deleteStaffUser.js\";\nexport { DescribeStaffFunctionsCommand } from \"./describeStaffFunctions.js\";\nexport { ListFacilitiesStaffIdsCommand } from \"./listFacilitiesStaffIds.js\";\nexport { AddStaffFunctionMemberCommand } from \"./addStaffFunctionMember.js\";\nexport { RemoveStaffFunctionMemberCommand } from \"./removeStaffFunctionMember.js\";\nexport { SendAnnouncementCommand } from \"./sendAnnouncement.js\";\nexport { PreviewAnnouncementCommand } from \"./previewAnnouncement.js\";\nexport { ListAnnouncementsCommand } from \"./listAnnouncements.js\";\nexport { DescribeAnnouncementCommand } from \"./describeAnnouncement.js\";\nexport { CreateAnnouncementPresetCommand } from \"./createAnnouncementPreset.js\";\nexport { UpdateAnnouncementPresetCommand } from \"./updateAnnouncementPreset.js\";\nexport { DeleteAnnouncementPresetCommand } from \"./deleteAnnouncementPreset.js\";\nexport { ListServiceContractsCommand } from \"./listServiceContracts.js\";\nexport { DescribeServiceContractCommand } from \"./describeServiceContract.js\";\nexport { CreateServiceContractCommand } from \"./createServiceContract.js\";\nexport { UpdateServiceContractCommand } from \"./updateServiceContract.js\";\nexport { DuplicateServiceContractCommand } from \"./duplicateServiceContract.js\";\nexport { ActivateServiceContractCommand } from \"./activateServiceContract.js\";\nexport { ListOrganizationServiceContractsCommand } from \"./listOrganizationServiceContracts.js\";\nexport { DescribeOrganizationServiceContractCommand } from \"./describeOrganizationServiceContract.js\";\nexport { ListServiceContractCostsCommand } from \"./listServiceContractCosts.js\";\nexport { ListServiceContractTicketSchedulesCommand } from \"./listServiceContractTicketSchedules.js\";\nexport { AddServiceContractTicketScheduleCommand } from \"./addServiceContractTicketSchedule.js\";\nexport { UpdateServiceContractTicketScheduleCommand } from \"./updateServiceContractTicketSchedule.js\";\nexport { RemoveServiceContractTicketScheduleCommand } from \"./removeServiceContractTicketSchedule.js\";\nexport { CancelServiceContractCommand } from \"./cancelServiceContract.js\";\nexport { AddDueContractCostsCommand } from \"./addDueContractCosts.js\";\nexport { DeleteServiceContractCommand } from \"./deleteServiceContract.js\";\n"],"mappings":""}
@@ -0,0 +1,36 @@
1
+ export interface SetApiKeyAllowedOperationsCommandConfig {
2
+ data?: {
3
+ userId: string;
4
+ [key: string]: unknown;
5
+ } | null;
6
+ headers?: Record<string, string> | null;
7
+ query?: Record<string, unknown> | null;
8
+ }
9
+ export interface SetApiKeyAllowedOperationsCommandRequestConfig {
10
+ method: "put";
11
+ url: string;
12
+ data: {
13
+ userId: string;
14
+ [key: string]: unknown;
15
+ } | null;
16
+ params: Record<string, unknown> | null;
17
+ headers: Record<string, string> | null;
18
+ [key: string]: unknown;
19
+ }
20
+ /**
21
+ *
22
+ */
23
+ export declare class SetApiKeyAllowedOperationsCommand {
24
+ url: string;
25
+ data: {
26
+ userId: string;
27
+ [key: string]: unknown;
28
+ } | null;
29
+ query: Record<string, unknown> | null;
30
+ headers: Record<string, string> | null;
31
+ config: SetApiKeyAllowedOperationsCommandRequestConfig;
32
+ static params: readonly ["userId"];
33
+ static url: string;
34
+ static method: "put";
35
+ constructor(commandConfig: SetApiKeyAllowedOperationsCommandConfig, options?: Record<string, unknown>);
36
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/setApiKeyAllowedOperations.ts
2
+ /**
3
+ *
4
+ */
5
+ var SetApiKeyAllowedOperationsCommand = class SetApiKeyAllowedOperationsCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = ["userId"];
12
+ static url = "/users/:userId/apiKey/allowed-operations";
13
+ static method = "put";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = SetApiKeyAllowedOperationsCommand.params;
16
+ let { data, query, headers } = commandConfig ?? {};
17
+ if (typeof data === "undefined") data = null;
18
+ if (typeof query === "undefined") query = null;
19
+ if (typeof headers === "undefined") headers = null;
20
+ let url = SetApiKeyAllowedOperationsCommand.url;
21
+ if (pathParams && data) for (const param of pathParams) {
22
+ const urlParam = ":" + param;
23
+ url = url.replace(urlParam, data[param]);
24
+ }
25
+ const missingParams = url.match(/:[a-zA-Z0-9]+/g);
26
+ if (missingParams) {
27
+ const missing = missingParams.map((param) => param.replace(":", ""));
28
+ throw new Error("Missing parameters: " + missing.join(", "));
29
+ }
30
+ this.url = url;
31
+ this.data = data;
32
+ this.query = query;
33
+ this.headers = headers;
34
+ this.config = {
35
+ method: SetApiKeyAllowedOperationsCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { SetApiKeyAllowedOperationsCommand };
46
+
47
+ //# sourceMappingURL=setApiKeyAllowedOperations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setApiKeyAllowedOperations.js","names":[],"sources":["../../.generated/useCases/setApiKeyAllowedOperations.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface SetApiKeyAllowedOperationsCommandConfig {\n data?: { userId: string; [key: string]: unknown } | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface SetApiKeyAllowedOperationsCommandRequestConfig {\n method: \"put\";\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n params: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n [key: string]: unknown;\n}\n\n/**\n * \n */\nexport class SetApiKeyAllowedOperationsCommand {\n url: string;\n data: { userId: string; [key: string]: unknown } | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: SetApiKeyAllowedOperationsCommandRequestConfig;\n\n static params = [\"userId\"] as const;\n static url = \"/users/:userId/apiKey/allowed-operations\";\n static method = \"put\" as const;\n\n constructor(commandConfig: SetApiKeyAllowedOperationsCommandConfig, options: Record<string, unknown> = {}) {\n const pathParams = SetApiKeyAllowedOperationsCommand.params;\n\n let { data, query, headers } = commandConfig ?? {};\n\n if (typeof data === \"undefined\") data = null;\n if (typeof query === \"undefined\") query = null;\n if (typeof headers === \"undefined\") headers = null;\n\n // Replace path parameters with values from data\n let url: string = SetApiKeyAllowedOperationsCommand.url;\n\n if (pathParams && data) {\n for (const param of pathParams) {\n const urlParam = \":\" + param;\n url = url.replace(urlParam, (data as Record<string, string>)[param]);\n }\n }\n\n // Make sure all parameters have been replaced\n const missingParams = url.match(/:[a-zA-Z0-9]+/g);\n if (missingParams) {\n const missing = missingParams.map((param) => param.replace(\":\", \"\"));\n throw new Error(\"Missing parameters: \" + missing.join(\", \"));\n }\n\n this.url = url;\n this.data = data;\n this.query = query;\n this.headers = headers;\n\n this.config = {\n method: SetApiKeyAllowedOperationsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,oCAAb,MAAa,kCAAkC;CAC7C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC,QAAQ;CACzB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YAAY,eAAwD,UAAmC,CAAC,GAAG;EACzG,MAAM,aAAa,kCAAkC;EAErD,IAAI,EAAE,MAAM,OAAO,YAAY,iBAAiB,CAAC;EAEjD,IAAI,OAAO,SAAS,aAAa,OAAO;EACxC,IAAI,OAAO,UAAU,aAAa,QAAQ;EAC1C,IAAI,OAAO,YAAY,aAAa,UAAU;EAG9C,IAAI,MAAc,kCAAkC;EAEpD,IAAI,cAAc,MAChB,KAAK,MAAM,SAAS,YAAY;GAC9B,MAAM,WAAW,MAAM;GACvB,MAAM,IAAI,QAAQ,UAAW,KAAgC,MAAM;EACrE;EAIF,MAAM,gBAAgB,IAAI,MAAM,gBAAgB;EAChD,IAAI,eAAe;GACjB,MAAM,UAAU,cAAc,KAAK,UAAU,MAAM,QAAQ,KAAK,EAAE,CAAC;GACnE,MAAM,IAAI,MAAM,yBAAyB,QAAQ,KAAK,IAAI,CAAC;EAC7D;EAEA,KAAK,MAAM;EACX,KAAK,OAAO;EACZ,KAAK,QAAQ;EACb,KAAK,UAAU;EAEf,KAAK,SAAS;GACZ,QAAQ,kCAAkC;GACrC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "7.25.0",
3
+ "version": "7.26.0",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",
@@ -1 +0,0 @@
1
- declare const mustBeAString: string;
@@ -1,17 +0,0 @@
1
- import { Entity } from "./entity.js";
2
- import { validateConciergeWorkspaceBill as validate } from "../validate.js";
3
- import { conciergeWorkspaceBillSchema, type ConciergeWorkspaceBillSchema } from "../schemas/conciergeWorkspaceBill.js";
4
- /**
5
- * Data type for ConciergeWorkspaceBill constructor - exported for backwards compatibility
6
- */
7
- export type ConciergeWorkspaceBillData = ConciergeWorkspaceBillSchema;
8
- /**
9
- * One row of the cross-organization OneBill invoices view: a bill summary with its organization resolved and its total derived.
10
- */
11
- export interface ConciergeWorkspaceBill extends ConciergeWorkspaceBillSchema {
12
- }
13
- export declare class ConciergeWorkspaceBill extends Entity {
14
- schema: typeof conciergeWorkspaceBillSchema;
15
- validator: typeof validate;
16
- constructor(data: ConciergeWorkspaceBillSchema);
17
- }
@@ -1,17 +0,0 @@
1
- import { Entity } from "./entity.js";
2
- import { validateOrder as validate } from "../validate.js";
3
- import { orderSchema, type OrderSchema } from "../schemas/order.js";
4
- /**
5
- * Data type for Order constructor - exported for backwards compatibility
6
- */
7
- export type OrderData = OrderSchema;
8
- /**
9
- * A purchase order for products or services.
10
- */
11
- export interface Order extends OrderSchema {
12
- }
13
- export declare class Order extends Entity {
14
- schema: typeof orderSchema;
15
- validator: typeof validate;
16
- constructor(data: OrderSchema);
17
- }
@@ -1,156 +0,0 @@
1
- import type { FromSchema } from "json-schema-to-ts";
2
- export declare const conciergeWorkspaceBillSchema: {
3
- readonly $schema: "http://json-schema.org/draft-07/schema";
4
- readonly $id: "conciergeWorkspaceBill.json";
5
- readonly title: "ConciergeWorkspaceBill";
6
- readonly description: string;
7
- readonly type: "object";
8
- readonly additionalProperties: false;
9
- readonly required: readonly ["id", "organizationId", "organizationName", "invoiceNumber", "status", "effectiveDate", "sentAt", "createdAt", "period", "total", "currency", "lineCount"];
10
- readonly properties: {
11
- readonly id: {
12
- readonly type: "string";
13
- readonly description: "The bill's ID.";
14
- };
15
- readonly organizationId: {
16
- readonly type: "string";
17
- readonly description: "The organization the bill invoices.";
18
- };
19
- readonly organizationName: {
20
- readonly type: "string";
21
- readonly description: "The invoiced organization's display name.";
22
- };
23
- readonly invoiceNumber: {
24
- readonly type: readonly ["string", "null"];
25
- readonly description: string;
26
- };
27
- readonly status: {
28
- readonly type: "string";
29
- readonly enum: readonly ["draft", "sent", "paid", "void"];
30
- readonly description: "The bill's lifecycle state.";
31
- };
32
- readonly effectiveDate: {
33
- readonly type: "string";
34
- readonly format: "date-time";
35
- readonly description: string;
36
- };
37
- readonly sentAt: {
38
- readonly type: readonly ["string", "null"];
39
- readonly description: "When the bill was marked sent. Null until sent.";
40
- };
41
- readonly createdAt: {
42
- readonly type: "string";
43
- readonly format: "date-time";
44
- readonly description: "When the bill was created.";
45
- };
46
- readonly period: {
47
- readonly type: readonly ["string", "null"];
48
- readonly description: 'Display-only month label (e.g. "July 2026").';
49
- };
50
- readonly total: {
51
- readonly type: readonly ["integer", "null"];
52
- readonly description: string;
53
- };
54
- readonly currency: {
55
- readonly type: "string";
56
- readonly description: "ISO 4217 currency code.";
57
- };
58
- readonly lineCount: {
59
- readonly type: "integer";
60
- readonly description: "How many lines the bill carries.";
61
- };
62
- };
63
- };
64
- export declare const conciergeWorkspaceBillsResponseSchema: {
65
- readonly $schema: "http://json-schema.org/draft-07/schema";
66
- readonly $id: "conciergeWorkspaceBillsResponse.json";
67
- readonly title: "ConciergeWorkspaceBillsResponse";
68
- readonly description: string;
69
- readonly type: "object";
70
- readonly additionalProperties: false;
71
- readonly required: readonly ["bills", "page", "pages", "total"];
72
- readonly properties: {
73
- readonly bills: {
74
- readonly type: "array";
75
- readonly items: {
76
- readonly $schema: "http://json-schema.org/draft-07/schema";
77
- readonly $id: "conciergeWorkspaceBill.json";
78
- readonly title: "ConciergeWorkspaceBill";
79
- readonly description: string;
80
- readonly type: "object";
81
- readonly additionalProperties: false;
82
- readonly required: readonly ["id", "organizationId", "organizationName", "invoiceNumber", "status", "effectiveDate", "sentAt", "createdAt", "period", "total", "currency", "lineCount"];
83
- readonly properties: {
84
- readonly id: {
85
- readonly type: "string";
86
- readonly description: "The bill's ID.";
87
- };
88
- readonly organizationId: {
89
- readonly type: "string";
90
- readonly description: "The organization the bill invoices.";
91
- };
92
- readonly organizationName: {
93
- readonly type: "string";
94
- readonly description: "The invoiced organization's display name.";
95
- };
96
- readonly invoiceNumber: {
97
- readonly type: readonly ["string", "null"];
98
- readonly description: string;
99
- };
100
- readonly status: {
101
- readonly type: "string";
102
- readonly enum: readonly ["draft", "sent", "paid", "void"];
103
- readonly description: "The bill's lifecycle state.";
104
- };
105
- readonly effectiveDate: {
106
- readonly type: "string";
107
- readonly format: "date-time";
108
- readonly description: string;
109
- };
110
- readonly sentAt: {
111
- readonly type: readonly ["string", "null"];
112
- readonly description: "When the bill was marked sent. Null until sent.";
113
- };
114
- readonly createdAt: {
115
- readonly type: "string";
116
- readonly format: "date-time";
117
- readonly description: "When the bill was created.";
118
- };
119
- readonly period: {
120
- readonly type: readonly ["string", "null"];
121
- readonly description: 'Display-only month label (e.g. "July 2026").';
122
- };
123
- readonly total: {
124
- readonly type: readonly ["integer", "null"];
125
- readonly description: string;
126
- };
127
- readonly currency: {
128
- readonly type: "string";
129
- readonly description: "ISO 4217 currency code.";
130
- };
131
- readonly lineCount: {
132
- readonly type: "integer";
133
- readonly description: "How many lines the bill carries.";
134
- };
135
- };
136
- };
137
- };
138
- readonly page: {
139
- readonly type: "integer";
140
- readonly minimum: 1;
141
- readonly description: "The 1-based page returned.";
142
- };
143
- readonly pages: {
144
- readonly type: "integer";
145
- readonly minimum: 0;
146
- readonly description: "How many pages the filtered set spans.";
147
- };
148
- readonly total: {
149
- readonly type: "integer";
150
- readonly minimum: 0;
151
- readonly description: "How many bills match the filter across all pages.";
152
- };
153
- };
154
- };
155
- export type ConciergeWorkspaceBillSchema = FromSchema<typeof conciergeWorkspaceBillSchema>;
156
- export type ConciergeWorkspaceBillsResponseSchema = FromSchema<typeof conciergeWorkspaceBillsResponseSchema>;