@smartytalent/api-client 0.8.0 → 0.8.2

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 (191) hide show
  1. package/dist/apis/FindersApi.d.ts +10 -10
  2. package/dist/apis/FindersApi.js +10 -10
  3. package/dist/apis/ResponsesApi.d.ts +157 -0
  4. package/dist/apis/ResponsesApi.d.ts.map +1 -0
  5. package/dist/apis/ResponsesApi.js +364 -0
  6. package/dist/apis/ResponsesApi.js.map +1 -0
  7. package/dist/apis/SurveysApi.d.ts +69 -54
  8. package/dist/apis/SurveysApi.d.ts.map +1 -1
  9. package/dist/apis/SurveysApi.js +137 -110
  10. package/dist/apis/SurveysApi.js.map +1 -1
  11. package/dist/apis/TalentsApi.d.ts +2 -2
  12. package/dist/apis/TalentsApi.js +2 -2
  13. package/dist/apis/index.d.ts +1 -0
  14. package/dist/apis/index.d.ts.map +1 -1
  15. package/dist/apis/index.js +1 -0
  16. package/dist/apis/index.js.map +1 -1
  17. package/dist/models/CreateSurveyRequestBody.d.ts +34 -0
  18. package/dist/models/CreateSurveyRequestBody.d.ts.map +1 -0
  19. package/dist/models/CreateSurveyRequestBody.js +52 -0
  20. package/dist/models/CreateSurveyRequestBody.js.map +1 -0
  21. package/dist/models/CreateSurveyRequestBodyData.d.ts +47 -0
  22. package/dist/models/CreateSurveyRequestBodyData.d.ts.map +1 -0
  23. package/dist/models/CreateSurveyRequestBodyData.js +63 -0
  24. package/dist/models/CreateSurveyRequestBodyData.js.map +1 -0
  25. package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts +54 -0
  26. package/dist/models/CreateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
  27. package/dist/models/CreateSurveyRequestBodyDataAttributes.js +64 -0
  28. package/dist/models/CreateSurveyRequestBodyDataAttributes.js.map +1 -0
  29. package/dist/models/FinderQueryCandidatesSchema.d.ts +0 -12
  30. package/dist/models/FinderQueryCandidatesSchema.d.ts.map +1 -1
  31. package/dist/models/FinderQueryCandidatesSchema.js +0 -4
  32. package/dist/models/FinderQueryCandidatesSchema.js.map +1 -1
  33. package/dist/models/FinderQueryTalentsSchema.d.ts +0 -6
  34. package/dist/models/FinderQueryTalentsSchema.d.ts.map +1 -1
  35. package/dist/models/FinderQueryTalentsSchema.js +0 -2
  36. package/dist/models/FinderQueryTalentsSchema.js.map +1 -1
  37. package/dist/models/GuestResponseAttributesSchema.d.ts +102 -0
  38. package/dist/models/GuestResponseAttributesSchema.d.ts.map +1 -0
  39. package/dist/models/{GuestSurveyAttributesSchema.js → GuestResponseAttributesSchema.js} +23 -22
  40. package/dist/models/GuestResponseAttributesSchema.js.map +1 -0
  41. package/dist/models/GuestResponseMetaSchema.d.ts +45 -0
  42. package/dist/models/GuestResponseMetaSchema.d.ts.map +1 -0
  43. package/dist/models/{GuestSurveyMetaSchema.js → GuestResponseMetaSchema.js} +14 -14
  44. package/dist/models/GuestResponseMetaSchema.js.map +1 -0
  45. package/dist/models/GuestResponseResourceSchema.d.ts +53 -0
  46. package/dist/models/GuestResponseResourceSchema.d.ts.map +1 -0
  47. package/dist/models/GuestResponseResourceSchema.js +61 -0
  48. package/dist/models/GuestResponseResourceSchema.js.map +1 -0
  49. package/dist/models/GuestResponseSchema.d.ts +39 -0
  50. package/dist/models/GuestResponseSchema.d.ts.map +1 -0
  51. package/dist/models/GuestResponseSchema.js +50 -0
  52. package/dist/models/GuestResponseSchema.js.map +1 -0
  53. package/dist/models/ResponseAttributesSchema.d.ts +184 -0
  54. package/dist/models/ResponseAttributesSchema.d.ts.map +1 -0
  55. package/dist/models/ResponseAttributesSchema.js +100 -0
  56. package/dist/models/ResponseAttributesSchema.js.map +1 -0
  57. package/dist/models/ResponseRelationshipsCandidateSchema.d.ts +34 -0
  58. package/dist/models/ResponseRelationshipsCandidateSchema.d.ts.map +1 -0
  59. package/dist/models/ResponseRelationshipsCandidateSchema.js +50 -0
  60. package/dist/models/ResponseRelationshipsCandidateSchema.js.map +1 -0
  61. package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts +39 -0
  62. package/dist/models/ResponseRelationshipsCandidateSchemaData.d.ts.map +1 -0
  63. package/dist/models/ResponseRelationshipsCandidateSchemaData.js +51 -0
  64. package/dist/models/ResponseRelationshipsCandidateSchemaData.js.map +1 -0
  65. package/dist/models/ResponseRelationshipsJobSchema.d.ts +34 -0
  66. package/dist/models/ResponseRelationshipsJobSchema.d.ts.map +1 -0
  67. package/dist/models/ResponseRelationshipsJobSchema.js +50 -0
  68. package/dist/models/ResponseRelationshipsJobSchema.js.map +1 -0
  69. package/dist/models/ResponseRelationshipsSchema.d.ts +48 -0
  70. package/dist/models/ResponseRelationshipsSchema.d.ts.map +1 -0
  71. package/dist/models/ResponseRelationshipsSchema.js +56 -0
  72. package/dist/models/ResponseRelationshipsSchema.js.map +1 -0
  73. package/dist/models/ResponseRelationshipsSurveySchema.d.ts +34 -0
  74. package/dist/models/ResponseRelationshipsSurveySchema.d.ts.map +1 -0
  75. package/dist/models/ResponseRelationshipsSurveySchema.js +50 -0
  76. package/dist/models/ResponseRelationshipsSurveySchema.js.map +1 -0
  77. package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts +39 -0
  78. package/dist/models/ResponseRelationshipsSurveySchemaData.d.ts.map +1 -0
  79. package/dist/models/ResponseRelationshipsSurveySchemaData.js +51 -0
  80. package/dist/models/ResponseRelationshipsSurveySchemaData.js.map +1 -0
  81. package/dist/models/ResponseResourceSchema.d.ts +75 -0
  82. package/dist/models/ResponseResourceSchema.d.ts.map +1 -0
  83. package/dist/models/ResponseResourceSchema.js +75 -0
  84. package/dist/models/ResponseResourceSchema.js.map +1 -0
  85. package/dist/models/ResponseSchema.d.ts +49 -0
  86. package/dist/models/ResponseSchema.d.ts.map +1 -0
  87. package/dist/models/ResponseSchema.js +55 -0
  88. package/dist/models/ResponseSchema.js.map +1 -0
  89. package/dist/models/ResponsesSchema.d.ts +48 -0
  90. package/dist/models/ResponsesSchema.d.ts.map +1 -0
  91. package/dist/models/ResponsesSchema.js +56 -0
  92. package/dist/models/ResponsesSchema.js.map +1 -0
  93. package/dist/models/SubmitGuestResponseRequestBody.d.ts +41 -0
  94. package/dist/models/SubmitGuestResponseRequestBody.d.ts.map +1 -0
  95. package/dist/models/SubmitGuestResponseRequestBody.js +57 -0
  96. package/dist/models/SubmitGuestResponseRequestBody.js.map +1 -0
  97. package/dist/models/SubmitGuestResponseRequestBodyData.d.ts +53 -0
  98. package/dist/models/SubmitGuestResponseRequestBodyData.d.ts.map +1 -0
  99. package/dist/models/SubmitGuestResponseRequestBodyData.js +65 -0
  100. package/dist/models/SubmitGuestResponseRequestBodyData.js.map +1 -0
  101. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts +33 -0
  102. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.d.ts.map +1 -0
  103. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js +51 -0
  104. package/dist/models/SubmitGuestResponseRequestBodyDataAttributes.js.map +1 -0
  105. package/dist/models/SurveyAttributesSchema.d.ts +42 -91
  106. package/dist/models/SurveyAttributesSchema.d.ts.map +1 -1
  107. package/dist/models/SurveyAttributesSchema.js +18 -32
  108. package/dist/models/SurveyAttributesSchema.js.map +1 -1
  109. package/dist/models/SurveyContentSchema.d.ts +42 -0
  110. package/dist/models/SurveyContentSchema.d.ts.map +1 -0
  111. package/dist/models/SurveyContentSchema.js +52 -0
  112. package/dist/models/SurveyContentSchema.js.map +1 -0
  113. package/dist/models/SurveyQuestionOptionSchema.d.ts +41 -0
  114. package/dist/models/SurveyQuestionOptionSchema.d.ts.map +1 -0
  115. package/dist/models/SurveyQuestionOptionSchema.js +51 -0
  116. package/dist/models/SurveyQuestionOptionSchema.js.map +1 -0
  117. package/dist/models/SurveyQuestionSchema.d.ts +119 -0
  118. package/dist/models/SurveyQuestionSchema.d.ts.map +1 -0
  119. package/dist/models/SurveyQuestionSchema.js +85 -0
  120. package/dist/models/SurveyQuestionSchema.js.map +1 -0
  121. package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts +43 -0
  122. package/dist/models/SurveyQuestionSchemaScaleLabels.d.ts.map +1 -0
  123. package/dist/models/SurveyQuestionSchemaScaleLabels.js +51 -0
  124. package/dist/models/SurveyQuestionSchemaScaleLabels.js.map +1 -0
  125. package/dist/models/SurveyResourceSchema.d.ts +2 -3
  126. package/dist/models/SurveyResourceSchema.d.ts.map +1 -1
  127. package/dist/models/SurveyResourceSchema.js +2 -3
  128. package/dist/models/SurveyResourceSchema.js.map +1 -1
  129. package/dist/models/TalentAttributesSchema.d.ts +12 -0
  130. package/dist/models/TalentAttributesSchema.d.ts.map +1 -1
  131. package/dist/models/TalentAttributesSchema.js +4 -0
  132. package/dist/models/TalentAttributesSchema.js.map +1 -1
  133. package/dist/models/UpdateSurveyRequestBody.d.ts +34 -0
  134. package/dist/models/UpdateSurveyRequestBody.d.ts.map +1 -0
  135. package/dist/models/UpdateSurveyRequestBody.js +52 -0
  136. package/dist/models/UpdateSurveyRequestBody.js.map +1 -0
  137. package/dist/models/UpdateSurveyRequestBodyData.d.ts +53 -0
  138. package/dist/models/UpdateSurveyRequestBodyData.d.ts.map +1 -0
  139. package/dist/models/UpdateSurveyRequestBodyData.js +63 -0
  140. package/dist/models/UpdateSurveyRequestBodyData.js.map +1 -0
  141. package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts +55 -0
  142. package/dist/models/UpdateSurveyRequestBodyDataAttributes.d.ts.map +1 -0
  143. package/dist/models/UpdateSurveyRequestBodyDataAttributes.js +63 -0
  144. package/dist/models/UpdateSurveyRequestBodyDataAttributes.js.map +1 -0
  145. package/dist/models/index.d.ts +27 -11
  146. package/dist/models/index.d.ts.map +1 -1
  147. package/dist/models/index.js +27 -11
  148. package/dist/models/index.js.map +1 -1
  149. package/package.json +1 -1
  150. package/dist/models/GuestSurveyAttributesSchema.d.ts +0 -98
  151. package/dist/models/GuestSurveyAttributesSchema.d.ts.map +0 -1
  152. package/dist/models/GuestSurveyAttributesSchema.js.map +0 -1
  153. package/dist/models/GuestSurveyMetaSchema.d.ts +0 -45
  154. package/dist/models/GuestSurveyMetaSchema.d.ts.map +0 -1
  155. package/dist/models/GuestSurveyMetaSchema.js.map +0 -1
  156. package/dist/models/GuestSurveyResourceSchema.d.ts +0 -53
  157. package/dist/models/GuestSurveyResourceSchema.d.ts.map +0 -1
  158. package/dist/models/GuestSurveyResourceSchema.js +0 -61
  159. package/dist/models/GuestSurveyResourceSchema.js.map +0 -1
  160. package/dist/models/GuestSurveySchema.d.ts +0 -38
  161. package/dist/models/GuestSurveySchema.d.ts.map +0 -1
  162. package/dist/models/GuestSurveySchema.js +0 -50
  163. package/dist/models/GuestSurveySchema.js.map +0 -1
  164. package/dist/models/SubmitGuestSurveyRequestBody.d.ts +0 -41
  165. package/dist/models/SubmitGuestSurveyRequestBody.d.ts.map +0 -1
  166. package/dist/models/SubmitGuestSurveyRequestBody.js +0 -57
  167. package/dist/models/SubmitGuestSurveyRequestBody.js.map +0 -1
  168. package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts +0 -53
  169. package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts.map +0 -1
  170. package/dist/models/SubmitGuestSurveyRequestBodyData.js +0 -65
  171. package/dist/models/SubmitGuestSurveyRequestBodyData.js.map +0 -1
  172. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts +0 -39
  173. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts.map +0 -1
  174. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js +0 -53
  175. package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js.map +0 -1
  176. package/dist/models/SurveyRelationshipsCandidateSchema.d.ts +0 -34
  177. package/dist/models/SurveyRelationshipsCandidateSchema.d.ts.map +0 -1
  178. package/dist/models/SurveyRelationshipsCandidateSchema.js +0 -50
  179. package/dist/models/SurveyRelationshipsCandidateSchema.js.map +0 -1
  180. package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts +0 -39
  181. package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts.map +0 -1
  182. package/dist/models/SurveyRelationshipsCandidateSchemaData.js +0 -51
  183. package/dist/models/SurveyRelationshipsCandidateSchemaData.js.map +0 -1
  184. package/dist/models/SurveyRelationshipsJobSchema.d.ts +0 -34
  185. package/dist/models/SurveyRelationshipsJobSchema.d.ts.map +0 -1
  186. package/dist/models/SurveyRelationshipsJobSchema.js +0 -50
  187. package/dist/models/SurveyRelationshipsJobSchema.js.map +0 -1
  188. package/dist/models/SurveyRelationshipsSchema.d.ts +0 -41
  189. package/dist/models/SurveyRelationshipsSchema.d.ts.map +0 -1
  190. package/dist/models/SurveyRelationshipsSchema.js +0 -53
  191. package/dist/models/SurveyRelationshipsSchema.js.map +0 -1
