cv-contracts 2.0.14 → 3.0.5

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 (54) hide show
  1. package/dist/interfaces/webhook/SubscribedUserSettings.d.ts +5 -0
  2. package/dist/interfaces/webhook/WebhookBasicUser.d.ts +5 -0
  3. package/dist/interfaces/webhook/WebhookChannel.d.ts +25 -0
  4. package/dist/interfaces/webhook/WebhookMessage.d.ts +29 -1
  5. package/dist/interfaces/webhook/WebhookWorkspace.d.ts +30 -0
  6. package/dist/schemas/webhook/AIPromptResponseSchema.d.ts +35 -0
  7. package/dist/schemas/webhook/AIPromptResponseSchema.js +56 -1
  8. package/dist/schemas/webhook/AIPromptResponseSchema.js.map +1 -1
  9. package/dist/schemas/webhook/SubscribedUserSettingsSchema.d.ts +5 -0
  10. package/dist/schemas/webhook/SubscribedUserSettingsSchema.js +6 -1
  11. package/dist/schemas/webhook/SubscribedUserSettingsSchema.js.map +1 -1
  12. package/dist/schemas/webhook/WebhookBasicUserSchema.d.ts +5 -0
  13. package/dist/schemas/webhook/WebhookBasicUserSchema.js +6 -1
  14. package/dist/schemas/webhook/WebhookBasicUserSchema.js.map +1 -1
  15. package/dist/schemas/webhook/WebhookChannelSchema.d.ts +25 -0
  16. package/dist/schemas/webhook/WebhookChannelSchema.js +29 -0
  17. package/dist/schemas/webhook/WebhookChannelSchema.js.map +1 -1
  18. package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.d.ts +24 -0
  19. package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.js +29 -1
  20. package/dist/schemas/webhook/WebhookChannelUserJoinedSchema.js.map +1 -1
  21. package/dist/schemas/webhook/WebhookChannelUserLeftSchema.d.ts +24 -0
  22. package/dist/schemas/webhook/WebhookChannelUserLeftSchema.js +29 -1
  23. package/dist/schemas/webhook/WebhookChannelUserLeftSchema.js.map +1 -1
  24. package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.d.ts +24 -0
  25. package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.js +29 -1
  26. package/dist/schemas/webhook/WebhookChannelUserRemovedSchema.js.map +1 -1
  27. package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.d.ts +24 -0
  28. package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.js +29 -1
  29. package/dist/schemas/webhook/WebhookChannelUsersAddedSchema.js.map +1 -1
  30. package/dist/schemas/webhook/WebhookMessageSchema.d.ts +44 -1
  31. package/dist/schemas/webhook/WebhookMessageSchema.js +55 -0
  32. package/dist/schemas/webhook/WebhookMessageSchema.js.map +1 -1
  33. package/dist/schemas/webhook/WebhookPayloadSchema.d.ts +4 -0
  34. package/dist/schemas/webhook/WebhookPayloadSchema.js +5 -1
  35. package/dist/schemas/webhook/WebhookPayloadSchema.js.map +1 -1
  36. package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.d.ts +44 -0
  37. package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.js +53 -0
  38. package/dist/schemas/webhook/WebhookWorkspaceFindableChannelCreatedSchema.js.map +1 -1
  39. package/dist/schemas/webhook/WebhookWorkspaceSchema.d.ts +30 -0
  40. package/dist/schemas/webhook/WebhookWorkspaceSchema.js +35 -0
  41. package/dist/schemas/webhook/WebhookWorkspaceSchema.js.map +1 -1
  42. package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.d.ts +28 -0
  43. package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.js +34 -1
  44. package/dist/schemas/webhook/WebhookWorkspaceUserAddedSchema.js.map +1 -1
  45. package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.d.ts +28 -0
  46. package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.js +34 -1
  47. package/dist/schemas/webhook/WebhookWorkspaceUserJoinedSchema.js.map +1 -1
  48. package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.d.ts +28 -0
  49. package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.js +34 -1
  50. package/dist/schemas/webhook/WebhookWorkspaceUserLeftSchema.js.map +1 -1
  51. package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.d.ts +28 -0
  52. package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.js +34 -1
  53. package/dist/schemas/webhook/WebhookWorkspaceUserRemovedSchema.js.map +1 -1
  54. package/package.json +5 -1
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,qBAAqB,EAAE;YACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,iBAAiB;QACjB,kBAAkB;QAClB,YAAY;QACZ,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;KACjB;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAWX;AAXD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,yDAAiC,CAAA;IACjC,uEAA+C,CAAA;IAC/C,+CAAuB,CAAA;IACvB,iDAAyB,CAAA;IACzB,6DAAqC,CAAA;IACrC,2DAAmC,CAAA;IACnC,iDAAyB,CAAA;IACzB,2DAAmC,CAAA;IACnC,iDAAyB,CAAA;AAC3B,CAAC,EAXW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAW/B"}
1
+ {"version":3,"file":"WebhookWorkspaceSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,sBAAsB,GAAG;IACpC,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,EAAE,EAAE;YACF,WAAW,EACT,gFAAgF;YAClF,IAAI,EAAE,QAAQ;SACf;QACD,cAAc,EAAE;YACd,IAAI,EAAE,QAAQ;SACf;QACD,IAAI,EAAE;YACJ,WAAW,EACT,kFAAkF;YACpF,IAAI,EAAE,QAAQ;SACf;QACD,qBAAqB,EAAE;YACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,WAAW,EAAE;YACX,WAAW,EACT,wFAAwF;YAC1F,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,SAAS,EAAE;YACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,WAAW,EACT,qFAAqF;YACvF,IAAI,EAAE,QAAQ;SACf;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;SACf;QACD,kBAAkB,EAAE;YAClB,WAAW,EACT,gFAAgF;YAClF,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,iBAAiB,EAAE;YACjB,WAAW,EACT,gFAAgF;YAClF,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;SACf;QACD,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;SACf;QACD,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;SACzB;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,oBAAoB;QACpB,YAAY;QACZ,mBAAmB;QACnB,IAAI;QACJ,iBAAiB;QACjB,MAAM;QACN,kBAAkB;QAClB,YAAY;QACZ,iBAAiB;QACjB,gBAAgB;QAChB,gBAAgB;KACjB;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,oBAiBX;AAjBD,WAAY,oBAAoB;IAC9B,yDAAiC,CAAA;IACjC,iCAAS,CAAA;IACT,yDAAiC,CAAA;IACjC,qCAAa,CAAA;IACb,uEAA+C,CAAA;IAC/C,mDAA2B,CAAA;IAC3B,+CAAuB,CAAA;IACvB,iDAAyB,CAAA;IACzB,iDAAyB,CAAA;IACzB,6DAAqC,CAAA;IACrC,iEAAyC,CAAA;IACzC,2DAAmC,CAAA;IACnC,+DAAuC,CAAA;IACvC,iDAAyB,CAAA;IACzB,2DAAmC,CAAA;IACnC,iDAAyB,CAAA;AAC3B,CAAC,EAjBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiB/B"}
@@ -17,24 +17,48 @@ export declare const WebhookWorkspaceUserAddedSchema: {
17
17
  workspace_guid: {
18
18
  type: string;
19
19
  };
20
+ id: {
21
+ description: string;
22
+ type: string;
23
+ };
20
24
  workspace_name: {
21
25
  type: string;
22
26
  };
27
+ name: {
28
+ description: string;
29
+ type: string;
30
+ };
23
31
  workspace_description: {
24
32
  type: string[];
25
33
  };
34
+ description: {
35
+ description: string;
36
+ type: string[];
37
+ };
26
38
  image_url: {
27
39
  type: string[];
28
40
  };
29
41
  owner_guid: {
30
42
  type: string;
31
43
  };
44
+ creator_id: {
45
+ description: string;
46
+ type: string;
47
+ };
32
48
  owner_first_name: {
33
49
  type: string;
34
50
  };
51
+ creator_first_name: {
52
+ description: string;
53
+ type: string;
54
+ };
35
55
  owner_last_name: {
36
56
  type: string;
37
57
  };
58
+ creator_last_name: {
59
+ description: string;
60
+ type: string;
61
+ };
38
62
  created_at: {
39
63
  type: string;
40
64
  };
@@ -54,6 +78,10 @@ export declare const WebhookWorkspaceUserAddedSchema: {
54
78
  user_guid: {
55
79
  type: string;
56
80
  };
81
+ id: {
82
+ description: string;
83
+ type: string;
84
+ };
57
85
  first_name: {
58
86
  type: string;
59
87
  };
@@ -20,24 +20,48 @@ exports.WebhookWorkspaceUserAddedSchema = {
20
20
  workspace_guid: {
21
21
  type: 'string',
22
22
  },
23
+ id: {
24
+ description: 'Preferred workspace identifier. Same type and optionality as `workspace_guid`.',
25
+ type: 'string',
26
+ },
23
27
  workspace_name: {
24
28
  type: 'string',
25
29
  },
30
+ name: {
31
+ description: 'Preferred workspace display name. Same type and optionality as `workspace_name`.',
32
+ type: 'string',
33
+ },
26
34
  workspace_description: {
27
35
  type: ['null', 'string'],
28
36
  },
37
+ description: {
38
+ description: 'Preferred workspace description. Same type and optionality as `workspace_description`.',
39
+ type: ['null', 'string'],
40
+ },
29
41
  image_url: {
30
42
  type: ['null', 'string'],
31
43
  },
32
44
  owner_guid: {
33
45
  type: 'string',
34
46
  },
47
+ creator_id: {
48
+ description: 'Preferred owner/creator user identifier. Same type and optionality as `owner_guid`.',
49
+ type: 'string',
50
+ },
35
51
  owner_first_name: {
36
52
  type: 'string',
37
53
  },
54
+ creator_first_name: {
55
+ description: 'Preferred creator given name. Same type and optionality as `owner_first_name`.',
56
+ type: 'string',
57
+ },
38
58
  owner_last_name: {
39
59
  type: 'string',
40
60
  },
61
+ creator_last_name: {
62
+ description: 'Preferred creator family name. Same type and optionality as `owner_last_name`.',
63
+ type: 'string',
64
+ },
41
65
  created_at: {
42
66
  type: 'number',
43
67
  },
@@ -51,7 +75,12 @@ exports.WebhookWorkspaceUserAddedSchema = {
51
75
  additionalProperties: false,
52
76
  required: [
53
77
  'created_at',
78
+ 'creator_first_name',
79
+ 'creator_id',
80
+ 'creator_last_name',
81
+ 'id',
54
82
  'last_updated_at',
83
+ 'name',
55
84
  'owner_first_name',
56
85
  'owner_guid',
57
86
  'owner_last_name',
@@ -65,6 +94,10 @@ exports.WebhookWorkspaceUserAddedSchema = {
65
94
  user_guid: {
66
95
  type: 'string',
67
96
  },
97
+ id: {
98
+ description: 'Preferred user identifier. Same type and optionality as `user_guid`.',
99
+ type: 'string',
100
+ },
68
101
  first_name: {
69
102
  type: 'string',
70
103
  },
@@ -73,7 +106,7 @@ exports.WebhookWorkspaceUserAddedSchema = {
73
106
  },
74
107
  },
75
108
  additionalProperties: false,
76
- required: ['first_name', 'last_name', 'user_guid'],
109
+ required: ['first_name', 'id', 'last_name', 'user_guid'],
77
110
  },
78
111
  },
79
112
  $schema: 'http://json-schema.org/draft-07/schema#',
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceUserAddedSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserAddedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,+BAA+B,GAAG;IAC7C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC;IACpC,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,iBAAiB;gBACjB,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,WAAW,CAAC;SACnD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,wDAAuB,CAAA;IACvB,wDAAuB,CAAA;AACzB,CAAC,EAHW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAGxC"}
1
+ {"version":3,"file":"WebhookWorkspaceUserAddedSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserAddedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,+BAA+B,GAAG;IAC7C,IAAI,E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,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,oBAAoB;gBACpB,YAAY;gBACZ,mBAAmB;gBACnB,IAAI;gBACJ,iBAAiB;gBACjB,MAAM;gBACN,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,WAAW,EACT,sEAAsE;oBACxE,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC;SACzD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,wDAAuB,CAAA;IACvB,wDAAuB,CAAA;AACzB,CAAC,EAHW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAGxC"}
@@ -17,24 +17,48 @@ export declare const WebhookWorkspaceUserJoinedSchema: {
17
17
  workspace_guid: {
18
18
  type: string;
19
19
  };
20
+ id: {
21
+ description: string;
22
+ type: string;
23
+ };
20
24
  workspace_name: {
21
25
  type: string;
22
26
  };
27
+ name: {
28
+ description: string;
29
+ type: string;
30
+ };
23
31
  workspace_description: {
24
32
  type: string[];
25
33
  };
34
+ description: {
35
+ description: string;
36
+ type: string[];
37
+ };
26
38
  image_url: {
27
39
  type: string[];
28
40
  };
29
41
  owner_guid: {
30
42
  type: string;
31
43
  };
44
+ creator_id: {
45
+ description: string;
46
+ type: string;
47
+ };
32
48
  owner_first_name: {
33
49
  type: string;
34
50
  };
51
+ creator_first_name: {
52
+ description: string;
53
+ type: string;
54
+ };
35
55
  owner_last_name: {
36
56
  type: string;
37
57
  };
58
+ creator_last_name: {
59
+ description: string;
60
+ type: string;
61
+ };
38
62
  created_at: {
39
63
  type: string;
40
64
  };
@@ -54,6 +78,10 @@ export declare const WebhookWorkspaceUserJoinedSchema: {
54
78
  user_guid: {
55
79
  type: string;
56
80
  };
81
+ id: {
82
+ description: string;
83
+ type: string;
84
+ };
57
85
  first_name: {
58
86
  type: string;
59
87
  };
@@ -20,24 +20,48 @@ exports.WebhookWorkspaceUserJoinedSchema = {
20
20
  workspace_guid: {
21
21
  type: 'string',
22
22
  },
23
+ id: {
24
+ description: 'Preferred workspace identifier. Same type and optionality as `workspace_guid`.',
25
+ type: 'string',
26
+ },
23
27
  workspace_name: {
24
28
  type: 'string',
25
29
  },
30
+ name: {
31
+ description: 'Preferred workspace display name. Same type and optionality as `workspace_name`.',
32
+ type: 'string',
33
+ },
26
34
  workspace_description: {
27
35
  type: ['null', 'string'],
28
36
  },
37
+ description: {
38
+ description: 'Preferred workspace description. Same type and optionality as `workspace_description`.',
39
+ type: ['null', 'string'],
40
+ },
29
41
  image_url: {
30
42
  type: ['null', 'string'],
31
43
  },
32
44
  owner_guid: {
33
45
  type: 'string',
34
46
  },
47
+ creator_id: {
48
+ description: 'Preferred owner/creator user identifier. Same type and optionality as `owner_guid`.',
49
+ type: 'string',
50
+ },
35
51
  owner_first_name: {
36
52
  type: 'string',
37
53
  },
54
+ creator_first_name: {
55
+ description: 'Preferred creator given name. Same type and optionality as `owner_first_name`.',
56
+ type: 'string',
57
+ },
38
58
  owner_last_name: {
39
59
  type: 'string',
40
60
  },
61
+ creator_last_name: {
62
+ description: 'Preferred creator family name. Same type and optionality as `owner_last_name`.',
63
+ type: 'string',
64
+ },
41
65
  created_at: {
42
66
  type: 'number',
43
67
  },
@@ -51,7 +75,12 @@ exports.WebhookWorkspaceUserJoinedSchema = {
51
75
  additionalProperties: false,
52
76
  required: [
53
77
  'created_at',
78
+ 'creator_first_name',
79
+ 'creator_id',
80
+ 'creator_last_name',
81
+ 'id',
54
82
  'last_updated_at',
83
+ 'name',
55
84
  'owner_first_name',
56
85
  'owner_guid',
57
86
  'owner_last_name',
@@ -65,6 +94,10 @@ exports.WebhookWorkspaceUserJoinedSchema = {
65
94
  user_guid: {
66
95
  type: 'string',
67
96
  },
97
+ id: {
98
+ description: 'Preferred user identifier. Same type and optionality as `user_guid`.',
99
+ type: 'string',
100
+ },
68
101
  first_name: {
69
102
  type: 'string',
70
103
  },
@@ -73,7 +106,7 @@ exports.WebhookWorkspaceUserJoinedSchema = {
73
106
  },
74
107
  },
75
108
  additionalProperties: false,
76
- required: ['first_name', 'last_name', 'user_guid'],
109
+ required: ['first_name', 'id', 'last_name', 'user_guid'],
77
110
  },
78
111
  },
79
112
  $schema: 'http://json-schema.org/draft-07/schema#',
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceUserJoinedSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserJoinedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,gCAAgC,GAAG;IAC9C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,UAAU,EAAE;YACV,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;IACrC,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAA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IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,oBAAoB;gBACpB,YAAY;gBACZ,mBAAmB;gBACnB,IAAI;gBACJ,iBAAiB;gBACjB,MAAM;gBACN,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,WAAW,EACT,sEAAsE;oBACxE,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC;SACzD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,yDAAuB,CAAA;IACvB,2DAAyB,CAAA;AAC3B,CAAC,EAHW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAGzC"}
@@ -17,24 +17,48 @@ export declare const WebhookWorkspaceUserLeftSchema: {
17
17
  workspace_guid: {
18
18
  type: string;
19
19
  };
20
+ id: {
21
+ description: string;
22
+ type: string;
23
+ };
20
24
  workspace_name: {
21
25
  type: string;
22
26
  };
27
+ name: {
28
+ description: string;
29
+ type: string;
30
+ };
23
31
  workspace_description: {
24
32
  type: string[];
25
33
  };
34
+ description: {
35
+ description: string;
36
+ type: string[];
37
+ };
26
38
  image_url: {
27
39
  type: string[];
28
40
  };
29
41
  owner_guid: {
30
42
  type: string;
31
43
  };
44
+ creator_id: {
45
+ description: string;
46
+ type: string;
47
+ };
32
48
  owner_first_name: {
33
49
  type: string;
34
50
  };
51
+ creator_first_name: {
52
+ description: string;
53
+ type: string;
54
+ };
35
55
  owner_last_name: {
36
56
  type: string;
37
57
  };
58
+ creator_last_name: {
59
+ description: string;
60
+ type: string;
61
+ };
38
62
  created_at: {
39
63
  type: string;
40
64
  };
@@ -54,6 +78,10 @@ export declare const WebhookWorkspaceUserLeftSchema: {
54
78
  user_guid: {
55
79
  type: string;
56
80
  };
81
+ id: {
82
+ description: string;
83
+ type: string;
84
+ };
57
85
  first_name: {
58
86
  type: string;
59
87
  };
@@ -20,24 +20,48 @@ exports.WebhookWorkspaceUserLeftSchema = {
20
20
  workspace_guid: {
21
21
  type: 'string',
22
22
  },
23
+ id: {
24
+ description: 'Preferred workspace identifier. Same type and optionality as `workspace_guid`.',
25
+ type: 'string',
26
+ },
23
27
  workspace_name: {
24
28
  type: 'string',
25
29
  },
30
+ name: {
31
+ description: 'Preferred workspace display name. Same type and optionality as `workspace_name`.',
32
+ type: 'string',
33
+ },
26
34
  workspace_description: {
27
35
  type: ['null', 'string'],
28
36
  },
37
+ description: {
38
+ description: 'Preferred workspace description. Same type and optionality as `workspace_description`.',
39
+ type: ['null', 'string'],
40
+ },
29
41
  image_url: {
30
42
  type: ['null', 'string'],
31
43
  },
32
44
  owner_guid: {
33
45
  type: 'string',
34
46
  },
47
+ creator_id: {
48
+ description: 'Preferred owner/creator user identifier. Same type and optionality as `owner_guid`.',
49
+ type: 'string',
50
+ },
35
51
  owner_first_name: {
36
52
  type: 'string',
37
53
  },
54
+ creator_first_name: {
55
+ description: 'Preferred creator given name. Same type and optionality as `owner_first_name`.',
56
+ type: 'string',
57
+ },
38
58
  owner_last_name: {
39
59
  type: 'string',
40
60
  },
61
+ creator_last_name: {
62
+ description: 'Preferred creator family name. Same type and optionality as `owner_last_name`.',
63
+ type: 'string',
64
+ },
41
65
  created_at: {
42
66
  type: 'number',
43
67
  },
@@ -51,7 +75,12 @@ exports.WebhookWorkspaceUserLeftSchema = {
51
75
  additionalProperties: false,
52
76
  required: [
53
77
  'created_at',
78
+ 'creator_first_name',
79
+ 'creator_id',
80
+ 'creator_last_name',
81
+ 'id',
54
82
  'last_updated_at',
83
+ 'name',
55
84
  'owner_first_name',
56
85
  'owner_guid',
57
86
  'owner_last_name',
@@ -65,6 +94,10 @@ exports.WebhookWorkspaceUserLeftSchema = {
65
94
  user_guid: {
66
95
  type: 'string',
67
96
  },
97
+ id: {
98
+ description: 'Preferred user identifier. Same type and optionality as `user_guid`.',
99
+ type: 'string',
100
+ },
68
101
  first_name: {
69
102
  type: 'string',
70
103
  },
@@ -73,7 +106,7 @@ exports.WebhookWorkspaceUserLeftSchema = {
73
106
  },
74
107
  },
75
108
  additionalProperties: false,
76
- required: ['first_name', 'last_name', 'user_guid'],
109
+ required: ['first_name', 'id', 'last_name', 'user_guid'],
77
110
  },
78
111
  },
79
112
  $schema: 'http://json-schema.org/draft-07/schema#',
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceUserLeftSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserLeftSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;IACnC,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE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3,"file":"WebhookWorkspaceUserLeftSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserLeftSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC;IACnC,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,WAAW,EACT,gFAAgF;oBAClF,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,WAAW,EACT,kFAAkF;oBACpF,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,WAAW,EAAE;oBACX,WAAW,EACT,wFAAwF;oBAC1F,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,WAAW,EACT,qFAAqF;oBACvF,IAAI,EAAE,QAAQ;iBACf;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;iBACf;gBACD,kBAAkB,EAAE;oBAClB,WAAW,EACT,gFAAgF;oBAClF,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,iBAAiB,EAAE;oBACjB,WAAW,EACT,gFAAgF;oBAClF,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,eAAe,EAAE;oBACf,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE;gBACR,YAAY;gBACZ,oBAAoB;gBACpB,YAAY;gBACZ,mBAAmB;gBACnB,IAAI;gBACJ,iBAAiB;gBACjB,MAAM;gBACN,kBAAkB;gBAClB,YAAY;gBACZ,iBAAiB;gBACjB,gBAAgB;gBAChB,gBAAgB;aACjB;SACF;QACD,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,WAAW,EACT,sEAAsE;oBACxE,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,oBAAoB,EAAE,KAAK;YAC3B,QAAQ,EAAE,CAAC,YAAY,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,CAAC;SACzD;KACF;IACD,OAAO,EAAE,yCAAyC;CACnD,CAAC;AAEF,IAAY,4BAGX;AAHD,WAAY,4BAA4B;IACtC,uDAAuB,CAAA;IACvB,qDAAqB,CAAA;AACvB,CAAC,EAHW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAGvC"}
@@ -20,24 +20,48 @@ export declare const WebhookWorkspaceUserRemovedSchema: {
20
20
  workspace_guid: {
21
21
  type: string;
22
22
  };
23
+ id: {
24
+ description: string;
25
+ type: string;
26
+ };
23
27
  workspace_name: {
24
28
  type: string;
25
29
  };
30
+ name: {
31
+ description: string;
32
+ type: string;
33
+ };
26
34
  workspace_description: {
27
35
  type: string[];
28
36
  };
37
+ description: {
38
+ description: string;
39
+ type: string[];
40
+ };
29
41
  image_url: {
30
42
  type: string[];
31
43
  };
32
44
  owner_guid: {
33
45
  type: string;
34
46
  };
47
+ creator_id: {
48
+ description: string;
49
+ type: string;
50
+ };
35
51
  owner_first_name: {
36
52
  type: string;
37
53
  };
54
+ creator_first_name: {
55
+ description: string;
56
+ type: string;
57
+ };
38
58
  owner_last_name: {
39
59
  type: string;
40
60
  };
61
+ creator_last_name: {
62
+ description: string;
63
+ type: string;
64
+ };
41
65
  created_at: {
42
66
  type: string;
43
67
  };
@@ -57,6 +81,10 @@ export declare const WebhookWorkspaceUserRemovedSchema: {
57
81
  user_guid: {
58
82
  type: string;
59
83
  };
84
+ id: {
85
+ description: string;
86
+ type: string;
87
+ };
60
88
  first_name: {
61
89
  type: string;
62
90
  };
@@ -23,24 +23,48 @@ exports.WebhookWorkspaceUserRemovedSchema = {
23
23
  workspace_guid: {
24
24
  type: 'string',
25
25
  },
26
+ id: {
27
+ description: 'Preferred workspace identifier. Same type and optionality as `workspace_guid`.',
28
+ type: 'string',
29
+ },
26
30
  workspace_name: {
27
31
  type: 'string',
28
32
  },
33
+ name: {
34
+ description: 'Preferred workspace display name. Same type and optionality as `workspace_name`.',
35
+ type: 'string',
36
+ },
29
37
  workspace_description: {
30
38
  type: ['null', 'string'],
31
39
  },
40
+ description: {
41
+ description: 'Preferred workspace description. Same type and optionality as `workspace_description`.',
42
+ type: ['null', 'string'],
43
+ },
32
44
  image_url: {
33
45
  type: ['null', 'string'],
34
46
  },
35
47
  owner_guid: {
36
48
  type: 'string',
37
49
  },
50
+ creator_id: {
51
+ description: 'Preferred owner/creator user identifier. Same type and optionality as `owner_guid`.',
52
+ type: 'string',
53
+ },
38
54
  owner_first_name: {
39
55
  type: 'string',
40
56
  },
57
+ creator_first_name: {
58
+ description: 'Preferred creator given name. Same type and optionality as `owner_first_name`.',
59
+ type: 'string',
60
+ },
41
61
  owner_last_name: {
42
62
  type: 'string',
43
63
  },
64
+ creator_last_name: {
65
+ description: 'Preferred creator family name. Same type and optionality as `owner_last_name`.',
66
+ type: 'string',
67
+ },
44
68
  created_at: {
45
69
  type: 'number',
46
70
  },
@@ -54,7 +78,12 @@ exports.WebhookWorkspaceUserRemovedSchema = {
54
78
  additionalProperties: false,
55
79
  required: [
56
80
  'created_at',
81
+ 'creator_first_name',
82
+ 'creator_id',
83
+ 'creator_last_name',
84
+ 'id',
57
85
  'last_updated_at',
86
+ 'name',
58
87
  'owner_first_name',
59
88
  'owner_guid',
60
89
  'owner_last_name',
@@ -68,6 +97,10 @@ exports.WebhookWorkspaceUserRemovedSchema = {
68
97
  user_guid: {
69
98
  type: 'string',
70
99
  },
100
+ id: {
101
+ description: 'Preferred user identifier. Same type and optionality as `user_guid`.',
102
+ type: 'string',
103
+ },
71
104
  first_name: {
72
105
  type: 'string',
73
106
  },
@@ -76,7 +109,7 @@ exports.WebhookWorkspaceUserRemovedSchema = {
76
109
  },
77
110
  },
78
111
  additionalProperties: false,
79
- required: ['first_name', 'last_name', 'user_guid'],
112
+ required: ['first_name', 'id', 'last_name', 'user_guid'],
80
113
  },
81
114
  },
82
115
  $schema: 'http://json-schema.org/draft-07/schema#',
@@ -1 +1 @@
1
- {"version":3,"file":"WebhookWorkspaceUserRemovedSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserRemovedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG;IAC/C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,C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AJD,WAAY,+BAA+B;IACzC,0DAAuB,CAAA;IACvB,0DAAuB,CAAA;IACvB,8DAA2B,CAAA;AAC7B,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
1
+ {"version":3,"file":"WebhookWorkspaceUserRemovedSchema.js","sourceRoot":"","sources":["../../../src/schemas/webhook/WebhookWorkspaceUserRemovedSchema.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG;IAC/C,IAAI,EAAE,QAAQ;IACd,UAAU,EAAE;QACV,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,SAAS,EAAE;YACT,IAAI,EAAE,gCAAgC;SACvC;QACD,WAAW,EAAE;YACX,IAAI,EAAE,gCAAgC;SACvC;KACF;IACD,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC;IACnD,WAAW,EAAE;QACX,gBAAgB,EAAE;YAChB,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,EAAE,EAAE;oBACF,WAAW,EACT,gFAAgF;oBAClF,IAAI,EAAE,QAAQ;iBACf;gBACD,cAAc,EAAE;oBACd,IAAI,EAAE,QAAQ;iBACf;gBACD,IAAI,EAAE;oBACJ,WAAW,EACT,kFAAkF;oBACpF,IAAI,EAAE,QAAQ;iBACf;gBACD,qBAAqB,EAAE;oBACrB,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,WAAW,EAAE;oBACX,WAAW,EACT,wFAAwF;oBAC1F,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;iBACzB;gBACD,UAAU,EAAE;oBACV,IAAI,EAAE,QAAQ;iBACf;gBACD,UAAU,EAAE;oBAC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uB,CAAA;IACvB,8DAA2B,CAAA;AAC7B,CAAC,EAJW,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAI1C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cv-contracts",
3
- "version": "2.0.14",
3
+ "version": "3.0.5",
4
4
  "description": "Carbon Voice Contracts",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,6 +20,10 @@
20
20
  ],
21
21
  "author": "Carbon Voice",
22
22
  "license": "ISC",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/PhononX/cv-contracts.git"
26
+ },
23
27
  "private": false,
24
28
  "devDependencies": {
25
29
  "@types/node": "^14",