@izak0s/spacebring-api 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -12022,7 +12022,10 @@ interface components {
12022
12022
  * @description ID of the location.
12023
12023
  */
12024
12024
  locationRef: string;
12025
- /** @description Assignee membership details. */
12025
+ /**
12026
+ * @deprecated
12027
+ * @description Assignee membership details. Deprecated, use userAssignee instead.
12028
+ */
12026
12029
  membershipAssignee?: {
12027
12030
  /**
12028
12031
  * Format: uuid
@@ -12056,7 +12059,8 @@ interface components {
12056
12059
  };
12057
12060
  /**
12058
12061
  * Format: uuid
12059
- * @description ID of the assignee membership.
12062
+ * @deprecated
12063
+ * @description ID of the assignee membership. Deprecated, use userRefAssignee instead.
12060
12064
  */
12061
12065
  membershipRefAssignee?: string;
12062
12066
  /**
@@ -12138,6 +12142,11 @@ interface components {
12138
12142
  /** @description Surname of the user. */
12139
12143
  surname?: string | null;
12140
12144
  } | null;
12145
+ /**
12146
+ * Format: uuid
12147
+ * @description ID of the assignee user.
12148
+ */
12149
+ userRefAssignee?: string;
12141
12150
  /** @description Requester user details. */
12142
12151
  userRequester?: {
12143
12152
  /** @description Whether the user is blocked. */
@@ -12184,7 +12193,10 @@ interface components {
12184
12193
  /** @description Image width in pixels. */
12185
12194
  width?: number;
12186
12195
  }[];
12187
- /** @description Assignee after the update. */
12196
+ /**
12197
+ * @deprecated
12198
+ * @description Assignee after the update. Deprecated, use userAssignee instead.
12199
+ */
12188
12200
  membershipAssignee?: {
12189
12201
  /**
12190
12202
  * Format: uuid
@@ -12218,7 +12230,10 @@ interface components {
12218
12230
  };
12219
12231
  /** @description Previous attribute values before the update. */
12220
12232
  previousAttributes?: {
12221
- /** @description Assignee before the update. */
12233
+ /**
12234
+ * @deprecated
12235
+ * @description Assignee before the update. Deprecated, use userAssignee instead.
12236
+ */
12222
12237
  membershipAssignee?: {
12223
12238
  /**
12224
12239
  * Format: uuid
@@ -12255,6 +12270,31 @@ interface components {
12255
12270
  * @enum {string}
12256
12271
  */
12257
12272
  status?: "closed" | "inProgress" | "new" | "solved";
12273
+ /** @description Assignee user before the update. */
12274
+ userAssignee?: {
12275
+ /** @description Whether the user is blocked. */
12276
+ blocked?: boolean;
12277
+ /** @description Email address when visible to the caller. */
12278
+ email?: string;
12279
+ /**
12280
+ * Format: uuid
12281
+ * @description Unique identifier of the user.
12282
+ */
12283
+ id: string;
12284
+ /** @description First name of the user. */
12285
+ name?: string | null;
12286
+ /** @description Phone number when visible to the caller. */
12287
+ phoneNumber?: string;
12288
+ /** @description Profile photo URL. */
12289
+ photoUrl: string | null;
12290
+ /** @description Surname of the user. */
12291
+ surname?: string | null;
12292
+ };
12293
+ /**
12294
+ * Format: uuid
12295
+ * @description ID of the assignee user before the update.
12296
+ */
12297
+ userRefAssignee?: string;
12258
12298
  };
12259
12299
  /**
12260
12300
  * @description Status after the update.
@@ -12263,6 +12303,31 @@ interface components {
12263
12303
  status?: "closed" | "inProgress" | "new" | "solved";
12264
12304
  /** @description Comment text. */
12265
12305
  text?: string;
12306
+ /** @description Assignee user after the update. */
12307
+ userAssignee?: {
12308
+ /** @description Whether the user is blocked. */
12309
+ blocked?: boolean;
12310
+ /** @description Email address when visible to the caller. */
12311
+ email?: string;
12312
+ /**
12313
+ * Format: uuid
12314
+ * @description Unique identifier of the user.
12315
+ */
12316
+ id: string;
12317
+ /** @description First name of the user. */
12318
+ name?: string | null;
12319
+ /** @description Phone number when visible to the caller. */
12320
+ phoneNumber?: string;
12321
+ /** @description Profile photo URL. */
12322
+ photoUrl: string | null;
12323
+ /** @description Surname of the user. */
12324
+ surname?: string | null;
12325
+ };
12326
+ /**
12327
+ * Format: uuid
12328
+ * @description ID of the assignee user after the update.
12329
+ */
12330
+ userRefAssignee?: string;
12266
12331
  };
12267
12332
  /**
12268
12333
  * Format: uuid
@@ -17232,9 +17297,15 @@ interface components {
17232
17297
  ticket: {
17233
17298
  /**
17234
17299
  * Format: uuid
17235
- * @description ID of the membership to assign the ticket to, or null to unassign.
17300
+ * @deprecated
17301
+ * @description ID of the membership to assign the ticket to, or null to unassign. Deprecated, use userRefAssignee instead.
17302
+ */
17303
+ membershipRefAssignee?: string | null;
17304
+ /**
17305
+ * Format: uuid
17306
+ * @description ID of the user to assign the ticket to, or null to unassign.
17236
17307
  */
17237
- membershipRefAssignee: string | null;
17308
+ userRefAssignee?: string | null;
17238
17309
  };
17239
17310
  };
17240
17311
  };