@@ -46,7 +46,7 @@ var __importStar = (this && this.__importStar) || (function () {
46
46
  };
47
47
  })();
48
48
  Object.defineProperty(exports, "__esModule", { value: true });
49
- exports.ListSurveysFilterStatusEnum = exports.SurveysApi = void 0;
49
+ exports.ListSurveysFilterKindEnum = exports.ListSurveysFilterStatusEnum = exports.DeleteSurveyPermanentDeleteEnum = exports.SurveysApi = void 0;
50
50
  const runtime = __importStar(require("../runtime"));
51
51
  const index_1 = require("../models/index");
52
52
  /**
@@ -54,38 +54,91 @@ const index_1 = require("../models/index");
54
54
  */
55
55
  class SurveysApi extends runtime.BaseAPI {
56
56
  /**
57
- * Creates request options for guestSurveyOptions without sending the request
57
+ * Creates request options for createSurvey without sending the request
58
58
  */
59
- async guestSurveyOptionsRequestOpts(requestParameters) {
59
+ async createSurveyRequestOpts(requestParameters) {
60
+ if (requestParameters['createSurveyRequestBody'] == null) {
61
+ throw new runtime.RequiredError('createSurveyRequestBody', 'Required parameter "createSurveyRequestBody" was null or undefined when calling createSurvey().');
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/surveys`;
74
+ return {
75
+ path: urlPath,
76
+ method: 'POST',
77
+ headers: headerParameters,
78
+ query: queryParameters,
79
+ body: (0, index_1.CreateSurveyRequestBodyToJSON)(requestParameters['createSurveyRequestBody']),
80
+ };
81
+ }
82
+ /**
83
+ * Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
84
+ * Create Survey
85
+ */
86
+ async createSurveyRaw(requestParameters, initOverrides) {
87
+ const requestOptions = await this.createSurveyRequestOpts(requestParameters);
88
+ const response = await this.request(requestOptions, initOverrides);
89
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
90
+ }
91
+ /**
92
+ * Creates a survey definition. Always born a DRAFT with `version` 0 - there is no create-and-publish shortcut; publish it with `PATCH status=active` so a survey can never go live without passing publish validation. `content` holds `{title, questions}`. Questions saved without a `questionId` get a server-assigned one. `kind` defaults to `general` and is IMMUTABLE after create (`cnps` is the candidate NPS kind the rejection workflow resolves by default). Question types: `scale` (optional `subtype: nps` pins 0-10 and enables detractor/passive/promoter classification on submit), `single-choice` / `multiple-choice` (options carry a stable slug `value` plus a locale-map `label`; recipients submit the value, never the label), `open-text` (`maxLength`, default 2000).
93
+ * Create Survey
94
+ */
95
+ async createSurvey(requestParameters, initOverrides) {
96
+ const response = await this.createSurveyRaw(requestParameters, initOverrides);
97
+ return await response.value();
98
+ }
99
+ /**
100
+ * Creates request options for deleteSurvey without sending the request
101
+ */
102
+ async deleteSurveyRequestOpts(requestParameters) {
60
103
  if (requestParameters['surveyId'] == null) {
61
- throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling guestSurveyOptions().');
104
+ throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling deleteSurvey().');
62
105
  }
63
106
  const queryParameters = {};
107
+ if (requestParameters['permanentDelete'] != null) {
108
+ queryParameters['permanentDelete'] = requestParameters['permanentDelete'];
109
+ }
64
110
  const headerParameters = {};
65
- let urlPath = `/v1/guest/surveys/{surveyId}`;
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/surveys/{surveyId}`;
66
119
  urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
67
120
  return {
68
121
  path: urlPath,
69
- method: 'OPTIONS',
122
+ method: 'DELETE',
70
123
  headers: headerParameters,
71
124
  query: queryParameters,
72
125
  };
73
126
  }
74
127
  /**
75
- * Enable CORS by returning correct headers
76
- * Guest Survey Options
128
+ * Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
129
+ * Delete Survey
77
130
  */
78
- async guestSurveyOptionsRaw(requestParameters, initOverrides) {
79
- const requestOptions = await this.guestSurveyOptionsRequestOpts(requestParameters);
131
+ async deleteSurveyRaw(requestParameters, initOverrides) {
132
+ const requestOptions = await this.deleteSurveyRequestOpts(requestParameters);
80
133
  const response = await this.request(requestOptions, initOverrides);
81
134
  return new runtime.VoidApiResponse(response);
82
135
  }
83
136
  /**
84
- * Enable CORS by returning correct headers
85
- * Guest Survey Options
137
+ * Soft archive by default (`status=archived` - existing invitations keep working from their snapshots; new invitations against the survey fail). `?permanentDelete=true` removes the row.
138
+ * Delete Survey
86
139
  */
87
- async guestSurveyOptions(requestParameters, initOverrides) {
88
- await this.guestSurveyOptionsRaw(requestParameters, initOverrides);
140
+ async deleteSurvey(requestParameters, initOverrides) {
141
+ await this.deleteSurveyRaw(requestParameters, initOverrides);
89
142
  }
90
143
  /**
91
144
  * Creates request options for listSurveys without sending the request
@@ -95,8 +148,8 @@ class SurveysApi extends runtime.BaseAPI {
95
148
  if (requestParameters['filterStatus'] != null) {
96
149
  queryParameters['filterStatus'] = requestParameters['filterStatus'];
97
150
  }
98
- if (requestParameters['filterCandidateId'] != null) {
99
- queryParameters['filterCandidateId'] = requestParameters['filterCandidateId'];
151
+ if (requestParameters['filterKind'] != null) {
152
+ queryParameters['filterKind'] = requestParameters['filterKind'];
100
153
  }
101
154
  if (requestParameters['filterCreatedFrom'] != null) {
102
155
  queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
@@ -139,7 +192,7 @@ class SurveysApi extends runtime.BaseAPI {
139
192
  };
140
193
  }
141
194
  /**
142
- * Returns a collection of cNPS survey rows for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the candidate never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered surveys - `filterCandidateId=<id>` - surveys sent to one candidate `score` is 0-10 and absent until the candidate answers. `npsCategory` is computed server-side from `score` on submit and is read-only - it is never accepted from a client. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
195
+ * Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
143
196
  * List Surveys
144
197
  */
145
198
  async listSurveysRaw(requestParameters, initOverrides) {
@@ -148,60 +201,13 @@ class SurveysApi extends runtime.BaseAPI {
148
201
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveysSchemaFromJSON)(jsonValue));
149
202
  }
150
203
  /**
151
- * Returns a collection of cNPS survey rows for the caller\'s tenant. Recruiter surface - requires a session (CUSTOM authorizer); the candidate never reaches this path. Use one filter at a time (one GSI per query): - `filterStatus=completed` - answered surveys - `filterCandidateId=<id>` - surveys sent to one candidate `score` is 0-10 and absent until the candidate answers. `npsCategory` is computed server-side from `score` on submit and is read-only - it is never accepted from a client. The NPS number itself is derived by the reader as `(promoters - detractors) / total * 100`.
204
+ * Returns a collection of survey definitions for the caller\'s tenant. Use one filter at a time (one GSI per query): - `filterStatus=active` - published surveys - `filterKind=cnps` - the candidate NPS kind `version` is 0 until the first publish. `publishedContent`, `version` and `publishedAt` are server-managed - they change only through the publish transition.
152
205
  * List Surveys
153
206
  */
154
207
  async listSurveys(requestParameters = {}, initOverrides) {
155
208
  const response = await this.listSurveysRaw(requestParameters, initOverrides);
156
209
  return await response.value();
157
210
  }
158
- /**
159
- * Creates request options for showGuestSurvey without sending the request
160
- */
161
- async showGuestSurveyRequestOpts(requestParameters) {
162
- if (requestParameters['surveyId'] == null) {
163
- throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling showGuestSurvey().');
164
- }
165
- if (requestParameters['tenantId'] == null) {
166
- throw new runtime.RequiredError('tenantId', 'Required parameter "tenantId" was null or undefined when calling showGuestSurvey().');
167
- }
168
- if (requestParameters['token'] == null) {
169
- throw new runtime.RequiredError('token', 'Required parameter "token" was null or undefined when calling showGuestSurvey().');
170
- }
171
- const queryParameters = {};
172
- if (requestParameters['tenantId'] != null) {
173
- queryParameters['tenantId'] = requestParameters['tenantId'];
174
- }
175
- if (requestParameters['token'] != null) {
176
- queryParameters['token'] = requestParameters['token'];
177
- }
178
- const headerParameters = {};
179
- let urlPath = `/v1/guest/surveys/{surveyId}`;
180
- urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
181
- return {
182
- path: urlPath,
183
- method: 'GET',
184
- headers: headerParameters,
185
- query: queryParameters,
186
- };
187
- }
188
- /**
189
- * Candidate opens the survey link from the rejection email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-survey accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, stage, languageCode, candidateName, jobTitle, companyName, score, comment, expiresAt, respondedAt. No `meta` (it holds the accessToken), no candidateId / jobId, no relationships. A pending survey past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored score so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown survey, wrong token) collapses to the same 404 - existence is never leaked.
190
- * Show Guest Survey
191
- */
192
- async showGuestSurveyRaw(requestParameters, initOverrides) {
193
- const requestOptions = await this.showGuestSurveyRequestOpts(requestParameters);
194
- const response = await this.request(requestOptions, initOverrides);
195
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestSurveySchemaFromJSON)(jsonValue));
196
- }
197
- /**
198
- * Candidate opens the survey link from the rejection email. There is no authorizer on this path: auth is `tenantId` + `token` (the per-survey accessToken minted at create) read from the link query string, never a session. The response is an explicit allowlist - status, stage, languageCode, candidateName, jobTitle, companyName, score, comment, expiresAt, respondedAt. No `meta` (it holds the accessToken), no candidateId / jobId, no relationships. A pending survey past `expiresAt` reads back with status `expired`; an answered one reads back `completed` with the stored score so the FE renders the thank-you state. Every failure mode (unknown tenant, unknown survey, wrong token) collapses to the same 404 - existence is never leaked.
199
- * Show Guest Survey
200
- */
201
- async showGuestSurvey(requestParameters, initOverrides) {
202
- const response = await this.showGuestSurveyRaw(requestParameters, initOverrides);
203
- return await response.value();
204
- }
205
211
  /**
206
212
  * Creates request options for showSurvey without sending the request
207
213
  */
@@ -228,7 +234,7 @@ class SurveysApi extends runtime.BaseAPI {
228
234
  };
229
235
  }
230
236
  /**
231
- * Returns a single cNPS survey row. Recruiter surface - requires a session (CUSTOM authorizer). `score` is 0-10 and absent until the candidate answers. `npsCategory` is server-computed from `score` on submit and is read-only. `comment` is candidate-authored free text - treat it as untrusted content and never feed it to an LLM.
237
+ * Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
232
238
  * Show Survey
233
239
  */
234
240
  async showSurveyRaw(requestParameters, initOverrides) {
@@ -237,53 +243,13 @@ class SurveysApi extends runtime.BaseAPI {
237
243
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
238
244
  }
239
245
  /**
240
- * Returns a single cNPS survey row. Recruiter surface - requires a session (CUSTOM authorizer). `score` is 0-10 and absent until the candidate answers. `npsCategory` is server-computed from `score` on submit and is read-only. `comment` is candidate-authored free text - treat it as untrusted content and never feed it to an LLM.
246
+ * Returns a single survey definition, including the draft `content` and (after the first publish) the frozen `publishedContent` + `version`.
241
247
  * Show Survey
242
248
  */
243
249
  async showSurvey(requestParameters, initOverrides) {
244
250
  const response = await this.showSurveyRaw(requestParameters, initOverrides);
245
251
  return await response.value();
246
252
  }
247
- /**
248
- * Creates request options for submitGuestSurvey without sending the request
249
- */
250
- async submitGuestSurveyRequestOpts(requestParameters) {
251
- if (requestParameters['surveyId'] == null) {
252
- throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling submitGuestSurvey().');
253
- }
254
- if (requestParameters['submitGuestSurveyRequestBody'] == null) {
255
- throw new runtime.RequiredError('submitGuestSurveyRequestBody', 'Required parameter "submitGuestSurveyRequestBody" was null or undefined when calling submitGuestSurvey().');
256
- }
257
- const queryParameters = {};
258
- const headerParameters = {};
259
- headerParameters['Content-Type'] = 'application/json';
260
- let urlPath = `/v1/guest/surveys/{surveyId}`;
261
- urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
262
- return {
263
- path: urlPath,
264
- method: 'PATCH',
265
- headers: headerParameters,
266
- query: queryParameters,
267
- body: (0, index_1.SubmitGuestSurveyRequestBodyToJSON)(requestParameters['submitGuestSurveyRequestBody']),
268
- };
269
- }
270
- /**
271
- * Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown survey. The response carries the same guest allowlist as showGuestSurvey.
272
- * Submit Guest Survey
273
- */
274
- async submitGuestSurveyRaw(requestParameters, initOverrides) {
275
- const requestOptions = await this.submitGuestSurveyRequestOpts(requestParameters);
276
- const response = await this.request(requestOptions, initOverrides);
277
- return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GuestSurveySchemaFromJSON)(jsonValue));
278
- }
279
- /**
280
- * Candidate answers the survey. There is no authorizer on this path: auth is `meta.tenantId` + `meta.accessToken` from the emailed link, never a session. `score` is a required integer 0-10; `comment` is optional free text (max 2000 characters). `npsCategory` is computed server-side from the score and is read-only - a client-supplied value is ignored. Single use: allowed only from status `pending` and only before `expiresAt`. A second submit is a 400-class error, never a silent overwrite. Token mismatch returns the same 404 as an unknown survey. The response carries the same guest allowlist as showGuestSurvey.
281
- * Submit Guest Survey
282
- */
283
- async submitGuestSurvey(requestParameters, initOverrides) {
284
- const response = await this.submitGuestSurveyRaw(requestParameters, initOverrides);
285
- return await response.value();
286
- }
287
253
  /**
288
254
  * Creates request options for surveyOptions without sending the request
289
255
  */
