@smartytalent/api-client 0.1.33-dev.27 → 0.1.33-dev.29

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 (109) hide show
  1. package/dist/apis/AggregatesApi.d.ts +2 -0
  2. package/dist/apis/AggregatesApi.d.ts.map +1 -1
  3. package/dist/apis/AggregatesApi.js +2 -0
  4. package/dist/apis/AggregatesApi.js.map +1 -1
  5. package/dist/apis/CORSApi.d.ts +49 -0
  6. package/dist/apis/CORSApi.d.ts.map +1 -0
  7. package/dist/apis/CORSApi.js +135 -0
  8. package/dist/apis/CORSApi.js.map +1 -0
  9. package/dist/apis/CallsApi.d.ts +72 -1
  10. package/dist/apis/CallsApi.d.ts.map +1 -1
  11. package/dist/apis/CallsApi.js +88 -2
  12. package/dist/apis/CallsApi.js.map +1 -1
  13. package/dist/apis/CandidatesApi.d.ts +2 -2
  14. package/dist/apis/CandidatesApi.js +2 -2
  15. package/dist/apis/CommentsApi.d.ts +152 -0
  16. package/dist/apis/CommentsApi.d.ts.map +1 -0
  17. package/dist/apis/CommentsApi.js +346 -0
  18. package/dist/apis/CommentsApi.js.map +1 -0
  19. package/dist/apis/JobsApi.d.ts +2 -2
  20. package/dist/apis/JobsApi.js +2 -2
  21. package/dist/apis/MeetingsApi.d.ts +4 -4
  22. package/dist/apis/MeetingsApi.js +4 -4
  23. package/dist/apis/StatesApi.d.ts +3 -0
  24. package/dist/apis/StatesApi.d.ts.map +1 -1
  25. package/dist/apis/StatesApi.js +3 -0
  26. package/dist/apis/StatesApi.js.map +1 -1
  27. package/dist/apis/SubmissionsApi.d.ts +4 -4
  28. package/dist/apis/SubmissionsApi.js +4 -4
  29. package/dist/apis/index.d.ts +2 -0
  30. package/dist/apis/index.d.ts.map +1 -1
  31. package/dist/apis/index.js +2 -0
  32. package/dist/apis/index.js.map +1 -1
  33. package/dist/models/CallAttributesSchema.d.ts +86 -0
  34. package/dist/models/CallAttributesSchema.d.ts.map +1 -1
  35. package/dist/models/CallAttributesSchema.js +45 -1
  36. package/dist/models/CallAttributesSchema.js.map +1 -1
  37. package/dist/models/CallAttributesSchemaSpeakerStatsInner.d.ts +53 -0
  38. package/dist/models/CallAttributesSchemaSpeakerStatsInner.d.ts.map +1 -0
  39. package/dist/models/CallAttributesSchemaSpeakerStatsInner.js +61 -0
  40. package/dist/models/CallAttributesSchemaSpeakerStatsInner.js.map +1 -0
  41. package/dist/models/CallAttributesSchemaTranscriptSegmentsInner.d.ts +65 -0
  42. package/dist/models/CallAttributesSchemaTranscriptSegmentsInner.d.ts.map +1 -0
  43. package/dist/models/CallAttributesSchemaTranscriptSegmentsInner.js +65 -0
  44. package/dist/models/CallAttributesSchemaTranscriptSegmentsInner.js.map +1 -0
  45. package/dist/models/CallMetaSchema.d.ts +34 -3
  46. package/dist/models/CallMetaSchema.d.ts.map +1 -1
  47. package/dist/models/CallMetaSchema.js +22 -0
  48. package/dist/models/CallMetaSchema.js.map +1 -1
  49. package/dist/models/CommentAttributesSchema.d.ts +109 -0
  50. package/dist/models/CommentAttributesSchema.d.ts.map +1 -0
  51. package/dist/models/CommentAttributesSchema.js +87 -0
  52. package/dist/models/CommentAttributesSchema.js.map +1 -0
  53. package/dist/models/CommentRelationshipsAuthorSchema.d.ts +34 -0
  54. package/dist/models/CommentRelationshipsAuthorSchema.d.ts.map +1 -0
  55. package/dist/models/CommentRelationshipsAuthorSchema.js +50 -0
  56. package/dist/models/CommentRelationshipsAuthorSchema.js.map +1 -0
  57. package/dist/models/CommentRelationshipsAuthorSchemaData.d.ts +46 -0
  58. package/dist/models/CommentRelationshipsAuthorSchemaData.d.ts.map +1 -0
  59. package/dist/models/CommentRelationshipsAuthorSchemaData.js +58 -0
  60. package/dist/models/CommentRelationshipsAuthorSchemaData.js.map +1 -0
  61. package/dist/models/CommentRelationshipsSchema.d.ts +38 -0
  62. package/dist/models/CommentRelationshipsSchema.d.ts.map +1 -0
  63. package/dist/models/CommentRelationshipsSchema.js +50 -0
  64. package/dist/models/CommentRelationshipsSchema.js.map +1 -0
  65. package/dist/models/CommentResourceSchema.d.ts +75 -0
  66. package/dist/models/CommentResourceSchema.d.ts.map +1 -0
  67. package/dist/models/CommentResourceSchema.js +75 -0
  68. package/dist/models/CommentResourceSchema.js.map +1 -0
  69. package/dist/models/CommentResponseDocument.d.ts +40 -0
  70. package/dist/models/CommentResponseDocument.d.ts.map +1 -0
  71. package/dist/models/CommentResponseDocument.js +52 -0
  72. package/dist/models/CommentResponseDocument.js.map +1 -0
  73. package/dist/models/CommentsResponseDocument.d.ts +52 -0
  74. package/dist/models/CommentsResponseDocument.d.ts.map +1 -0
  75. package/dist/models/CommentsResponseDocument.js +56 -0
  76. package/dist/models/CommentsResponseDocument.js.map +1 -0
  77. package/dist/models/CreateCommentRequestSchema.d.ts +34 -0
  78. package/dist/models/CreateCommentRequestSchema.d.ts.map +1 -0
  79. package/dist/models/CreateCommentRequestSchema.js +50 -0
  80. package/dist/models/CreateCommentRequestSchema.js.map +1 -0
  81. package/dist/models/CreateCommentRequestSchemaData.d.ts +47 -0
  82. package/dist/models/CreateCommentRequestSchemaData.d.ts.map +1 -0
  83. package/dist/models/CreateCommentRequestSchemaData.js +63 -0
  84. package/dist/models/CreateCommentRequestSchemaData.js.map +1 -0
  85. package/dist/models/CreateCommentRequestSchemaDataAttributes.d.ts +77 -0
  86. package/dist/models/CreateCommentRequestSchemaDataAttributes.d.ts.map +1 -0
  87. package/dist/models/CreateCommentRequestSchemaDataAttributes.js +79 -0
  88. package/dist/models/CreateCommentRequestSchemaDataAttributes.js.map +1 -0
  89. package/dist/models/CreateGuestSubmissionRequest.d.ts +1 -1
  90. package/dist/models/FeedbackOutcomesSchema.d.ts +1 -1
  91. package/dist/models/ScheduleTargetSchema.d.ts +1 -1
  92. package/dist/models/SubmissionAttributesSchema.d.ts +1 -1
  93. package/dist/models/UpdateCommentRequestSchema.d.ts +34 -0
  94. package/dist/models/UpdateCommentRequestSchema.d.ts.map +1 -0
  95. package/dist/models/UpdateCommentRequestSchema.js +50 -0
  96. package/dist/models/UpdateCommentRequestSchema.js.map +1 -0
  97. package/dist/models/UpdateCommentRequestSchemaData.d.ts +53 -0
  98. package/dist/models/UpdateCommentRequestSchemaData.d.ts.map +1 -0
  99. package/dist/models/UpdateCommentRequestSchemaData.js +63 -0
  100. package/dist/models/UpdateCommentRequestSchemaData.js.map +1 -0
  101. package/dist/models/UpdateCommentRequestSchemaDataAttributes.d.ts +45 -0
  102. package/dist/models/UpdateCommentRequestSchemaDataAttributes.d.ts.map +1 -0
  103. package/dist/models/UpdateCommentRequestSchemaDataAttributes.js +53 -0
  104. package/dist/models/UpdateCommentRequestSchemaDataAttributes.js.map +1 -0
  105. package/dist/models/index.d.ts +15 -0
  106. package/dist/models/index.d.ts.map +1 -1
  107. package/dist/models/index.js +15 -0
  108. package/dist/models/index.js.map +1 -1
  109. package/package.json +1 -1
