@kohost/api-client 7.5.0 → 7.6.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.
Files changed (42) hide show
  1. package/dist/httpClient.d.ts +2 -2
  2. package/dist/lib/systemCategories.d.ts +1 -1
  3. package/dist/lib/systemCategories.js +4 -2
  4. package/dist/lib/systemCategories.js.map +1 -1
  5. package/dist/schemas/definitions.d.ts +12 -0
  6. package/dist/schemas/definitions.js +25 -1
  7. package/dist/schemas/definitions.js.map +1 -1
  8. package/dist/schemas/issue.d.ts +1 -1
  9. package/dist/schemas/issue.js +2 -1
  10. package/dist/schemas/issue.js.map +1 -1
  11. package/dist/schemas/organization.d.ts +32 -0
  12. package/dist/schemas/organization.js +21 -0
  13. package/dist/schemas/organization.js.map +1 -1
  14. package/dist/schemas/property.d.ts +0 -6
  15. package/dist/schemas/property.js +0 -6
  16. package/dist/schemas/property.js.map +1 -1
  17. package/dist/schemas/user.d.ts +8 -6
  18. package/dist/schemas/user.js +7 -7
  19. package/dist/schemas/user.js.map +1 -1
  20. package/dist/useCases/describeOrgNotificationDefaults.d.ts +27 -0
  21. package/dist/useCases/describeOrgNotificationDefaults.js +47 -0
  22. package/dist/useCases/describeOrgNotificationDefaults.js.map +1 -0
  23. package/dist/useCases/describePushVapidPublicKey.d.ts +27 -0
  24. package/dist/useCases/describePushVapidPublicKey.js +47 -0
  25. package/dist/useCases/describePushVapidPublicKey.js.map +1 -0
  26. package/dist/useCases/index.d.ts +6 -0
  27. package/dist/useCases/index.js +13 -1
  28. package/dist/useCases/index.js.map +1 -1
  29. package/dist/useCases/listMyPushSubscriptions.d.ts +27 -0
  30. package/dist/useCases/listMyPushSubscriptions.js +47 -0
  31. package/dist/useCases/listMyPushSubscriptions.js.map +1 -0
  32. package/dist/useCases/subscribePushDevice.d.ts +27 -0
  33. package/dist/useCases/subscribePushDevice.js +47 -0
  34. package/dist/useCases/subscribePushDevice.js.map +1 -0
  35. package/dist/useCases/unsubscribePushDevice.d.ts +36 -0
  36. package/dist/useCases/unsubscribePushDevice.js +47 -0
  37. package/dist/useCases/unsubscribePushDevice.js.map +1 -0
  38. package/dist/useCases/updateOrgNotificationDefaults.d.ts +27 -0
  39. package/dist/useCases/updateOrgNotificationDefaults.js +47 -0
  40. package/dist/useCases/updateOrgNotificationDefaults.js.map +1 -0
  41. package/dist/validate.d.ts +3 -3
  42. package/package.json +1 -1