@@ -348,14 +314,75 @@ class SurveysApi extends runtime.BaseAPI {
348
314
  async surveysOptions(initOverrides) {
349
315
  await this.surveysOptionsRaw(initOverrides);
350
316
  }
317
+ /**
318
+ * Creates request options for updateSurvey without sending the request
319
+ */
320
+ async updateSurveyRequestOpts(requestParameters) {
321
+ if (requestParameters['surveyId'] == null) {
322
+ throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling updateSurvey().');
323
+ }
324
+ if (requestParameters['updateSurveyRequestBody'] == null) {
325
+ throw new runtime.RequiredError('updateSurveyRequestBody', 'Required parameter "updateSurveyRequestBody" was null or undefined when calling updateSurvey().');
326
+ }
327
+ const queryParameters = {};
328
+ const headerParameters = {};
329
+ headerParameters['Content-Type'] = 'application/json';
330
+ if (this.configuration && this.configuration.apiKey) {
331
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
332
+ }
333
+ if (this.configuration && this.configuration.accessToken) {
334
+ // oauth required
335
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
336
+ }
337
+ let urlPath = `/v1/surveys/{surveyId}`;
338
+ urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
339
+ return {
340
+ path: urlPath,
341
+ method: 'PATCH',
342
+ headers: headerParameters,
343
+ query: queryParameters,
344
+ body: (0, index_1.UpdateSurveyRequestBodyToJSON)(requestParameters['updateSurveyRequestBody']),
345
+ };
346
+ }
347
+ /**
348
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
349
+ * Update Survey
350
+ */
351
+ async updateSurveyRaw(requestParameters, initOverrides) {
352
+ const requestOptions = await this.updateSurveyRequestOpts(requestParameters);
353
+ const response = await this.request(requestOptions, initOverrides);
354
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
355
+ }
356
+ /**
357
+ * Edits the draft copy and/or runs a lifecycle transition. - `content` / `name` edits land on the DRAFT copy and change nothing live until the next publish. - `status: active` is the PUBLISH door: the effective content is publish-validated (title with en-US, 1-50 well-formed questions, unique questionIds and option values, nps pinned to 0-10), then copied to `publishedContent` with `version += 1`. Re-sending `status: active` on an already-active survey re-publishes the edited draft; reactivating an archived survey publishes too. - `kind` is immutable. Archived surveys accept no edits except the reactivating publish. Allowed transitions: draft->active, draft->archived, active->archived, archived->active.
358
+ * Update Survey
359
+ */
360
+ async updateSurvey(requestParameters, initOverrides) {
361
+ const response = await this.updateSurveyRaw(requestParameters, initOverrides);
362
+ return await response.value();
363
+ }
351
364
  }