@@ -280,7 +280,7 @@ class CandidatesApi extends runtime.BaseAPI {
280
280
  };
281
281
  }
282
282
  /**
283
- * Creates a new candidate in your account. ### Candidate\'s Attributes Here is a table that describes the attributes of the candidate object: | Attribute | Type | Description | |------------------------------|---------|--------------------------------------------------------------------------------| | `name` | string | The full name of the candidate. **Required.** | | `email` | string | Primary email address. **Required.** | | `secondaryEmail` | string | Secondary email address. | | `workEmail` | string | Work email address. | | `phone` | string | Primary phone number. | | `workPhone` | string | Work phone number. | | `status` | string | Status: active, paused, withdrawn, rejected, hired, archived. Deprecated values still accepted: inactive, onHold, offerExtended, offerDeclined, futureConsideration. | | `stage` | string | Pipeline stage: sourcing, screening, assessment, interview, offer, hired, onboarding, evaluation. Deprecated values still accepted: sourced, applied, initial, prescreened, screened, assessed, contacted, interviewed, offered, onboarded, evaluated. | | `age` | string | Candidate age. | | `gender` | string | Candidate gender. | | `source` | string | Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool). | | `channel` | string | How the candidate entered the system: form, email, call, chat, api, agent. | | `shortCode` | string | Short code identifier. | | `languageCode` | string | Preferred language code (e.g., en-US, pl-PL). | | `recommendationStatusCode` | integer | Numeric recommendation status code. | | `overallMatchRating` | integer | Overall match rating (05). | | `prevOverallMatchRating` | integer | Previous overall match rating before recalculation. | | `ttl` | string | Time-to-live expiration timestamp. | | `alumni` | object | Alumni/former employee info (isFormerEmployee, previousTenureMonths, wantsToReturn). | | `referral` | object | Referral info (isReferred, referralCode, referrer). | | `jobPositionTitle` | object | Language-keyed job position title (e.g., `{\"en-US\": \"...\"}`). | | `rejectionTicket` | object | Language-keyed rejection ticket text. | | `recommendationStatus` | object | Language-keyed recommendation status. | | `overallAssessment` | object | Language-keyed overall assessment. | | `nextSteps` | object | Language-keyed next steps recommendations. | | `insightsAndAnalysis` | object | Language-keyed insights and analysis. | | `keywords` | object | Language-keyed extracted keywords. | | `skillsAndExpertise` | object | Language-keyed comparison criteria (expected, received, rating, etc.). | | `personalityAndSoftSkills` | object | Language-keyed comparison criteria. | | `experienceAndSeniority` | object | Language-keyed comparison criteria. | | `education` | object | Language-keyed comparison criteria. | | `certifications` | object | Language-keyed comparison criteria. | | `languagesSpoken` | object | Language-keyed comparison criteria. | | `availability` | object | Language-keyed comparison criteria. | | `salaryExpectation` | object | Language-keyed comparison criteria. | | `workPreferences` | object | Language-keyed comparison criteria. | | `locationPreferences` | object | Language-keyed comparison criteria. | | `workAuthorization` | object | Language-keyed comparison criteria. | | `industryExperience` | object | Language-keyed comparison criteria. | | `companyTypeExperience` | object | Language-keyed comparison criteria. | | `jobPositions` | object | Language-keyed comparison criteria. | | `jobTendencies` | object | Language-keyed comparison criteria. | | `licenses` | object | Language-keyed comparison criteria. | | `timestamps.created` | string | When the candidate was created (ISO 8601). | | `timestamps.modified` | string | When the candidate was last modified (ISO 8601). |
283
+ * Creates a new candidate in your account. ### Candidate\'s Attributes Here is a table that describes the attributes of the candidate object: | Attribute | Type | Description | |------------------------------|---------|--------------------------------------------------------------------------------| | `name` | string | The full name of the candidate. **Required.** | | `email` | string | Primary email address. **Required.** | | `secondaryEmail` | string | Secondary email address. | | `workEmail` | string | Work email address. | | `phone` | string | Primary phone number. | | `workPhone` | string | Work phone number. | | `status` | string | Status: active, paused, withdrawn, rejected, hired, archived. Deprecated values still accepted: inactive, onHold, offerExtended, offerDeclined, futureConsideration. | | `stage` | string | Pipeline stage: sourcing, screening, assessment, interview, offer, hired, onboarding, evaluation. Deprecated values still accepted: sourced, applied, initial, prescreened, screened, assessed, contacted, interviewed, offered, onboarded, evaluated. | | `age` | string | Candidate age. | | `gender` | string | Candidate gender. | | `source` | string | Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool). | | `channel` | string | How the candidate entered the system: form, email, call, chat, api, agent. | | `shortCode` | string | Short code identifier. | | `languageCode` | string | Preferred language code (e.g., en-US, pl-PL). | | `recommendationStatusCode` | integer | Numeric recommendation status code. | | `overallMatchRating` | integer | Overall match rating (0-5). | | `prevOverallMatchRating` | integer | Previous overall match rating before recalculation. | | `ttl` | string | Time-to-live expiration timestamp. | | `alumni` | object | Alumni/former employee info (isFormerEmployee, previousTenureMonths, wantsToReturn). | | `referral` | object | Referral info (isReferred, referralCode, referrer). | | `jobPositionTitle` | object | Language-keyed job position title (e.g., `{\"en-US\": \"...\"}`). | | `rejectionTicket` | object | Language-keyed rejection ticket text. | | `recommendationStatus` | object | Language-keyed recommendation status. | | `overallAssessment` | object | Language-keyed overall assessment. | | `nextSteps` | object | Language-keyed next steps recommendations. | | `insightsAndAnalysis` | object | Language-keyed insights and analysis. | | `keywords` | object | Language-keyed extracted keywords. | | `skillsAndExpertise` | object | Language-keyed comparison criteria (expected, received, rating, etc.). | | `personalityAndSoftSkills` | object | Language-keyed comparison criteria. | | `experienceAndSeniority` | object | Language-keyed comparison criteria. | | `education` | object | Language-keyed comparison criteria. | | `certifications` | object | Language-keyed comparison criteria. | | `languagesSpoken` | object | Language-keyed comparison criteria. | | `availability` | object | Language-keyed comparison criteria. | | `salaryExpectation` | object | Language-keyed comparison criteria. | | `workPreferences` | object | Language-keyed comparison criteria. | | `locationPreferences` | object | Language-keyed comparison criteria. | | `workAuthorization` | object | Language-keyed comparison criteria. | | `industryExperience` | object | Language-keyed comparison criteria. | | `companyTypeExperience` | object | Language-keyed comparison criteria. | | `jobPositions` | object | Language-keyed comparison criteria. | | `jobTendencies` | object | Language-keyed comparison criteria. | | `licenses` | object | Language-keyed comparison criteria. | | `timestamps.created` | string | When the candidate was created (ISO 8601). | | `timestamps.modified` | string | When the candidate was last modified (ISO 8601). |
284
284
  * Create Candidate
285
285
  */
