@connectedxm/admin 7.0.5 → 7.0.7

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
@@ -3452,12 +3452,13 @@ interface BaseThread {
3452
3452
  interface ThreadAccount {
3453
3453
  id: string;
3454
3454
  threadId: string;
3455
- accountId: string;
3456
- account: BaseAccount;
3455
+ accountId: string | null;
3456
+ account: BaseAccount | null;
3457
3457
  lastReadAt: string | null;
3458
3458
  typingAt: string | null;
3459
3459
  notifications: boolean;
3460
3460
  blocked: boolean;
3461
+ leftAt: string | null;
3461
3462
  createdAt: string;
3462
3463
  updatedAt: string;
3463
3464
  }
@@ -3496,8 +3497,7 @@ interface ThreadMessageRead {
3496
3497
  interface BaseThreadMessage {
3497
3498
  id: string;
3498
3499
  body: string;
3499
- accountId: string | null;
3500
- threadAccount: ThreadAccount | null;
3500
+ threadAccount: ThreadAccount;
3501
3501
  createdAt: string;
3502
3502
  editedAt: string | null;
3503
3503
  sentAt: string;
package/dist/index.d.ts CHANGED
@@ -3452,12 +3452,13 @@ interface BaseThread {
3452
3452
  interface ThreadAccount {
3453
3453
  id: string;
3454
3454
  threadId: string;
3455
- accountId: string;
3456
- account: BaseAccount;
3455
+ accountId: string | null;
3456
+ account: BaseAccount | null;
3457
3457
  lastReadAt: string | null;
3458
3458
  typingAt: string | null;
3459
3459
  notifications: boolean;
3460
3460
  blocked: boolean;
3461
+ leftAt: string | null;
3461
3462
  createdAt: string;
3462
3463
  updatedAt: string;
3463
3464
  }
@@ -3496,8 +3497,7 @@ interface ThreadMessageRead {
3496
3497
  interface BaseThreadMessage {
3497
3498
  id: string;
3498
3499
  body: string;
3499
- accountId: string | null;
3500
- threadAccount: ThreadAccount | null;
3500
+ threadAccount: ThreadAccount;
3501
3501
  createdAt: string;
3502
3502
  editedAt: string | null;
3503
3503
  sentAt: string;
package/openapi.json CHANGED
@@ -106370,10 +106370,16 @@
106370
106370
  "type": "string"
106371
106371
  },
106372
106372
  "accountId": {
106373
- "type": "string"
106373
+ "type": "string",
106374
+ "nullable": true
106374
106375
  },
106375
106376
  "account": {
106376
- "$ref": "#/components/schemas/BaseAccount"
106377
+ "allOf": [
106378
+ {
106379
+ "$ref": "#/components/schemas/BaseAccount"
106380
+ }
106381
+ ],
106382
+ "nullable": true
106377
106383
  },
106378
106384
  "lastReadAt": {
106379
106385
  "type": "string",
@@ -106389,6 +106395,10 @@
106389
106395
  "blocked": {
106390
106396
  "type": "boolean"
106391
106397
  },
106398
+ "leftAt": {
106399
+ "type": "string",
106400
+ "nullable": true
106401
+ },
106392
106402
  "createdAt": {
106393
106403
  "type": "string"
106394
106404
  },
@@ -106405,6 +106415,7 @@
106405
106415
  "typingAt",
106406
106416
  "notifications",
106407
106417
  "blocked",
106418
+ "leftAt",
106408
106419
  "createdAt",
106409
106420
  "updatedAt"
106410
106421
  ]
@@ -106543,17 +106554,8 @@
106543
106554
  "body": {
106544
106555
  "type": "string"
106545
106556
  },
106546
- "accountId": {
106547
- "type": "string",
106548
- "nullable": true
106549
- },
106550
106557
  "threadAccount": {
106551
- "allOf": [
106552
- {
106553
- "$ref": "#/components/schemas/ThreadAccount"
106554
- }
106555
- ],
106556
- "nullable": true
106558
+ "$ref": "#/components/schemas/ThreadAccount"
106557
106559
  },
106558
106560
  "createdAt": {
106559
106561
  "type": "string"
@@ -106573,7 +106575,6 @@
106573
106575
  "required": [
106574
106576
  "id",
106575
106577
  "body",
106576
- "accountId",
106577
106578
  "threadAccount",
106578
106579
  "createdAt",
106579
106580
  "editedAt",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "7.0.5",
3
+ "version": "7.0.7",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",