@vendasta/social-posts 5.50.0 → 5.52.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.
Files changed (75) hide show
  1. package/esm2020/lib/_internal/enums/chat-bot-v2.enum.mjs +7 -1
  2. package/esm2020/lib/_internal/enums/image-generation.enum.mjs +2 -1
  3. package/esm2020/lib/_internal/enums/index.mjs +3 -3
  4. package/esm2020/lib/_internal/enums/social-content.enum.mjs +20 -1
  5. package/esm2020/lib/_internal/index.mjs +2 -1
  6. package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +1 -1
  7. package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
  8. package/esm2020/lib/_internal/interfaces/chat-bot-v2.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/drafts-api.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/interfaces/drafts.interface.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/image-generation.interface.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  13. package/esm2020/lib/_internal/interfaces/social-comment.interface.mjs +8 -0
  14. package/esm2020/lib/_internal/interfaces/social-comments.interface.mjs +2 -0
  15. package/esm2020/lib/_internal/interfaces/social-content.interface.mjs +1 -1
  16. package/esm2020/lib/_internal/interfaces/social-post-v2.interface.mjs +1 -1
  17. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
  18. package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -7
  19. package/esm2020/lib/_internal/objects/annotations.mjs +7 -1
  20. package/esm2020/lib/_internal/objects/api-v2.mjs +345 -1
  21. package/esm2020/lib/_internal/objects/chat-bot-v2.mjs +7 -1
  22. package/esm2020/lib/_internal/objects/drafts-api.mjs +7 -1
  23. package/esm2020/lib/_internal/objects/drafts.mjs +7 -1
  24. package/esm2020/lib/_internal/objects/image-generation.mjs +4 -1
  25. package/esm2020/lib/_internal/objects/index.mjs +5 -3
  26. package/esm2020/lib/_internal/objects/social-comment.mjs +54 -0
  27. package/esm2020/lib/_internal/objects/social-comments.mjs +134 -0
  28. package/esm2020/lib/_internal/objects/social-content.mjs +454 -1
  29. package/esm2020/lib/_internal/objects/social-post-v2.mjs +7 -1
  30. package/esm2020/lib/_internal/objects/social-posts.mjs +7 -1
  31. package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +23 -1
  32. package/esm2020/lib/_internal/social-comments.api.service.mjs +45 -0
  33. package/esm2020/lib/_internal/social-content.api.service.mjs +17 -2
  34. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -2
  35. package/esm2020/lib/social-post-v2.service.mjs +6 -2
  36. package/fesm2015/vendasta-social-posts.mjs +1365 -234
  37. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  38. package/fesm2020/vendasta-social-posts.mjs +1365 -234
  39. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  40. package/lib/_internal/enums/chat-bot-v2.enum.d.ts +5 -0
  41. package/lib/_internal/enums/image-generation.enum.d.ts +2 -1
  42. package/lib/_internal/enums/index.d.ts +2 -2
  43. package/lib/_internal/enums/social-content.enum.d.ts +16 -0
  44. package/lib/_internal/index.d.ts +1 -0
  45. package/lib/_internal/interfaces/annotations.interface.d.ts +2 -0
  46. package/lib/_internal/interfaces/api-v2.interface.d.ts +69 -0
  47. package/lib/_internal/interfaces/chat-bot-v2.interface.d.ts +1 -0
  48. package/lib/_internal/interfaces/drafts-api.interface.d.ts +2 -0
  49. package/lib/_internal/interfaces/drafts.interface.d.ts +2 -0
  50. package/lib/_internal/interfaces/image-generation.interface.d.ts +1 -0
  51. package/lib/_internal/interfaces/index.d.ts +4 -2
  52. package/lib/_internal/interfaces/social-comment.interface.d.ts +10 -0
  53. package/lib/_internal/interfaces/social-comments.interface.d.ts +25 -0
  54. package/lib/_internal/interfaces/social-content.interface.d.ts +75 -0
  55. package/lib/_internal/interfaces/social-post-v2.interface.d.ts +2 -0
  56. package/lib/_internal/interfaces/social-posts.interface.d.ts +2 -0
  57. package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +6 -0
  58. package/lib/_internal/objects/annotations.d.ts +2 -0
  59. package/lib/_internal/objects/api-v2.d.ts +99 -0
  60. package/lib/_internal/objects/chat-bot-v2.d.ts +1 -0
  61. package/lib/_internal/objects/drafts-api.d.ts +2 -0
  62. package/lib/_internal/objects/drafts.d.ts +2 -0
  63. package/lib/_internal/objects/image-generation.d.ts +1 -0
  64. package/lib/_internal/objects/index.d.ts +4 -2
  65. package/lib/_internal/objects/social-comment.d.ts +15 -0
  66. package/lib/_internal/objects/social-comments.d.ts +39 -0
  67. package/lib/_internal/objects/social-content.d.ts +120 -0
  68. package/lib/_internal/objects/social-post-v2.d.ts +2 -0
  69. package/lib/_internal/objects/social-posts.d.ts +2 -0
  70. package/lib/_internal/objects/wordpress-plugin.d.ts +6 -0
  71. package/lib/_internal/social-comments.api.service.d.ts +14 -0
  72. package/lib/_internal/social-content.api.service.d.ts +5 -2
  73. package/lib/_internal/social-posts-v2.api.service.d.ts +3 -2
  74. package/lib/social-post-v2.service.d.ts +2 -1
  75. 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$r(enumRef, value) {
7
+ function enumStringToValue$t(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$q(enumRef, value) {
34
+ function enumStringToValue$s(enumRef, value) {
35
35
  if (typeof value === 'number') {
36
36
  return value;
37
37
  }
@@ -410,6 +410,12 @@ var ActionType;
410
410
  //
411
411
  // Enums.
412
412
  // *********************************
413
+ var ContentType;
414
+ (function (ContentType) {
415
+ ContentType[ContentType["CONTENT_TYPE_INVALID"] = 0] = "CONTENT_TYPE_INVALID";
416
+ ContentType[ContentType["CONTENT_TYPE_SOCIAL_POST"] = 1] = "CONTENT_TYPE_SOCIAL_POST";
417
+ ContentType[ContentType["CONTENT_TYPE_BLOG_POST"] = 2] = "CONTENT_TYPE_BLOG_POST";
418
+ })(ContentType || (ContentType = {}));
413
419
  var Role;
414
420
  (function (Role) {
415
421
  Role[Role["INVALID"] = 0] = "INVALID";
@@ -481,6 +487,19 @@ var CallToActionType;
481
487
  CallToActionType[CallToActionType["CALL_TO_ACTION_TYPE_GET_OFFER"] = 6] = "CALL_TO_ACTION_TYPE_GET_OFFER";
482
488
  CallToActionType[CallToActionType["CALL_TO_ACTION_TYPE_CALL"] = 7] = "CALL_TO_ACTION_TYPE_CALL";
483
489
  })(CallToActionType || (CallToActionType = {}));
490
+ var ContentState;
491
+ (function (ContentState) {
492
+ ContentState[ContentState["CONTENT_STATE_INVALID"] = 0] = "CONTENT_STATE_INVALID";
493
+ ContentState[ContentState["CONTENT_STATE_DRAFT"] = 1] = "CONTENT_STATE_DRAFT";
494
+ ContentState[ContentState["CONTENT_STATE_SCHEDULED"] = 2] = "CONTENT_STATE_SCHEDULED";
495
+ ContentState[ContentState["CONTENT_STATE_PUBLISHED"] = 3] = "CONTENT_STATE_PUBLISHED";
496
+ })(ContentState || (ContentState = {}));
497
+ var ContentStatus;
498
+ (function (ContentStatus) {
499
+ ContentStatus[ContentStatus["CONTENT_STATUS_INVALID"] = 0] = "CONTENT_STATUS_INVALID";
500
+ ContentStatus[ContentStatus["CONTENT_STATUS_OK"] = 1] = "CONTENT_STATUS_OK";
501
+ ContentStatus[ContentStatus["CONTENT_STATUS_FAILED"] = 2] = "CONTENT_STATUS_FAILED";
502
+ })(ContentStatus || (ContentStatus = {}));
484
503
  var MediaContentType;
485
504
  (function (MediaContentType) {
486
505
  MediaContentType[MediaContentType["MEDIA_CONTENT_TYPE_INVALID"] = 0] = "MEDIA_CONTENT_TYPE_INVALID";
@@ -514,6 +533,12 @@ var SocialContentType;
514
533
  SocialContentType[SocialContentType["SOCIAL_CONTENT_TYPE_SOCIAL_POST"] = 1] = "SOCIAL_CONTENT_TYPE_SOCIAL_POST";
515
534
  SocialContentType[SocialContentType["SOCIAL_CONTENT_TYPE_BLOG_ARTICLE"] = 2] = "SOCIAL_CONTENT_TYPE_BLOG_ARTICLE";
516
535
  })(SocialContentType || (SocialContentType = {}));
536
+ var SortDirection;
537
+ (function (SortDirection) {
538
+ SortDirection[SortDirection["SORT_DIRECTION_INVALID"] = 0] = "SORT_DIRECTION_INVALID";
539
+ SortDirection[SortDirection["SORT_DIRECTION_ASCENDING"] = 1] = "SORT_DIRECTION_ASCENDING";
540
+ SortDirection[SortDirection["SORT_DIRECTION_DESCENDING"] = 2] = "SORT_DIRECTION_DESCENDING";
541
+ })(SortDirection || (SortDirection = {}));
517
542
 
518
543
  // *********************************
519
544
  // Code generated by sdkgen
@@ -535,6 +560,7 @@ var ImageModel;
535
560
  ImageModel[ImageModel["DALL_E_3"] = 2] = "DALL_E_3";
536
561
  ImageModel[ImageModel["GPT_IMAGE_1"] = 3] = "GPT_IMAGE_1";
537
562
  ImageModel[ImageModel["GPT_IMAGE_1_5"] = 4] = "GPT_IMAGE_1_5";
563
+ ImageModel[ImageModel["GEMINI_3_1_FLASH_IMAGE"] = 5] = "GEMINI_3_1_FLASH_IMAGE";
538
564
  })(ImageModel || (ImageModel = {}));
539
565
  var ImageOutputFormat;
540
566
  (function (ImageOutputFormat) {
@@ -564,7 +590,7 @@ var ImageStyle;
564
590
  // Enums Index.
565
591
  // *********************************
566
592
 
567
- function enumStringToValue$p(enumRef, value) {
593
+ function enumStringToValue$r(enumRef, value) {
568
594
  if (typeof value === 'number') {
569
595
  return value;
570
596
  }
@@ -636,7 +662,7 @@ class CallToAction {
636
662
  let m = new CallToAction();
637
663
  m = Object.assign(m, proto);
638
664
  if (proto.actionType) {
639
- m.actionType = enumStringToValue$p(CallToActionCallToActionType, proto.actionType);
665
+ m.actionType = enumStringToValue$r(CallToActionCallToActionType, proto.actionType);
640
666
  }
641
667
  return m;
642
668
  }
@@ -874,7 +900,7 @@ class PostTemplate {
874
900
  m.metaData = proto.metaData.map(MetaData.fromProto);
875
901
  }
876
902
  if (proto.postType) {
877
- m.postType = enumStringToValue$p(PostType, proto.postType);
903
+ m.postType = enumStringToValue$r(PostType, proto.postType);
878
904
  }
879
905
  if (proto.youtubeCustomization) {
880
906
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -957,7 +983,7 @@ class SSIDPostType {
957
983
  let m = new SSIDPostType();
958
984
  m = Object.assign(m, proto);
959
985
  if (proto.postType) {
960
- m.postType = enumStringToValue$p(PostType, proto.postType);
986
+ m.postType = enumStringToValue$r(PostType, proto.postType);
961
987
  }
962
988
  return m;
963
989
  }
@@ -1041,10 +1067,10 @@ class SocialPost {
1041
1067
  m.posted = new Date(proto.posted);
1042
1068
  }
1043
1069
  if (proto.deletionStatus) {
1044
- m.deletionStatus = enumStringToValue$p(SocialPostDeletionStatus, proto.deletionStatus);
1070
+ m.deletionStatus = enumStringToValue$r(SocialPostDeletionStatus, proto.deletionStatus);
1045
1071
  }
1046
1072
  if (proto.service) {
1047
- m.service = enumStringToValue$p(SocialPostService, proto.service);
1073
+ m.service = enumStringToValue$r(SocialPostService, proto.service);
1048
1074
  }
1049
1075
  if (proto.created) {
1050
1076
  m.created = new Date(proto.created);
@@ -1053,7 +1079,7 @@ class SocialPost {
1053
1079
  m.scheduled = new Date(proto.scheduled);
1054
1080
  }
1055
1081
  if (proto.status) {
1056
- m.status = enumStringToValue$p(PostingStatus, proto.status);
1082
+ m.status = enumStringToValue$r(PostingStatus, proto.status);
1057
1083
  }
1058
1084
  if (proto.event) {
1059
1085
  m.event = Event.fromProto(proto.event);
@@ -1065,7 +1091,7 @@ class SocialPost {
1065
1091
  m.error = Error.fromProto(proto.error);
1066
1092
  }
1067
1093
  if (proto.postType) {
1068
- m.postType = enumStringToValue$p(PostType, proto.postType);
1094
+ m.postType = enumStringToValue$r(PostType, proto.postType);
1069
1095
  }
1070
1096
  if (proto.mediaEntries) {
1071
1097
  m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
@@ -1197,6 +1223,12 @@ class SocialPost {
1197
1223
  if (typeof this.campaign !== 'undefined' && this.campaign !== null) {
1198
1224
  toReturn['campaign'] = 'toApiJson' in this.campaign ? this.campaign.toApiJson() : this.campaign;
1199
1225
  }
1226
+ if (typeof this.createdBy !== 'undefined') {
1227
+ toReturn['createdBy'] = this.createdBy;
1228
+ }
1229
+ if (typeof this.updatedBy !== 'undefined') {
1230
+ toReturn['updatedBy'] = this.updatedBy;
1231
+ }
1200
1232
  return toReturn;
1201
1233
  }
1202
1234
  }
@@ -1266,7 +1298,7 @@ class YoutubeCustomization {
1266
1298
  let m = new YoutubeCustomization();
1267
1299
  m = Object.assign(m, proto);
1268
1300
  if (proto.privacyStatus) {
1269
- m.privacyStatus = enumStringToValue$p(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);
1301
+ m.privacyStatus = enumStringToValue$r(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);
1270
1302
  }
1271
1303
  return m;
1272
1304
  }
@@ -1288,7 +1320,7 @@ class YoutubeCustomization {
1288
1320
  }
1289
1321
  }
1290
1322
 
1291
- function enumStringToValue$o(enumRef, value) {
1323
+ function enumStringToValue$q(enumRef, value) {
1292
1324
  if (typeof value === 'number') {
1293
1325
  return value;
1294
1326
  }
@@ -1429,7 +1461,7 @@ class MultilocationPost {
1429
1461
  m.postCategory = MLPostCategory.fromProto(proto.postCategory);
1430
1462
  }
1431
1463
  if (proto.postState) {
1432
- m.postState = enumStringToValue$o(MLPostState, proto.postState);
1464
+ m.postState = enumStringToValue$q(MLPostState, proto.postState);
1433
1465
  }
1434
1466
  if (proto.postCustomizationByLocation) {
1435
1467
  m.postCustomizationByLocation = PostCustomizationByLocation.fromProto(proto.postCustomizationByLocation);
@@ -1613,7 +1645,7 @@ class PostCustomizationByLocation {
1613
1645
  let m = new PostCustomizationByLocation();
1614
1646
  m = Object.assign(m, proto);
1615
1647
  if (proto.customizationStatus) {
1616
- m.customizationStatus = enumStringToValue$o(CustomizationStatus, proto.customizationStatus);
1648
+ m.customizationStatus = enumStringToValue$q(CustomizationStatus, proto.customizationStatus);
1617
1649
  }
1618
1650
  return m;
1619
1651
  }
@@ -1667,7 +1699,7 @@ class PostEvent {
1667
1699
  }
1668
1700
  }
1669
1701
 
1670
- function enumStringToValue$n(enumRef, value) {
1702
+ function enumStringToValue$p(enumRef, value) {
1671
1703
  if (typeof value === 'number') {
1672
1704
  return value;
1673
1705
  }
@@ -1721,7 +1753,7 @@ class PexelsImage {
1721
1753
  }
1722
1754
  }
1723
1755
 
1724
- function enumStringToValue$m(enumRef, value) {
1756
+ function enumStringToValue$o(enumRef, value) {
1725
1757
  if (typeof value === 'number') {
1726
1758
  return value;
1727
1759
  }
@@ -1862,7 +1894,7 @@ class PixabayImage {
1862
1894
  }
1863
1895
  }
1864
1896
 
1865
- function enumStringToValue$l(enumRef, value) {
1897
+ function enumStringToValue$n(enumRef, value) {
1866
1898
  if (typeof value === 'number') {
1867
1899
  return value;
1868
1900
  }
@@ -2201,7 +2233,7 @@ class YoutubePostStats {
2201
2233
  }
2202
2234
  }
2203
2235
 
2204
- function enumStringToValue$k(enumRef, value) {
2236
+ function enumStringToValue$m(enumRef, value) {
2205
2237
  if (typeof value === 'number') {
2206
2238
  return value;
2207
2239
  }
@@ -2307,7 +2339,7 @@ class TenorMediaObject {
2307
2339
  }
2308
2340
  }
2309
2341
 
2310
- function enumStringToValue$j(enumRef, value) {
2342
+ function enumStringToValue$l(enumRef, value) {
2311
2343
  if (typeof value === 'number') {
2312
2344
  return value;
2313
2345
  }
@@ -2356,7 +2388,7 @@ class BulkCreateMultilocationPostResponse {
2356
2388
  let m = new BulkCreateMultilocationPostResponse();
2357
2389
  m = Object.assign(m, proto);
2358
2390
  if (proto.status) {
2359
- m.status = enumStringToValue$j(BulkPostStatus, proto.status);
2391
+ m.status = enumStringToValue$l(BulkPostStatus, proto.status);
2360
2392
  }
2361
2393
  if (proto.error) {
2362
2394
  m.error = proto.error.map(MultilocationPostError.fromProto);
@@ -2515,7 +2547,7 @@ class CreatePostTemplateRequest {
2515
2547
  m.metaData = proto.metaData.map(MetaData.fromProto);
2516
2548
  }
2517
2549
  if (proto.postType) {
2518
- m.postType = enumStringToValue$j(PostType, proto.postType);
2550
+ m.postType = enumStringToValue$l(PostType, proto.postType);
2519
2551
  }
2520
2552
  if (proto.youtubeCustomization) {
2521
2553
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -3920,7 +3952,7 @@ class RemoveFromMultilocationPostRequest {
3920
3952
  let m = new RemoveFromMultilocationPostRequest();
3921
3953
  m = Object.assign(m, proto);
3922
3954
  if (proto.reason) {
3923
- m.reason = enumStringToValue$j(RemoveReason, proto.reason);
3955
+ m.reason = enumStringToValue$l(RemoveReason, proto.reason);
3924
3956
  }
3925
3957
  if (proto.locations) {
3926
3958
  m.locations = proto.locations.map(Location.fromProto);
@@ -4143,10 +4175,10 @@ class SuggestMessageRequest {
4143
4175
  let m = new SuggestMessageRequest();
4144
4176
  m = Object.assign(m, proto);
4145
4177
  if (proto.length) {
4146
- m.length = enumStringToValue$j(MessageLength, proto.length);
4178
+ m.length = enumStringToValue$l(MessageLength, proto.length);
4147
4179
  }
4148
4180
  if (proto.type) {
4149
- m.type = enumStringToValue$j(TemplateType, proto.type);
4181
+ m.type = enumStringToValue$l(TemplateType, proto.type);
4150
4182
  }
4151
4183
  if (proto.metadata) {
4152
4184
  m.metadata = proto.metadata.map(MetaData.fromProto);
@@ -4213,7 +4245,7 @@ class UpdatePostTemplateRequest {
4213
4245
  m.metaData = proto.metaData.map(MetaData.fromProto);
4214
4246
  }
4215
4247
  if (proto.postType) {
4216
- m.postType = enumStringToValue$j(PostType, proto.postType);
4248
+ m.postType = enumStringToValue$l(PostType, proto.postType);
4217
4249
  }
4218
4250
  if (proto.youtubeCustomization) {
4219
4251
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -4280,7 +4312,7 @@ class UpdatePostTemplateRequest {
4280
4312
  }
4281
4313
  }
4282
4314
 
4283
- function enumStringToValue$i(enumRef, value) {
4315
+ function enumStringToValue$k(enumRef, value) {
4284
4316
  if (typeof value === 'number') {
4285
4317
  return value;
4286
4318
  }
@@ -4477,7 +4509,7 @@ class SortBy {
4477
4509
  let m = new SortBy();
4478
4510
  m = Object.assign(m, proto);
4479
4511
  if (proto.sortDirection) {
4480
- m.sortDirection = enumStringToValue$i(SortBySortDirection, proto.sortDirection);
4512
+ m.sortDirection = enumStringToValue$k(SortBySortDirection, proto.sortDirection);
4481
4513
  }
4482
4514
  return m;
4483
4515
  }
@@ -4499,7 +4531,7 @@ class SortBy {
4499
4531
  }
4500
4532
  }
4501
4533
 
4502
- function enumStringToValue$h(enumRef, value) {
4534
+ function enumStringToValue$j(enumRef, value) {
4503
4535
  if (typeof value === 'number') {
4504
4536
  return value;
4505
4537
  }
@@ -4513,7 +4545,7 @@ class ListStockImagesRequest {
4513
4545
  m.namespace = Namespace.fromProto(proto.namespace);
4514
4546
  }
4515
4547
  if (proto.imageSource) {
4516
- m.imageSource = enumStringToValue$h(ImageSource, proto.imageSource);
4548
+ m.imageSource = enumStringToValue$j(ImageSource, proto.imageSource);
4517
4549
  }
4518
4550
  return m;
4519
4551
  }
@@ -4586,7 +4618,7 @@ class Namespace {
4586
4618
  let m = new Namespace();
4587
4619
  m = Object.assign(m, proto);
4588
4620
  if (proto.namespaceType) {
4589
- m.namespaceType = enumStringToValue$h(NamespaceType, proto.namespaceType);
4621
+ m.namespaceType = enumStringToValue$j(NamespaceType, proto.namespaceType);
4590
4622
  }
4591
4623
  return m;
4592
4624
  }
@@ -4612,7 +4644,7 @@ class StockImage {
4612
4644
  let m = new StockImage();
4613
4645
  m = Object.assign(m, proto);
4614
4646
  if (proto.source) {
4615
- m.source = enumStringToValue$h(ImageSource, proto.source);
4647
+ m.source = enumStringToValue$j(ImageSource, proto.source);
4616
4648
  }
4617
4649
  return m;
4618
4650
  }
@@ -4666,7 +4698,7 @@ class StockImageError {
4666
4698
  }
4667
4699
  }
4668
4700
 
4669
- function enumStringToValue$g(enumRef, value) {
4701
+ function enumStringToValue$i(enumRef, value) {
4670
4702
  if (typeof value === 'number') {
4671
4703
  return value;
4672
4704
  }
@@ -4815,7 +4847,7 @@ class GetBlogWebsiteDetailsResponse {
4815
4847
  }
4816
4848
  }
4817
4849
 
4818
- function enumStringToValue$f(enumRef, value) {
4850
+ function enumStringToValue$h(enumRef, value) {
4819
4851
  if (typeof value === 'number') {
4820
4852
  return value;
4821
4853
  }
@@ -4861,11 +4893,17 @@ class MCPOptions {
4861
4893
  if (typeof this.serverId !== 'undefined') {
4862
4894
  toReturn['serverId'] = this.serverId;
4863
4895
  }
4896
+ if (typeof this.toolId !== 'undefined') {
4897
+ toReturn['toolId'] = this.toolId;
4898
+ }
4899
+ if (typeof this.requiredFields !== 'undefined') {
4900
+ toReturn['requiredFields'] = this.requiredFields;
4901
+ }
4864
4902
  return toReturn;
4865
4903
  }
4866
4904
  }
4867
4905
 
4868
- function enumStringToValue$e(enumRef, value) {
4906
+ function enumStringToValue$g(enumRef, value) {
4869
4907
  if (typeof value === 'number') {
4870
4908
  return value;
4871
4909
  }
@@ -5237,7 +5275,7 @@ class HeaderParameter {
5237
5275
  let m = new HeaderParameter();
5238
5276
  m = Object.assign(m, proto);
5239
5277
  if (proto.type) {
5240
- m.type = enumStringToValue$e(HeaderParameterType, proto.type);
5278
+ m.type = enumStringToValue$g(HeaderParameterType, proto.type);
5241
5279
  }
5242
5280
  return m;
5243
5281
  }
@@ -5363,7 +5401,7 @@ class JSONSchema {
5363
5401
  m.minProperties = parseInt(proto.minProperties, 10);
5364
5402
  }
5365
5403
  if (proto.type) {
5366
- m.type = proto.type.map((v) => enumStringToValue$e(JSONSchemaJSONSchemaSimpleTypes, v));
5404
+ m.type = proto.type.map((v) => enumStringToValue$g(JSONSchemaJSONSchemaSimpleTypes, v));
5367
5405
  }
5368
5406
  if (proto.fieldConfiguration) {
5369
5407
  m.fieldConfiguration = JSONSchemaFieldConfiguration.fromProto(proto.fieldConfiguration);
@@ -5496,7 +5534,7 @@ class Operation {
5496
5534
  m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response$1.fromProto(proto.responses[k]); return obj; }, {});
5497
5535
  }
5498
5536
  if (proto.schemes) {
5499
- m.schemes = proto.schemes.map((v) => enumStringToValue$e(Scheme, v));
5537
+ m.schemes = proto.schemes.map((v) => enumStringToValue$g(Scheme, v));
5500
5538
  }
5501
5539
  if (proto.security) {
5502
5540
  m.security = proto.security.map(SecurityRequirement.fromProto);
@@ -5885,13 +5923,13 @@ class SecurityScheme {
5885
5923
  let m = new SecurityScheme();
5886
5924
  m = Object.assign(m, proto);
5887
5925
  if (proto.type) {
5888
- m.type = enumStringToValue$e(SecuritySchemeType, proto.type);
5926
+ m.type = enumStringToValue$g(SecuritySchemeType, proto.type);
5889
5927
  }
5890
5928
  if (proto.in) {
5891
- m.in = enumStringToValue$e(SecuritySchemeIn, proto.in);
5929
+ m.in = enumStringToValue$g(SecuritySchemeIn, proto.in);
5892
5930
  }
5893
5931
  if (proto.flow) {
5894
- m.flow = enumStringToValue$e(SecuritySchemeFlow, proto.flow);
5932
+ m.flow = enumStringToValue$g(SecuritySchemeFlow, proto.flow);
5895
5933
  }
5896
5934
  if (proto.scopes) {
5897
5935
  m.scopes = Scopes.fromProto(proto.scopes);
@@ -5947,7 +5985,7 @@ class Swagger {
5947
5985
  m.info = Info.fromProto(proto.info);
5948
5986
  }
5949
5987
  if (proto.schemes) {
5950
- m.schemes = proto.schemes.map((v) => enumStringToValue$e(Scheme, v));
5988
+ m.schemes = proto.schemes.map((v) => enumStringToValue$g(Scheme, v));
5951
5989
  }
5952
5990
  if (proto.responses) {
5953
5991
  m.responses = Object.keys(proto.responses).reduce((obj, k) => { obj[k] = Response$1.fromProto(proto.responses[k]); return obj; }, {});
@@ -6055,7 +6093,7 @@ class Tag {
6055
6093
  }
6056
6094
  }
6057
6095
 
6058
- function enumStringToValue$d(enumRef, value) {
6096
+ function enumStringToValue$f(enumRef, value) {
6059
6097
  if (typeof value === 'number') {
6060
6098
  return value;
6061
6099
  }
@@ -6290,7 +6328,7 @@ class SocialPostV2 {
6290
6328
  m.customization = PostCustomizationV2.fromProto(proto.customization);
6291
6329
  }
6292
6330
  if (proto.postType) {
6293
- m.postType = enumStringToValue$d(PostTypeV2, proto.postType);
6331
+ m.postType = enumStringToValue$f(PostTypeV2, proto.postType);
6294
6332
  }
6295
6333
  if (proto.metadata) {
6296
6334
  m.metadata = proto.metadata.map(MetadataV2.fromProto);
@@ -6359,6 +6397,12 @@ class SocialPostV2 {
6359
6397
  if (typeof this.campaignId !== 'undefined') {
6360
6398
  toReturn['campaignId'] = this.campaignId;
6361
6399
  }
6400
+ if (typeof this.createdBy !== 'undefined') {
6401
+ toReturn['createdBy'] = this.createdBy;
6402
+ }
6403
+ if (typeof this.updatedBy !== 'undefined') {
6404
+ toReturn['updatedBy'] = this.updatedBy;
6405
+ }
6362
6406
  return toReturn;
6363
6407
  }
6364
6408
  }
@@ -6399,7 +6443,7 @@ class YoutubeCustomizationV2 {
6399
6443
  let m = new YoutubeCustomizationV2();
6400
6444
  m = Object.assign(m, proto);
6401
6445
  if (proto.privacyStatus) {
6402
- m.privacyStatus = enumStringToValue$d(YoutubeCustomizationV2PrivacyStatusV2, proto.privacyStatus);
6446
+ m.privacyStatus = enumStringToValue$f(YoutubeCustomizationV2PrivacyStatusV2, proto.privacyStatus);
6403
6447
  }
6404
6448
  return m;
6405
6449
  }
@@ -6418,7 +6462,7 @@ class YoutubeCustomizationV2 {
6418
6462
  }
6419
6463
  }
6420
6464
 
6421
- function enumStringToValue$c(enumRef, value) {
6465
+ function enumStringToValue$e(enumRef, value) {
6422
6466
  if (typeof value === 'number') {
6423
6467
  return value;
6424
6468
  }
@@ -6429,7 +6473,7 @@ class Media {
6429
6473
  let m = new Media();
6430
6474
  m = Object.assign(m, proto);
6431
6475
  if (proto.mediaType) {
6432
- m.mediaType = enumStringToValue$c(MediaType$1, proto.mediaType);
6476
+ m.mediaType = enumStringToValue$e(MediaType$1, proto.mediaType);
6433
6477
  }
6434
6478
  return m;
6435
6479
  }
@@ -6451,7 +6495,7 @@ class Media {
6451
6495
  }
6452
6496
  }
6453
6497
 
6454
- function enumStringToValue$b(enumRef, value) {
6498
+ function enumStringToValue$d(enumRef, value) {
6455
6499
  if (typeof value === 'number') {
6456
6500
  return value;
6457
6501
  }
@@ -6986,7 +7030,7 @@ class UserLink {
6986
7030
  }
6987
7031
  }
6988
7032
 
6989
- function enumStringToValue$a(enumRef, value) {
7033
+ function enumStringToValue$c(enumRef, value) {
6990
7034
  if (typeof value === 'number') {
6991
7035
  return value;
6992
7036
  }
@@ -6997,7 +7041,7 @@ class ProvisionRequest {
6997
7041
  let m = new ProvisionRequest();
6998
7042
  m = Object.assign(m, proto);
6999
7043
  if (proto.action) {
7000
- m.action = enumStringToValue$a(ProvisionAction, proto.action);
7044
+ m.action = enumStringToValue$c(ProvisionAction, proto.action);
7001
7045
  }
7002
7046
  return m;
7003
7047
  }
@@ -7028,12 +7072,79 @@ class ProvisionRequest {
7028
7072
  }
7029
7073
  }
7030
7074
 
7031
- function enumStringToValue$9(enumRef, value) {
7075
+ function enumStringToValue$b(enumRef, value) {
7032
7076
  if (typeof value === 'number') {
7033
7077
  return value;
7034
7078
  }
7035
7079
  return enumRef[value];
7036
7080
  }
7081
+ class AccountGroupInfo {
7082
+ static fromProto(proto) {
7083
+ let m = new AccountGroupInfo();
7084
+ m = Object.assign(m, proto);
7085
+ return m;
7086
+ }
7087
+ constructor(kwargs) {
7088
+ if (!kwargs) {
7089
+ return;
7090
+ }
7091
+ Object.assign(this, kwargs);
7092
+ }
7093
+ toApiJson() {
7094
+ const toReturn = {};
7095
+ if (typeof this.partnerId !== 'undefined') {
7096
+ toReturn['partnerId'] = this.partnerId;
7097
+ }
7098
+ if (typeof this.address !== 'undefined') {
7099
+ toReturn['address'] = this.address;
7100
+ }
7101
+ if (typeof this.city !== 'undefined') {
7102
+ toReturn['city'] = this.city;
7103
+ }
7104
+ if (typeof this.state !== 'undefined') {
7105
+ toReturn['state'] = this.state;
7106
+ }
7107
+ if (typeof this.businessName !== 'undefined') {
7108
+ toReturn['businessName'] = this.businessName;
7109
+ }
7110
+ if (typeof this.workNumbers !== 'undefined') {
7111
+ toReturn['workNumbers'] = this.workNumbers;
7112
+ }
7113
+ if (typeof this.customerIdentifier !== 'undefined') {
7114
+ toReturn['customerIdentifier'] = this.customerIdentifier;
7115
+ }
7116
+ if (typeof this.tags !== 'undefined') {
7117
+ toReturn['tags'] = this.tags;
7118
+ }
7119
+ return toReturn;
7120
+ }
7121
+ }
7122
+ class ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry {
7123
+ static fromProto(proto) {
7124
+ let m = new ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry();
7125
+ m = Object.assign(m, proto);
7126
+ if (proto.value) {
7127
+ m.value = BusinessConnectedSocialAccounts.fromProto(proto.value);
7128
+ }
7129
+ return m;
7130
+ }
7131
+ constructor(kwargs) {
7132
+ if (!kwargs) {
7133
+ return;
7134
+ }
7135
+ Object.assign(this, kwargs);
7136
+ }
7137
+ toApiJson() {
7138
+ const toReturn = {};
7139
+ if (typeof this.key !== 'undefined') {
7140
+ toReturn['key'] = this.key;
7141
+ }
7142
+ if (typeof this.value !== 'undefined' && this.value !== null) {
7143
+ toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;
7144
+ }
7145
+ return toReturn;
7146
+ }
7147
+ }
7037
7148
  class AiInstructions {
7038
7149
  static fromProto(proto) {
7039
7150
  let m = new AiInstructions();
@@ -7077,7 +7188,7 @@ class BlogPostCampaign {
7077
7188
  let m = new BlogPostCampaign();
7078
7189
  m = Object.assign(m, proto);
7079
7190
  if (proto.blogPostType) {
7080
- m.blogPostType = enumStringToValue$9(PostCategory, proto.blogPostType);
7191
+ m.blogPostType = enumStringToValue$b(PostCategory, proto.blogPostType);
7081
7192
  }
7082
7193
  return m;
7083
7194
  }
@@ -7101,12 +7212,30 @@ class BlogPostCampaign {
7101
7212
  return toReturn;
7102
7213
  }
7103
7214
  }
7104
- class CreateCommonAiInstructionsRequest {
7215
+ class BusinessConnectedSocialAccounts {
7105
7216
  static fromProto(proto) {
7106
- let m = new CreateCommonAiInstructionsRequest();
7217
+ let m = new BusinessConnectedSocialAccounts();
7107
7218
  m = Object.assign(m, proto);
7108
- if (proto.aiInstructions) {
7109
- m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
7219
+ if (proto.agidInfo) {
7220
+ m.agidInfo = AccountGroupInfo.fromProto(proto.agidInfo);
7221
+ }
7222
+ if (proto.facebookInfo) {
7223
+ m.facebookInfo = ConnectedFacebookPage.fromProto(proto.facebookInfo);
7224
+ }
7225
+ if (proto.gmbInfo) {
7226
+ m.gmbInfo = ConnectedGmbLocation.fromProto(proto.gmbInfo);
7227
+ }
7228
+ if (proto.linkedinInfo) {
7229
+ m.linkedinInfo = ConnectedLinkedinAccount.fromProto(proto.linkedinInfo);
7230
+ }
7231
+ if (proto.facebookPages) {
7232
+ m.facebookPages = proto.facebookPages.map(ConnectedFacebookPage.fromProto);
7233
+ }
7234
+ if (proto.linkedinAccounts) {
7235
+ m.linkedinAccounts = ConnectedLinkedinAccounts.fromProto(proto.linkedinAccounts);
7236
+ }
7237
+ if (proto.instagramAccounts) {
7238
+ m.instagramAccounts = proto.instagramAccounts.map(ConnectedInstagramAccount.fromProto);
7110
7239
  }
7111
7240
  return m;
7112
7241
  }
@@ -7118,25 +7247,34 @@ class CreateCommonAiInstructionsRequest {
7118
7247
  }
7119
7248
  toApiJson() {
7120
7249
  const toReturn = {};
7121
- if (typeof this.businessId !== 'undefined') {
7122
- toReturn['businessId'] = this.businessId;
7250
+ if (typeof this.agidInfo !== 'undefined' && this.agidInfo !== null) {
7251
+ toReturn['agidInfo'] = 'toApiJson' in this.agidInfo ? this.agidInfo.toApiJson() : this.agidInfo;
7123
7252
  }
7124
- if (typeof this.partnerId !== 'undefined') {
7125
- toReturn['partnerId'] = this.partnerId;
7253
+ if (typeof this.facebookInfo !== 'undefined' && this.facebookInfo !== null) {
7254
+ toReturn['facebookInfo'] = 'toApiJson' in this.facebookInfo ? this.facebookInfo.toApiJson() : this.facebookInfo;
7126
7255
  }
7127
- if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
7128
- toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
7256
+ if (typeof this.gmbInfo !== 'undefined' && this.gmbInfo !== null) {
7257
+ toReturn['gmbInfo'] = 'toApiJson' in this.gmbInfo ? this.gmbInfo.toApiJson() : this.gmbInfo;
7258
+ }
7259
+ if (typeof this.linkedinInfo !== 'undefined' && this.linkedinInfo !== null) {
7260
+ toReturn['linkedinInfo'] = 'toApiJson' in this.linkedinInfo ? this.linkedinInfo.toApiJson() : this.linkedinInfo;
7261
+ }
7262
+ if (typeof this.facebookPages !== 'undefined' && this.facebookPages !== null) {
7263
+ toReturn['facebookPages'] = 'toApiJson' in this.facebookPages ? this.facebookPages.toApiJson() : this.facebookPages;
7264
+ }
7265
+ if (typeof this.linkedinAccounts !== 'undefined' && this.linkedinAccounts !== null) {
7266
+ toReturn['linkedinAccounts'] = 'toApiJson' in this.linkedinAccounts ? this.linkedinAccounts.toApiJson() : this.linkedinAccounts;
7267
+ }
7268
+ if (typeof this.instagramAccounts !== 'undefined' && this.instagramAccounts !== null) {
7269
+ toReturn['instagramAccounts'] = 'toApiJson' in this.instagramAccounts ? this.instagramAccounts.toApiJson() : this.instagramAccounts;
7129
7270
  }
7130
7271
  return toReturn;
7131
7272
  }
7132
7273
  }
7133
- class CreateCommonAiInstructionsResponse {
7274
+ class ConnectedFacebookPage {
7134
7275
  static fromProto(proto) {
7135
- let m = new CreateCommonAiInstructionsResponse();
7276
+ let m = new ConnectedFacebookPage();
7136
7277
  m = Object.assign(m, proto);
7137
- if (proto.aiInstructions) {
7138
- m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
7139
- }
7140
7278
  return m;
7141
7279
  }
7142
7280
  constructor(kwargs) {
@@ -7147,19 +7285,37 @@ class CreateCommonAiInstructionsResponse {
7147
7285
  }
7148
7286
  toApiJson() {
7149
7287
  const toReturn = {};
7150
- if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
7151
- toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
7288
+ if (typeof this.ssid !== 'undefined') {
7289
+ toReturn['ssid'] = this.ssid;
7290
+ }
7291
+ if (typeof this.name !== 'undefined') {
7292
+ toReturn['name'] = this.name;
7293
+ }
7294
+ if (typeof this.profileUrl !== 'undefined') {
7295
+ toReturn['profileUrl'] = this.profileUrl;
7296
+ }
7297
+ if (typeof this.profileImageUrl !== 'undefined') {
7298
+ toReturn['profileImageUrl'] = this.profileImageUrl;
7299
+ }
7300
+ if (typeof this.clientTags !== 'undefined') {
7301
+ toReturn['clientTags'] = this.clientTags;
7302
+ }
7303
+ if (typeof this.isMasterFacebookPage !== 'undefined') {
7304
+ toReturn['isMasterFacebookPage'] = this.isMasterFacebookPage;
7305
+ }
7306
+ if (typeof this.tokenIsBroken !== 'undefined') {
7307
+ toReturn['tokenIsBroken'] = this.tokenIsBroken;
7308
+ }
7309
+ if (typeof this.isDefault !== 'undefined') {
7310
+ toReturn['isDefault'] = this.isDefault;
7152
7311
  }
7153
7312
  return toReturn;
7154
7313
  }
7155
7314
  }
7156
- class CreateImageRequest {
7315
+ class ConnectedGmbLocation {
7157
7316
  static fromProto(proto) {
7158
- let m = new CreateImageRequest();
7317
+ let m = new ConnectedGmbLocation();
7159
7318
  m = Object.assign(m, proto);
7160
- if (proto.metadata) {
7161
- m.metadata = proto.metadata.map(MetadataV2.fromProto);
7162
- }
7163
7319
  return m;
7164
7320
  }
7165
7321
  constructor(kwargs) {
@@ -7170,46 +7326,28 @@ class CreateImageRequest {
7170
7326
  }
7171
7327
  toApiJson() {
7172
7328
  const toReturn = {};
7173
- if (typeof this.businessId !== 'undefined') {
7174
- toReturn['businessId'] = this.businessId;
7175
- }
7176
- if (typeof this.prompt !== 'undefined') {
7177
- toReturn['prompt'] = this.prompt;
7178
- }
7179
- if (typeof this.imageAmount !== 'undefined') {
7180
- toReturn['imageAmount'] = this.imageAmount;
7181
- }
7182
- if (typeof this.size !== 'undefined') {
7183
- toReturn['size'] = this.size;
7184
- }
7185
- if (typeof this.responseFormat !== 'undefined') {
7186
- toReturn['responseFormat'] = this.responseFormat;
7329
+ if (typeof this.ssid !== 'undefined') {
7330
+ toReturn['ssid'] = this.ssid;
7187
7331
  }
7188
- if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
7189
- toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
7332
+ if (typeof this.name !== 'undefined') {
7333
+ toReturn['name'] = this.name;
7190
7334
  }
7191
- if (typeof this.model !== 'undefined') {
7192
- toReturn['model'] = this.model;
7335
+ if (typeof this.tokenIsBroken !== 'undefined') {
7336
+ toReturn['tokenIsBroken'] = this.tokenIsBroken;
7193
7337
  }
7194
- if (typeof this.style !== 'undefined') {
7195
- toReturn['style'] = this.style;
7338
+ if (typeof this.accountVerified !== 'undefined') {
7339
+ toReturn['accountVerified'] = this.accountVerified;
7196
7340
  }
7197
- if (typeof this.quality !== 'undefined') {
7198
- toReturn['quality'] = this.quality;
7341
+ if (typeof this.isDefault !== 'undefined') {
7342
+ toReturn['isDefault'] = this.isDefault;
7199
7343
  }
7200
7344
  return toReturn;
7201
7345
  }
7202
7346
  }
7203
- class CreateImageResponse {
7347
+ class ConnectedInstagramAccount {
7204
7348
  static fromProto(proto) {
7205
- let m = new CreateImageResponse();
7349
+ let m = new ConnectedInstagramAccount();
7206
7350
  m = Object.assign(m, proto);
7207
- if (proto.createdId) {
7208
- m.createdId = parseInt(proto.createdId, 10);
7209
- }
7210
- if (proto.generatedImages) {
7211
- m.generatedImages = proto.generatedImages.map(ImageCreated.fromProto);
7212
- }
7213
7351
  return m;
7214
7352
  }
7215
7353
  constructor(kwargs) {
@@ -7220,22 +7358,31 @@ class CreateImageResponse {
7220
7358
  }
7221
7359
  toApiJson() {
7222
7360
  const toReturn = {};
7223
- if (typeof this.createdId !== 'undefined') {
7224
- toReturn['createdId'] = this.createdId;
7361
+ if (typeof this.ssid !== 'undefined') {
7362
+ toReturn['ssid'] = this.ssid;
7225
7363
  }
7226
- if (typeof this.generatedImages !== 'undefined' && this.generatedImages !== null) {
7227
- toReturn['generatedImages'] = 'toApiJson' in this.generatedImages ? this.generatedImages.toApiJson() : this.generatedImages;
7364
+ if (typeof this.username !== 'undefined') {
7365
+ toReturn['username'] = this.username;
7366
+ }
7367
+ if (typeof this.fullName !== 'undefined') {
7368
+ toReturn['fullName'] = this.fullName;
7369
+ }
7370
+ if (typeof this.profileImageUrl !== 'undefined') {
7371
+ toReturn['profileImageUrl'] = this.profileImageUrl;
7372
+ }
7373
+ if (typeof this.tokenIsBroken !== 'undefined') {
7374
+ toReturn['tokenIsBroken'] = this.tokenIsBroken;
7375
+ }
7376
+ if (typeof this.isDefault !== 'undefined') {
7377
+ toReturn['isDefault'] = this.isDefault;
7228
7378
  }
7229
7379
  return toReturn;
7230
7380
  }
7231
7381
  }
7232
- class CuratedContentPost {
7382
+ class ConnectedLinkedinAccount {
7233
7383
  static fromProto(proto) {
7234
- let m = new CuratedContentPost();
7384
+ let m = new ConnectedLinkedinAccount();
7235
7385
  m = Object.assign(m, proto);
7236
- if (proto.media) {
7237
- m.media = proto.media.map(UploadedMedia.fromProto);
7238
- }
7239
7386
  return m;
7240
7387
  }
7241
7388
  constructor(kwargs) {
@@ -7246,34 +7393,40 @@ class CuratedContentPost {
7246
7393
  }
7247
7394
  toApiJson() {
7248
7395
  const toReturn = {};
7249
- if (typeof this.id !== 'undefined') {
7250
- toReturn['id'] = this.id;
7396
+ if (typeof this.ssid !== 'undefined') {
7397
+ toReturn['ssid'] = this.ssid;
7251
7398
  }
7252
- if (typeof this.text !== 'undefined') {
7253
- toReturn['text'] = this.text;
7399
+ if (typeof this.name !== 'undefined') {
7400
+ toReturn['name'] = this.name;
7254
7401
  }
7255
- if (typeof this.media !== 'undefined' && this.media !== null) {
7256
- toReturn['media'] = 'toApiJson' in this.media ? this.media.toApiJson() : this.media;
7402
+ if (typeof this.profileUrl !== 'undefined') {
7403
+ toReturn['profileUrl'] = this.profileUrl;
7257
7404
  }
7258
- if (typeof this.errors !== 'undefined') {
7259
- toReturn['errors'] = this.errors;
7405
+ if (typeof this.profileImageUrl !== 'undefined') {
7406
+ toReturn['profileImageUrl'] = this.profileImageUrl;
7260
7407
  }
7261
- if (typeof this.businessId !== 'undefined') {
7262
- toReturn['businessId'] = this.businessId;
7408
+ if (typeof this.clientTags !== 'undefined') {
7409
+ toReturn['clientTags'] = this.clientTags;
7263
7410
  }
7264
- if (typeof this.createdAt !== 'undefined') {
7265
- toReturn['createdAt'] = this.createdAt;
7411
+ if (typeof this.tokenIsBroken !== 'undefined') {
7412
+ toReturn['tokenIsBroken'] = this.tokenIsBroken;
7266
7413
  }
7267
- if (typeof this.postedAt !== 'undefined') {
7268
- toReturn['postedAt'] = this.postedAt;
7414
+ if (typeof this.isDefault !== 'undefined') {
7415
+ toReturn['isDefault'] = this.isDefault;
7269
7416
  }
7270
7417
  return toReturn;
7271
7418
  }
7272
7419
  }
7273
- class DeletePostRequest {
7420
+ class ConnectedLinkedinAccounts {
7274
7421
  static fromProto(proto) {
7275
- let m = new DeletePostRequest();
7422
+ let m = new ConnectedLinkedinAccounts();
7276
7423
  m = Object.assign(m, proto);
7424
+ if (proto.company) {
7425
+ m.company = proto.company.map(ConnectedLinkedinAccount.fromProto);
7426
+ }
7427
+ if (proto.user) {
7428
+ m.user = proto.user.map(ConnectedLinkedinAccount.fromProto);
7429
+ }
7277
7430
  return m;
7278
7431
  }
7279
7432
  constructor(kwargs) {
@@ -7284,21 +7437,21 @@ class DeletePostRequest {
7284
7437
  }
7285
7438
  toApiJson() {
7286
7439
  const toReturn = {};
7287
- if (typeof this.accessToken !== 'undefined') {
7288
- toReturn['accessToken'] = this.accessToken;
7440
+ if (typeof this.company !== 'undefined' && this.company !== null) {
7441
+ toReturn['company'] = 'toApiJson' in this.company ? this.company.toApiJson() : this.company;
7289
7442
  }
7290
- if (typeof this.postId !== 'undefined') {
7291
- toReturn['postId'] = this.postId;
7443
+ if (typeof this.user !== 'undefined' && this.user !== null) {
7444
+ toReturn['user'] = 'toApiJson' in this.user ? this.user.toApiJson() : this.user;
7292
7445
  }
7293
7446
  return toReturn;
7294
7447
  }
7295
7448
  }
7296
- class FetchLibraryImagesRequest {
7449
+ class CreateCommonAiInstructionsRequest {
7297
7450
  static fromProto(proto) {
7298
- let m = new FetchLibraryImagesRequest();
7451
+ let m = new CreateCommonAiInstructionsRequest();
7299
7452
  m = Object.assign(m, proto);
7300
- if (proto.keywordInput) {
7301
- m.keywordInput = KeywordGeneration.fromProto(proto.keywordInput);
7453
+ if (proto.aiInstructions) {
7454
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
7302
7455
  }
7303
7456
  return m;
7304
7457
  }
@@ -7313,20 +7466,212 @@ class FetchLibraryImagesRequest {
7313
7466
  if (typeof this.businessId !== 'undefined') {
7314
7467
  toReturn['businessId'] = this.businessId;
7315
7468
  }
7316
- if (typeof this.keywordInput !== 'undefined' && this.keywordInput !== null) {
7317
- toReturn['keywordInput'] = 'toApiJson' in this.keywordInput ? this.keywordInput.toApiJson() : this.keywordInput;
7318
- }
7319
- if (typeof this.imageCount !== 'undefined') {
7320
- toReturn['imageCount'] = this.imageCount;
7321
- }
7322
- if (typeof this.includeLocalUrl !== 'undefined') {
7323
- toReturn['includeLocalUrl'] = this.includeLocalUrl;
7324
- }
7325
- if (typeof this.pageNumber !== 'undefined') {
7326
- toReturn['pageNumber'] = this.pageNumber;
7469
+ if (typeof this.partnerId !== 'undefined') {
7470
+ toReturn['partnerId'] = this.partnerId;
7327
7471
  }
7328
- if (typeof this.order !== 'undefined') {
7329
- toReturn['order'] = this.order;
7472
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
7473
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
7474
+ }
7475
+ return toReturn;
7476
+ }
7477
+ }
7478
+ class CreateCommonAiInstructionsResponse {
7479
+ static fromProto(proto) {
7480
+ let m = new CreateCommonAiInstructionsResponse();
7481
+ m = Object.assign(m, proto);
7482
+ if (proto.aiInstructions) {
7483
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
7484
+ }
7485
+ return m;
7486
+ }
7487
+ constructor(kwargs) {
7488
+ if (!kwargs) {
7489
+ return;
7490
+ }
7491
+ Object.assign(this, kwargs);
7492
+ }
7493
+ toApiJson() {
7494
+ const toReturn = {};
7495
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
7496
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
7497
+ }
7498
+ return toReturn;
7499
+ }
7500
+ }
7501
+ class CreateImageRequest {
7502
+ static fromProto(proto) {
7503
+ let m = new CreateImageRequest();
7504
+ m = Object.assign(m, proto);
7505
+ if (proto.metadata) {
7506
+ m.metadata = proto.metadata.map(MetadataV2.fromProto);
7507
+ }
7508
+ return m;
7509
+ }
7510
+ constructor(kwargs) {
7511
+ if (!kwargs) {
7512
+ return;
7513
+ }
7514
+ Object.assign(this, kwargs);
7515
+ }
7516
+ toApiJson() {
7517
+ const toReturn = {};
7518
+ if (typeof this.businessId !== 'undefined') {
7519
+ toReturn['businessId'] = this.businessId;
7520
+ }
7521
+ if (typeof this.prompt !== 'undefined') {
7522
+ toReturn['prompt'] = this.prompt;
7523
+ }
7524
+ if (typeof this.imageAmount !== 'undefined') {
7525
+ toReturn['imageAmount'] = this.imageAmount;
7526
+ }
7527
+ if (typeof this.size !== 'undefined') {
7528
+ toReturn['size'] = this.size;
7529
+ }
7530
+ if (typeof this.responseFormat !== 'undefined') {
7531
+ toReturn['responseFormat'] = this.responseFormat;
7532
+ }
7533
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
7534
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
7535
+ }
7536
+ if (typeof this.model !== 'undefined') {
7537
+ toReturn['model'] = this.model;
7538
+ }
7539
+ if (typeof this.style !== 'undefined') {
7540
+ toReturn['style'] = this.style;
7541
+ }
7542
+ if (typeof this.quality !== 'undefined') {
7543
+ toReturn['quality'] = this.quality;
7544
+ }
7545
+ return toReturn;
7546
+ }
7547
+ }
7548
+ class CreateImageResponse {
7549
+ static fromProto(proto) {
7550
+ let m = new CreateImageResponse();
7551
+ m = Object.assign(m, proto);
7552
+ if (proto.createdId) {
7553
+ m.createdId = parseInt(proto.createdId, 10);
7554
+ }
7555
+ if (proto.generatedImages) {
7556
+ m.generatedImages = proto.generatedImages.map(ImageCreated.fromProto);
7557
+ }
7558
+ return m;
7559
+ }
7560
+ constructor(kwargs) {
7561
+ if (!kwargs) {
7562
+ return;
7563
+ }
7564
+ Object.assign(this, kwargs);
7565
+ }
7566
+ toApiJson() {
7567
+ const toReturn = {};
7568
+ if (typeof this.createdId !== 'undefined') {
7569
+ toReturn['createdId'] = this.createdId;
7570
+ }
7571
+ if (typeof this.generatedImages !== 'undefined' && this.generatedImages !== null) {
7572
+ toReturn['generatedImages'] = 'toApiJson' in this.generatedImages ? this.generatedImages.toApiJson() : this.generatedImages;
7573
+ }
7574
+ return toReturn;
7575
+ }
7576
+ }
7577
+ class CuratedContentPost {
7578
+ static fromProto(proto) {
7579
+ let m = new CuratedContentPost();
7580
+ m = Object.assign(m, proto);
7581
+ if (proto.media) {
7582
+ m.media = proto.media.map(UploadedMedia.fromProto);
7583
+ }
7584
+ return m;
7585
+ }
7586
+ constructor(kwargs) {
7587
+ if (!kwargs) {
7588
+ return;
7589
+ }
7590
+ Object.assign(this, kwargs);
7591
+ }
7592
+ toApiJson() {
7593
+ const toReturn = {};
7594
+ if (typeof this.id !== 'undefined') {
7595
+ toReturn['id'] = this.id;
7596
+ }
7597
+ if (typeof this.text !== 'undefined') {
7598
+ toReturn['text'] = this.text;
7599
+ }
7600
+ if (typeof this.media !== 'undefined' && this.media !== null) {
7601
+ toReturn['media'] = 'toApiJson' in this.media ? this.media.toApiJson() : this.media;
7602
+ }
7603
+ if (typeof this.errors !== 'undefined') {
7604
+ toReturn['errors'] = this.errors;
7605
+ }
7606
+ if (typeof this.businessId !== 'undefined') {
7607
+ toReturn['businessId'] = this.businessId;
7608
+ }
7609
+ if (typeof this.createdAt !== 'undefined') {
7610
+ toReturn['createdAt'] = this.createdAt;
7611
+ }
7612
+ if (typeof this.postedAt !== 'undefined') {
7613
+ toReturn['postedAt'] = this.postedAt;
7614
+ }
7615
+ return toReturn;
7616
+ }
7617
+ }
7618
+ class DeletePostRequest {
7619
+ static fromProto(proto) {
7620
+ let m = new DeletePostRequest();
7621
+ m = Object.assign(m, proto);
7622
+ return m;
7623
+ }
7624
+ constructor(kwargs) {
7625
+ if (!kwargs) {
7626
+ return;
7627
+ }
7628
+ Object.assign(this, kwargs);
7629
+ }
7630
+ toApiJson() {
7631
+ const toReturn = {};
7632
+ if (typeof this.accessToken !== 'undefined') {
7633
+ toReturn['accessToken'] = this.accessToken;
7634
+ }
7635
+ if (typeof this.postId !== 'undefined') {
7636
+ toReturn['postId'] = this.postId;
7637
+ }
7638
+ return toReturn;
7639
+ }
7640
+ }
7641
+ class FetchLibraryImagesRequest {
7642
+ static fromProto(proto) {
7643
+ let m = new FetchLibraryImagesRequest();
7644
+ m = Object.assign(m, proto);
7645
+ if (proto.keywordInput) {
7646
+ m.keywordInput = KeywordGeneration.fromProto(proto.keywordInput);
7647
+ }
7648
+ return m;
7649
+ }
7650
+ constructor(kwargs) {
7651
+ if (!kwargs) {
7652
+ return;
7653
+ }
7654
+ Object.assign(this, kwargs);
7655
+ }
7656
+ toApiJson() {
7657
+ const toReturn = {};
7658
+ if (typeof this.businessId !== 'undefined') {
7659
+ toReturn['businessId'] = this.businessId;
7660
+ }
7661
+ if (typeof this.keywordInput !== 'undefined' && this.keywordInput !== null) {
7662
+ toReturn['keywordInput'] = 'toApiJson' in this.keywordInput ? this.keywordInput.toApiJson() : this.keywordInput;
7663
+ }
7664
+ if (typeof this.imageCount !== 'undefined') {
7665
+ toReturn['imageCount'] = this.imageCount;
7666
+ }
7667
+ if (typeof this.includeLocalUrl !== 'undefined') {
7668
+ toReturn['includeLocalUrl'] = this.includeLocalUrl;
7669
+ }
7670
+ if (typeof this.pageNumber !== 'undefined') {
7671
+ toReturn['pageNumber'] = this.pageNumber;
7672
+ }
7673
+ if (typeof this.order !== 'undefined') {
7674
+ toReturn['order'] = this.order;
7330
7675
  }
7331
7676
  return toReturn;
7332
7677
  }
@@ -7359,10 +7704,10 @@ class GenerateAiRequest {
7359
7704
  let m = new GenerateAiRequest();
7360
7705
  m = Object.assign(m, proto);
7361
7706
  if (proto.length) {
7362
- m.length = enumStringToValue$9(ContentLength, proto.length);
7707
+ m.length = enumStringToValue$b(ContentLength, proto.length);
7363
7708
  }
7364
7709
  if (proto.generateType) {
7365
- m.generateType = enumStringToValue$9(GenerateType, proto.generateType);
7710
+ m.generateType = enumStringToValue$b(GenerateType, proto.generateType);
7366
7711
  }
7367
7712
  if (proto.metadata) {
7368
7713
  m.metadata = proto.metadata.map(MetadataV2.fromProto);
@@ -7435,7 +7780,7 @@ class GenerateBlogPostCampaignRequest {
7435
7780
  let m = new GenerateBlogPostCampaignRequest();
7436
7781
  m = Object.assign(m, proto);
7437
7782
  if (proto.networkType) {
7438
- m.networkType = proto.networkType.map((v) => enumStringToValue$9(Network, v));
7783
+ m.networkType = proto.networkType.map((v) => enumStringToValue$b(Network, v));
7439
7784
  }
7440
7785
  if (proto.blogCampaign) {
7441
7786
  m.blogCampaign = BlogPostCampaign.fromProto(proto.blogCampaign);
@@ -7528,7 +7873,7 @@ class GeneratePostCampaignRequest {
7528
7873
  let m = new GeneratePostCampaignRequest();
7529
7874
  m = Object.assign(m, proto);
7530
7875
  if (proto.networkType) {
7531
- m.networkType = proto.networkType.map((v) => enumStringToValue$9(Network, v));
7876
+ m.networkType = proto.networkType.map((v) => enumStringToValue$b(Network, v));
7532
7877
  }
7533
7878
  if (proto.postGeneration) {
7534
7879
  m.postGeneration = PostsGeneration.fromProto(proto.postGeneration);
@@ -7563,7 +7908,7 @@ class GeneratePostCampaignResponse {
7563
7908
  let m = new GeneratePostCampaignResponse();
7564
7909
  m = Object.assign(m, proto);
7565
7910
  if (proto.posts) {
7566
- m.posts = proto.posts.map(Post.fromProto);
7911
+ m.posts = proto.posts.map(Post$1.fromProto);
7567
7912
  }
7568
7913
  return m;
7569
7914
  }
@@ -7768,7 +8113,7 @@ class GetXSubscriptionTypeResponse {
7768
8113
  let m = new GetXSubscriptionTypeResponse();
7769
8114
  m = Object.assign(m, proto);
7770
8115
  if (proto.subscriptionType) {
7771
- m.subscriptionType = enumStringToValue$9(XSubscriptionType, proto.subscriptionType);
8116
+ m.subscriptionType = enumStringToValue$b(XSubscriptionType, proto.subscriptionType);
7772
8117
  }
7773
8118
  return m;
7774
8119
  }
@@ -7915,7 +8260,7 @@ class KeywordGeneration {
7915
8260
  let m = new KeywordGeneration();
7916
8261
  m = Object.assign(m, proto);
7917
8262
  if (proto.postType) {
7918
- m.postType = enumStringToValue$9(PostCategory, proto.postType);
8263
+ m.postType = enumStringToValue$b(PostCategory, proto.postType);
7919
8264
  }
7920
8265
  return m;
7921
8266
  }
@@ -8066,6 +8411,49 @@ class ListPostableSocialServiceResponse {
8066
8411
  return toReturn;
8067
8412
  }
8068
8413
  }
8414
+ class ListSocialConnectionsByBusinessesRequest {
8415
+ static fromProto(proto) {
8416
+ let m = new ListSocialConnectionsByBusinessesRequest();
8417
+ m = Object.assign(m, proto);
8418
+ return m;
8419
+ }
8420
+ constructor(kwargs) {
8421
+ if (!kwargs) {
8422
+ return;
8423
+ }
8424
+ Object.assign(this, kwargs);
8425
+ }
8426
+ toApiJson() {
8427
+ const toReturn = {};
8428
+ if (typeof this.accountGroupIds !== 'undefined') {
8429
+ toReturn['accountGroupIds'] = this.accountGroupIds;
8430
+ }
8431
+ return toReturn;
8432
+ }
8433
+ }
8434
+ class ListSocialConnectionsByBusinessesResponse {
8435
+ static fromProto(proto) {
8436
+ let m = new ListSocialConnectionsByBusinessesResponse();
8437
+ m = Object.assign(m, proto);
8438
+ if (proto.accountsByBusiness) {
8439
+ m.accountsByBusiness = Object.keys(proto.accountsByBusiness).reduce((obj, k) => { obj[k] = BusinessConnectedSocialAccounts.fromProto(proto.accountsByBusiness[k]); return obj; }, {});
8440
+ }
8441
+ return m;
8442
+ }
8443
+ constructor(kwargs) {
8444
+ if (!kwargs) {
8445
+ return;
8446
+ }
8447
+ Object.assign(this, kwargs);
8448
+ }
8449
+ toApiJson() {
8450
+ const toReturn = {};
8451
+ if (typeof this.accountsByBusiness !== 'undefined' && this.accountsByBusiness !== null) {
8452
+ toReturn['accountsByBusiness'] = 'toApiJson' in this.accountsByBusiness ? this.accountsByBusiness.toApiJson() : this.accountsByBusiness;
8453
+ }
8454
+ return toReturn;
8455
+ }
8456
+ }
8069
8457
  class ListUnsplashImagesRequest {
8070
8458
  static fromProto(proto) {
8071
8459
  let m = new ListUnsplashImagesRequest();
@@ -8249,7 +8637,7 @@ class GeneratePostsResponsePost {
8249
8637
  return toReturn;
8250
8638
  }
8251
8639
  }
8252
- class Post {
8640
+ let Post$1 = class Post {
8253
8641
  static fromProto(proto) {
8254
8642
  let m = new Post();
8255
8643
  m = Object.assign(m, proto);
@@ -8274,13 +8662,13 @@ class Post {
8274
8662
  }
8275
8663
  return toReturn;
8276
8664
  }
8277
- }
8665
+ };
8278
8666
  class PostContent {
8279
8667
  static fromProto(proto) {
8280
8668
  let m = new PostContent();
8281
8669
  m = Object.assign(m, proto);
8282
8670
  if (proto.socialNetwork) {
8283
- m.socialNetwork = enumStringToValue$9(Network, proto.socialNetwork);
8671
+ m.socialNetwork = enumStringToValue$b(Network, proto.socialNetwork);
8284
8672
  }
8285
8673
  return m;
8286
8674
  }
@@ -8306,10 +8694,10 @@ class PostsGeneration {
8306
8694
  let m = new PostsGeneration();
8307
8695
  m = Object.assign(m, proto);
8308
8696
  if (proto.tone) {
8309
- m.tone = enumStringToValue$9(Tone, proto.tone);
8697
+ m.tone = enumStringToValue$b(Tone, proto.tone);
8310
8698
  }
8311
8699
  if (proto.contentLength) {
8312
- m.contentLength = enumStringToValue$9(ContentLength, proto.contentLength);
8700
+ m.contentLength = enumStringToValue$b(ContentLength, proto.contentLength);
8313
8701
  }
8314
8702
  return m;
8315
8703
  }
@@ -8396,7 +8784,7 @@ class SocialPostOutput {
8396
8784
  m.metadata = proto.metadata.map(MetadataV2.fromProto);
8397
8785
  }
8398
8786
  if (proto.status) {
8399
- m.status = enumStringToValue$9(PostStatusV2, proto.status);
8787
+ m.status = enumStringToValue$b(PostStatusV2, proto.status);
8400
8788
  }
8401
8789
  return m;
8402
8790
  }
@@ -8705,7 +9093,7 @@ class UploadToStorageRequest {
8705
9093
  let m = new UploadToStorageRequest();
8706
9094
  m = Object.assign(m, proto);
8707
9095
  if (proto.mediaType) {
8708
- m.mediaType = enumStringToValue$9(MediaType$1, proto.mediaType);
9096
+ m.mediaType = enumStringToValue$b(MediaType$1, proto.mediaType);
8709
9097
  }
8710
9098
  return m;
8711
9099
  }
@@ -8773,7 +9161,7 @@ class UploadedMedia {
8773
9161
  }
8774
9162
  }
8775
9163
 
8776
- function enumStringToValue$8(enumRef, value) {
9164
+ function enumStringToValue$a(enumRef, value) {
8777
9165
  if (typeof value === 'number') {
8778
9166
  return value;
8779
9167
  }
@@ -8784,7 +9172,7 @@ class Action {
8784
9172
  let m = new Action();
8785
9173
  m = Object.assign(m, proto);
8786
9174
  if (proto.actionType) {
8787
- m.actionType = enumStringToValue$8(ActionType, proto.actionType);
9175
+ m.actionType = enumStringToValue$a(ActionType, proto.actionType);
8788
9176
  }
8789
9177
  return m;
8790
9178
  }
@@ -8924,7 +9312,7 @@ class StartChatResponse {
8924
9312
  }
8925
9313
  }
8926
9314
 
8927
- function enumStringToValue$7(enumRef, value) {
9315
+ function enumStringToValue$9(enumRef, value) {
8928
9316
  if (typeof value === 'number') {
8929
9317
  return value;
8930
9318
  }
@@ -8935,7 +9323,7 @@ class ChatMessage {
8935
9323
  let m = new ChatMessage();
8936
9324
  m = Object.assign(m, proto);
8937
9325
  if (proto.role) {
8938
- m.role = enumStringToValue$7(Role, proto.role);
9326
+ m.role = enumStringToValue$9(Role, proto.role);
8939
9327
  }
8940
9328
  return m;
8941
9329
  }
@@ -8963,6 +9351,9 @@ class SendMessageV2Request {
8963
9351
  if (proto.messages) {
8964
9352
  m.messages = proto.messages.map(ChatMessage.fromProto);
8965
9353
  }
9354
+ if (proto.contentType) {
9355
+ m.contentType = enumStringToValue$9(ContentType, proto.contentType);
9356
+ }
8966
9357
  return m;
8967
9358
  }
8968
9359
  constructor(kwargs) {
@@ -8991,6 +9382,9 @@ class SendMessageV2Request {
8991
9382
  if (typeof this.brandId !== 'undefined') {
8992
9383
  toReturn['brandId'] = this.brandId;
8993
9384
  }
9385
+ if (typeof this.contentType !== 'undefined') {
9386
+ toReturn['contentType'] = this.contentType;
9387
+ }
8994
9388
  return toReturn;
8995
9389
  }
8996
9390
  }
@@ -9015,7 +9409,7 @@ class SendMessageV2Response {
9015
9409
  }
9016
9410
  }
9017
9411
 
9018
- function enumStringToValue$6(enumRef, value) {
9412
+ function enumStringToValue$8(enumRef, value) {
9019
9413
  if (typeof value === 'number') {
9020
9414
  return value;
9021
9415
  }
@@ -9307,7 +9701,7 @@ class UpdateBlogConnectionRequest {
9307
9701
  }
9308
9702
  }
9309
9703
 
9310
- function enumStringToValue$5(enumRef, value) {
9704
+ function enumStringToValue$7(enumRef, value) {
9311
9705
  if (typeof value === 'number') {
9312
9706
  return value;
9313
9707
  }
@@ -9445,6 +9839,9 @@ class BlogPost {
9445
9839
  if (proto.deleted) {
9446
9840
  m.deleted = new Date(proto.deleted);
9447
9841
  }
9842
+ if (proto.metadata) {
9843
+ m.metadata = proto.metadata.map(MetadataV2.fromProto);
9844
+ }
9448
9845
  return m;
9449
9846
  }
9450
9847
  constructor(kwargs) {
@@ -9527,10 +9924,19 @@ class BlogPost {
9527
9924
  if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
9528
9925
  toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
9529
9926
  }
9530
- return toReturn;
9531
- }
9532
- }
9533
- class BlogVideo {
9927
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
9928
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
9929
+ }
9930
+ if (typeof this.createdBy !== 'undefined') {
9931
+ toReturn['createdBy'] = this.createdBy;
9932
+ }
9933
+ if (typeof this.updatedBy !== 'undefined') {
9934
+ toReturn['updatedBy'] = this.updatedBy;
9935
+ }
9936
+ return toReturn;
9937
+ }
9938
+ }
9939
+ class BlogVideo {
9534
9940
  static fromProto(proto) {
9535
9941
  let m = new BlogVideo();
9536
9942
  m = Object.assign(m, proto);
@@ -9745,6 +10151,9 @@ class PublishPostRequest {
9745
10151
  if (proto.postDateTime) {
9746
10152
  m.postDateTime = new Date(proto.postDateTime);
9747
10153
  }
10154
+ if (proto.metadata) {
10155
+ m.metadata = proto.metadata.map(MetadataV2.fromProto);
10156
+ }
9748
10157
  return m;
9749
10158
  }
9750
10159
  constructor(kwargs) {
@@ -9803,6 +10212,12 @@ class PublishPostRequest {
9803
10212
  if (typeof this.internalPostId !== 'undefined') {
9804
10213
  toReturn['internalPostId'] = this.internalPostId;
9805
10214
  }
10215
+ if (typeof this.metadata !== 'undefined' && this.metadata !== null) {
10216
+ toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;
10217
+ }
10218
+ if (typeof this.createdBy !== 'undefined') {
10219
+ toReturn['createdBy'] = this.createdBy;
10220
+ }
9806
10221
  return toReturn;
9807
10222
  }
9808
10223
  }
@@ -9928,7 +10343,7 @@ class UpdateBlogPostRequest {
9928
10343
  }
9929
10344
  }
9930
10345
 
9931
- function enumStringToValue$4(enumRef, value) {
10346
+ function enumStringToValue$6(enumRef, value) {
9932
10347
  if (typeof value === 'number') {
9933
10348
  return value;
9934
10349
  }
@@ -10129,7 +10544,7 @@ class UpdateCampaignIdRequest {
10129
10544
  let m = new UpdateCampaignIdRequest();
10130
10545
  m = Object.assign(m, proto);
10131
10546
  if (proto.type) {
10132
- m.type = enumStringToValue$4(PostCategory, proto.type);
10547
+ m.type = enumStringToValue$6(PostCategory, proto.type);
10133
10548
  }
10134
10549
  return m;
10135
10550
  }
@@ -10186,7 +10601,7 @@ class UpdateCampaignRequest {
10186
10601
  }
10187
10602
  }
10188
10603
 
10189
- function enumStringToValue$3(enumRef, value) {
10604
+ function enumStringToValue$5(enumRef, value) {
10190
10605
  if (typeof value === 'number') {
10191
10606
  return value;
10192
10607
  }
@@ -10264,7 +10679,7 @@ class Draft {
10264
10679
  m.media = proto.media.map(DraftMedia.fromProto);
10265
10680
  }
10266
10681
  if (proto.draftType) {
10267
- m.draftType = enumStringToValue$3(DraftType, proto.draftType);
10682
+ m.draftType = enumStringToValue$5(DraftType, proto.draftType);
10268
10683
  }
10269
10684
  if (proto.metadata) {
10270
10685
  m.metadata = proto.metadata.map(DraftMetaData.fromProto);
@@ -10360,6 +10775,12 @@ class Draft {
10360
10775
  if (typeof this.socialNetworkIdentifier !== 'undefined') {
10361
10776
  toReturn['socialNetworkIdentifier'] = this.socialNetworkIdentifier;
10362
10777
  }
10778
+ if (typeof this.createdBy !== 'undefined') {
10779
+ toReturn['createdBy'] = this.createdBy;
10780
+ }
10781
+ if (typeof this.updatedBy !== 'undefined') {
10782
+ toReturn['updatedBy'] = this.updatedBy;
10783
+ }
10363
10784
  return toReturn;
10364
10785
  }
10365
10786
  }
@@ -10522,7 +10943,7 @@ class DraftYoutubeCustomization {
10522
10943
  let m = new DraftYoutubeCustomization();
10523
10944
  m = Object.assign(m, proto);
10524
10945
  if (proto.privacyStatus) {
10525
- m.privacyStatus = enumStringToValue$3(DraftYoutubeCustomizationPrivacyStatus, proto.privacyStatus);
10946
+ m.privacyStatus = enumStringToValue$5(DraftYoutubeCustomizationPrivacyStatus, proto.privacyStatus);
10526
10947
  }
10527
10948
  return m;
10528
10949
  }
@@ -10609,7 +11030,7 @@ class SSIDDraftType {
10609
11030
  let m = new SSIDDraftType();
10610
11031
  m = Object.assign(m, proto);
10611
11032
  if (proto.draftType) {
10612
- m.draftType = enumStringToValue$3(DraftType, proto.draftType);
11033
+ m.draftType = enumStringToValue$5(DraftType, proto.draftType);
10613
11034
  }
10614
11035
  return m;
10615
11036
  }
@@ -10631,7 +11052,7 @@ class SSIDDraftType {
10631
11052
  }
10632
11053
  }
10633
11054
 
10634
- function enumStringToValue$2(enumRef, value) {
11055
+ function enumStringToValue$4(enumRef, value) {
10635
11056
  if (typeof value === 'number') {
10636
11057
  return value;
10637
11058
  }
@@ -10651,7 +11072,7 @@ class CreateDraftRequest {
10651
11072
  m.media = proto.media.map(DraftMedia.fromProto);
10652
11073
  }
10653
11074
  if (proto.draftType) {
10654
- m.draftType = enumStringToValue$2(DraftType, proto.draftType);
11075
+ m.draftType = enumStringToValue$4(DraftType, proto.draftType);
10655
11076
  }
10656
11077
  if (proto.metadata) {
10657
11078
  m.metadata = proto.metadata.map(DraftMetaData.fromProto);
@@ -10738,6 +11159,9 @@ class CreateDraftRequest {
10738
11159
  if (typeof this.socialNetworkIdentifier !== 'undefined') {
10739
11160
  toReturn['socialNetworkIdentifier'] = this.socialNetworkIdentifier;
10740
11161
  }
11162
+ if (typeof this.createdBy !== 'undefined') {
11163
+ toReturn['createdBy'] = this.createdBy;
11164
+ }
10741
11165
  return toReturn;
10742
11166
  }
10743
11167
  }
@@ -10954,10 +11378,10 @@ class ListDraftsRequest {
10954
11378
  m.end = new Date(proto.end);
10955
11379
  }
10956
11380
  if (proto.visibilityType) {
10957
- m.visibilityType = enumStringToValue$2(VisibilityType, proto.visibilityType);
11381
+ m.visibilityType = enumStringToValue$4(VisibilityType, proto.visibilityType);
10958
11382
  }
10959
11383
  if (proto.filterBy) {
10960
- m.filterBy = enumStringToValue$2(FilterBy, proto.filterBy);
11384
+ m.filterBy = enumStringToValue$4(FilterBy, proto.filterBy);
10961
11385
  }
10962
11386
  return m;
10963
11387
  }
@@ -11117,7 +11541,7 @@ class UpdateDraftRequest {
11117
11541
  m.media = proto.media.map(DraftMedia.fromProto);
11118
11542
  }
11119
11543
  if (proto.draftType) {
11120
- m.draftType = enumStringToValue$2(DraftType, proto.draftType);
11544
+ m.draftType = enumStringToValue$4(DraftType, proto.draftType);
11121
11545
  }
11122
11546
  if (proto.metadata) {
11123
11547
  m.metadata = proto.metadata.map(DraftMetaData.fromProto);
@@ -11207,6 +11631,9 @@ class UpdateDraftRequest {
11207
11631
  if (typeof this.socialNetworkIdentifier !== 'undefined') {
11208
11632
  toReturn['socialNetworkIdentifier'] = this.socialNetworkIdentifier;
11209
11633
  }
11634
+ if (typeof this.updatedBy !== 'undefined') {
11635
+ toReturn['updatedBy'] = this.updatedBy;
11636
+ }
11210
11637
  return toReturn;
11211
11638
  }
11212
11639
  }
@@ -11257,7 +11684,7 @@ class UpdateMultiMLDraftsRequest {
11257
11684
  }
11258
11685
  }
11259
11686
 
11260
- function enumStringToValue$1(enumRef, value) {
11687
+ function enumStringToValue$3(enumRef, value) {
11261
11688
  if (typeof value === 'number') {
11262
11689
  return value;
11263
11690
  }
@@ -11301,6 +11728,59 @@ class BlogPostOptions {
11301
11728
  return toReturn;
11302
11729
  }
11303
11730
  }
11731
+ class ContentItem {
11732
+ static fromProto(proto) {
11733
+ let m = new ContentItem();
11734
+ m = Object.assign(m, proto);
11735
+ if (proto.content) {
11736
+ m.content = SocialContentItem.fromProto(proto.content);
11737
+ }
11738
+ if (proto.status) {
11739
+ m.status = enumStringToValue$3(ContentStatus, proto.status);
11740
+ }
11741
+ if (proto.createdAt) {
11742
+ m.createdAt = new Date(proto.createdAt);
11743
+ }
11744
+ if (proto.updatedAt) {
11745
+ m.updatedAt = new Date(proto.updatedAt);
11746
+ }
11747
+ return m;
11748
+ }
11749
+ constructor(kwargs) {
11750
+ if (!kwargs) {
11751
+ return;
11752
+ }
11753
+ Object.assign(this, kwargs);
11754
+ }
11755
+ toApiJson() {
11756
+ const toReturn = {};
11757
+ if (typeof this.postId !== 'undefined') {
11758
+ toReturn['postId'] = this.postId;
11759
+ }
11760
+ if (typeof this.content !== 'undefined' && this.content !== null) {
11761
+ toReturn['content'] = 'toApiJson' in this.content ? this.content.toApiJson() : this.content;
11762
+ }
11763
+ if (typeof this.status !== 'undefined') {
11764
+ toReturn['status'] = this.status;
11765
+ }
11766
+ if (typeof this.errorMessage !== 'undefined') {
11767
+ toReturn['errorMessage'] = this.errorMessage;
11768
+ }
11769
+ if (typeof this.createdAt !== 'undefined' && this.createdAt !== null) {
11770
+ toReturn['createdAt'] = 'toApiJson' in this.createdAt ? this.createdAt.toApiJson() : this.createdAt;
11771
+ }
11772
+ if (typeof this.createdBy !== 'undefined') {
11773
+ toReturn['createdBy'] = this.createdBy;
11774
+ }
11775
+ if (typeof this.updatedAt !== 'undefined' && this.updatedAt !== null) {
11776
+ toReturn['updatedAt'] = 'toApiJson' in this.updatedAt ? this.updatedAt.toApiJson() : this.updatedAt;
11777
+ }
11778
+ if (typeof this.updatedBy !== 'undefined') {
11779
+ toReturn['updatedBy'] = this.updatedBy;
11780
+ }
11781
+ return toReturn;
11782
+ }
11783
+ }
11304
11784
  class ContentMetadata {
11305
11785
  static fromProto(proto) {
11306
11786
  let m = new ContentMetadata();
@@ -11379,6 +11859,139 @@ class CreateContentResponse {
11379
11859
  return toReturn;
11380
11860
  }
11381
11861
  }
11862
+ class DateFilter {
11863
+ static fromProto(proto) {
11864
+ let m = new DateFilter();
11865
+ m = Object.assign(m, proto);
11866
+ if (proto.from) {
11867
+ m.from = new Date(proto.from);
11868
+ }
11869
+ if (proto.to) {
11870
+ m.to = new Date(proto.to);
11871
+ }
11872
+ return m;
11873
+ }
11874
+ constructor(kwargs) {
11875
+ if (!kwargs) {
11876
+ return;
11877
+ }
11878
+ Object.assign(this, kwargs);
11879
+ }
11880
+ toApiJson() {
11881
+ const toReturn = {};
11882
+ if (typeof this.field !== 'undefined') {
11883
+ toReturn['field'] = this.field;
11884
+ }
11885
+ if (typeof this.from !== 'undefined' && this.from !== null) {
11886
+ toReturn['from'] = 'toApiJson' in this.from ? this.from.toApiJson() : this.from;
11887
+ }
11888
+ if (typeof this.to !== 'undefined' && this.to !== null) {
11889
+ toReturn['to'] = 'toApiJson' in this.to ? this.to.toApiJson() : this.to;
11890
+ }
11891
+ return toReturn;
11892
+ }
11893
+ }
11894
+ class DeleteContentRequest {
11895
+ static fromProto(proto) {
11896
+ let m = new DeleteContentRequest();
11897
+ m = Object.assign(m, proto);
11898
+ if (proto.post) {
11899
+ m.post = proto.post.map(Post.fromProto);
11900
+ }
11901
+ return m;
11902
+ }
11903
+ constructor(kwargs) {
11904
+ if (!kwargs) {
11905
+ return;
11906
+ }
11907
+ Object.assign(this, kwargs);
11908
+ }
11909
+ toApiJson() {
11910
+ const toReturn = {};
11911
+ if (typeof this.accountGroupId !== 'undefined') {
11912
+ toReturn['accountGroupId'] = this.accountGroupId;
11913
+ }
11914
+ if (typeof this.post !== 'undefined' && this.post !== null) {
11915
+ toReturn['post'] = 'toApiJson' in this.post ? this.post.toApiJson() : this.post;
11916
+ }
11917
+ if (typeof this.userId !== 'undefined') {
11918
+ toReturn['userId'] = this.userId;
11919
+ }
11920
+ return toReturn;
11921
+ }
11922
+ }
11923
+ class DeleteContentResponse {
11924
+ static fromProto(proto) {
11925
+ let m = new DeleteContentResponse();
11926
+ m = Object.assign(m, proto);
11927
+ if (proto.results) {
11928
+ m.results = proto.results.map(DeleteResult.fromProto);
11929
+ }
11930
+ return m;
11931
+ }
11932
+ constructor(kwargs) {
11933
+ if (!kwargs) {
11934
+ return;
11935
+ }
11936
+ Object.assign(this, kwargs);
11937
+ }
11938
+ toApiJson() {
11939
+ const toReturn = {};
11940
+ if (typeof this.results !== 'undefined' && this.results !== null) {
11941
+ toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;
11942
+ }
11943
+ return toReturn;
11944
+ }
11945
+ }
11946
+ class DeleteResult {
11947
+ static fromProto(proto) {
11948
+ let m = new DeleteResult();
11949
+ m = Object.assign(m, proto);
11950
+ return m;
11951
+ }
11952
+ constructor(kwargs) {
11953
+ if (!kwargs) {
11954
+ return;
11955
+ }
11956
+ Object.assign(this, kwargs);
11957
+ }
11958
+ toApiJson() {
11959
+ const toReturn = {};
11960
+ if (typeof this.postId !== 'undefined') {
11961
+ toReturn['postId'] = this.postId;
11962
+ }
11963
+ if (typeof this.status !== 'undefined') {
11964
+ toReturn['status'] = this.status;
11965
+ }
11966
+ if (typeof this.errorMessage !== 'undefined') {
11967
+ toReturn['errorMessage'] = this.errorMessage;
11968
+ }
11969
+ return toReturn;
11970
+ }
11971
+ }
11972
+ class FieldFilter {
11973
+ static fromProto(proto) {
11974
+ let m = new FieldFilter();
11975
+ m = Object.assign(m, proto);
11976
+ return m;
11977
+ }
11978
+ constructor(kwargs) {
11979
+ if (!kwargs) {
11980
+ return;
11981
+ }
11982
+ Object.assign(this, kwargs);
11983
+ }
11984
+ toApiJson() {
11985
+ const toReturn = {};
11986
+ if (typeof this.field !== 'undefined') {
11987
+ toReturn['field'] = this.field;
11988
+ }
11989
+ if (typeof this.values !== 'undefined') {
11990
+ toReturn['values'] = this.values;
11991
+ }
11992
+ return toReturn;
11993
+ }
11994
+ }
11382
11995
  class GMBCustomization {
11383
11996
  static fromProto(proto) {
11384
11997
  let m = new GMBCustomization();
@@ -11390,7 +12003,7 @@ class GMBCustomization {
11390
12003
  m.eventEnd = new Date(proto.eventEnd);
11391
12004
  }
11392
12005
  if (proto.ctaType) {
11393
- m.ctaType = enumStringToValue$1(CallToActionType, proto.ctaType);
12006
+ m.ctaType = enumStringToValue$3(CallToActionType, proto.ctaType);
11394
12007
  }
11395
12008
  return m;
11396
12009
  }
@@ -11455,12 +12068,82 @@ class Link {
11455
12068
  return toReturn;
11456
12069
  }
11457
12070
  }
12071
+ class ListContentRequest {
12072
+ static fromProto(proto) {
12073
+ let m = new ListContentRequest();
12074
+ m = Object.assign(m, proto);
12075
+ if (proto.filter) {
12076
+ m.filter = SocialContentFilter.fromProto(proto.filter);
12077
+ }
12078
+ if (proto.sort) {
12079
+ m.sort = Sort.fromProto(proto.sort);
12080
+ }
12081
+ if (proto.pageSize) {
12082
+ m.pageSize = parseInt(proto.pageSize, 10);
12083
+ }
12084
+ return m;
12085
+ }
12086
+ constructor(kwargs) {
12087
+ if (!kwargs) {
12088
+ return;
12089
+ }
12090
+ Object.assign(this, kwargs);
12091
+ }
12092
+ toApiJson() {
12093
+ const toReturn = {};
12094
+ if (typeof this.namespace !== 'undefined') {
12095
+ toReturn['namespace'] = this.namespace;
12096
+ }
12097
+ if (typeof this.filter !== 'undefined' && this.filter !== null) {
12098
+ toReturn['filter'] = 'toApiJson' in this.filter ? this.filter.toApiJson() : this.filter;
12099
+ }
12100
+ if (typeof this.sort !== 'undefined' && this.sort !== null) {
12101
+ toReturn['sort'] = 'toApiJson' in this.sort ? this.sort.toApiJson() : this.sort;
12102
+ }
12103
+ if (typeof this.cursor !== 'undefined') {
12104
+ toReturn['cursor'] = this.cursor;
12105
+ }
12106
+ if (typeof this.pageSize !== 'undefined') {
12107
+ toReturn['pageSize'] = this.pageSize;
12108
+ }
12109
+ return toReturn;
12110
+ }
12111
+ }
12112
+ class ListContentResponse {
12113
+ static fromProto(proto) {
12114
+ let m = new ListContentResponse();
12115
+ m = Object.assign(m, proto);
12116
+ if (proto.items) {
12117
+ m.items = proto.items.map(ContentItem.fromProto);
12118
+ }
12119
+ return m;
12120
+ }
12121
+ constructor(kwargs) {
12122
+ if (!kwargs) {
12123
+ return;
12124
+ }
12125
+ Object.assign(this, kwargs);
12126
+ }
12127
+ toApiJson() {
12128
+ const toReturn = {};
12129
+ if (typeof this.items !== 'undefined' && this.items !== null) {
12130
+ toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;
12131
+ }
12132
+ if (typeof this.nextCursor !== 'undefined') {
12133
+ toReturn['nextCursor'] = this.nextCursor;
12134
+ }
12135
+ if (typeof this.hasMore !== 'undefined') {
12136
+ toReturn['hasMore'] = this.hasMore;
12137
+ }
12138
+ return toReturn;
12139
+ }
12140
+ }
11458
12141
  class MediaItem {
11459
12142
  static fromProto(proto) {
11460
12143
  let m = new MediaItem();
11461
12144
  m = Object.assign(m, proto);
11462
12145
  if (proto.mediaType) {
11463
- m.mediaType = enumStringToValue$1(MediaType$1, proto.mediaType);
12146
+ m.mediaType = enumStringToValue$3(MediaType$1, proto.mediaType);
11464
12147
  }
11465
12148
  return m;
11466
12149
  }
@@ -11487,15 +12170,76 @@ class MediaItem {
11487
12170
  return toReturn;
11488
12171
  }
11489
12172
  }
12173
+ class Post {
12174
+ static fromProto(proto) {
12175
+ let m = new Post();
12176
+ m = Object.assign(m, proto);
12177
+ if (proto.state) {
12178
+ m.state = enumStringToValue$3(ContentState, proto.state);
12179
+ }
12180
+ return m;
12181
+ }
12182
+ constructor(kwargs) {
12183
+ if (!kwargs) {
12184
+ return;
12185
+ }
12186
+ Object.assign(this, kwargs);
12187
+ }
12188
+ toApiJson() {
12189
+ const toReturn = {};
12190
+ if (typeof this.postId !== 'undefined') {
12191
+ toReturn['postId'] = this.postId;
12192
+ }
12193
+ if (typeof this.state !== 'undefined') {
12194
+ toReturn['state'] = this.state;
12195
+ }
12196
+ return toReturn;
12197
+ }
12198
+ }
12199
+ class SocialContentFilter {
12200
+ static fromProto(proto) {
12201
+ let m = new SocialContentFilter();
12202
+ m = Object.assign(m, proto);
12203
+ if (proto.mode) {
12204
+ m.mode = enumStringToValue$3(PublishMode, proto.mode);
12205
+ }
12206
+ if (proto.dateFilter) {
12207
+ m.dateFilter = DateFilter.fromProto(proto.dateFilter);
12208
+ }
12209
+ if (proto.filters) {
12210
+ m.filters = proto.filters.map(FieldFilter.fromProto);
12211
+ }
12212
+ return m;
12213
+ }
12214
+ constructor(kwargs) {
12215
+ if (!kwargs) {
12216
+ return;
12217
+ }
12218
+ Object.assign(this, kwargs);
12219
+ }
12220
+ toApiJson() {
12221
+ const toReturn = {};
12222
+ if (typeof this.mode !== 'undefined') {
12223
+ toReturn['mode'] = this.mode;
12224
+ }
12225
+ if (typeof this.dateFilter !== 'undefined' && this.dateFilter !== null) {
12226
+ toReturn['dateFilter'] = 'toApiJson' in this.dateFilter ? this.dateFilter.toApiJson() : this.dateFilter;
12227
+ }
12228
+ if (typeof this.filters !== 'undefined' && this.filters !== null) {
12229
+ toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;
12230
+ }
12231
+ return toReturn;
12232
+ }
12233
+ }
11490
12234
  class SocialContentItem {
11491
12235
  static fromProto(proto) {
11492
12236
  let m = new SocialContentItem();
11493
12237
  m = Object.assign(m, proto);
11494
12238
  if (proto.type) {
11495
- m.type = enumStringToValue$1(SocialContentType, proto.type);
12239
+ m.type = enumStringToValue$3(SocialContentType, proto.type);
11496
12240
  }
11497
12241
  if (proto.mode) {
11498
- m.mode = enumStringToValue$1(PublishMode, proto.mode);
12242
+ m.mode = enumStringToValue$3(PublishMode, proto.mode);
11499
12243
  }
11500
12244
  if (proto.ssidTypes) {
11501
12245
  m.ssidTypes = proto.ssidTypes.map(SsidPostType.fromProto);
@@ -11555,34 +12299,179 @@ class SocialContentItem {
11555
12299
  if (typeof this.links !== 'undefined' && this.links !== null) {
11556
12300
  toReturn['links'] = 'toApiJson' in this.links ? this.links.toApiJson() : this.links;
11557
12301
  }
11558
- if (typeof this.scheduleAt !== 'undefined' && this.scheduleAt !== null) {
11559
- toReturn['scheduleAt'] = 'toApiJson' in this.scheduleAt ? this.scheduleAt.toApiJson() : this.scheduleAt;
12302
+ if (typeof this.scheduleAt !== 'undefined' && this.scheduleAt !== null) {
12303
+ toReturn['scheduleAt'] = 'toApiJson' in this.scheduleAt ? this.scheduleAt.toApiJson() : this.scheduleAt;
12304
+ }
12305
+ if (typeof this.gmbCustomization !== 'undefined' && this.gmbCustomization !== null) {
12306
+ toReturn['gmbCustomization'] = 'toApiJson' in this.gmbCustomization ? this.gmbCustomization.toApiJson() : this.gmbCustomization;
12307
+ }
12308
+ if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {
12309
+ toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;
12310
+ }
12311
+ if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {
12312
+ toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;
12313
+ }
12314
+ if (typeof this.blogPostOptions !== 'undefined' && this.blogPostOptions !== null) {
12315
+ toReturn['blogPostOptions'] = 'toApiJson' in this.blogPostOptions ? this.blogPostOptions.toApiJson() : this.blogPostOptions;
12316
+ }
12317
+ if (typeof this.campaignId !== 'undefined') {
12318
+ toReturn['campaignId'] = this.campaignId;
12319
+ }
12320
+ if (typeof this.contentMetadata !== 'undefined' && this.contentMetadata !== null) {
12321
+ toReturn['contentMetadata'] = 'toApiJson' in this.contentMetadata ? this.contentMetadata.toApiJson() : this.contentMetadata;
12322
+ }
12323
+ return toReturn;
12324
+ }
12325
+ }
12326
+ class SocialContentResult {
12327
+ static fromProto(proto) {
12328
+ let m = new SocialContentResult();
12329
+ m = Object.assign(m, proto);
12330
+ return m;
12331
+ }
12332
+ constructor(kwargs) {
12333
+ if (!kwargs) {
12334
+ return;
12335
+ }
12336
+ Object.assign(this, kwargs);
12337
+ }
12338
+ toApiJson() {
12339
+ const toReturn = {};
12340
+ if (typeof this.postId !== 'undefined') {
12341
+ toReturn['postId'] = this.postId;
12342
+ }
12343
+ if (typeof this.ssid !== 'undefined') {
12344
+ toReturn['ssid'] = this.ssid;
12345
+ }
12346
+ if (typeof this.network !== 'undefined') {
12347
+ toReturn['network'] = this.network;
12348
+ }
12349
+ if (typeof this.status !== 'undefined') {
12350
+ toReturn['status'] = this.status;
12351
+ }
12352
+ if (typeof this.errorMessage !== 'undefined') {
12353
+ toReturn['errorMessage'] = this.errorMessage;
12354
+ }
12355
+ return toReturn;
12356
+ }
12357
+ }
12358
+ class Sort {
12359
+ static fromProto(proto) {
12360
+ let m = new Sort();
12361
+ m = Object.assign(m, proto);
12362
+ if (proto.direction) {
12363
+ m.direction = enumStringToValue$3(SortDirection, proto.direction);
12364
+ }
12365
+ return m;
12366
+ }
12367
+ constructor(kwargs) {
12368
+ if (!kwargs) {
12369
+ return;
12370
+ }
12371
+ Object.assign(this, kwargs);
12372
+ }
12373
+ toApiJson() {
12374
+ const toReturn = {};
12375
+ if (typeof this.field !== 'undefined') {
12376
+ toReturn['field'] = this.field;
12377
+ }
12378
+ if (typeof this.direction !== 'undefined') {
12379
+ toReturn['direction'] = this.direction;
12380
+ }
12381
+ return toReturn;
12382
+ }
12383
+ }
12384
+ class SsidPostType {
12385
+ static fromProto(proto) {
12386
+ let m = new SsidPostType();
12387
+ m = Object.assign(m, proto);
12388
+ if (proto.mediaContentType) {
12389
+ m.mediaContentType = enumStringToValue$3(MediaContentType, proto.mediaContentType);
12390
+ }
12391
+ return m;
12392
+ }
12393
+ constructor(kwargs) {
12394
+ if (!kwargs) {
12395
+ return;
12396
+ }
12397
+ Object.assign(this, kwargs);
12398
+ }
12399
+ toApiJson() {
12400
+ const toReturn = {};
12401
+ if (typeof this.ssid !== 'undefined') {
12402
+ toReturn['ssid'] = this.ssid;
12403
+ }
12404
+ if (typeof this.mediaContentType !== 'undefined') {
12405
+ toReturn['mediaContentType'] = this.mediaContentType;
12406
+ }
12407
+ return toReturn;
12408
+ }
12409
+ }
12410
+ class UpdateContentItem {
12411
+ static fromProto(proto) {
12412
+ let m = new UpdateContentItem();
12413
+ m = Object.assign(m, proto);
12414
+ if (proto.content) {
12415
+ m.content = SocialContentItem.fromProto(proto.content);
12416
+ }
12417
+ return m;
12418
+ }
12419
+ constructor(kwargs) {
12420
+ if (!kwargs) {
12421
+ return;
12422
+ }
12423
+ Object.assign(this, kwargs);
12424
+ }
12425
+ toApiJson() {
12426
+ const toReturn = {};
12427
+ if (typeof this.postId !== 'undefined') {
12428
+ toReturn['postId'] = this.postId;
12429
+ }
12430
+ if (typeof this.content !== 'undefined' && this.content !== null) {
12431
+ toReturn['content'] = 'toApiJson' in this.content ? this.content.toApiJson() : this.content;
11560
12432
  }
11561
- if (typeof this.gmbCustomization !== 'undefined' && this.gmbCustomization !== null) {
11562
- toReturn['gmbCustomization'] = 'toApiJson' in this.gmbCustomization ? this.gmbCustomization.toApiJson() : this.gmbCustomization;
12433
+ return toReturn;
12434
+ }
12435
+ }
12436
+ class UpdateContentRequest {
12437
+ static fromProto(proto) {
12438
+ let m = new UpdateContentRequest();
12439
+ m = Object.assign(m, proto);
12440
+ if (proto.items) {
12441
+ m.items = proto.items.map(UpdateContentItem.fromProto);
11563
12442
  }
11564
- if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {
11565
- toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;
12443
+ return m;
12444
+ }
12445
+ constructor(kwargs) {
12446
+ if (!kwargs) {
12447
+ return;
11566
12448
  }
11567
- if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {
11568
- toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;
12449
+ Object.assign(this, kwargs);
12450
+ }
12451
+ toApiJson() {
12452
+ const toReturn = {};
12453
+ if (typeof this.accountGroupId !== 'undefined') {
12454
+ toReturn['accountGroupId'] = this.accountGroupId;
11569
12455
  }
11570
- if (typeof this.blogPostOptions !== 'undefined' && this.blogPostOptions !== null) {
11571
- toReturn['blogPostOptions'] = 'toApiJson' in this.blogPostOptions ? this.blogPostOptions.toApiJson() : this.blogPostOptions;
12456
+ if (typeof this.username !== 'undefined') {
12457
+ toReturn['username'] = this.username;
11572
12458
  }
11573
- if (typeof this.campaignId !== 'undefined') {
11574
- toReturn['campaignId'] = this.campaignId;
12459
+ if (typeof this.userId !== 'undefined') {
12460
+ toReturn['userId'] = this.userId;
11575
12461
  }
11576
- if (typeof this.contentMetadata !== 'undefined' && this.contentMetadata !== null) {
11577
- toReturn['contentMetadata'] = 'toApiJson' in this.contentMetadata ? this.contentMetadata.toApiJson() : this.contentMetadata;
12462
+ if (typeof this.items !== 'undefined' && this.items !== null) {
12463
+ toReturn['items'] = 'toApiJson' in this.items ? this.items.toApiJson() : this.items;
11578
12464
  }
11579
12465
  return toReturn;
11580
12466
  }
11581
12467
  }
11582
- class SocialContentResult {
12468
+ class UpdateContentResponse {
11583
12469
  static fromProto(proto) {
11584
- let m = new SocialContentResult();
12470
+ let m = new UpdateContentResponse();
11585
12471
  m = Object.assign(m, proto);
12472
+ if (proto.results) {
12473
+ m.results = proto.results.map(UpdateResult.fromProto);
12474
+ }
11586
12475
  return m;
11587
12476
  }
11588
12477
  constructor(kwargs) {
@@ -11593,30 +12482,18 @@ class SocialContentResult {
11593
12482
  }
11594
12483
  toApiJson() {
11595
12484
  const toReturn = {};
11596
- if (typeof this.postId !== 'undefined') {
11597
- toReturn['postId'] = this.postId;
11598
- }
11599
- if (typeof this.ssid !== 'undefined') {
11600
- toReturn['ssid'] = this.ssid;
11601
- }
11602
- if (typeof this.network !== 'undefined') {
11603
- toReturn['network'] = this.network;
11604
- }
11605
- if (typeof this.status !== 'undefined') {
11606
- toReturn['status'] = this.status;
11607
- }
11608
- if (typeof this.errorMessage !== 'undefined') {
11609
- toReturn['errorMessage'] = this.errorMessage;
12485
+ if (typeof this.results !== 'undefined' && this.results !== null) {
12486
+ toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;
11610
12487
  }
11611
12488
  return toReturn;
11612
12489
  }
11613
12490
  }
11614
- class SsidPostType {
12491
+ class UpdateResult {
11615
12492
  static fromProto(proto) {
11616
- let m = new SsidPostType();
12493
+ let m = new UpdateResult();
11617
12494
  m = Object.assign(m, proto);
11618
- if (proto.mediaContentType) {
11619
- m.mediaContentType = enumStringToValue$1(MediaContentType, proto.mediaContentType);
12495
+ if (proto.item) {
12496
+ m.item = ContentItem.fromProto(proto.item);
11620
12497
  }
11621
12498
  return m;
11622
12499
  }
@@ -11628,17 +12505,20 @@ class SsidPostType {
11628
12505
  }
11629
12506
  toApiJson() {
11630
12507
  const toReturn = {};
11631
- if (typeof this.ssid !== 'undefined') {
11632
- toReturn['ssid'] = this.ssid;
12508
+ if (typeof this.item !== 'undefined' && this.item !== null) {
12509
+ toReturn['item'] = 'toApiJson' in this.item ? this.item.toApiJson() : this.item;
11633
12510
  }
11634
- if (typeof this.mediaContentType !== 'undefined') {
11635
- toReturn['mediaContentType'] = this.mediaContentType;
12511
+ if (typeof this.status !== 'undefined') {
12512
+ toReturn['status'] = this.status;
12513
+ }
12514
+ if (typeof this.errorMessage !== 'undefined') {
12515
+ toReturn['errorMessage'] = this.errorMessage;
11636
12516
  }
11637
12517
  return toReturn;
11638
12518
  }
11639
12519
  }
11640
12520
 
11641
- function enumStringToValue(enumRef, value) {
12521
+ function enumStringToValue$2(enumRef, value) {
11642
12522
  if (typeof value === 'number') {
11643
12523
  return value;
11644
12524
  }
@@ -11655,19 +12535,19 @@ class CreateOrEditRequest {
11655
12535
  m.imageInputs = proto.imageInputs.map(ImageInputSource.fromProto);
11656
12536
  }
11657
12537
  if (proto.model) {
11658
- m.model = enumStringToValue(ImageModel, proto.model);
12538
+ m.model = enumStringToValue$2(ImageModel, proto.model);
11659
12539
  }
11660
12540
  if (proto.quality) {
11661
- m.quality = enumStringToValue(ImageQuality, proto.quality);
12541
+ m.quality = enumStringToValue$2(ImageQuality, proto.quality);
11662
12542
  }
11663
12543
  if (proto.style) {
11664
- m.style = enumStringToValue(ImageStyle, proto.style);
12544
+ m.style = enumStringToValue$2(ImageStyle, proto.style);
11665
12545
  }
11666
12546
  if (proto.background) {
11667
- m.background = enumStringToValue(ImageBackground, proto.background);
12547
+ m.background = enumStringToValue$2(ImageBackground, proto.background);
11668
12548
  }
11669
12549
  if (proto.outputFormat) {
11670
- m.outputFormat = enumStringToValue(ImageOutputFormat, proto.outputFormat);
12550
+ m.outputFormat = enumStringToValue$2(ImageOutputFormat, proto.outputFormat);
11671
12551
  }
11672
12552
  return m;
11673
12553
  }
@@ -11715,6 +12595,9 @@ class CreateOrEditRequest {
11715
12595
  if (typeof this.moderation !== 'undefined') {
11716
12596
  toReturn['moderation'] = this.moderation;
11717
12597
  }
12598
+ if (typeof this.assistantType !== 'undefined') {
12599
+ toReturn['assistantType'] = this.assistantType;
12600
+ }
11718
12601
  return toReturn;
11719
12602
  }
11720
12603
  }
@@ -11791,6 +12674,192 @@ class ImageInputSource {
11791
12674
  }
11792
12675
  }
11793
12676
 
12677
+ function enumStringToValue$1(enumRef, value) {
12678
+ if (typeof value === 'number') {
12679
+ return value;
12680
+ }
12681
+ return enumRef[value];
12682
+ }
12683
+ class SocialComment {
12684
+ static fromProto(proto) {
12685
+ let m = new SocialComment();
12686
+ m = Object.assign(m, proto);
12687
+ if (proto.postedOn) {
12688
+ m.postedOn = new Date(proto.postedOn);
12689
+ }
12690
+ if (proto.likeCount) {
12691
+ m.likeCount = parseInt(proto.likeCount, 10);
12692
+ }
12693
+ return m;
12694
+ }
12695
+ constructor(kwargs) {
12696
+ if (!kwargs) {
12697
+ return;
12698
+ }
12699
+ Object.assign(this, kwargs);
12700
+ }
12701
+ toApiJson() {
12702
+ const toReturn = {};
12703
+ if (typeof this.commentId !== 'undefined') {
12704
+ toReturn['commentId'] = this.commentId;
12705
+ }
12706
+ if (typeof this.parentId !== 'undefined') {
12707
+ toReturn['parentId'] = this.parentId;
12708
+ }
12709
+ if (typeof this.postId !== 'undefined') {
12710
+ toReturn['postId'] = this.postId;
12711
+ }
12712
+ if (typeof this.text !== 'undefined') {
12713
+ toReturn['text'] = this.text;
12714
+ }
12715
+ if (typeof this.username !== 'undefined') {
12716
+ toReturn['username'] = this.username;
12717
+ }
12718
+ if (typeof this.postedOn !== 'undefined' && this.postedOn !== null) {
12719
+ toReturn['postedOn'] = 'toApiJson' in this.postedOn ? this.postedOn.toApiJson() : this.postedOn;
12720
+ }
12721
+ if (typeof this.likeCount !== 'undefined') {
12722
+ toReturn['likeCount'] = this.likeCount;
12723
+ }
12724
+ if (typeof this.hasReplies !== 'undefined') {
12725
+ toReturn['hasReplies'] = this.hasReplies;
12726
+ }
12727
+ return toReturn;
12728
+ }
12729
+ }
12730
+
12731
+ function enumStringToValue(enumRef, value) {
12732
+ if (typeof value === 'number') {
12733
+ return value;
12734
+ }
12735
+ return enumRef[value];
12736
+ }
12737
+ class ListCommentsRequest {
12738
+ static fromProto(proto) {
12739
+ let m = new ListCommentsRequest();
12740
+ m = Object.assign(m, proto);
12741
+ if (proto.platform) {
12742
+ m.platform = enumStringToValue(Network, proto.platform);
12743
+ }
12744
+ if (proto.pageSize) {
12745
+ m.pageSize = parseInt(proto.pageSize, 10);
12746
+ }
12747
+ return m;
12748
+ }
12749
+ constructor(kwargs) {
12750
+ if (!kwargs) {
12751
+ return;
12752
+ }
12753
+ Object.assign(this, kwargs);
12754
+ }
12755
+ toApiJson() {
12756
+ const toReturn = {};
12757
+ if (typeof this.platform !== 'undefined') {
12758
+ toReturn['platform'] = this.platform;
12759
+ }
12760
+ if (typeof this.accountGroupId !== 'undefined') {
12761
+ toReturn['accountGroupId'] = this.accountGroupId;
12762
+ }
12763
+ if (typeof this.postId !== 'undefined') {
12764
+ toReturn['postId'] = this.postId;
12765
+ }
12766
+ if (typeof this.parentCommentId !== 'undefined') {
12767
+ toReturn['parentCommentId'] = this.parentCommentId;
12768
+ }
12769
+ if (typeof this.cursor !== 'undefined') {
12770
+ toReturn['cursor'] = this.cursor;
12771
+ }
12772
+ if (typeof this.pageSize !== 'undefined') {
12773
+ toReturn['pageSize'] = this.pageSize;
12774
+ }
12775
+ return toReturn;
12776
+ }
12777
+ }
12778
+ class ListCommentsResponse {
12779
+ static fromProto(proto) {
12780
+ let m = new ListCommentsResponse();
12781
+ m = Object.assign(m, proto);
12782
+ if (proto.comments) {
12783
+ m.comments = proto.comments.map(SocialComment.fromProto);
12784
+ }
12785
+ return m;
12786
+ }
12787
+ constructor(kwargs) {
12788
+ if (!kwargs) {
12789
+ return;
12790
+ }
12791
+ Object.assign(this, kwargs);
12792
+ }
12793
+ toApiJson() {
12794
+ const toReturn = {};
12795
+ if (typeof this.comments !== 'undefined' && this.comments !== null) {
12796
+ toReturn['comments'] = 'toApiJson' in this.comments ? this.comments.toApiJson() : this.comments;
12797
+ }
12798
+ if (typeof this.nextCursor !== 'undefined') {
12799
+ toReturn['nextCursor'] = this.nextCursor;
12800
+ }
12801
+ if (typeof this.hasMore !== 'undefined') {
12802
+ toReturn['hasMore'] = this.hasMore;
12803
+ }
12804
+ return toReturn;
12805
+ }
12806
+ }
12807
+ class PostReplyRequest {
12808
+ static fromProto(proto) {
12809
+ let m = new PostReplyRequest();
12810
+ m = Object.assign(m, proto);
12811
+ if (proto.platform) {
12812
+ m.platform = enumStringToValue(Network, proto.platform);
12813
+ }
12814
+ return m;
12815
+ }
12816
+ constructor(kwargs) {
12817
+ if (!kwargs) {
12818
+ return;
12819
+ }
12820
+ Object.assign(this, kwargs);
12821
+ }
12822
+ toApiJson() {
12823
+ const toReturn = {};
12824
+ if (typeof this.platform !== 'undefined') {
12825
+ toReturn['platform'] = this.platform;
12826
+ }
12827
+ if (typeof this.accountGroupId !== 'undefined') {
12828
+ toReturn['accountGroupId'] = this.accountGroupId;
12829
+ }
12830
+ if (typeof this.postId !== 'undefined') {
12831
+ toReturn['postId'] = this.postId;
12832
+ }
12833
+ if (typeof this.parentCommentId !== 'undefined') {
12834
+ toReturn['parentCommentId'] = this.parentCommentId;
12835
+ }
12836
+ if (typeof this.text !== 'undefined') {
12837
+ toReturn['text'] = this.text;
12838
+ }
12839
+ return toReturn;
12840
+ }
12841
+ }
12842
+ class PostReplyResponse {
12843
+ static fromProto(proto) {
12844
+ let m = new PostReplyResponse();
12845
+ m = Object.assign(m, proto);
12846
+ return m;
12847
+ }
12848
+ constructor(kwargs) {
12849
+ if (!kwargs) {
12850
+ return;
12851
+ }
12852
+ Object.assign(this, kwargs);
12853
+ }
12854
+ toApiJson() {
12855
+ const toReturn = {};
12856
+ if (typeof this.commentId !== 'undefined') {
12857
+ toReturn['commentId'] = this.commentId;
12858
+ }
12859
+ return toReturn;
12860
+ }
12861
+ }
12862
+
11794
12863
  // *********************************
11795
12864
  // Code generated by sdkgen
11796
12865
  // DO NOT EDIT!.
@@ -12888,6 +13957,44 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
12888
13957
  args: [{ providedIn: 'root' }]
12889
13958
  }] });
12890
13959
 
13960
+ // *********************************
13961
+ // Code generated by sdkgen
13962
+ // DO NOT EDIT!.
13963
+ //
13964
+ // API Service.
13965
+ // *********************************
13966
+ class SocialCommentsApiService {
13967
+ constructor() {
13968
+ this.hostService = inject(HostService);
13969
+ this.http = inject(HttpClient);
13970
+ this._host = this.hostService.hostWithScheme;
13971
+ }
13972
+ apiOptions() {
13973
+ return {
13974
+ headers: new HttpHeaders({
13975
+ 'Content-Type': 'application/json'
13976
+ }),
13977
+ withCredentials: true
13978
+ };
13979
+ }
13980
+ listComments(r) {
13981
+ const request = (r.toApiJson) ? r : new ListCommentsRequest(r);
13982
+ return this.http.post(this._host + "/socialposts.v2.SocialComments/ListComments", request.toApiJson(), this.apiOptions())
13983
+ .pipe(map(resp => ListCommentsResponse.fromProto(resp)));
13984
+ }
13985
+ postReply(r) {
13986
+ const request = (r.toApiJson) ? r : new PostReplyRequest(r);
13987
+ return this.http.post(this._host + "/socialposts.v2.SocialComments/PostReply", request.toApiJson(), this.apiOptions())
13988
+ .pipe(map(resp => PostReplyResponse.fromProto(resp)));
13989
+ }
13990
+ }
13991
+ SocialCommentsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialCommentsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13992
+ SocialCommentsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialCommentsApiService, providedIn: 'root' });
13993
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialCommentsApiService, decorators: [{
13994
+ type: Injectable,
13995
+ args: [{ providedIn: 'root' }]
13996
+ }] });
13997
+
12891
13998
  // *********************************
12892
13999
  // Code generated by sdkgen
12893
14000
  // DO NOT EDIT!.
@@ -12913,6 +14020,21 @@ class SocialContentApiService {
12913
14020
  return this.http.post(this._host + "/socialposts.v1.SocialContent/Create", request.toApiJson(), this.apiOptions())
12914
14021
  .pipe(map(resp => CreateContentResponse.fromProto(resp)));
12915
14022
  }
14023
+ listPosts(r) {
14024
+ const request = (r.toApiJson) ? r : new ListContentRequest(r);
14025
+ return this.http.post(this._host + "/socialposts.v1.SocialContent/ListPosts", request.toApiJson(), this.apiOptions())
14026
+ .pipe(map(resp => ListContentResponse.fromProto(resp)));
14027
+ }
14028
+ update(r) {
14029
+ const request = (r.toApiJson) ? r : new UpdateContentRequest(r);
14030
+ return this.http.post(this._host + "/socialposts.v1.SocialContent/Update", request.toApiJson(), this.apiOptions())
14031
+ .pipe(map(resp => UpdateContentResponse.fromProto(resp)));
14032
+ }
14033
+ delete(r) {
14034
+ const request = (r.toApiJson) ? r : new DeleteContentRequest(r);
14035
+ return this.http.post(this._host + "/socialposts.v1.SocialContent/Delete", request.toApiJson(), this.apiOptions())
14036
+ .pipe(map(resp => DeleteContentResponse.fromProto(resp)));
14037
+ }
12916
14038
  }
12917
14039
  SocialContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
12918
14040
  SocialContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialContentApiService, providedIn: 'root' });
@@ -13018,6 +14140,11 @@ class SocialPostsV2ApiService {
13018
14140
  return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/GetXSubscriptionType", request.toApiJson(), this.apiOptions())
13019
14141
  .pipe(map(resp => GetXSubscriptionTypeResponse.fromProto(resp)));
13020
14142
  }
14143
+ listSocialConnectionsByBusinesses(r) {
14144
+ const request = (r.toApiJson) ? r : new ListSocialConnectionsByBusinessesRequest(r);
14145
+ return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/ListSocialConnectionsByBusinesses", request.toApiJson(), this.apiOptions())
14146
+ .pipe(map(resp => ListSocialConnectionsByBusinessesResponse.fromProto(resp)));
14147
+ }
13021
14148
  }
13022
14149
  SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
13023
14150
  SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
@@ -13556,6 +14683,10 @@ class SocialPostsV2Service {
13556
14683
  getXSubscriptionType(req) {
13557
14684
  return this.socialpostV2ApiService.getXSubscriptionType(req);
13558
14685
  }
14686
+ listSocialConnectionsByBusinesses(accountGroupIds) {
14687
+ const req = new ListSocialConnectionsByBusinessesRequest({ accountGroupIds });
14688
+ return this.socialpostV2ApiService.listSocialConnectionsByBusinesses(req);
14689
+ }
13559
14690
  }
13560
14691
  SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
13561
14692
  SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
@@ -13791,5 +14922,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
13791
14922
  * Generated bundle index. Do not edit.
13792
14923
  */
13793
14924
 
13794
- 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 };
14925
+ export { Access, AccountGroupInfo, 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, BusinessConnectedSocialAccounts, CallToAction, CallToActionCallToActionType, CallToActionType, Campaign, CampaignCustomization, CampaignService, Categories, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ConnectedFacebookPage, ConnectedGmbLocation, ConnectedInstagramAccount, ConnectedLinkedinAccount, ConnectedLinkedinAccounts, Contact, ContentGenerationService, ContentItem, ContentLength, ContentMetadata, ContentState, ContentStatus, ContentType, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCampaignRequest, CreateCampaignResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateContentRequest, CreateContentResponse, CreateDraftRequest, CreateDraftResponse, CreateImageRequest, CreateImageResponse, CreateMultiDraftsRequest, CreateMultiDraftsResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreateOrEditRequest, CreateOrEditResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, CustomizationStatus, DateFilter, DateRange, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteCampaignRequest, DeleteContentRequest, DeleteContentResponse, DeleteDraftRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteResult, 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, FieldFilter, 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, ListCommentsRequest, ListCommentsResponse, ListContentRequest, ListContentResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListDraftsByNetworkIdentifierRequest, ListDraftsByNetworkIdentifierResponse, ListDraftsRequest, ListDraftsResponse, ListMultilocationDraftsRequest, ListMultilocationDraftsResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPexelsImagesRequest, ListPexelsImagesResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListSocialConnectionsByBusinessesRequest, ListSocialConnectionsByBusinessesResponse, ListSocialConnectionsByBusinessesResponseAccountsByBusinessEntry, 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$1 as Post, PostAction, PostActionV2, PostCategory, PostContent, PostContentV2, PostCustomization, PostCustomizationByLocation, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostReplyRequest, PostReplyResponse, 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, SocialComment, SocialContentFilter, SocialContentItem, MediaType as SocialContentMediaType, Post as SocialContentPost, SocialContentResult, SocialContentType, SocialEngagement, SocialMentionsService, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostEngagement, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SocialService, Sort, SortBy, SortBySortDirection, SortDirection, 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, UpdateContentItem, UpdateContentRequest, UpdateContentResponse, UpdateDraftRequest, UpdateDraftResponse, UpdateMultiMLDraftsRequest, UpdatePostTemplateRequest, UpdateResult, 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 };
13795
14926
  //# sourceMappingURL=vendasta-social-posts.mjs.map