@vendasta/forms_microservice 0.25.0 → 0.27.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/esm2020/lib/_internal/enums/api.enum.mjs +17 -1
- package/esm2020/lib/_internal/enums/index.mjs +3 -2
- package/esm2020/lib/_internal/enums/openapiv2.enum.mjs +55 -0
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/openapiv2.interface.mjs +8 -0
- package/esm2020/lib/_internal/objects/annotations.mjs +50 -0
- package/esm2020/lib/_internal/objects/api.mjs +65 -1
- package/esm2020/lib/_internal/objects/index.mjs +4 -2
- package/esm2020/lib/_internal/objects/openapiv2.mjs +1191 -0
- package/fesm2015/vendasta-forms_microservice.mjs +1456 -81
- package/fesm2015/vendasta-forms_microservice.mjs.map +1 -1
- package/fesm2020/vendasta-forms_microservice.mjs +1456 -81
- package/fesm2020/vendasta-forms_microservice.mjs.map +1 -1
- package/lib/_internal/enums/api.enum.d.ts +15 -1
- package/lib/_internal/enums/index.d.ts +2 -1
- package/lib/_internal/enums/openapiv2.enum.d.ts +42 -0
- package/lib/_internal/interfaces/annotations.interface.d.ts +7 -0
- package/lib/_internal/interfaces/api.interface.d.ts +10 -0
- package/lib/_internal/interfaces/index.d.ts +3 -1
- package/lib/_internal/interfaces/openapiv2.interface.d.ts +246 -0
- package/lib/_internal/objects/annotations.d.ts +15 -0
- package/lib/_internal/objects/api.d.ts +16 -0
- package/lib/_internal/objects/index.d.ts +3 -1
- package/lib/_internal/objects/openapiv2.d.ts +353 -0
- package/package.json +1 -1
|
@@ -81,6 +81,67 @@ var FilterType;
|
|
|
81
81
|
//
|
|
82
82
|
// Enums.
|
|
83
83
|
// *********************************
|
|
84
|
+
var SecuritySchemeFlow;
|
|
85
|
+
(function (SecuritySchemeFlow) {
|
|
86
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_INVALID"] = 0] = "FLOW_INVALID";
|
|
87
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_IMPLICIT"] = 1] = "FLOW_IMPLICIT";
|
|
88
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_PASSWORD"] = 2] = "FLOW_PASSWORD";
|
|
89
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_APPLICATION"] = 3] = "FLOW_APPLICATION";
|
|
90
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_ACCESS_CODE"] = 4] = "FLOW_ACCESS_CODE";
|
|
91
|
+
})(SecuritySchemeFlow || (SecuritySchemeFlow = {}));
|
|
92
|
+
var SecuritySchemeIn;
|
|
93
|
+
(function (SecuritySchemeIn) {
|
|
94
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_INVALID"] = 0] = "IN_INVALID";
|
|
95
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_QUERY"] = 1] = "IN_QUERY";
|
|
96
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_HEADER"] = 2] = "IN_HEADER";
|
|
97
|
+
})(SecuritySchemeIn || (SecuritySchemeIn = {}));
|
|
98
|
+
var JSONSchemaJSONSchemaSimpleTypes;
|
|
99
|
+
(function (JSONSchemaJSONSchemaSimpleTypes) {
|
|
100
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
|
101
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["ARRAY"] = 1] = "ARRAY";
|
|
102
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["BOOLEAN"] = 2] = "BOOLEAN";
|
|
103
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["INTEGER"] = 3] = "INTEGER";
|
|
104
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NULL"] = 4] = "NULL";
|
|
105
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NUMBER"] = 5] = "NUMBER";
|
|
106
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["OBJECT"] = 6] = "OBJECT";
|
|
107
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["STRING"] = 7] = "STRING";
|
|
108
|
+
})(JSONSchemaJSONSchemaSimpleTypes || (JSONSchemaJSONSchemaSimpleTypes = {}));
|
|
109
|
+
var Scheme;
|
|
110
|
+
(function (Scheme) {
|
|
111
|
+
Scheme[Scheme["UNKNOWN"] = 0] = "UNKNOWN";
|
|
112
|
+
Scheme[Scheme["HTTP"] = 1] = "HTTP";
|
|
113
|
+
Scheme[Scheme["HTTPS"] = 2] = "HTTPS";
|
|
114
|
+
Scheme[Scheme["WS"] = 3] = "WS";
|
|
115
|
+
Scheme[Scheme["WSS"] = 4] = "WSS";
|
|
116
|
+
})(Scheme || (Scheme = {}));
|
|
117
|
+
var HeaderParameterType;
|
|
118
|
+
(function (HeaderParameterType) {
|
|
119
|
+
HeaderParameterType[HeaderParameterType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
120
|
+
HeaderParameterType[HeaderParameterType["STRING"] = 1] = "STRING";
|
|
121
|
+
HeaderParameterType[HeaderParameterType["NUMBER"] = 2] = "NUMBER";
|
|
122
|
+
HeaderParameterType[HeaderParameterType["INTEGER"] = 3] = "INTEGER";
|
|
123
|
+
HeaderParameterType[HeaderParameterType["BOOLEAN"] = 4] = "BOOLEAN";
|
|
124
|
+
})(HeaderParameterType || (HeaderParameterType = {}));
|
|
125
|
+
var SecuritySchemeType;
|
|
126
|
+
(function (SecuritySchemeType) {
|
|
127
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_INVALID"] = 0] = "TYPE_INVALID";
|
|
128
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_BASIC"] = 1] = "TYPE_BASIC";
|
|
129
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_API_KEY"] = 2] = "TYPE_API_KEY";
|
|
130
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_OAUTH2"] = 3] = "TYPE_OAUTH2";
|
|
131
|
+
})(SecuritySchemeType || (SecuritySchemeType = {}));
|
|
132
|
+
|
|
133
|
+
// *********************************
|
|
134
|
+
// Code generated by sdkgen
|
|
135
|
+
// DO NOT EDIT!.
|
|
136
|
+
//
|
|
137
|
+
// Enums.
|
|
138
|
+
// *********************************
|
|
139
|
+
var ConsentType;
|
|
140
|
+
(function (ConsentType) {
|
|
141
|
+
ConsentType[ConsentType["CONSENT_TYPE_INVALID"] = 0] = "CONSENT_TYPE_INVALID";
|
|
142
|
+
ConsentType[ConsentType["CONSENT_TYPE_EMAIL"] = 1] = "CONSENT_TYPE_EMAIL";
|
|
143
|
+
ConsentType[ConsentType["CONSENT_TYPE_SMS"] = 2] = "CONSENT_TYPE_SMS";
|
|
144
|
+
})(ConsentType || (ConsentType = {}));
|
|
84
145
|
var FieldType;
|
|
85
146
|
(function (FieldType) {
|
|
86
147
|
FieldType[FieldType["FIELD_TYPE_INVALID"] = 0] = "FIELD_TYPE_INVALID";
|
|
@@ -99,6 +160,8 @@ var FieldType;
|
|
|
99
160
|
FieldType[FieldType["FIELD_TYPE_TAG"] = 13] = "FIELD_TYPE_TAG";
|
|
100
161
|
FieldType[FieldType["FIELD_TYPE_SECTION"] = 14] = "FIELD_TYPE_SECTION";
|
|
101
162
|
FieldType[FieldType["FIELD_TYPE_FILE"] = 15] = "FIELD_TYPE_FILE";
|
|
163
|
+
FieldType[FieldType["FIELD_TYPE_PRIVACY_CONSENT"] = 16] = "FIELD_TYPE_PRIVACY_CONSENT";
|
|
164
|
+
FieldType[FieldType["FIELD_TYPE_PROMO_SECTION"] = 17] = "FIELD_TYPE_PROMO_SECTION";
|
|
102
165
|
})(FieldType || (FieldType = {}));
|
|
103
166
|
var FormCreationStatus;
|
|
104
167
|
(function (FormCreationStatus) {
|
|
@@ -119,6 +182,14 @@ var FormSubmissionProcessResultErrorType;
|
|
|
119
182
|
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_ALREADY_EXISTS"] = 2] = "PROCESS_RESULT_ERROR_TYPE_ALREADY_EXISTS";
|
|
120
183
|
FormSubmissionProcessResultErrorType[FormSubmissionProcessResultErrorType["PROCESS_RESULT_ERROR_TYPE_INVALID_ARGUMENT"] = 3] = "PROCESS_RESULT_ERROR_TYPE_INVALID_ARGUMENT";
|
|
121
184
|
})(FormSubmissionProcessResultErrorType || (FormSubmissionProcessResultErrorType = {}));
|
|
185
|
+
var ListFormsResponseProcessResultStatus;
|
|
186
|
+
(function (ListFormsResponseProcessResultStatus) {
|
|
187
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_UNSPECIFIED"] = 0] = "PROCESS_RESULT_STATUS_UNSPECIFIED";
|
|
188
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_IN_PROGRESS"] = 1] = "PROCESS_RESULT_STATUS_IN_PROGRESS";
|
|
189
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED"] = 2] = "PROCESS_RESULT_STATUS_COMPLETED";
|
|
190
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS"] = 3] = "PROCESS_RESULT_STATUS_COMPLETED_WITH_WARNINGS";
|
|
191
|
+
ListFormsResponseProcessResultStatus[ListFormsResponseProcessResultStatus["PROCESS_RESULT_STATUS_FAILED"] = 4] = "PROCESS_RESULT_STATUS_FAILED";
|
|
192
|
+
})(ListFormsResponseProcessResultStatus || (ListFormsResponseProcessResultStatus = {}));
|
|
122
193
|
var FormSubmissionProcessResultStatus;
|
|
123
194
|
(function (FormSubmissionProcessResultStatus) {
|
|
124
195
|
FormSubmissionProcessResultStatus[FormSubmissionProcessResultStatus["PROCESS_RESULT_STATUS_UNSPECIFIED"] = 0] = "PROCESS_RESULT_STATUS_UNSPECIFIED";
|
|
@@ -150,18 +221,1058 @@ var SectionAction;
|
|
|
150
221
|
// Enums Index.
|
|
151
222
|
// *********************************
|
|
152
223
|
|
|
224
|
+
function enumStringToValue$4(enumRef, value) {
|
|
225
|
+
if (typeof value === 'number') {
|
|
226
|
+
return value;
|
|
227
|
+
}
|
|
228
|
+
return enumRef[value];
|
|
229
|
+
}
|
|
230
|
+
class PagedRequestOptions {
|
|
231
|
+
static fromProto(proto) {
|
|
232
|
+
let m = new PagedRequestOptions();
|
|
233
|
+
m = Object.assign(m, proto);
|
|
234
|
+
if (proto.pageSize) {
|
|
235
|
+
m.pageSize = parseInt(proto.pageSize, 10);
|
|
236
|
+
}
|
|
237
|
+
return m;
|
|
238
|
+
}
|
|
239
|
+
constructor(kwargs) {
|
|
240
|
+
if (!kwargs) {
|
|
241
|
+
return;
|
|
242
|
+
}
|
|
243
|
+
Object.assign(this, kwargs);
|
|
244
|
+
}
|
|
245
|
+
toApiJson() {
|
|
246
|
+
const toReturn = {};
|
|
247
|
+
if (typeof this.cursor !== 'undefined') {
|
|
248
|
+
toReturn['cursor'] = this.cursor;
|
|
249
|
+
}
|
|
250
|
+
if (typeof this.pageSize !== 'undefined') {
|
|
251
|
+
toReturn['pageSize'] = this.pageSize;
|
|
252
|
+
}
|
|
253
|
+
return toReturn;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
class PagedResponseMetadata {
|
|
257
|
+
static fromProto(proto) {
|
|
258
|
+
let m = new PagedResponseMetadata();
|
|
259
|
+
m = Object.assign(m, proto);
|
|
260
|
+
if (proto.totalResults) {
|
|
261
|
+
m.totalResults = parseInt(proto.totalResults, 10);
|
|
262
|
+
}
|
|
263
|
+
return m;
|
|
264
|
+
}
|
|
265
|
+
constructor(kwargs) {
|
|
266
|
+
if (!kwargs) {
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
Object.assign(this, kwargs);
|
|
270
|
+
}
|
|
271
|
+
toApiJson() {
|
|
272
|
+
const toReturn = {};
|
|
273
|
+
if (typeof this.nextCursor !== 'undefined') {
|
|
274
|
+
toReturn['nextCursor'] = this.nextCursor;
|
|
275
|
+
}
|
|
276
|
+
if (typeof this.hasMore !== 'undefined') {
|
|
277
|
+
toReturn['hasMore'] = this.hasMore;
|
|
278
|
+
}
|
|
279
|
+
if (typeof this.totalResults !== 'undefined') {
|
|
280
|
+
toReturn['totalResults'] = this.totalResults;
|
|
281
|
+
}
|
|
282
|
+
return toReturn;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
function enumStringToValue$3(enumRef, value) {
|
|
287
|
+
if (typeof value === 'number') {
|
|
288
|
+
return value;
|
|
289
|
+
}
|
|
290
|
+
return enumRef[value];
|
|
291
|
+
}
|
|
292
|
+
class Filter {
|
|
293
|
+
static fromProto(proto) {
|
|
294
|
+
let m = new Filter();
|
|
295
|
+
m = Object.assign(m, proto);
|
|
296
|
+
if (proto.operator) {
|
|
297
|
+
m.operator = enumStringToValue$3(FilterOperator, proto.operator);
|
|
298
|
+
}
|
|
299
|
+
if (proto.values) {
|
|
300
|
+
m.values = proto.values.map(FilterValue.fromProto);
|
|
301
|
+
}
|
|
302
|
+
return m;
|
|
303
|
+
}
|
|
304
|
+
constructor(kwargs) {
|
|
305
|
+
if (!kwargs) {
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
Object.assign(this, kwargs);
|
|
309
|
+
}
|
|
310
|
+
toApiJson() {
|
|
311
|
+
const toReturn = {};
|
|
312
|
+
if (typeof this.fieldId !== 'undefined') {
|
|
313
|
+
toReturn['fieldId'] = this.fieldId;
|
|
314
|
+
}
|
|
315
|
+
if (typeof this.operator !== 'undefined') {
|
|
316
|
+
toReturn['operator'] = this.operator;
|
|
317
|
+
}
|
|
318
|
+
if (typeof this.values !== 'undefined' && this.values !== null) {
|
|
319
|
+
toReturn['values'] = 'toApiJson' in this.values ? this.values.toApiJson() : this.values;
|
|
320
|
+
}
|
|
321
|
+
if (typeof this.floatTolerance !== 'undefined') {
|
|
322
|
+
toReturn['floatTolerance'] = this.floatTolerance;
|
|
323
|
+
}
|
|
324
|
+
return toReturn;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
class FilterGroup {
|
|
328
|
+
static fromProto(proto) {
|
|
329
|
+
let m = new FilterGroup();
|
|
330
|
+
m = Object.assign(m, proto);
|
|
331
|
+
if (proto.operator) {
|
|
332
|
+
m.operator = enumStringToValue$3(FilterGroupOperator, proto.operator);
|
|
333
|
+
}
|
|
334
|
+
if (proto.filters) {
|
|
335
|
+
m.filters = proto.filters.map(Filter.fromProto);
|
|
336
|
+
}
|
|
337
|
+
return m;
|
|
338
|
+
}
|
|
339
|
+
constructor(kwargs) {
|
|
340
|
+
if (!kwargs) {
|
|
341
|
+
return;
|
|
342
|
+
}
|
|
343
|
+
Object.assign(this, kwargs);
|
|
344
|
+
}
|
|
345
|
+
toApiJson() {
|
|
346
|
+
const toReturn = {};
|
|
347
|
+
if (typeof this.operator !== 'undefined') {
|
|
348
|
+
toReturn['operator'] = this.operator;
|
|
349
|
+
}
|
|
350
|
+
if (typeof this.filters !== 'undefined' && this.filters !== null) {
|
|
351
|
+
toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;
|
|
352
|
+
}
|
|
353
|
+
return toReturn;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
class Phone {
|
|
357
|
+
static fromProto(proto) {
|
|
358
|
+
let m = new Phone();
|
|
359
|
+
m = Object.assign(m, proto);
|
|
360
|
+
return m;
|
|
361
|
+
}
|
|
362
|
+
constructor(kwargs) {
|
|
363
|
+
if (!kwargs) {
|
|
364
|
+
return;
|
|
365
|
+
}
|
|
366
|
+
Object.assign(this, kwargs);
|
|
367
|
+
}
|
|
368
|
+
toApiJson() {
|
|
369
|
+
const toReturn = {};
|
|
370
|
+
if (typeof this.isoCountryCode !== 'undefined') {
|
|
371
|
+
toReturn['isoCountryCode'] = this.isoCountryCode;
|
|
372
|
+
}
|
|
373
|
+
if (typeof this.nationalNumber !== 'undefined') {
|
|
374
|
+
toReturn['nationalNumber'] = this.nationalNumber;
|
|
375
|
+
}
|
|
376
|
+
if (typeof this.extension !== 'undefined') {
|
|
377
|
+
toReturn['extension'] = this.extension;
|
|
378
|
+
}
|
|
379
|
+
return toReturn;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
class FilterValue {
|
|
383
|
+
static fromProto(proto) {
|
|
384
|
+
let m = new FilterValue();
|
|
385
|
+
m = Object.assign(m, proto);
|
|
386
|
+
if (proto.integer) {
|
|
387
|
+
m.integer = parseInt(proto.integer, 10);
|
|
388
|
+
}
|
|
389
|
+
if (proto.date) {
|
|
390
|
+
m.date = new Date(proto.date);
|
|
391
|
+
}
|
|
392
|
+
if (proto.dateDefault) {
|
|
393
|
+
m.dateDefault = enumStringToValue$3(DateDefault, proto.dateDefault);
|
|
394
|
+
}
|
|
395
|
+
if (proto.phone) {
|
|
396
|
+
m.phone = Phone.fromProto(proto.phone);
|
|
397
|
+
}
|
|
398
|
+
return m;
|
|
399
|
+
}
|
|
400
|
+
constructor(kwargs) {
|
|
401
|
+
if (!kwargs) {
|
|
402
|
+
return;
|
|
403
|
+
}
|
|
404
|
+
Object.assign(this, kwargs);
|
|
405
|
+
}
|
|
406
|
+
toApiJson() {
|
|
407
|
+
const toReturn = {};
|
|
408
|
+
if (typeof this.boolean !== 'undefined') {
|
|
409
|
+
toReturn['boolean'] = this.boolean;
|
|
410
|
+
}
|
|
411
|
+
if (typeof this.integer !== 'undefined') {
|
|
412
|
+
toReturn['integer'] = this.integer;
|
|
413
|
+
}
|
|
414
|
+
if (typeof this.float !== 'undefined') {
|
|
415
|
+
toReturn['float'] = this.float;
|
|
416
|
+
}
|
|
417
|
+
if (typeof this.string !== 'undefined') {
|
|
418
|
+
toReturn['string'] = this.string;
|
|
419
|
+
}
|
|
420
|
+
if (typeof this.date !== 'undefined' && this.date !== null) {
|
|
421
|
+
toReturn['date'] = 'toApiJson' in this.date ? this.date.toApiJson() : this.date;
|
|
422
|
+
}
|
|
423
|
+
if (typeof this.dateDefault !== 'undefined') {
|
|
424
|
+
toReturn['dateDefault'] = this.dateDefault;
|
|
425
|
+
}
|
|
426
|
+
if (typeof this.phone !== 'undefined' && this.phone !== null) {
|
|
427
|
+
toReturn['phone'] = 'toApiJson' in this.phone ? this.phone.toApiJson() : this.phone;
|
|
428
|
+
}
|
|
429
|
+
return toReturn;
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
|
|
153
433
|
function enumStringToValue$2(enumRef, value) {
|
|
154
434
|
if (typeof value === 'number') {
|
|
155
435
|
return value;
|
|
156
436
|
}
|
|
157
|
-
return enumRef[value];
|
|
437
|
+
return enumRef[value];
|
|
438
|
+
}
|
|
439
|
+
class Access {
|
|
440
|
+
static fromProto(proto) {
|
|
441
|
+
let m = new Access();
|
|
442
|
+
m = Object.assign(m, proto);
|
|
443
|
+
return m;
|
|
444
|
+
}
|
|
445
|
+
constructor(kwargs) {
|
|
446
|
+
if (!kwargs) {
|
|
447
|
+
return;
|
|
448
|
+
}
|
|
449
|
+
Object.assign(this, kwargs);
|
|
450
|
+
}
|
|
451
|
+
toApiJson() {
|
|
452
|
+
const toReturn = {};
|
|
453
|
+
if (typeof this.scope !== 'undefined') {
|
|
454
|
+
toReturn['scope'] = this.scope;
|
|
455
|
+
}
|
|
456
|
+
if (typeof this.public !== 'undefined') {
|
|
457
|
+
toReturn['public'] = this.public;
|
|
458
|
+
}
|
|
459
|
+
return toReturn;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
class MCPOptions {
|
|
463
|
+
static fromProto(proto) {
|
|
464
|
+
let m = new MCPOptions();
|
|
465
|
+
m = Object.assign(m, proto);
|
|
466
|
+
return m;
|
|
467
|
+
}
|
|
468
|
+
constructor(kwargs) {
|
|
469
|
+
if (!kwargs) {
|
|
470
|
+
return;
|
|
471
|
+
}
|
|
472
|
+
Object.assign(this, kwargs);
|
|
473
|
+
}
|
|
474
|
+
toApiJson() {
|
|
475
|
+
const toReturn = {};
|
|
476
|
+
if (typeof this.serverId !== 'undefined') {
|
|
477
|
+
toReturn['serverId'] = this.serverId;
|
|
478
|
+
}
|
|
479
|
+
return toReturn;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
function enumStringToValue$1(enumRef, value) {
|
|
484
|
+
if (typeof value === 'number') {
|
|
485
|
+
return value;
|
|
486
|
+
}
|
|
487
|
+
return enumRef[value];
|
|
488
|
+
}
|
|
489
|
+
class Contact {
|
|
490
|
+
static fromProto(proto) {
|
|
491
|
+
let m = new Contact();
|
|
492
|
+
m = Object.assign(m, proto);
|
|
493
|
+
return m;
|
|
494
|
+
}
|
|
495
|
+
constructor(kwargs) {
|
|
496
|
+
if (!kwargs) {
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
Object.assign(this, kwargs);
|
|
500
|
+
}
|
|
501
|
+
toApiJson() {
|
|
502
|
+
const toReturn = {};
|
|
503
|
+
if (typeof this.name !== 'undefined') {
|
|
504
|
+
toReturn['name'] = this.name;
|
|
505
|
+
}
|
|
506
|
+
if (typeof this.url !== 'undefined') {
|
|
507
|
+
toReturn['url'] = this.url;
|
|
508
|
+
}
|
|
509
|
+
if (typeof this.email !== 'undefined') {
|
|
510
|
+
toReturn['email'] = this.email;
|
|
511
|
+
}
|
|
512
|
+
return toReturn;
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
class EnumSchema {
|
|
516
|
+
static fromProto(proto) {
|
|
517
|
+
let m = new EnumSchema();
|
|
518
|
+
m = Object.assign(m, proto);
|
|
519
|
+
if (proto.externalDocs) {
|
|
520
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
521
|
+
}
|
|
522
|
+
if (proto.extensions) {
|
|
523
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
524
|
+
}
|
|
525
|
+
return m;
|
|
526
|
+
}
|
|
527
|
+
constructor(kwargs) {
|
|
528
|
+
if (!kwargs) {
|
|
529
|
+
return;
|
|
530
|
+
}
|
|
531
|
+
Object.assign(this, kwargs);
|
|
532
|
+
}
|
|
533
|
+
toApiJson() {
|
|
534
|
+
const toReturn = {};
|
|
535
|
+
if (typeof this.description !== 'undefined') {
|
|
536
|
+
toReturn['description'] = this.description;
|
|
537
|
+
}
|
|
538
|
+
if (typeof this.default !== 'undefined') {
|
|
539
|
+
toReturn['default'] = this.default;
|
|
540
|
+
}
|
|
541
|
+
if (typeof this.title !== 'undefined') {
|
|
542
|
+
toReturn['title'] = this.title;
|
|
543
|
+
}
|
|
544
|
+
if (typeof this.required !== 'undefined') {
|
|
545
|
+
toReturn['required'] = this.required;
|
|
546
|
+
}
|
|
547
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
548
|
+
toReturn['readOnly'] = this.readOnly;
|
|
549
|
+
}
|
|
550
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
551
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
552
|
+
}
|
|
553
|
+
if (typeof this.example !== 'undefined') {
|
|
554
|
+
toReturn['example'] = this.example;
|
|
555
|
+
}
|
|
556
|
+
if (typeof this.ref !== 'undefined') {
|
|
557
|
+
toReturn['ref'] = this.ref;
|
|
558
|
+
}
|
|
559
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
560
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
561
|
+
}
|
|
562
|
+
return toReturn;
|
|
563
|
+
}
|
|
564
|
+
}
|
|
565
|
+
class ResponseExamplesEntry {
|
|
566
|
+
static fromProto(proto) {
|
|
567
|
+
let m = new ResponseExamplesEntry();
|
|
568
|
+
m = Object.assign(m, proto);
|
|
569
|
+
return m;
|
|
570
|
+
}
|
|
571
|
+
constructor(kwargs) {
|
|
572
|
+
if (!kwargs) {
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
Object.assign(this, kwargs);
|
|
576
|
+
}
|
|
577
|
+
toApiJson() {
|
|
578
|
+
const toReturn = {};
|
|
579
|
+
if (typeof this.key !== 'undefined') {
|
|
580
|
+
toReturn['key'] = this.key;
|
|
581
|
+
}
|
|
582
|
+
if (typeof this.value !== 'undefined') {
|
|
583
|
+
toReturn['value'] = this.value;
|
|
584
|
+
}
|
|
585
|
+
return toReturn;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
class ResponseExtensionsEntry {
|
|
589
|
+
static fromProto(proto) {
|
|
590
|
+
let m = new ResponseExtensionsEntry();
|
|
591
|
+
m = Object.assign(m, proto);
|
|
592
|
+
return m;
|
|
593
|
+
}
|
|
594
|
+
constructor(kwargs) {
|
|
595
|
+
if (!kwargs) {
|
|
596
|
+
return;
|
|
597
|
+
}
|
|
598
|
+
Object.assign(this, kwargs);
|
|
599
|
+
}
|
|
600
|
+
toApiJson() {
|
|
601
|
+
const toReturn = {};
|
|
602
|
+
if (typeof this.key !== 'undefined') {
|
|
603
|
+
toReturn['key'] = this.key;
|
|
604
|
+
}
|
|
605
|
+
if (typeof this.value !== 'undefined') {
|
|
606
|
+
toReturn['value'] = this.value;
|
|
607
|
+
}
|
|
608
|
+
return toReturn;
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
class SwaggerExtensionsEntry {
|
|
612
|
+
static fromProto(proto) {
|
|
613
|
+
let m = new SwaggerExtensionsEntry();
|
|
614
|
+
m = Object.assign(m, proto);
|
|
615
|
+
return m;
|
|
616
|
+
}
|
|
617
|
+
constructor(kwargs) {
|
|
618
|
+
if (!kwargs) {
|
|
619
|
+
return;
|
|
620
|
+
}
|
|
621
|
+
Object.assign(this, kwargs);
|
|
622
|
+
}
|
|
623
|
+
toApiJson() {
|
|
624
|
+
const toReturn = {};
|
|
625
|
+
if (typeof this.key !== 'undefined') {
|
|
626
|
+
toReturn['key'] = this.key;
|
|
627
|
+
}
|
|
628
|
+
if (typeof this.value !== 'undefined') {
|
|
629
|
+
toReturn['value'] = this.value;
|
|
630
|
+
}
|
|
631
|
+
return toReturn;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
class SecuritySchemeExtensionsEntry {
|
|
635
|
+
static fromProto(proto) {
|
|
636
|
+
let m = new SecuritySchemeExtensionsEntry();
|
|
637
|
+
m = Object.assign(m, proto);
|
|
638
|
+
return m;
|
|
639
|
+
}
|
|
640
|
+
constructor(kwargs) {
|
|
641
|
+
if (!kwargs) {
|
|
642
|
+
return;
|
|
643
|
+
}
|
|
644
|
+
Object.assign(this, kwargs);
|
|
645
|
+
}
|
|
646
|
+
toApiJson() {
|
|
647
|
+
const toReturn = {};
|
|
648
|
+
if (typeof this.key !== 'undefined') {
|
|
649
|
+
toReturn['key'] = this.key;
|
|
650
|
+
}
|
|
651
|
+
if (typeof this.value !== 'undefined') {
|
|
652
|
+
toReturn['value'] = this.value;
|
|
653
|
+
}
|
|
654
|
+
return toReturn;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
class TagExtensionsEntry {
|
|
658
|
+
static fromProto(proto) {
|
|
659
|
+
let m = new TagExtensionsEntry();
|
|
660
|
+
m = Object.assign(m, proto);
|
|
661
|
+
return m;
|
|
662
|
+
}
|
|
663
|
+
constructor(kwargs) {
|
|
664
|
+
if (!kwargs) {
|
|
665
|
+
return;
|
|
666
|
+
}
|
|
667
|
+
Object.assign(this, kwargs);
|
|
668
|
+
}
|
|
669
|
+
toApiJson() {
|
|
670
|
+
const toReturn = {};
|
|
671
|
+
if (typeof this.key !== 'undefined') {
|
|
672
|
+
toReturn['key'] = this.key;
|
|
673
|
+
}
|
|
674
|
+
if (typeof this.value !== 'undefined') {
|
|
675
|
+
toReturn['value'] = this.value;
|
|
676
|
+
}
|
|
677
|
+
return toReturn;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
class OperationExtensionsEntry {
|
|
681
|
+
static fromProto(proto) {
|
|
682
|
+
let m = new OperationExtensionsEntry();
|
|
683
|
+
m = Object.assign(m, proto);
|
|
684
|
+
return m;
|
|
685
|
+
}
|
|
686
|
+
constructor(kwargs) {
|
|
687
|
+
if (!kwargs) {
|
|
688
|
+
return;
|
|
689
|
+
}
|
|
690
|
+
Object.assign(this, kwargs);
|
|
691
|
+
}
|
|
692
|
+
toApiJson() {
|
|
693
|
+
const toReturn = {};
|
|
694
|
+
if (typeof this.key !== 'undefined') {
|
|
695
|
+
toReturn['key'] = this.key;
|
|
696
|
+
}
|
|
697
|
+
if (typeof this.value !== 'undefined') {
|
|
698
|
+
toReturn['value'] = this.value;
|
|
699
|
+
}
|
|
700
|
+
return toReturn;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
class JSONSchemaExtensionsEntry {
|
|
704
|
+
static fromProto(proto) {
|
|
705
|
+
let m = new JSONSchemaExtensionsEntry();
|
|
706
|
+
m = Object.assign(m, proto);
|
|
707
|
+
return m;
|
|
708
|
+
}
|
|
709
|
+
constructor(kwargs) {
|
|
710
|
+
if (!kwargs) {
|
|
711
|
+
return;
|
|
712
|
+
}
|
|
713
|
+
Object.assign(this, kwargs);
|
|
714
|
+
}
|
|
715
|
+
toApiJson() {
|
|
716
|
+
const toReturn = {};
|
|
717
|
+
if (typeof this.key !== 'undefined') {
|
|
718
|
+
toReturn['key'] = this.key;
|
|
719
|
+
}
|
|
720
|
+
if (typeof this.value !== 'undefined') {
|
|
721
|
+
toReturn['value'] = this.value;
|
|
722
|
+
}
|
|
723
|
+
return toReturn;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
class EnumSchemaExtensionsEntry {
|
|
727
|
+
static fromProto(proto) {
|
|
728
|
+
let m = new EnumSchemaExtensionsEntry();
|
|
729
|
+
m = Object.assign(m, proto);
|
|
730
|
+
return m;
|
|
731
|
+
}
|
|
732
|
+
constructor(kwargs) {
|
|
733
|
+
if (!kwargs) {
|
|
734
|
+
return;
|
|
735
|
+
}
|
|
736
|
+
Object.assign(this, kwargs);
|
|
737
|
+
}
|
|
738
|
+
toApiJson() {
|
|
739
|
+
const toReturn = {};
|
|
740
|
+
if (typeof this.key !== 'undefined') {
|
|
741
|
+
toReturn['key'] = this.key;
|
|
742
|
+
}
|
|
743
|
+
if (typeof this.value !== 'undefined') {
|
|
744
|
+
toReturn['value'] = this.value;
|
|
745
|
+
}
|
|
746
|
+
return toReturn;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
class InfoExtensionsEntry {
|
|
750
|
+
static fromProto(proto) {
|
|
751
|
+
let m = new InfoExtensionsEntry();
|
|
752
|
+
m = Object.assign(m, proto);
|
|
753
|
+
return m;
|
|
754
|
+
}
|
|
755
|
+
constructor(kwargs) {
|
|
756
|
+
if (!kwargs) {
|
|
757
|
+
return;
|
|
758
|
+
}
|
|
759
|
+
Object.assign(this, kwargs);
|
|
760
|
+
}
|
|
761
|
+
toApiJson() {
|
|
762
|
+
const toReturn = {};
|
|
763
|
+
if (typeof this.key !== 'undefined') {
|
|
764
|
+
toReturn['key'] = this.key;
|
|
765
|
+
}
|
|
766
|
+
if (typeof this.value !== 'undefined') {
|
|
767
|
+
toReturn['value'] = this.value;
|
|
768
|
+
}
|
|
769
|
+
return toReturn;
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
class ExternalDocumentation {
|
|
773
|
+
static fromProto(proto) {
|
|
774
|
+
let m = new ExternalDocumentation();
|
|
775
|
+
m = Object.assign(m, proto);
|
|
776
|
+
return m;
|
|
777
|
+
}
|
|
778
|
+
constructor(kwargs) {
|
|
779
|
+
if (!kwargs) {
|
|
780
|
+
return;
|
|
781
|
+
}
|
|
782
|
+
Object.assign(this, kwargs);
|
|
783
|
+
}
|
|
784
|
+
toApiJson() {
|
|
785
|
+
const toReturn = {};
|
|
786
|
+
if (typeof this.description !== 'undefined') {
|
|
787
|
+
toReturn['description'] = this.description;
|
|
788
|
+
}
|
|
789
|
+
if (typeof this.url !== 'undefined') {
|
|
790
|
+
toReturn['url'] = this.url;
|
|
791
|
+
}
|
|
792
|
+
return toReturn;
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
class JSONSchemaFieldConfiguration {
|
|
796
|
+
static fromProto(proto) {
|
|
797
|
+
let m = new JSONSchemaFieldConfiguration();
|
|
798
|
+
m = Object.assign(m, proto);
|
|
799
|
+
return m;
|
|
800
|
+
}
|
|
801
|
+
constructor(kwargs) {
|
|
802
|
+
if (!kwargs) {
|
|
803
|
+
return;
|
|
804
|
+
}
|
|
805
|
+
Object.assign(this, kwargs);
|
|
806
|
+
}
|
|
807
|
+
toApiJson() {
|
|
808
|
+
const toReturn = {};
|
|
809
|
+
if (typeof this.pathParamName !== 'undefined') {
|
|
810
|
+
toReturn['pathParamName'] = this.pathParamName;
|
|
811
|
+
}
|
|
812
|
+
if (typeof this.deprecated !== 'undefined') {
|
|
813
|
+
toReturn['deprecated'] = this.deprecated;
|
|
814
|
+
}
|
|
815
|
+
return toReturn;
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
class Header {
|
|
819
|
+
static fromProto(proto) {
|
|
820
|
+
let m = new Header();
|
|
821
|
+
m = Object.assign(m, proto);
|
|
822
|
+
return m;
|
|
823
|
+
}
|
|
824
|
+
constructor(kwargs) {
|
|
825
|
+
if (!kwargs) {
|
|
826
|
+
return;
|
|
827
|
+
}
|
|
828
|
+
Object.assign(this, kwargs);
|
|
829
|
+
}
|
|
830
|
+
toApiJson() {
|
|
831
|
+
const toReturn = {};
|
|
832
|
+
if (typeof this.description !== 'undefined') {
|
|
833
|
+
toReturn['description'] = this.description;
|
|
834
|
+
}
|
|
835
|
+
if (typeof this.type !== 'undefined') {
|
|
836
|
+
toReturn['type'] = this.type;
|
|
837
|
+
}
|
|
838
|
+
if (typeof this.format !== 'undefined') {
|
|
839
|
+
toReturn['format'] = this.format;
|
|
840
|
+
}
|
|
841
|
+
if (typeof this.default !== 'undefined') {
|
|
842
|
+
toReturn['default'] = this.default;
|
|
843
|
+
}
|
|
844
|
+
if (typeof this.pattern !== 'undefined') {
|
|
845
|
+
toReturn['pattern'] = this.pattern;
|
|
846
|
+
}
|
|
847
|
+
return toReturn;
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
class HeaderParameter {
|
|
851
|
+
static fromProto(proto) {
|
|
852
|
+
let m = new HeaderParameter();
|
|
853
|
+
m = Object.assign(m, proto);
|
|
854
|
+
if (proto.type) {
|
|
855
|
+
m.type = enumStringToValue$1(HeaderParameterType, proto.type);
|
|
856
|
+
}
|
|
857
|
+
return m;
|
|
858
|
+
}
|
|
859
|
+
constructor(kwargs) {
|
|
860
|
+
if (!kwargs) {
|
|
861
|
+
return;
|
|
862
|
+
}
|
|
863
|
+
Object.assign(this, kwargs);
|
|
864
|
+
}
|
|
865
|
+
toApiJson() {
|
|
866
|
+
const toReturn = {};
|
|
867
|
+
if (typeof this.name !== 'undefined') {
|
|
868
|
+
toReturn['name'] = this.name;
|
|
869
|
+
}
|
|
870
|
+
if (typeof this.description !== 'undefined') {
|
|
871
|
+
toReturn['description'] = this.description;
|
|
872
|
+
}
|
|
873
|
+
if (typeof this.type !== 'undefined') {
|
|
874
|
+
toReturn['type'] = this.type;
|
|
875
|
+
}
|
|
876
|
+
if (typeof this.format !== 'undefined') {
|
|
877
|
+
toReturn['format'] = this.format;
|
|
878
|
+
}
|
|
879
|
+
if (typeof this.required !== 'undefined') {
|
|
880
|
+
toReturn['required'] = this.required;
|
|
881
|
+
}
|
|
882
|
+
return toReturn;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
class ResponseHeadersEntry {
|
|
886
|
+
static fromProto(proto) {
|
|
887
|
+
let m = new ResponseHeadersEntry();
|
|
888
|
+
m = Object.assign(m, proto);
|
|
889
|
+
if (proto.value) {
|
|
890
|
+
m.value = Header.fromProto(proto.value);
|
|
891
|
+
}
|
|
892
|
+
return m;
|
|
893
|
+
}
|
|
894
|
+
constructor(kwargs) {
|
|
895
|
+
if (!kwargs) {
|
|
896
|
+
return;
|
|
897
|
+
}
|
|
898
|
+
Object.assign(this, kwargs);
|
|
899
|
+
}
|
|
900
|
+
toApiJson() {
|
|
901
|
+
const toReturn = {};
|
|
902
|
+
if (typeof this.key !== 'undefined') {
|
|
903
|
+
toReturn['key'] = this.key;
|
|
904
|
+
}
|
|
905
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
906
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
907
|
+
}
|
|
908
|
+
return toReturn;
|
|
909
|
+
}
|
|
910
|
+
}
|
|
911
|
+
class Info {
|
|
912
|
+
static fromProto(proto) {
|
|
913
|
+
let m = new Info();
|
|
914
|
+
m = Object.assign(m, proto);
|
|
915
|
+
if (proto.contact) {
|
|
916
|
+
m.contact = Contact.fromProto(proto.contact);
|
|
917
|
+
}
|
|
918
|
+
if (proto.license) {
|
|
919
|
+
m.license = License.fromProto(proto.license);
|
|
920
|
+
}
|
|
921
|
+
if (proto.extensions) {
|
|
922
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
923
|
+
}
|
|
924
|
+
return m;
|
|
925
|
+
}
|
|
926
|
+
constructor(kwargs) {
|
|
927
|
+
if (!kwargs) {
|
|
928
|
+
return;
|
|
929
|
+
}
|
|
930
|
+
Object.assign(this, kwargs);
|
|
931
|
+
}
|
|
932
|
+
toApiJson() {
|
|
933
|
+
const toReturn = {};
|
|
934
|
+
if (typeof this.title !== 'undefined') {
|
|
935
|
+
toReturn['title'] = this.title;
|
|
936
|
+
}
|
|
937
|
+
if (typeof this.description !== 'undefined') {
|
|
938
|
+
toReturn['description'] = this.description;
|
|
939
|
+
}
|
|
940
|
+
if (typeof this.termsOfService !== 'undefined') {
|
|
941
|
+
toReturn['termsOfService'] = this.termsOfService;
|
|
942
|
+
}
|
|
943
|
+
if (typeof this.contact !== 'undefined' && this.contact !== null) {
|
|
944
|
+
toReturn['contact'] = 'toApiJson' in this.contact ? this.contact.toApiJson() : this.contact;
|
|
945
|
+
}
|
|
946
|
+
if (typeof this.license !== 'undefined' && this.license !== null) {
|
|
947
|
+
toReturn['license'] = 'toApiJson' in this.license ? this.license.toApiJson() : this.license;
|
|
948
|
+
}
|
|
949
|
+
if (typeof this.version !== 'undefined') {
|
|
950
|
+
toReturn['version'] = this.version;
|
|
951
|
+
}
|
|
952
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
953
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
954
|
+
}
|
|
955
|
+
return toReturn;
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
class JSONSchema {
|
|
959
|
+
static fromProto(proto) {
|
|
960
|
+
let m = new JSONSchema();
|
|
961
|
+
m = Object.assign(m, proto);
|
|
962
|
+
if (proto.maxLength) {
|
|
963
|
+
m.maxLength = parseInt(proto.maxLength, 10);
|
|
964
|
+
}
|
|
965
|
+
if (proto.minLength) {
|
|
966
|
+
m.minLength = parseInt(proto.minLength, 10);
|
|
967
|
+
}
|
|
968
|
+
if (proto.maxItems) {
|
|
969
|
+
m.maxItems = parseInt(proto.maxItems, 10);
|
|
970
|
+
}
|
|
971
|
+
if (proto.minItems) {
|
|
972
|
+
m.minItems = parseInt(proto.minItems, 10);
|
|
973
|
+
}
|
|
974
|
+
if (proto.maxProperties) {
|
|
975
|
+
m.maxProperties = parseInt(proto.maxProperties, 10);
|
|
976
|
+
}
|
|
977
|
+
if (proto.minProperties) {
|
|
978
|
+
m.minProperties = parseInt(proto.minProperties, 10);
|
|
979
|
+
}
|
|
980
|
+
if (proto.type) {
|
|
981
|
+
m.type = proto.type.map((v) => enumStringToValue$1(JSONSchemaJSONSchemaSimpleTypes, v));
|
|
982
|
+
}
|
|
983
|
+
if (proto.fieldConfiguration) {
|
|
984
|
+
m.fieldConfiguration = JSONSchemaFieldConfiguration.fromProto(proto.fieldConfiguration);
|
|
985
|
+
}
|
|
986
|
+
if (proto.extensions) {
|
|
987
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
988
|
+
}
|
|
989
|
+
return m;
|
|
990
|
+
}
|
|
991
|
+
constructor(kwargs) {
|
|
992
|
+
if (!kwargs) {
|
|
993
|
+
return;
|
|
994
|
+
}
|
|
995
|
+
Object.assign(this, kwargs);
|
|
996
|
+
}
|
|
997
|
+
toApiJson() {
|
|
998
|
+
const toReturn = {};
|
|
999
|
+
if (typeof this.ref !== 'undefined') {
|
|
1000
|
+
toReturn['ref'] = this.ref;
|
|
1001
|
+
}
|
|
1002
|
+
if (typeof this.title !== 'undefined') {
|
|
1003
|
+
toReturn['title'] = this.title;
|
|
1004
|
+
}
|
|
1005
|
+
if (typeof this.description !== 'undefined') {
|
|
1006
|
+
toReturn['description'] = this.description;
|
|
1007
|
+
}
|
|
1008
|
+
if (typeof this.default !== 'undefined') {
|
|
1009
|
+
toReturn['default'] = this.default;
|
|
1010
|
+
}
|
|
1011
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
1012
|
+
toReturn['readOnly'] = this.readOnly;
|
|
1013
|
+
}
|
|
1014
|
+
if (typeof this.example !== 'undefined') {
|
|
1015
|
+
toReturn['example'] = this.example;
|
|
1016
|
+
}
|
|
1017
|
+
if (typeof this.multipleOf !== 'undefined') {
|
|
1018
|
+
toReturn['multipleOf'] = this.multipleOf;
|
|
1019
|
+
}
|
|
1020
|
+
if (typeof this.maximum !== 'undefined') {
|
|
1021
|
+
toReturn['maximum'] = this.maximum;
|
|
1022
|
+
}
|
|
1023
|
+
if (typeof this.exclusiveMaximum !== 'undefined') {
|
|
1024
|
+
toReturn['exclusiveMaximum'] = this.exclusiveMaximum;
|
|
1025
|
+
}
|
|
1026
|
+
if (typeof this.minimum !== 'undefined') {
|
|
1027
|
+
toReturn['minimum'] = this.minimum;
|
|
1028
|
+
}
|
|
1029
|
+
if (typeof this.exclusiveMinimum !== 'undefined') {
|
|
1030
|
+
toReturn['exclusiveMinimum'] = this.exclusiveMinimum;
|
|
1031
|
+
}
|
|
1032
|
+
if (typeof this.maxLength !== 'undefined') {
|
|
1033
|
+
toReturn['maxLength'] = this.maxLength;
|
|
1034
|
+
}
|
|
1035
|
+
if (typeof this.minLength !== 'undefined') {
|
|
1036
|
+
toReturn['minLength'] = this.minLength;
|
|
1037
|
+
}
|
|
1038
|
+
if (typeof this.pattern !== 'undefined') {
|
|
1039
|
+
toReturn['pattern'] = this.pattern;
|
|
1040
|
+
}
|
|
1041
|
+
if (typeof this.maxItems !== 'undefined') {
|
|
1042
|
+
toReturn['maxItems'] = this.maxItems;
|
|
1043
|
+
}
|
|
1044
|
+
if (typeof this.minItems !== 'undefined') {
|
|
1045
|
+
toReturn['minItems'] = this.minItems;
|
|
1046
|
+
}
|
|
1047
|
+
if (typeof this.uniqueItems !== 'undefined') {
|
|
1048
|
+
toReturn['uniqueItems'] = this.uniqueItems;
|
|
1049
|
+
}
|
|
1050
|
+
if (typeof this.maxProperties !== 'undefined') {
|
|
1051
|
+
toReturn['maxProperties'] = this.maxProperties;
|
|
1052
|
+
}
|
|
1053
|
+
if (typeof this.minProperties !== 'undefined') {
|
|
1054
|
+
toReturn['minProperties'] = this.minProperties;
|
|
1055
|
+
}
|
|
1056
|
+
if (typeof this.required !== 'undefined') {
|
|
1057
|
+
toReturn['required'] = this.required;
|
|
1058
|
+
}
|
|
1059
|
+
if (typeof this.array !== 'undefined') {
|
|
1060
|
+
toReturn['array'] = this.array;
|
|
1061
|
+
}
|
|
1062
|
+
if (typeof this.type !== 'undefined') {
|
|
1063
|
+
toReturn['type'] = this.type;
|
|
1064
|
+
}
|
|
1065
|
+
if (typeof this.format !== 'undefined') {
|
|
1066
|
+
toReturn['format'] = this.format;
|
|
1067
|
+
}
|
|
1068
|
+
if (typeof this.enum !== 'undefined') {
|
|
1069
|
+
toReturn['enum'] = this.enum;
|
|
1070
|
+
}
|
|
1071
|
+
if (typeof this.fieldConfiguration !== 'undefined' && this.fieldConfiguration !== null) {
|
|
1072
|
+
toReturn['fieldConfiguration'] = 'toApiJson' in this.fieldConfiguration ? this.fieldConfiguration.toApiJson() : this.fieldConfiguration;
|
|
1073
|
+
}
|
|
1074
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1075
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
1076
|
+
}
|
|
1077
|
+
return toReturn;
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
class License {
|
|
1081
|
+
static fromProto(proto) {
|
|
1082
|
+
let m = new License();
|
|
1083
|
+
m = Object.assign(m, proto);
|
|
1084
|
+
return m;
|
|
1085
|
+
}
|
|
1086
|
+
constructor(kwargs) {
|
|
1087
|
+
if (!kwargs) {
|
|
1088
|
+
return;
|
|
1089
|
+
}
|
|
1090
|
+
Object.assign(this, kwargs);
|
|
1091
|
+
}
|
|
1092
|
+
toApiJson() {
|
|
1093
|
+
const toReturn = {};
|
|
1094
|
+
if (typeof this.name !== 'undefined') {
|
|
1095
|
+
toReturn['name'] = this.name;
|
|
1096
|
+
}
|
|
1097
|
+
if (typeof this.url !== 'undefined') {
|
|
1098
|
+
toReturn['url'] = this.url;
|
|
1099
|
+
}
|
|
1100
|
+
return toReturn;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
class Operation {
|
|
1104
|
+
static fromProto(proto) {
|
|
1105
|
+
let m = new Operation();
|
|
1106
|
+
m = Object.assign(m, proto);
|
|
1107
|
+
if (proto.externalDocs) {
|
|
1108
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
1109
|
+
}
|
|
1110
|
+
if (proto.responses) {
|
|
1111
|
+
m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response.fromProto(proto.responses[k]); return obj; }, {});
|
|
1112
|
+
}
|
|
1113
|
+
if (proto.schemes) {
|
|
1114
|
+
m.schemes = proto.schemes.map((v) => enumStringToValue$1(Scheme, v));
|
|
1115
|
+
}
|
|
1116
|
+
if (proto.security) {
|
|
1117
|
+
m.security = proto.security.map(SecurityRequirement.fromProto);
|
|
1118
|
+
}
|
|
1119
|
+
if (proto.extensions) {
|
|
1120
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
1121
|
+
}
|
|
1122
|
+
if (proto.parameters) {
|
|
1123
|
+
m.parameters = Parameters.fromProto(proto.parameters);
|
|
1124
|
+
}
|
|
1125
|
+
return m;
|
|
1126
|
+
}
|
|
1127
|
+
constructor(kwargs) {
|
|
1128
|
+
if (!kwargs) {
|
|
1129
|
+
return;
|
|
1130
|
+
}
|
|
1131
|
+
Object.assign(this, kwargs);
|
|
1132
|
+
}
|
|
1133
|
+
toApiJson() {
|
|
1134
|
+
const toReturn = {};
|
|
1135
|
+
if (typeof this.tags !== 'undefined') {
|
|
1136
|
+
toReturn['tags'] = this.tags;
|
|
1137
|
+
}
|
|
1138
|
+
if (typeof this.summary !== 'undefined') {
|
|
1139
|
+
toReturn['summary'] = this.summary;
|
|
1140
|
+
}
|
|
1141
|
+
if (typeof this.description !== 'undefined') {
|
|
1142
|
+
toReturn['description'] = this.description;
|
|
1143
|
+
}
|
|
1144
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
1145
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
1146
|
+
}
|
|
1147
|
+
if (typeof this.operationId !== 'undefined') {
|
|
1148
|
+
toReturn['operationId'] = this.operationId;
|
|
1149
|
+
}
|
|
1150
|
+
if (typeof this.consumes !== 'undefined') {
|
|
1151
|
+
toReturn['consumes'] = this.consumes;
|
|
1152
|
+
}
|
|
1153
|
+
if (typeof this.produces !== 'undefined') {
|
|
1154
|
+
toReturn['produces'] = this.produces;
|
|
1155
|
+
}
|
|
1156
|
+
if (typeof this.responses !== 'undefined' && this.responses !== null) {
|
|
1157
|
+
toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
|
|
1158
|
+
}
|
|
1159
|
+
if (typeof this.schemes !== 'undefined') {
|
|
1160
|
+
toReturn['schemes'] = this.schemes;
|
|
1161
|
+
}
|
|
1162
|
+
if (typeof this.deprecated !== 'undefined') {
|
|
1163
|
+
toReturn['deprecated'] = this.deprecated;
|
|
1164
|
+
}
|
|
1165
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
1166
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
1167
|
+
}
|
|
1168
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1169
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
1170
|
+
}
|
|
1171
|
+
if (typeof this.parameters !== 'undefined' && this.parameters !== null) {
|
|
1172
|
+
toReturn['parameters'] = 'toApiJson' in this.parameters ? this.parameters.toApiJson() : this.parameters;
|
|
1173
|
+
}
|
|
1174
|
+
return toReturn;
|
|
1175
|
+
}
|
|
1176
|
+
}
|
|
1177
|
+
class Parameters {
|
|
1178
|
+
static fromProto(proto) {
|
|
1179
|
+
let m = new Parameters();
|
|
1180
|
+
m = Object.assign(m, proto);
|
|
1181
|
+
if (proto.headers) {
|
|
1182
|
+
m.headers = proto.headers.map(HeaderParameter.fromProto);
|
|
1183
|
+
}
|
|
1184
|
+
return m;
|
|
1185
|
+
}
|
|
1186
|
+
constructor(kwargs) {
|
|
1187
|
+
if (!kwargs) {
|
|
1188
|
+
return;
|
|
1189
|
+
}
|
|
1190
|
+
Object.assign(this, kwargs);
|
|
1191
|
+
}
|
|
1192
|
+
toApiJson() {
|
|
1193
|
+
const toReturn = {};
|
|
1194
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1195
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1196
|
+
}
|
|
1197
|
+
return toReturn;
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
class Response {
|
|
1201
|
+
static fromProto(proto) {
|
|
1202
|
+
let m = new Response();
|
|
1203
|
+
m = Object.assign(m, proto);
|
|
1204
|
+
if (proto.schema) {
|
|
1205
|
+
m.schema = Schema.fromProto(proto.schema);
|
|
1206
|
+
}
|
|
1207
|
+
if (proto.headers) {
|
|
1208
|
+
m.headers = Object.keys(proto.headers).reduce((obj, k) => { obj[k] = Header.fromProto(proto.headers[k]); return obj; }, {});
|
|
1209
|
+
}
|
|
1210
|
+
if (proto.examples) {
|
|
1211
|
+
m.examples = Object.keys(proto.examples).reduce((obj, k) => { obj[k] = proto.examples[k]; return obj; }, {});
|
|
1212
|
+
}
|
|
1213
|
+
if (proto.extensions) {
|
|
1214
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
1215
|
+
}
|
|
1216
|
+
return m;
|
|
1217
|
+
}
|
|
1218
|
+
constructor(kwargs) {
|
|
1219
|
+
if (!kwargs) {
|
|
1220
|
+
return;
|
|
1221
|
+
}
|
|
1222
|
+
Object.assign(this, kwargs);
|
|
1223
|
+
}
|
|
1224
|
+
toApiJson() {
|
|
1225
|
+
const toReturn = {};
|
|
1226
|
+
if (typeof this.description !== 'undefined') {
|
|
1227
|
+
toReturn['description'] = this.description;
|
|
1228
|
+
}
|
|
1229
|
+
if (typeof this.schema !== 'undefined' && this.schema !== null) {
|
|
1230
|
+
toReturn['schema'] = 'toApiJson' in this.schema ? this.schema.toApiJson() : this.schema;
|
|
1231
|
+
}
|
|
1232
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
1233
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
1234
|
+
}
|
|
1235
|
+
if (typeof this.examples !== 'undefined' && this.examples !== null) {
|
|
1236
|
+
toReturn['examples'] = 'toApiJson' in this.examples ? this.examples.toApiJson() : this.examples;
|
|
1237
|
+
}
|
|
1238
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1239
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
1240
|
+
}
|
|
1241
|
+
return toReturn;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
class OperationResponsesEntry {
|
|
1245
|
+
static fromProto(proto) {
|
|
1246
|
+
let m = new OperationResponsesEntry();
|
|
1247
|
+
m = Object.assign(m, proto);
|
|
1248
|
+
if (proto.value) {
|
|
1249
|
+
m.value = Response.fromProto(proto.value);
|
|
1250
|
+
}
|
|
1251
|
+
return m;
|
|
1252
|
+
}
|
|
1253
|
+
constructor(kwargs) {
|
|
1254
|
+
if (!kwargs) {
|
|
1255
|
+
return;
|
|
1256
|
+
}
|
|
1257
|
+
Object.assign(this, kwargs);
|
|
1258
|
+
}
|
|
1259
|
+
toApiJson() {
|
|
1260
|
+
const toReturn = {};
|
|
1261
|
+
if (typeof this.key !== 'undefined') {
|
|
1262
|
+
toReturn['key'] = this.key;
|
|
1263
|
+
}
|
|
1264
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
1265
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
1266
|
+
}
|
|
1267
|
+
return toReturn;
|
|
1268
|
+
}
|
|
158
1269
|
}
|
|
159
|
-
class
|
|
1270
|
+
class SwaggerResponsesEntry {
|
|
160
1271
|
static fromProto(proto) {
|
|
161
|
-
let m = new
|
|
1272
|
+
let m = new SwaggerResponsesEntry();
|
|
162
1273
|
m = Object.assign(m, proto);
|
|
163
|
-
if (proto.
|
|
164
|
-
m.
|
|
1274
|
+
if (proto.value) {
|
|
1275
|
+
m.value = Response.fromProto(proto.value);
|
|
165
1276
|
}
|
|
166
1277
|
return m;
|
|
167
1278
|
}
|
|
@@ -173,21 +1284,24 @@ class PagedRequestOptions {
|
|
|
173
1284
|
}
|
|
174
1285
|
toApiJson() {
|
|
175
1286
|
const toReturn = {};
|
|
176
|
-
if (typeof this.
|
|
177
|
-
toReturn['
|
|
1287
|
+
if (typeof this.key !== 'undefined') {
|
|
1288
|
+
toReturn['key'] = this.key;
|
|
178
1289
|
}
|
|
179
|
-
if (typeof this.
|
|
180
|
-
toReturn['
|
|
1290
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
1291
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
181
1292
|
}
|
|
182
1293
|
return toReturn;
|
|
183
1294
|
}
|
|
184
1295
|
}
|
|
185
|
-
class
|
|
1296
|
+
class Schema {
|
|
186
1297
|
static fromProto(proto) {
|
|
187
|
-
let m = new
|
|
1298
|
+
let m = new Schema();
|
|
188
1299
|
m = Object.assign(m, proto);
|
|
189
|
-
if (proto.
|
|
190
|
-
m.
|
|
1300
|
+
if (proto.jsonSchema) {
|
|
1301
|
+
m.jsonSchema = JSONSchema.fromProto(proto.jsonSchema);
|
|
1302
|
+
}
|
|
1303
|
+
if (proto.externalDocs) {
|
|
1304
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
191
1305
|
}
|
|
192
1306
|
return m;
|
|
193
1307
|
}
|
|
@@ -199,34 +1313,76 @@ class PagedResponseMetadata {
|
|
|
199
1313
|
}
|
|
200
1314
|
toApiJson() {
|
|
201
1315
|
const toReturn = {};
|
|
202
|
-
if (typeof this.
|
|
203
|
-
toReturn['
|
|
1316
|
+
if (typeof this.jsonSchema !== 'undefined' && this.jsonSchema !== null) {
|
|
1317
|
+
toReturn['jsonSchema'] = 'toApiJson' in this.jsonSchema ? this.jsonSchema.toApiJson() : this.jsonSchema;
|
|
204
1318
|
}
|
|
205
|
-
if (typeof this.
|
|
206
|
-
toReturn['
|
|
1319
|
+
if (typeof this.discriminator !== 'undefined') {
|
|
1320
|
+
toReturn['discriminator'] = this.discriminator;
|
|
207
1321
|
}
|
|
208
|
-
if (typeof this.
|
|
209
|
-
toReturn['
|
|
1322
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
1323
|
+
toReturn['readOnly'] = this.readOnly;
|
|
1324
|
+
}
|
|
1325
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
1326
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
1327
|
+
}
|
|
1328
|
+
if (typeof this.example !== 'undefined') {
|
|
1329
|
+
toReturn['example'] = this.example;
|
|
210
1330
|
}
|
|
211
1331
|
return toReturn;
|
|
212
1332
|
}
|
|
213
1333
|
}
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
1334
|
+
class ScopesScopeEntry {
|
|
1335
|
+
static fromProto(proto) {
|
|
1336
|
+
let m = new ScopesScopeEntry();
|
|
1337
|
+
m = Object.assign(m, proto);
|
|
1338
|
+
return m;
|
|
1339
|
+
}
|
|
1340
|
+
constructor(kwargs) {
|
|
1341
|
+
if (!kwargs) {
|
|
1342
|
+
return;
|
|
1343
|
+
}
|
|
1344
|
+
Object.assign(this, kwargs);
|
|
1345
|
+
}
|
|
1346
|
+
toApiJson() {
|
|
1347
|
+
const toReturn = {};
|
|
1348
|
+
if (typeof this.key !== 'undefined') {
|
|
1349
|
+
toReturn['key'] = this.key;
|
|
1350
|
+
}
|
|
1351
|
+
if (typeof this.value !== 'undefined') {
|
|
1352
|
+
toReturn['value'] = this.value;
|
|
1353
|
+
}
|
|
1354
|
+
return toReturn;
|
|
218
1355
|
}
|
|
219
|
-
return enumRef[value];
|
|
220
1356
|
}
|
|
221
|
-
class
|
|
1357
|
+
class Scopes {
|
|
222
1358
|
static fromProto(proto) {
|
|
223
|
-
let m = new
|
|
1359
|
+
let m = new Scopes();
|
|
224
1360
|
m = Object.assign(m, proto);
|
|
225
|
-
if (proto.
|
|
226
|
-
m.
|
|
1361
|
+
if (proto.scope) {
|
|
1362
|
+
m.scope = Object.keys(proto.scope).reduce((obj, k) => { obj[k] = proto.scope[k]; return obj; }, {});
|
|
227
1363
|
}
|
|
228
|
-
|
|
229
|
-
|
|
1364
|
+
return m;
|
|
1365
|
+
}
|
|
1366
|
+
constructor(kwargs) {
|
|
1367
|
+
if (!kwargs) {
|
|
1368
|
+
return;
|
|
1369
|
+
}
|
|
1370
|
+
Object.assign(this, kwargs);
|
|
1371
|
+
}
|
|
1372
|
+
toApiJson() {
|
|
1373
|
+
const toReturn = {};
|
|
1374
|
+
if (typeof this.scope !== 'undefined' && this.scope !== null) {
|
|
1375
|
+
toReturn['scope'] = 'toApiJson' in this.scope ? this.scope.toApiJson() : this.scope;
|
|
1376
|
+
}
|
|
1377
|
+
return toReturn;
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
class SecurityDefinitions {
|
|
1381
|
+
static fromProto(proto) {
|
|
1382
|
+
let m = new SecurityDefinitions();
|
|
1383
|
+
m = Object.assign(m, proto);
|
|
1384
|
+
if (proto.security) {
|
|
1385
|
+
m.security = Object.keys(proto.security).reduce((obj, k) => { obj[k] = SecurityScheme.fromProto(proto.security[k]); return obj; }, {});
|
|
230
1386
|
}
|
|
231
1387
|
return m;
|
|
232
1388
|
}
|
|
@@ -238,30 +1394,67 @@ class Filter {
|
|
|
238
1394
|
}
|
|
239
1395
|
toApiJson() {
|
|
240
1396
|
const toReturn = {};
|
|
241
|
-
if (typeof this.
|
|
242
|
-
toReturn['
|
|
1397
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
1398
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
243
1399
|
}
|
|
244
|
-
|
|
245
|
-
|
|
1400
|
+
return toReturn;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
class SecurityDefinitionsSecurityEntry {
|
|
1404
|
+
static fromProto(proto) {
|
|
1405
|
+
let m = new SecurityDefinitionsSecurityEntry();
|
|
1406
|
+
m = Object.assign(m, proto);
|
|
1407
|
+
if (proto.value) {
|
|
1408
|
+
m.value = SecurityScheme.fromProto(proto.value);
|
|
246
1409
|
}
|
|
247
|
-
|
|
248
|
-
|
|
1410
|
+
return m;
|
|
1411
|
+
}
|
|
1412
|
+
constructor(kwargs) {
|
|
1413
|
+
if (!kwargs) {
|
|
1414
|
+
return;
|
|
249
1415
|
}
|
|
250
|
-
|
|
251
|
-
|
|
1416
|
+
Object.assign(this, kwargs);
|
|
1417
|
+
}
|
|
1418
|
+
toApiJson() {
|
|
1419
|
+
const toReturn = {};
|
|
1420
|
+
if (typeof this.key !== 'undefined') {
|
|
1421
|
+
toReturn['key'] = this.key;
|
|
1422
|
+
}
|
|
1423
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
1424
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
252
1425
|
}
|
|
253
1426
|
return toReturn;
|
|
254
1427
|
}
|
|
255
1428
|
}
|
|
256
|
-
class
|
|
1429
|
+
class SecurityRequirement {
|
|
257
1430
|
static fromProto(proto) {
|
|
258
|
-
let m = new
|
|
1431
|
+
let m = new SecurityRequirement();
|
|
259
1432
|
m = Object.assign(m, proto);
|
|
260
|
-
if (proto.
|
|
261
|
-
m.
|
|
1433
|
+
if (proto.securityRequirement) {
|
|
1434
|
+
m.securityRequirement = Object.keys(proto.securityRequirement).reduce((obj, k) => { obj[k] = SecurityRequirementSecurityRequirementValue.fromProto(proto.securityRequirement[k]); return obj; }, {});
|
|
262
1435
|
}
|
|
263
|
-
|
|
264
|
-
|
|
1436
|
+
return m;
|
|
1437
|
+
}
|
|
1438
|
+
constructor(kwargs) {
|
|
1439
|
+
if (!kwargs) {
|
|
1440
|
+
return;
|
|
1441
|
+
}
|
|
1442
|
+
Object.assign(this, kwargs);
|
|
1443
|
+
}
|
|
1444
|
+
toApiJson() {
|
|
1445
|
+
const toReturn = {};
|
|
1446
|
+
if (typeof this.securityRequirement !== 'undefined' && this.securityRequirement !== null) {
|
|
1447
|
+
toReturn['securityRequirement'] = 'toApiJson' in this.securityRequirement ? this.securityRequirement.toApiJson() : this.securityRequirement;
|
|
1448
|
+
}
|
|
1449
|
+
return toReturn;
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
class SecurityRequirementSecurityRequirementEntry {
|
|
1453
|
+
static fromProto(proto) {
|
|
1454
|
+
let m = new SecurityRequirementSecurityRequirementEntry();
|
|
1455
|
+
m = Object.assign(m, proto);
|
|
1456
|
+
if (proto.value) {
|
|
1457
|
+
m.value = SecurityRequirementSecurityRequirementValue.fromProto(proto.value);
|
|
265
1458
|
}
|
|
266
1459
|
return m;
|
|
267
1460
|
}
|
|
@@ -273,18 +1466,18 @@ class FilterGroup {
|
|
|
273
1466
|
}
|
|
274
1467
|
toApiJson() {
|
|
275
1468
|
const toReturn = {};
|
|
276
|
-
if (typeof this.
|
|
277
|
-
toReturn['
|
|
1469
|
+
if (typeof this.key !== 'undefined') {
|
|
1470
|
+
toReturn['key'] = this.key;
|
|
278
1471
|
}
|
|
279
|
-
if (typeof this.
|
|
280
|
-
toReturn['
|
|
1472
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
1473
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
281
1474
|
}
|
|
282
1475
|
return toReturn;
|
|
283
1476
|
}
|
|
284
1477
|
}
|
|
285
|
-
class
|
|
1478
|
+
class SecurityRequirementSecurityRequirementValue {
|
|
286
1479
|
static fromProto(proto) {
|
|
287
|
-
let m = new
|
|
1480
|
+
let m = new SecurityRequirementSecurityRequirementValue();
|
|
288
1481
|
m = Object.assign(m, proto);
|
|
289
1482
|
return m;
|
|
290
1483
|
}
|
|
@@ -296,33 +1489,98 @@ class Phone {
|
|
|
296
1489
|
}
|
|
297
1490
|
toApiJson() {
|
|
298
1491
|
const toReturn = {};
|
|
299
|
-
if (typeof this.
|
|
300
|
-
toReturn['
|
|
1492
|
+
if (typeof this.scope !== 'undefined') {
|
|
1493
|
+
toReturn['scope'] = this.scope;
|
|
301
1494
|
}
|
|
302
|
-
|
|
303
|
-
|
|
1495
|
+
return toReturn;
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
class SecurityScheme {
|
|
1499
|
+
static fromProto(proto) {
|
|
1500
|
+
let m = new SecurityScheme();
|
|
1501
|
+
m = Object.assign(m, proto);
|
|
1502
|
+
if (proto.type) {
|
|
1503
|
+
m.type = enumStringToValue$1(SecuritySchemeType, proto.type);
|
|
304
1504
|
}
|
|
305
|
-
if (
|
|
306
|
-
|
|
1505
|
+
if (proto.in) {
|
|
1506
|
+
m.in = enumStringToValue$1(SecuritySchemeIn, proto.in);
|
|
1507
|
+
}
|
|
1508
|
+
if (proto.flow) {
|
|
1509
|
+
m.flow = enumStringToValue$1(SecuritySchemeFlow, proto.flow);
|
|
1510
|
+
}
|
|
1511
|
+
if (proto.scopes) {
|
|
1512
|
+
m.scopes = Scopes.fromProto(proto.scopes);
|
|
1513
|
+
}
|
|
1514
|
+
if (proto.extensions) {
|
|
1515
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
1516
|
+
}
|
|
1517
|
+
return m;
|
|
1518
|
+
}
|
|
1519
|
+
constructor(kwargs) {
|
|
1520
|
+
if (!kwargs) {
|
|
1521
|
+
return;
|
|
1522
|
+
}
|
|
1523
|
+
Object.assign(this, kwargs);
|
|
1524
|
+
}
|
|
1525
|
+
toApiJson() {
|
|
1526
|
+
const toReturn = {};
|
|
1527
|
+
if (typeof this.type !== 'undefined') {
|
|
1528
|
+
toReturn['type'] = this.type;
|
|
1529
|
+
}
|
|
1530
|
+
if (typeof this.description !== 'undefined') {
|
|
1531
|
+
toReturn['description'] = this.description;
|
|
1532
|
+
}
|
|
1533
|
+
if (typeof this.name !== 'undefined') {
|
|
1534
|
+
toReturn['name'] = this.name;
|
|
1535
|
+
}
|
|
1536
|
+
if (typeof this.in !== 'undefined') {
|
|
1537
|
+
toReturn['in'] = this.in;
|
|
1538
|
+
}
|
|
1539
|
+
if (typeof this.flow !== 'undefined') {
|
|
1540
|
+
toReturn['flow'] = this.flow;
|
|
1541
|
+
}
|
|
1542
|
+
if (typeof this.authorizationUrl !== 'undefined') {
|
|
1543
|
+
toReturn['authorizationUrl'] = this.authorizationUrl;
|
|
1544
|
+
}
|
|
1545
|
+
if (typeof this.tokenUrl !== 'undefined') {
|
|
1546
|
+
toReturn['tokenUrl'] = this.tokenUrl;
|
|
1547
|
+
}
|
|
1548
|
+
if (typeof this.scopes !== 'undefined' && this.scopes !== null) {
|
|
1549
|
+
toReturn['scopes'] = 'toApiJson' in this.scopes ? this.scopes.toApiJson() : this.scopes;
|
|
1550
|
+
}
|
|
1551
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1552
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
307
1553
|
}
|
|
308
1554
|
return toReturn;
|
|
309
1555
|
}
|
|
310
1556
|
}
|
|
311
|
-
class
|
|
1557
|
+
class Swagger {
|
|
312
1558
|
static fromProto(proto) {
|
|
313
|
-
let m = new
|
|
1559
|
+
let m = new Swagger();
|
|
314
1560
|
m = Object.assign(m, proto);
|
|
315
|
-
if (proto.
|
|
316
|
-
m.
|
|
1561
|
+
if (proto.info) {
|
|
1562
|
+
m.info = Info.fromProto(proto.info);
|
|
317
1563
|
}
|
|
318
|
-
if (proto.
|
|
319
|
-
m.
|
|
1564
|
+
if (proto.schemes) {
|
|
1565
|
+
m.schemes = proto.schemes.map((v) => enumStringToValue$1(Scheme, v));
|
|
320
1566
|
}
|
|
321
|
-
if (proto.
|
|
322
|
-
m.
|
|
1567
|
+
if (proto.responses) {
|
|
1568
|
+
m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response.fromProto(proto.responses[k]); return obj; }, {});
|
|
323
1569
|
}
|
|
324
|
-
if (proto.
|
|
325
|
-
m.
|
|
1570
|
+
if (proto.securityDefinitions) {
|
|
1571
|
+
m.securityDefinitions = SecurityDefinitions.fromProto(proto.securityDefinitions);
|
|
1572
|
+
}
|
|
1573
|
+
if (proto.security) {
|
|
1574
|
+
m.security = proto.security.map(SecurityRequirement.fromProto);
|
|
1575
|
+
}
|
|
1576
|
+
if (proto.tags) {
|
|
1577
|
+
m.tags = proto.tags.map(Tag.fromProto);
|
|
1578
|
+
}
|
|
1579
|
+
if (proto.externalDocs) {
|
|
1580
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
1581
|
+
}
|
|
1582
|
+
if (proto.extensions) {
|
|
1583
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
326
1584
|
}
|
|
327
1585
|
return m;
|
|
328
1586
|
}
|
|
@@ -334,26 +1592,79 @@ class FilterValue {
|
|
|
334
1592
|
}
|
|
335
1593
|
toApiJson() {
|
|
336
1594
|
const toReturn = {};
|
|
337
|
-
if (typeof this.
|
|
338
|
-
toReturn['
|
|
1595
|
+
if (typeof this.swagger !== 'undefined') {
|
|
1596
|
+
toReturn['swagger'] = this.swagger;
|
|
339
1597
|
}
|
|
340
|
-
if (typeof this.
|
|
341
|
-
toReturn['
|
|
1598
|
+
if (typeof this.info !== 'undefined' && this.info !== null) {
|
|
1599
|
+
toReturn['info'] = 'toApiJson' in this.info ? this.info.toApiJson() : this.info;
|
|
342
1600
|
}
|
|
343
|
-
if (typeof this.
|
|
344
|
-
toReturn['
|
|
1601
|
+
if (typeof this.host !== 'undefined') {
|
|
1602
|
+
toReturn['host'] = this.host;
|
|
345
1603
|
}
|
|
346
|
-
if (typeof this.
|
|
347
|
-
toReturn['
|
|
1604
|
+
if (typeof this.basePath !== 'undefined') {
|
|
1605
|
+
toReturn['basePath'] = this.basePath;
|
|
348
1606
|
}
|
|
349
|
-
if (typeof this.
|
|
350
|
-
toReturn['
|
|
1607
|
+
if (typeof this.schemes !== 'undefined') {
|
|
1608
|
+
toReturn['schemes'] = this.schemes;
|
|
351
1609
|
}
|
|
352
|
-
if (typeof this.
|
|
353
|
-
toReturn['
|
|
1610
|
+
if (typeof this.consumes !== 'undefined') {
|
|
1611
|
+
toReturn['consumes'] = this.consumes;
|
|
354
1612
|
}
|
|
355
|
-
if (typeof this.
|
|
356
|
-
toReturn['
|
|
1613
|
+
if (typeof this.produces !== 'undefined') {
|
|
1614
|
+
toReturn['produces'] = this.produces;
|
|
1615
|
+
}
|
|
1616
|
+
if (typeof this.responses !== 'undefined' && this.responses !== null) {
|
|
1617
|
+
toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
|
|
1618
|
+
}
|
|
1619
|
+
if (typeof this.securityDefinitions !== 'undefined' && this.securityDefinitions !== null) {
|
|
1620
|
+
toReturn['securityDefinitions'] = 'toApiJson' in this.securityDefinitions ? this.securityDefinitions.toApiJson() : this.securityDefinitions;
|
|
1621
|
+
}
|
|
1622
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
1623
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
1624
|
+
}
|
|
1625
|
+
if (typeof this.tags !== 'undefined' && this.tags !== null) {
|
|
1626
|
+
toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;
|
|
1627
|
+
}
|
|
1628
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
1629
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
1630
|
+
}
|
|
1631
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1632
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
1633
|
+
}
|
|
1634
|
+
return toReturn;
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
class Tag {
|
|
1638
|
+
static fromProto(proto) {
|
|
1639
|
+
let m = new Tag();
|
|
1640
|
+
m = Object.assign(m, proto);
|
|
1641
|
+
if (proto.externalDocs) {
|
|
1642
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
1643
|
+
}
|
|
1644
|
+
if (proto.extensions) {
|
|
1645
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
1646
|
+
}
|
|
1647
|
+
return m;
|
|
1648
|
+
}
|
|
1649
|
+
constructor(kwargs) {
|
|
1650
|
+
if (!kwargs) {
|
|
1651
|
+
return;
|
|
1652
|
+
}
|
|
1653
|
+
Object.assign(this, kwargs);
|
|
1654
|
+
}
|
|
1655
|
+
toApiJson() {
|
|
1656
|
+
const toReturn = {};
|
|
1657
|
+
if (typeof this.name !== 'undefined') {
|
|
1658
|
+
toReturn['name'] = this.name;
|
|
1659
|
+
}
|
|
1660
|
+
if (typeof this.description !== 'undefined') {
|
|
1661
|
+
toReturn['description'] = this.description;
|
|
1662
|
+
}
|
|
1663
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
1664
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
1665
|
+
}
|
|
1666
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
1667
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
357
1668
|
}
|
|
358
1669
|
return toReturn;
|
|
359
1670
|
}
|
|
@@ -394,6 +1705,58 @@ class ActionParameters {
|
|
|
394
1705
|
return toReturn;
|
|
395
1706
|
}
|
|
396
1707
|
}
|
|
1708
|
+
class ConsentField {
|
|
1709
|
+
static fromProto(proto) {
|
|
1710
|
+
let m = new ConsentField();
|
|
1711
|
+
m = Object.assign(m, proto);
|
|
1712
|
+
if (proto.type) {
|
|
1713
|
+
m.type = enumStringToValue(ConsentType, proto.type);
|
|
1714
|
+
}
|
|
1715
|
+
return m;
|
|
1716
|
+
}
|
|
1717
|
+
constructor(kwargs) {
|
|
1718
|
+
if (!kwargs) {
|
|
1719
|
+
return;
|
|
1720
|
+
}
|
|
1721
|
+
Object.assign(this, kwargs);
|
|
1722
|
+
}
|
|
1723
|
+
toApiJson() {
|
|
1724
|
+
const toReturn = {};
|
|
1725
|
+
if (typeof this.type !== 'undefined') {
|
|
1726
|
+
toReturn['type'] = this.type;
|
|
1727
|
+
}
|
|
1728
|
+
if (typeof this.text !== 'undefined') {
|
|
1729
|
+
toReturn['text'] = this.text;
|
|
1730
|
+
}
|
|
1731
|
+
return toReturn;
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
class ConsentFieldConfig {
|
|
1735
|
+
static fromProto(proto) {
|
|
1736
|
+
let m = new ConsentFieldConfig();
|
|
1737
|
+
m = Object.assign(m, proto);
|
|
1738
|
+
if (proto.consent) {
|
|
1739
|
+
m.consent = proto.consent.map(ConsentField.fromProto);
|
|
1740
|
+
}
|
|
1741
|
+
return m;
|
|
1742
|
+
}
|
|
1743
|
+
constructor(kwargs) {
|
|
1744
|
+
if (!kwargs) {
|
|
1745
|
+
return;
|
|
1746
|
+
}
|
|
1747
|
+
Object.assign(this, kwargs);
|
|
1748
|
+
}
|
|
1749
|
+
toApiJson() {
|
|
1750
|
+
const toReturn = {};
|
|
1751
|
+
if (typeof this.headerText !== 'undefined') {
|
|
1752
|
+
toReturn['headerText'] = this.headerText;
|
|
1753
|
+
}
|
|
1754
|
+
if (typeof this.consent !== 'undefined' && this.consent !== null) {
|
|
1755
|
+
toReturn['consent'] = 'toApiJson' in this.consent ? this.consent.toApiJson() : this.consent;
|
|
1756
|
+
}
|
|
1757
|
+
return toReturn;
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
397
1760
|
class CreateFormFromTemplateRequest {
|
|
398
1761
|
static fromProto(proto) {
|
|
399
1762
|
let m = new CreateFormFromTemplateRequest();
|
|
@@ -834,6 +2197,9 @@ class ListFormsResponseFormRow {
|
|
|
834
2197
|
if (proto.numberOfSubmissions) {
|
|
835
2198
|
m.numberOfSubmissions = parseInt(proto.numberOfSubmissions, 10);
|
|
836
2199
|
}
|
|
2200
|
+
if (proto.recentProcessingStatus) {
|
|
2201
|
+
m.recentProcessingStatus = enumStringToValue(ListFormsResponseProcessResultStatus, proto.recentProcessingStatus);
|
|
2202
|
+
}
|
|
837
2203
|
return m;
|
|
838
2204
|
}
|
|
839
2205
|
constructor(kwargs) {
|
|
@@ -850,6 +2216,9 @@ class ListFormsResponseFormRow {
|
|
|
850
2216
|
if (typeof this.numberOfSubmissions !== 'undefined') {
|
|
851
2217
|
toReturn['numberOfSubmissions'] = this.numberOfSubmissions;
|
|
852
2218
|
}
|
|
2219
|
+
if (typeof this.recentProcessingStatus !== 'undefined') {
|
|
2220
|
+
toReturn['recentProcessingStatus'] = this.recentProcessingStatus;
|
|
2221
|
+
}
|
|
853
2222
|
return toReturn;
|
|
854
2223
|
}
|
|
855
2224
|
}
|
|
@@ -1424,6 +2793,9 @@ class MappedField {
|
|
|
1424
2793
|
if (proto.systemDefined) {
|
|
1425
2794
|
m.systemDefined = SystemDefined.fromProto(proto.systemDefined);
|
|
1426
2795
|
}
|
|
2796
|
+
if (proto.consentConfig) {
|
|
2797
|
+
m.consentConfig = ConsentFieldConfig.fromProto(proto.consentConfig);
|
|
2798
|
+
}
|
|
1427
2799
|
return m;
|
|
1428
2800
|
}
|
|
1429
2801
|
constructor(kwargs) {
|
|
@@ -1455,6 +2827,9 @@ class MappedField {
|
|
|
1455
2827
|
if (typeof this.readonly !== 'undefined') {
|
|
1456
2828
|
toReturn['readonly'] = this.readonly;
|
|
1457
2829
|
}
|
|
2830
|
+
if (typeof this.consentConfig !== 'undefined' && this.consentConfig !== null) {
|
|
2831
|
+
toReturn['consentConfig'] = 'toApiJson' in this.consentConfig ? this.consentConfig.toApiJson() : this.consentConfig;
|
|
2832
|
+
}
|
|
1458
2833
|
return toReturn;
|
|
1459
2834
|
}
|
|
1460
2835
|
}
|
|
@@ -2433,5 +3808,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2433
3808
|
* Generated bundle index. Do not edit.
|
|
2434
3809
|
*/
|
|
2435
3810
|
|
|
2436
|
-
export { ActionParameters, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionProcessResult, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, FormSubmissionResultError, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, HostService, JsonSchemaLibrary, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MappedField, NextParameters, PagedRequestOptions, PagedResponseMetadata, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, SectionAction, SectionConfig, StringList, Styles, SubmitConditionParameters, SystemDefined, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
3811
|
+
export { Access, ActionParameters, ConsentField, ConsentFieldConfig, ConsentType, Contact, CreateFormFromTemplateRequest, CreateFormFromTemplateResponse, CreateFormRequest, CreateFormResponse, CreateFormSubmissionRequest, CreateFormSubmissionResponse, DateDefault, DeleteFormRequest, EnumSchema, EnumSchemaExtensionsEntry, ExternalDocumentation, FieldOption, FieldType, FieldValue, Filter, FilterGroup, FilterGroupOperator, FilterOperator, FilterType, FilterValue, FormConfig, FormConfigField, FormConfigFieldSchema, FormConfigTemplateSetupSettings, FormCreationStatus, FormSubmission, FormSubmissionApiService, FormSubmissionProcessResult, FormSubmissionProcessResultErrorType, FormSubmissionProcessResultStatus, FormSubmissionResultError, FormSubmissionSubmittedValue, FormSubmissionsExportService, FormTemplateApiService, FormsApiService, GenerateCustomCSSRequest, GenerateCustomCSSResponse, GetCreateFormFromTemplateStatusRequest, GetCreateFormFromTemplateStatusResponse, GetEmbedCodeRequest, GetEmbedCodeResponse, GetFormRequest, GetFormResponse, GetMultiFormSubmissionRequest, GetMultiFormSubmissionResponse, GetMultiFormVersionsListRequest, GetMultiFormVersionsListResponse, GetMultiFormVersionsListResponseVersions, GetMultiRequest, GetMultiRequestFormConfigIdentifier, GetMultiResponse, Header, HeaderParameter, HeaderParameterType, HostService, Info, InfoExtensionsEntry, JSONSchema, JSONSchemaExtensionsEntry, JSONSchemaFieldConfiguration, JSONSchemaJSONSchemaSimpleTypes, JsonSchemaLibrary, License, ListFormSubmissionRequest, ListFormSubmissionResponse, ListFormsRequest, ListFormsRequestFilters, ListFormsResponse, ListFormsResponseFormRow, ListFormsResponseProcessResultStatus, ListMappedFieldSchemaRequest, ListMappedFieldSchemaResponse, MCPOptions, MappedField, NextParameters, Operation, OperationExtensionsEntry, OperationResponsesEntry, PagedRequestOptions, PagedResponseMetadata, Parameters, Phone, PreviewFormRequest, PreviewFormResponse, RecoverFormRequest, RecoverFormResponse, RenderFormRequest, RenderFormResponse, RenderFormResponseDefaultValues, RenderFormResponsePreFillByUrlQueryParameter, ReprocessStatus, ReprocessSubmissionRequest, ReprocessSubmissionResponse, Response, ResponseExamplesEntry, ResponseExtensionsEntry, ResponseHeadersEntry, Schema, Scheme, Scopes, ScopesScopeEntry, SectionAction, SectionConfig, SecurityDefinitions, SecurityDefinitionsSecurityEntry, SecurityRequirement, SecurityRequirementSecurityRequirementEntry, SecurityRequirementSecurityRequirementValue, SecurityScheme, SecuritySchemeExtensionsEntry, SecuritySchemeFlow, SecuritySchemeIn, SecuritySchemeType, StringList, Styles, SubmitConditionParameters, Swagger, SwaggerExtensionsEntry, SwaggerResponsesEntry, SystemDefined, Tag, TagExtensionsEntry, UnmappedField, UpdateFormRequest, UpdateFormResponse, UserFormSubmission, ValidationError };
|
|
2437
3812
|
//# sourceMappingURL=vendasta-forms_microservice.mjs.map
|