286
286
  async createCandidateRaw(requestParameters, initOverrides) {
@@ -289,7 +289,7 @@ class CandidatesApi extends runtime.BaseAPI {
289
289
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CandidateSchemaFromJSON)(jsonValue));
290
290
  }
291
291
  /**
292
- * Creates a new candidate in your account. ### Candidate\'s Attributes Here is a table that describes the attributes of the candidate object: | Attribute | Type | Description | |------------------------------|---------|--------------------------------------------------------------------------------| | `name` | string | The full name of the candidate. **Required.** | | `email` | string | Primary email address. **Required.** | | `secondaryEmail` | string | Secondary email address. | | `workEmail` | string | Work email address. | | `phone` | string | Primary phone number. | | `workPhone` | string | Work phone number. | | `status` | string | Status: active, paused, withdrawn, rejected, hired, archived. Deprecated values still accepted: inactive, onHold, offerExtended, offerDeclined, futureConsideration. | | `stage` | string | Pipeline stage: sourcing, screening, assessment, interview, offer, hired, onboarding, evaluation. Deprecated values still accepted: sourced, applied, initial, prescreened, screened, assessed, contacted, interviewed, offered, onboarded, evaluated. | | `age` | string | Candidate age. | | `gender` | string | Candidate gender. | | `source` | string | Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool). | | `channel` | string | How the candidate entered the system: form, email, call, chat, api, agent. | | `shortCode` | string | Short code identifier. | | `languageCode` | string | Preferred language code (e.g., en-US, pl-PL). | | `recommendationStatusCode` | integer | Numeric recommendation status code. | | `overallMatchRating` | integer | Overall match rating (05). | | `prevOverallMatchRating` | integer | Previous overall match rating before recalculation. | | `ttl` | string | Time-to-live expiration timestamp. | | `alumni` | object | Alumni/former employee info (isFormerEmployee, previousTenureMonths, wantsToReturn). | | `referral` | object | Referral info (isReferred, referralCode, referrer). | | `jobPositionTitle` | object | Language-keyed job position title (e.g., `{\"en-US\": \"...\"}`). | | `rejectionTicket` | object | Language-keyed rejection ticket text. | | `recommendationStatus` | object | Language-keyed recommendation status. | | `overallAssessment` | object | Language-keyed overall assessment. | | `nextSteps` | object | Language-keyed next steps recommendations. | | `insightsAndAnalysis` | object | Language-keyed insights and analysis. | | `keywords` | object | Language-keyed extracted keywords. | | `skillsAndExpertise` | object | Language-keyed comparison criteria (expected, received, rating, etc.). | | `personalityAndSoftSkills` | object | Language-keyed comparison criteria. | | `experienceAndSeniority` | object | Language-keyed comparison criteria. | | `education` | object | Language-keyed comparison criteria. | | `certifications` | object | Language-keyed comparison criteria. | | `languagesSpoken` | object | Language-keyed comparison criteria. | | `availability` | object | Language-keyed comparison criteria. | | `salaryExpectation` | object | Language-keyed comparison criteria. | | `workPreferences` | object | Language-keyed comparison criteria. | | `locationPreferences` | object | Language-keyed comparison criteria. | | `workAuthorization` | object | Language-keyed comparison criteria. | | `industryExperience` | object | Language-keyed comparison criteria. | | `companyTypeExperience` | object | Language-keyed comparison criteria. | | `jobPositions` | object | Language-keyed comparison criteria. | | `jobTendencies` | object | Language-keyed comparison criteria. | | `licenses` | object | Language-keyed comparison criteria. | | `timestamps.created` | string | When the candidate was created (ISO 8601). | | `timestamps.modified` | string | When the candidate was last modified (ISO 8601). |
292
+ * Creates a new candidate in your account. ### Candidate\'s Attributes Here is a table that describes the attributes of the candidate object: | Attribute | Type | Description | |------------------------------|---------|--------------------------------------------------------------------------------| | `name` | string | The full name of the candidate. **Required.** | | `email` | string | Primary email address. **Required.** | | `secondaryEmail` | string | Secondary email address. | | `workEmail` | string | Work email address. | | `phone` | string | Primary phone number. | | `workPhone` | string | Work phone number. | | `status` | string | Status: active, paused, withdrawn, rejected, hired, archived. Deprecated values still accepted: inactive, onHold, offerExtended, offerDeclined, futureConsideration. | | `stage` | string | Pipeline stage: sourcing, screening, assessment, interview, offer, hired, onboarding, evaluation. Deprecated values still accepted: sourced, applied, initial, prescreened, screened, assessed, contacted, interviewed, offered, onboarded, evaluated. | | `age` | string | Candidate age. | | `gender` | string | Candidate gender. | | `source` | string | Where the candidate originated (e.g., careerPage, jobBoard, linkedin, talentPool). | | `channel` | string | How the candidate entered the system: form, email, call, chat, api, agent. | | `shortCode` | string | Short code identifier. | | `languageCode` | string | Preferred language code (e.g., en-US, pl-PL). | | `recommendationStatusCode` | integer | Numeric recommendation status code. | | `overallMatchRating` | integer | Overall match rating (0-5). | | `prevOverallMatchRating` | integer | Previous overall match rating before recalculation. | | `ttl` | string | Time-to-live expiration timestamp. | | `alumni` | object | Alumni/former employee info (isFormerEmployee, previousTenureMonths, wantsToReturn). | | `referral` | object | Referral info (isReferred, referralCode, referrer). | | `jobPositionTitle` | object | Language-keyed job position title (e.g., `{\"en-US\": \"...\"}`). | | `rejectionTicket` | object | Language-keyed rejection ticket text. | | `recommendationStatus` | object | Language-keyed recommendation status. | | `overallAssessment` | object | Language-keyed overall assessment. | | `nextSteps` | object | Language-keyed next steps recommendations. | | `insightsAndAnalysis` | object | Language-keyed insights and analysis. | | `keywords` | object | Language-keyed extracted keywords. | | `skillsAndExpertise` | object | Language-keyed comparison criteria (expected, received, rating, etc.). | | `personalityAndSoftSkills` | object | Language-keyed comparison criteria. | | `experienceAndSeniority` | object | Language-keyed comparison criteria. | | `education` | object | Language-keyed comparison criteria. | | `certifications` | object | Language-keyed comparison criteria. | | `languagesSpoken` | object | Language-keyed comparison criteria. | | `availability` | object | Language-keyed comparison criteria. | | `salaryExpectation` | object | Language-keyed comparison criteria. | | `workPreferences` | object | Language-keyed comparison criteria. | | `locationPreferences` | object | Language-keyed comparison criteria. | | `workAuthorization` | object | Language-keyed comparison criteria. | | `industryExperience` | object | Language-keyed comparison criteria. | | `companyTypeExperience` | object | Language-keyed comparison criteria. | | `jobPositions` | object | Language-keyed comparison criteria. | | `jobTendencies` | object | Language-keyed comparison criteria. | | `licenses` | object | Language-keyed comparison criteria. | | `timestamps.created` | string | When the candidate was created (ISO 8601). | | `timestamps.modified` | string | When the candidate was last modified (ISO 8601). |
293
293
  * Create Candidate
294
294
  */
