@smartytalent/api-client 0.1.33-dev.3 → 0.1.33-dev.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/LabelsApi.d.ts +141 -0
- package/dist/apis/LabelsApi.d.ts.map +1 -0
- package/dist/apis/LabelsApi.js +342 -0
- package/dist/apis/LabelsApi.js.map +1 -0
- package/dist/apis/StatesApi.d.ts +155 -0
- package/dist/apis/StatesApi.d.ts.map +1 -0
- package/dist/apis/StatesApi.js +364 -0
- package/dist/apis/StatesApi.js.map +1 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.d.ts.map +1 -1
- package/dist/apis/index.js +2 -0
- package/dist/apis/index.js.map +1 -1
- package/dist/models/CreateLabelRequestBody.d.ts +34 -0
- package/dist/models/CreateLabelRequestBody.d.ts.map +1 -0
- package/dist/models/CreateLabelRequestBody.js +52 -0
- package/dist/models/CreateLabelRequestBody.js.map +1 -0
- package/dist/models/CreateLabelRequestBodyData.d.ts +47 -0
- package/dist/models/CreateLabelRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateLabelRequestBodyData.js +63 -0
- package/dist/models/CreateLabelRequestBodyData.js.map +1 -0
- package/dist/models/CreateStateRequestBody.d.ts +34 -0
- package/dist/models/CreateStateRequestBody.d.ts.map +1 -0
- package/dist/models/CreateStateRequestBody.js +52 -0
- package/dist/models/CreateStateRequestBody.js.map +1 -0
- package/dist/models/CreateStateRequestBodyData.d.ts +47 -0
- package/dist/models/CreateStateRequestBodyData.d.ts.map +1 -0
- package/dist/models/CreateStateRequestBodyData.js +63 -0
- package/dist/models/CreateStateRequestBodyData.js.map +1 -0
- package/dist/models/EmailAttributesSchema.d.ts +6 -0
- package/dist/models/EmailAttributesSchema.d.ts.map +1 -1
- package/dist/models/EmailAttributesSchema.js +2 -0
- package/dist/models/EmailAttributesSchema.js.map +1 -1
- package/dist/models/FinderAttributesSchema.d.ts +8 -6
- package/dist/models/FinderAttributesSchema.d.ts.map +1 -1
- package/dist/models/FinderAttributesSchema.js +6 -4
- package/dist/models/FinderAttributesSchema.js.map +1 -1
- package/dist/models/FinderAttributesSchemaQuery.d.ts +26 -0
- package/dist/models/FinderAttributesSchemaQuery.d.ts.map +1 -0
- package/dist/models/FinderAttributesSchemaQuery.js +72 -0
- package/dist/models/FinderAttributesSchemaQuery.js.map +1 -0
- package/dist/models/FinderQueryCandidatesSchema.d.ts +219 -0
- package/dist/models/FinderQueryCandidatesSchema.d.ts.map +1 -0
- package/dist/models/FinderQueryCandidatesSchema.js +111 -0
- package/dist/models/FinderQueryCandidatesSchema.js.map +1 -0
- package/dist/models/FinderQueryEmailsSchema.d.ts +140 -0
- package/dist/models/FinderQueryEmailsSchema.d.ts.map +1 -0
- package/dist/models/FinderQueryEmailsSchema.js +102 -0
- package/dist/models/FinderQueryEmailsSchema.js.map +1 -0
- package/dist/models/FinderQueryJobsSchema.d.ts +123 -0
- package/dist/models/FinderQueryJobsSchema.d.ts.map +1 -0
- package/dist/models/FinderQueryJobsSchema.js +79 -0
- package/dist/models/FinderQueryJobsSchema.js.map +1 -0
- package/dist/models/FinderQueryTalentsSchema.d.ts +195 -0
- package/dist/models/FinderQueryTalentsSchema.d.ts.map +1 -0
- package/dist/models/FinderQueryTalentsSchema.js +103 -0
- package/dist/models/FinderQueryTalentsSchema.js.map +1 -0
- package/dist/models/FinderResultHitSchema.d.ts +64 -0
- package/dist/models/FinderResultHitSchema.d.ts.map +1 -0
- package/dist/models/FinderResultHitSchema.js +61 -0
- package/dist/models/FinderResultHitSchema.js.map +1 -0
- package/dist/models/FinderResultsSchema.d.ts +40 -0
- package/dist/models/FinderResultsSchema.d.ts.map +1 -0
- package/dist/models/FinderResultsSchema.js +52 -0
- package/dist/models/FinderResultsSchema.js.map +1 -0
- package/dist/models/LabelAttributesSchema.d.ts +92 -0
- package/dist/models/LabelAttributesSchema.d.ts.map +1 -0
- package/dist/models/LabelAttributesSchema.js +79 -0
- package/dist/models/LabelAttributesSchema.js.map +1 -0
- package/dist/models/LabelResourceSchema.d.ts +74 -0
- package/dist/models/LabelResourceSchema.d.ts.map +1 -0
- package/dist/models/LabelResourceSchema.js +74 -0
- package/dist/models/LabelResourceSchema.js.map +1 -0
- package/dist/models/LabelSchema.d.ts +49 -0
- package/dist/models/LabelSchema.d.ts.map +1 -0
- package/dist/models/LabelSchema.js +55 -0
- package/dist/models/LabelSchema.js.map +1 -0
- package/dist/models/LabelsSchema.d.ts +48 -0
- package/dist/models/LabelsSchema.d.ts.map +1 -0
- package/dist/models/LabelsSchema.js +56 -0
- package/dist/models/LabelsSchema.js.map +1 -0
- package/dist/models/StateAttributesSchema.d.ts +116 -0
- package/dist/models/StateAttributesSchema.d.ts.map +1 -0
- package/dist/models/StateAttributesSchema.js +86 -0
- package/dist/models/StateAttributesSchema.js.map +1 -0
- package/dist/models/StateResourceSchema.d.ts +74 -0
- package/dist/models/StateResourceSchema.d.ts.map +1 -0
- package/dist/models/StateResourceSchema.js +74 -0
- package/dist/models/StateResourceSchema.js.map +1 -0
- package/dist/models/StateSchema.d.ts +49 -0
- package/dist/models/StateSchema.d.ts.map +1 -0
- package/dist/models/StateSchema.js +55 -0
- package/dist/models/StateSchema.js.map +1 -0
- package/dist/models/StatesSchema.d.ts +48 -0
- package/dist/models/StatesSchema.d.ts.map +1 -0
- package/dist/models/StatesSchema.js +56 -0
- package/dist/models/StatesSchema.js.map +1 -0
- package/dist/models/UpdateLabelRequestBody.d.ts +34 -0
- package/dist/models/UpdateLabelRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateLabelRequestBody.js +52 -0
- package/dist/models/UpdateLabelRequestBody.js.map +1 -0
- package/dist/models/UpdateLabelRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateLabelRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateLabelRequestBodyData.js +67 -0
- package/dist/models/UpdateLabelRequestBodyData.js.map +1 -0
- package/dist/models/UpdateStateRequestBody.d.ts +34 -0
- package/dist/models/UpdateStateRequestBody.d.ts.map +1 -0
- package/dist/models/UpdateStateRequestBody.js +52 -0
- package/dist/models/UpdateStateRequestBody.js.map +1 -0
- package/dist/models/UpdateStateRequestBodyData.d.ts +53 -0
- package/dist/models/UpdateStateRequestBodyData.d.ts.map +1 -0
- package/dist/models/UpdateStateRequestBodyData.js +67 -0
- package/dist/models/UpdateStateRequestBodyData.js.map +1 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.d.ts.map +1 -1
- package/dist/models/index.js +23 -0
- package/dist/models/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatesApi.d.ts","sourceRoot":"","sources":["../../src/apis/StatesApi.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,OAAO,MAAM,YAAY,CAAC;AACtC,OAAO,KAAK,EACV,sBAAsB,EAEtB,WAAW,EACX,YAAY,EACZ,sBAAsB,EACvB,MAAM,iBAAiB,CAAC;AAczB,MAAM,WAAW,kBAAkB;IAC/B,sBAAsB,EAAE,sBAAsB,CAAC;CAClD;AAED,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAC9B,kBAAkB,CAAC,EAAE,gCAAgC,CAAC;IACtD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,gBAAgB;IAC7B,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAChC,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,sBAAsB,EAAE,sBAAsB,CAAC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9F;;OAEG;IACG,sBAAsB,CAAC,iBAAiB,EAAE,kBAAkB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IA2CjG;;;OAGG;IACG,cAAc,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IAOlK;;;OAGG;IACG,WAAW,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,WAAW,CAAC;CAK7I;AAED;;GAEG;AACH,eAAO,MAAM,gCAAgC;;;;;;;;;CASnC,CAAC;AACX,MAAM,MAAM,gCAAgC,GAAG,OAAO,gCAAgC,CAAC,MAAM,OAAO,gCAAgC,CAAC,CAAC"}
|
|
@@ -0,0 +1,364 @@
|
|
|
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.ListStatesFilterResourceTypeEnum = exports.StatesApi = void 0;
|
|
50
|
+
const runtime = __importStar(require("../runtime"));
|
|
51
|
+
const index_1 = require("../models/index");
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
*/
|
|
55
|
+
class StatesApi extends runtime.BaseAPI {
|
|
56
|
+
/**
|
|
57
|
+
* Creates request options for createState without sending the request
|
|
58
|
+
*/
|
|
59
|
+
async createStateRequestOpts(requestParameters) {
|
|
60
|
+
if (requestParameters['createStateRequestBody'] == null) {
|
|
61
|
+
throw new runtime.RequiredError('createStateRequestBody', 'Required parameter "createStateRequestBody" was null or undefined when calling createState().');
|
|
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/states`;
|
|
74
|
+
return {
|
|
75
|
+
path: urlPath,
|
|
76
|
+
method: 'POST',
|
|
77
|
+
headers: headerParameters,
|
|
78
|
+
query: queryParameters,
|
|
79
|
+
body: (0, index_1.CreateStateRequestBodyToJSON)(requestParameters['createStateRequestBody']),
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Idempotent upsert on `(user, resourceType, resourceId)`. Frontend posts the full desired state on every toggle. Sparse GSIs flip atomically.
|
|
84
|
+
* Upsert State
|
|
85
|
+
*/
|
|
86
|
+
async createStateRaw(requestParameters, initOverrides) {
|
|
87
|
+
const requestOptions = await this.createStateRequestOpts(requestParameters);
|
|
88
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StateSchemaFromJSON)(jsonValue));
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Idempotent upsert on `(user, resourceType, resourceId)`. Frontend posts the full desired state on every toggle. Sparse GSIs flip atomically.
|
|
93
|
+
* Upsert State
|
|
94
|
+
*/
|
|
95
|
+
async createState(requestParameters, initOverrides) {
|
|
96
|
+
const response = await this.createStateRaw(requestParameters, initOverrides);
|
|
97
|
+
return await response.value();
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Creates request options for deleteState without sending the request
|
|
101
|
+
*/
|
|
102
|
+
async deleteStateRequestOpts(requestParameters) {
|
|
103
|
+
if (requestParameters['stateId'] == null) {
|
|
104
|
+
throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling deleteState().');
|
|
105
|
+
}
|
|
106
|
+
const queryParameters = {};
|
|
107
|
+
const headerParameters = {};
|
|
108
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
109
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
110
|
+
}
|
|
111
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
112
|
+
// oauth required
|
|
113
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
114
|
+
}
|
|
115
|
+
let urlPath = `/v1/states/{stateId}`;
|
|
116
|
+
urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
|
|
117
|
+
return {
|
|
118
|
+
path: urlPath,
|
|
119
|
+
method: 'DELETE',
|
|
120
|
+
headers: headerParameters,
|
|
121
|
+
query: queryParameters,
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Hard-delete the state row. Equivalent to resetting the user\'s perception of the resource back to never-seen.
|
|
126
|
+
* Delete State
|
|
127
|
+
*/
|
|
128
|
+
async deleteStateRaw(requestParameters, initOverrides) {
|
|
129
|
+
const requestOptions = await this.deleteStateRequestOpts(requestParameters);
|
|
130
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
131
|
+
return new runtime.VoidApiResponse(response);
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Hard-delete the state row. Equivalent to resetting the user\'s perception of the resource back to never-seen.
|
|
135
|
+
* Delete State
|
|
136
|
+
*/
|
|
137
|
+
async deleteState(requestParameters, initOverrides) {
|
|
138
|
+
await this.deleteStateRaw(requestParameters, initOverrides);
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* Creates request options for listStates without sending the request
|
|
142
|
+
*/
|
|
143
|
+
async listStatesRequestOpts(requestParameters) {
|
|
144
|
+
const queryParameters = {};
|
|
145
|
+
if (requestParameters['filterResourceType'] != null) {
|
|
146
|
+
queryParameters['filterResourceType'] = requestParameters['filterResourceType'];
|
|
147
|
+
}
|
|
148
|
+
if (requestParameters['filterResourceIds'] != null) {
|
|
149
|
+
queryParameters['filterResourceIds'] = requestParameters['filterResourceIds'];
|
|
150
|
+
}
|
|
151
|
+
if (requestParameters['folder'] != null) {
|
|
152
|
+
queryParameters['folder'] = requestParameters['folder'];
|
|
153
|
+
}
|
|
154
|
+
if (requestParameters['pageSize'] != null) {
|
|
155
|
+
queryParameters['pageSize'] = requestParameters['pageSize'];
|
|
156
|
+
}
|
|
157
|
+
if (requestParameters['pageAfter'] != null) {
|
|
158
|
+
queryParameters['pageAfter'] = requestParameters['pageAfter'];
|
|
159
|
+
}
|
|
160
|
+
if (requestParameters['pageBefore'] != null) {
|
|
161
|
+
queryParameters['pageBefore'] = requestParameters['pageBefore'];
|
|
162
|
+
}
|
|
163
|
+
const headerParameters = {};
|
|
164
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
165
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
166
|
+
}
|
|
167
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
168
|
+
// oauth required
|
|
169
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
170
|
+
}
|
|
171
|
+
let urlPath = `/v1/states`;
|
|
172
|
+
return {
|
|
173
|
+
path: urlPath,
|
|
174
|
+
method: 'GET',
|
|
175
|
+
headers: headerParameters,
|
|
176
|
+
query: queryParameters,
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Returns the authenticated user\'s per-resource states (seen/starred/flags). Filters: - `filterResourceType=emails` limits to one resource type. - `filterResourceIds=a,b,c` batch-fetches specific resources (requires `filterResourceType`). - `filterIsStarred=true` reads from StarredIndex, oldest-starred-last. - `filterIsSeen=false` reads from UnseenIndex, oldest-unread-first.
|
|
181
|
+
* List States
|
|
182
|
+
*/
|
|
183
|
+
async listStatesRaw(requestParameters, initOverrides) {
|
|
184
|
+
const requestOptions = await this.listStatesRequestOpts(requestParameters);
|
|
185
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
186
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StatesSchemaFromJSON)(jsonValue));
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Returns the authenticated user\'s per-resource states (seen/starred/flags). Filters: - `filterResourceType=emails` limits to one resource type. - `filterResourceIds=a,b,c` batch-fetches specific resources (requires `filterResourceType`). - `filterIsStarred=true` reads from StarredIndex, oldest-starred-last. - `filterIsSeen=false` reads from UnseenIndex, oldest-unread-first.
|
|
190
|
+
* List States
|
|
191
|
+
*/
|
|
192
|
+
async listStates(requestParameters = {}, initOverrides) {
|
|
193
|
+
const response = await this.listStatesRaw(requestParameters, initOverrides);
|
|
194
|
+
return await response.value();
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Creates request options for showState without sending the request
|
|
198
|
+
*/
|
|
199
|
+
async showStateRequestOpts(requestParameters) {
|
|
200
|
+
if (requestParameters['stateId'] == null) {
|
|
201
|
+
throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling showState().');
|
|
202
|
+
}
|
|
203
|
+
const queryParameters = {};
|
|
204
|
+
const headerParameters = {};
|
|
205
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
206
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
207
|
+
}
|
|
208
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
209
|
+
// oauth required
|
|
210
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
211
|
+
}
|
|
212
|
+
let urlPath = `/v1/states/{stateId}`;
|
|
213
|
+
urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
|
|
214
|
+
return {
|
|
215
|
+
path: urlPath,
|
|
216
|
+
method: 'GET',
|
|
217
|
+
headers: headerParameters,
|
|
218
|
+
query: queryParameters,
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Read one state row for the authenticated user.
|
|
223
|
+
* Show State
|
|
224
|
+
*/
|
|
225
|
+
async showStateRaw(requestParameters, initOverrides) {
|
|
226
|
+
const requestOptions = await this.showStateRequestOpts(requestParameters);
|
|
227
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
228
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StateSchemaFromJSON)(jsonValue));
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Read one state row for the authenticated user.
|
|
232
|
+
* Show State
|
|
233
|
+
*/
|
|
234
|
+
async showState(requestParameters, initOverrides) {
|
|
235
|
+
const response = await this.showStateRaw(requestParameters, initOverrides);
|
|
236
|
+
return await response.value();
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Creates request options for stateOptions without sending the request
|
|
240
|
+
*/
|
|
241
|
+
async stateOptionsRequestOpts(requestParameters) {
|
|
242
|
+
if (requestParameters['stateId'] == null) {
|
|
243
|
+
throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling stateOptions().');
|
|
244
|
+
}
|
|
245
|
+
const queryParameters = {};
|
|
246
|
+
const headerParameters = {};
|
|
247
|
+
let urlPath = `/v1/states/{stateId}`;
|
|
248
|
+
urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
|
|
249
|
+
return {
|
|
250
|
+
path: urlPath,
|
|
251
|
+
method: 'OPTIONS',
|
|
252
|
+
headers: headerParameters,
|
|
253
|
+
query: queryParameters,
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Enable CORS by returning correct headers
|
|
258
|
+
* State Options
|
|
259
|
+
*/
|
|
260
|
+
async stateOptionsRaw(requestParameters, initOverrides) {
|
|
261
|
+
const requestOptions = await this.stateOptionsRequestOpts(requestParameters);
|
|
262
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
263
|
+
return new runtime.VoidApiResponse(response);
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Enable CORS by returning correct headers
|
|
267
|
+
* State Options
|
|
268
|
+
*/
|
|
269
|
+
async stateOptions(requestParameters, initOverrides) {
|
|
270
|
+
await this.stateOptionsRaw(requestParameters, initOverrides);
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Creates request options for statesOptions without sending the request
|
|
274
|
+
*/
|
|
275
|
+
async statesOptionsRequestOpts() {
|
|
276
|
+
const queryParameters = {};
|
|
277
|
+
const headerParameters = {};
|
|
278
|
+
let urlPath = `/v1/states`;
|
|
279
|
+
return {
|
|
280
|
+
path: urlPath,
|
|
281
|
+
method: 'OPTIONS',
|
|
282
|
+
headers: headerParameters,
|
|
283
|
+
query: queryParameters,
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Enable CORS by returning correct headers
|
|
288
|
+
* States Options
|
|
289
|
+
*/
|
|
290
|
+
async statesOptionsRaw(initOverrides) {
|
|
291
|
+
const requestOptions = await this.statesOptionsRequestOpts();
|
|
292
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
293
|
+
return new runtime.VoidApiResponse(response);
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Enable CORS by returning correct headers
|
|
297
|
+
* States Options
|
|
298
|
+
*/
|
|
299
|
+
async statesOptions(initOverrides) {
|
|
300
|
+
await this.statesOptionsRaw(initOverrides);
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Creates request options for updateState without sending the request
|
|
304
|
+
*/
|
|
305
|
+
async updateStateRequestOpts(requestParameters) {
|
|
306
|
+
if (requestParameters['stateId'] == null) {
|
|
307
|
+
throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling updateState().');
|
|
308
|
+
}
|
|
309
|
+
if (requestParameters['updateStateRequestBody'] == null) {
|
|
310
|
+
throw new runtime.RequiredError('updateStateRequestBody', 'Required parameter "updateStateRequestBody" was null or undefined when calling updateState().');
|
|
311
|
+
}
|
|
312
|
+
const queryParameters = {};
|
|
313
|
+
const headerParameters = {};
|
|
314
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
315
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
316
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
317
|
+
}
|
|
318
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
319
|
+
// oauth required
|
|
320
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
|
|
321
|
+
}
|
|
322
|
+
let urlPath = `/v1/states/{stateId}`;
|
|
323
|
+
urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
|
|
324
|
+
return {
|
|
325
|
+
path: urlPath,
|
|
326
|
+
method: 'PATCH',
|
|
327
|
+
headers: headerParameters,
|
|
328
|
+
query: queryParameters,
|
|
329
|
+
body: (0, index_1.UpdateStateRequestBodyToJSON)(requestParameters['updateStateRequestBody']),
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* Partial update of a state row. Omitted flags retain their current value.
|
|
334
|
+
* Update State
|
|
335
|
+
*/
|
|
336
|
+
async updateStateRaw(requestParameters, initOverrides) {
|
|
337
|
+
const requestOptions = await this.updateStateRequestOpts(requestParameters);
|
|
338
|
+
const response = await this.request(requestOptions, initOverrides);
|
|
339
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StateSchemaFromJSON)(jsonValue));
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Partial update of a state row. Omitted flags retain their current value.
|
|
343
|
+
* Update State
|
|
344
|
+
*/
|
|
345
|
+
async updateState(requestParameters, initOverrides) {
|
|
346
|
+
const response = await this.updateStateRaw(requestParameters, initOverrides);
|
|
347
|
+
return await response.value();
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
exports.StatesApi = StatesApi;
|
|
351
|
+
/**
|
|
352
|
+
* @export
|
|
353
|
+
*/
|
|
354
|
+
exports.ListStatesFilterResourceTypeEnum = {
|
|
355
|
+
Emails: 'emails',
|
|
356
|
+
Candidates: 'candidates',
|
|
357
|
+
Conversations: 'conversations',
|
|
358
|
+
Jobs: 'jobs',
|
|
359
|
+
Talents: 'talents',
|
|
360
|
+
Personas: 'personas',
|
|
361
|
+
Reports: 'reports',
|
|
362
|
+
Tasks: 'tasks'
|
|
363
|
+
};
|
|
364
|
+
//# sourceMappingURL=StatesApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StatesApi.js","sourceRoot":"","sources":["../../src/apis/StatesApi.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGH,oDAAsC;AAQtC,2CAWyB;AAgCzB;;GAEG;AACH,MAAa,SAAU,SAAQ,OAAO,CAAC,OAAO;IAE1C;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAAC,iBAAqC;QAC9D,IAAI,iBAAiB,CAAC,wBAAwB,CAAC,IAAI,IAAI,EAAE,CAAC;YACtD,MAAM,IAAI,OAAO,CAAC,aAAa,CAC3B,wBAAwB,EACxB,+FAA+F,CAClG,CAAC;QACN,CAAC;QAED,MAAM,eAAe,GAAQ,EAAE,CAAC;QAEhC,MAAM,gBAAgB,GAAwB,EAAE,CAAC;QAEjD,gBAAgB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;QAEtD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,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0D;QAC/G,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAC;QAC7E,OAAO,MAAM,QAAQ,CAAC,KAAK,EAAE,CAAC;IAClC,CAAC;CAEJ;AAzYD,8BAyYC;AAED;;GAEG;AACU,QAAA,gCAAgC,GAAG;IAC5C,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACR,CAAC"}
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './FilesApi';
|
|
|
14
14
|
export * from './FindersApi';
|
|
15
15
|
export * from './FormsApi';
|
|
16
16
|
export * from './JobsApi';
|
|
17
|
+
export * from './LabelsApi';
|
|
17
18
|
export * from './LinksApi';
|
|
18
19
|
export * from './MeetingsApi';
|
|
19
20
|
export * from './NotesApi';
|
|
@@ -24,6 +25,7 @@ export * from './ReportsApi';
|
|
|
24
25
|
export * from './RolesApi';
|
|
25
26
|
export * from './RunsApi';
|
|
26
27
|
export * from './SchedulesApi';
|
|
28
|
+
export * from './StatesApi';
|
|
27
29
|
export * from './SubmissionsApi';
|
|
28
30
|
export * from './TalentsApi';
|
|
29
31
|
export * from './TenantsApi';
|
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,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC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C3B,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,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
package/dist/apis/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __exportStar(require("./FilesApi"), exports);
|
|
|
32
32
|
__exportStar(require("./FindersApi"), exports);
|
|
33
33
|
__exportStar(require("./FormsApi"), exports);
|
|
34
34
|
__exportStar(require("./JobsApi"), exports);
|
|
35
|
+
__exportStar(require("./LabelsApi"), exports);
|
|
35
36
|
__exportStar(require("./LinksApi"), exports);
|
|
36
37
|
__exportStar(require("./MeetingsApi"), exports);
|
|
37
38
|
__exportStar(require("./NotesApi"), exports);
|
|
@@ -42,6 +43,7 @@ __exportStar(require("./ReportsApi"), exports);
|
|
|
42
43
|
__exportStar(require("./RolesApi"), exports);
|
|
43
44
|
__exportStar(require("./RunsApi"), exports);
|
|
44
45
|
__exportStar(require("./SchedulesApi"), exports);
|
|
46
|
+
__exportStar(require("./StatesApi"), exports);
|
|
45
47
|
__exportStar(require("./SubmissionsApi"), exports);
|
|
46
48
|
__exportStar(require("./TalentsApi"), exports);
|
|
47
49
|
__exportStar(require("./TenantsApi"), exports);
|
package/dist/apis/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/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;AAClC,gDAA8B;AAC9B,6CAA2B;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 { CreateLabelRequestBodyData } from './CreateLabelRequestBodyData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLabelRequestBody
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLabelRequestBody {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CreateLabelRequestBodyData}
|
|
22
|
+
* @memberof CreateLabelRequestBody
|
|
23
|
+
*/
|
|
24
|
+
data: CreateLabelRequestBodyData;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CreateLabelRequestBody interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCreateLabelRequestBody(value: object): value is CreateLabelRequestBody;
|
|
30
|
+
export declare function CreateLabelRequestBodyFromJSON(json: any): CreateLabelRequestBody;
|
|
31
|
+
export declare function CreateLabelRequestBodyFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLabelRequestBody;
|
|
32
|
+
export declare function CreateLabelRequestBodyToJSON(json: any): CreateLabelRequestBody;
|
|
33
|
+
export declare function CreateLabelRequestBodyToJSONTyped(value?: CreateLabelRequestBody | null, ignoreDiscriminator?: boolean): any;
|
|
34
|
+
//# sourceMappingURL=CreateLabelRequestBody.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLabelRequestBody.d.ts","sourceRoot":"","sources":["../../src/models/CreateLabelRequestBody.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAQ/E;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,EAAE,0BAA0B,CAAC;CACpC;AAED;;GAEG;AACH,wBAAgB,gCAAgC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,sBAAsB,CAG/F;AAED,wBAAgB,8BAA8B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAEhF;AAED,wBAAgB,mCAAmC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,sBAAsB,CAQnH;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,sBAAsB,CAE9E;AAED,wBAAgB,iCAAiC,CAAC,KAAK,CAAC,EAAE,sBAAsB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CASlI"}
|
|
@@ -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.instanceOfCreateLabelRequestBody = instanceOfCreateLabelRequestBody;
|
|
17
|
+
exports.CreateLabelRequestBodyFromJSON = CreateLabelRequestBodyFromJSON;
|
|
18
|
+
exports.CreateLabelRequestBodyFromJSONTyped = CreateLabelRequestBodyFromJSONTyped;
|
|
19
|
+
exports.CreateLabelRequestBodyToJSON = CreateLabelRequestBodyToJSON;
|
|
20
|
+
exports.CreateLabelRequestBodyToJSONTyped = CreateLabelRequestBodyToJSONTyped;
|
|
21
|
+
const CreateLabelRequestBodyData_1 = require("./CreateLabelRequestBodyData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateLabelRequestBody interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateLabelRequestBody(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateLabelRequestBodyFromJSON(json) {
|
|
31
|
+
return CreateLabelRequestBodyFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateLabelRequestBodyFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (0, CreateLabelRequestBodyData_1.CreateLabelRequestBodyDataFromJSON)(json['data']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CreateLabelRequestBodyToJSON(json) {
|
|
42
|
+
return CreateLabelRequestBodyToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CreateLabelRequestBodyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (0, CreateLabelRequestBodyData_1.CreateLabelRequestBodyDataToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=CreateLabelRequestBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLabelRequestBody.js","sourceRoot":"","sources":["../../src/models/CreateLabelRequestBody.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;AA4BH,4EAGC;AAED,wEAEC;AAED,kFAQC;AAED,oEAEC;AAED,8EASC;AAxDD,6EAKsC;AAgBtC;;GAEG;AACH,SAAgB,gCAAgC,CAAC,KAAa;IAC1D,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,8BAA8B,CAAC,IAAS;IACpD,OAAO,mCAAmC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC5D,CAAC;AAED,SAAgB,mCAAmC,CAAC,IAAS,EAAE,mBAA4B;IACvF,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,MAAM,EAAE,IAAA,+DAAkC,EAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC3D,CAAC;AACN,CAAC;AAED,SAAgB,4BAA4B,CAAC,IAAS;IAClD,OAAO,iCAAiC,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAC1D,CAAC;AAED,SAAgB,iCAAiC,CAAC,KAAqC,EAAE,sBAA+B,KAAK;IACzH,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,MAAM,EAAE,IAAA,6DAAgC,EAAC,KAAK,CAAC,MAAM,CAAC,CAAC;KAC1D,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 { LabelAttributesSchema } from './LabelAttributesSchema';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLabelRequestBodyData
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLabelRequestBodyData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {CreateLabelRequestBodyDataTypeEnum}
|
|
22
|
+
* @memberof CreateLabelRequestBodyData
|
|
23
|
+
*/
|
|
24
|
+
type: CreateLabelRequestBodyDataTypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LabelAttributesSchema}
|
|
28
|
+
* @memberof CreateLabelRequestBodyData
|
|
29
|
+
*/
|
|
30
|
+
attributes: LabelAttributesSchema;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const CreateLabelRequestBodyDataTypeEnum: {
|
|
36
|
+
readonly Labels: "labels";
|
|
37
|
+
};
|
|
38
|
+
export type CreateLabelRequestBodyDataTypeEnum = typeof CreateLabelRequestBodyDataTypeEnum[keyof typeof CreateLabelRequestBodyDataTypeEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the CreateLabelRequestBodyData interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfCreateLabelRequestBodyData(value: object): value is CreateLabelRequestBodyData;
|
|
43
|
+
export declare function CreateLabelRequestBodyDataFromJSON(json: any): CreateLabelRequestBodyData;
|
|
44
|
+
export declare function CreateLabelRequestBodyDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLabelRequestBodyData;
|
|
45
|
+
export declare function CreateLabelRequestBodyDataToJSON(json: any): CreateLabelRequestBodyData;
|
|
46
|
+
export declare function CreateLabelRequestBodyDataToJSONTyped(value?: CreateLabelRequestBodyData | null, ignoreDiscriminator?: boolean): any;
|
|
47
|
+
//# sourceMappingURL=CreateLabelRequestBodyData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLabelRequestBodyData.d.ts","sourceRoot":"","sources":["../../src/models/CreateLabelRequestBodyData.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAQrE;;;;GAIG;AACH,MAAM,WAAW,0BAA0B;IACvC;;;;OAIG;IACH,IAAI,EAAE,kCAAkC,CAAC;IACzC;;;;OAIG;IACH,UAAU,EAAE,qBAAqB,CAAC;CACrC;AAGD;;GAEG;AACH,eAAO,MAAM,kCAAkC;;CAErC,CAAC;AACX,MAAM,MAAM,kCAAkC,GAAG,OAAO,kCAAkC,CAAC,MAAM,OAAO,kCAAkC,CAAC,CAAC;AAG5I;;GAEG;AACH,wBAAgB,oCAAoC,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,0BAA0B,CAIvG;AAED,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAExF;AAED,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,0BAA0B,CAS3H;AAED,wBAAgB,gCAAgC,CAAC,IAAI,EAAE,GAAG,GAAG,0BAA0B,CAEtF;AAED,wBAAgB,qCAAqC,CAAC,KAAK,CAAC,EAAE,0BAA0B,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU1I"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.CreateLabelRequestBodyDataTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfCreateLabelRequestBodyData = instanceOfCreateLabelRequestBodyData;
|
|
18
|
+
exports.CreateLabelRequestBodyDataFromJSON = CreateLabelRequestBodyDataFromJSON;
|
|
19
|
+
exports.CreateLabelRequestBodyDataFromJSONTyped = CreateLabelRequestBodyDataFromJSONTyped;
|
|
20
|
+
exports.CreateLabelRequestBodyDataToJSON = CreateLabelRequestBodyDataToJSON;
|
|
21
|
+
exports.CreateLabelRequestBodyDataToJSONTyped = CreateLabelRequestBodyDataToJSONTyped;
|
|
22
|
+
const LabelAttributesSchema_1 = require("./LabelAttributesSchema");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.CreateLabelRequestBodyDataTypeEnum = {
|
|
27
|
+
Labels: 'labels'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the CreateLabelRequestBodyData interface.
|
|
31
|
+
*/
|
|
32
|
+
function instanceOfCreateLabelRequestBodyData(value) {
|
|
33
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('attributes' in value) || value['attributes'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function CreateLabelRequestBodyDataFromJSON(json) {
|
|
40
|
+
return CreateLabelRequestBodyDataFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function CreateLabelRequestBodyDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': json['type'],
|
|
48
|
+
'attributes': (0, LabelAttributesSchema_1.LabelAttributesSchemaFromJSON)(json['attributes']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function CreateLabelRequestBodyDataToJSON(json) {
|
|
52
|
+
return CreateLabelRequestBodyDataToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function CreateLabelRequestBodyDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'type': value['type'],
|
|
60
|
+
'attributes': (0, LabelAttributesSchema_1.LabelAttributesSchemaToJSON)(value['attributes']),
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=CreateLabelRequestBodyData.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateLabelRequestBodyData.js","sourceRoot":"","sources":["../../src/models/CreateLabelRequestBodyData.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AA4CH,oFAIC;AAED,gFAEC;AAED,0FASC;AAED,4EAEC;AAED,sFAUC;AA3ED,mEAKiC;AAuBjC;;GAEG;AACU,QAAA,kCAAkC,GAAG;IAC9C,MAAM,EAAE,QAAQ;CACV,CAAC;AAIX;;GAEG;AACH,SAAgB,oCAAoC,CAAC,KAAa;IAC9D,IAAI,CAAC,CAAC,MAAM,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACpE,IAAI,CAAC,CAAC,YAAY,IAAI,KAAK,CAAC,IAA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