@@ -108,7 +108,7 @@ const userSchema = {
108
108
  items: {
109
109
  type: "object",
110
110
  additionalProperties: false,
111
- required: ["organizationId", "propertyId"],
111
+ required: ["organizationId"],
112
112
  properties: {
113
113
  organizationId: { type: "string" },
114
114
  propertyId: { type: "string" },
@@ -117,13 +117,13 @@ const userSchema = {
117
117
  items: {
118
118
  type: "object",
119
119
  additionalProperties: false,
120
- required: ["discriminator", "enabled"],
120
+ required: ["discriminator"],
121
121
  properties: {
122
- discriminator: {
123
- type: "string",
124
- enum: ["observerTicketCreated", "observerTicketResolved"]
125
- },
126
- enabled: { type: "boolean" }
122
+ discriminator: { $ref: "definitions.json#/definitions/ticketNotificationEvent" },
123
+ channels: {
124
+ type: "array",
125
+ items: { $ref: "definitions.json#/definitions/notificationChannel" }
126
+ }
127
127
  }
128
128
  }
129
129
  }
@@ -1 +1 @@
1
- {"version":3,"file":"user.js","names":[],"sources":["../../.generated/schemas/user.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport { mediaFileSchema } from \"./mediaFile\";\nimport { policySchema } from \"./policy\";\n\nexport const userSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"user.json\",\n title: \"User\",\n type: \"object\",\n required: [\"id\", \"firstName\", \"lastName\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"user\",\n },\n firstName: {\n type: \"string\",\n },\n lastName: {\n type: \"string\",\n },\n phone: {\n type: \"string\",\n pattern: \"^\\\\+[0-9]{1,14}$\",\n },\n phoneVerified: {\n type: \"boolean\",\n },\n email: {\n type: \"string\",\n format: \"email\",\n },\n emailVerified: {\n type: \"boolean\",\n },\n whatsapp: {\n type: \"string\",\n pattern: \"^\\\\+[0-9]{1,14}$\",\n },\n whatsappVerified: {\n type: \"boolean\",\n },\n address: {\n $ref: \"definitions.json#/definitions/address\",\n },\n photo: {\n $ref: \"mediaFile.json#\",\n },\n jobTitle: {\n type: \"string\",\n },\n dob: {\n type: \"string\",\n },\n gender: {\n type: \"string\",\n enum: [\"male\", \"female\"],\n },\n nationality: {\n type: \"string\",\n minLength: 2,\n maxLength: 2,\n },\n permissions: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n required: [\"organizationId\", \"propertyId\", \"role\"],\n properties: {\n organizationId: {\n type: \"string\",\n description:\n \"The ID of the organization the permission is applies to.\",\n },\n propertyId: {\n type: \"string\",\n description: \"The ID of the property the permission is applies to.\",\n },\n role: {\n type: \"string\",\n enum: [\n \"Guest\",\n \"User\",\n \"Agent\",\n \"Manager\",\n \"Administrator\",\n \"SuperAdmin\",\n ],\n },\n timeTrackingEnabled: {\n type: \"boolean\",\n description: \"Whether time tracking is enabled for this role.\",\n },\n departmentIds: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"The ID of the department the user belongs to.\",\n },\n policyIds: {\n type: \"array\",\n items: {\n type: \"string\",\n description: \"ID of a policy that is applied to this role.\",\n },\n },\n policies: {\n type: \"array\",\n items: {\n description:\n \"A policy object populated from the policyIds array.\",\n $ref: \"policy.json\",\n },\n },\n },\n additionalProperties: false,\n },\n },\n preferences: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"organizationId\", \"propertyId\"],\n properties: {\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n notifications: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"discriminator\", \"enabled\"],\n properties: {\n discriminator: {\n type: \"string\",\n enum: [\"observerTicketCreated\", \"observerTicketResolved\"],\n },\n enabled: {\n type: \"boolean\",\n },\n },\n },\n },\n },\n },\n },\n notes: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n files: {\n type: \"array\",\n items: {\n $ref: \"mediaFile.json#\",\n },\n },\n location: {\n type: \"object\",\n required: [\"accuracy\", \"latitude\", \"longitude\", \"timestamp\"],\n additionalProperties: false,\n properties: {\n accuracy: {\n type: [\"number\", \"null\"],\n },\n latitude: {\n type: [\"number\", \"null\"],\n },\n longitude: {\n type: [\"number\", \"null\"],\n },\n timestamp: {\n type: [\"number\", \"null\"],\n },\n },\n },\n\n systems: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n properties: {\n systemId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n driver: {\n type: \"string\",\n },\n },\n required: [\"systemId\", \"propertyId\", \"driver\"],\n additionalProperties: false,\n },\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} as const;\n\nexport type UserSchema = FromSchema<\n typeof userSchema,\n {\n references: [typeof defs, typeof mediaFileSchema, typeof policySchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n\nexport const getters = {\n fullName() {\n return `${this.firstName} ${this.lastName}`;\n },\n roles() {\n const roles = new Set();\n if (this.permissions) {\n for (const permission of this.permissions) {\n roles.add(permission.role);\n }\n }\n return Array.from(roles);\n },\n isSuperAdmin() {\n return this.roles.includes(\"SuperAdmin\");\n },\n isAdmin() {\n return this.roles.includes(\"Admin\") || this.roles.includes(\"Administrator\");\n },\n isManager() {\n return this.roles.includes(\"Manager\");\n },\n isUser() {\n return this.roles.includes(\"User\");\n },\n};\n"],"mappings":";AAKA,MAAa,aAAa;CACxB,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAa;CAAU;CACxC,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;EACX;EACA,WAAW,EACT,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,OAAO;GACL,MAAM;GACN,SAAS;EACX;EACA,eAAe,EACb,MAAM,UACR;EACA,OAAO;GACL,MAAM;GACN,QAAQ;EACV;EACA,eAAe,EACb,MAAM,UACR;EACA,UAAU;GACR,MAAM;GACN,SAAS;EACX;EACA,kBAAkB,EAChB,MAAM,UACR;EACA,SAAS,EACP,MAAM,wCACR;EACA,OAAO,EACL,MAAM,kBACR;EACA,UAAU,EACR,MAAM,SACR;EACA,KAAK,EACH,MAAM,SACR;EACA,QAAQ;GACN,MAAM;GACN,MAAM,CAAC,QAAQ,QAAQ;EACzB;EACA,aAAa;GACX,MAAM;GACN,WAAW;GACX,WAAW;EACb;EACA,aAAa;GACX,MAAM;GACN,SAAS,CAAC;GACV,OAAO;IACL,MAAM;IACN,UAAU;KAAC;KAAkB;KAAc;IAAM;IACjD,YAAY;KACV,gBAAgB;MACd,MAAM;MACN,aACE;KACJ;KACA,YAAY;MACV,MAAM;MACN,aAAa;KACf;KACA,MAAM;MACJ,MAAM;MACN,MAAM;OACJ;OACA;OACA;OACA;OACA;OACA;MACF;KACF;KACA,qBAAqB;MACnB,MAAM;MACN,aAAa;KACf;KACA,eAAe;MACb,MAAM;MACN,OAAO,EACL,MAAM,SACR;MACA,aAAa;KACf;KACA,WAAW;MACT,MAAM;MACN,OAAO;OACL,MAAM;OACN,aAAa;MACf;KACF;KACA,UAAU;MACR,MAAM;MACN,OAAO;OACL,aACE;OACF,MAAM;MACR;KACF;IACF;IACA,sBAAsB;GACxB;EACF;EACA,aAAa;GACX,MAAM;GACN,OAAO;IACL,MAAM;IACN,sBAAsB;IACtB,UAAU,CAAC,kBAAkB,YAAY;IACzC,YAAY;KACV,gBAAgB,EACd,MAAM,SACR;KACA,YAAY,EACV,MAAM,SACR;KACA,eAAe;MACb,MAAM;MACN,OAAO;OACL,MAAM;OACN,sBAAsB;OACtB,UAAU,CAAC,iBAAiB,SAAS;OACrC,YAAY;QACV,eAAe;SACb,MAAM;SACN,MAAM,CAAC,yBAAyB,wBAAwB;QAC1D;QACA,SAAS,EACP,MAAM,UACR;OACF;MACF;KACF;IACF;GACF;EACF;EACA,OAAO;GACL,MAAM;GACN,OAAO,EACL,MAAM,SACR;EACF;EACA,OAAO;GACL,MAAM;GACN,OAAO,EACL,MAAM,kBACR;EACF;EACA,UAAU;GACR,MAAM;GACN,UAAU;IAAC;IAAY;IAAY;IAAa;GAAW;GAC3D,sBAAsB;GACtB,YAAY;IACV,UAAU,EACR,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,UAAU,EACR,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,WAAW,EACT,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,WAAW,EACT,MAAM,CAAC,UAAU,MAAM,EACzB;GACF;EACF;EAEA,SAAS;GACP,MAAM;GACN,SAAS,CAAC;GACV,OAAO;IACL,MAAM;IACN,YAAY;KACV,UAAU,EACR,MAAM,SACR;KACA,YAAY,EACV,MAAM,SACR;KACA,QAAQ,EACN,MAAM,SACR;IACF;IACA,UAAU;KAAC;KAAY;KAAc;IAAQ;IAC7C,sBAAsB;GACxB;EACF;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;CACF;AACF;AAiBA,MAAa,UAAU;CACrB,WAAW;EACT,OAAO,GAAG,KAAK,UAAU,GAAG,KAAK;CACnC;CACA,QAAQ;EACN,MAAM,wBAAQ,IAAI,IAAI;EACtB,IAAI,KAAK,aACP,KAAK,MAAM,cAAc,KAAK,aAC5B,MAAM,IAAI,WAAW,IAAI;EAG7B,OAAO,MAAM,KAAK,KAAK;CACzB;CACA,eAAe;EACb,OAAO,KAAK,MAAM,SAAS,YAAY;CACzC;CACA,UAAU;EACR,OAAO,KAAK,MAAM,SAAS,OAAO,KAAK,KAAK,MAAM,SAAS,eAAe;CAC5E;CACA,YAAY;EACV,OAAO,KAAK,MAAM,SAAS,SAAS;CACtC;CACA,SAAS;EACP,OAAO,KAAK,MAAM,SAAS,MAAM;CACnC;AACF"}
1
+ {"version":3,"file":"user.js","names":[],"sources":["../../.generated/schemas/user.ts"],"sourcesContent":["import defs, { ISODateString } from \"./definitions\";\nimport type { FromSchema } from \"json-schema-to-ts\";\nimport { mediaFileSchema } from \"./mediaFile\";\nimport { policySchema } from \"./policy\";\n\nexport const userSchema = {\n $schema: \"http://json-schema.org/draft-07/schema\",\n $id: \"user.json\",\n title: \"User\",\n type: \"object\",\n required: [\"id\", \"firstName\", \"lastName\"],\n additionalProperties: false,\n properties: {\n id: {\n $ref: \"definitions.json#/definitions/id\",\n },\n type: {\n type: \"string\",\n default: \"user\",\n },\n firstName: {\n type: \"string\",\n },\n lastName: {\n type: \"string\",\n },\n phone: {\n type: \"string\",\n pattern: \"^\\\\+[0-9]{1,14}$\",\n },\n phoneVerified: {\n type: \"boolean\",\n },\n email: {\n type: \"string\",\n format: \"email\",\n },\n emailVerified: {\n type: \"boolean\",\n },\n whatsapp: {\n type: \"string\",\n pattern: \"^\\\\+[0-9]{1,14}$\",\n },\n whatsappVerified: {\n type: \"boolean\",\n },\n address: {\n $ref: \"definitions.json#/definitions/address\",\n },\n photo: {\n $ref: \"mediaFile.json#\",\n },\n jobTitle: {\n type: \"string\",\n },\n dob: {\n type: \"string\",\n },\n gender: {\n type: \"string\",\n enum: [\"male\", \"female\"],\n },\n nationality: {\n type: \"string\",\n minLength: 2,\n maxLength: 2,\n },\n permissions: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n required: [\"organizationId\", \"propertyId\", \"role\"],\n properties: {\n organizationId: {\n type: \"string\",\n description:\n \"The ID of the organization the permission is applies to.\",\n },\n propertyId: {\n type: \"string\",\n description: \"The ID of the property the permission is applies to.\",\n },\n role: {\n type: \"string\",\n enum: [\n \"Guest\",\n \"User\",\n \"Agent\",\n \"Manager\",\n \"Administrator\",\n \"SuperAdmin\",\n ],\n },\n timeTrackingEnabled: {\n type: \"boolean\",\n description: \"Whether time tracking is enabled for this role.\",\n },\n departmentIds: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n description: \"The ID of the department the user belongs to.\",\n },\n policyIds: {\n type: \"array\",\n items: {\n type: \"string\",\n description: \"ID of a policy that is applied to this role.\",\n },\n },\n policies: {\n type: \"array\",\n items: {\n description:\n \"A policy object populated from the policyIds array.\",\n $ref: \"policy.json\",\n },\n },\n },\n additionalProperties: false,\n },\n },\n preferences: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"organizationId\"],\n properties: {\n organizationId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n notifications: {\n type: \"array\",\n items: {\n type: \"object\",\n additionalProperties: false,\n required: [\"discriminator\"],\n properties: {\n discriminator: {\n $ref: \"definitions.json#/definitions/ticketNotificationEvent\",\n },\n channels: {\n type: \"array\",\n items: {\n $ref: \"definitions.json#/definitions/notificationChannel\",\n },\n },\n },\n },\n },\n },\n },\n },\n notes: {\n type: \"array\",\n items: {\n type: \"string\",\n },\n },\n files: {\n type: \"array\",\n items: {\n $ref: \"mediaFile.json#\",\n },\n },\n location: {\n type: \"object\",\n required: [\"accuracy\", \"latitude\", \"longitude\", \"timestamp\"],\n additionalProperties: false,\n properties: {\n accuracy: {\n type: [\"number\", \"null\"],\n },\n latitude: {\n type: [\"number\", \"null\"],\n },\n longitude: {\n type: [\"number\", \"null\"],\n },\n timestamp: {\n type: [\"number\", \"null\"],\n },\n },\n },\n\n systems: {\n type: \"array\",\n default: [],\n items: {\n type: \"object\",\n properties: {\n systemId: {\n type: \"string\",\n },\n propertyId: {\n type: \"string\",\n },\n driver: {\n type: \"string\",\n },\n },\n required: [\"systemId\", \"propertyId\", \"driver\"],\n additionalProperties: false,\n },\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} as const;\n\nexport type UserSchema = FromSchema<\n typeof userSchema,\n {\n references: [typeof defs, typeof mediaFileSchema, typeof policySchema];\n deserialize: [\n {\n pattern: {\n format: \"date-time\";\n };\n output: Date | ISODateString;\n },\n ];\n }\n>;\n\nexport const getters = {\n fullName() {\n return `${this.firstName} ${this.lastName}`;\n },\n roles() {\n const roles = new Set();\n if (this.permissions) {\n for (const permission of this.permissions) {\n roles.add(permission.role);\n }\n }\n return Array.from(roles);\n },\n isSuperAdmin() {\n return this.roles.includes(\"SuperAdmin\");\n },\n isAdmin() {\n return this.roles.includes(\"Admin\") || this.roles.includes(\"Administrator\");\n },\n isManager() {\n return this.roles.includes(\"Manager\");\n },\n isUser() {\n return this.roles.includes(\"User\");\n },\n};\n"],"mappings":";AAKA,MAAa,aAAa;CACxB,SAAS;CACT,KAAK;CACL,OAAO;CACP,MAAM;CACN,UAAU;EAAC;EAAM;EAAa;CAAU;CACxC,sBAAsB;CACtB,YAAY;EACV,IAAI,EACF,MAAM,mCACR;EACA,MAAM;GACJ,MAAM;GACN,SAAS;EACX;EACA,WAAW,EACT,MAAM,SACR;EACA,UAAU,EACR,MAAM,SACR;EACA,OAAO;GACL,MAAM;GACN,SAAS;EACX;EACA,eAAe,EACb,MAAM,UACR;EACA,OAAO;GACL,MAAM;GACN,QAAQ;EACV;EACA,eAAe,EACb,MAAM,UACR;EACA,UAAU;GACR,MAAM;GACN,SAAS;EACX;EACA,kBAAkB,EAChB,MAAM,UACR;EACA,SAAS,EACP,MAAM,wCACR;EACA,OAAO,EACL,MAAM,kBACR;EACA,UAAU,EACR,MAAM,SACR;EACA,KAAK,EACH,MAAM,SACR;EACA,QAAQ;GACN,MAAM;GACN,MAAM,CAAC,QAAQ,QAAQ;EACzB;EACA,aAAa;GACX,MAAM;GACN,WAAW;GACX,WAAW;EACb;EACA,aAAa;GACX,MAAM;GACN,SAAS,CAAC;GACV,OAAO;IACL,MAAM;IACN,UAAU;KAAC;KAAkB;KAAc;IAAM;IACjD,YAAY;KACV,gBAAgB;MACd,MAAM;MACN,aACE;KACJ;KACA,YAAY;MACV,MAAM;MACN,aAAa;KACf;KACA,MAAM;MACJ,MAAM;MACN,MAAM;OACJ;OACA;OACA;OACA;OACA;OACA;MACF;KACF;KACA,qBAAqB;MACnB,MAAM;MACN,aAAa;KACf;KACA,eAAe;MACb,MAAM;MACN,OAAO,EACL,MAAM,SACR;MACA,aAAa;KACf;KACA,WAAW;MACT,MAAM;MACN,OAAO;OACL,MAAM;OACN,aAAa;MACf;KACF;KACA,UAAU;MACR,MAAM;MACN,OAAO;OACL,aACE;OACF,MAAM;MACR;KACF;IACF;IACA,sBAAsB;GACxB;EACF;EACA,aAAa;GACX,MAAM;GACN,OAAO;IACL,MAAM;IACN,sBAAsB;IACtB,UAAU,CAAC,gBAAgB;IAC3B,YAAY;KACV,gBAAgB,EACd,MAAM,SACR;KACA,YAAY,EACV,MAAM,SACR;KACA,eAAe;MACb,MAAM;MACN,OAAO;OACL,MAAM;OACN,sBAAsB;OACtB,UAAU,CAAC,eAAe;OAC1B,YAAY;QACV,eAAe,EACb,MAAM,wDACR;QACA,UAAU;SACR,MAAM;SACN,OAAO,EACL,MAAM,oDACR;QACF;OACF;MACF;KACF;IACF;GACF;EACF;EACA,OAAO;GACL,MAAM;GACN,OAAO,EACL,MAAM,SACR;EACF;EACA,OAAO;GACL,MAAM;GACN,OAAO,EACL,MAAM,kBACR;EACF;EACA,UAAU;GACR,MAAM;GACN,UAAU;IAAC;IAAY;IAAY;IAAa;GAAW;GAC3D,sBAAsB;GACtB,YAAY;IACV,UAAU,EACR,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,UAAU,EACR,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,WAAW,EACT,MAAM,CAAC,UAAU,MAAM,EACzB;IACA,WAAW,EACT,MAAM,CAAC,UAAU,MAAM,EACzB;GACF;EACF;EAEA,SAAS;GACP,MAAM;GACN,SAAS,CAAC;GACV,OAAO;IACL,MAAM;IACN,YAAY;KACV,UAAU,EACR,MAAM,SACR;KACA,YAAY,EACV,MAAM,SACR;KACA,QAAQ,EACN,MAAM,SACR;IACF;IACA,UAAU;KAAC;KAAY;KAAc;IAAQ;IAC7C,sBAAsB;GACxB;EACF;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;EACA,WAAW,EACT,MAAM,qCACR;CACF;AACF;AAiBA,MAAa,UAAU;CACrB,WAAW;EACT,OAAO,GAAG,KAAK,UAAU,GAAG,KAAK;CACnC;CACA,QAAQ;EACN,MAAM,wBAAQ,IAAI,IAAI;EACtB,IAAI,KAAK,aACP,KAAK,MAAM,cAAc,KAAK,aAC5B,MAAM,IAAI,WAAW,IAAI;EAG7B,OAAO,MAAM,KAAK,KAAK;CACzB;CACA,eAAe;EACb,OAAO,KAAK,MAAM,SAAS,YAAY;CACzC;CACA,UAAU;EACR,OAAO,KAAK,MAAM,SAAS,OAAO,KAAK,KAAK,MAAM,SAAS,eAAe;CAC5E;CACA,YAAY;EACV,OAAO,KAAK,MAAM,SAAS,SAAS;CACtC;CACA,SAAS;EACP,OAAO,KAAK,MAAM,SAAS,MAAM;CACnC;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface DescribeOrgNotificationDefaultsCommandConfig {
2
+ data?: Record<string, unknown> | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface DescribeOrgNotificationDefaultsCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class DescribeOrgNotificationDefaultsCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: DescribeOrgNotificationDefaultsCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: DescribeOrgNotificationDefaultsCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/describeOrgNotificationDefaults.ts
2
+ /**
3
+ *
4
+ */
5
+ var DescribeOrgNotificationDefaultsCommand = class DescribeOrgNotificationDefaultsCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/notifications/defaults";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = DescribeOrgNotificationDefaultsCommand.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 = DescribeOrgNotificationDefaultsCommand.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: DescribeOrgNotificationDefaultsCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { DescribeOrgNotificationDefaultsCommand };
46
+
47
+ //# sourceMappingURL=describeOrgNotificationDefaults.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"describeOrgNotificationDefaults.js","names":[],"sources":["../../.generated/useCases/describeOrgNotificationDefaults.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DescribeOrgNotificationDefaultsCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DescribeOrgNotificationDefaultsCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<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 DescribeOrgNotificationDefaultsCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: DescribeOrgNotificationDefaultsCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/notifications/defaults\";\n static method = \"get\" as const;\n\n constructor(\n commandConfig: DescribeOrgNotificationDefaultsCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = DescribeOrgNotificationDefaultsCommand.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 = DescribeOrgNotificationDefaultsCommand.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: DescribeOrgNotificationDefaultsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,yCAAb,MAAa,uCAAuC;CAClD;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YACE,eACA,UAAmC,CAAC,GACpC;EACA,MAAM,aAAa,uCAAuC;EAE1D,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,uCAAuC;EAEzD,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,uCAAuC;GAC1C;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface DescribePushVapidPublicKeyCommandConfig {
2
+ data?: Record<string, unknown> | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface DescribePushVapidPublicKeyCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class DescribePushVapidPublicKeyCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: DescribePushVapidPublicKeyCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: DescribePushVapidPublicKeyCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/describePushVapidPublicKey.ts
2
+ /**
3
+ *
4
+ */
5
+ var DescribePushVapidPublicKeyCommand = class DescribePushVapidPublicKeyCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/notifications/push-subscriptions/vapid-public-key";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = DescribePushVapidPublicKeyCommand.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 = DescribePushVapidPublicKeyCommand.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: DescribePushVapidPublicKeyCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { DescribePushVapidPublicKeyCommand };
46
+
47
+ //# sourceMappingURL=describePushVapidPublicKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"describePushVapidPublicKey.js","names":[],"sources":["../../.generated/useCases/describePushVapidPublicKey.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface DescribePushVapidPublicKeyCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface DescribePushVapidPublicKeyCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<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 DescribePushVapidPublicKeyCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: DescribePushVapidPublicKeyCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/notifications/push-subscriptions/vapid-public-key\";\n static method = \"get\" as const;\n\n constructor(\n commandConfig: DescribePushVapidPublicKeyCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = DescribePushVapidPublicKeyCommand.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 = DescribePushVapidPublicKeyCommand.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: DescribePushVapidPublicKeyCommand.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;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YACE,eACA,UAAmC,CAAC,GACpC;EACA,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"}
@@ -127,6 +127,12 @@ export { DeleteAutomationCommand } from "./deleteAutomation.js";
127
127
  export { CreateDefaultAutomationsCommand } from "./createDefaultAutomations.js";
128
128
  export { RunAutomationCommand } from "./runAutomation.js";
129
129
  export { SendNotificationCommand } from "./sendNotification.js";
130
+ export { DescribeOrgNotificationDefaultsCommand } from "./describeOrgNotificationDefaults.js";
131
+ export { UpdateOrgNotificationDefaultsCommand } from "./updateOrgNotificationDefaults.js";
132
+ export { ListMyPushSubscriptionsCommand } from "./listMyPushSubscriptions.js";
133
+ export { DescribePushVapidPublicKeyCommand } from "./describePushVapidPublicKey.js";
134
+ export { SubscribePushDeviceCommand } from "./subscribePushDevice.js";
135
+ export { UnsubscribePushDeviceCommand } from "./unsubscribePushDevice.js";
130
136
  export { ListSessionsCommand } from "./listSessions.js";
131
137
  export { DescribeSessionCommand } from "./describeSession.js";
132
138
  export { DeleteSessionCommand } from "./deleteSession.js";
@@ -128,6 +128,12 @@ import { DeleteAutomationCommand } from "./deleteAutomation.js";
128
128
  import { CreateDefaultAutomationsCommand } from "./createDefaultAutomations.js";
129
129
  import { RunAutomationCommand } from "./runAutomation.js";
130
130
  import { SendNotificationCommand } from "./sendNotification.js";
131
+ import { DescribeOrgNotificationDefaultsCommand } from "./describeOrgNotificationDefaults.js";
132
+ import { UpdateOrgNotificationDefaultsCommand } from "./updateOrgNotificationDefaults.js";
133
+ import { ListMyPushSubscriptionsCommand } from "./listMyPushSubscriptions.js";
134
+ import { DescribePushVapidPublicKeyCommand } from "./describePushVapidPublicKey.js";
135
+ import { SubscribePushDeviceCommand } from "./subscribePushDevice.js";
136
+ import { UnsubscribePushDeviceCommand } from "./unsubscribePushDevice.js";
131
137
  import { ListSessionsCommand } from "./listSessions.js";
132
138
  import { DescribeSessionCommand } from "./describeSession.js";
133
139
  import { DeleteSessionCommand } from "./deleteSession.js";
@@ -204,9 +210,11 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
204
210
  DescribeMyAuthCommand: () => DescribeMyAuthCommand,
205
211
  DescribeMyOrganizationCommand: () => DescribeMyOrganizationCommand,
206
212
  DescribeMyPasskeyRegistrationsCommand: () => DescribeMyPasskeyRegistrationsCommand,
213
+ DescribeOrgNotificationDefaultsCommand: () => DescribeOrgNotificationDefaultsCommand,
207
214
  DescribeOrganizationCommand: () => DescribeOrganizationCommand,
208
215
  DescribePolicyCommand: () => DescribePolicyCommand,
209
216
  DescribePropertyCommand: () => DescribePropertyCommand,
217
+ DescribePushVapidPublicKeyCommand: () => DescribePushVapidPublicKeyCommand,
210
218
  DescribeSOSCommand: () => DescribeSOSCommand,
211
219
  DescribeSelfCommand: () => DescribeSelfCommand,
212
220
  DescribeServerCommand: () => DescribeServerCommand,
@@ -234,6 +242,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
234
242
  ListIssuesCommand: () => ListIssuesCommand,
235
243
  ListMyOrganizationsCommand: () => ListMyOrganizationsCommand,
236
244
  ListMyPropertiesCommand: () => ListMyPropertiesCommand,
245
+ ListMyPushSubscriptionsCommand: () => ListMyPushSubscriptionsCommand,
237
246
  ListMyTimeSheetsCommand: () => ListMyTimeSheetsCommand,
238
247
  ListOrganizationsCommand: () => ListOrganizationsCommand,
239
248
  ListPoliciesCommand: () => ListPoliciesCommand,
@@ -262,6 +271,8 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
262
271
  SetDevicesCommand: () => SetDevicesCommand,
263
272
  StartSOSCommand: () => StartSOSCommand,
264
273
  StopSOSCommand: () => StopSOSCommand,
274
+ SubscribePushDeviceCommand: () => SubscribePushDeviceCommand,
275
+ UnsubscribePushDeviceCommand: () => UnsubscribePushDeviceCommand,
265
276
  UpdateAutomationCommand: () => UpdateAutomationCommand,
266
277
  UpdateCategoryCommand: () => UpdateCategoryCommand,
267
278
  UpdateDepartmentCommand: () => UpdateDepartmentCommand,
@@ -270,6 +281,7 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
270
281
  UpdateDiscoveredDeviceCommand: () => UpdateDiscoveredDeviceCommand,
271
282
  UpdateIssueCommand: () => UpdateIssueCommand,
272
283
  UpdateMessageReadStatusCommand: () => UpdateMessageReadStatusCommand,
284
+ UpdateOrgNotificationDefaultsCommand: () => UpdateOrgNotificationDefaultsCommand,
273
285
  UpdateOrganizationCommand: () => UpdateOrganizationCommand,
274
286
  UpdateOrganizationFeaturesCommand: () => UpdateOrganizationFeaturesCommand,
275
287
  UpdatePolicyCommand: () => UpdatePolicyCommand,
@@ -289,6 +301,6 @@ var useCases_exports = /* @__PURE__ */ __exportAll({
289
301
  ValidateAuthCommand: () => ValidateAuthCommand
290
302
  });
291
303
  //#endregion
292
- export { AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CheckVerificationCodeCommand, CopyIssueRoutingCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateCategoryCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateImageUploadEndpointCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateServerCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DeleteAutomationCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteServerCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAutomationCommand, DescribeCategoryCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrganizationCommand, DescribePolicyCommand, DescribePropertyCommand, DescribeSOSCommand, DescribeSelfCommand, DescribeServerCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, EmailUserAccountSetupCommand, GetApiKeyCommand, LeaveTicketCommand, ListAutomationsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListIntegrationsCommand, ListIssuesCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyTimeSheetsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListServersCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MergeIssueCommand, MoveDeviceCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, SelectOrganizationCommand, SendNotificationCommand, SendVerificationCodeCommand, SetDeviceCommand, SetDevicesCommand, StartSOSCommand, StopSOSCommand, UpdateAutomationCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateSelfCommand, UpdateServerCommand, UpdateSpaceCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UploadImageCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, useCases_exports };
304
+ export { AutoAssociateDiscoveredDevicesCommand, BulkUpdateIssueCommand, CheckVerificationCodeCommand, CopyIssueRoutingCommand, CreateApiKeyCommand, CreateAutomationCommand, CreateCategoryCommand, CreateDefaultAutomationsCommand, CreateDepartmentCommand, CreateDeviceCommand, CreateDeviceCredentialCommand, CreateDiscoveredDeviceAssociationCommand, CreateDiscoveredDeviceAssociationMapCommand, CreateDiscoveredDeviceCommand, CreateImageUploadEndpointCommand, CreateIssueCommand, CreateOrganizationCommand, CreatePolicyCommand, CreatePropertyCommand, CreatePwaHandoffTokenCommand, CreateServerCommand, CreateSpaceCommand, CreateSystemCommand, CreateTicketCommand, CreateTicketMessageCommand, CreateTimeSheetCommand, CreateTimeSheetTimeEntryCommand, CreateUserCommand, CreateVendorCommand, DeleteAutomationCommand, DeleteCategoryCommand, DeleteDepartmentCommand, DeleteDeviceCommand, DeleteDeviceCredentialCommand, DeleteDiscoveredDeviceCommand, DeleteIssueCommand, DeleteMediaFileCommand, DeleteOrganizationCommand, DeletePolicyCommand, DeletePropertyCommand, DeleteServerCommand, DeleteSessionCommand, DeleteSpaceCommand, DeleteSystemCommand, DeleteTicketCommand, DeleteTimeSheetCommand, DeleteTimeSheetTimeEntryCommand, DeleteUserCommand, DeleteUserCredentialCommand, DeleteVendorCommand, DescribeAutomationCommand, DescribeCategoryCommand, DescribeDepartmentCommand, DescribeDeviceCommand, DescribeDeviceConfigCommand, DescribeDiscoveredDeviceCommand, DescribeIssueCommand, DescribeMyAuthCommand, DescribeMyOrganizationCommand, DescribeMyPasskeyRegistrationsCommand, DescribeOrgNotificationDefaultsCommand, DescribeOrganizationCommand, DescribePolicyCommand, DescribePropertyCommand, DescribePushVapidPublicKeyCommand, DescribeSOSCommand, DescribeSelfCommand, DescribeServerCommand, DescribeSessionCommand, DescribeSpaceCommand, DescribeSystemCommand, DescribeTicketCommand, DescribeTicketFiltersCommand, DescribeTicketStatsCommand, DescribeTimeSheetCommand, DescribeTimeSheetStatsCommand, DescribeUserCommand, DescribeVendorCommand, EmailUserAccountSetupCommand, GetApiKeyCommand, LeaveTicketCommand, ListAutomationsCommand, ListCameraStreamPreviewsCommand, ListCategoriesCommand, ListDepartmentsCommand, ListDeviceCredentialsCommand, ListDevicesCommand, ListDiscoveredDevicesCommand, ListIntegrationsCommand, ListIssuesCommand, ListMyOrganizationsCommand, ListMyPropertiesCommand, ListMyPushSubscriptionsCommand, ListMyTimeSheetsCommand, ListOrganizationsCommand, ListPoliciesCommand, ListPropertiesCommand, ListPropertyCredentialsCommand, ListServersCommand, ListSessionsCommand, ListSpacesCommand, ListSystemsCommand, ListTicketLocationsCommand, ListTicketsCommand, ListTimeSheetsCommand, ListUserSpacesCommand, ListUsersCommand, ListVendorsCommand, LogoutUserCommand, MergeIssueCommand, MoveDeviceCommand, RevokeApiKeyCommand, RotateApiKeyCommand, RunAutomationCommand, SelectOrganizationCommand, SendNotificationCommand, SendVerificationCodeCommand, SetDeviceCommand, SetDevicesCommand, StartSOSCommand, StopSOSCommand, SubscribePushDeviceCommand, UnsubscribePushDeviceCommand, UpdateAutomationCommand, UpdateCategoryCommand, UpdateDepartmentCommand, UpdateDeviceCommand, UpdateDeviceCredentialCommand, UpdateDiscoveredDeviceCommand, UpdateIssueCommand, UpdateMessageReadStatusCommand, UpdateOrgNotificationDefaultsCommand, UpdateOrganizationCommand, UpdateOrganizationFeaturesCommand, UpdatePolicyCommand, UpdatePropertyCommand, UpdatePropertyFeaturesCommand, UpdateSelfCommand, UpdateServerCommand, UpdateSpaceCommand, UpdateSystemCommand, UpdateTicketCommand, UpdateTimeSheetCommand, UpdateTimeSheetTimeEntryCommand, UpdateUserCommand, UpdateVendorCommand, UploadImageCommand, UpsertDiscoveredDeviceCommand, ValidateAuthCommand, useCases_exports };
293
305
 
294
306
  //# 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 { 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 { 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 { 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 { 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 { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.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 { CreateImageUploadEndpointCommand } from \"./createImageUploadEndpoint.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { UploadImageCommand } from \"./uploadImage.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 { 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 { 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 { 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\";\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 { 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 { 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 { 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 { 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 { DeleteOrganizationCommand } from \"./deleteOrganization.js\";\nexport { DescribeOrganizationCommand } from \"./describeOrganization.js\";\nexport { ListOrganizationsCommand } from \"./listOrganizations.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 { CreateImageUploadEndpointCommand } from \"./createImageUploadEndpoint.js\";\nexport { DeleteMediaFileCommand } from \"./deleteMediaFile.js\";\nexport { UploadImageCommand } from \"./uploadImage.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 { 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 { 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\";\n"],"mappings":""}
@@ -0,0 +1,27 @@
1
+ export interface ListMyPushSubscriptionsCommandConfig {
2
+ data?: Record<string, unknown> | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface ListMyPushSubscriptionsCommandRequestConfig {
7
+ method: "get";
8
+ url: string;
9
+ data: Record<string, unknown> | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class ListMyPushSubscriptionsCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: ListMyPushSubscriptionsCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "get";
26
+ constructor(commandConfig: ListMyPushSubscriptionsCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/listMyPushSubscriptions.ts
2
+ /**
3
+ *
4
+ */
5
+ var ListMyPushSubscriptionsCommand = class ListMyPushSubscriptionsCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/notifications/push-subscriptions";
13
+ static method = "get";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = ListMyPushSubscriptionsCommand.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 = ListMyPushSubscriptionsCommand.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: ListMyPushSubscriptionsCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { ListMyPushSubscriptionsCommand };
46
+
47
+ //# sourceMappingURL=listMyPushSubscriptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listMyPushSubscriptions.js","names":[],"sources":["../../.generated/useCases/listMyPushSubscriptions.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface ListMyPushSubscriptionsCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface ListMyPushSubscriptionsCommandRequestConfig {\n method: \"get\";\n url: string;\n data: Record<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 ListMyPushSubscriptionsCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: ListMyPushSubscriptionsCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/notifications/push-subscriptions\";\n static method = \"get\" as const;\n\n constructor(\n commandConfig: ListMyPushSubscriptionsCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = ListMyPushSubscriptionsCommand.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 = ListMyPushSubscriptionsCommand.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: ListMyPushSubscriptionsCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,iCAAb,MAAa,+BAA+B;CAC1C;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YACE,eACA,UAAmC,CAAC,GACpC;EACA,MAAM,aAAa,+BAA+B;EAElD,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,+BAA+B;EAEjD,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,+BAA+B;GAClC;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,27 @@
1
+ export interface SubscribePushDeviceCommandConfig {
2
+ data?: Record<string, unknown> | null;
3
+ headers?: Record<string, string> | null;
4
+ query?: Record<string, unknown> | null;
5
+ }
6
+ export interface SubscribePushDeviceCommandRequestConfig {
7
+ method: "post";
8
+ url: string;
9
+ data: Record<string, unknown> | null;
10
+ params: Record<string, unknown> | null;
11
+ headers: Record<string, string> | null;
12
+ [key: string]: unknown;
13
+ }
14
+ /**
15
+ *
16
+ */
17
+ export declare class SubscribePushDeviceCommand {
18
+ url: string;
19
+ data: Record<string, unknown> | null;
20
+ query: Record<string, unknown> | null;
21
+ headers: Record<string, string> | null;
22
+ config: SubscribePushDeviceCommandRequestConfig;
23
+ static params: readonly [];
24
+ static url: string;
25
+ static method: "post";
26
+ constructor(commandConfig: SubscribePushDeviceCommandConfig, options?: Record<string, unknown>);
27
+ }
@@ -0,0 +1,47 @@
1
+ //#region .generated/useCases/subscribePushDevice.ts
2
+ /**
3
+ *
4
+ */
5
+ var SubscribePushDeviceCommand = class SubscribePushDeviceCommand {
6
+ url;
7
+ data;
8
+ query;
9
+ headers;
10
+ config;
11
+ static params = [];
12
+ static url = "/notifications/push-subscriptions";
13
+ static method = "post";
14
+ constructor(commandConfig, options = {}) {
15
+ const pathParams = SubscribePushDeviceCommand.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 = SubscribePushDeviceCommand.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: SubscribePushDeviceCommand.method,
36
+ url,
37
+ data,
38
+ params: query,
39
+ headers,
40
+ ...options
41
+ };
42
+ }
43
+ };
44
+ //#endregion
45
+ export { SubscribePushDeviceCommand };
46
+
47
+ //# sourceMappingURL=subscribePushDevice.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribePushDevice.js","names":[],"sources":["../../.generated/useCases/subscribePushDevice.ts"],"sourcesContent":["/* This file is automatically generated. Do not modify it manually. */\n\nexport interface SubscribePushDeviceCommandConfig {\n data?: Record<string, unknown> | null;\n headers?: Record<string, string> | null;\n query?: Record<string, unknown> | null;\n}\n\nexport interface SubscribePushDeviceCommandRequestConfig {\n method: \"post\";\n url: string;\n data: Record<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 SubscribePushDeviceCommand {\n url: string;\n data: Record<string, unknown> | null;\n query: Record<string, unknown> | null;\n headers: Record<string, string> | null;\n config: SubscribePushDeviceCommandRequestConfig;\n\n static params = [] as const;\n static url = \"/notifications/push-subscriptions\";\n static method = \"post\" as const;\n\n constructor(\n commandConfig: SubscribePushDeviceCommandConfig,\n options: Record<string, unknown> = {},\n ) {\n const pathParams = SubscribePushDeviceCommand.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 = SubscribePushDeviceCommand.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: SubscribePushDeviceCommand.method,\n url: url,\n data: data,\n params: query,\n headers: headers,\n ...options,\n };\n }\n}\n"],"mappings":";;;;AAoBA,IAAa,6BAAb,MAAa,2BAA2B;CACtC;CACA;CACA;CACA;CACA;CAEA,OAAO,SAAS,CAAC;CACjB,OAAO,MAAM;CACb,OAAO,SAAS;CAEhB,YACE,eACA,UAAmC,CAAC,GACpC;EACA,MAAM,aAAa,2BAA2B;EAE9C,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,2BAA2B;EAE7C,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,2BAA2B;GAC9B;GACC;GACN,QAAQ;GACC;GACT,GAAG;EACL;CACF;AACF"}
@@ -0,0 +1,36 @@
1
+ export interface UnsubscribePushDeviceCommandConfig {
2
+ data?: {
3
+ id: string;
4
+ [key: string]: unknown;
5
+ } | null;
6
+ headers?: Record<string, string> | null;
7
+ query?: Record<string, unknown> | null;
8
+ }
9
+ export interface UnsubscribePushDeviceCommandRequestConfig {
10
+ method: "delete";
11
+ url: string;
12
+ data: {
13
+ id: 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 UnsubscribePushDeviceCommand {
24
+ url: string;
25
+ data: {
26
+ id: string;
27
+ [key: string]: unknown;
28
+ } | null;
29
+ query: Record<string, unknown> | null;
30
+ headers: Record<string, string> | null;
31
+ config: UnsubscribePushDeviceCommandRequestConfig;
32
+ static params: readonly ["id"];
33
+ static url: string;
34
+ static method: "delete";
35
+ constructor(commandConfig: UnsubscribePushDeviceCommandConfig, options?: Record<string, unknown>);
36
+ }