295
295
  async createCandidate(requestParameters, initOverrides) {
@@ -0,0 +1,152 @@
1
+ /**
2
+ * SmartyMeet Dev03 API REST
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.1
6
+ * Contact: developer@smartymeet.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { CommentResponseDocument, CommentsResponseDocument, CreateCommentRequestSchema, UpdateCommentRequestSchema } from '../models/index';
14
+ export interface CreateCommentRequest {
15
+ createCommentRequestSchema: CreateCommentRequestSchema;
16
+ }
17
+ export interface DeleteCommentRequest {
18
+ commentId: string;
19
+ permanentDelete?: DeleteCommentPermanentDeleteEnum;
20
+ }
21
+ export interface ListCommentsRequest {
22
+ filterTargetType?: ListCommentsFilterTargetTypeEnum;
23
+ filterTargetId?: string;
24
+ filterAuthorId?: string;
25
+ filterIsResolved?: boolean;
26
+ include?: string;
27
+ filterCreatedFrom?: Date;
28
+ filterCreatedTo?: Date;
29
+ filterModifiedFrom?: Date;
30
+ filterModifiedTo?: Date;
31
+ pageSize?: number;
32
+ pageNumber?: number;
33
+ pageAfter?: string;
34
+ pageBefore?: string;
35
+ sort?: ListCommentsSortEnum;
36
+ }
37
+ export interface ShowCommentRequest {
38
+ commentId: string;
39
+ include?: string;
40
+ }
41
+ export interface UpdateCommentRequest {
42
+ commentId: string;
43
+ updateCommentRequestSchema: UpdateCommentRequestSchema;
44
+ }
45
+ /**
46
+ *
47
+ */
48
+ export declare class CommentsApi extends runtime.BaseAPI {
49
+ /**
50
+ * Creates request options for createComment without sending the request
51
+ */
52
+ createCommentRequestOpts(requestParameters: CreateCommentRequest): Promise<runtime.RequestOpts>;
53
+ /**
54
+ * Creates a new comment. The author is taken from the API Gateway authorizer (`userId`). `targetType` + `targetId` are required. Each entry in `mentionedUserIds` triggers a NOTIFICATION_USER_PUSH to that user (live WebSocket + notification row) - cap at 10. Self-mentions silently dropped.
55
+ * Create Comment
56
+ */
57
+ createCommentRaw(requestParameters: CreateCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CommentResponseDocument>>;
58
+ /**
59
+ * Creates a new comment. The author is taken from the API Gateway authorizer (`userId`). `targetType` + `targetId` are required. Each entry in `mentionedUserIds` triggers a NOTIFICATION_USER_PUSH to that user (live WebSocket + notification row) - cap at 10. Self-mentions silently dropped.
60
+ * Create Comment
61
+ */
62
+ createComment(requestParameters: CreateCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CommentResponseDocument>;
63
+ /**
64
+ * Creates request options for deleteComment without sending the request
65
+ */
66
+ deleteCommentRequestOpts(requestParameters: DeleteCommentRequest): Promise<runtime.RequestOpts>;
67
+ /**
68
+ * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Only the author OR a tenant admin/owner can delete; others get 403. Idempotent: archiving an already- archived comment is a 204 no-op. Decrements per-target counter via aggregate service so FE badge stays in sync.
69
+ * Delete Comment
70
+ */
71
+ deleteCommentRaw(requestParameters: DeleteCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
72
+ /**
73
+ * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Only the author OR a tenant admin/owner can delete; others get 403. Idempotent: archiving an already- archived comment is a 204 no-op. Decrements per-target counter via aggregate service so FE badge stays in sync.
74
+ * Delete Comment
75
+ */
76
+ deleteComment(requestParameters: DeleteCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
77
+ /**
78
+ * Creates request options for listComments without sending the request
79
+ */
80
+ listCommentsRequestOpts(requestParameters: ListCommentsRequest): Promise<runtime.RequestOpts>;
81
+ /**
82
+ * Returns comments scoped to the current tenant. Use `filterTargetType` + `filterTargetId` to fetch all comments on a specific call/chat/job/etc. (collapses internally to a single `TargetIndex` GSI query). `?include=author` sideloads the user row for each unique author in the page (deduped).
83
+ * List Comments
84
+ */
85
+ listCommentsRaw(requestParameters: ListCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CommentsResponseDocument>>;
86
+ /**
87
+ * Returns comments scoped to the current tenant. Use `filterTargetType` + `filterTargetId` to fetch all comments on a specific call/chat/job/etc. (collapses internally to a single `TargetIndex` GSI query). `?include=author` sideloads the user row for each unique author in the page (deduped).
88
+ * List Comments
89
+ */
90
+ listComments(requestParameters?: ListCommentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CommentsResponseDocument>;
91
+ /**
92
+ * Creates request options for showComment without sending the request
93
+ */
94
+ showCommentRequestOpts(requestParameters: ShowCommentRequest): Promise<runtime.RequestOpts>;
95
+ /**
96
+ * Get a single comment. `?include=author` sideloads the user row.
97
+ * Show Comment
98
+ */
99
+ showCommentRaw(requestParameters: ShowCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CommentResponseDocument>>;
100
+ /**
101
+ * Get a single comment. `?include=author` sideloads the user row.
102
+ * Show Comment
103
+ */
104
+ showComment(requestParameters: ShowCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CommentResponseDocument>;
105
+ /**
106
+ * Creates request options for updateComment without sending the request
107
+ */
108
+ updateCommentRequestOpts(requestParameters: UpdateCommentRequest): Promise<runtime.RequestOpts>;
109
+ /**
110
+ * Patch `body`, `isResolved`, or `mentionedUserIds`. Only the author OR a tenant admin/owner can update; others get 403. First PATCH of `body` flips `isEdited` to true. New entries in `mentionedUserIds` (vs the row\'s previous list) trigger a notification; re-mentioning an existing user does NOT re-notify.
111
+ * Update Comment
112
+ */
113
+ updateCommentRaw(requestParameters: UpdateCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CommentResponseDocument>>;
114
+ /**
115
+ * Patch `body`, `isResolved`, or `mentionedUserIds`. Only the author OR a tenant admin/owner can update; others get 403. First PATCH of `body` flips `isEdited` to true. New entries in `mentionedUserIds` (vs the row\'s previous list) trigger a notification; re-mentioning an existing user does NOT re-notify.
116
+ * Update Comment
117
+ */
118
+ updateComment(requestParameters: UpdateCommentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CommentResponseDocument>;
119
+ }
120
+ /**
121
+ * @export
122
+ */
123
+ export declare const DeleteCommentPermanentDeleteEnum: {
124
+ readonly True: "true";
125
+ readonly False: "false";
126
+ };
127
+ export type DeleteCommentPermanentDeleteEnum = typeof DeleteCommentPermanentDeleteEnum[keyof typeof DeleteCommentPermanentDeleteEnum];
128
+ /**
129
+ * @export
130
+ */
131
+ export declare const ListCommentsFilterTargetTypeEnum: {
132
+ readonly Calls: "calls";
133
+ readonly Chats: "chats";
134
+ readonly Emails: "emails";
135
+ readonly Candidates: "candidates";
136
+ readonly Jobs: "jobs";
137
+ readonly Talents: "talents";
138
+ readonly Briefs: "briefs";
139
+ readonly Tasks: "tasks";
140
+ };
141
+ export type ListCommentsFilterTargetTypeEnum = typeof ListCommentsFilterTargetTypeEnum[keyof typeof ListCommentsFilterTargetTypeEnum];
142
+ /**
143
+ * @export
144
+ */
145
+ export declare const ListCommentsSortEnum: {
146
+ readonly Created: "-created";
147
+ readonly Created2: "created";
148
+ readonly Modified: "-modified";
149
+ readonly Modified2: "modified";
150
+ };
151
+ export type ListCommentsSortEnum = typeof ListCommentsSortEnum[keyof typeof ListCommentsSortEnum];
152
+ //# sourceMappingURL=CommentsApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentsApi.d.ts","sourceRoot":"","sources":["../../src/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,CAAC"}
@@ -0,0 +1,346 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * SmartyMeet Dev03 API REST
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.1
9
+ * Contact: developer@smartymeet.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || (function () {
32
+ var ownKeys = function(o) {
33
+ ownKeys = Object.getOwnPropertyNames || function (o) {
34
+ var ar = [];
35
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
+ return ar;
37
+ };
38
+ return ownKeys(o);
39
+ };
40
+ return function (mod) {
41
+ if (mod && mod.__esModule) return mod;
42
+ var result = {};
43
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
+ __setModuleDefault(result, mod);
45
+ return result;
46
+ };
47
+ })();
48
+ Object.defineProperty(exports, "__esModule", { value: true });
49
+ exports.ListCommentsSortEnum = exports.ListCommentsFilterTargetTypeEnum = exports.DeleteCommentPermanentDeleteEnum = exports.CommentsApi = void 0;
50
+ const runtime = __importStar(require("../runtime"));
51
+ const index_1 = require("../models/index");
52
+ /**
53
+ *
54
+ */
55
+ class CommentsApi extends runtime.BaseAPI {
56
+ /**
57
+ * Creates request options for createComment without sending the request
58
+ */
59
+ async createCommentRequestOpts(requestParameters) {
60
+ if (requestParameters['createCommentRequestSchema'] == null) {
61
+ throw new runtime.RequiredError('createCommentRequestSchema', 'Required parameter "createCommentRequestSchema" was null or undefined when calling createComment().');
62
+ }
63
+ const queryParameters = {};
64
+ const headerParameters = {};
65
+ headerParameters['Content-Type'] = 'application/json';
66
+ if (this.configuration && this.configuration.apiKey) {
67
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
68
+ }
69
+ if (this.configuration && this.configuration.accessToken) {
70
+ // oauth required
71
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
72
+ }
73
+ let urlPath = `/v1/comments`;
74
+ return {
75
+ path: urlPath,
76
+ method: 'POST',
77
+ headers: headerParameters,
78
+ query: queryParameters,
79
+ body: (0, index_1.CreateCommentRequestSchemaToJSON)(requestParameters['createCommentRequestSchema']),
80
+ };
81
+ }
82
+ /**
83
+ * Creates a new comment. The author is taken from the API Gateway authorizer (`userId`). `targetType` + `targetId` are required. Each entry in `mentionedUserIds` triggers a NOTIFICATION_USER_PUSH to that user (live WebSocket + notification row) - cap at 10. Self-mentions silently dropped.
84
+ * Create Comment
85
+ */
86
+ async createCommentRaw(requestParameters, initOverrides) {
87
+ const requestOptions = await this.createCommentRequestOpts(requestParameters);
88
+ const response = await this.request(requestOptions, initOverrides);
89
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CommentResponseDocumentFromJSON)(jsonValue));
90
+ }
91
+ /**
92
+ * Creates a new comment. The author is taken from the API Gateway authorizer (`userId`). `targetType` + `targetId` are required. Each entry in `mentionedUserIds` triggers a NOTIFICATION_USER_PUSH to that user (live WebSocket + notification row) - cap at 10. Self-mentions silently dropped.
93
+ * Create Comment
94
+ */
95
+ async createComment(requestParameters, initOverrides) {
96
+ const response = await this.createCommentRaw(requestParameters, initOverrides);
97
+ return await response.value();
98
+ }
99
+ /**
100
+ * Creates request options for deleteComment without sending the request
101
+ */
102
+ async deleteCommentRequestOpts(requestParameters) {
103
+ if (requestParameters['commentId'] == null) {
104
+ throw new runtime.RequiredError('commentId', 'Required parameter "commentId" was null or undefined when calling deleteComment().');
105
+ }
106
+ const queryParameters = {};
107
+ if (requestParameters['permanentDelete'] != null) {
108
+ queryParameters['permanentDelete'] = requestParameters['permanentDelete'];
109
+ }
110
+ const headerParameters = {};
111
+ if (this.configuration && this.configuration.apiKey) {
112
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
113
+ }
114
+ if (this.configuration && this.configuration.accessToken) {
115
+ // oauth required
116
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
117
+ }
118
+ let urlPath = `/v1/comments/{commentId}`;
119
+ urlPath = urlPath.replace(`{${"commentId"}}`, encodeURIComponent(String(requestParameters['commentId'])));
120
+ return {
121
+ path: urlPath,
122
+ method: 'DELETE',
123
+ headers: headerParameters,
124
+ query: queryParameters,
125
+ };
126
+ }
127
+ /**
128
+ * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Only the author OR a tenant admin/owner can delete; others get 403. Idempotent: archiving an already- archived comment is a 204 no-op. Decrements per-target counter via aggregate service so FE badge stays in sync.
129
+ * Delete Comment
130
+ */
131
+ async deleteCommentRaw(requestParameters, initOverrides) {
132
+ const requestOptions = await this.deleteCommentRequestOpts(requestParameters);
133
+ const response = await this.request(requestOptions, initOverrides);
134
+ return new runtime.VoidApiResponse(response);
135
+ }
136
+ /**
137
+ * Soft-delete (status=archived) by default. Hard-delete with `?permanentDelete=true`. Only the author OR a tenant admin/owner can delete; others get 403. Idempotent: archiving an already- archived comment is a 204 no-op. Decrements per-target counter via aggregate service so FE badge stays in sync.
138
+ * Delete Comment
139
+ */
140
+ async deleteComment(requestParameters, initOverrides) {
141
+ await this.deleteCommentRaw(requestParameters, initOverrides);
142
+ }
143
+ /**
144
+ * Creates request options for listComments without sending the request
145
+ */
146
+ async listCommentsRequestOpts(requestParameters) {
147
+ const queryParameters = {};
148
+ if (requestParameters['filterTargetType'] != null) {
149
+ queryParameters['filterTargetType'] = requestParameters['filterTargetType'];
150
+ }
151
+ if (requestParameters['filterTargetId'] != null) {
152
+ queryParameters['filterTargetId'] = requestParameters['filterTargetId'];
153
+ }
154
+ if (requestParameters['filterAuthorId'] != null) {
155
+ queryParameters['filterAuthorId'] = requestParameters['filterAuthorId'];
156
+ }
157
+ if (requestParameters['filterIsResolved'] != null) {
158
+ queryParameters['filterIsResolved'] = requestParameters['filterIsResolved'];
159
+ }
160
+ if (requestParameters['include'] != null) {
161
+ queryParameters['include'] = requestParameters['include'];
162
+ }
163
+ if (requestParameters['filterCreatedFrom'] != null) {
164
+ queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
165
+ }
166
+ if (requestParameters['filterCreatedTo'] != null) {
167
+ queryParameters['filterCreatedTo'] = requestParameters['filterCreatedTo'].toISOString();
168
+ }
169
+ if (requestParameters['filterModifiedFrom'] != null) {
170
+ queryParameters['filterModifiedFrom'] = requestParameters['filterModifiedFrom'].toISOString();
171
+ }
172
+ if (requestParameters['filterModifiedTo'] != null) {
173
+ queryParameters['filterModifiedTo'] = requestParameters['filterModifiedTo'].toISOString();
174
+ }
175
+ if (requestParameters['pageSize'] != null) {
176
+ queryParameters['pageSize'] = requestParameters['pageSize'];
177
+ }
178
+ if (requestParameters['pageNumber'] != null) {
179
+ queryParameters['pageNumber'] = requestParameters['pageNumber'];
180
+ }
181
+ if (requestParameters['pageAfter'] != null) {
182
+ queryParameters['pageAfter'] = requestParameters['pageAfter'];
183
+ }
184
+ if (requestParameters['pageBefore'] != null) {
185
+ queryParameters['pageBefore'] = requestParameters['pageBefore'];
186
+ }
187
+ if (requestParameters['sort'] != null) {
188
+ queryParameters['sort'] = requestParameters['sort'];
189
+ }
190
+ const headerParameters = {};
191
+ if (this.configuration && this.configuration.apiKey) {
192
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
193
+ }
194
+ if (this.configuration && this.configuration.accessToken) {
195
+ // oauth required
196
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
197
+ }
198
+ let urlPath = `/v1/comments`;
199
+ return {
200
+ path: urlPath,
201
+ method: 'GET',
202
+ headers: headerParameters,
203
+ query: queryParameters,
204
+ };
205
+ }
206
+ /**
207
+ * Returns comments scoped to the current tenant. Use `filterTargetType` + `filterTargetId` to fetch all comments on a specific call/chat/job/etc. (collapses internally to a single `TargetIndex` GSI query). `?include=author` sideloads the user row for each unique author in the page (deduped).
208
+ * List Comments
209
+ */
210
+ async listCommentsRaw(requestParameters, initOverrides) {
211
+ const requestOptions = await this.listCommentsRequestOpts(requestParameters);
212
+ const response = await this.request(requestOptions, initOverrides);
213
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CommentsResponseDocumentFromJSON)(jsonValue));
214
+ }
215
+ /**
216
+ * Returns comments scoped to the current tenant. Use `filterTargetType` + `filterTargetId` to fetch all comments on a specific call/chat/job/etc. (collapses internally to a single `TargetIndex` GSI query). `?include=author` sideloads the user row for each unique author in the page (deduped).
217
+ * List Comments
218
+ */
219
+ async listComments(requestParameters = {}, initOverrides) {
220
+ const response = await this.listCommentsRaw(requestParameters, initOverrides);
221
+ return await response.value();
222
+ }
223
+ /**
224
+ * Creates request options for showComment without sending the request
225
+ */
226
+ async showCommentRequestOpts(requestParameters) {
227
+ if (requestParameters['commentId'] == null) {
228
+ throw new runtime.RequiredError('commentId', 'Required parameter "commentId" was null or undefined when calling showComment().');
229
+ }
230
+ const queryParameters = {};
231
+ if (requestParameters['include'] != null) {
232
+ queryParameters['include'] = requestParameters['include'];
233
+ }
234
+ const headerParameters = {};
235
+ if (this.configuration && this.configuration.apiKey) {
236
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
237
+ }
238
+ if (this.configuration && this.configuration.accessToken) {
239
+ // oauth required
240
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
241
+ }
242
+ let urlPath = `/v1/comments/{commentId}`;
243
+ urlPath = urlPath.replace(`{${"commentId"}}`, encodeURIComponent(String(requestParameters['commentId'])));
244
+ return {
245
+ path: urlPath,
246
+ method: 'GET',
247
+ headers: headerParameters,
248
+ query: queryParameters,
249
+ };
250
+ }
251
+ /**
252
+ * Get a single comment. `?include=author` sideloads the user row.
253
+ * Show Comment
254
+ */
255
+ async showCommentRaw(requestParameters, initOverrides) {
256
+ const requestOptions = await this.showCommentRequestOpts(requestParameters);
257
+ const response = await this.request(requestOptions, initOverrides);
258
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CommentResponseDocumentFromJSON)(jsonValue));
259
+ }
260
+ /**
261
+ * Get a single comment. `?include=author` sideloads the user row.
262
+ * Show Comment
263
+ */
264
+ async showComment(requestParameters, initOverrides) {
265
+ const response = await this.showCommentRaw(requestParameters, initOverrides);
266
+ return await response.value();
267
+ }
268
+ /**
269
+ * Creates request options for updateComment without sending the request
270
+ */
271
+ async updateCommentRequestOpts(requestParameters) {
272
+ if (requestParameters['commentId'] == null) {
273
+ throw new runtime.RequiredError('commentId', 'Required parameter "commentId" was null or undefined when calling updateComment().');
274
+ }
275
+ if (requestParameters['updateCommentRequestSchema'] == null) {
276
+ throw new runtime.RequiredError('updateCommentRequestSchema', 'Required parameter "updateCommentRequestSchema" was null or undefined when calling updateComment().');
277
+ }
278
+ const queryParameters = {};
279
+ const headerParameters = {};
280
+ headerParameters['Content-Type'] = 'application/json';
281
+ if (this.configuration && this.configuration.apiKey) {
282
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
283
+ }
284
+ if (this.configuration && this.configuration.accessToken) {
285
+ // oauth required
286
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
287
+ }
288
+ let urlPath = `/v1/comments/{commentId}`;
289
+ urlPath = urlPath.replace(`{${"commentId"}}`, encodeURIComponent(String(requestParameters['commentId'])));
290
+ return {
291
+ path: urlPath,
292
+ method: 'PATCH',
293
+ headers: headerParameters,
294
+ query: queryParameters,
295
+ body: (0, index_1.UpdateCommentRequestSchemaToJSON)(requestParameters['updateCommentRequestSchema']),
296
+ };
297
+ }
298
+ /**
299
+ * Patch `body`, `isResolved`, or `mentionedUserIds`. Only the author OR a tenant admin/owner can update; others get 403. First PATCH of `body` flips `isEdited` to true. New entries in `mentionedUserIds` (vs the row\'s previous list) trigger a notification; re-mentioning an existing user does NOT re-notify.
300
+ * Update Comment
301
+ */
302
+ async updateCommentRaw(requestParameters, initOverrides) {
303
+ const requestOptions = await this.updateCommentRequestOpts(requestParameters);
304
+ const response = await this.request(requestOptions, initOverrides);
305
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CommentResponseDocumentFromJSON)(jsonValue));
306
+ }
307
+ /**
308
+ * Patch `body`, `isResolved`, or `mentionedUserIds`. Only the author OR a tenant admin/owner can update; others get 403. First PATCH of `body` flips `isEdited` to true. New entries in `mentionedUserIds` (vs the row\'s previous list) trigger a notification; re-mentioning an existing user does NOT re-notify.
309
+ * Update Comment
310
+ */
311
+ async updateComment(requestParameters, initOverrides) {
312
+ const response = await this.updateCommentRaw(requestParameters, initOverrides);
313
+ return await response.value();
314
+ }
315
+ }
316
+ exports.CommentsApi = CommentsApi;
317
+ /**
318
+ * @export
319
+ */
320
+ exports.DeleteCommentPermanentDeleteEnum = {
321
+ True: 'true',
322
+ False: 'false'
323
+ };
324
+ /**
325
+ * @export
326
+ */
327
+ exports.ListCommentsFilterTargetTypeEnum = {
328
+ Calls: 'calls',
329
+ Chats: 'chats',
330
+ Emails: 'emails',
331
+ Candidates: 'candidates',
332
+ Jobs: 'jobs',
333
+ Talents: 'talents',
334
+ Briefs: 'briefs',
335
+ Tasks: 'tasks'
336
+ };
337
+ /**
338
+ * @export
339
+ */
340
+ exports.ListCommentsSortEnum = {
341
+ Created: '-created',
342
+ Created2: 'created',
343
+ Modified: '-modified',
344
+ Modified2: 'modified'
345
+ };
346
+ //# sourceMappingURL=CommentsApi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommentsApi.js","sourceRoot":"","sources":["../../src/apis/CommentsApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAQtC,2CAWyB;AAsCzB;;GAEG;AACH,MAAa,WAAY,SAAQ,OAAO,CAAC,OAAO;IAE5C;;OAEG;IACH,KAAK,CAAC,wBAAwB,CAAC,iBAAuC;QAClE,IAAI,iBAAiB,CAAC,4BAA4B,CAAC,IAAI,IAAI,EAAE,CAAC;YAC1D,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,4BAA4B,EAC5B,qGAAqG,CACxG,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;YAClD,gBAAgB,CAAC,eAAe,CAAC,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,4BAA4B;QACtH,CAAC;QAED,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;YACvD,iBAAiB;YACjB,gBAAgB,CAAC,eAAe,CAAC,GAAG,MAAM,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,YAAY,EAAE,EAA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