package/dist/index.d.ts CHANGED
@@ -12022,7 +12022,10 @@ interface components {
12022
12022
  * @description ID of the location.
12023
12023
  */
12024
12024
  locationRef: string;
12025
- /** @description Assignee membership details. */
12025
+ /**
12026
+ * @deprecated
12027
+ * @description Assignee membership details. Deprecated, use userAssignee instead.
12028
+ */
12026
12029
  membershipAssignee?: {
12027
12030
  /**
12028
12031
  * Format: uuid
@@ -12056,7 +12059,8 @@ interface components {
12056
12059
  };
12057
12060
  /**
12058
12061
  * Format: uuid
12059
- * @description ID of the assignee membership.
12062
+ * @deprecated
12063
+ * @description ID of the assignee membership. Deprecated, use userRefAssignee instead.
12060
12064
  */
12061
12065
  membershipRefAssignee?: string;
12062
12066
  /**
@@ -12138,6 +12142,11 @@ interface components {
12138
12142
  /** @description Surname of the user. */
12139
12143
  surname?: string | null;
12140
12144
  } | null;
12145
+ /**
12146
+ * Format: uuid
12147
+ * @description ID of the assignee user.
12148
+ */
12149
+ userRefAssignee?: string;
12141
12150
  /** @description Requester user details. */
12142
12151
  userRequester?: {
12143
12152
  /** @description Whether the user is blocked. */
@@ -12184,7 +12193,10 @@ interface components {
12184
12193
  /** @description Image width in pixels. */
12185
12194
  width?: number;
12186
12195
  }[];
12187
- /** @description Assignee after the update. */
12196
+ /**
12197
+ * @deprecated
12198
+ * @description Assignee after the update. Deprecated, use userAssignee instead.
12199
+ */
12188
12200
  membershipAssignee?: {
12189
12201
  /**
12190
12202
  * Format: uuid
@@ -12218,7 +12230,10 @@ interface components {
12218
12230
  };
12219
12231
  /** @description Previous attribute values before the update. */
12220
12232
  previousAttributes?: {
12221
- /** @description Assignee before the update. */
12233
+ /**
12234
+ * @deprecated
12235
+ * @description Assignee before the update. Deprecated, use userAssignee instead.
12236
+ */
12222
12237
  membershipAssignee?: {
12223
12238
  /**
12224
12239
  * Format: uuid
@@ -12255,6 +12270,31 @@ interface components {
12255
12270
  * @enum {string}
12256
12271
  */
12257
12272
  status?: "closed" | "inProgress" | "new" | "solved";
12273
+ /** @description Assignee user before the update. */
12274
+ userAssignee?: {
12275
+ /** @description Whether the user is blocked. */
12276
+ blocked?: boolean;
12277
+ /** @description Email address when visible to the caller. */
12278
+ email?: string;
12279
+ /**
12280
+ * Format: uuid
12281
+ * @description Unique identifier of the user.
12282
+ */
12283
+ id: string;
12284
+ /** @description First name of the user. */
12285
+ name?: string | null;
12286
+ /** @description Phone number when visible to the caller. */
12287
+ phoneNumber?: string;
12288
+ /** @description Profile photo URL. */
12289
+ photoUrl: string | null;
12290
+ /** @description Surname of the user. */
12291
+ surname?: string | null;
12292
+ };
12293
+ /**
12294
+ * Format: uuid
12295
+ * @description ID of the assignee user before the update.
12296
+ */
12297
+ userRefAssignee?: string;
12258
12298
  };
12259
12299
  /**
12260
12300
  * @description Status after the update.
@@ -12263,6 +12303,31 @@ interface components {
12263
12303
  status?: "closed" | "inProgress" | "new" | "solved";
12264
12304
  /** @description Comment text. */
12265
12305
  text?: string;
12306
+ /** @description Assignee user after the update. */
12307
+ userAssignee?: {
12308
+ /** @description Whether the user is blocked. */
12309
+ blocked?: boolean;
12310
+ /** @description Email address when visible to the caller. */
12311
+ email?: string;
12312
+ /**
12313
+ * Format: uuid
12314
+ * @description Unique identifier of the user.
12315
+ */
12316
+ id: string;
12317
+ /** @description First name of the user. */
12318
+ name?: string | null;
12319
+ /** @description Phone number when visible to the caller. */
12320
+ phoneNumber?: string;
12321
+ /** @description Profile photo URL. */
12322
+ photoUrl: string | null;
12323
+ /** @description Surname of the user. */
12324
+ surname?: string | null;
12325
+ };
12326
+ /**
12327
+ * Format: uuid
12328
+ * @description ID of the assignee user after the update.
12329
+ */
12330
+ userRefAssignee?: string;
12266
12331
  };
12267
12332
  /**
12268
12333
  * Format: uuid
@@ -17232,9 +17297,15 @@ interface components {
17232
17297
  ticket: {
17233
17298
  /**
17234
17299
  * Format: uuid
17235
- * @description ID of the membership to assign the ticket to, or null to unassign.
17300
+ * @deprecated
17301
+ * @description ID of the membership to assign the ticket to, or null to unassign. Deprecated, use userRefAssignee instead.
17302
+ */
17303
+ membershipRefAssignee?: string | null;
17304
+ /**
17305
+ * Format: uuid
17306
+ * @description ID of the user to assign the ticket to, or null to unassign.
17236
17307
  */
17237
- membershipRefAssignee: string | null;
17308
+ userRefAssignee?: string | null;
17238
17309
  };
17239
17310
  };
17240
17311
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@izak0s/spacebring-api",
3
- "version": "3.3.0",
3
+ "version": "3.4.0",
4
4
  "description": "Community-maintained TypeScript client (SDK) for the Spacebring (formerly andcards) coworking space management API",
5
5
  "license": "MIT",
6
6
  "author": "izak0s",