@vendasta/social-posts 5.49.0 → 5.50.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-v2.enum.mjs +8 -1
- package/esm2020/lib/_internal/enums/index.mjs +5 -4
- package/esm2020/lib/_internal/enums/openapiv2.enum.mjs +57 -0
- package/esm2020/lib/_internal/interfaces/api-v2.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/api-v2.mjs +71 -25
- package/esm2020/lib/_internal/objects/index.mjs +5 -4
- package/esm2020/lib/_internal/objects/openapiv2.mjs +1191 -0
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -2
- package/esm2020/lib/social-post-v2.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +1469 -163
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +1469 -163
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/enums/api-v2.enum.d.ts +6 -0
- package/lib/_internal/enums/index.d.ts +4 -3
- package/lib/_internal/enums/openapiv2.enum.d.ts +43 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +15 -8
- package/lib/_internal/interfaces/index.d.ts +4 -3
- package/lib/_internal/interfaces/openapiv2.interface.d.ts +246 -0
- package/lib/_internal/objects/api-v2.d.ts +28 -15
- package/lib/_internal/objects/index.d.ts +4 -3
- package/lib/_internal/objects/openapiv2.d.ts +354 -0
- package/lib/_internal/social-posts-v2.api.service.d.ts +3 -2
- package/lib/social-post-v2.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ import { of } from 'rxjs';
|
|
|
4
4
|
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
5
5
|
import { map } from 'rxjs/operators';
|
|
6
6
|
|
|
7
|
-
function enumStringToValue$
|
|
7
|
+
function enumStringToValue$r(enumRef, value) {
|
|
8
8
|
if (typeof value === 'number') {
|
|
9
9
|
return value;
|
|
10
10
|
}
|
|
@@ -31,7 +31,7 @@ class FieldMask {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
function enumStringToValue$
|
|
34
|
+
function enumStringToValue$q(enumRef, value) {
|
|
35
35
|
if (typeof value === 'number') {
|
|
36
36
|
return value;
|
|
37
37
|
}
|
|
@@ -203,6 +203,61 @@ var NamespaceType;
|
|
|
203
203
|
NamespaceType[NamespaceType["ACCOUNT_GROUP"] = 2] = "ACCOUNT_GROUP";
|
|
204
204
|
})(NamespaceType || (NamespaceType = {}));
|
|
205
205
|
|
|
206
|
+
// *********************************
|
|
207
|
+
// Code generated by sdkgen
|
|
208
|
+
// DO NOT EDIT!.
|
|
209
|
+
//
|
|
210
|
+
// Enums.
|
|
211
|
+
// *********************************
|
|
212
|
+
var SecuritySchemeFlow;
|
|
213
|
+
(function (SecuritySchemeFlow) {
|
|
214
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_INVALID"] = 0] = "FLOW_INVALID";
|
|
215
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_IMPLICIT"] = 1] = "FLOW_IMPLICIT";
|
|
216
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_PASSWORD"] = 2] = "FLOW_PASSWORD";
|
|
217
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_APPLICATION"] = 3] = "FLOW_APPLICATION";
|
|
218
|
+
SecuritySchemeFlow[SecuritySchemeFlow["FLOW_ACCESS_CODE"] = 4] = "FLOW_ACCESS_CODE";
|
|
219
|
+
})(SecuritySchemeFlow || (SecuritySchemeFlow = {}));
|
|
220
|
+
var SecuritySchemeIn;
|
|
221
|
+
(function (SecuritySchemeIn) {
|
|
222
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_INVALID"] = 0] = "IN_INVALID";
|
|
223
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_QUERY"] = 1] = "IN_QUERY";
|
|
224
|
+
SecuritySchemeIn[SecuritySchemeIn["IN_HEADER"] = 2] = "IN_HEADER";
|
|
225
|
+
})(SecuritySchemeIn || (SecuritySchemeIn = {}));
|
|
226
|
+
var JSONSchemaJSONSchemaSimpleTypes;
|
|
227
|
+
(function (JSONSchemaJSONSchemaSimpleTypes) {
|
|
228
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["UNKNOWN"] = 0] = "UNKNOWN";
|
|
229
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["ARRAY"] = 1] = "ARRAY";
|
|
230
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["BOOLEAN"] = 2] = "BOOLEAN";
|
|
231
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["INTEGER"] = 3] = "INTEGER";
|
|
232
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NULL"] = 4] = "NULL";
|
|
233
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["NUMBER"] = 5] = "NUMBER";
|
|
234
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["OBJECT"] = 6] = "OBJECT";
|
|
235
|
+
JSONSchemaJSONSchemaSimpleTypes[JSONSchemaJSONSchemaSimpleTypes["STRING"] = 7] = "STRING";
|
|
236
|
+
})(JSONSchemaJSONSchemaSimpleTypes || (JSONSchemaJSONSchemaSimpleTypes = {}));
|
|
237
|
+
var Scheme;
|
|
238
|
+
(function (Scheme) {
|
|
239
|
+
Scheme[Scheme["UNKNOWN"] = 0] = "UNKNOWN";
|
|
240
|
+
Scheme[Scheme["HTTP"] = 1] = "HTTP";
|
|
241
|
+
Scheme[Scheme["HTTPS"] = 2] = "HTTPS";
|
|
242
|
+
Scheme[Scheme["WS"] = 3] = "WS";
|
|
243
|
+
Scheme[Scheme["WSS"] = 4] = "WSS";
|
|
244
|
+
})(Scheme || (Scheme = {}));
|
|
245
|
+
var HeaderParameterType;
|
|
246
|
+
(function (HeaderParameterType) {
|
|
247
|
+
HeaderParameterType[HeaderParameterType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
248
|
+
HeaderParameterType[HeaderParameterType["STRING"] = 1] = "STRING";
|
|
249
|
+
HeaderParameterType[HeaderParameterType["NUMBER"] = 2] = "NUMBER";
|
|
250
|
+
HeaderParameterType[HeaderParameterType["INTEGER"] = 3] = "INTEGER";
|
|
251
|
+
HeaderParameterType[HeaderParameterType["BOOLEAN"] = 4] = "BOOLEAN";
|
|
252
|
+
})(HeaderParameterType || (HeaderParameterType = {}));
|
|
253
|
+
var SecuritySchemeType;
|
|
254
|
+
(function (SecuritySchemeType) {
|
|
255
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_INVALID"] = 0] = "TYPE_INVALID";
|
|
256
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_BASIC"] = 1] = "TYPE_BASIC";
|
|
257
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_API_KEY"] = 2] = "TYPE_API_KEY";
|
|
258
|
+
SecuritySchemeType[SecuritySchemeType["TYPE_OAUTH2"] = 3] = "TYPE_OAUTH2";
|
|
259
|
+
})(SecuritySchemeType || (SecuritySchemeType = {}));
|
|
260
|
+
|
|
206
261
|
// *********************************
|
|
207
262
|
// Code generated by sdkgen
|
|
208
263
|
// DO NOT EDIT!.
|
|
@@ -329,6 +384,13 @@ var Tone;
|
|
|
329
384
|
Tone[Tone["PERSUASIVE"] = 9] = "PERSUASIVE";
|
|
330
385
|
Tone[Tone["EMPATHETIC"] = 10] = "EMPATHETIC";
|
|
331
386
|
})(Tone || (Tone = {}));
|
|
387
|
+
var XSubscriptionType;
|
|
388
|
+
(function (XSubscriptionType) {
|
|
389
|
+
XSubscriptionType[XSubscriptionType["X_SUBSCRIPTION_TYPE_INVALID"] = 0] = "X_SUBSCRIPTION_TYPE_INVALID";
|
|
390
|
+
XSubscriptionType[XSubscriptionType["X_SUBSCRIPTION_TYPE_BASIC"] = 1] = "X_SUBSCRIPTION_TYPE_BASIC";
|
|
391
|
+
XSubscriptionType[XSubscriptionType["X_SUBSCRIPTION_TYPE_PREMIUM"] = 2] = "X_SUBSCRIPTION_TYPE_PREMIUM";
|
|
392
|
+
XSubscriptionType[XSubscriptionType["X_SUBSCRIPTION_TYPE_PREMIUM_PLUS"] = 3] = "X_SUBSCRIPTION_TYPE_PREMIUM_PLUS";
|
|
393
|
+
})(XSubscriptionType || (XSubscriptionType = {}));
|
|
332
394
|
|
|
333
395
|
// *********************************
|
|
334
396
|
// Code generated by sdkgen
|
|
@@ -502,7 +564,7 @@ var ImageStyle;
|
|
|
502
564
|
// Enums Index.
|
|
503
565
|
// *********************************
|
|
504
566
|
|
|
505
|
-
function enumStringToValue$
|
|
567
|
+
function enumStringToValue$p(enumRef, value) {
|
|
506
568
|
if (typeof value === 'number') {
|
|
507
569
|
return value;
|
|
508
570
|
}
|
|
@@ -574,7 +636,7 @@ class CallToAction {
|
|
|
574
636
|
let m = new CallToAction();
|
|
575
637
|
m = Object.assign(m, proto);
|
|
576
638
|
if (proto.actionType) {
|
|
577
|
-
m.actionType = enumStringToValue$
|
|
639
|
+
m.actionType = enumStringToValue$p(CallToActionCallToActionType, proto.actionType);
|
|
578
640
|
}
|
|
579
641
|
return m;
|
|
580
642
|
}
|
|
@@ -812,7 +874,7 @@ class PostTemplate {
|
|
|
812
874
|
m.metaData = proto.metaData.map(MetaData.fromProto);
|
|
813
875
|
}
|
|
814
876
|
if (proto.postType) {
|
|
815
|
-
m.postType = enumStringToValue$
|
|
877
|
+
m.postType = enumStringToValue$p(PostType, proto.postType);
|
|
816
878
|
}
|
|
817
879
|
if (proto.youtubeCustomization) {
|
|
818
880
|
m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
|
|
@@ -895,7 +957,7 @@ class SSIDPostType {
|
|
|
895
957
|
let m = new SSIDPostType();
|
|
896
958
|
m = Object.assign(m, proto);
|
|
897
959
|
if (proto.postType) {
|
|
898
|
-
m.postType = enumStringToValue$
|
|
960
|
+
m.postType = enumStringToValue$p(PostType, proto.postType);
|
|
899
961
|
}
|
|
900
962
|
return m;
|
|
901
963
|
}
|
|
@@ -979,10 +1041,10 @@ class SocialPost {
|
|
|
979
1041
|
m.posted = new Date(proto.posted);
|
|
980
1042
|
}
|
|
981
1043
|
if (proto.deletionStatus) {
|
|
982
|
-
m.deletionStatus = enumStringToValue$
|
|
1044
|
+
m.deletionStatus = enumStringToValue$p(SocialPostDeletionStatus, proto.deletionStatus);
|
|
983
1045
|
}
|
|
984
1046
|
if (proto.service) {
|
|
985
|
-
m.service = enumStringToValue$
|
|
1047
|
+
m.service = enumStringToValue$p(SocialPostService, proto.service);
|
|
986
1048
|
}
|
|
987
1049
|
if (proto.created) {
|
|
988
1050
|
m.created = new Date(proto.created);
|
|
@@ -991,7 +1053,7 @@ class SocialPost {
|
|
|
991
1053
|
m.scheduled = new Date(proto.scheduled);
|
|
992
1054
|
}
|
|
993
1055
|
if (proto.status) {
|
|
994
|
-
m.status = enumStringToValue$
|
|
1056
|
+
m.status = enumStringToValue$p(PostingStatus, proto.status);
|
|
995
1057
|
}
|
|
996
1058
|
if (proto.event) {
|
|
997
1059
|
m.event = Event.fromProto(proto.event);
|
|
@@ -1003,7 +1065,7 @@ class SocialPost {
|
|
|
1003
1065
|
m.error = Error.fromProto(proto.error);
|
|
1004
1066
|
}
|
|
1005
1067
|
if (proto.postType) {
|
|
1006
|
-
m.postType = enumStringToValue$
|
|
1068
|
+
m.postType = enumStringToValue$p(PostType, proto.postType);
|
|
1007
1069
|
}
|
|
1008
1070
|
if (proto.mediaEntries) {
|
|
1009
1071
|
m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
|
|
@@ -1204,7 +1266,7 @@ class YoutubeCustomization {
|
|
|
1204
1266
|
let m = new YoutubeCustomization();
|
|
1205
1267
|
m = Object.assign(m, proto);
|
|
1206
1268
|
if (proto.privacyStatus) {
|
|
1207
|
-
m.privacyStatus = enumStringToValue$
|
|
1269
|
+
m.privacyStatus = enumStringToValue$p(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);
|
|
1208
1270
|
}
|
|
1209
1271
|
return m;
|
|
1210
1272
|
}
|
|
@@ -1226,7 +1288,7 @@ class YoutubeCustomization {
|
|
|
1226
1288
|
}
|
|
1227
1289
|
}
|
|
1228
1290
|
|
|
1229
|
-
function enumStringToValue$
|
|
1291
|
+
function enumStringToValue$o(enumRef, value) {
|
|
1230
1292
|
if (typeof value === 'number') {
|
|
1231
1293
|
return value;
|
|
1232
1294
|
}
|
|
@@ -1367,7 +1429,7 @@ class MultilocationPost {
|
|
|
1367
1429
|
m.postCategory = MLPostCategory.fromProto(proto.postCategory);
|
|
1368
1430
|
}
|
|
1369
1431
|
if (proto.postState) {
|
|
1370
|
-
m.postState = enumStringToValue$
|
|
1432
|
+
m.postState = enumStringToValue$o(MLPostState, proto.postState);
|
|
1371
1433
|
}
|
|
1372
1434
|
if (proto.postCustomizationByLocation) {
|
|
1373
1435
|
m.postCustomizationByLocation = PostCustomizationByLocation.fromProto(proto.postCustomizationByLocation);
|
|
@@ -1551,7 +1613,7 @@ class PostCustomizationByLocation {
|
|
|
1551
1613
|
let m = new PostCustomizationByLocation();
|
|
1552
1614
|
m = Object.assign(m, proto);
|
|
1553
1615
|
if (proto.customizationStatus) {
|
|
1554
|
-
m.customizationStatus = enumStringToValue$
|
|
1616
|
+
m.customizationStatus = enumStringToValue$o(CustomizationStatus, proto.customizationStatus);
|
|
1555
1617
|
}
|
|
1556
1618
|
return m;
|
|
1557
1619
|
}
|
|
@@ -1605,7 +1667,7 @@ class PostEvent {
|
|
|
1605
1667
|
}
|
|
1606
1668
|
}
|
|
1607
1669
|
|
|
1608
|
-
function enumStringToValue$
|
|
1670
|
+
function enumStringToValue$n(enumRef, value) {
|
|
1609
1671
|
if (typeof value === 'number') {
|
|
1610
1672
|
return value;
|
|
1611
1673
|
}
|
|
@@ -1659,7 +1721,7 @@ class PexelsImage {
|
|
|
1659
1721
|
}
|
|
1660
1722
|
}
|
|
1661
1723
|
|
|
1662
|
-
function enumStringToValue$
|
|
1724
|
+
function enumStringToValue$m(enumRef, value) {
|
|
1663
1725
|
if (typeof value === 'number') {
|
|
1664
1726
|
return value;
|
|
1665
1727
|
}
|
|
@@ -1800,7 +1862,7 @@ class PixabayImage {
|
|
|
1800
1862
|
}
|
|
1801
1863
|
}
|
|
1802
1864
|
|
|
1803
|
-
function enumStringToValue$
|
|
1865
|
+
function enumStringToValue$l(enumRef, value) {
|
|
1804
1866
|
if (typeof value === 'number') {
|
|
1805
1867
|
return value;
|
|
1806
1868
|
}
|
|
@@ -2139,7 +2201,7 @@ class YoutubePostStats {
|
|
|
2139
2201
|
}
|
|
2140
2202
|
}
|
|
2141
2203
|
|
|
2142
|
-
function enumStringToValue$
|
|
2204
|
+
function enumStringToValue$k(enumRef, value) {
|
|
2143
2205
|
if (typeof value === 'number') {
|
|
2144
2206
|
return value;
|
|
2145
2207
|
}
|
|
@@ -2245,7 +2307,7 @@ class TenorMediaObject {
|
|
|
2245
2307
|
}
|
|
2246
2308
|
}
|
|
2247
2309
|
|
|
2248
|
-
function enumStringToValue$
|
|
2310
|
+
function enumStringToValue$j(enumRef, value) {
|
|
2249
2311
|
if (typeof value === 'number') {
|
|
2250
2312
|
return value;
|
|
2251
2313
|
}
|
|
@@ -2294,7 +2356,7 @@ class BulkCreateMultilocationPostResponse {
|
|
|
2294
2356
|
let m = new BulkCreateMultilocationPostResponse();
|
|
2295
2357
|
m = Object.assign(m, proto);
|
|
2296
2358
|
if (proto.status) {
|
|
2297
|
-
m.status = enumStringToValue$
|
|
2359
|
+
m.status = enumStringToValue$j(BulkPostStatus, proto.status);
|
|
2298
2360
|
}
|
|
2299
2361
|
if (proto.error) {
|
|
2300
2362
|
m.error = proto.error.map(MultilocationPostError.fromProto);
|
|
@@ -2453,7 +2515,7 @@ class CreatePostTemplateRequest {
|
|
|
2453
2515
|
m.metaData = proto.metaData.map(MetaData.fromProto);
|
|
2454
2516
|
}
|
|
2455
2517
|
if (proto.postType) {
|
|
2456
|
-
m.postType = enumStringToValue$
|
|
2518
|
+
m.postType = enumStringToValue$j(PostType, proto.postType);
|
|
2457
2519
|
}
|
|
2458
2520
|
if (proto.youtubeCustomization) {
|
|
2459
2521
|
m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
|
|
@@ -3858,7 +3920,7 @@ class RemoveFromMultilocationPostRequest {
|
|
|
3858
3920
|
let m = new RemoveFromMultilocationPostRequest();
|
|
3859
3921
|
m = Object.assign(m, proto);
|
|
3860
3922
|
if (proto.reason) {
|
|
3861
|
-
m.reason = enumStringToValue$
|
|
3923
|
+
m.reason = enumStringToValue$j(RemoveReason, proto.reason);
|
|
3862
3924
|
}
|
|
3863
3925
|
if (proto.locations) {
|
|
3864
3926
|
m.locations = proto.locations.map(Location.fromProto);
|
|
@@ -4081,10 +4143,10 @@ class SuggestMessageRequest {
|
|
|
4081
4143
|
let m = new SuggestMessageRequest();
|
|
4082
4144
|
m = Object.assign(m, proto);
|
|
4083
4145
|
if (proto.length) {
|
|
4084
|
-
m.length = enumStringToValue$
|
|
4146
|
+
m.length = enumStringToValue$j(MessageLength, proto.length);
|
|
4085
4147
|
}
|
|
4086
4148
|
if (proto.type) {
|
|
4087
|
-
m.type = enumStringToValue$
|
|
4149
|
+
m.type = enumStringToValue$j(TemplateType, proto.type);
|
|
4088
4150
|
}
|
|
4089
4151
|
if (proto.metadata) {
|
|
4090
4152
|
m.metadata = proto.metadata.map(MetaData.fromProto);
|
|
@@ -4151,7 +4213,7 @@ class UpdatePostTemplateRequest {
|
|
|
4151
4213
|
m.metaData = proto.metaData.map(MetaData.fromProto);
|
|
4152
4214
|
}
|
|
4153
4215
|
if (proto.postType) {
|
|
4154
|
-
m.postType = enumStringToValue$
|
|
4216
|
+
m.postType = enumStringToValue$j(PostType, proto.postType);
|
|
4155
4217
|
}
|
|
4156
4218
|
if (proto.youtubeCustomization) {
|
|
4157
4219
|
m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
|
|
@@ -4218,7 +4280,7 @@ class UpdatePostTemplateRequest {
|
|
|
4218
4280
|
}
|
|
4219
4281
|
}
|
|
4220
4282
|
|
|
4221
|
-
function enumStringToValue$
|
|
4283
|
+
function enumStringToValue$i(enumRef, value) {
|
|
4222
4284
|
if (typeof value === 'number') {
|
|
4223
4285
|
return value;
|
|
4224
4286
|
}
|
|
@@ -4415,7 +4477,7 @@ class SortBy {
|
|
|
4415
4477
|
let m = new SortBy();
|
|
4416
4478
|
m = Object.assign(m, proto);
|
|
4417
4479
|
if (proto.sortDirection) {
|
|
4418
|
-
m.sortDirection = enumStringToValue$
|
|
4480
|
+
m.sortDirection = enumStringToValue$i(SortBySortDirection, proto.sortDirection);
|
|
4419
4481
|
}
|
|
4420
4482
|
return m;
|
|
4421
4483
|
}
|
|
@@ -4437,7 +4499,7 @@ class SortBy {
|
|
|
4437
4499
|
}
|
|
4438
4500
|
}
|
|
4439
4501
|
|
|
4440
|
-
function enumStringToValue$
|
|
4502
|
+
function enumStringToValue$h(enumRef, value) {
|
|
4441
4503
|
if (typeof value === 'number') {
|
|
4442
4504
|
return value;
|
|
4443
4505
|
}
|
|
@@ -4451,7 +4513,7 @@ class ListStockImagesRequest {
|
|
|
4451
4513
|
m.namespace = Namespace.fromProto(proto.namespace);
|
|
4452
4514
|
}
|
|
4453
4515
|
if (proto.imageSource) {
|
|
4454
|
-
m.imageSource = enumStringToValue$
|
|
4516
|
+
m.imageSource = enumStringToValue$h(ImageSource, proto.imageSource);
|
|
4455
4517
|
}
|
|
4456
4518
|
return m;
|
|
4457
4519
|
}
|
|
@@ -4524,7 +4586,7 @@ class Namespace {
|
|
|
4524
4586
|
let m = new Namespace();
|
|
4525
4587
|
m = Object.assign(m, proto);
|
|
4526
4588
|
if (proto.namespaceType) {
|
|
4527
|
-
m.namespaceType = enumStringToValue$
|
|
4589
|
+
m.namespaceType = enumStringToValue$h(NamespaceType, proto.namespaceType);
|
|
4528
4590
|
}
|
|
4529
4591
|
return m;
|
|
4530
4592
|
}
|
|
@@ -4545,12 +4607,1144 @@ class Namespace {
|
|
|
4545
4607
|
return toReturn;
|
|
4546
4608
|
}
|
|
4547
4609
|
}
|
|
4548
|
-
class StockImage {
|
|
4610
|
+
class StockImage {
|
|
4611
|
+
static fromProto(proto) {
|
|
4612
|
+
let m = new StockImage();
|
|
4613
|
+
m = Object.assign(m, proto);
|
|
4614
|
+
if (proto.source) {
|
|
4615
|
+
m.source = enumStringToValue$h(ImageSource, proto.source);
|
|
4616
|
+
}
|
|
4617
|
+
return m;
|
|
4618
|
+
}
|
|
4619
|
+
constructor(kwargs) {
|
|
4620
|
+
if (!kwargs) {
|
|
4621
|
+
return;
|
|
4622
|
+
}
|
|
4623
|
+
Object.assign(this, kwargs);
|
|
4624
|
+
}
|
|
4625
|
+
toApiJson() {
|
|
4626
|
+
const toReturn = {};
|
|
4627
|
+
if (typeof this.publicUrl !== 'undefined') {
|
|
4628
|
+
toReturn['publicUrl'] = this.publicUrl;
|
|
4629
|
+
}
|
|
4630
|
+
if (typeof this.imageId !== 'undefined') {
|
|
4631
|
+
toReturn['imageId'] = this.imageId;
|
|
4632
|
+
}
|
|
4633
|
+
if (typeof this.source !== 'undefined') {
|
|
4634
|
+
toReturn['source'] = this.source;
|
|
4635
|
+
}
|
|
4636
|
+
if (typeof this.photographerName !== 'undefined') {
|
|
4637
|
+
toReturn['photographerName'] = this.photographerName;
|
|
4638
|
+
}
|
|
4639
|
+
if (typeof this.photographerUrl !== 'undefined') {
|
|
4640
|
+
toReturn['photographerUrl'] = this.photographerUrl;
|
|
4641
|
+
}
|
|
4642
|
+
return toReturn;
|
|
4643
|
+
}
|
|
4644
|
+
}
|
|
4645
|
+
class StockImageError {
|
|
4646
|
+
static fromProto(proto) {
|
|
4647
|
+
let m = new StockImageError();
|
|
4648
|
+
m = Object.assign(m, proto);
|
|
4649
|
+
return m;
|
|
4650
|
+
}
|
|
4651
|
+
constructor(kwargs) {
|
|
4652
|
+
if (!kwargs) {
|
|
4653
|
+
return;
|
|
4654
|
+
}
|
|
4655
|
+
Object.assign(this, kwargs);
|
|
4656
|
+
}
|
|
4657
|
+
toApiJson() {
|
|
4658
|
+
const toReturn = {};
|
|
4659
|
+
if (typeof this.code !== 'undefined') {
|
|
4660
|
+
toReturn['code'] = this.code;
|
|
4661
|
+
}
|
|
4662
|
+
if (typeof this.message !== 'undefined') {
|
|
4663
|
+
toReturn['message'] = this.message;
|
|
4664
|
+
}
|
|
4665
|
+
return toReturn;
|
|
4666
|
+
}
|
|
4667
|
+
}
|
|
4668
|
+
|
|
4669
|
+
function enumStringToValue$g(enumRef, value) {
|
|
4670
|
+
if (typeof value === 'number') {
|
|
4671
|
+
return value;
|
|
4672
|
+
}
|
|
4673
|
+
return enumRef[value];
|
|
4674
|
+
}
|
|
4675
|
+
class BlogAuthor {
|
|
4676
|
+
static fromProto(proto) {
|
|
4677
|
+
let m = new BlogAuthor();
|
|
4678
|
+
m = Object.assign(m, proto);
|
|
4679
|
+
if (proto.id) {
|
|
4680
|
+
m.id = parseInt(proto.id, 10);
|
|
4681
|
+
}
|
|
4682
|
+
return m;
|
|
4683
|
+
}
|
|
4684
|
+
constructor(kwargs) {
|
|
4685
|
+
if (!kwargs) {
|
|
4686
|
+
return;
|
|
4687
|
+
}
|
|
4688
|
+
Object.assign(this, kwargs);
|
|
4689
|
+
}
|
|
4690
|
+
toApiJson() {
|
|
4691
|
+
const toReturn = {};
|
|
4692
|
+
if (typeof this.id !== 'undefined') {
|
|
4693
|
+
toReturn['id'] = this.id;
|
|
4694
|
+
}
|
|
4695
|
+
if (typeof this.name !== 'undefined') {
|
|
4696
|
+
toReturn['name'] = this.name;
|
|
4697
|
+
}
|
|
4698
|
+
return toReturn;
|
|
4699
|
+
}
|
|
4700
|
+
}
|
|
4701
|
+
class BlogCategory {
|
|
4702
|
+
static fromProto(proto) {
|
|
4703
|
+
let m = new BlogCategory();
|
|
4704
|
+
m = Object.assign(m, proto);
|
|
4705
|
+
if (proto.id) {
|
|
4706
|
+
m.id = parseInt(proto.id, 10);
|
|
4707
|
+
}
|
|
4708
|
+
return m;
|
|
4709
|
+
}
|
|
4710
|
+
constructor(kwargs) {
|
|
4711
|
+
if (!kwargs) {
|
|
4712
|
+
return;
|
|
4713
|
+
}
|
|
4714
|
+
Object.assign(this, kwargs);
|
|
4715
|
+
}
|
|
4716
|
+
toApiJson() {
|
|
4717
|
+
const toReturn = {};
|
|
4718
|
+
if (typeof this.id !== 'undefined') {
|
|
4719
|
+
toReturn['id'] = this.id;
|
|
4720
|
+
}
|
|
4721
|
+
if (typeof this.name !== 'undefined') {
|
|
4722
|
+
toReturn['name'] = this.name;
|
|
4723
|
+
}
|
|
4724
|
+
return toReturn;
|
|
4725
|
+
}
|
|
4726
|
+
}
|
|
4727
|
+
class BlogWebsiteDetails {
|
|
4728
|
+
static fromProto(proto) {
|
|
4729
|
+
let m = new BlogWebsiteDetails();
|
|
4730
|
+
m = Object.assign(m, proto);
|
|
4731
|
+
if (proto.categories) {
|
|
4732
|
+
m.categories = proto.categories.map(BlogCategory.fromProto);
|
|
4733
|
+
}
|
|
4734
|
+
if (proto.authors) {
|
|
4735
|
+
m.authors = proto.authors.map(BlogAuthor.fromProto);
|
|
4736
|
+
}
|
|
4737
|
+
return m;
|
|
4738
|
+
}
|
|
4739
|
+
constructor(kwargs) {
|
|
4740
|
+
if (!kwargs) {
|
|
4741
|
+
return;
|
|
4742
|
+
}
|
|
4743
|
+
Object.assign(this, kwargs);
|
|
4744
|
+
}
|
|
4745
|
+
toApiJson() {
|
|
4746
|
+
const toReturn = {};
|
|
4747
|
+
if (typeof this.socialServiceId !== 'undefined') {
|
|
4748
|
+
toReturn['socialServiceId'] = this.socialServiceId;
|
|
4749
|
+
}
|
|
4750
|
+
if (typeof this.siteUrl !== 'undefined') {
|
|
4751
|
+
toReturn['siteUrl'] = this.siteUrl;
|
|
4752
|
+
}
|
|
4753
|
+
if (typeof this.isSiteActive !== 'undefined') {
|
|
4754
|
+
toReturn['isSiteActive'] = this.isSiteActive;
|
|
4755
|
+
}
|
|
4756
|
+
if (typeof this.categories !== 'undefined' && this.categories !== null) {
|
|
4757
|
+
toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;
|
|
4758
|
+
}
|
|
4759
|
+
if (typeof this.authors !== 'undefined' && this.authors !== null) {
|
|
4760
|
+
toReturn['authors'] = 'toApiJson' in this.authors ? this.authors.toApiJson() : this.authors;
|
|
4761
|
+
}
|
|
4762
|
+
if (typeof this.version !== 'undefined') {
|
|
4763
|
+
toReturn['version'] = this.version;
|
|
4764
|
+
}
|
|
4765
|
+
if (typeof this.tags !== 'undefined') {
|
|
4766
|
+
toReturn['tags'] = this.tags;
|
|
4767
|
+
}
|
|
4768
|
+
if (typeof this.error !== 'undefined') {
|
|
4769
|
+
toReturn['error'] = this.error;
|
|
4770
|
+
}
|
|
4771
|
+
return toReturn;
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
class GetBlogWebsiteDetailsRequest {
|
|
4775
|
+
static fromProto(proto) {
|
|
4776
|
+
let m = new GetBlogWebsiteDetailsRequest();
|
|
4777
|
+
m = Object.assign(m, proto);
|
|
4778
|
+
return m;
|
|
4779
|
+
}
|
|
4780
|
+
constructor(kwargs) {
|
|
4781
|
+
if (!kwargs) {
|
|
4782
|
+
return;
|
|
4783
|
+
}
|
|
4784
|
+
Object.assign(this, kwargs);
|
|
4785
|
+
}
|
|
4786
|
+
toApiJson() {
|
|
4787
|
+
const toReturn = {};
|
|
4788
|
+
if (typeof this.socialServiceIds !== 'undefined') {
|
|
4789
|
+
toReturn['socialServiceIds'] = this.socialServiceIds;
|
|
4790
|
+
}
|
|
4791
|
+
return toReturn;
|
|
4792
|
+
}
|
|
4793
|
+
}
|
|
4794
|
+
class GetBlogWebsiteDetailsResponse {
|
|
4795
|
+
static fromProto(proto) {
|
|
4796
|
+
let m = new GetBlogWebsiteDetailsResponse();
|
|
4797
|
+
m = Object.assign(m, proto);
|
|
4798
|
+
if (proto.blogWebsiteDetails) {
|
|
4799
|
+
m.blogWebsiteDetails = proto.blogWebsiteDetails.map(BlogWebsiteDetails.fromProto);
|
|
4800
|
+
}
|
|
4801
|
+
return m;
|
|
4802
|
+
}
|
|
4803
|
+
constructor(kwargs) {
|
|
4804
|
+
if (!kwargs) {
|
|
4805
|
+
return;
|
|
4806
|
+
}
|
|
4807
|
+
Object.assign(this, kwargs);
|
|
4808
|
+
}
|
|
4809
|
+
toApiJson() {
|
|
4810
|
+
const toReturn = {};
|
|
4811
|
+
if (typeof this.blogWebsiteDetails !== 'undefined' && this.blogWebsiteDetails !== null) {
|
|
4812
|
+
toReturn['blogWebsiteDetails'] = 'toApiJson' in this.blogWebsiteDetails ? this.blogWebsiteDetails.toApiJson() : this.blogWebsiteDetails;
|
|
4813
|
+
}
|
|
4814
|
+
return toReturn;
|
|
4815
|
+
}
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4818
|
+
function enumStringToValue$f(enumRef, value) {
|
|
4819
|
+
if (typeof value === 'number') {
|
|
4820
|
+
return value;
|
|
4821
|
+
}
|
|
4822
|
+
return enumRef[value];
|
|
4823
|
+
}
|
|
4824
|
+
class Access {
|
|
4825
|
+
static fromProto(proto) {
|
|
4826
|
+
let m = new Access();
|
|
4827
|
+
m = Object.assign(m, proto);
|
|
4828
|
+
return m;
|
|
4829
|
+
}
|
|
4830
|
+
constructor(kwargs) {
|
|
4831
|
+
if (!kwargs) {
|
|
4832
|
+
return;
|
|
4833
|
+
}
|
|
4834
|
+
Object.assign(this, kwargs);
|
|
4835
|
+
}
|
|
4836
|
+
toApiJson() {
|
|
4837
|
+
const toReturn = {};
|
|
4838
|
+
if (typeof this.scope !== 'undefined') {
|
|
4839
|
+
toReturn['scope'] = this.scope;
|
|
4840
|
+
}
|
|
4841
|
+
if (typeof this.public !== 'undefined') {
|
|
4842
|
+
toReturn['public'] = this.public;
|
|
4843
|
+
}
|
|
4844
|
+
return toReturn;
|
|
4845
|
+
}
|
|
4846
|
+
}
|
|
4847
|
+
class MCPOptions {
|
|
4848
|
+
static fromProto(proto) {
|
|
4849
|
+
let m = new MCPOptions();
|
|
4850
|
+
m = Object.assign(m, proto);
|
|
4851
|
+
return m;
|
|
4852
|
+
}
|
|
4853
|
+
constructor(kwargs) {
|
|
4854
|
+
if (!kwargs) {
|
|
4855
|
+
return;
|
|
4856
|
+
}
|
|
4857
|
+
Object.assign(this, kwargs);
|
|
4858
|
+
}
|
|
4859
|
+
toApiJson() {
|
|
4860
|
+
const toReturn = {};
|
|
4861
|
+
if (typeof this.serverId !== 'undefined') {
|
|
4862
|
+
toReturn['serverId'] = this.serverId;
|
|
4863
|
+
}
|
|
4864
|
+
return toReturn;
|
|
4865
|
+
}
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
function enumStringToValue$e(enumRef, value) {
|
|
4869
|
+
if (typeof value === 'number') {
|
|
4870
|
+
return value;
|
|
4871
|
+
}
|
|
4872
|
+
return enumRef[value];
|
|
4873
|
+
}
|
|
4874
|
+
class Contact {
|
|
4875
|
+
static fromProto(proto) {
|
|
4876
|
+
let m = new Contact();
|
|
4877
|
+
m = Object.assign(m, proto);
|
|
4878
|
+
return m;
|
|
4879
|
+
}
|
|
4880
|
+
constructor(kwargs) {
|
|
4881
|
+
if (!kwargs) {
|
|
4882
|
+
return;
|
|
4883
|
+
}
|
|
4884
|
+
Object.assign(this, kwargs);
|
|
4885
|
+
}
|
|
4886
|
+
toApiJson() {
|
|
4887
|
+
const toReturn = {};
|
|
4888
|
+
if (typeof this.name !== 'undefined') {
|
|
4889
|
+
toReturn['name'] = this.name;
|
|
4890
|
+
}
|
|
4891
|
+
if (typeof this.url !== 'undefined') {
|
|
4892
|
+
toReturn['url'] = this.url;
|
|
4893
|
+
}
|
|
4894
|
+
if (typeof this.email !== 'undefined') {
|
|
4895
|
+
toReturn['email'] = this.email;
|
|
4896
|
+
}
|
|
4897
|
+
return toReturn;
|
|
4898
|
+
}
|
|
4899
|
+
}
|
|
4900
|
+
class EnumSchema {
|
|
4901
|
+
static fromProto(proto) {
|
|
4902
|
+
let m = new EnumSchema();
|
|
4903
|
+
m = Object.assign(m, proto);
|
|
4904
|
+
if (proto.externalDocs) {
|
|
4905
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
4906
|
+
}
|
|
4907
|
+
if (proto.extensions) {
|
|
4908
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
4909
|
+
}
|
|
4910
|
+
return m;
|
|
4911
|
+
}
|
|
4912
|
+
constructor(kwargs) {
|
|
4913
|
+
if (!kwargs) {
|
|
4914
|
+
return;
|
|
4915
|
+
}
|
|
4916
|
+
Object.assign(this, kwargs);
|
|
4917
|
+
}
|
|
4918
|
+
toApiJson() {
|
|
4919
|
+
const toReturn = {};
|
|
4920
|
+
if (typeof this.description !== 'undefined') {
|
|
4921
|
+
toReturn['description'] = this.description;
|
|
4922
|
+
}
|
|
4923
|
+
if (typeof this.default !== 'undefined') {
|
|
4924
|
+
toReturn['default'] = this.default;
|
|
4925
|
+
}
|
|
4926
|
+
if (typeof this.title !== 'undefined') {
|
|
4927
|
+
toReturn['title'] = this.title;
|
|
4928
|
+
}
|
|
4929
|
+
if (typeof this.required !== 'undefined') {
|
|
4930
|
+
toReturn['required'] = this.required;
|
|
4931
|
+
}
|
|
4932
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
4933
|
+
toReturn['readOnly'] = this.readOnly;
|
|
4934
|
+
}
|
|
4935
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
4936
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
4937
|
+
}
|
|
4938
|
+
if (typeof this.example !== 'undefined') {
|
|
4939
|
+
toReturn['example'] = this.example;
|
|
4940
|
+
}
|
|
4941
|
+
if (typeof this.ref !== 'undefined') {
|
|
4942
|
+
toReturn['ref'] = this.ref;
|
|
4943
|
+
}
|
|
4944
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
4945
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
4946
|
+
}
|
|
4947
|
+
return toReturn;
|
|
4948
|
+
}
|
|
4949
|
+
}
|
|
4950
|
+
class ResponseExamplesEntry {
|
|
4951
|
+
static fromProto(proto) {
|
|
4952
|
+
let m = new ResponseExamplesEntry();
|
|
4953
|
+
m = Object.assign(m, proto);
|
|
4954
|
+
return m;
|
|
4955
|
+
}
|
|
4956
|
+
constructor(kwargs) {
|
|
4957
|
+
if (!kwargs) {
|
|
4958
|
+
return;
|
|
4959
|
+
}
|
|
4960
|
+
Object.assign(this, kwargs);
|
|
4961
|
+
}
|
|
4962
|
+
toApiJson() {
|
|
4963
|
+
const toReturn = {};
|
|
4964
|
+
if (typeof this.key !== 'undefined') {
|
|
4965
|
+
toReturn['key'] = this.key;
|
|
4966
|
+
}
|
|
4967
|
+
if (typeof this.value !== 'undefined') {
|
|
4968
|
+
toReturn['value'] = this.value;
|
|
4969
|
+
}
|
|
4970
|
+
return toReturn;
|
|
4971
|
+
}
|
|
4972
|
+
}
|
|
4973
|
+
class ResponseExtensionsEntry {
|
|
4974
|
+
static fromProto(proto) {
|
|
4975
|
+
let m = new ResponseExtensionsEntry();
|
|
4976
|
+
m = Object.assign(m, proto);
|
|
4977
|
+
return m;
|
|
4978
|
+
}
|
|
4979
|
+
constructor(kwargs) {
|
|
4980
|
+
if (!kwargs) {
|
|
4981
|
+
return;
|
|
4982
|
+
}
|
|
4983
|
+
Object.assign(this, kwargs);
|
|
4984
|
+
}
|
|
4985
|
+
toApiJson() {
|
|
4986
|
+
const toReturn = {};
|
|
4987
|
+
if (typeof this.key !== 'undefined') {
|
|
4988
|
+
toReturn['key'] = this.key;
|
|
4989
|
+
}
|
|
4990
|
+
if (typeof this.value !== 'undefined') {
|
|
4991
|
+
toReturn['value'] = this.value;
|
|
4992
|
+
}
|
|
4993
|
+
return toReturn;
|
|
4994
|
+
}
|
|
4995
|
+
}
|
|
4996
|
+
class SwaggerExtensionsEntry {
|
|
4997
|
+
static fromProto(proto) {
|
|
4998
|
+
let m = new SwaggerExtensionsEntry();
|
|
4999
|
+
m = Object.assign(m, proto);
|
|
5000
|
+
return m;
|
|
5001
|
+
}
|
|
5002
|
+
constructor(kwargs) {
|
|
5003
|
+
if (!kwargs) {
|
|
5004
|
+
return;
|
|
5005
|
+
}
|
|
5006
|
+
Object.assign(this, kwargs);
|
|
5007
|
+
}
|
|
5008
|
+
toApiJson() {
|
|
5009
|
+
const toReturn = {};
|
|
5010
|
+
if (typeof this.key !== 'undefined') {
|
|
5011
|
+
toReturn['key'] = this.key;
|
|
5012
|
+
}
|
|
5013
|
+
if (typeof this.value !== 'undefined') {
|
|
5014
|
+
toReturn['value'] = this.value;
|
|
5015
|
+
}
|
|
5016
|
+
return toReturn;
|
|
5017
|
+
}
|
|
5018
|
+
}
|
|
5019
|
+
class SecuritySchemeExtensionsEntry {
|
|
5020
|
+
static fromProto(proto) {
|
|
5021
|
+
let m = new SecuritySchemeExtensionsEntry();
|
|
5022
|
+
m = Object.assign(m, proto);
|
|
5023
|
+
return m;
|
|
5024
|
+
}
|
|
5025
|
+
constructor(kwargs) {
|
|
5026
|
+
if (!kwargs) {
|
|
5027
|
+
return;
|
|
5028
|
+
}
|
|
5029
|
+
Object.assign(this, kwargs);
|
|
5030
|
+
}
|
|
5031
|
+
toApiJson() {
|
|
5032
|
+
const toReturn = {};
|
|
5033
|
+
if (typeof this.key !== 'undefined') {
|
|
5034
|
+
toReturn['key'] = this.key;
|
|
5035
|
+
}
|
|
5036
|
+
if (typeof this.value !== 'undefined') {
|
|
5037
|
+
toReturn['value'] = this.value;
|
|
5038
|
+
}
|
|
5039
|
+
return toReturn;
|
|
5040
|
+
}
|
|
5041
|
+
}
|
|
5042
|
+
class TagExtensionsEntry {
|
|
5043
|
+
static fromProto(proto) {
|
|
5044
|
+
let m = new TagExtensionsEntry();
|
|
5045
|
+
m = Object.assign(m, proto);
|
|
5046
|
+
return m;
|
|
5047
|
+
}
|
|
5048
|
+
constructor(kwargs) {
|
|
5049
|
+
if (!kwargs) {
|
|
5050
|
+
return;
|
|
5051
|
+
}
|
|
5052
|
+
Object.assign(this, kwargs);
|
|
5053
|
+
}
|
|
5054
|
+
toApiJson() {
|
|
5055
|
+
const toReturn = {};
|
|
5056
|
+
if (typeof this.key !== 'undefined') {
|
|
5057
|
+
toReturn['key'] = this.key;
|
|
5058
|
+
}
|
|
5059
|
+
if (typeof this.value !== 'undefined') {
|
|
5060
|
+
toReturn['value'] = this.value;
|
|
5061
|
+
}
|
|
5062
|
+
return toReturn;
|
|
5063
|
+
}
|
|
5064
|
+
}
|
|
5065
|
+
class OperationExtensionsEntry {
|
|
5066
|
+
static fromProto(proto) {
|
|
5067
|
+
let m = new OperationExtensionsEntry();
|
|
5068
|
+
m = Object.assign(m, proto);
|
|
5069
|
+
return m;
|
|
5070
|
+
}
|
|
5071
|
+
constructor(kwargs) {
|
|
5072
|
+
if (!kwargs) {
|
|
5073
|
+
return;
|
|
5074
|
+
}
|
|
5075
|
+
Object.assign(this, kwargs);
|
|
5076
|
+
}
|
|
5077
|
+
toApiJson() {
|
|
5078
|
+
const toReturn = {};
|
|
5079
|
+
if (typeof this.key !== 'undefined') {
|
|
5080
|
+
toReturn['key'] = this.key;
|
|
5081
|
+
}
|
|
5082
|
+
if (typeof this.value !== 'undefined') {
|
|
5083
|
+
toReturn['value'] = this.value;
|
|
5084
|
+
}
|
|
5085
|
+
return toReturn;
|
|
5086
|
+
}
|
|
5087
|
+
}
|
|
5088
|
+
class JSONSchemaExtensionsEntry {
|
|
5089
|
+
static fromProto(proto) {
|
|
5090
|
+
let m = new JSONSchemaExtensionsEntry();
|
|
5091
|
+
m = Object.assign(m, proto);
|
|
5092
|
+
return m;
|
|
5093
|
+
}
|
|
5094
|
+
constructor(kwargs) {
|
|
5095
|
+
if (!kwargs) {
|
|
5096
|
+
return;
|
|
5097
|
+
}
|
|
5098
|
+
Object.assign(this, kwargs);
|
|
5099
|
+
}
|
|
5100
|
+
toApiJson() {
|
|
5101
|
+
const toReturn = {};
|
|
5102
|
+
if (typeof this.key !== 'undefined') {
|
|
5103
|
+
toReturn['key'] = this.key;
|
|
5104
|
+
}
|
|
5105
|
+
if (typeof this.value !== 'undefined') {
|
|
5106
|
+
toReturn['value'] = this.value;
|
|
5107
|
+
}
|
|
5108
|
+
return toReturn;
|
|
5109
|
+
}
|
|
5110
|
+
}
|
|
5111
|
+
class EnumSchemaExtensionsEntry {
|
|
5112
|
+
static fromProto(proto) {
|
|
5113
|
+
let m = new EnumSchemaExtensionsEntry();
|
|
5114
|
+
m = Object.assign(m, proto);
|
|
5115
|
+
return m;
|
|
5116
|
+
}
|
|
5117
|
+
constructor(kwargs) {
|
|
5118
|
+
if (!kwargs) {
|
|
5119
|
+
return;
|
|
5120
|
+
}
|
|
5121
|
+
Object.assign(this, kwargs);
|
|
5122
|
+
}
|
|
5123
|
+
toApiJson() {
|
|
5124
|
+
const toReturn = {};
|
|
5125
|
+
if (typeof this.key !== 'undefined') {
|
|
5126
|
+
toReturn['key'] = this.key;
|
|
5127
|
+
}
|
|
5128
|
+
if (typeof this.value !== 'undefined') {
|
|
5129
|
+
toReturn['value'] = this.value;
|
|
5130
|
+
}
|
|
5131
|
+
return toReturn;
|
|
5132
|
+
}
|
|
5133
|
+
}
|
|
5134
|
+
class InfoExtensionsEntry {
|
|
5135
|
+
static fromProto(proto) {
|
|
5136
|
+
let m = new InfoExtensionsEntry();
|
|
5137
|
+
m = Object.assign(m, proto);
|
|
5138
|
+
return m;
|
|
5139
|
+
}
|
|
5140
|
+
constructor(kwargs) {
|
|
5141
|
+
if (!kwargs) {
|
|
5142
|
+
return;
|
|
5143
|
+
}
|
|
5144
|
+
Object.assign(this, kwargs);
|
|
5145
|
+
}
|
|
5146
|
+
toApiJson() {
|
|
5147
|
+
const toReturn = {};
|
|
5148
|
+
if (typeof this.key !== 'undefined') {
|
|
5149
|
+
toReturn['key'] = this.key;
|
|
5150
|
+
}
|
|
5151
|
+
if (typeof this.value !== 'undefined') {
|
|
5152
|
+
toReturn['value'] = this.value;
|
|
5153
|
+
}
|
|
5154
|
+
return toReturn;
|
|
5155
|
+
}
|
|
5156
|
+
}
|
|
5157
|
+
class ExternalDocumentation {
|
|
5158
|
+
static fromProto(proto) {
|
|
5159
|
+
let m = new ExternalDocumentation();
|
|
5160
|
+
m = Object.assign(m, proto);
|
|
5161
|
+
return m;
|
|
5162
|
+
}
|
|
5163
|
+
constructor(kwargs) {
|
|
5164
|
+
if (!kwargs) {
|
|
5165
|
+
return;
|
|
5166
|
+
}
|
|
5167
|
+
Object.assign(this, kwargs);
|
|
5168
|
+
}
|
|
5169
|
+
toApiJson() {
|
|
5170
|
+
const toReturn = {};
|
|
5171
|
+
if (typeof this.description !== 'undefined') {
|
|
5172
|
+
toReturn['description'] = this.description;
|
|
5173
|
+
}
|
|
5174
|
+
if (typeof this.url !== 'undefined') {
|
|
5175
|
+
toReturn['url'] = this.url;
|
|
5176
|
+
}
|
|
5177
|
+
return toReturn;
|
|
5178
|
+
}
|
|
5179
|
+
}
|
|
5180
|
+
class JSONSchemaFieldConfiguration {
|
|
5181
|
+
static fromProto(proto) {
|
|
5182
|
+
let m = new JSONSchemaFieldConfiguration();
|
|
5183
|
+
m = Object.assign(m, proto);
|
|
5184
|
+
return m;
|
|
5185
|
+
}
|
|
5186
|
+
constructor(kwargs) {
|
|
5187
|
+
if (!kwargs) {
|
|
5188
|
+
return;
|
|
5189
|
+
}
|
|
5190
|
+
Object.assign(this, kwargs);
|
|
5191
|
+
}
|
|
5192
|
+
toApiJson() {
|
|
5193
|
+
const toReturn = {};
|
|
5194
|
+
if (typeof this.pathParamName !== 'undefined') {
|
|
5195
|
+
toReturn['pathParamName'] = this.pathParamName;
|
|
5196
|
+
}
|
|
5197
|
+
if (typeof this.deprecated !== 'undefined') {
|
|
5198
|
+
toReturn['deprecated'] = this.deprecated;
|
|
5199
|
+
}
|
|
5200
|
+
return toReturn;
|
|
5201
|
+
}
|
|
5202
|
+
}
|
|
5203
|
+
class Header {
|
|
5204
|
+
static fromProto(proto) {
|
|
5205
|
+
let m = new Header();
|
|
5206
|
+
m = Object.assign(m, proto);
|
|
5207
|
+
return m;
|
|
5208
|
+
}
|
|
5209
|
+
constructor(kwargs) {
|
|
5210
|
+
if (!kwargs) {
|
|
5211
|
+
return;
|
|
5212
|
+
}
|
|
5213
|
+
Object.assign(this, kwargs);
|
|
5214
|
+
}
|
|
5215
|
+
toApiJson() {
|
|
5216
|
+
const toReturn = {};
|
|
5217
|
+
if (typeof this.description !== 'undefined') {
|
|
5218
|
+
toReturn['description'] = this.description;
|
|
5219
|
+
}
|
|
5220
|
+
if (typeof this.type !== 'undefined') {
|
|
5221
|
+
toReturn['type'] = this.type;
|
|
5222
|
+
}
|
|
5223
|
+
if (typeof this.format !== 'undefined') {
|
|
5224
|
+
toReturn['format'] = this.format;
|
|
5225
|
+
}
|
|
5226
|
+
if (typeof this.default !== 'undefined') {
|
|
5227
|
+
toReturn['default'] = this.default;
|
|
5228
|
+
}
|
|
5229
|
+
if (typeof this.pattern !== 'undefined') {
|
|
5230
|
+
toReturn['pattern'] = this.pattern;
|
|
5231
|
+
}
|
|
5232
|
+
return toReturn;
|
|
5233
|
+
}
|
|
5234
|
+
}
|
|
5235
|
+
class HeaderParameter {
|
|
5236
|
+
static fromProto(proto) {
|
|
5237
|
+
let m = new HeaderParameter();
|
|
5238
|
+
m = Object.assign(m, proto);
|
|
5239
|
+
if (proto.type) {
|
|
5240
|
+
m.type = enumStringToValue$e(HeaderParameterType, proto.type);
|
|
5241
|
+
}
|
|
5242
|
+
return m;
|
|
5243
|
+
}
|
|
5244
|
+
constructor(kwargs) {
|
|
5245
|
+
if (!kwargs) {
|
|
5246
|
+
return;
|
|
5247
|
+
}
|
|
5248
|
+
Object.assign(this, kwargs);
|
|
5249
|
+
}
|
|
5250
|
+
toApiJson() {
|
|
5251
|
+
const toReturn = {};
|
|
5252
|
+
if (typeof this.name !== 'undefined') {
|
|
5253
|
+
toReturn['name'] = this.name;
|
|
5254
|
+
}
|
|
5255
|
+
if (typeof this.description !== 'undefined') {
|
|
5256
|
+
toReturn['description'] = this.description;
|
|
5257
|
+
}
|
|
5258
|
+
if (typeof this.type !== 'undefined') {
|
|
5259
|
+
toReturn['type'] = this.type;
|
|
5260
|
+
}
|
|
5261
|
+
if (typeof this.format !== 'undefined') {
|
|
5262
|
+
toReturn['format'] = this.format;
|
|
5263
|
+
}
|
|
5264
|
+
if (typeof this.required !== 'undefined') {
|
|
5265
|
+
toReturn['required'] = this.required;
|
|
5266
|
+
}
|
|
5267
|
+
return toReturn;
|
|
5268
|
+
}
|
|
5269
|
+
}
|
|
5270
|
+
class ResponseHeadersEntry {
|
|
5271
|
+
static fromProto(proto) {
|
|
5272
|
+
let m = new ResponseHeadersEntry();
|
|
5273
|
+
m = Object.assign(m, proto);
|
|
5274
|
+
if (proto.value) {
|
|
5275
|
+
m.value = Header.fromProto(proto.value);
|
|
5276
|
+
}
|
|
5277
|
+
return m;
|
|
5278
|
+
}
|
|
5279
|
+
constructor(kwargs) {
|
|
5280
|
+
if (!kwargs) {
|
|
5281
|
+
return;
|
|
5282
|
+
}
|
|
5283
|
+
Object.assign(this, kwargs);
|
|
5284
|
+
}
|
|
5285
|
+
toApiJson() {
|
|
5286
|
+
const toReturn = {};
|
|
5287
|
+
if (typeof this.key !== 'undefined') {
|
|
5288
|
+
toReturn['key'] = this.key;
|
|
5289
|
+
}
|
|
5290
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
5291
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
5292
|
+
}
|
|
5293
|
+
return toReturn;
|
|
5294
|
+
}
|
|
5295
|
+
}
|
|
5296
|
+
class Info {
|
|
5297
|
+
static fromProto(proto) {
|
|
5298
|
+
let m = new Info();
|
|
5299
|
+
m = Object.assign(m, proto);
|
|
5300
|
+
if (proto.contact) {
|
|
5301
|
+
m.contact = Contact.fromProto(proto.contact);
|
|
5302
|
+
}
|
|
5303
|
+
if (proto.license) {
|
|
5304
|
+
m.license = License.fromProto(proto.license);
|
|
5305
|
+
}
|
|
5306
|
+
if (proto.extensions) {
|
|
5307
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
5308
|
+
}
|
|
5309
|
+
return m;
|
|
5310
|
+
}
|
|
5311
|
+
constructor(kwargs) {
|
|
5312
|
+
if (!kwargs) {
|
|
5313
|
+
return;
|
|
5314
|
+
}
|
|
5315
|
+
Object.assign(this, kwargs);
|
|
5316
|
+
}
|
|
5317
|
+
toApiJson() {
|
|
5318
|
+
const toReturn = {};
|
|
5319
|
+
if (typeof this.title !== 'undefined') {
|
|
5320
|
+
toReturn['title'] = this.title;
|
|
5321
|
+
}
|
|
5322
|
+
if (typeof this.description !== 'undefined') {
|
|
5323
|
+
toReturn['description'] = this.description;
|
|
5324
|
+
}
|
|
5325
|
+
if (typeof this.termsOfService !== 'undefined') {
|
|
5326
|
+
toReturn['termsOfService'] = this.termsOfService;
|
|
5327
|
+
}
|
|
5328
|
+
if (typeof this.contact !== 'undefined' && this.contact !== null) {
|
|
5329
|
+
toReturn['contact'] = 'toApiJson' in this.contact ? this.contact.toApiJson() : this.contact;
|
|
5330
|
+
}
|
|
5331
|
+
if (typeof this.license !== 'undefined' && this.license !== null) {
|
|
5332
|
+
toReturn['license'] = 'toApiJson' in this.license ? this.license.toApiJson() : this.license;
|
|
5333
|
+
}
|
|
5334
|
+
if (typeof this.version !== 'undefined') {
|
|
5335
|
+
toReturn['version'] = this.version;
|
|
5336
|
+
}
|
|
5337
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
5338
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
5339
|
+
}
|
|
5340
|
+
return toReturn;
|
|
5341
|
+
}
|
|
5342
|
+
}
|
|
5343
|
+
class JSONSchema {
|
|
5344
|
+
static fromProto(proto) {
|
|
5345
|
+
let m = new JSONSchema();
|
|
5346
|
+
m = Object.assign(m, proto);
|
|
5347
|
+
if (proto.maxLength) {
|
|
5348
|
+
m.maxLength = parseInt(proto.maxLength, 10);
|
|
5349
|
+
}
|
|
5350
|
+
if (proto.minLength) {
|
|
5351
|
+
m.minLength = parseInt(proto.minLength, 10);
|
|
5352
|
+
}
|
|
5353
|
+
if (proto.maxItems) {
|
|
5354
|
+
m.maxItems = parseInt(proto.maxItems, 10);
|
|
5355
|
+
}
|
|
5356
|
+
if (proto.minItems) {
|
|
5357
|
+
m.minItems = parseInt(proto.minItems, 10);
|
|
5358
|
+
}
|
|
5359
|
+
if (proto.maxProperties) {
|
|
5360
|
+
m.maxProperties = parseInt(proto.maxProperties, 10);
|
|
5361
|
+
}
|
|
5362
|
+
if (proto.minProperties) {
|
|
5363
|
+
m.minProperties = parseInt(proto.minProperties, 10);
|
|
5364
|
+
}
|
|
5365
|
+
if (proto.type) {
|
|
5366
|
+
m.type = proto.type.map((v) => enumStringToValue$e(JSONSchemaJSONSchemaSimpleTypes, v));
|
|
5367
|
+
}
|
|
5368
|
+
if (proto.fieldConfiguration) {
|
|
5369
|
+
m.fieldConfiguration = JSONSchemaFieldConfiguration.fromProto(proto.fieldConfiguration);
|
|
5370
|
+
}
|
|
5371
|
+
if (proto.extensions) {
|
|
5372
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
5373
|
+
}
|
|
5374
|
+
return m;
|
|
5375
|
+
}
|
|
5376
|
+
constructor(kwargs) {
|
|
5377
|
+
if (!kwargs) {
|
|
5378
|
+
return;
|
|
5379
|
+
}
|
|
5380
|
+
Object.assign(this, kwargs);
|
|
5381
|
+
}
|
|
5382
|
+
toApiJson() {
|
|
5383
|
+
const toReturn = {};
|
|
5384
|
+
if (typeof this.ref !== 'undefined') {
|
|
5385
|
+
toReturn['ref'] = this.ref;
|
|
5386
|
+
}
|
|
5387
|
+
if (typeof this.title !== 'undefined') {
|
|
5388
|
+
toReturn['title'] = this.title;
|
|
5389
|
+
}
|
|
5390
|
+
if (typeof this.description !== 'undefined') {
|
|
5391
|
+
toReturn['description'] = this.description;
|
|
5392
|
+
}
|
|
5393
|
+
if (typeof this.default !== 'undefined') {
|
|
5394
|
+
toReturn['default'] = this.default;
|
|
5395
|
+
}
|
|
5396
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
5397
|
+
toReturn['readOnly'] = this.readOnly;
|
|
5398
|
+
}
|
|
5399
|
+
if (typeof this.example !== 'undefined') {
|
|
5400
|
+
toReturn['example'] = this.example;
|
|
5401
|
+
}
|
|
5402
|
+
if (typeof this.multipleOf !== 'undefined') {
|
|
5403
|
+
toReturn['multipleOf'] = this.multipleOf;
|
|
5404
|
+
}
|
|
5405
|
+
if (typeof this.maximum !== 'undefined') {
|
|
5406
|
+
toReturn['maximum'] = this.maximum;
|
|
5407
|
+
}
|
|
5408
|
+
if (typeof this.exclusiveMaximum !== 'undefined') {
|
|
5409
|
+
toReturn['exclusiveMaximum'] = this.exclusiveMaximum;
|
|
5410
|
+
}
|
|
5411
|
+
if (typeof this.minimum !== 'undefined') {
|
|
5412
|
+
toReturn['minimum'] = this.minimum;
|
|
5413
|
+
}
|
|
5414
|
+
if (typeof this.exclusiveMinimum !== 'undefined') {
|
|
5415
|
+
toReturn['exclusiveMinimum'] = this.exclusiveMinimum;
|
|
5416
|
+
}
|
|
5417
|
+
if (typeof this.maxLength !== 'undefined') {
|
|
5418
|
+
toReturn['maxLength'] = this.maxLength;
|
|
5419
|
+
}
|
|
5420
|
+
if (typeof this.minLength !== 'undefined') {
|
|
5421
|
+
toReturn['minLength'] = this.minLength;
|
|
5422
|
+
}
|
|
5423
|
+
if (typeof this.pattern !== 'undefined') {
|
|
5424
|
+
toReturn['pattern'] = this.pattern;
|
|
5425
|
+
}
|
|
5426
|
+
if (typeof this.maxItems !== 'undefined') {
|
|
5427
|
+
toReturn['maxItems'] = this.maxItems;
|
|
5428
|
+
}
|
|
5429
|
+
if (typeof this.minItems !== 'undefined') {
|
|
5430
|
+
toReturn['minItems'] = this.minItems;
|
|
5431
|
+
}
|
|
5432
|
+
if (typeof this.uniqueItems !== 'undefined') {
|
|
5433
|
+
toReturn['uniqueItems'] = this.uniqueItems;
|
|
5434
|
+
}
|
|
5435
|
+
if (typeof this.maxProperties !== 'undefined') {
|
|
5436
|
+
toReturn['maxProperties'] = this.maxProperties;
|
|
5437
|
+
}
|
|
5438
|
+
if (typeof this.minProperties !== 'undefined') {
|
|
5439
|
+
toReturn['minProperties'] = this.minProperties;
|
|
5440
|
+
}
|
|
5441
|
+
if (typeof this.required !== 'undefined') {
|
|
5442
|
+
toReturn['required'] = this.required;
|
|
5443
|
+
}
|
|
5444
|
+
if (typeof this.array !== 'undefined') {
|
|
5445
|
+
toReturn['array'] = this.array;
|
|
5446
|
+
}
|
|
5447
|
+
if (typeof this.type !== 'undefined') {
|
|
5448
|
+
toReturn['type'] = this.type;
|
|
5449
|
+
}
|
|
5450
|
+
if (typeof this.format !== 'undefined') {
|
|
5451
|
+
toReturn['format'] = this.format;
|
|
5452
|
+
}
|
|
5453
|
+
if (typeof this.enum !== 'undefined') {
|
|
5454
|
+
toReturn['enum'] = this.enum;
|
|
5455
|
+
}
|
|
5456
|
+
if (typeof this.fieldConfiguration !== 'undefined' && this.fieldConfiguration !== null) {
|
|
5457
|
+
toReturn['fieldConfiguration'] = 'toApiJson' in this.fieldConfiguration ? this.fieldConfiguration.toApiJson() : this.fieldConfiguration;
|
|
5458
|
+
}
|
|
5459
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
5460
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
5461
|
+
}
|
|
5462
|
+
return toReturn;
|
|
5463
|
+
}
|
|
5464
|
+
}
|
|
5465
|
+
class License {
|
|
5466
|
+
static fromProto(proto) {
|
|
5467
|
+
let m = new License();
|
|
5468
|
+
m = Object.assign(m, proto);
|
|
5469
|
+
return m;
|
|
5470
|
+
}
|
|
5471
|
+
constructor(kwargs) {
|
|
5472
|
+
if (!kwargs) {
|
|
5473
|
+
return;
|
|
5474
|
+
}
|
|
5475
|
+
Object.assign(this, kwargs);
|
|
5476
|
+
}
|
|
5477
|
+
toApiJson() {
|
|
5478
|
+
const toReturn = {};
|
|
5479
|
+
if (typeof this.name !== 'undefined') {
|
|
5480
|
+
toReturn['name'] = this.name;
|
|
5481
|
+
}
|
|
5482
|
+
if (typeof this.url !== 'undefined') {
|
|
5483
|
+
toReturn['url'] = this.url;
|
|
5484
|
+
}
|
|
5485
|
+
return toReturn;
|
|
5486
|
+
}
|
|
5487
|
+
}
|
|
5488
|
+
class Operation {
|
|
5489
|
+
static fromProto(proto) {
|
|
5490
|
+
let m = new Operation();
|
|
5491
|
+
m = Object.assign(m, proto);
|
|
5492
|
+
if (proto.externalDocs) {
|
|
5493
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
5494
|
+
}
|
|
5495
|
+
if (proto.responses) {
|
|
5496
|
+
m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response$1.fromProto(proto.responses[k]); return obj; }, {});
|
|
5497
|
+
}
|
|
5498
|
+
if (proto.schemes) {
|
|
5499
|
+
m.schemes = proto.schemes.map((v) => enumStringToValue$e(Scheme, v));
|
|
5500
|
+
}
|
|
5501
|
+
if (proto.security) {
|
|
5502
|
+
m.security = proto.security.map(SecurityRequirement.fromProto);
|
|
5503
|
+
}
|
|
5504
|
+
if (proto.extensions) {
|
|
5505
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
5506
|
+
}
|
|
5507
|
+
if (proto.parameters) {
|
|
5508
|
+
m.parameters = Parameters.fromProto(proto.parameters);
|
|
5509
|
+
}
|
|
5510
|
+
return m;
|
|
5511
|
+
}
|
|
5512
|
+
constructor(kwargs) {
|
|
5513
|
+
if (!kwargs) {
|
|
5514
|
+
return;
|
|
5515
|
+
}
|
|
5516
|
+
Object.assign(this, kwargs);
|
|
5517
|
+
}
|
|
5518
|
+
toApiJson() {
|
|
5519
|
+
const toReturn = {};
|
|
5520
|
+
if (typeof this.tags !== 'undefined') {
|
|
5521
|
+
toReturn['tags'] = this.tags;
|
|
5522
|
+
}
|
|
5523
|
+
if (typeof this.summary !== 'undefined') {
|
|
5524
|
+
toReturn['summary'] = this.summary;
|
|
5525
|
+
}
|
|
5526
|
+
if (typeof this.description !== 'undefined') {
|
|
5527
|
+
toReturn['description'] = this.description;
|
|
5528
|
+
}
|
|
5529
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
5530
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
5531
|
+
}
|
|
5532
|
+
if (typeof this.operationId !== 'undefined') {
|
|
5533
|
+
toReturn['operationId'] = this.operationId;
|
|
5534
|
+
}
|
|
5535
|
+
if (typeof this.consumes !== 'undefined') {
|
|
5536
|
+
toReturn['consumes'] = this.consumes;
|
|
5537
|
+
}
|
|
5538
|
+
if (typeof this.produces !== 'undefined') {
|
|
5539
|
+
toReturn['produces'] = this.produces;
|
|
5540
|
+
}
|
|
5541
|
+
if (typeof this.responses !== 'undefined' && this.responses !== null) {
|
|
5542
|
+
toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
|
|
5543
|
+
}
|
|
5544
|
+
if (typeof this.schemes !== 'undefined') {
|
|
5545
|
+
toReturn['schemes'] = this.schemes;
|
|
5546
|
+
}
|
|
5547
|
+
if (typeof this.deprecated !== 'undefined') {
|
|
5548
|
+
toReturn['deprecated'] = this.deprecated;
|
|
5549
|
+
}
|
|
5550
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
5551
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
5552
|
+
}
|
|
5553
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
5554
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
5555
|
+
}
|
|
5556
|
+
if (typeof this.parameters !== 'undefined' && this.parameters !== null) {
|
|
5557
|
+
toReturn['parameters'] = 'toApiJson' in this.parameters ? this.parameters.toApiJson() : this.parameters;
|
|
5558
|
+
}
|
|
5559
|
+
return toReturn;
|
|
5560
|
+
}
|
|
5561
|
+
}
|
|
5562
|
+
class Parameters {
|
|
5563
|
+
static fromProto(proto) {
|
|
5564
|
+
let m = new Parameters();
|
|
5565
|
+
m = Object.assign(m, proto);
|
|
5566
|
+
if (proto.headers) {
|
|
5567
|
+
m.headers = proto.headers.map(HeaderParameter.fromProto);
|
|
5568
|
+
}
|
|
5569
|
+
return m;
|
|
5570
|
+
}
|
|
5571
|
+
constructor(kwargs) {
|
|
5572
|
+
if (!kwargs) {
|
|
5573
|
+
return;
|
|
5574
|
+
}
|
|
5575
|
+
Object.assign(this, kwargs);
|
|
5576
|
+
}
|
|
5577
|
+
toApiJson() {
|
|
5578
|
+
const toReturn = {};
|
|
5579
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
5580
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
5581
|
+
}
|
|
5582
|
+
return toReturn;
|
|
5583
|
+
}
|
|
5584
|
+
}
|
|
5585
|
+
let Response$1 = class Response {
|
|
5586
|
+
static fromProto(proto) {
|
|
5587
|
+
let m = new Response();
|
|
5588
|
+
m = Object.assign(m, proto);
|
|
5589
|
+
if (proto.schema) {
|
|
5590
|
+
m.schema = Schema.fromProto(proto.schema);
|
|
5591
|
+
}
|
|
5592
|
+
if (proto.headers) {
|
|
5593
|
+
m.headers = Object.keys(proto.headers).reduce((obj, k) => { obj[k] = Header.fromProto(proto.headers[k]); return obj; }, {});
|
|
5594
|
+
}
|
|
5595
|
+
if (proto.examples) {
|
|
5596
|
+
m.examples = Object.keys(proto.examples).reduce((obj, k) => { obj[k] = proto.examples[k]; return obj; }, {});
|
|
5597
|
+
}
|
|
5598
|
+
if (proto.extensions) {
|
|
5599
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
5600
|
+
}
|
|
5601
|
+
return m;
|
|
5602
|
+
}
|
|
5603
|
+
constructor(kwargs) {
|
|
5604
|
+
if (!kwargs) {
|
|
5605
|
+
return;
|
|
5606
|
+
}
|
|
5607
|
+
Object.assign(this, kwargs);
|
|
5608
|
+
}
|
|
5609
|
+
toApiJson() {
|
|
5610
|
+
const toReturn = {};
|
|
5611
|
+
if (typeof this.description !== 'undefined') {
|
|
5612
|
+
toReturn['description'] = this.description;
|
|
5613
|
+
}
|
|
5614
|
+
if (typeof this.schema !== 'undefined' && this.schema !== null) {
|
|
5615
|
+
toReturn['schema'] = 'toApiJson' in this.schema ? this.schema.toApiJson() : this.schema;
|
|
5616
|
+
}
|
|
5617
|
+
if (typeof this.headers !== 'undefined' && this.headers !== null) {
|
|
5618
|
+
toReturn['headers'] = 'toApiJson' in this.headers ? this.headers.toApiJson() : this.headers;
|
|
5619
|
+
}
|
|
5620
|
+
if (typeof this.examples !== 'undefined' && this.examples !== null) {
|
|
5621
|
+
toReturn['examples'] = 'toApiJson' in this.examples ? this.examples.toApiJson() : this.examples;
|
|
5622
|
+
}
|
|
5623
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
5624
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
5625
|
+
}
|
|
5626
|
+
return toReturn;
|
|
5627
|
+
}
|
|
5628
|
+
};
|
|
5629
|
+
class OperationResponsesEntry {
|
|
5630
|
+
static fromProto(proto) {
|
|
5631
|
+
let m = new OperationResponsesEntry();
|
|
5632
|
+
m = Object.assign(m, proto);
|
|
5633
|
+
if (proto.value) {
|
|
5634
|
+
m.value = Response$1.fromProto(proto.value);
|
|
5635
|
+
}
|
|
5636
|
+
return m;
|
|
5637
|
+
}
|
|
5638
|
+
constructor(kwargs) {
|
|
5639
|
+
if (!kwargs) {
|
|
5640
|
+
return;
|
|
5641
|
+
}
|
|
5642
|
+
Object.assign(this, kwargs);
|
|
5643
|
+
}
|
|
5644
|
+
toApiJson() {
|
|
5645
|
+
const toReturn = {};
|
|
5646
|
+
if (typeof this.key !== 'undefined') {
|
|
5647
|
+
toReturn['key'] = this.key;
|
|
5648
|
+
}
|
|
5649
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
5650
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
5651
|
+
}
|
|
5652
|
+
return toReturn;
|
|
5653
|
+
}
|
|
5654
|
+
}
|
|
5655
|
+
class SwaggerResponsesEntry {
|
|
5656
|
+
static fromProto(proto) {
|
|
5657
|
+
let m = new SwaggerResponsesEntry();
|
|
5658
|
+
m = Object.assign(m, proto);
|
|
5659
|
+
if (proto.value) {
|
|
5660
|
+
m.value = Response$1.fromProto(proto.value);
|
|
5661
|
+
}
|
|
5662
|
+
return m;
|
|
5663
|
+
}
|
|
5664
|
+
constructor(kwargs) {
|
|
5665
|
+
if (!kwargs) {
|
|
5666
|
+
return;
|
|
5667
|
+
}
|
|
5668
|
+
Object.assign(this, kwargs);
|
|
5669
|
+
}
|
|
5670
|
+
toApiJson() {
|
|
5671
|
+
const toReturn = {};
|
|
5672
|
+
if (typeof this.key !== 'undefined') {
|
|
5673
|
+
toReturn['key'] = this.key;
|
|
5674
|
+
}
|
|
5675
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
5676
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
5677
|
+
}
|
|
5678
|
+
return toReturn;
|
|
5679
|
+
}
|
|
5680
|
+
}
|
|
5681
|
+
class Schema {
|
|
5682
|
+
static fromProto(proto) {
|
|
5683
|
+
let m = new Schema();
|
|
5684
|
+
m = Object.assign(m, proto);
|
|
5685
|
+
if (proto.jsonSchema) {
|
|
5686
|
+
m.jsonSchema = JSONSchema.fromProto(proto.jsonSchema);
|
|
5687
|
+
}
|
|
5688
|
+
if (proto.externalDocs) {
|
|
5689
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
5690
|
+
}
|
|
5691
|
+
return m;
|
|
5692
|
+
}
|
|
5693
|
+
constructor(kwargs) {
|
|
5694
|
+
if (!kwargs) {
|
|
5695
|
+
return;
|
|
5696
|
+
}
|
|
5697
|
+
Object.assign(this, kwargs);
|
|
5698
|
+
}
|
|
5699
|
+
toApiJson() {
|
|
5700
|
+
const toReturn = {};
|
|
5701
|
+
if (typeof this.jsonSchema !== 'undefined' && this.jsonSchema !== null) {
|
|
5702
|
+
toReturn['jsonSchema'] = 'toApiJson' in this.jsonSchema ? this.jsonSchema.toApiJson() : this.jsonSchema;
|
|
5703
|
+
}
|
|
5704
|
+
if (typeof this.discriminator !== 'undefined') {
|
|
5705
|
+
toReturn['discriminator'] = this.discriminator;
|
|
5706
|
+
}
|
|
5707
|
+
if (typeof this.readOnly !== 'undefined') {
|
|
5708
|
+
toReturn['readOnly'] = this.readOnly;
|
|
5709
|
+
}
|
|
5710
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
5711
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
5712
|
+
}
|
|
5713
|
+
if (typeof this.example !== 'undefined') {
|
|
5714
|
+
toReturn['example'] = this.example;
|
|
5715
|
+
}
|
|
5716
|
+
return toReturn;
|
|
5717
|
+
}
|
|
5718
|
+
}
|
|
5719
|
+
class ScopesScopeEntry {
|
|
5720
|
+
static fromProto(proto) {
|
|
5721
|
+
let m = new ScopesScopeEntry();
|
|
5722
|
+
m = Object.assign(m, proto);
|
|
5723
|
+
return m;
|
|
5724
|
+
}
|
|
5725
|
+
constructor(kwargs) {
|
|
5726
|
+
if (!kwargs) {
|
|
5727
|
+
return;
|
|
5728
|
+
}
|
|
5729
|
+
Object.assign(this, kwargs);
|
|
5730
|
+
}
|
|
5731
|
+
toApiJson() {
|
|
5732
|
+
const toReturn = {};
|
|
5733
|
+
if (typeof this.key !== 'undefined') {
|
|
5734
|
+
toReturn['key'] = this.key;
|
|
5735
|
+
}
|
|
5736
|
+
if (typeof this.value !== 'undefined') {
|
|
5737
|
+
toReturn['value'] = this.value;
|
|
5738
|
+
}
|
|
5739
|
+
return toReturn;
|
|
5740
|
+
}
|
|
5741
|
+
}
|
|
5742
|
+
class Scopes {
|
|
4549
5743
|
static fromProto(proto) {
|
|
4550
|
-
let m = new
|
|
5744
|
+
let m = new Scopes();
|
|
4551
5745
|
m = Object.assign(m, proto);
|
|
4552
|
-
if (proto.
|
|
4553
|
-
m.
|
|
5746
|
+
if (proto.scope) {
|
|
5747
|
+
m.scope = Object.keys(proto.scope).reduce((obj, k) => { obj[k] = proto.scope[k]; return obj; }, {});
|
|
4554
5748
|
}
|
|
4555
5749
|
return m;
|
|
4556
5750
|
}
|
|
@@ -4562,28 +5756,19 @@ class StockImage {
|
|
|
4562
5756
|
}
|
|
4563
5757
|
toApiJson() {
|
|
4564
5758
|
const toReturn = {};
|
|
4565
|
-
if (typeof this.
|
|
4566
|
-
toReturn['
|
|
4567
|
-
}
|
|
4568
|
-
if (typeof this.imageId !== 'undefined') {
|
|
4569
|
-
toReturn['imageId'] = this.imageId;
|
|
4570
|
-
}
|
|
4571
|
-
if (typeof this.source !== 'undefined') {
|
|
4572
|
-
toReturn['source'] = this.source;
|
|
4573
|
-
}
|
|
4574
|
-
if (typeof this.photographerName !== 'undefined') {
|
|
4575
|
-
toReturn['photographerName'] = this.photographerName;
|
|
4576
|
-
}
|
|
4577
|
-
if (typeof this.photographerUrl !== 'undefined') {
|
|
4578
|
-
toReturn['photographerUrl'] = this.photographerUrl;
|
|
5759
|
+
if (typeof this.scope !== 'undefined' && this.scope !== null) {
|
|
5760
|
+
toReturn['scope'] = 'toApiJson' in this.scope ? this.scope.toApiJson() : this.scope;
|
|
4579
5761
|
}
|
|
4580
5762
|
return toReturn;
|
|
4581
5763
|
}
|
|
4582
5764
|
}
|
|
4583
|
-
class
|
|
5765
|
+
class SecurityDefinitions {
|
|
4584
5766
|
static fromProto(proto) {
|
|
4585
|
-
let m = new
|
|
5767
|
+
let m = new SecurityDefinitions();
|
|
4586
5768
|
m = Object.assign(m, proto);
|
|
5769
|
+
if (proto.security) {
|
|
5770
|
+
m.security = Object.keys(proto.security).reduce((obj, k) => { obj[k] = SecurityScheme.fromProto(proto.security[k]); return obj; }, {});
|
|
5771
|
+
}
|
|
4587
5772
|
return m;
|
|
4588
5773
|
}
|
|
4589
5774
|
constructor(kwargs) {
|
|
@@ -4594,28 +5779,18 @@ class StockImageError {
|
|
|
4594
5779
|
}
|
|
4595
5780
|
toApiJson() {
|
|
4596
5781
|
const toReturn = {};
|
|
4597
|
-
if (typeof this.
|
|
4598
|
-
toReturn['
|
|
4599
|
-
}
|
|
4600
|
-
if (typeof this.message !== 'undefined') {
|
|
4601
|
-
toReturn['message'] = this.message;
|
|
5782
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
5783
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
4602
5784
|
}
|
|
4603
5785
|
return toReturn;
|
|
4604
5786
|
}
|
|
4605
5787
|
}
|
|
4606
|
-
|
|
4607
|
-
function enumStringToValue$f(enumRef, value) {
|
|
4608
|
-
if (typeof value === 'number') {
|
|
4609
|
-
return value;
|
|
4610
|
-
}
|
|
4611
|
-
return enumRef[value];
|
|
4612
|
-
}
|
|
4613
|
-
class BlogAuthor {
|
|
5788
|
+
class SecurityDefinitionsSecurityEntry {
|
|
4614
5789
|
static fromProto(proto) {
|
|
4615
|
-
let m = new
|
|
5790
|
+
let m = new SecurityDefinitionsSecurityEntry();
|
|
4616
5791
|
m = Object.assign(m, proto);
|
|
4617
|
-
if (proto.
|
|
4618
|
-
m.
|
|
5792
|
+
if (proto.value) {
|
|
5793
|
+
m.value = SecurityScheme.fromProto(proto.value);
|
|
4619
5794
|
}
|
|
4620
5795
|
return m;
|
|
4621
5796
|
}
|
|
@@ -4627,21 +5802,21 @@ class BlogAuthor {
|
|
|
4627
5802
|
}
|
|
4628
5803
|
toApiJson() {
|
|
4629
5804
|
const toReturn = {};
|
|
4630
|
-
if (typeof this.
|
|
4631
|
-
toReturn['
|
|
5805
|
+
if (typeof this.key !== 'undefined') {
|
|
5806
|
+
toReturn['key'] = this.key;
|
|
4632
5807
|
}
|
|
4633
|
-
if (typeof this.
|
|
4634
|
-
toReturn['
|
|
5808
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
5809
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
4635
5810
|
}
|
|
4636
5811
|
return toReturn;
|
|
4637
5812
|
}
|
|
4638
5813
|
}
|
|
4639
|
-
class
|
|
5814
|
+
class SecurityRequirement {
|
|
4640
5815
|
static fromProto(proto) {
|
|
4641
|
-
let m = new
|
|
5816
|
+
let m = new SecurityRequirement();
|
|
4642
5817
|
m = Object.assign(m, proto);
|
|
4643
|
-
if (proto.
|
|
4644
|
-
m.
|
|
5818
|
+
if (proto.securityRequirement) {
|
|
5819
|
+
m.securityRequirement = Object.keys(proto.securityRequirement).reduce((obj, k) => { obj[k] = SecurityRequirementSecurityRequirementValue.fromProto(proto.securityRequirement[k]); return obj; }, {});
|
|
4645
5820
|
}
|
|
4646
5821
|
return m;
|
|
4647
5822
|
}
|
|
@@ -4653,24 +5828,18 @@ class BlogCategory {
|
|
|
4653
5828
|
}
|
|
4654
5829
|
toApiJson() {
|
|
4655
5830
|
const toReturn = {};
|
|
4656
|
-
if (typeof this.
|
|
4657
|
-
toReturn['
|
|
4658
|
-
}
|
|
4659
|
-
if (typeof this.name !== 'undefined') {
|
|
4660
|
-
toReturn['name'] = this.name;
|
|
5831
|
+
if (typeof this.securityRequirement !== 'undefined' && this.securityRequirement !== null) {
|
|
5832
|
+
toReturn['securityRequirement'] = 'toApiJson' in this.securityRequirement ? this.securityRequirement.toApiJson() : this.securityRequirement;
|
|
4661
5833
|
}
|
|
4662
5834
|
return toReturn;
|
|
4663
5835
|
}
|
|
4664
5836
|
}
|
|
4665
|
-
class
|
|
5837
|
+
class SecurityRequirementSecurityRequirementEntry {
|
|
4666
5838
|
static fromProto(proto) {
|
|
4667
|
-
let m = new
|
|
5839
|
+
let m = new SecurityRequirementSecurityRequirementEntry();
|
|
4668
5840
|
m = Object.assign(m, proto);
|
|
4669
|
-
if (proto.
|
|
4670
|
-
m.
|
|
4671
|
-
}
|
|
4672
|
-
if (proto.authors) {
|
|
4673
|
-
m.authors = proto.authors.map(BlogAuthor.fromProto);
|
|
5841
|
+
if (proto.value) {
|
|
5842
|
+
m.value = SecurityRequirementSecurityRequirementValue.fromProto(proto.value);
|
|
4674
5843
|
}
|
|
4675
5844
|
return m;
|
|
4676
5845
|
}
|
|
@@ -4682,36 +5851,18 @@ class BlogWebsiteDetails {
|
|
|
4682
5851
|
}
|
|
4683
5852
|
toApiJson() {
|
|
4684
5853
|
const toReturn = {};
|
|
4685
|
-
if (typeof this.
|
|
4686
|
-
toReturn['
|
|
4687
|
-
}
|
|
4688
|
-
if (typeof this.siteUrl !== 'undefined') {
|
|
4689
|
-
toReturn['siteUrl'] = this.siteUrl;
|
|
4690
|
-
}
|
|
4691
|
-
if (typeof this.isSiteActive !== 'undefined') {
|
|
4692
|
-
toReturn['isSiteActive'] = this.isSiteActive;
|
|
4693
|
-
}
|
|
4694
|
-
if (typeof this.categories !== 'undefined' && this.categories !== null) {
|
|
4695
|
-
toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;
|
|
4696
|
-
}
|
|
4697
|
-
if (typeof this.authors !== 'undefined' && this.authors !== null) {
|
|
4698
|
-
toReturn['authors'] = 'toApiJson' in this.authors ? this.authors.toApiJson() : this.authors;
|
|
4699
|
-
}
|
|
4700
|
-
if (typeof this.version !== 'undefined') {
|
|
4701
|
-
toReturn['version'] = this.version;
|
|
4702
|
-
}
|
|
4703
|
-
if (typeof this.tags !== 'undefined') {
|
|
4704
|
-
toReturn['tags'] = this.tags;
|
|
5854
|
+
if (typeof this.key !== 'undefined') {
|
|
5855
|
+
toReturn['key'] = this.key;
|
|
4705
5856
|
}
|
|
4706
|
-
if (typeof this.
|
|
4707
|
-
toReturn['
|
|
5857
|
+
if (typeof this.value !== 'undefined' && this.value !== null) {
|
|
5858
|
+
toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
|
|
4708
5859
|
}
|
|
4709
5860
|
return toReturn;
|
|
4710
5861
|
}
|
|
4711
5862
|
}
|
|
4712
|
-
class
|
|
5863
|
+
class SecurityRequirementSecurityRequirementValue {
|
|
4713
5864
|
static fromProto(proto) {
|
|
4714
|
-
let m = new
|
|
5865
|
+
let m = new SecurityRequirementSecurityRequirementValue();
|
|
4715
5866
|
m = Object.assign(m, proto);
|
|
4716
5867
|
return m;
|
|
4717
5868
|
}
|
|
@@ -4723,18 +5874,30 @@ class GetBlogWebsiteDetailsRequest {
|
|
|
4723
5874
|
}
|
|
4724
5875
|
toApiJson() {
|
|
4725
5876
|
const toReturn = {};
|
|
4726
|
-
if (typeof this.
|
|
4727
|
-
toReturn['
|
|
5877
|
+
if (typeof this.scope !== 'undefined') {
|
|
5878
|
+
toReturn['scope'] = this.scope;
|
|
4728
5879
|
}
|
|
4729
5880
|
return toReturn;
|
|
4730
5881
|
}
|
|
4731
5882
|
}
|
|
4732
|
-
class
|
|
5883
|
+
class SecurityScheme {
|
|
4733
5884
|
static fromProto(proto) {
|
|
4734
|
-
let m = new
|
|
5885
|
+
let m = new SecurityScheme();
|
|
4735
5886
|
m = Object.assign(m, proto);
|
|
4736
|
-
if (proto.
|
|
4737
|
-
m.
|
|
5887
|
+
if (proto.type) {
|
|
5888
|
+
m.type = enumStringToValue$e(SecuritySchemeType, proto.type);
|
|
5889
|
+
}
|
|
5890
|
+
if (proto.in) {
|
|
5891
|
+
m.in = enumStringToValue$e(SecuritySchemeIn, proto.in);
|
|
5892
|
+
}
|
|
5893
|
+
if (proto.flow) {
|
|
5894
|
+
m.flow = enumStringToValue$e(SecuritySchemeFlow, proto.flow);
|
|
5895
|
+
}
|
|
5896
|
+
if (proto.scopes) {
|
|
5897
|
+
m.scopes = Scopes.fromProto(proto.scopes);
|
|
5898
|
+
}
|
|
5899
|
+
if (proto.extensions) {
|
|
5900
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
4738
5901
|
}
|
|
4739
5902
|
return m;
|
|
4740
5903
|
}
|
|
@@ -4746,23 +5909,64 @@ class GetBlogWebsiteDetailsResponse {
|
|
|
4746
5909
|
}
|
|
4747
5910
|
toApiJson() {
|
|
4748
5911
|
const toReturn = {};
|
|
4749
|
-
if (typeof this.
|
|
4750
|
-
toReturn['
|
|
5912
|
+
if (typeof this.type !== 'undefined') {
|
|
5913
|
+
toReturn['type'] = this.type;
|
|
5914
|
+
}
|
|
5915
|
+
if (typeof this.description !== 'undefined') {
|
|
5916
|
+
toReturn['description'] = this.description;
|
|
5917
|
+
}
|
|
5918
|
+
if (typeof this.name !== 'undefined') {
|
|
5919
|
+
toReturn['name'] = this.name;
|
|
5920
|
+
}
|
|
5921
|
+
if (typeof this.in !== 'undefined') {
|
|
5922
|
+
toReturn['in'] = this.in;
|
|
5923
|
+
}
|
|
5924
|
+
if (typeof this.flow !== 'undefined') {
|
|
5925
|
+
toReturn['flow'] = this.flow;
|
|
5926
|
+
}
|
|
5927
|
+
if (typeof this.authorizationUrl !== 'undefined') {
|
|
5928
|
+
toReturn['authorizationUrl'] = this.authorizationUrl;
|
|
5929
|
+
}
|
|
5930
|
+
if (typeof this.tokenUrl !== 'undefined') {
|
|
5931
|
+
toReturn['tokenUrl'] = this.tokenUrl;
|
|
5932
|
+
}
|
|
5933
|
+
if (typeof this.scopes !== 'undefined' && this.scopes !== null) {
|
|
5934
|
+
toReturn['scopes'] = 'toApiJson' in this.scopes ? this.scopes.toApiJson() : this.scopes;
|
|
5935
|
+
}
|
|
5936
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
5937
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
4751
5938
|
}
|
|
4752
5939
|
return toReturn;
|
|
4753
5940
|
}
|
|
4754
5941
|
}
|
|
4755
|
-
|
|
4756
|
-
function enumStringToValue$e(enumRef, value) {
|
|
4757
|
-
if (typeof value === 'number') {
|
|
4758
|
-
return value;
|
|
4759
|
-
}
|
|
4760
|
-
return enumRef[value];
|
|
4761
|
-
}
|
|
4762
|
-
class Access {
|
|
5942
|
+
class Swagger {
|
|
4763
5943
|
static fromProto(proto) {
|
|
4764
|
-
let m = new
|
|
5944
|
+
let m = new Swagger();
|
|
4765
5945
|
m = Object.assign(m, proto);
|
|
5946
|
+
if (proto.info) {
|
|
5947
|
+
m.info = Info.fromProto(proto.info);
|
|
5948
|
+
}
|
|
5949
|
+
if (proto.schemes) {
|
|
5950
|
+
m.schemes = proto.schemes.map((v) => enumStringToValue$e(Scheme, v));
|
|
5951
|
+
}
|
|
5952
|
+
if (proto.responses) {
|
|
5953
|
+
m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response$1.fromProto(proto.responses[k]); return obj; }, {});
|
|
5954
|
+
}
|
|
5955
|
+
if (proto.securityDefinitions) {
|
|
5956
|
+
m.securityDefinitions = SecurityDefinitions.fromProto(proto.securityDefinitions);
|
|
5957
|
+
}
|
|
5958
|
+
if (proto.security) {
|
|
5959
|
+
m.security = proto.security.map(SecurityRequirement.fromProto);
|
|
5960
|
+
}
|
|
5961
|
+
if (proto.tags) {
|
|
5962
|
+
m.tags = proto.tags.map(Tag.fromProto);
|
|
5963
|
+
}
|
|
5964
|
+
if (proto.externalDocs) {
|
|
5965
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
5966
|
+
}
|
|
5967
|
+
if (proto.extensions) {
|
|
5968
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
5969
|
+
}
|
|
4766
5970
|
return m;
|
|
4767
5971
|
}
|
|
4768
5972
|
constructor(kwargs) {
|
|
@@ -4773,19 +5977,58 @@ class Access {
|
|
|
4773
5977
|
}
|
|
4774
5978
|
toApiJson() {
|
|
4775
5979
|
const toReturn = {};
|
|
4776
|
-
if (typeof this.
|
|
4777
|
-
toReturn['
|
|
5980
|
+
if (typeof this.swagger !== 'undefined') {
|
|
5981
|
+
toReturn['swagger'] = this.swagger;
|
|
4778
5982
|
}
|
|
4779
|
-
if (typeof this.
|
|
4780
|
-
toReturn['
|
|
5983
|
+
if (typeof this.info !== 'undefined' && this.info !== null) {
|
|
5984
|
+
toReturn['info'] = 'toApiJson' in this.info ? this.info.toApiJson() : this.info;
|
|
5985
|
+
}
|
|
5986
|
+
if (typeof this.host !== 'undefined') {
|
|
5987
|
+
toReturn['host'] = this.host;
|
|
5988
|
+
}
|
|
5989
|
+
if (typeof this.basePath !== 'undefined') {
|
|
5990
|
+
toReturn['basePath'] = this.basePath;
|
|
5991
|
+
}
|
|
5992
|
+
if (typeof this.schemes !== 'undefined') {
|
|
5993
|
+
toReturn['schemes'] = this.schemes;
|
|
5994
|
+
}
|
|
5995
|
+
if (typeof this.consumes !== 'undefined') {
|
|
5996
|
+
toReturn['consumes'] = this.consumes;
|
|
5997
|
+
}
|
|
5998
|
+
if (typeof this.produces !== 'undefined') {
|
|
5999
|
+
toReturn['produces'] = this.produces;
|
|
6000
|
+
}
|
|
6001
|
+
if (typeof this.responses !== 'undefined' && this.responses !== null) {
|
|
6002
|
+
toReturn['responses'] = 'toApiJson' in this.responses ? this.responses.toApiJson() : this.responses;
|
|
6003
|
+
}
|
|
6004
|
+
if (typeof this.securityDefinitions !== 'undefined' && this.securityDefinitions !== null) {
|
|
6005
|
+
toReturn['securityDefinitions'] = 'toApiJson' in this.securityDefinitions ? this.securityDefinitions.toApiJson() : this.securityDefinitions;
|
|
6006
|
+
}
|
|
6007
|
+
if (typeof this.security !== 'undefined' && this.security !== null) {
|
|
6008
|
+
toReturn['security'] = 'toApiJson' in this.security ? this.security.toApiJson() : this.security;
|
|
6009
|
+
}
|
|
6010
|
+
if (typeof this.tags !== 'undefined' && this.tags !== null) {
|
|
6011
|
+
toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;
|
|
6012
|
+
}
|
|
6013
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
6014
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
6015
|
+
}
|
|
6016
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
6017
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
4781
6018
|
}
|
|
4782
6019
|
return toReturn;
|
|
4783
6020
|
}
|
|
4784
6021
|
}
|
|
4785
|
-
class
|
|
6022
|
+
class Tag {
|
|
4786
6023
|
static fromProto(proto) {
|
|
4787
|
-
let m = new
|
|
6024
|
+
let m = new Tag();
|
|
4788
6025
|
m = Object.assign(m, proto);
|
|
6026
|
+
if (proto.externalDocs) {
|
|
6027
|
+
m.externalDocs = ExternalDocumentation.fromProto(proto.externalDocs);
|
|
6028
|
+
}
|
|
6029
|
+
if (proto.extensions) {
|
|
6030
|
+
m.extensions = Object.keys(proto.extensions).reduce((obj, k) => { obj[k] = proto.extensions[k]; return obj; }, {});
|
|
6031
|
+
}
|
|
4789
6032
|
return m;
|
|
4790
6033
|
}
|
|
4791
6034
|
constructor(kwargs) {
|
|
@@ -4796,8 +6039,17 @@ class MCPOptions {
|
|
|
4796
6039
|
}
|
|
4797
6040
|
toApiJson() {
|
|
4798
6041
|
const toReturn = {};
|
|
4799
|
-
if (typeof this.
|
|
4800
|
-
toReturn['
|
|
6042
|
+
if (typeof this.name !== 'undefined') {
|
|
6043
|
+
toReturn['name'] = this.name;
|
|
6044
|
+
}
|
|
6045
|
+
if (typeof this.description !== 'undefined') {
|
|
6046
|
+
toReturn['description'] = this.description;
|
|
6047
|
+
}
|
|
6048
|
+
if (typeof this.externalDocs !== 'undefined' && this.externalDocs !== null) {
|
|
6049
|
+
toReturn['externalDocs'] = 'toApiJson' in this.externalDocs ? this.externalDocs.toApiJson() : this.externalDocs;
|
|
6050
|
+
}
|
|
6051
|
+
if (typeof this.extensions !== 'undefined' && this.extensions !== null) {
|
|
6052
|
+
toReturn['extensions'] = 'toApiJson' in this.extensions ? this.extensions.toApiJson() : this.extensions;
|
|
4801
6053
|
}
|
|
4802
6054
|
return toReturn;
|
|
4803
6055
|
}
|
|
@@ -5177,7 +6429,7 @@ class Media {
|
|
|
5177
6429
|
let m = new Media();
|
|
5178
6430
|
m = Object.assign(m, proto);
|
|
5179
6431
|
if (proto.mediaType) {
|
|
5180
|
-
m.mediaType = enumStringToValue$c(MediaType, proto.mediaType);
|
|
6432
|
+
m.mediaType = enumStringToValue$c(MediaType$1, proto.mediaType);
|
|
5181
6433
|
}
|
|
5182
6434
|
return m;
|
|
5183
6435
|
}
|
|
@@ -6488,6 +7740,52 @@ class GetMediaMetadataFromURLResponse {
|
|
|
6488
7740
|
return toReturn;
|
|
6489
7741
|
}
|
|
6490
7742
|
}
|
|
7743
|
+
class GetXSubscriptionTypeRequest {
|
|
7744
|
+
static fromProto(proto) {
|
|
7745
|
+
let m = new GetXSubscriptionTypeRequest();
|
|
7746
|
+
m = Object.assign(m, proto);
|
|
7747
|
+
return m;
|
|
7748
|
+
}
|
|
7749
|
+
constructor(kwargs) {
|
|
7750
|
+
if (!kwargs) {
|
|
7751
|
+
return;
|
|
7752
|
+
}
|
|
7753
|
+
Object.assign(this, kwargs);
|
|
7754
|
+
}
|
|
7755
|
+
toApiJson() {
|
|
7756
|
+
const toReturn = {};
|
|
7757
|
+
if (typeof this.socialServiceId !== 'undefined') {
|
|
7758
|
+
toReturn['socialServiceId'] = this.socialServiceId;
|
|
7759
|
+
}
|
|
7760
|
+
if (typeof this.businessId !== 'undefined') {
|
|
7761
|
+
toReturn['businessId'] = this.businessId;
|
|
7762
|
+
}
|
|
7763
|
+
return toReturn;
|
|
7764
|
+
}
|
|
7765
|
+
}
|
|
7766
|
+
class GetXSubscriptionTypeResponse {
|
|
7767
|
+
static fromProto(proto) {
|
|
7768
|
+
let m = new GetXSubscriptionTypeResponse();
|
|
7769
|
+
m = Object.assign(m, proto);
|
|
7770
|
+
if (proto.subscriptionType) {
|
|
7771
|
+
m.subscriptionType = enumStringToValue$9(XSubscriptionType, proto.subscriptionType);
|
|
7772
|
+
}
|
|
7773
|
+
return m;
|
|
7774
|
+
}
|
|
7775
|
+
constructor(kwargs) {
|
|
7776
|
+
if (!kwargs) {
|
|
7777
|
+
return;
|
|
7778
|
+
}
|
|
7779
|
+
Object.assign(this, kwargs);
|
|
7780
|
+
}
|
|
7781
|
+
toApiJson() {
|
|
7782
|
+
const toReturn = {};
|
|
7783
|
+
if (typeof this.subscriptionType !== 'undefined') {
|
|
7784
|
+
toReturn['subscriptionType'] = this.subscriptionType;
|
|
7785
|
+
}
|
|
7786
|
+
return toReturn;
|
|
7787
|
+
}
|
|
7788
|
+
}
|
|
6491
7789
|
class ImageBlob {
|
|
6492
7790
|
static fromProto(proto) {
|
|
6493
7791
|
let m = new ImageBlob();
|
|
@@ -6534,9 +7832,9 @@ class ImageCreated {
|
|
|
6534
7832
|
return toReturn;
|
|
6535
7833
|
}
|
|
6536
7834
|
}
|
|
6537
|
-
class
|
|
7835
|
+
class ImageResponse {
|
|
6538
7836
|
static fromProto(proto) {
|
|
6539
|
-
let m = new
|
|
7837
|
+
let m = new ImageResponse();
|
|
6540
7838
|
m = Object.assign(m, proto);
|
|
6541
7839
|
return m;
|
|
6542
7840
|
}
|
|
@@ -6551,8 +7849,8 @@ class GeneratePostsResponseImageResponse {
|
|
|
6551
7849
|
if (typeof this.type !== 'undefined') {
|
|
6552
7850
|
toReturn['type'] = this.type;
|
|
6553
7851
|
}
|
|
6554
|
-
if (typeof this.
|
|
6555
|
-
toReturn['
|
|
7852
|
+
if (typeof this.webformatUrl !== 'undefined') {
|
|
7853
|
+
toReturn['webformatUrl'] = this.webformatUrl;
|
|
6556
7854
|
}
|
|
6557
7855
|
if (typeof this.fullHdUrl !== 'undefined') {
|
|
6558
7856
|
toReturn['fullHdUrl'] = this.fullHdUrl;
|
|
@@ -6563,9 +7861,9 @@ class GeneratePostsResponseImageResponse {
|
|
|
6563
7861
|
return toReturn;
|
|
6564
7862
|
}
|
|
6565
7863
|
}
|
|
6566
|
-
class
|
|
7864
|
+
class GeneratePostsResponseImageResponse {
|
|
6567
7865
|
static fromProto(proto) {
|
|
6568
|
-
let m = new
|
|
7866
|
+
let m = new GeneratePostsResponseImageResponse();
|
|
6569
7867
|
m = Object.assign(m, proto);
|
|
6570
7868
|
return m;
|
|
6571
7869
|
}
|
|
@@ -6580,8 +7878,8 @@ class ImageResponse {
|
|
|
6580
7878
|
if (typeof this.type !== 'undefined') {
|
|
6581
7879
|
toReturn['type'] = this.type;
|
|
6582
7880
|
}
|
|
6583
|
-
if (typeof this.
|
|
6584
|
-
toReturn['
|
|
7881
|
+
if (typeof this.webFormatUrl !== 'undefined') {
|
|
7882
|
+
toReturn['webFormatUrl'] = this.webFormatUrl;
|
|
6585
7883
|
}
|
|
6586
7884
|
if (typeof this.fullHdUrl !== 'undefined') {
|
|
6587
7885
|
toReturn['fullHdUrl'] = this.fullHdUrl;
|
|
@@ -6925,12 +8223,12 @@ class MultiResponse {
|
|
|
6925
8223
|
return toReturn;
|
|
6926
8224
|
}
|
|
6927
8225
|
}
|
|
6928
|
-
class
|
|
8226
|
+
class GeneratePostsResponsePost {
|
|
6929
8227
|
static fromProto(proto) {
|
|
6930
|
-
let m = new
|
|
8228
|
+
let m = new GeneratePostsResponsePost();
|
|
6931
8229
|
m = Object.assign(m, proto);
|
|
6932
|
-
if (proto.
|
|
6933
|
-
m.
|
|
8230
|
+
if (proto.imageResponse) {
|
|
8231
|
+
m.imageResponse = GeneratePostsResponseImageResponse.fromProto(proto.imageResponse);
|
|
6934
8232
|
}
|
|
6935
8233
|
return m;
|
|
6936
8234
|
}
|
|
@@ -6942,21 +8240,21 @@ class Post {
|
|
|
6942
8240
|
}
|
|
6943
8241
|
toApiJson() {
|
|
6944
8242
|
const toReturn = {};
|
|
6945
|
-
if (typeof this.
|
|
6946
|
-
toReturn['
|
|
8243
|
+
if (typeof this.text !== 'undefined') {
|
|
8244
|
+
toReturn['text'] = this.text;
|
|
6947
8245
|
}
|
|
6948
|
-
if (typeof this.
|
|
6949
|
-
toReturn['
|
|
8246
|
+
if (typeof this.imageResponse !== 'undefined' && this.imageResponse !== null) {
|
|
8247
|
+
toReturn['imageResponse'] = 'toApiJson' in this.imageResponse ? this.imageResponse.toApiJson() : this.imageResponse;
|
|
6950
8248
|
}
|
|
6951
8249
|
return toReturn;
|
|
6952
8250
|
}
|
|
6953
8251
|
}
|
|
6954
|
-
class
|
|
8252
|
+
class Post {
|
|
6955
8253
|
static fromProto(proto) {
|
|
6956
|
-
let m = new
|
|
8254
|
+
let m = new Post();
|
|
6957
8255
|
m = Object.assign(m, proto);
|
|
6958
|
-
if (proto.
|
|
6959
|
-
m.
|
|
8256
|
+
if (proto.postContent) {
|
|
8257
|
+
m.postContent = proto.postContent.map(PostContent.fromProto);
|
|
6960
8258
|
}
|
|
6961
8259
|
return m;
|
|
6962
8260
|
}
|
|
@@ -6968,11 +8266,11 @@ class GeneratePostsResponsePost {
|
|
|
6968
8266
|
}
|
|
6969
8267
|
toApiJson() {
|
|
6970
8268
|
const toReturn = {};
|
|
6971
|
-
if (typeof this.
|
|
6972
|
-
toReturn['
|
|
8269
|
+
if (typeof this.topic !== 'undefined') {
|
|
8270
|
+
toReturn['topic'] = this.topic;
|
|
6973
8271
|
}
|
|
6974
|
-
if (typeof this.
|
|
6975
|
-
toReturn['
|
|
8272
|
+
if (typeof this.postContent !== 'undefined' && this.postContent !== null) {
|
|
8273
|
+
toReturn['postContent'] = 'toApiJson' in this.postContent ? this.postContent.toApiJson() : this.postContent;
|
|
6976
8274
|
}
|
|
6977
8275
|
return toReturn;
|
|
6978
8276
|
}
|
|
@@ -7407,7 +8705,7 @@ class UploadToStorageRequest {
|
|
|
7407
8705
|
let m = new UploadToStorageRequest();
|
|
7408
8706
|
m = Object.assign(m, proto);
|
|
7409
8707
|
if (proto.mediaType) {
|
|
7410
|
-
m.mediaType = enumStringToValue$9(MediaType, proto.mediaType);
|
|
8708
|
+
m.mediaType = enumStringToValue$9(MediaType$1, proto.mediaType);
|
|
7411
8709
|
}
|
|
7412
8710
|
return m;
|
|
7413
8711
|
}
|
|
@@ -10162,7 +11460,7 @@ class MediaItem {
|
|
|
10162
11460
|
let m = new MediaItem();
|
|
10163
11461
|
m = Object.assign(m, proto);
|
|
10164
11462
|
if (proto.mediaType) {
|
|
10165
|
-
m.mediaType = enumStringToValue$1(MediaType, proto.mediaType);
|
|
11463
|
+
m.mediaType = enumStringToValue$1(MediaType$1, proto.mediaType);
|
|
10166
11464
|
}
|
|
10167
11465
|
return m;
|
|
10168
11466
|
}
|
|
@@ -11716,6 +13014,11 @@ class SocialPostsV2ApiService {
|
|
|
11716
13014
|
return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/GetMediaMetadataFromURL", request.toApiJson(), this.apiOptions())
|
|
11717
13015
|
.pipe(map(resp => GetMediaMetadataFromURLResponse.fromProto(resp)));
|
|
11718
13016
|
}
|
|
13017
|
+
getXSubscriptionType(r) {
|
|
13018
|
+
const request = (r.toApiJson) ? r : new GetXSubscriptionTypeRequest(r);
|
|
13019
|
+
return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/GetXSubscriptionType", request.toApiJson(), this.apiOptions())
|
|
13020
|
+
.pipe(map(resp => GetXSubscriptionTypeResponse.fromProto(resp)));
|
|
13021
|
+
}
|
|
11719
13022
|
}
|
|
11720
13023
|
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
11721
13024
|
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
|
|
@@ -12251,6 +13554,9 @@ class SocialPostsV2Service {
|
|
|
12251
13554
|
const urlRequest = new GetMediaMetadataFromURLRequest({ url: url });
|
|
12252
13555
|
return this.socialpostV2ApiService.getMediaMetadataFromUrl(urlRequest);
|
|
12253
13556
|
}
|
|
13557
|
+
getXSubscriptionType(req) {
|
|
13558
|
+
return this.socialpostV2ApiService.getXSubscriptionType(req);
|
|
13559
|
+
}
|
|
12254
13560
|
}
|
|
12255
13561
|
SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12256
13562
|
SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
|
|
@@ -12486,5 +13792,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
12486
13792
|
* Generated bundle index. Do not edit.
|
|
12487
13793
|
*/
|
|
12488
13794
|
|
|
12489
|
-
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author, AuthorsRequest, AuthorsResponse, BlogAuthor, BlogCategory, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCampaign, BlogPostCustomization, BlogPostOptions, BlogPostsService, BlogVideo, BlogWebsiteDetails, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, BulkPostStatus, BulkUploadMultilocation, CallToAction, CallToActionCallToActionType, CallToActionType, Campaign, CampaignCustomization, CampaignService, Categories, Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, ContentMetadata, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCampaignRequest, CreateCampaignResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateContentRequest, CreateContentResponse, CreateDraftRequest, CreateDraftResponse, CreateImageRequest, CreateImageResponse, CreateMultiDraftsRequest, CreateMultiDraftsResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreateOrEditRequest, CreateOrEditResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, CustomizationStatus, DateRange, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteCampaignRequest, DeleteDraftRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, Draft, DraftAuthor, DraftBlogPostCustomization, DraftMedia, DraftMetaData, DraftTikTokCustomization, DraftType, DraftYoutubeCustomization, DraftYoutubeCustomizationPrivacyStatus, DraftsService, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, EngagementParameter, Error, Event, FacebookPageInfo, FacebookPostStats, FetchFacebookMentionInfoRequest, FetchFacebookMentionInfoResponse, FetchFacebookMentionInfoResponsePageInfoEntry, FetchLibraryImagesRequest, FetchLibraryImagesResponse, FieldMask, FilterBy, GMBCustomization, GMBPostCustomization, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponseImageResponse, GeneratePostsResponsePost, GenerateType, GeneratedImage, GetBlogConnectionRequest, GetBlogConnectionResponse, GetBlogWebsiteDetailsRequest, GetBlogWebsiteDetailsResponse, GetCampaignRequest, GetCampaignResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetDraftRequest, GetDraftResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBackground, ImageBlob, ImageCreated, ImageInputSource, ImageModel, ImageOutputFormat, ImageQuality, ImageResponse, ImageSource, ImageStyle, ImageUrl, InstagramPostStats, KeywordGeneration, KeywordList, Link, LinkV2,
|
|
13795
|
+
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogAuthor, BlogCategory, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCampaign, BlogPostCustomization, BlogPostOptions, BlogPostsService, BlogVideo, BlogWebsiteDetails, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, BulkPostStatus, BulkUploadMultilocation, CallToAction, CallToActionCallToActionType, CallToActionType, Campaign, CampaignCustomization, CampaignService, Categories, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, Contact, ContentGenerationService, ContentLength, ContentMetadata, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCampaignRequest, CreateCampaignResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateContentRequest, CreateContentResponse, CreateDraftRequest, CreateDraftResponse, CreateImageRequest, CreateImageResponse, CreateMultiDraftsRequest, CreateMultiDraftsResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreateOrEditRequest, CreateOrEditResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, CustomizationStatus, DateRange, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteCampaignRequest, DeleteDraftRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, Draft, DraftAuthor, DraftBlogPostCustomization, DraftMedia, DraftMetaData, DraftTikTokCustomization, DraftType, DraftYoutubeCustomization, DraftYoutubeCustomizationPrivacyStatus, DraftsService, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, EngagementParameter, EnumSchema, EnumSchemaExtensionsEntry, Error, Event, ExternalDocumentation, FacebookPageInfo, FacebookPostStats, FetchFacebookMentionInfoRequest, FetchFacebookMentionInfoResponse, FetchFacebookMentionInfoResponsePageInfoEntry, FetchLibraryImagesRequest, FetchLibraryImagesResponse, FieldMask, FilterBy, GMBCustomization, GMBPostCustomization, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponseImageResponse, GeneratePostsResponsePost, GenerateType, GeneratedImage, GetBlogConnectionRequest, GetBlogConnectionResponse, GetBlogWebsiteDetailsRequest, GetBlogWebsiteDetailsResponse, GetCampaignRequest, GetCampaignResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetDraftRequest, GetDraftResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiCampaignsRequest, GetMultiCampaignsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, HashTagsService, Hashtag, Header, HeaderParameter, HeaderParameterType, Image, ImageBackground, ImageBlob, ImageCreated, ImageInputSource, ImageModel, ImageOutputFormat, ImageQuality, ImageResponse, ImageSource, ImageStyle, ImageUrl, Info, InfoExtensionsEntry, InstagramPostStats, JSONSchema, JSONSchemaExtensionsEntry, JSONSchemaFieldConfiguration, JSONSchemaJSONSchemaSimpleTypes, KeywordGeneration, KeywordList, License, Link, LinkV2, LinkedInPostStats, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListDraftsByNetworkIdentifierRequest, ListDraftsByNetworkIdentifierResponse, ListDraftsRequest, ListDraftsResponse, ListMultilocationDraftsRequest, ListMultilocationDraftsResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPexelsImagesRequest, ListPexelsImagesResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListSocialPostEngagementsRequest, ListSocialPostEngagementsResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListStockImagesRequest, ListStockImagesResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, MCPOptions, MLPostCategory, MLPostState, Media, MediaContentType, MediaEntry, MediaItem, MediaProperty, MediaType$1 as MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MlDraftPost, MultiDeleteMLDraftPostsRequest, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, MultilocationServices, Namespace, NamespaceType, Network, Response$1 as OpenApiResponse, Operation, OperationExtensionsEntry, OperationResponsesEntry, Parameters, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PexelsImage, PexelsImageService, Photo, PixabayImage, PixabayImageService, Post, PostAction, PostActionV2, PostCategory, PostContent, PostContentV2, PostCustomization, PostCustomizationByLocation, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PostsGeneration, ProvisionAction, ProvisionRequest, PublishMode, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostBlogPostRequest, RepostSocialPostRequest, Response, ResponseExamplesEntry, ResponseExtensionsEntry, ResponseHeadersEntry, Role, SSIDDraftType, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, Schema, Scheme, Scopes, ScopesScopeEntry, SearchHashtagRequest, SearchHashtagResponse, SecurityDefinitions, SecurityDefinitionsSecurityEntry, SecurityRequirement, SecurityRequirementSecurityRequirementEntry, SecurityRequirementSecurityRequirementValue, SecurityScheme, SecuritySchemeExtensionsEntry, SecuritySchemeFlow, SecuritySchemeIn, SecuritySchemeType, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialCampaign, SocialContentItem, MediaType as SocialContentMediaType, SocialContentResult, SocialContentType, SocialEngagement, SocialMentionsService, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostEngagement, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SocialService, SortBy, SortBySortDirection, Source, SsidPostType, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, StockImage, StockImageError, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Swagger, SwaggerExtensionsEntry, SwaggerResponsesEntry, Tag, TagExtensionsEntry, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TikTokPostStats, TitleGeneration, Tone, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCampaignIdRequest, UpdateCampaignRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateDraftRequest, UpdateDraftResponse, UpdateMultiMLDraftsRequest, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, VisibilityType, WordpressPluginService, Author as WpAuthor, Category as WpCategory, XSubscriptionType, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2, YoutubePostStats, HeaderParameterType as gatewayprotoc_gen_openapiv2optionsHeaderParameterType, JSONSchemaJSONSchemaSimpleTypes as gatewayprotoc_gen_openapiv2optionsJSONSchemaJSONSchemaSimpleTypes, Scheme as gatewayprotoc_gen_openapiv2optionsScheme, SecuritySchemeFlow as gatewayprotoc_gen_openapiv2optionsSecuritySchemeFlow, SecuritySchemeIn as gatewayprotoc_gen_openapiv2optionsSecuritySchemeIn, SecuritySchemeType as gatewayprotoc_gen_openapiv2optionsSecuritySchemeType };
|
|
12490
13796
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|