352
365
  exports.SurveysApi = SurveysApi;
366
+ /**
367
+ * @export
368
+ */
369
+ exports.DeleteSurveyPermanentDeleteEnum = {
370
+ True: 'true',
371
+ False: 'false'
372
+ };
353
373
  /**
354
374
  * @export
355
375
  */
356
376
  exports.ListSurveysFilterStatusEnum = {
357
- Pending: 'pending',
358
- Completed: 'completed',
359
- Expired: 'expired'
377
+ Draft: 'draft',
378
+ Active: 'active',
379
+ Archived: 'archived'
380
+ };
381
+ /**
382
+ * @export
383
+ */
384
+ exports.ListSurveysFilterKindEnum = {
385
+ Cnps: 'cnps',
386
+ General: 'general'
360
387
  };
361
388
  //# sourceMappingURL=SurveysApi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SurveysApi.js","sourceRoot":"","sources":["../../src/apis/SurveysApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAQtC,2CAWyB;AAsCzB;;GAEG;AACH,MAAa,UAAW,SAAQ,OAAO,CAAC,OAAO;IAE3C;;OAEG;IACH,KAAK,CAAC,6BAA6B,CAAC,iBAA4C;QAC5E,IAAI,iBAAiB,CAAC,UAAU,CAAC,IAAI,IAAI,EAAE,CAAC;YACxC,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,UAAU,EACV,wFAAwF,CAC3F,CAAC;QACN,CAA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IACZ,OAAO,EAAE,SAAS;CACZ,CAAC"}
