@smartytalent/api-client 0.7.12 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/SurveysApi.d.ts +156 -0
- package/dist/apis/SurveysApi.d.ts.map +1 -0
- package/dist/apis/SurveysApi.js +361 -0
- package/dist/apis/SurveysApi.js.map +1 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +1 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/GuestSurveyAttributesSchema.d.ts +98 -0
- package/dist/models/GuestSurveyAttributesSchema.d.ts.map +1 -0
- package/dist/models/GuestSurveyAttributesSchema.js +76 -0
- package/dist/models/GuestSurveyAttributesSchema.js.map +1 -0
- package/dist/models/GuestSurveyMetaSchema.d.ts +45 -0
- package/dist/models/GuestSurveyMetaSchema.d.ts.map +1 -0
- package/dist/models/GuestSurveyMetaSchema.js +55 -0
- package/dist/models/GuestSurveyMetaSchema.js.map +1 -0
- package/dist/models/GuestSurveyResourceSchema.d.ts +53 -0
- package/dist/models/GuestSurveyResourceSchema.d.ts.map +1 -0
- package/dist/models/GuestSurveyResourceSchema.js +61 -0
- package/dist/models/GuestSurveyResourceSchema.js.map +1 -0
- package/dist/models/GuestSurveySchema.d.ts +38 -0
- package/dist/models/GuestSurveySchema.d.ts.map +1 -0
- package/dist/models/GuestSurveySchema.js +50 -0
- package/dist/models/GuestSurveySchema.js.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBody.d.ts +41 -0
- package/dist/models/SubmitGuestSurveyRequestBody.d.ts.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBody.js +57 -0
- package/dist/models/SubmitGuestSurveyRequestBody.js.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts +53 -0
- package/dist/models/SubmitGuestSurveyRequestBodyData.d.ts.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBodyData.js +65 -0
- package/dist/models/SubmitGuestSurveyRequestBodyData.js.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts +39 -0
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.d.ts.map +1 -0
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js +53 -0
- package/dist/models/SubmitGuestSurveyRequestBodyDataAttributes.js.map +1 -0
- package/dist/models/SurveyAttributesSchema.d.ts +154 -0
- package/dist/models/SurveyAttributesSchema.d.ts.map +1 -0
- package/dist/models/SurveyAttributesSchema.js +92 -0
- package/dist/models/SurveyAttributesSchema.js.map +1 -0
- package/dist/models/SurveyRelationshipsCandidateSchema.d.ts +34 -0
- package/dist/models/SurveyRelationshipsCandidateSchema.d.ts.map +1 -0
- package/dist/models/SurveyRelationshipsCandidateSchema.js +50 -0
- package/dist/models/SurveyRelationshipsCandidateSchema.js.map +1 -0
- package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts +39 -0
- package/dist/models/SurveyRelationshipsCandidateSchemaData.d.ts.map +1 -0
- package/dist/models/SurveyRelationshipsCandidateSchemaData.js +51 -0
- package/dist/models/SurveyRelationshipsCandidateSchemaData.js.map +1 -0
- package/dist/models/SurveyRelationshipsJobSchema.d.ts +34 -0
- package/dist/models/SurveyRelationshipsJobSchema.d.ts.map +1 -0
- package/dist/models/SurveyRelationshipsJobSchema.js +50 -0
- package/dist/models/SurveyRelationshipsJobSchema.js.map +1 -0
- package/dist/models/SurveyRelationshipsSchema.d.ts +41 -0
- package/dist/models/SurveyRelationshipsSchema.d.ts.map +1 -0
- package/dist/models/SurveyRelationshipsSchema.js +53 -0
- package/dist/models/SurveyRelationshipsSchema.js.map +1 -0
- package/dist/models/SurveyResourceSchema.d.ts +75 -0
- package/dist/models/SurveyResourceSchema.d.ts.map +1 -0
- package/dist/models/SurveyResourceSchema.js +75 -0
- package/dist/models/SurveyResourceSchema.js.map +1 -0
- package/dist/models/SurveySchema.d.ts +49 -0
- package/dist/models/SurveySchema.d.ts.map +1 -0
- package/dist/models/SurveySchema.js +55 -0
- package/dist/models/SurveySchema.js.map +1 -0
- package/dist/models/SurveysSchema.d.ts +48 -0
- package/dist/models/SurveysSchema.d.ts.map +1 -0
- package/dist/models/SurveysSchema.js +56 -0
- package/dist/models/SurveysSchema.js.map +1 -0
- package/dist/models/index.d.ts +15 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +15 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,156 @@
|
|
|
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 { GuestSurveySchema, SubmitGuestSurveyRequestBody, SurveySchema, SurveysSchema } from '../models/index';
|
|
14
|
+
export interface GuestSurveyOptionsRequest {
|
|
15
|
+
surveyId: string;
|
|
16
|
+
}
|
|
17
|
+
export interface ListSurveysRequest {
|
|
18
|
+
filterStatus?: ListSurveysFilterStatusEnum;
|
|
19
|
+
filterCandidateId?: string;
|
|
20
|
+
filterCreatedFrom?: Date;
|
|
21
|
+
filterCreatedTo?: Date;
|
|
22
|
+
filterModifiedFrom?: Date;
|
|
23
|
+
filterModifiedTo?: Date;
|
|
24
|
+
pageSize?: number;
|
|
25
|
+
pageNumber?: number;
|
|
26
|
+
pageAfter?: string;
|
|
27
|
+
pageBefore?: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ShowGuestSurveyRequest {
|
|
30
|
+
surveyId: string;
|
|
31
|
+
tenantId: string;
|
|
32
|
+
token: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ShowSurveyRequest {
|
|
35
|
+
surveyId: string;
|
|
36
|
+
}
|
|
37
|
+
export interface SubmitGuestSurveyRequest {
|
|
38
|
+
surveyId: string;
|
|
39
|
+
submitGuestSurveyRequestBody: SubmitGuestSurveyRequestBody;
|
|
40
|
+
}
|
|
41
|
+
export interface SurveyOptionsRequest {
|
|
42
|
+
surveyId: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
*/
|
|
47
|
+
export declare class SurveysApi extends runtime.BaseAPI {
|
|
48
|
+
/**
|
|
49
|
+
* Creates request options for guestSurveyOptions without sending the request
|
|
50
|
+
*/
|
|
51
|
+
guestSurveyOptionsRequestOpts(requestParameters: GuestSurveyOptionsRequest): Promise<runtime.RequestOpts>;
|
|
52
|
+
/**
|
|
53
|
+
* Enable CORS by returning correct headers
|
|
54
|
+
* Guest Survey Options
|
|
55
|
+
*/
|
|
56
|
+
guestSurveyOptionsRaw(requestParameters: GuestSurveyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
57
|
+
/**
|
|
58
|
+
* Enable CORS by returning correct headers
|
|
59
|
+
* Guest Survey Options
|
|
60
|
+
*/
|
|
61
|
+
guestSurveyOptions(requestParameters: GuestSurveyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
62
|
+
/**
|
|
63
|
+
* Creates request options for listSurveys without sending the request
|
|
64
|
+
*/
|
|
65
|
+
listSurveysRequestOpts(requestParameters: ListSurveysRequest): Promise<runtime.RequestOpts>;
|
|
66
|
+
/**
|
|
67
|
+
* 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`.
|
|
68
|
+
* List Surveys
|
|
69
|
+
*/
|
|
70
|
+
listSurveysRaw(requestParameters: ListSurveysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveysSchema>>;
|
|
71
|
+
/**
|
|
72
|
+
* 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`.
|
|
73
|
+
* List Surveys
|
|
74
|
+
*/
|
|
75
|
+
listSurveys(requestParameters?: ListSurveysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveysSchema>;
|
|
76
|
+
/**
|
|
77
|
+
* Creates request options for showGuestSurvey without sending the request
|
|
78
|
+
*/
|
|
79
|
+
showGuestSurveyRequestOpts(requestParameters: ShowGuestSurveyRequest): Promise<runtime.RequestOpts>;
|
|
80
|
+
/**
|
|
81
|
+
* 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.
|
|
82
|
+
* Show Guest Survey
|
|
83
|
+
*/
|
|
84
|
+
showGuestSurveyRaw(requestParameters: ShowGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestSurveySchema>>;
|
|
85
|
+
/**
|
|
86
|
+
* 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.
|
|
87
|
+
* Show Guest Survey
|
|
88
|
+
*/
|
|
89
|
+
showGuestSurvey(requestParameters: ShowGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestSurveySchema>;
|
|
90
|
+
/**
|
|
91
|
+
* Creates request options for showSurvey without sending the request
|
|
92
|
+
*/
|
|
93
|
+
showSurveyRequestOpts(requestParameters: ShowSurveyRequest): Promise<runtime.RequestOpts>;
|
|
94
|
+
/**
|
|
95
|
+
* 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.
|
|
96
|
+
* Show Survey
|
|
97
|
+
*/
|
|
98
|
+
showSurveyRaw(requestParameters: ShowSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SurveySchema>>;
|
|
99
|
+
/**
|
|
100
|
+
* 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.
|
|
101
|
+
* Show Survey
|
|
102
|
+
*/
|
|
103
|
+
showSurvey(requestParameters: ShowSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SurveySchema>;
|
|
104
|
+
/**
|
|
105
|
+
* Creates request options for submitGuestSurvey without sending the request
|
|
106
|
+
*/
|
|
107
|
+
submitGuestSurveyRequestOpts(requestParameters: SubmitGuestSurveyRequest): Promise<runtime.RequestOpts>;
|
|
108
|
+
/**
|
|
109
|
+
* 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.
|
|
110
|
+
* Submit Guest Survey
|
|
111
|
+
*/
|
|
112
|
+
submitGuestSurveyRaw(requestParameters: SubmitGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GuestSurveySchema>>;
|
|
113
|
+
/**
|
|
114
|
+
* 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.
|
|
115
|
+
* Submit Guest Survey
|
|
116
|
+
*/
|
|
117
|
+
submitGuestSurvey(requestParameters: SubmitGuestSurveyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GuestSurveySchema>;
|
|
118
|
+
/**
|
|
119
|
+
* Creates request options for surveyOptions without sending the request
|
|
120
|
+
*/
|
|
121
|
+
surveyOptionsRequestOpts(requestParameters: SurveyOptionsRequest): Promise<runtime.RequestOpts>;
|
|
122
|
+
/**
|
|
123
|
+
* Enable CORS by returning correct headers
|
|
124
|
+
* Survey Options
|
|
125
|
+
*/
|
|
126
|
+
surveyOptionsRaw(requestParameters: SurveyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
127
|
+
/**
|
|
128
|
+
* Enable CORS by returning correct headers
|
|
129
|
+
* Survey Options
|
|
130
|
+
*/
|
|
131
|
+
surveyOptions(requestParameters: SurveyOptionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
132
|
+
/**
|
|
133
|
+
* Creates request options for surveysOptions without sending the request
|
|
134
|
+
*/
|
|
135
|
+
surveysOptionsRequestOpts(): Promise<runtime.RequestOpts>;
|
|
136
|
+
/**
|
|
137
|
+
* Enable CORS by returning correct headers
|
|
138
|
+
* Surveys Options
|
|
139
|
+
*/
|
|
140
|
+
surveysOptionsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
141
|
+
/**
|
|
142
|
+
* Enable CORS by returning correct headers
|
|
143
|
+
* Surveys Options
|
|
144
|
+
*/
|
|
145
|
+
surveysOptions(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* @export
|
|
149
|
+
*/
|
|
150
|
+
export declare const ListSurveysFilterStatusEnum: {
|
|
151
|
+
readonly Pending: "pending";
|
|
152
|
+
readonly Completed: "completed";
|
|
153
|
+
readonly Expired: "expired";
|
|
154
|
+
};
|
|
155
|
+
export type ListSurveysFilterStatusEnum = typeof ListSurveysFilterStatusEnum[keyof typeof ListSurveysFilterStatusEnum];
|
|
156
|
+
//# sourceMappingURL=SurveysApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurveysApi.d.ts","sourceRoot":"","sources":["../../src/apis/SurveysApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EAEV,iBAAiB,EACjB,4BAA4B,EAC5B,YAAY,EACZ,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AG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;CAIlG;AAED;;GAEG;AACH,eAAO,MAAM,2BAA2B;;;;CAI9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,OAAO,2BAA2B,CAAC,MAAM,OAAO,2BAA2B,CAAC,CAAC"}
|
|
@@ -0,0 +1,361 @@
|
|
|
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.ListSurveysFilterStatusEnum = exports.SurveysApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class SurveysApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for guestSurveyOptions without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async guestSurveyOptionsRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['surveyId'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling guestSurveyOptions().');
|
|
62
|
+
}
|
|
63
|
+
const queryParameters = {};
|
|
64
|
+
const headerParameters = {};
|
|
65
|
+
let urlPath = `/v1/guest/surveys/{surveyId}`;
|
|
66
|
+
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
67
|
+
return {
|
|
68
|
+
path: urlPath,
|
|
69
|
+
method: 'OPTIONS',
|
|
70
|
+
headers: headerParameters,
|
|
71
|
+
query: queryParameters,
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Enable CORS by returning correct headers
|
|
76
|
+
* Guest Survey Options
|
|
77
|
+
*/
|
|
78
|
+
async guestSurveyOptionsRaw(requestParameters, initOverrides) {
|
|
79
|
+
const requestOptions = await this.guestSurveyOptionsRequestOpts(requestParameters);
|
|
80
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
81
|
+
return new runtime.VoidApiResponse(response);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Enable CORS by returning correct headers
|
|
85
|
+
* Guest Survey Options
|
|
86
|
+
*/
|
|
87
|
+
async guestSurveyOptions(requestParameters, initOverrides) {
|
|
88
|
+
await this.guestSurveyOptionsRaw(requestParameters, initOverrides);
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Creates request options for listSurveys without sending the request
|
|
92
|
+
*/
|
|
93
|
+
async listSurveysRequestOpts(requestParameters) {
|
|
94
|
+
const queryParameters = {};
|
|
95
|
+
if (requestParameters['filterStatus'] != null) {
|
|
96
|
+
queryParameters['filterStatus'] = requestParameters['filterStatus'];
|
|
97
|
+
}
|
|
98
|
+
if (requestParameters['filterCandidateId'] != null) {
|
|
99
|
+
queryParameters['filterCandidateId'] = requestParameters['filterCandidateId'];
|
|
100
|
+
}
|
|
101
|
+
if (requestParameters['filterCreatedFrom'] != null) {
|
|
102
|
+
queryParameters['filterCreatedFrom'] = requestParameters['filterCreatedFrom'].toISOString();
|
|
103
|
+
}
|
|
104
|
+
if (requestParameters['filterCreatedTo'] != null) {
|
|
105
|
+
queryParameters['filterCreatedTo'] = requestParameters['filterCreatedTo'].toISOString();
|
|
106
|
+
}
|
|
107
|
+
if (requestParameters['filterModifiedFrom'] != null) {
|
|
108
|
+
queryParameters['filterModifiedFrom'] = requestParameters['filterModifiedFrom'].toISOString();
|
|
109
|
+
}
|
|
110
|
+
if (requestParameters['filterModifiedTo'] != null) {
|
|
111
|
+
queryParameters['filterModifiedTo'] = requestParameters['filterModifiedTo'].toISOString();
|
|
112
|
+
}
|
|
113
|
+
if (requestParameters['pageSize'] != null) {
|
|
114
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
115
|
+
}
|
|
116
|
+
if (requestParameters['pageNumber'] != null) {
|
|
117
|
+
queryParameters['pageNumber'] = requestParameters['pageNumber'];
|
|
118
|
+
}
|
|
119
|
+
if (requestParameters['pageAfter'] != null) {
|
|
120
|
+
queryParameters['pageAfter'] = requestParameters['pageAfter'];
|
|
121
|
+
}
|
|
122
|
+
if (requestParameters['pageBefore'] != null) {
|
|
123
|
+
queryParameters['pageBefore'] = requestParameters['pageBefore'];
|
|
124
|
+
}
|
|
125
|
+
const headerParameters = {};
|
|
126
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
127
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
128
|
+
}
|
|
129
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
130
|
+
// oauth required
|
|
131
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
132
|
+
}
|
|
133
|
+
let urlPath = `/v1/surveys`;
|
|
134
|
+
return {
|
|
135
|
+
path: urlPath,
|
|
136
|
+
method: 'GET',
|
|
137
|
+
headers: headerParameters,
|
|
138
|
+
query: queryParameters,
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
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`.
|
|
143
|
+
* List Surveys
|
|
144
|
+
*/
|
|
145
|
+
async listSurveysRaw(requestParameters, initOverrides) {
|
|
146
|
+
const requestOptions = await this.listSurveysRequestOpts(requestParameters);
|
|
147
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
148
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveysSchemaFromJSON)(jsonValue));
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
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`.
|
|
152
|
+
* List Surveys
|
|
153
|
+
*/
|
|
154
|
+
async listSurveys(requestParameters = {}, initOverrides) {
|
|
155
|
+
const response = await this.listSurveysRaw(requestParameters, initOverrides);
|
|
156
|
+
return await response.value();
|
|
157
|
+
}
|
|
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
|
+
/**
|
|
206
|
+
* Creates request options for showSurvey without sending the request
|
|
207
|
+
*/
|
|
208
|
+
async showSurveyRequestOpts(requestParameters) {
|
|
209
|
+
if (requestParameters['surveyId'] == null) {
|
|
210
|
+
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling showSurvey().');
|
|
211
|
+
}
|
|
212
|
+
const queryParameters = {};
|
|
213
|
+
const headerParameters = {};
|
|
214
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
215
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
216
|
+
}
|
|
217
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
218
|
+
// oauth required
|
|
219
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
220
|
+
}
|
|
221
|
+
let urlPath = `/v1/surveys/{surveyId}`;
|
|
222
|
+
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
223
|
+
return {
|
|
224
|
+
path: urlPath,
|
|
225
|
+
method: 'GET',
|
|
226
|
+
headers: headerParameters,
|
|
227
|
+
query: queryParameters,
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
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.
|
|
232
|
+
* Show Survey
|
|
233
|
+
*/
|
|
234
|
+
async showSurveyRaw(requestParameters, initOverrides) {
|
|
235
|
+
const requestOptions = await this.showSurveyRequestOpts(requestParameters);
|
|
236
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
237
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SurveySchemaFromJSON)(jsonValue));
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
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.
|
|
241
|
+
* Show Survey
|
|
242
|
+
*/
|
|
243
|
+
async showSurvey(requestParameters, initOverrides) {
|
|
244
|
+
const response = await this.showSurveyRaw(requestParameters, initOverrides);
|
|
245
|
+
return await response.value();
|
|
246
|
+
}
|
|
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
|
+
/**
|
|
288
|
+
* Creates request options for surveyOptions without sending the request
|
|
289
|
+
*/
|
|
290
|
+
async surveyOptionsRequestOpts(requestParameters) {
|
|
291
|
+
if (requestParameters['surveyId'] == null) {
|
|
292
|
+
throw new runtime.RequiredError('surveyId', 'Required parameter "surveyId" was null or undefined when calling surveyOptions().');
|
|
293
|
+
}
|
|
294
|
+
const queryParameters = {};
|
|
295
|
+
const headerParameters = {};
|
|
296
|
+
let urlPath = `/v1/surveys/{surveyId}`;
|
|
297
|
+
urlPath = urlPath.replace(`{${"surveyId"}}`, encodeURIComponent(String(requestParameters['surveyId'])));
|
|
298
|
+
return {
|
|
299
|
+
path: urlPath,
|
|
300
|
+
method: 'OPTIONS',
|
|
301
|
+
headers: headerParameters,
|
|
302
|
+
query: queryParameters,
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* Enable CORS by returning correct headers
|
|
307
|
+
* Survey Options
|
|
308
|
+
*/
|
|
309
|
+
async surveyOptionsRaw(requestParameters, initOverrides) {
|
|
310
|
+
const requestOptions = await this.surveyOptionsRequestOpts(requestParameters);
|
|
311
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
312
|
+
return new runtime.VoidApiResponse(response);
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Enable CORS by returning correct headers
|
|
316
|
+
* Survey Options
|
|
317
|
+
*/
|
|
318
|
+
async surveyOptions(requestParameters, initOverrides) {
|
|
319
|
+
await this.surveyOptionsRaw(requestParameters, initOverrides);
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Creates request options for surveysOptions without sending the request
|
|
323
|
+
*/
|
|
324
|
+
async surveysOptionsRequestOpts() {
|
|
325
|
+
const queryParameters = {};
|
|
326
|
+
const headerParameters = {};
|
|
327
|
+
let urlPath = `/v1/surveys`;
|
|
328
|
+
return {
|
|
329
|
+
path: urlPath,
|
|
330
|
+
method: 'OPTIONS',
|
|
331
|
+
headers: headerParameters,
|
|
332
|
+
query: queryParameters,
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Enable CORS by returning correct headers
|
|
337
|
+
* Surveys Options
|
|
338
|
+
*/
|
|
339
|
+
async surveysOptionsRaw(initOverrides) {
|
|
340
|
+
const requestOptions = await this.surveysOptionsRequestOpts();
|
|
341
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
342
|
+
return new runtime.VoidApiResponse(response);
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* Enable CORS by returning correct headers
|
|
346
|
+
* Surveys Options
|
|
347
|
+
*/
|
|
348
|
+
async surveysOptions(initOverrides) {
|
|
349
|
+
await this.surveysOptionsRaw(initOverrides);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
exports.SurveysApi = SurveysApi;
|
|
353
|
+
/**
|
|
354
|
+
* @export
|
|
355
|
+
*/
|
|
356
|
+
exports.ListSurveysFilterStatusEnum = {
|
|
357
|
+
Pending: 'pending',
|
|
358
|
+
Completed: 'completed',
|
|
359
|
+
Expired: 'expired'
|
|
360
|
+
};
|
|
361
|
+
//# sourceMappingURL=SurveysApi.js.map
|
|
@@ -0,0 +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,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAGjD,IAAI,OAAO,GAAG,8BAA8B,CAAC;QAC7C,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,IAAI,UAAU,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC,C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ACjD,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,cAAc,CAAC,aAA0D;QAC3E,MAAM,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,CAAC;IAChD,CAAC;CAEJ;AAlZD,gCAkZC;AAED;;GAEG;AACU,QAAA,2BAA2B,GAAG;IACvC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export * from './SchedulesApi';
|
|
|
35
35
|
export * from './SignalsApi';
|
|
36
36
|
export * from './StatesApi';
|
|
37
37
|
export * from './SubmissionsApi';
|
|
38
|
+
export * from './SurveysApi';
|
|
38
39
|
export * from './TalentsApi';
|
|
39
40
|
export * from './TenantsApi';
|
|
40
41
|
export * from './TimelinesApi';
|
package/dist/apis/index.d.ts.map
CHANGED
|
@@ -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,cAA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AAc,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,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"}
|
package/dist/apis/index.js
CHANGED
|
@@ -53,6 +53,7 @@ __exportStar(require("./SchedulesApi"), exports);
|
|
|
53
53
|
__exportStar(require("./SignalsApi"), exports);
|
|
54
54
|
__exportStar(require("./StatesApi"), exports);
|
|
55
55
|
__exportStar(require("./SubmissionsApi"), exports);
|
|
56
|
+
__exportStar(require("./SurveysApi"), exports);
|
|
56
57
|
__exportStar(require("./TalentsApi"), exports);
|
|
57
58
|
__exportStar(require("./TenantsApi"), exports);
|
|
58
59
|
__exportStar(require("./TimelinesApi"), exports);
|
package/dist/apis/index.js.map
CHANGED
|
@@ -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;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