@smartytalent/api-client 0.1.33-dev.3 → 0.1.33-dev.4

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 (85) hide show
  1. package/dist/apis/LabelsApi.d.ts +141 -0
  2. package/dist/apis/LabelsApi.d.ts.map +1 -0
  3. package/dist/apis/LabelsApi.js +342 -0
  4. package/dist/apis/LabelsApi.js.map +1 -0
  5. package/dist/apis/StatesApi.d.ts +157 -0
  6. package/dist/apis/StatesApi.d.ts.map +1 -0
  7. package/dist/apis/StatesApi.js +370 -0
  8. package/dist/apis/StatesApi.js.map +1 -0
  9. package/dist/apis/index.d.ts +2 -0
  10. package/dist/apis/index.d.ts.map +1 -1
  11. package/dist/apis/index.js +2 -0
  12. package/dist/apis/index.js.map +1 -1
  13. package/dist/models/CreateLabelRequestBody.d.ts +34 -0
  14. package/dist/models/CreateLabelRequestBody.d.ts.map +1 -0
  15. package/dist/models/CreateLabelRequestBody.js +52 -0
  16. package/dist/models/CreateLabelRequestBody.js.map +1 -0
  17. package/dist/models/CreateLabelRequestBodyData.d.ts +47 -0
  18. package/dist/models/CreateLabelRequestBodyData.d.ts.map +1 -0
  19. package/dist/models/CreateLabelRequestBodyData.js +63 -0
  20. package/dist/models/CreateLabelRequestBodyData.js.map +1 -0
  21. package/dist/models/CreateStateRequestBody.d.ts +34 -0
  22. package/dist/models/CreateStateRequestBody.d.ts.map +1 -0
  23. package/dist/models/CreateStateRequestBody.js +52 -0
  24. package/dist/models/CreateStateRequestBody.js.map +1 -0
  25. package/dist/models/CreateStateRequestBodyData.d.ts +47 -0
  26. package/dist/models/CreateStateRequestBodyData.d.ts.map +1 -0
  27. package/dist/models/CreateStateRequestBodyData.js +63 -0
  28. package/dist/models/CreateStateRequestBodyData.js.map +1 -0
  29. package/dist/models/EmailAttributesSchema.d.ts +6 -0
  30. package/dist/models/EmailAttributesSchema.d.ts.map +1 -1
  31. package/dist/models/EmailAttributesSchema.js +2 -0
  32. package/dist/models/EmailAttributesSchema.js.map +1 -1
  33. package/dist/models/LabelAttributesSchema.d.ts +92 -0
  34. package/dist/models/LabelAttributesSchema.d.ts.map +1 -0
  35. package/dist/models/LabelAttributesSchema.js +79 -0
  36. package/dist/models/LabelAttributesSchema.js.map +1 -0
  37. package/dist/models/LabelResourceSchema.d.ts +74 -0
  38. package/dist/models/LabelResourceSchema.d.ts.map +1 -0
  39. package/dist/models/LabelResourceSchema.js +74 -0
  40. package/dist/models/LabelResourceSchema.js.map +1 -0
  41. package/dist/models/LabelSchema.d.ts +49 -0
  42. package/dist/models/LabelSchema.d.ts.map +1 -0
  43. package/dist/models/LabelSchema.js +55 -0
  44. package/dist/models/LabelSchema.js.map +1 -0
  45. package/dist/models/LabelsSchema.d.ts +48 -0
  46. package/dist/models/LabelsSchema.d.ts.map +1 -0
  47. package/dist/models/LabelsSchema.js +56 -0
  48. package/dist/models/LabelsSchema.js.map +1 -0
  49. package/dist/models/StateAttributesSchema.d.ts +116 -0
  50. package/dist/models/StateAttributesSchema.d.ts.map +1 -0
  51. package/dist/models/StateAttributesSchema.js +86 -0
  52. package/dist/models/StateAttributesSchema.js.map +1 -0
  53. package/dist/models/StateResourceSchema.d.ts +74 -0
  54. package/dist/models/StateResourceSchema.d.ts.map +1 -0
  55. package/dist/models/StateResourceSchema.js +74 -0
  56. package/dist/models/StateResourceSchema.js.map +1 -0
  57. package/dist/models/StateSchema.d.ts +49 -0
  58. package/dist/models/StateSchema.d.ts.map +1 -0
  59. package/dist/models/StateSchema.js +55 -0
  60. package/dist/models/StateSchema.js.map +1 -0
  61. package/dist/models/StatesSchema.d.ts +48 -0
  62. package/dist/models/StatesSchema.d.ts.map +1 -0
  63. package/dist/models/StatesSchema.js +56 -0
  64. package/dist/models/StatesSchema.js.map +1 -0
  65. package/dist/models/UpdateLabelRequestBody.d.ts +34 -0
  66. package/dist/models/UpdateLabelRequestBody.d.ts.map +1 -0
  67. package/dist/models/UpdateLabelRequestBody.js +52 -0
  68. package/dist/models/UpdateLabelRequestBody.js.map +1 -0
  69. package/dist/models/UpdateLabelRequestBodyData.d.ts +53 -0
  70. package/dist/models/UpdateLabelRequestBodyData.d.ts.map +1 -0
  71. package/dist/models/UpdateLabelRequestBodyData.js +67 -0
  72. package/dist/models/UpdateLabelRequestBodyData.js.map +1 -0
  73. package/dist/models/UpdateStateRequestBody.d.ts +34 -0
  74. package/dist/models/UpdateStateRequestBody.d.ts.map +1 -0
  75. package/dist/models/UpdateStateRequestBody.js +52 -0
  76. package/dist/models/UpdateStateRequestBody.js.map +1 -0
  77. package/dist/models/UpdateStateRequestBodyData.d.ts +53 -0
  78. package/dist/models/UpdateStateRequestBodyData.d.ts.map +1 -0
  79. package/dist/models/UpdateStateRequestBodyData.js +67 -0
  80. package/dist/models/UpdateStateRequestBodyData.js.map +1 -0
  81. package/dist/models/index.d.ts +16 -0
  82. package/dist/models/index.d.ts.map +1 -1
  83. package/dist/models/index.js +16 -0
  84. package/dist/models/index.js.map +1 -1
  85. 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,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,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I,CAAC;IAIrI;;OAEG;IACG,wBAAwB,IAAI,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC;IAgB9D;;;OAGG;IACG,gBAAgB,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAOtH;;;OAGG;IACG,aAAa,CAAC,aAAa,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,GAAG,OAAO,CAAC,IAAI,CAAC;IAI9F;;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,370 @@
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['filterIsStarred'] != null) {
152
+ queryParameters['filterIsStarred'] = requestParameters['filterIsStarred'];
153
+ }
154
+ if (requestParameters['filterIsSeen'] != null) {
155
+ queryParameters['filterIsSeen'] = requestParameters['filterIsSeen'];
156
+ }
157
+ if (requestParameters['filterIsSpam'] != null) {
158
+ queryParameters['filterIsSpam'] = requestParameters['filterIsSpam'];
159
+ }
160
+ if (requestParameters['pageSize'] != null) {
161
+ queryParameters['pageSize'] = requestParameters['pageSize'];
162
+ }
163
+ if (requestParameters['pageAfter'] != null) {
164
+ queryParameters['pageAfter'] = requestParameters['pageAfter'];
165
+ }
166
+ if (requestParameters['pageBefore'] != null) {
167
+ queryParameters['pageBefore'] = requestParameters['pageBefore'];
168
+ }
169
+ const headerParameters = {};
170
+ if (this.configuration && this.configuration.apiKey) {
171
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
172
+ }
173
+ if (this.configuration && this.configuration.accessToken) {
174
+ // oauth required
175
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
176
+ }
177
+ let urlPath = `/v1/states`;
178
+ return {
179
+ path: urlPath,
180
+ method: 'GET',
181
+ headers: headerParameters,
182
+ query: queryParameters,
183
+ };
184
+ }
185
+ /**
186
+ * 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.
187
+ * List States
188
+ */
189
+ async listStatesRaw(requestParameters, initOverrides) {
190
+ const requestOptions = await this.listStatesRequestOpts(requestParameters);
191
+ const response = await this.request(requestOptions, initOverrides);
192
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StatesSchemaFromJSON)(jsonValue));
193
+ }
194
+ /**
195
+ * 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.
196
+ * List States
197
+ */
198
+ async listStates(requestParameters = {}, initOverrides) {
199
+ const response = await this.listStatesRaw(requestParameters, initOverrides);
200
+ return await response.value();
201
+ }
202
+ /**
203
+ * Creates request options for showState without sending the request
204
+ */
205
+ async showStateRequestOpts(requestParameters) {
206
+ if (requestParameters['stateId'] == null) {
207
+ throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling showState().');
208
+ }
209
+ const queryParameters = {};
210
+ const headerParameters = {};
211
+ if (this.configuration && this.configuration.apiKey) {
212
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
213
+ }
214
+ if (this.configuration && this.configuration.accessToken) {
215
+ // oauth required
216
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
217
+ }
218
+ let urlPath = `/v1/states/{stateId}`;
219
+ urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
220
+ return {
221
+ path: urlPath,
222
+ method: 'GET',
223
+ headers: headerParameters,
224
+ query: queryParameters,
225
+ };
226
+ }
227
+ /**
228
+ * Read one state row for the authenticated user.
229
+ * Show State
230
+ */
231
+ async showStateRaw(requestParameters, initOverrides) {
232
+ const requestOptions = await this.showStateRequestOpts(requestParameters);
233
+ const response = await this.request(requestOptions, initOverrides);
234
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StateSchemaFromJSON)(jsonValue));
235
+ }
236
+ /**
237
+ * Read one state row for the authenticated user.
238
+ * Show State
239
+ */
240
+ async showState(requestParameters, initOverrides) {
241
+ const response = await this.showStateRaw(requestParameters, initOverrides);
242
+ return await response.value();
243
+ }
244
+ /**
245
+ * Creates request options for stateOptions without sending the request
246
+ */
247
+ async stateOptionsRequestOpts(requestParameters) {
248
+ if (requestParameters['stateId'] == null) {
249
+ throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling stateOptions().');
250
+ }
251
+ const queryParameters = {};
252
+ const headerParameters = {};
253
+ let urlPath = `/v1/states/{stateId}`;
254
+ urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
255
+ return {
256
+ path: urlPath,
257
+ method: 'OPTIONS',
258
+ headers: headerParameters,
259
+ query: queryParameters,
260
+ };
261
+ }
262
+ /**
263
+ * Enable CORS by returning correct headers
264
+ * State Options
265
+ */
266
+ async stateOptionsRaw(requestParameters, initOverrides) {
267
+ const requestOptions = await this.stateOptionsRequestOpts(requestParameters);
268
+ const response = await this.request(requestOptions, initOverrides);
269
+ return new runtime.VoidApiResponse(response);
270
+ }
271
+ /**
272
+ * Enable CORS by returning correct headers
273
+ * State Options
274
+ */
275
+ async stateOptions(requestParameters, initOverrides) {
276
+ await this.stateOptionsRaw(requestParameters, initOverrides);
277
+ }
278
+ /**
279
+ * Creates request options for statesOptions without sending the request
280
+ */
281
+ async statesOptionsRequestOpts() {
282
+ const queryParameters = {};
283
+ const headerParameters = {};
284
+ let urlPath = `/v1/states`;
285
+ return {
286
+ path: urlPath,
287
+ method: 'OPTIONS',
288
+ headers: headerParameters,
289
+ query: queryParameters,
290
+ };
291
+ }
292
+ /**
293
+ * Enable CORS by returning correct headers
294
+ * States Options
295
+ */
296
+ async statesOptionsRaw(initOverrides) {
297
+ const requestOptions = await this.statesOptionsRequestOpts();
298
+ const response = await this.request(requestOptions, initOverrides);
299
+ return new runtime.VoidApiResponse(response);
300
+ }
301
+ /**
302
+ * Enable CORS by returning correct headers
303
+ * States Options
304
+ */
305
+ async statesOptions(initOverrides) {
306
+ await this.statesOptionsRaw(initOverrides);
307
+ }
308
+ /**
309
+ * Creates request options for updateState without sending the request
310
+ */
311
+ async updateStateRequestOpts(requestParameters) {
312
+ if (requestParameters['stateId'] == null) {
313
+ throw new runtime.RequiredError('stateId', 'Required parameter "stateId" was null or undefined when calling updateState().');
314
+ }
315
+ if (requestParameters['updateStateRequestBody'] == null) {
316
+ throw new runtime.RequiredError('updateStateRequestBody', 'Required parameter "updateStateRequestBody" was null or undefined when calling updateState().');
317
+ }
318
+ const queryParameters = {};
319
+ const headerParameters = {};
320
+ headerParameters['Content-Type'] = 'application/json';
321
+ if (this.configuration && this.configuration.apiKey) {
322
+ headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
323
+ }
324
+ if (this.configuration && this.configuration.accessToken) {
325
+ // oauth required
326
+ headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2Auth", []);
327
+ }
328
+ let urlPath = `/v1/states/{stateId}`;
329
+ urlPath = urlPath.replace(`{${"stateId"}}`, encodeURIComponent(String(requestParameters['stateId'])));
330
+ return {
331
+ path: urlPath,
332
+ method: 'PATCH',
333
+ headers: headerParameters,
334
+ query: queryParameters,
335
+ body: (0, index_1.UpdateStateRequestBodyToJSON)(requestParameters['updateStateRequestBody']),
336
+ };
337
+ }
338
+ /**
339
+ * Partial update of a state row. Omitted flags retain their current value.
340
+ * Update State
341
+ */
342
+ async updateStateRaw(requestParameters, initOverrides) {
343
+ const requestOptions = await this.updateStateRequestOpts(requestParameters);
344
+ const response = await this.request(requestOptions, initOverrides);
345
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.StateSchemaFromJSON)(jsonValue));
346
+ }
347
+ /**
348
+ * Partial update of a state row. Omitted flags retain their current value.
349
+ * Update State
350
+ */
351
+ async updateState(requestParameters, initOverrides) {
352
+ const response = await this.updateStateRaw(requestParameters, initOverrides);
353
+ return await response.value();
354
+ }
355
+ }
356
+ exports.StatesApi = StatesApi;
357
+ /**
358
+ * @export
359
+ */
360
+ exports.ListStatesFilterResourceTypeEnum = {
361
+ Emails: 'emails',
362
+ Candidates: 'candidates',
363
+ Conversations: 'conversations',
364
+ Jobs: 'jobs',
365
+ Talents: 'talents',
366
+ Personas: 'personas',
367
+ Reports: 'reports',
368
+ Tasks: 'tasks'
369
+ };
370
+ //# 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;AAkCzB;;GAEG;AACH,MAAa,SAAU,SAAQ,OAAO,CAAC,OAAO;IAE1C;;OAEG;IACH,KAAK,CAAC,sBAAsB,CAAC,iBAAqC;QAC9D,IAAI,iBAAiB,CAAC,wBAAwB,CAAC,IAAI,IA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;YACb,MAAM,EAAE,OAAO;YACf,OAAO,EAAE,gBAAgB;YACzB,KAAK,EAAE,eAAe;YACtB,IAAI,EAAE,IAAA,oCAA4B,EAAC,iBAAiB,CAAC,wBAAwB,CAAC,CAAC;SAClF,CAAC;IACN,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,cAAc,CAAC,iBAAqC,EAAE,aAA0D;QAClH,MAAM,cAAc,GAAG,MAAM,IAAI,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,CAAC;QAC5E,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,aAAa,CAAC,CAAC;QAEnE,OAAO,IAAI,OAAO,CAAC,eAAe,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAA,2BAAmB,EAAC,SAAS,CAAC,CAAC,CAAC;IAChG,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,CAAC,iBAAqC,EAAE,aAA0D;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;AAjZD,8BAiZC;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"}
@@ -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';
@@ -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,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,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,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"}
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,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,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,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"}
@@ -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);
@@ -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,+CAA6B;AAC7B,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,6CAA2B;AAC3B,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,iDAA+B;AAC/B,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;AAClC,gDAA8B;AAC9B,6CAA2B;AAC3B,gDAA8B;AAC9B,iDAA+B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/apis/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,+CAA6B;AAC7B,2CAAyB;AACzB,+CAA6B;AAC7B,mDAAiC;AACjC,8CAA4B;AAC5B,gDAA8B;AAC9B,6CAA2B;AAC3B,kDAAgC;AAChC,6CAA2B;AAC3B,qDAAmC;AACnC,8CAA4B;AAC5B,iDAA+B;AAC/B,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,6CAA2B;AAC3B,qDAAmC;AACnC,kDAAgC;AAChC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,8CAA4B;AAC5B,mDAAiC;AACjC,+CAA6B;AAC7B,+CAA6B;AAC7B,iDAA+B;AAC/B,oDAAkC;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