@@ -203,12 +203,12 @@ export declare class TalentsApi extends runtime.BaseAPI {
203
203
  */
204
204
  updateTalentRequestOpts(requestParameters: UpdateTalentRequest): Promise<runtime.RequestOpts>;
205
205
  /**
206
- * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated.
206
+ * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated. GDPR/RODO consent is written here through consentCurrent / consentFuture - setting consentFuture to false honours a withdrawal and removes the talent from TalentPool search results.
207
207
  * Update Talent
208
208
  */
209
209
  updateTalentRaw(requestParameters: UpdateTalentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TalentSchema>>;
210
210
  /**
211
- * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated.
211
+ * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated. GDPR/RODO consent is written here through consentCurrent / consentFuture - setting consentFuture to false honours a withdrawal and removes the talent from TalentPool search results.
212
212
  * Update Talent
213
213
  */
214
214
  updateTalent(requestParameters: UpdateTalentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TalentSchema>;
@@ -503,7 +503,7 @@ class TalentsApi extends runtime.BaseAPI {
503
503
  };
504
504
  }
505
505
  /**
506
- * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated.
506
+ * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated. GDPR/RODO consent is written here through consentCurrent / consentFuture - setting consentFuture to false honours a withdrawal and removes the talent from TalentPool search results.
507
507
  * Update Talent
508
508
  */
509
509
  async updateTalentRaw(requestParameters, initOverrides) {
@@ -512,7 +512,7 @@ class TalentsApi extends runtime.BaseAPI {
512
512
  return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TalentSchemaFromJSON)(jsonValue));
513
513
  }
514
514
  /**
515
- * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated.
515
+ * This endpoint allows you to update details of a specific talent in your account. You can modify information such as name, and other relevant attributes of the talent. Only the fields provided in the request will be updated. GDPR/RODO consent is written here through consentCurrent / consentFuture - setting consentFuture to false honours a withdrawal and removes the talent from TalentPool search results.
516
516
  * Update Talent
517
517
  */
518
518
  async updateTalent(requestParameters, initOverrides) {
@@ -29,6 +29,7 @@ export * from './NotificationsApi';
29
29
  export * from './OperationsApi';
30
30
  export * from './PersonasApi';
31
31
  export * from './ReportsApi';
32
+ export * from './ResponsesApi';
32
33
  export * from './RolesApi';
33
34
  export * from './RunsApi';
34
35
  export * from './SchedulesApi';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":"AAEA,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AA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cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
@@ -47,6 +47,7 @@ __exportStar(require("./NotificationsApi"), exports);
47
47
  __exportStar(require("./OperationsApi"), exports);
48
48
  __exportStar(require("./PersonasApi"), exports);
49
49
  __exportStar(require("./ReportsApi"), exports);
50
+ __exportStar(require("./ResponsesApi"), exports);
50
51
  __exportStar(require("./RolesApi"), exports);
51
52
  __exportStar(require("./RunsApi"), exports);
52
53
  __exportStar(require("./SchedulesApi"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,2CAAyB;AACzB,kDAAgC;AAChC,+CAA6B;AAC7B,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,gDAA8B;AAC9B,4CAA0B;AAC1B,iDAA+B;AAC/B,6CAA2B;AAC3B,kDAAgC;AAChC,6CAA2B;AAC3B,8CAA4B;AAC5B,gDAA8B;AAC9B,qDAAmC;AACnC,8C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;AAC3B,gDAA8B;AAC9B,iDAA+B"}
@@ -0,0 +1,34 @@
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 type { CreateSurveyRequestBodyData } from './CreateSurveyRequestBodyData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateSurveyRequestBody
17
+ */
18
+ export interface CreateSurveyRequestBody {
19
+ /**
20
+ *
21
+ * @type {CreateSurveyRequestBodyData}
22
+ * @memberof CreateSurveyRequestBody
23
+ */
24
+ data: CreateSurveyRequestBodyData;
25
+ }
26
+ /**
27
+ * Check if a given object implements the CreateSurveyRequestBody interface.
28
+ */
29
+ export declare function instanceOfCreateSurveyRequestBody(value: object): value is CreateSurveyRequestBody;
30
+ export declare function CreateSurveyRequestBodyFromJSON(json: any): CreateSurveyRequestBody;
31
+ export declare function CreateSurveyRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSurveyRequestBody;
32
+ export declare function CreateSurveyRequestBodyToJSON(json: any): CreateSurveyRequestBody;
33
+ export declare function CreateSurveyRequestBodyToJSONTyped(value?: CreateSurveyRequestBody | null, ignoreDiscriminator?: boolean): any;
34
+ //# sourceMappingURL=CreateSurveyRequestBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateSurveyRequestBody.d.ts","sourceRoot":"","sources":["../../src/models/CreateSurveyRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAQjF;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACpC;;;;OAIG;IACH,IAAI,EAAE,2BAA2B,CAAC;CACrC;AAED;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,uBAAuB,CAGjG;AAED,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAElF;AAED,wBAAgB,oCAAoC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,uBAAuB,CAQrH;AAED,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,GAAG,GAAG,uBAAuB,CAEhF;AAED,wBAAgB,kCAAkC,CAAC,KAAK,CAAC,EAAE,uBAAuB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASpI"}
@@ -0,0 +1,52 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreateSurveyRequestBody = instanceOfCreateSurveyRequestBody;
17
+ exports.CreateSurveyRequestBodyFromJSON = CreateSurveyRequestBodyFromJSON;
18
+ exports.CreateSurveyRequestBodyFromJSONTyped = CreateSurveyRequestBodyFromJSONTyped;
19
+ exports.CreateSurveyRequestBodyToJSON = CreateSurveyRequestBodyToJSON;
20
+ exports.CreateSurveyRequestBodyToJSONTyped = CreateSurveyRequestBodyToJSONTyped;
21
+ const CreateSurveyRequestBodyData_1 = require("./CreateSurveyRequestBodyData");
22
+ /**
23
+ * Check if a given object implements the CreateSurveyRequestBody interface.
24
+ */
25
+ function instanceOfCreateSurveyRequestBody(value) {
26
+ if (!('data' in value) || value['data'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function CreateSurveyRequestBodyFromJSON(json) {
31
+ return CreateSurveyRequestBodyFromJSONTyped(json, false);
32
+ }
33
+ function CreateSurveyRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'data': (0, CreateSurveyRequestBodyData_1.CreateSurveyRequestBodyDataFromJSON)(json['data']),
39
+ };
40
+ }
41
+ function CreateSurveyRequestBodyToJSON(json) {
42
+ return CreateSurveyRequestBodyToJSONTyped(json, false);
43
+ }
44
+ function CreateSurveyRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'data': (0, CreateSurveyRequestBodyData_1.CreateSurveyRequestBodyDataToJSON)(value['data']),
50
+ };
51
+ }
52
+ //# sourceMappingURL=CreateSurveyRequestBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateSurveyRequestBody.js","sourceRoot":"","sources":["../../src/models/CreateSurveyRequestBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,8EAGC;AAED,0EAEC;AAED,oFAQC;AAED,sEAEC;AAED,gFASC;AAxDD,+EAKuC;AAgBvC;;GAEG;AACH,SAAgB,iCAAiC,CAAC,KAAa;IAC3D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,+BAA+B,CAAC,IAAS;IACrD,OAAO,oCAAoC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC7D,CAAC;AAED,SAAgB,oCAAoC,CAAC,IAAS,EAAE,mBAA4B;IACxF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,iEAAmC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC5D,CAAC;AACN,CAAC;AAED,SAAgB,6BAA6B,CAAC,IAAS;IACnD,OAAO,kCAAkC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,kCAAkC,CAAC,KAAsC,EAAE,sBAA+B,KAAK;IAC3H,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,+DAAiC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC3D,CAAC;AACN,CAAC"}
@@ -0,0 +1,47 @@
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 type { CreateSurveyRequestBodyDataAttributes } from './CreateSurveyRequestBodyDataAttributes';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateSurveyRequestBodyData
17
+ */
18
+ export interface CreateSurveyRequestBodyData {
19
+ /**
20
+ *
21
+ * @type {CreateSurveyRequestBodyDataTypeEnum}
22
+ * @memberof CreateSurveyRequestBodyData
23
+ */
24
+ type: CreateSurveyRequestBodyDataTypeEnum;
25
+ /**
26
+ *
27
+ * @type {CreateSurveyRequestBodyDataAttributes}
28
+ * @memberof CreateSurveyRequestBodyData
29
+ */
30
+ attributes: CreateSurveyRequestBodyDataAttributes;
31
+ }
32
+ /**
33
+ * @export
34
+ */
35
+ export declare const CreateSurveyRequestBodyDataTypeEnum: {
36
+ readonly Surveys: "surveys";
37
+ };
38
+ export type CreateSurveyRequestBodyDataTypeEnum = typeof CreateSurveyRequestBodyDataTypeEnum[keyof typeof CreateSurveyRequestBodyDataTypeEnum];
39
+ /**
40
+ * Check if a given object implements the CreateSurveyRequestBodyData interface.
41
+ */
42
+ export declare function instanceOfCreateSurveyRequestBodyData(value: object): value is CreateSurveyRequestBodyData;
43
+ export declare function CreateSurveyRequestBodyDataFromJSON(json: any): CreateSurveyRequestBodyData;
44
+ export declare function CreateSurveyRequestBodyDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSurveyRequestBodyData;
45
+ export declare function CreateSurveyRequestBodyDataToJSON(json: any): CreateSurveyRequestBodyData;
46
+ export declare function CreateSurveyRequestBodyDataToJSONTyped(value?: CreateSurveyRequestBodyData | null, ignoreDiscriminator?: boolean): any;
47
+ //# sourceMappingURL=CreateSurveyRequestBodyData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateSurveyRequestBodyData.d.ts","sourceRoot":"","sources":["../../src/models/CreateSurveyRequestBodyData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAQrG;;;;GAIG;AACH,MAAM,WAAW,2BAA2B;IACxC;;;;OAIG;IACH,IAAI,EAAE,mCAAmC,CAAC;IAC1C;;;;OAIG;IACH,UAAU,EAAE,qCAAqC,CAAC;CACrD;AAGD;;GAEG;AACH,eAAO,MAAM,mCAAmC;;CAEtC,CAAC;AACX,MAAM,MAAM,mCAAmC,GAAG,OAAO,mCAAmC,CAAC,MAAM,OAAO,mCAAmC,CAAC,CAAC;AAG/I;;GAEG;AACH,wBAAgB,qCAAqC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,2BAA2B,CAIzG;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAE1F;AAED,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,2BAA2B,CAS7H;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,GAAG,2BAA2B,CAExF;AAED,wBAAgB,sCAAsC,CAAC,KAAK,CAAC,EAAE,2BAA2B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU5I"}