@vendasta/social-posts 5.9.3 → 5.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_generated/host.service.mjs +4 -4
- package/esm2020/lib/_internal/hash-tags.api.service.mjs +4 -4
- package/esm2020/lib/_internal/linkedin.api.service.mjs +4 -4
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +4 -4
- package/esm2020/lib/_internal/objects/api-v2.mjs +61 -61
- package/esm2020/lib/_internal/objects/api.mjs +293 -293
- package/esm2020/lib/_internal/objects/field-mask.mjs +6 -6
- package/esm2020/lib/_internal/objects/hashtag.mjs +7 -7
- package/esm2020/lib/_internal/objects/linkedin-v2.mjs +7 -7
- package/esm2020/lib/_internal/objects/multilocation-post.mjs +17 -17
- package/esm2020/lib/_internal/objects/pixabay-image.mjs +7 -7
- package/esm2020/lib/_internal/objects/social-post-stats.mjs +19 -19
- package/esm2020/lib/_internal/objects/social-post-v2.mjs +46 -46
- package/esm2020/lib/_internal/objects/social-posts.mjs +53 -53
- package/esm2020/lib/_internal/objects/tenor-gif.mjs +19 -19
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +4 -4
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +4 -4
- package/esm2020/lib/_internal/post-performance.api.service.mjs +4 -4
- package/esm2020/lib/_internal/post-templates.api.service.mjs +4 -4
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +4 -4
- package/esm2020/lib/_internal/social-posts.api.service.mjs +4 -4
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +4 -4
- package/esm2020/lib/hashtag.service.mjs +4 -4
- package/esm2020/lib/multilocation-posts.service.mjs +4 -4
- package/esm2020/lib/pixabay-image.service.mjs +4 -4
- package/esm2020/lib/post-performance.service.mjs +4 -4
- package/esm2020/lib/post-templates.service.mjs +4 -4
- package/esm2020/lib/social-post-v2.service.mjs +7 -4
- package/esm2020/lib/social-posts.service.mjs +4 -4
- package/esm2020/lib/tenor-gifs.service.mjs +4 -4
- package/fesm2015/vendasta-social-posts.mjs +597 -594
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +597 -594
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/social-post-v2.service.d.ts +3 -1
- package/package.json +3 -3
- package/src/README.md +0 -1
|
@@ -12,17 +12,17 @@ function enumStringToValue$a(enumRef, value) {
|
|
|
12
12
|
return enumRef[value];
|
|
13
13
|
}
|
|
14
14
|
class FieldMask {
|
|
15
|
+
static fromProto(proto) {
|
|
16
|
+
let m = new FieldMask();
|
|
17
|
+
m = Object.assign(m, proto);
|
|
18
|
+
return m;
|
|
19
|
+
}
|
|
15
20
|
constructor(kwargs) {
|
|
16
21
|
if (!kwargs) {
|
|
17
22
|
return;
|
|
18
23
|
}
|
|
19
24
|
Object.assign(this, kwargs);
|
|
20
25
|
}
|
|
21
|
-
static fromProto(proto) {
|
|
22
|
-
let m = new FieldMask();
|
|
23
|
-
m = Object.assign(m, proto);
|
|
24
|
-
return m;
|
|
25
|
-
}
|
|
26
26
|
toApiJson() {
|
|
27
27
|
const toReturn = {};
|
|
28
28
|
if (typeof this.paths !== 'undefined') {
|
|
@@ -39,12 +39,6 @@ function enumStringToValue$9(enumRef, value) {
|
|
|
39
39
|
return enumRef[value];
|
|
40
40
|
}
|
|
41
41
|
class Hashtag {
|
|
42
|
-
constructor(kwargs) {
|
|
43
|
-
if (!kwargs) {
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
Object.assign(this, kwargs);
|
|
47
|
-
}
|
|
48
42
|
static fromProto(proto) {
|
|
49
43
|
let m = new Hashtag();
|
|
50
44
|
m = Object.assign(m, proto);
|
|
@@ -53,6 +47,12 @@ class Hashtag {
|
|
|
53
47
|
}
|
|
54
48
|
return m;
|
|
55
49
|
}
|
|
50
|
+
constructor(kwargs) {
|
|
51
|
+
if (!kwargs) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
Object.assign(this, kwargs);
|
|
55
|
+
}
|
|
56
56
|
toApiJson() {
|
|
57
57
|
const toReturn = {};
|
|
58
58
|
if (typeof this.keyword !== 'undefined') {
|
|
@@ -78,17 +78,17 @@ function enumStringToValue$8(enumRef, value) {
|
|
|
78
78
|
return enumRef[value];
|
|
79
79
|
}
|
|
80
80
|
class Location {
|
|
81
|
+
static fromProto(proto) {
|
|
82
|
+
let m = new Location();
|
|
83
|
+
m = Object.assign(m, proto);
|
|
84
|
+
return m;
|
|
85
|
+
}
|
|
81
86
|
constructor(kwargs) {
|
|
82
87
|
if (!kwargs) {
|
|
83
88
|
return;
|
|
84
89
|
}
|
|
85
90
|
Object.assign(this, kwargs);
|
|
86
91
|
}
|
|
87
|
-
static fromProto(proto) {
|
|
88
|
-
let m = new Location();
|
|
89
|
-
m = Object.assign(m, proto);
|
|
90
|
-
return m;
|
|
91
|
-
}
|
|
92
92
|
toApiJson() {
|
|
93
93
|
const toReturn = {};
|
|
94
94
|
if (typeof this.socialServiceIds !== 'undefined') {
|
|
@@ -101,12 +101,6 @@ class Location {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
class MultilocationPost {
|
|
104
|
-
constructor(kwargs) {
|
|
105
|
-
if (!kwargs) {
|
|
106
|
-
return;
|
|
107
|
-
}
|
|
108
|
-
Object.assign(this, kwargs);
|
|
109
|
-
}
|
|
110
104
|
static fromProto(proto) {
|
|
111
105
|
let m = new MultilocationPost();
|
|
112
106
|
m = Object.assign(m, proto);
|
|
@@ -124,6 +118,12 @@ class MultilocationPost {
|
|
|
124
118
|
}
|
|
125
119
|
return m;
|
|
126
120
|
}
|
|
121
|
+
constructor(kwargs) {
|
|
122
|
+
if (!kwargs) {
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
Object.assign(this, kwargs);
|
|
126
|
+
}
|
|
127
127
|
toApiJson() {
|
|
128
128
|
const toReturn = {};
|
|
129
129
|
if (typeof this.brandId !== 'undefined') {
|
|
@@ -160,17 +160,17 @@ class MultilocationPost {
|
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
162
|
class MultilocationPostError {
|
|
163
|
+
static fromProto(proto) {
|
|
164
|
+
let m = new MultilocationPostError();
|
|
165
|
+
m = Object.assign(m, proto);
|
|
166
|
+
return m;
|
|
167
|
+
}
|
|
163
168
|
constructor(kwargs) {
|
|
164
169
|
if (!kwargs) {
|
|
165
170
|
return;
|
|
166
171
|
}
|
|
167
172
|
Object.assign(this, kwargs);
|
|
168
173
|
}
|
|
169
|
-
static fromProto(proto) {
|
|
170
|
-
let m = new MultilocationPostError();
|
|
171
|
-
m = Object.assign(m, proto);
|
|
172
|
-
return m;
|
|
173
|
-
}
|
|
174
174
|
toApiJson() {
|
|
175
175
|
const toReturn = {};
|
|
176
176
|
if (typeof this.socialServiceId !== 'undefined') {
|
|
@@ -297,12 +297,6 @@ function enumStringToValue$7(enumRef, value) {
|
|
|
297
297
|
return enumRef[value];
|
|
298
298
|
}
|
|
299
299
|
class CallToAction {
|
|
300
|
-
constructor(kwargs) {
|
|
301
|
-
if (!kwargs) {
|
|
302
|
-
return;
|
|
303
|
-
}
|
|
304
|
-
Object.assign(this, kwargs);
|
|
305
|
-
}
|
|
306
300
|
static fromProto(proto) {
|
|
307
301
|
let m = new CallToAction();
|
|
308
302
|
m = Object.assign(m, proto);
|
|
@@ -311,6 +305,12 @@ class CallToAction {
|
|
|
311
305
|
}
|
|
312
306
|
return m;
|
|
313
307
|
}
|
|
308
|
+
constructor(kwargs) {
|
|
309
|
+
if (!kwargs) {
|
|
310
|
+
return;
|
|
311
|
+
}
|
|
312
|
+
Object.assign(this, kwargs);
|
|
313
|
+
}
|
|
314
314
|
toApiJson() {
|
|
315
315
|
const toReturn = {};
|
|
316
316
|
if (typeof this.url !== 'undefined') {
|
|
@@ -323,17 +323,17 @@ class CallToAction {
|
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
325
|
class Error {
|
|
326
|
+
static fromProto(proto) {
|
|
327
|
+
let m = new Error();
|
|
328
|
+
m = Object.assign(m, proto);
|
|
329
|
+
return m;
|
|
330
|
+
}
|
|
326
331
|
constructor(kwargs) {
|
|
327
332
|
if (!kwargs) {
|
|
328
333
|
return;
|
|
329
334
|
}
|
|
330
335
|
Object.assign(this, kwargs);
|
|
331
336
|
}
|
|
332
|
-
static fromProto(proto) {
|
|
333
|
-
let m = new Error();
|
|
334
|
-
m = Object.assign(m, proto);
|
|
335
|
-
return m;
|
|
336
|
-
}
|
|
337
337
|
toApiJson() {
|
|
338
338
|
const toReturn = {};
|
|
339
339
|
if (typeof this.reason !== 'undefined') {
|
|
@@ -346,12 +346,6 @@ class Error {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
class Event {
|
|
349
|
-
constructor(kwargs) {
|
|
350
|
-
if (!kwargs) {
|
|
351
|
-
return;
|
|
352
|
-
}
|
|
353
|
-
Object.assign(this, kwargs);
|
|
354
|
-
}
|
|
355
349
|
static fromProto(proto) {
|
|
356
350
|
let m = new Event();
|
|
357
351
|
m = Object.assign(m, proto);
|
|
@@ -363,6 +357,12 @@ class Event {
|
|
|
363
357
|
}
|
|
364
358
|
return m;
|
|
365
359
|
}
|
|
360
|
+
constructor(kwargs) {
|
|
361
|
+
if (!kwargs) {
|
|
362
|
+
return;
|
|
363
|
+
}
|
|
364
|
+
Object.assign(this, kwargs);
|
|
365
|
+
}
|
|
366
366
|
toApiJson() {
|
|
367
367
|
const toReturn = {};
|
|
368
368
|
if (typeof this.title !== 'undefined') {
|
|
@@ -378,12 +378,6 @@ class Event {
|
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
class MediaEntry {
|
|
381
|
-
constructor(kwargs) {
|
|
382
|
-
if (!kwargs) {
|
|
383
|
-
return;
|
|
384
|
-
}
|
|
385
|
-
Object.assign(this, kwargs);
|
|
386
|
-
}
|
|
387
381
|
static fromProto(proto) {
|
|
388
382
|
let m = new MediaEntry();
|
|
389
383
|
m = Object.assign(m, proto);
|
|
@@ -392,6 +386,12 @@ class MediaEntry {
|
|
|
392
386
|
}
|
|
393
387
|
return m;
|
|
394
388
|
}
|
|
389
|
+
constructor(kwargs) {
|
|
390
|
+
if (!kwargs) {
|
|
391
|
+
return;
|
|
392
|
+
}
|
|
393
|
+
Object.assign(this, kwargs);
|
|
394
|
+
}
|
|
395
395
|
toApiJson() {
|
|
396
396
|
const toReturn = {};
|
|
397
397
|
if (typeof this.mediaEntryId !== 'undefined') {
|
|
@@ -413,17 +413,17 @@ class MediaEntry {
|
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
class MetaData {
|
|
416
|
+
static fromProto(proto) {
|
|
417
|
+
let m = new MetaData();
|
|
418
|
+
m = Object.assign(m, proto);
|
|
419
|
+
return m;
|
|
420
|
+
}
|
|
416
421
|
constructor(kwargs) {
|
|
417
422
|
if (!kwargs) {
|
|
418
423
|
return;
|
|
419
424
|
}
|
|
420
425
|
Object.assign(this, kwargs);
|
|
421
426
|
}
|
|
422
|
-
static fromProto(proto) {
|
|
423
|
-
let m = new MetaData();
|
|
424
|
-
m = Object.assign(m, proto);
|
|
425
|
-
return m;
|
|
426
|
-
}
|
|
427
427
|
toApiJson() {
|
|
428
428
|
const toReturn = {};
|
|
429
429
|
if (typeof this.propertyName !== 'undefined') {
|
|
@@ -436,12 +436,6 @@ class MetaData {
|
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
class PostTemplate {
|
|
439
|
-
constructor(kwargs) {
|
|
440
|
-
if (!kwargs) {
|
|
441
|
-
return;
|
|
442
|
-
}
|
|
443
|
-
Object.assign(this, kwargs);
|
|
444
|
-
}
|
|
445
439
|
static fromProto(proto) {
|
|
446
440
|
let m = new PostTemplate();
|
|
447
441
|
m = Object.assign(m, proto);
|
|
@@ -465,6 +459,12 @@ class PostTemplate {
|
|
|
465
459
|
}
|
|
466
460
|
return m;
|
|
467
461
|
}
|
|
462
|
+
constructor(kwargs) {
|
|
463
|
+
if (!kwargs) {
|
|
464
|
+
return;
|
|
465
|
+
}
|
|
466
|
+
Object.assign(this, kwargs);
|
|
467
|
+
}
|
|
468
468
|
toApiJson() {
|
|
469
469
|
const toReturn = {};
|
|
470
470
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -522,12 +522,6 @@ class PostTemplate {
|
|
|
522
522
|
}
|
|
523
523
|
}
|
|
524
524
|
class SchedulePostStatus {
|
|
525
|
-
constructor(kwargs) {
|
|
526
|
-
if (!kwargs) {
|
|
527
|
-
return;
|
|
528
|
-
}
|
|
529
|
-
Object.assign(this, kwargs);
|
|
530
|
-
}
|
|
531
525
|
static fromProto(proto) {
|
|
532
526
|
let m = new SchedulePostStatus();
|
|
533
527
|
m = Object.assign(m, proto);
|
|
@@ -536,6 +530,12 @@ class SchedulePostStatus {
|
|
|
536
530
|
}
|
|
537
531
|
return m;
|
|
538
532
|
}
|
|
533
|
+
constructor(kwargs) {
|
|
534
|
+
if (!kwargs) {
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
Object.assign(this, kwargs);
|
|
538
|
+
}
|
|
539
539
|
toApiJson() {
|
|
540
540
|
const toReturn = {};
|
|
541
541
|
if (typeof this.socialPostId !== 'undefined') {
|
|
@@ -553,15 +553,9 @@ class SchedulePostStatus {
|
|
|
553
553
|
return toReturn;
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
|
|
557
|
-
constructor(kwargs) {
|
|
558
|
-
if (!kwargs) {
|
|
559
|
-
return;
|
|
560
|
-
}
|
|
561
|
-
Object.assign(this, kwargs);
|
|
562
|
-
}
|
|
556
|
+
let SocialPost$1 = class SocialPost {
|
|
563
557
|
static fromProto(proto) {
|
|
564
|
-
let m = new SocialPost
|
|
558
|
+
let m = new SocialPost();
|
|
565
559
|
m = Object.assign(m, proto);
|
|
566
560
|
if (proto.posted) {
|
|
567
561
|
m.posted = new Date(proto.posted);
|
|
@@ -601,6 +595,12 @@ class SocialPost$1 {
|
|
|
601
595
|
}
|
|
602
596
|
return m;
|
|
603
597
|
}
|
|
598
|
+
constructor(kwargs) {
|
|
599
|
+
if (!kwargs) {
|
|
600
|
+
return;
|
|
601
|
+
}
|
|
602
|
+
Object.assign(this, kwargs);
|
|
603
|
+
}
|
|
604
604
|
toApiJson() {
|
|
605
605
|
const toReturn = {};
|
|
606
606
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -692,14 +692,8 @@ class SocialPost$1 {
|
|
|
692
692
|
}
|
|
693
693
|
return toReturn;
|
|
694
694
|
}
|
|
695
|
-
}
|
|
695
|
+
};
|
|
696
696
|
class SocialPostData {
|
|
697
|
-
constructor(kwargs) {
|
|
698
|
-
if (!kwargs) {
|
|
699
|
-
return;
|
|
700
|
-
}
|
|
701
|
-
Object.assign(this, kwargs);
|
|
702
|
-
}
|
|
703
697
|
static fromProto(proto) {
|
|
704
698
|
let m = new SocialPostData();
|
|
705
699
|
m = Object.assign(m, proto);
|
|
@@ -708,6 +702,12 @@ class SocialPostData {
|
|
|
708
702
|
}
|
|
709
703
|
return m;
|
|
710
704
|
}
|
|
705
|
+
constructor(kwargs) {
|
|
706
|
+
if (!kwargs) {
|
|
707
|
+
return;
|
|
708
|
+
}
|
|
709
|
+
Object.assign(this, kwargs);
|
|
710
|
+
}
|
|
711
711
|
toApiJson() {
|
|
712
712
|
const toReturn = {};
|
|
713
713
|
if (typeof this.postText !== 'undefined') {
|
|
@@ -730,12 +730,6 @@ function enumStringToValue$6(enumRef, value) {
|
|
|
730
730
|
return enumRef[value];
|
|
731
731
|
}
|
|
732
732
|
class PixabayImage {
|
|
733
|
-
constructor(kwargs) {
|
|
734
|
-
if (!kwargs) {
|
|
735
|
-
return;
|
|
736
|
-
}
|
|
737
|
-
Object.assign(this, kwargs);
|
|
738
|
-
}
|
|
739
733
|
static fromProto(proto) {
|
|
740
734
|
let m = new PixabayImage();
|
|
741
735
|
m = Object.assign(m, proto);
|
|
@@ -783,6 +777,12 @@ class PixabayImage {
|
|
|
783
777
|
}
|
|
784
778
|
return m;
|
|
785
779
|
}
|
|
780
|
+
constructor(kwargs) {
|
|
781
|
+
if (!kwargs) {
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
Object.assign(this, kwargs);
|
|
785
|
+
}
|
|
786
786
|
toApiJson() {
|
|
787
787
|
const toReturn = {};
|
|
788
788
|
if (typeof this.id !== 'undefined') {
|
|
@@ -868,12 +868,6 @@ function enumStringToValue$5(enumRef, value) {
|
|
|
868
868
|
return enumRef[value];
|
|
869
869
|
}
|
|
870
870
|
class FacebookPostStats {
|
|
871
|
-
constructor(kwargs) {
|
|
872
|
-
if (!kwargs) {
|
|
873
|
-
return;
|
|
874
|
-
}
|
|
875
|
-
Object.assign(this, kwargs);
|
|
876
|
-
}
|
|
877
871
|
static fromProto(proto) {
|
|
878
872
|
let m = new FacebookPostStats();
|
|
879
873
|
m = Object.assign(m, proto);
|
|
@@ -894,6 +888,12 @@ class FacebookPostStats {
|
|
|
894
888
|
}
|
|
895
889
|
return m;
|
|
896
890
|
}
|
|
891
|
+
constructor(kwargs) {
|
|
892
|
+
if (!kwargs) {
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
Object.assign(this, kwargs);
|
|
896
|
+
}
|
|
897
897
|
toApiJson() {
|
|
898
898
|
const toReturn = {};
|
|
899
899
|
if (typeof this.commentCount !== 'undefined') {
|
|
@@ -921,12 +921,6 @@ class FacebookPostStats {
|
|
|
921
921
|
}
|
|
922
922
|
}
|
|
923
923
|
class SocialPostStats {
|
|
924
|
-
constructor(kwargs) {
|
|
925
|
-
if (!kwargs) {
|
|
926
|
-
return;
|
|
927
|
-
}
|
|
928
|
-
Object.assign(this, kwargs);
|
|
929
|
-
}
|
|
930
924
|
static fromProto(proto) {
|
|
931
925
|
let m = new SocialPostStats();
|
|
932
926
|
m = Object.assign(m, proto);
|
|
@@ -938,6 +932,12 @@ class SocialPostStats {
|
|
|
938
932
|
}
|
|
939
933
|
return m;
|
|
940
934
|
}
|
|
935
|
+
constructor(kwargs) {
|
|
936
|
+
if (!kwargs) {
|
|
937
|
+
return;
|
|
938
|
+
}
|
|
939
|
+
Object.assign(this, kwargs);
|
|
940
|
+
}
|
|
941
941
|
toApiJson() {
|
|
942
942
|
const toReturn = {};
|
|
943
943
|
if (typeof this.internalPostId !== 'undefined') {
|
|
@@ -953,12 +953,6 @@ class SocialPostStats {
|
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
955
|
class TwitterPostStats {
|
|
956
|
-
constructor(kwargs) {
|
|
957
|
-
if (!kwargs) {
|
|
958
|
-
return;
|
|
959
|
-
}
|
|
960
|
-
Object.assign(this, kwargs);
|
|
961
|
-
}
|
|
962
956
|
static fromProto(proto) {
|
|
963
957
|
let m = new TwitterPostStats();
|
|
964
958
|
m = Object.assign(m, proto);
|
|
@@ -970,6 +964,12 @@ class TwitterPostStats {
|
|
|
970
964
|
}
|
|
971
965
|
return m;
|
|
972
966
|
}
|
|
967
|
+
constructor(kwargs) {
|
|
968
|
+
if (!kwargs) {
|
|
969
|
+
return;
|
|
970
|
+
}
|
|
971
|
+
Object.assign(this, kwargs);
|
|
972
|
+
}
|
|
973
973
|
toApiJson() {
|
|
974
974
|
const toReturn = {};
|
|
975
975
|
if (typeof this.favourites !== 'undefined') {
|
|
@@ -995,12 +995,6 @@ function enumStringToValue$4(enumRef, value) {
|
|
|
995
995
|
return enumRef[value];
|
|
996
996
|
}
|
|
997
997
|
class TenorGifMediaEntry {
|
|
998
|
-
constructor(kwargs) {
|
|
999
|
-
if (!kwargs) {
|
|
1000
|
-
return;
|
|
1001
|
-
}
|
|
1002
|
-
Object.assign(this, kwargs);
|
|
1003
|
-
}
|
|
1004
998
|
static fromProto(proto) {
|
|
1005
999
|
let m = new TenorGifMediaEntry();
|
|
1006
1000
|
m = Object.assign(m, proto);
|
|
@@ -1009,6 +1003,12 @@ class TenorGifMediaEntry {
|
|
|
1009
1003
|
}
|
|
1010
1004
|
return m;
|
|
1011
1005
|
}
|
|
1006
|
+
constructor(kwargs) {
|
|
1007
|
+
if (!kwargs) {
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
Object.assign(this, kwargs);
|
|
1011
|
+
}
|
|
1012
1012
|
toApiJson() {
|
|
1013
1013
|
const toReturn = {};
|
|
1014
1014
|
if (typeof this.key !== 'undefined') {
|
|
@@ -1021,12 +1021,6 @@ class TenorGifMediaEntry {
|
|
|
1021
1021
|
}
|
|
1022
1022
|
}
|
|
1023
1023
|
class TenorGif {
|
|
1024
|
-
constructor(kwargs) {
|
|
1025
|
-
if (!kwargs) {
|
|
1026
|
-
return;
|
|
1027
|
-
}
|
|
1028
|
-
Object.assign(this, kwargs);
|
|
1029
|
-
}
|
|
1030
1024
|
static fromProto(proto) {
|
|
1031
1025
|
let m = new TenorGif();
|
|
1032
1026
|
m = Object.assign(m, proto);
|
|
@@ -1035,6 +1029,12 @@ class TenorGif {
|
|
|
1035
1029
|
}
|
|
1036
1030
|
return m;
|
|
1037
1031
|
}
|
|
1032
|
+
constructor(kwargs) {
|
|
1033
|
+
if (!kwargs) {
|
|
1034
|
+
return;
|
|
1035
|
+
}
|
|
1036
|
+
Object.assign(this, kwargs);
|
|
1037
|
+
}
|
|
1038
1038
|
toApiJson() {
|
|
1039
1039
|
const toReturn = {};
|
|
1040
1040
|
if (typeof this.media !== 'undefined' && this.media !== null) {
|
|
@@ -1059,12 +1059,6 @@ class TenorGif {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
1061
|
class TenorMediaObject {
|
|
1062
|
-
constructor(kwargs) {
|
|
1063
|
-
if (!kwargs) {
|
|
1064
|
-
return;
|
|
1065
|
-
}
|
|
1066
|
-
Object.assign(this, kwargs);
|
|
1067
|
-
}
|
|
1068
1062
|
static fromProto(proto) {
|
|
1069
1063
|
let m = new TenorMediaObject();
|
|
1070
1064
|
m = Object.assign(m, proto);
|
|
@@ -1076,6 +1070,12 @@ class TenorMediaObject {
|
|
|
1076
1070
|
}
|
|
1077
1071
|
return m;
|
|
1078
1072
|
}
|
|
1073
|
+
constructor(kwargs) {
|
|
1074
|
+
if (!kwargs) {
|
|
1075
|
+
return;
|
|
1076
|
+
}
|
|
1077
|
+
Object.assign(this, kwargs);
|
|
1078
|
+
}
|
|
1079
1079
|
toApiJson() {
|
|
1080
1080
|
const toReturn = {};
|
|
1081
1081
|
if (typeof this.preview !== 'undefined') {
|
|
@@ -1101,12 +1101,6 @@ function enumStringToValue$3(enumRef, value) {
|
|
|
1101
1101
|
return enumRef[value];
|
|
1102
1102
|
}
|
|
1103
1103
|
class CreateMultilocationPostRequest {
|
|
1104
|
-
constructor(kwargs) {
|
|
1105
|
-
if (!kwargs) {
|
|
1106
|
-
return;
|
|
1107
|
-
}
|
|
1108
|
-
Object.assign(this, kwargs);
|
|
1109
|
-
}
|
|
1110
1104
|
static fromProto(proto) {
|
|
1111
1105
|
let m = new CreateMultilocationPostRequest();
|
|
1112
1106
|
m = Object.assign(m, proto);
|
|
@@ -1118,11 +1112,17 @@ class CreateMultilocationPostRequest {
|
|
|
1118
1112
|
}
|
|
1119
1113
|
return m;
|
|
1120
1114
|
}
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1115
|
+
constructor(kwargs) {
|
|
1116
|
+
if (!kwargs) {
|
|
1117
|
+
return;
|
|
1118
|
+
}
|
|
1119
|
+
Object.assign(this, kwargs);
|
|
1120
|
+
}
|
|
1121
|
+
toApiJson() {
|
|
1122
|
+
const toReturn = {};
|
|
1123
|
+
if (typeof this.brandId !== 'undefined') {
|
|
1124
|
+
toReturn['brandId'] = this.brandId;
|
|
1125
|
+
}
|
|
1126
1126
|
if (typeof this.text !== 'undefined') {
|
|
1127
1127
|
toReturn['text'] = this.text;
|
|
1128
1128
|
}
|
|
@@ -1145,12 +1145,6 @@ class CreateMultilocationPostRequest {
|
|
|
1145
1145
|
}
|
|
1146
1146
|
}
|
|
1147
1147
|
class CreateMultilocationPostResponse {
|
|
1148
|
-
constructor(kwargs) {
|
|
1149
|
-
if (!kwargs) {
|
|
1150
|
-
return;
|
|
1151
|
-
}
|
|
1152
|
-
Object.assign(this, kwargs);
|
|
1153
|
-
}
|
|
1154
1148
|
static fromProto(proto) {
|
|
1155
1149
|
let m = new CreateMultilocationPostResponse();
|
|
1156
1150
|
m = Object.assign(m, proto);
|
|
@@ -1162,6 +1156,12 @@ class CreateMultilocationPostResponse {
|
|
|
1162
1156
|
}
|
|
1163
1157
|
return m;
|
|
1164
1158
|
}
|
|
1159
|
+
constructor(kwargs) {
|
|
1160
|
+
if (!kwargs) {
|
|
1161
|
+
return;
|
|
1162
|
+
}
|
|
1163
|
+
Object.assign(this, kwargs);
|
|
1164
|
+
}
|
|
1165
1165
|
toApiJson() {
|
|
1166
1166
|
const toReturn = {};
|
|
1167
1167
|
if (typeof this.post !== 'undefined' && this.post !== null) {
|
|
@@ -1174,12 +1174,6 @@ class CreateMultilocationPostResponse {
|
|
|
1174
1174
|
}
|
|
1175
1175
|
}
|
|
1176
1176
|
class CreatePostTemplateRequest {
|
|
1177
|
-
constructor(kwargs) {
|
|
1178
|
-
if (!kwargs) {
|
|
1179
|
-
return;
|
|
1180
|
-
}
|
|
1181
|
-
Object.assign(this, kwargs);
|
|
1182
|
-
}
|
|
1183
1177
|
static fromProto(proto) {
|
|
1184
1178
|
let m = new CreatePostTemplateRequest();
|
|
1185
1179
|
m = Object.assign(m, proto);
|
|
@@ -1197,6 +1191,12 @@ class CreatePostTemplateRequest {
|
|
|
1197
1191
|
}
|
|
1198
1192
|
return m;
|
|
1199
1193
|
}
|
|
1194
|
+
constructor(kwargs) {
|
|
1195
|
+
if (!kwargs) {
|
|
1196
|
+
return;
|
|
1197
|
+
}
|
|
1198
|
+
Object.assign(this, kwargs);
|
|
1199
|
+
}
|
|
1200
1200
|
toApiJson() {
|
|
1201
1201
|
const toReturn = {};
|
|
1202
1202
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -1245,17 +1245,17 @@ class CreatePostTemplateRequest {
|
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
class CreatePostTemplateResponse {
|
|
1248
|
+
static fromProto(proto) {
|
|
1249
|
+
let m = new CreatePostTemplateResponse();
|
|
1250
|
+
m = Object.assign(m, proto);
|
|
1251
|
+
return m;
|
|
1252
|
+
}
|
|
1248
1253
|
constructor(kwargs) {
|
|
1249
1254
|
if (!kwargs) {
|
|
1250
1255
|
return;
|
|
1251
1256
|
}
|
|
1252
1257
|
Object.assign(this, kwargs);
|
|
1253
1258
|
}
|
|
1254
|
-
static fromProto(proto) {
|
|
1255
|
-
let m = new CreatePostTemplateResponse();
|
|
1256
|
-
m = Object.assign(m, proto);
|
|
1257
|
-
return m;
|
|
1258
|
-
}
|
|
1259
1259
|
toApiJson() {
|
|
1260
1260
|
const toReturn = {};
|
|
1261
1261
|
if (typeof this.templateId !== 'undefined') {
|
|
@@ -1265,12 +1265,6 @@ class CreatePostTemplateResponse {
|
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
class DateRangeFilter {
|
|
1268
|
-
constructor(kwargs) {
|
|
1269
|
-
if (!kwargs) {
|
|
1270
|
-
return;
|
|
1271
|
-
}
|
|
1272
|
-
Object.assign(this, kwargs);
|
|
1273
|
-
}
|
|
1274
1268
|
static fromProto(proto) {
|
|
1275
1269
|
let m = new DateRangeFilter();
|
|
1276
1270
|
m = Object.assign(m, proto);
|
|
@@ -1282,6 +1276,12 @@ class DateRangeFilter {
|
|
|
1282
1276
|
}
|
|
1283
1277
|
return m;
|
|
1284
1278
|
}
|
|
1279
|
+
constructor(kwargs) {
|
|
1280
|
+
if (!kwargs) {
|
|
1281
|
+
return;
|
|
1282
|
+
}
|
|
1283
|
+
Object.assign(this, kwargs);
|
|
1284
|
+
}
|
|
1285
1285
|
toApiJson() {
|
|
1286
1286
|
const toReturn = {};
|
|
1287
1287
|
if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {
|
|
@@ -1294,17 +1294,17 @@ class DateRangeFilter {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
}
|
|
1296
1296
|
class DeleteHashtagsRequest {
|
|
1297
|
+
static fromProto(proto) {
|
|
1298
|
+
let m = new DeleteHashtagsRequest();
|
|
1299
|
+
m = Object.assign(m, proto);
|
|
1300
|
+
return m;
|
|
1301
|
+
}
|
|
1297
1302
|
constructor(kwargs) {
|
|
1298
1303
|
if (!kwargs) {
|
|
1299
1304
|
return;
|
|
1300
1305
|
}
|
|
1301
1306
|
Object.assign(this, kwargs);
|
|
1302
1307
|
}
|
|
1303
|
-
static fromProto(proto) {
|
|
1304
|
-
let m = new DeleteHashtagsRequest();
|
|
1305
|
-
m = Object.assign(m, proto);
|
|
1306
|
-
return m;
|
|
1307
|
-
}
|
|
1308
1308
|
toApiJson() {
|
|
1309
1309
|
const toReturn = {};
|
|
1310
1310
|
if (typeof this.keyword !== 'undefined') {
|
|
@@ -1320,17 +1320,17 @@ class DeleteHashtagsRequest {
|
|
|
1320
1320
|
}
|
|
1321
1321
|
}
|
|
1322
1322
|
class DeleteMultilocationPostRequest {
|
|
1323
|
+
static fromProto(proto) {
|
|
1324
|
+
let m = new DeleteMultilocationPostRequest();
|
|
1325
|
+
m = Object.assign(m, proto);
|
|
1326
|
+
return m;
|
|
1327
|
+
}
|
|
1323
1328
|
constructor(kwargs) {
|
|
1324
1329
|
if (!kwargs) {
|
|
1325
1330
|
return;
|
|
1326
1331
|
}
|
|
1327
1332
|
Object.assign(this, kwargs);
|
|
1328
1333
|
}
|
|
1329
|
-
static fromProto(proto) {
|
|
1330
|
-
let m = new DeleteMultilocationPostRequest();
|
|
1331
|
-
m = Object.assign(m, proto);
|
|
1332
|
-
return m;
|
|
1333
|
-
}
|
|
1334
1334
|
toApiJson() {
|
|
1335
1335
|
const toReturn = {};
|
|
1336
1336
|
if (typeof this.brandId !== 'undefined') {
|
|
@@ -1343,17 +1343,17 @@ class DeleteMultilocationPostRequest {
|
|
|
1343
1343
|
}
|
|
1344
1344
|
}
|
|
1345
1345
|
class DeletePostTemplateRequest {
|
|
1346
|
+
static fromProto(proto) {
|
|
1347
|
+
let m = new DeletePostTemplateRequest();
|
|
1348
|
+
m = Object.assign(m, proto);
|
|
1349
|
+
return m;
|
|
1350
|
+
}
|
|
1346
1351
|
constructor(kwargs) {
|
|
1347
1352
|
if (!kwargs) {
|
|
1348
1353
|
return;
|
|
1349
1354
|
}
|
|
1350
1355
|
Object.assign(this, kwargs);
|
|
1351
1356
|
}
|
|
1352
|
-
static fromProto(proto) {
|
|
1353
|
-
let m = new DeletePostTemplateRequest();
|
|
1354
|
-
m = Object.assign(m, proto);
|
|
1355
|
-
return m;
|
|
1356
|
-
}
|
|
1357
1357
|
toApiJson() {
|
|
1358
1358
|
const toReturn = {};
|
|
1359
1359
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -1366,17 +1366,17 @@ class DeletePostTemplateRequest {
|
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
class DeleteSocialPostRequest {
|
|
1369
|
+
static fromProto(proto) {
|
|
1370
|
+
let m = new DeleteSocialPostRequest();
|
|
1371
|
+
m = Object.assign(m, proto);
|
|
1372
|
+
return m;
|
|
1373
|
+
}
|
|
1369
1374
|
constructor(kwargs) {
|
|
1370
1375
|
if (!kwargs) {
|
|
1371
1376
|
return;
|
|
1372
1377
|
}
|
|
1373
1378
|
Object.assign(this, kwargs);
|
|
1374
1379
|
}
|
|
1375
|
-
static fromProto(proto) {
|
|
1376
|
-
let m = new DeleteSocialPostRequest();
|
|
1377
|
-
m = Object.assign(m, proto);
|
|
1378
|
-
return m;
|
|
1379
|
-
}
|
|
1380
1380
|
toApiJson() {
|
|
1381
1381
|
const toReturn = {};
|
|
1382
1382
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -1389,12 +1389,6 @@ class DeleteSocialPostRequest {
|
|
|
1389
1389
|
}
|
|
1390
1390
|
}
|
|
1391
1391
|
class EditMultilocationPostRequest {
|
|
1392
|
-
constructor(kwargs) {
|
|
1393
|
-
if (!kwargs) {
|
|
1394
|
-
return;
|
|
1395
|
-
}
|
|
1396
|
-
Object.assign(this, kwargs);
|
|
1397
|
-
}
|
|
1398
1392
|
static fromProto(proto) {
|
|
1399
1393
|
let m = new EditMultilocationPostRequest();
|
|
1400
1394
|
m = Object.assign(m, proto);
|
|
@@ -1409,6 +1403,12 @@ class EditMultilocationPostRequest {
|
|
|
1409
1403
|
}
|
|
1410
1404
|
return m;
|
|
1411
1405
|
}
|
|
1406
|
+
constructor(kwargs) {
|
|
1407
|
+
if (!kwargs) {
|
|
1408
|
+
return;
|
|
1409
|
+
}
|
|
1410
|
+
Object.assign(this, kwargs);
|
|
1411
|
+
}
|
|
1412
1412
|
toApiJson() {
|
|
1413
1413
|
const toReturn = {};
|
|
1414
1414
|
if (typeof this.brandId !== 'undefined') {
|
|
@@ -1442,12 +1442,6 @@ class EditMultilocationPostRequest {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
}
|
|
1444
1444
|
class EditMultilocationPostResponse {
|
|
1445
|
-
constructor(kwargs) {
|
|
1446
|
-
if (!kwargs) {
|
|
1447
|
-
return;
|
|
1448
|
-
}
|
|
1449
|
-
Object.assign(this, kwargs);
|
|
1450
|
-
}
|
|
1451
1445
|
static fromProto(proto) {
|
|
1452
1446
|
let m = new EditMultilocationPostResponse();
|
|
1453
1447
|
m = Object.assign(m, proto);
|
|
@@ -1459,6 +1453,12 @@ class EditMultilocationPostResponse {
|
|
|
1459
1453
|
}
|
|
1460
1454
|
return m;
|
|
1461
1455
|
}
|
|
1456
|
+
constructor(kwargs) {
|
|
1457
|
+
if (!kwargs) {
|
|
1458
|
+
return;
|
|
1459
|
+
}
|
|
1460
|
+
Object.assign(this, kwargs);
|
|
1461
|
+
}
|
|
1462
1462
|
toApiJson() {
|
|
1463
1463
|
const toReturn = {};
|
|
1464
1464
|
if (typeof this.post !== 'undefined' && this.post !== null) {
|
|
@@ -1471,12 +1471,6 @@ class EditMultilocationPostResponse {
|
|
|
1471
1471
|
}
|
|
1472
1472
|
}
|
|
1473
1473
|
class PartnerListScheduledSocialPostsRequestFilters {
|
|
1474
|
-
constructor(kwargs) {
|
|
1475
|
-
if (!kwargs) {
|
|
1476
|
-
return;
|
|
1477
|
-
}
|
|
1478
|
-
Object.assign(this, kwargs);
|
|
1479
|
-
}
|
|
1480
1474
|
static fromProto(proto) {
|
|
1481
1475
|
let m = new PartnerListScheduledSocialPostsRequestFilters();
|
|
1482
1476
|
m = Object.assign(m, proto);
|
|
@@ -1485,6 +1479,12 @@ class PartnerListScheduledSocialPostsRequestFilters {
|
|
|
1485
1479
|
}
|
|
1486
1480
|
return m;
|
|
1487
1481
|
}
|
|
1482
|
+
constructor(kwargs) {
|
|
1483
|
+
if (!kwargs) {
|
|
1484
|
+
return;
|
|
1485
|
+
}
|
|
1486
|
+
Object.assign(this, kwargs);
|
|
1487
|
+
}
|
|
1488
1488
|
toApiJson() {
|
|
1489
1489
|
const toReturn = {};
|
|
1490
1490
|
if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {
|
|
@@ -1497,12 +1497,6 @@ class PartnerListScheduledSocialPostsRequestFilters {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
}
|
|
1499
1499
|
class GenerateCSVForPerformanceStatsRequest {
|
|
1500
|
-
constructor(kwargs) {
|
|
1501
|
-
if (!kwargs) {
|
|
1502
|
-
return;
|
|
1503
|
-
}
|
|
1504
|
-
Object.assign(this, kwargs);
|
|
1505
|
-
}
|
|
1506
1500
|
static fromProto(proto) {
|
|
1507
1501
|
let m = new GenerateCSVForPerformanceStatsRequest();
|
|
1508
1502
|
m = Object.assign(m, proto);
|
|
@@ -1511,6 +1505,12 @@ class GenerateCSVForPerformanceStatsRequest {
|
|
|
1511
1505
|
}
|
|
1512
1506
|
return m;
|
|
1513
1507
|
}
|
|
1508
|
+
constructor(kwargs) {
|
|
1509
|
+
if (!kwargs) {
|
|
1510
|
+
return;
|
|
1511
|
+
}
|
|
1512
|
+
Object.assign(this, kwargs);
|
|
1513
|
+
}
|
|
1514
1514
|
toApiJson() {
|
|
1515
1515
|
const toReturn = {};
|
|
1516
1516
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -1526,17 +1526,17 @@ class GenerateCSVForPerformanceStatsRequest {
|
|
|
1526
1526
|
}
|
|
1527
1527
|
}
|
|
1528
1528
|
class GenerateCSVForPerformanceStatsResponse {
|
|
1529
|
+
static fromProto(proto) {
|
|
1530
|
+
let m = new GenerateCSVForPerformanceStatsResponse();
|
|
1531
|
+
m = Object.assign(m, proto);
|
|
1532
|
+
return m;
|
|
1533
|
+
}
|
|
1529
1534
|
constructor(kwargs) {
|
|
1530
1535
|
if (!kwargs) {
|
|
1531
1536
|
return;
|
|
1532
1537
|
}
|
|
1533
1538
|
Object.assign(this, kwargs);
|
|
1534
1539
|
}
|
|
1535
|
-
static fromProto(proto) {
|
|
1536
|
-
let m = new GenerateCSVForPerformanceStatsResponse();
|
|
1537
|
-
m = Object.assign(m, proto);
|
|
1538
|
-
return m;
|
|
1539
|
-
}
|
|
1540
1540
|
toApiJson() {
|
|
1541
1541
|
const toReturn = {};
|
|
1542
1542
|
if (typeof this.generatedId !== 'undefined') {
|
|
@@ -1546,17 +1546,17 @@ class GenerateCSVForPerformanceStatsResponse {
|
|
|
1546
1546
|
}
|
|
1547
1547
|
}
|
|
1548
1548
|
class GetGeneratedCSVForPerformanceStatsRequest {
|
|
1549
|
+
static fromProto(proto) {
|
|
1550
|
+
let m = new GetGeneratedCSVForPerformanceStatsRequest();
|
|
1551
|
+
m = Object.assign(m, proto);
|
|
1552
|
+
return m;
|
|
1553
|
+
}
|
|
1549
1554
|
constructor(kwargs) {
|
|
1550
1555
|
if (!kwargs) {
|
|
1551
1556
|
return;
|
|
1552
1557
|
}
|
|
1553
1558
|
Object.assign(this, kwargs);
|
|
1554
1559
|
}
|
|
1555
|
-
static fromProto(proto) {
|
|
1556
|
-
let m = new GetGeneratedCSVForPerformanceStatsRequest();
|
|
1557
|
-
m = Object.assign(m, proto);
|
|
1558
|
-
return m;
|
|
1559
|
-
}
|
|
1560
1560
|
toApiJson() {
|
|
1561
1561
|
const toReturn = {};
|
|
1562
1562
|
if (typeof this.generatedId !== 'undefined') {
|
|
@@ -1566,17 +1566,17 @@ class GetGeneratedCSVForPerformanceStatsRequest {
|
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
1568
|
class GetGeneratedCSVForPerformanceStatsResponse {
|
|
1569
|
+
static fromProto(proto) {
|
|
1570
|
+
let m = new GetGeneratedCSVForPerformanceStatsResponse();
|
|
1571
|
+
m = Object.assign(m, proto);
|
|
1572
|
+
return m;
|
|
1573
|
+
}
|
|
1569
1574
|
constructor(kwargs) {
|
|
1570
1575
|
if (!kwargs) {
|
|
1571
1576
|
return;
|
|
1572
1577
|
}
|
|
1573
1578
|
Object.assign(this, kwargs);
|
|
1574
1579
|
}
|
|
1575
|
-
static fromProto(proto) {
|
|
1576
|
-
let m = new GetGeneratedCSVForPerformanceStatsResponse();
|
|
1577
|
-
m = Object.assign(m, proto);
|
|
1578
|
-
return m;
|
|
1579
|
-
}
|
|
1580
1580
|
toApiJson() {
|
|
1581
1581
|
const toReturn = {};
|
|
1582
1582
|
if (typeof this.url !== 'undefined') {
|
|
@@ -1586,17 +1586,17 @@ class GetGeneratedCSVForPerformanceStatsResponse {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
1588
|
class GetMultiSocialPostStatsRequest {
|
|
1589
|
+
static fromProto(proto) {
|
|
1590
|
+
let m = new GetMultiSocialPostStatsRequest();
|
|
1591
|
+
m = Object.assign(m, proto);
|
|
1592
|
+
return m;
|
|
1593
|
+
}
|
|
1589
1594
|
constructor(kwargs) {
|
|
1590
1595
|
if (!kwargs) {
|
|
1591
1596
|
return;
|
|
1592
1597
|
}
|
|
1593
1598
|
Object.assign(this, kwargs);
|
|
1594
1599
|
}
|
|
1595
|
-
static fromProto(proto) {
|
|
1596
|
-
let m = new GetMultiSocialPostStatsRequest();
|
|
1597
|
-
m = Object.assign(m, proto);
|
|
1598
|
-
return m;
|
|
1599
|
-
}
|
|
1600
1600
|
toApiJson() {
|
|
1601
1601
|
const toReturn = {};
|
|
1602
1602
|
if (typeof this.internalPostIds !== 'undefined') {
|
|
@@ -1612,12 +1612,6 @@ class GetMultiSocialPostStatsRequest {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
1614
|
class GetMultiSocialPostStatsResponse {
|
|
1615
|
-
constructor(kwargs) {
|
|
1616
|
-
if (!kwargs) {
|
|
1617
|
-
return;
|
|
1618
|
-
}
|
|
1619
|
-
Object.assign(this, kwargs);
|
|
1620
|
-
}
|
|
1621
1615
|
static fromProto(proto) {
|
|
1622
1616
|
let m = new GetMultiSocialPostStatsResponse();
|
|
1623
1617
|
m = Object.assign(m, proto);
|
|
@@ -1626,6 +1620,12 @@ class GetMultiSocialPostStatsResponse {
|
|
|
1626
1620
|
}
|
|
1627
1621
|
return m;
|
|
1628
1622
|
}
|
|
1623
|
+
constructor(kwargs) {
|
|
1624
|
+
if (!kwargs) {
|
|
1625
|
+
return;
|
|
1626
|
+
}
|
|
1627
|
+
Object.assign(this, kwargs);
|
|
1628
|
+
}
|
|
1629
1629
|
toApiJson() {
|
|
1630
1630
|
const toReturn = {};
|
|
1631
1631
|
if (typeof this.socialPostStats !== 'undefined' && this.socialPostStats !== null) {
|
|
@@ -1635,17 +1635,17 @@ class GetMultiSocialPostStatsResponse {
|
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
1637
|
class GetMultiSocialPostsRequest {
|
|
1638
|
+
static fromProto(proto) {
|
|
1639
|
+
let m = new GetMultiSocialPostsRequest();
|
|
1640
|
+
m = Object.assign(m, proto);
|
|
1641
|
+
return m;
|
|
1642
|
+
}
|
|
1638
1643
|
constructor(kwargs) {
|
|
1639
1644
|
if (!kwargs) {
|
|
1640
1645
|
return;
|
|
1641
1646
|
}
|
|
1642
1647
|
Object.assign(this, kwargs);
|
|
1643
1648
|
}
|
|
1644
|
-
static fromProto(proto) {
|
|
1645
|
-
let m = new GetMultiSocialPostsRequest();
|
|
1646
|
-
m = Object.assign(m, proto);
|
|
1647
|
-
return m;
|
|
1648
|
-
}
|
|
1649
1649
|
toApiJson() {
|
|
1650
1650
|
const toReturn = {};
|
|
1651
1651
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -1658,12 +1658,6 @@ class GetMultiSocialPostsRequest {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
}
|
|
1660
1660
|
class GetMultiSocialPostsResponse {
|
|
1661
|
-
constructor(kwargs) {
|
|
1662
|
-
if (!kwargs) {
|
|
1663
|
-
return;
|
|
1664
|
-
}
|
|
1665
|
-
Object.assign(this, kwargs);
|
|
1666
|
-
}
|
|
1667
1661
|
static fromProto(proto) {
|
|
1668
1662
|
let m = new GetMultiSocialPostsResponse();
|
|
1669
1663
|
m = Object.assign(m, proto);
|
|
@@ -1672,6 +1666,12 @@ class GetMultiSocialPostsResponse {
|
|
|
1672
1666
|
}
|
|
1673
1667
|
return m;
|
|
1674
1668
|
}
|
|
1669
|
+
constructor(kwargs) {
|
|
1670
|
+
if (!kwargs) {
|
|
1671
|
+
return;
|
|
1672
|
+
}
|
|
1673
|
+
Object.assign(this, kwargs);
|
|
1674
|
+
}
|
|
1675
1675
|
toApiJson() {
|
|
1676
1676
|
const toReturn = {};
|
|
1677
1677
|
if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {
|
|
@@ -1681,17 +1681,17 @@ class GetMultiSocialPostsResponse {
|
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
class GetMultilocationPostRequest {
|
|
1684
|
+
static fromProto(proto) {
|
|
1685
|
+
let m = new GetMultilocationPostRequest();
|
|
1686
|
+
m = Object.assign(m, proto);
|
|
1687
|
+
return m;
|
|
1688
|
+
}
|
|
1684
1689
|
constructor(kwargs) {
|
|
1685
1690
|
if (!kwargs) {
|
|
1686
1691
|
return;
|
|
1687
1692
|
}
|
|
1688
1693
|
Object.assign(this, kwargs);
|
|
1689
1694
|
}
|
|
1690
|
-
static fromProto(proto) {
|
|
1691
|
-
let m = new GetMultilocationPostRequest();
|
|
1692
|
-
m = Object.assign(m, proto);
|
|
1693
|
-
return m;
|
|
1694
|
-
}
|
|
1695
1695
|
toApiJson() {
|
|
1696
1696
|
const toReturn = {};
|
|
1697
1697
|
if (typeof this.brandId !== 'undefined') {
|
|
@@ -1704,12 +1704,6 @@ class GetMultilocationPostRequest {
|
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
1706
|
class GetMultilocationPostResponse {
|
|
1707
|
-
constructor(kwargs) {
|
|
1708
|
-
if (!kwargs) {
|
|
1709
|
-
return;
|
|
1710
|
-
}
|
|
1711
|
-
Object.assign(this, kwargs);
|
|
1712
|
-
}
|
|
1713
1707
|
static fromProto(proto) {
|
|
1714
1708
|
let m = new GetMultilocationPostResponse();
|
|
1715
1709
|
m = Object.assign(m, proto);
|
|
@@ -1718,6 +1712,12 @@ class GetMultilocationPostResponse {
|
|
|
1718
1712
|
}
|
|
1719
1713
|
return m;
|
|
1720
1714
|
}
|
|
1715
|
+
constructor(kwargs) {
|
|
1716
|
+
if (!kwargs) {
|
|
1717
|
+
return;
|
|
1718
|
+
}
|
|
1719
|
+
Object.assign(this, kwargs);
|
|
1720
|
+
}
|
|
1721
1721
|
toApiJson() {
|
|
1722
1722
|
const toReturn = {};
|
|
1723
1723
|
if (typeof this.multilocationPost !== 'undefined' && this.multilocationPost !== null) {
|
|
@@ -1727,17 +1727,17 @@ class GetMultilocationPostResponse {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
}
|
|
1729
1729
|
class GetPostTemplateRequest {
|
|
1730
|
+
static fromProto(proto) {
|
|
1731
|
+
let m = new GetPostTemplateRequest();
|
|
1732
|
+
m = Object.assign(m, proto);
|
|
1733
|
+
return m;
|
|
1734
|
+
}
|
|
1730
1735
|
constructor(kwargs) {
|
|
1731
1736
|
if (!kwargs) {
|
|
1732
1737
|
return;
|
|
1733
1738
|
}
|
|
1734
1739
|
Object.assign(this, kwargs);
|
|
1735
1740
|
}
|
|
1736
|
-
static fromProto(proto) {
|
|
1737
|
-
let m = new GetPostTemplateRequest();
|
|
1738
|
-
m = Object.assign(m, proto);
|
|
1739
|
-
return m;
|
|
1740
|
-
}
|
|
1741
1741
|
toApiJson() {
|
|
1742
1742
|
const toReturn = {};
|
|
1743
1743
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -1750,12 +1750,6 @@ class GetPostTemplateRequest {
|
|
|
1750
1750
|
}
|
|
1751
1751
|
}
|
|
1752
1752
|
class GetPostTemplateResponse {
|
|
1753
|
-
constructor(kwargs) {
|
|
1754
|
-
if (!kwargs) {
|
|
1755
|
-
return;
|
|
1756
|
-
}
|
|
1757
|
-
Object.assign(this, kwargs);
|
|
1758
|
-
}
|
|
1759
1753
|
static fromProto(proto) {
|
|
1760
1754
|
let m = new GetPostTemplateResponse();
|
|
1761
1755
|
m = Object.assign(m, proto);
|
|
@@ -1764,6 +1758,12 @@ class GetPostTemplateResponse {
|
|
|
1764
1758
|
}
|
|
1765
1759
|
return m;
|
|
1766
1760
|
}
|
|
1761
|
+
constructor(kwargs) {
|
|
1762
|
+
if (!kwargs) {
|
|
1763
|
+
return;
|
|
1764
|
+
}
|
|
1765
|
+
Object.assign(this, kwargs);
|
|
1766
|
+
}
|
|
1767
1767
|
toApiJson() {
|
|
1768
1768
|
const toReturn = {};
|
|
1769
1769
|
if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {
|
|
@@ -1773,17 +1773,17 @@ class GetPostTemplateResponse {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
}
|
|
1775
1775
|
class GetScheduledPostCountRequest {
|
|
1776
|
+
static fromProto(proto) {
|
|
1777
|
+
let m = new GetScheduledPostCountRequest();
|
|
1778
|
+
m = Object.assign(m, proto);
|
|
1779
|
+
return m;
|
|
1780
|
+
}
|
|
1776
1781
|
constructor(kwargs) {
|
|
1777
1782
|
if (!kwargs) {
|
|
1778
1783
|
return;
|
|
1779
1784
|
}
|
|
1780
1785
|
Object.assign(this, kwargs);
|
|
1781
1786
|
}
|
|
1782
|
-
static fromProto(proto) {
|
|
1783
|
-
let m = new GetScheduledPostCountRequest();
|
|
1784
|
-
m = Object.assign(m, proto);
|
|
1785
|
-
return m;
|
|
1786
|
-
}
|
|
1787
1787
|
toApiJson() {
|
|
1788
1788
|
const toReturn = {};
|
|
1789
1789
|
if (typeof this.partnerId !== 'undefined') {
|
|
@@ -1799,12 +1799,6 @@ class GetScheduledPostCountRequest {
|
|
|
1799
1799
|
}
|
|
1800
1800
|
}
|
|
1801
1801
|
class GetScheduledPostCountResponse {
|
|
1802
|
-
constructor(kwargs) {
|
|
1803
|
-
if (!kwargs) {
|
|
1804
|
-
return;
|
|
1805
|
-
}
|
|
1806
|
-
Object.assign(this, kwargs);
|
|
1807
|
-
}
|
|
1808
1802
|
static fromProto(proto) {
|
|
1809
1803
|
let m = new GetScheduledPostCountResponse();
|
|
1810
1804
|
m = Object.assign(m, proto);
|
|
@@ -1813,6 +1807,12 @@ class GetScheduledPostCountResponse {
|
|
|
1813
1807
|
}
|
|
1814
1808
|
return m;
|
|
1815
1809
|
}
|
|
1810
|
+
constructor(kwargs) {
|
|
1811
|
+
if (!kwargs) {
|
|
1812
|
+
return;
|
|
1813
|
+
}
|
|
1814
|
+
Object.assign(this, kwargs);
|
|
1815
|
+
}
|
|
1816
1816
|
toApiJson() {
|
|
1817
1817
|
const toReturn = {};
|
|
1818
1818
|
if (typeof this.count !== 'undefined') {
|
|
@@ -1839,32 +1839,26 @@ class GetTenorAnonymousIdRequest {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
}
|
|
1841
1841
|
class GetTenorAnonymousIdResponse {
|
|
1842
|
+
static fromProto(proto) {
|
|
1843
|
+
let m = new GetTenorAnonymousIdResponse();
|
|
1844
|
+
m = Object.assign(m, proto);
|
|
1845
|
+
return m;
|
|
1846
|
+
}
|
|
1842
1847
|
constructor(kwargs) {
|
|
1843
1848
|
if (!kwargs) {
|
|
1844
1849
|
return;
|
|
1845
1850
|
}
|
|
1846
1851
|
Object.assign(this, kwargs);
|
|
1847
1852
|
}
|
|
1848
|
-
static fromProto(proto) {
|
|
1849
|
-
let m = new GetTenorAnonymousIdResponse();
|
|
1850
|
-
m = Object.assign(m, proto);
|
|
1851
|
-
return m;
|
|
1852
|
-
}
|
|
1853
1853
|
toApiJson() {
|
|
1854
1854
|
const toReturn = {};
|
|
1855
1855
|
if (typeof this.anonymousId !== 'undefined') {
|
|
1856
1856
|
toReturn['anonymousId'] = this.anonymousId;
|
|
1857
1857
|
}
|
|
1858
|
-
return toReturn;
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
class ListMultilocationPostsForBrandRequest {
|
|
1862
|
-
constructor(kwargs) {
|
|
1863
|
-
if (!kwargs) {
|
|
1864
|
-
return;
|
|
1865
|
-
}
|
|
1866
|
-
Object.assign(this, kwargs);
|
|
1858
|
+
return toReturn;
|
|
1867
1859
|
}
|
|
1860
|
+
}
|
|
1861
|
+
class ListMultilocationPostsForBrandRequest {
|
|
1868
1862
|
static fromProto(proto) {
|
|
1869
1863
|
let m = new ListMultilocationPostsForBrandRequest();
|
|
1870
1864
|
m = Object.assign(m, proto);
|
|
@@ -1879,6 +1873,12 @@ class ListMultilocationPostsForBrandRequest {
|
|
|
1879
1873
|
}
|
|
1880
1874
|
return m;
|
|
1881
1875
|
}
|
|
1876
|
+
constructor(kwargs) {
|
|
1877
|
+
if (!kwargs) {
|
|
1878
|
+
return;
|
|
1879
|
+
}
|
|
1880
|
+
Object.assign(this, kwargs);
|
|
1881
|
+
}
|
|
1882
1882
|
toApiJson() {
|
|
1883
1883
|
const toReturn = {};
|
|
1884
1884
|
if (typeof this.brandId !== 'undefined') {
|
|
@@ -1900,12 +1900,6 @@ class ListMultilocationPostsForBrandRequest {
|
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
class ListMultilocationPostsForBrandResponse {
|
|
1903
|
-
constructor(kwargs) {
|
|
1904
|
-
if (!kwargs) {
|
|
1905
|
-
return;
|
|
1906
|
-
}
|
|
1907
|
-
Object.assign(this, kwargs);
|
|
1908
|
-
}
|
|
1909
1903
|
static fromProto(proto) {
|
|
1910
1904
|
let m = new ListMultilocationPostsForBrandResponse();
|
|
1911
1905
|
m = Object.assign(m, proto);
|
|
@@ -1917,6 +1911,12 @@ class ListMultilocationPostsForBrandResponse {
|
|
|
1917
1911
|
}
|
|
1918
1912
|
return m;
|
|
1919
1913
|
}
|
|
1914
|
+
constructor(kwargs) {
|
|
1915
|
+
if (!kwargs) {
|
|
1916
|
+
return;
|
|
1917
|
+
}
|
|
1918
|
+
Object.assign(this, kwargs);
|
|
1919
|
+
}
|
|
1920
1920
|
toApiJson() {
|
|
1921
1921
|
const toReturn = {};
|
|
1922
1922
|
if (typeof this.multilocationPosts !== 'undefined' && this.multilocationPosts !== null) {
|
|
@@ -1935,12 +1935,6 @@ class ListMultilocationPostsForBrandResponse {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
}
|
|
1937
1937
|
class ListPixabayImagesRequest {
|
|
1938
|
-
constructor(kwargs) {
|
|
1939
|
-
if (!kwargs) {
|
|
1940
|
-
return;
|
|
1941
|
-
}
|
|
1942
|
-
Object.assign(this, kwargs);
|
|
1943
|
-
}
|
|
1944
1938
|
static fromProto(proto) {
|
|
1945
1939
|
let m = new ListPixabayImagesRequest();
|
|
1946
1940
|
m = Object.assign(m, proto);
|
|
@@ -1949,6 +1943,12 @@ class ListPixabayImagesRequest {
|
|
|
1949
1943
|
}
|
|
1950
1944
|
return m;
|
|
1951
1945
|
}
|
|
1946
|
+
constructor(kwargs) {
|
|
1947
|
+
if (!kwargs) {
|
|
1948
|
+
return;
|
|
1949
|
+
}
|
|
1950
|
+
Object.assign(this, kwargs);
|
|
1951
|
+
}
|
|
1952
1952
|
toApiJson() {
|
|
1953
1953
|
const toReturn = {};
|
|
1954
1954
|
if (typeof this.query !== 'undefined') {
|
|
@@ -1964,12 +1964,6 @@ class ListPixabayImagesRequest {
|
|
|
1964
1964
|
}
|
|
1965
1965
|
}
|
|
1966
1966
|
class ListPixabayImagesResponse {
|
|
1967
|
-
constructor(kwargs) {
|
|
1968
|
-
if (!kwargs) {
|
|
1969
|
-
return;
|
|
1970
|
-
}
|
|
1971
|
-
Object.assign(this, kwargs);
|
|
1972
|
-
}
|
|
1973
1967
|
static fromProto(proto) {
|
|
1974
1968
|
let m = new ListPixabayImagesResponse();
|
|
1975
1969
|
m = Object.assign(m, proto);
|
|
@@ -1984,6 +1978,12 @@ class ListPixabayImagesResponse {
|
|
|
1984
1978
|
}
|
|
1985
1979
|
return m;
|
|
1986
1980
|
}
|
|
1981
|
+
constructor(kwargs) {
|
|
1982
|
+
if (!kwargs) {
|
|
1983
|
+
return;
|
|
1984
|
+
}
|
|
1985
|
+
Object.assign(this, kwargs);
|
|
1986
|
+
}
|
|
1987
1987
|
toApiJson() {
|
|
1988
1988
|
const toReturn = {};
|
|
1989
1989
|
if (typeof this.total !== 'undefined') {
|
|
@@ -1999,12 +1999,6 @@ class ListPixabayImagesResponse {
|
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
2001
|
class ListPostTemplatesRequest {
|
|
2002
|
-
constructor(kwargs) {
|
|
2003
|
-
if (!kwargs) {
|
|
2004
|
-
return;
|
|
2005
|
-
}
|
|
2006
|
-
Object.assign(this, kwargs);
|
|
2007
|
-
}
|
|
2008
2002
|
static fromProto(proto) {
|
|
2009
2003
|
let m = new ListPostTemplatesRequest();
|
|
2010
2004
|
m = Object.assign(m, proto);
|
|
@@ -2013,6 +2007,12 @@ class ListPostTemplatesRequest {
|
|
|
2013
2007
|
}
|
|
2014
2008
|
return m;
|
|
2015
2009
|
}
|
|
2010
|
+
constructor(kwargs) {
|
|
2011
|
+
if (!kwargs) {
|
|
2012
|
+
return;
|
|
2013
|
+
}
|
|
2014
|
+
Object.assign(this, kwargs);
|
|
2015
|
+
}
|
|
2016
2016
|
toApiJson() {
|
|
2017
2017
|
const toReturn = {};
|
|
2018
2018
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -2028,12 +2028,6 @@ class ListPostTemplatesRequest {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
}
|
|
2030
2030
|
class ListPostTemplatesResponse {
|
|
2031
|
-
constructor(kwargs) {
|
|
2032
|
-
if (!kwargs) {
|
|
2033
|
-
return;
|
|
2034
|
-
}
|
|
2035
|
-
Object.assign(this, kwargs);
|
|
2036
|
-
}
|
|
2037
2031
|
static fromProto(proto) {
|
|
2038
2032
|
let m = new ListPostTemplatesResponse();
|
|
2039
2033
|
m = Object.assign(m, proto);
|
|
@@ -2042,6 +2036,12 @@ class ListPostTemplatesResponse {
|
|
|
2042
2036
|
}
|
|
2043
2037
|
return m;
|
|
2044
2038
|
}
|
|
2039
|
+
constructor(kwargs) {
|
|
2040
|
+
if (!kwargs) {
|
|
2041
|
+
return;
|
|
2042
|
+
}
|
|
2043
|
+
Object.assign(this, kwargs);
|
|
2044
|
+
}
|
|
2045
2045
|
toApiJson() {
|
|
2046
2046
|
const toReturn = {};
|
|
2047
2047
|
if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {
|
|
@@ -2057,12 +2057,6 @@ class ListPostTemplatesResponse {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
}
|
|
2059
2059
|
class ListSocialPostsRequest {
|
|
2060
|
-
constructor(kwargs) {
|
|
2061
|
-
if (!kwargs) {
|
|
2062
|
-
return;
|
|
2063
|
-
}
|
|
2064
|
-
Object.assign(this, kwargs);
|
|
2065
|
-
}
|
|
2066
2060
|
static fromProto(proto) {
|
|
2067
2061
|
let m = new ListSocialPostsRequest();
|
|
2068
2062
|
m = Object.assign(m, proto);
|
|
@@ -2077,6 +2071,12 @@ class ListSocialPostsRequest {
|
|
|
2077
2071
|
}
|
|
2078
2072
|
return m;
|
|
2079
2073
|
}
|
|
2074
|
+
constructor(kwargs) {
|
|
2075
|
+
if (!kwargs) {
|
|
2076
|
+
return;
|
|
2077
|
+
}
|
|
2078
|
+
Object.assign(this, kwargs);
|
|
2079
|
+
}
|
|
2080
2080
|
toApiJson() {
|
|
2081
2081
|
const toReturn = {};
|
|
2082
2082
|
if (typeof this.start !== 'undefined' && this.start !== null) {
|
|
@@ -2107,12 +2107,6 @@ class ListSocialPostsRequest {
|
|
|
2107
2107
|
}
|
|
2108
2108
|
}
|
|
2109
2109
|
class ListSocialPostsResponse {
|
|
2110
|
-
constructor(kwargs) {
|
|
2111
|
-
if (!kwargs) {
|
|
2112
|
-
return;
|
|
2113
|
-
}
|
|
2114
|
-
Object.assign(this, kwargs);
|
|
2115
|
-
}
|
|
2116
2110
|
static fromProto(proto) {
|
|
2117
2111
|
let m = new ListSocialPostsResponse();
|
|
2118
2112
|
m = Object.assign(m, proto);
|
|
@@ -2121,6 +2115,12 @@ class ListSocialPostsResponse {
|
|
|
2121
2115
|
}
|
|
2122
2116
|
return m;
|
|
2123
2117
|
}
|
|
2118
|
+
constructor(kwargs) {
|
|
2119
|
+
if (!kwargs) {
|
|
2120
|
+
return;
|
|
2121
|
+
}
|
|
2122
|
+
Object.assign(this, kwargs);
|
|
2123
|
+
}
|
|
2124
2124
|
toApiJson() {
|
|
2125
2125
|
const toReturn = {};
|
|
2126
2126
|
if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {
|
|
@@ -2136,12 +2136,6 @@ class ListSocialPostsResponse {
|
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
2138
|
class ListTenorGifsRequest {
|
|
2139
|
-
constructor(kwargs) {
|
|
2140
|
-
if (!kwargs) {
|
|
2141
|
-
return;
|
|
2142
|
-
}
|
|
2143
|
-
Object.assign(this, kwargs);
|
|
2144
|
-
}
|
|
2145
2139
|
static fromProto(proto) {
|
|
2146
2140
|
let m = new ListTenorGifsRequest();
|
|
2147
2141
|
m = Object.assign(m, proto);
|
|
@@ -2150,6 +2144,12 @@ class ListTenorGifsRequest {
|
|
|
2150
2144
|
}
|
|
2151
2145
|
return m;
|
|
2152
2146
|
}
|
|
2147
|
+
constructor(kwargs) {
|
|
2148
|
+
if (!kwargs) {
|
|
2149
|
+
return;
|
|
2150
|
+
}
|
|
2151
|
+
Object.assign(this, kwargs);
|
|
2152
|
+
}
|
|
2153
2153
|
toApiJson() {
|
|
2154
2154
|
const toReturn = {};
|
|
2155
2155
|
if (typeof this.query !== 'undefined') {
|
|
@@ -2180,12 +2180,6 @@ class ListTenorGifsRequest {
|
|
|
2180
2180
|
}
|
|
2181
2181
|
}
|
|
2182
2182
|
class ListTenorGifsResponse {
|
|
2183
|
-
constructor(kwargs) {
|
|
2184
|
-
if (!kwargs) {
|
|
2185
|
-
return;
|
|
2186
|
-
}
|
|
2187
|
-
Object.assign(this, kwargs);
|
|
2188
|
-
}
|
|
2189
2183
|
static fromProto(proto) {
|
|
2190
2184
|
let m = new ListTenorGifsResponse();
|
|
2191
2185
|
m = Object.assign(m, proto);
|
|
@@ -2194,6 +2188,12 @@ class ListTenorGifsResponse {
|
|
|
2194
2188
|
}
|
|
2195
2189
|
return m;
|
|
2196
2190
|
}
|
|
2191
|
+
constructor(kwargs) {
|
|
2192
|
+
if (!kwargs) {
|
|
2193
|
+
return;
|
|
2194
|
+
}
|
|
2195
|
+
Object.assign(this, kwargs);
|
|
2196
|
+
}
|
|
2197
2197
|
toApiJson() {
|
|
2198
2198
|
const toReturn = {};
|
|
2199
2199
|
if (typeof this.next !== 'undefined') {
|
|
@@ -2206,12 +2206,6 @@ class ListTenorGifsResponse {
|
|
|
2206
2206
|
}
|
|
2207
2207
|
}
|
|
2208
2208
|
class PartnerListScheduledPostsResponse {
|
|
2209
|
-
constructor(kwargs) {
|
|
2210
|
-
if (!kwargs) {
|
|
2211
|
-
return;
|
|
2212
|
-
}
|
|
2213
|
-
Object.assign(this, kwargs);
|
|
2214
|
-
}
|
|
2215
2209
|
static fromProto(proto) {
|
|
2216
2210
|
let m = new PartnerListScheduledPostsResponse();
|
|
2217
2211
|
m = Object.assign(m, proto);
|
|
@@ -2220,6 +2214,12 @@ class PartnerListScheduledPostsResponse {
|
|
|
2220
2214
|
}
|
|
2221
2215
|
return m;
|
|
2222
2216
|
}
|
|
2217
|
+
constructor(kwargs) {
|
|
2218
|
+
if (!kwargs) {
|
|
2219
|
+
return;
|
|
2220
|
+
}
|
|
2221
|
+
Object.assign(this, kwargs);
|
|
2222
|
+
}
|
|
2223
2223
|
toApiJson() {
|
|
2224
2224
|
const toReturn = {};
|
|
2225
2225
|
if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {
|
|
@@ -2235,12 +2235,6 @@ class PartnerListScheduledPostsResponse {
|
|
|
2235
2235
|
}
|
|
2236
2236
|
}
|
|
2237
2237
|
class PartnerListScheduledSocialPostsRequest {
|
|
2238
|
-
constructor(kwargs) {
|
|
2239
|
-
if (!kwargs) {
|
|
2240
|
-
return;
|
|
2241
|
-
}
|
|
2242
|
-
Object.assign(this, kwargs);
|
|
2243
|
-
}
|
|
2244
2238
|
static fromProto(proto) {
|
|
2245
2239
|
let m = new PartnerListScheduledSocialPostsRequest();
|
|
2246
2240
|
m = Object.assign(m, proto);
|
|
@@ -2252,6 +2246,12 @@ class PartnerListScheduledSocialPostsRequest {
|
|
|
2252
2246
|
}
|
|
2253
2247
|
return m;
|
|
2254
2248
|
}
|
|
2249
|
+
constructor(kwargs) {
|
|
2250
|
+
if (!kwargs) {
|
|
2251
|
+
return;
|
|
2252
|
+
}
|
|
2253
|
+
Object.assign(this, kwargs);
|
|
2254
|
+
}
|
|
2255
2255
|
toApiJson() {
|
|
2256
2256
|
const toReturn = {};
|
|
2257
2257
|
if (typeof this.cursor !== 'undefined') {
|
|
@@ -2267,12 +2267,6 @@ class PartnerListScheduledSocialPostsRequest {
|
|
|
2267
2267
|
}
|
|
2268
2268
|
}
|
|
2269
2269
|
class PostData {
|
|
2270
|
-
constructor(kwargs) {
|
|
2271
|
-
if (!kwargs) {
|
|
2272
|
-
return;
|
|
2273
|
-
}
|
|
2274
|
-
Object.assign(this, kwargs);
|
|
2275
|
-
}
|
|
2276
2270
|
static fromProto(proto) {
|
|
2277
2271
|
let m = new PostData();
|
|
2278
2272
|
m = Object.assign(m, proto);
|
|
@@ -2320,6 +2314,12 @@ class PostData {
|
|
|
2320
2314
|
}
|
|
2321
2315
|
return m;
|
|
2322
2316
|
}
|
|
2317
|
+
constructor(kwargs) {
|
|
2318
|
+
if (!kwargs) {
|
|
2319
|
+
return;
|
|
2320
|
+
}
|
|
2321
|
+
Object.assign(this, kwargs);
|
|
2322
|
+
}
|
|
2323
2323
|
toApiJson() {
|
|
2324
2324
|
const toReturn = {};
|
|
2325
2325
|
if (typeof this.postId !== 'undefined') {
|
|
@@ -2374,12 +2374,6 @@ class PostData {
|
|
|
2374
2374
|
}
|
|
2375
2375
|
}
|
|
2376
2376
|
class RemoveFromMultilocationPostRequest {
|
|
2377
|
-
constructor(kwargs) {
|
|
2378
|
-
if (!kwargs) {
|
|
2379
|
-
return;
|
|
2380
|
-
}
|
|
2381
|
-
Object.assign(this, kwargs);
|
|
2382
|
-
}
|
|
2383
2377
|
static fromProto(proto) {
|
|
2384
2378
|
let m = new RemoveFromMultilocationPostRequest();
|
|
2385
2379
|
m = Object.assign(m, proto);
|
|
@@ -2391,6 +2385,12 @@ class RemoveFromMultilocationPostRequest {
|
|
|
2391
2385
|
}
|
|
2392
2386
|
return m;
|
|
2393
2387
|
}
|
|
2388
|
+
constructor(kwargs) {
|
|
2389
|
+
if (!kwargs) {
|
|
2390
|
+
return;
|
|
2391
|
+
}
|
|
2392
|
+
Object.assign(this, kwargs);
|
|
2393
|
+
}
|
|
2394
2394
|
toApiJson() {
|
|
2395
2395
|
const toReturn = {};
|
|
2396
2396
|
if (typeof this.reason !== 'undefined') {
|
|
@@ -2409,17 +2409,17 @@ class RemoveFromMultilocationPostRequest {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
}
|
|
2411
2411
|
class ReplaceHashtagsRequest {
|
|
2412
|
+
static fromProto(proto) {
|
|
2413
|
+
let m = new ReplaceHashtagsRequest();
|
|
2414
|
+
m = Object.assign(m, proto);
|
|
2415
|
+
return m;
|
|
2416
|
+
}
|
|
2412
2417
|
constructor(kwargs) {
|
|
2413
2418
|
if (!kwargs) {
|
|
2414
2419
|
return;
|
|
2415
2420
|
}
|
|
2416
2421
|
Object.assign(this, kwargs);
|
|
2417
2422
|
}
|
|
2418
|
-
static fromProto(proto) {
|
|
2419
|
-
let m = new ReplaceHashtagsRequest();
|
|
2420
|
-
m = Object.assign(m, proto);
|
|
2421
|
-
return m;
|
|
2422
|
-
}
|
|
2423
2423
|
toApiJson() {
|
|
2424
2424
|
const toReturn = {};
|
|
2425
2425
|
if (typeof this.keyword !== 'undefined') {
|
|
@@ -2435,12 +2435,6 @@ class ReplaceHashtagsRequest {
|
|
|
2435
2435
|
}
|
|
2436
2436
|
}
|
|
2437
2437
|
class SchedulePostRequest {
|
|
2438
|
-
constructor(kwargs) {
|
|
2439
|
-
if (!kwargs) {
|
|
2440
|
-
return;
|
|
2441
|
-
}
|
|
2442
|
-
Object.assign(this, kwargs);
|
|
2443
|
-
}
|
|
2444
2438
|
static fromProto(proto) {
|
|
2445
2439
|
let m = new SchedulePostRequest();
|
|
2446
2440
|
m = Object.assign(m, proto);
|
|
@@ -2449,6 +2443,12 @@ class SchedulePostRequest {
|
|
|
2449
2443
|
}
|
|
2450
2444
|
return m;
|
|
2451
2445
|
}
|
|
2446
|
+
constructor(kwargs) {
|
|
2447
|
+
if (!kwargs) {
|
|
2448
|
+
return;
|
|
2449
|
+
}
|
|
2450
|
+
Object.assign(this, kwargs);
|
|
2451
|
+
}
|
|
2452
2452
|
toApiJson() {
|
|
2453
2453
|
const toReturn = {};
|
|
2454
2454
|
if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {
|
|
@@ -2467,12 +2467,6 @@ class SchedulePostRequest {
|
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
2469
2469
|
class SchedulePostResponse {
|
|
2470
|
-
constructor(kwargs) {
|
|
2471
|
-
if (!kwargs) {
|
|
2472
|
-
return;
|
|
2473
|
-
}
|
|
2474
|
-
Object.assign(this, kwargs);
|
|
2475
|
-
}
|
|
2476
2470
|
static fromProto(proto) {
|
|
2477
2471
|
let m = new SchedulePostResponse();
|
|
2478
2472
|
m = Object.assign(m, proto);
|
|
@@ -2481,6 +2475,12 @@ class SchedulePostResponse {
|
|
|
2481
2475
|
}
|
|
2482
2476
|
return m;
|
|
2483
2477
|
}
|
|
2478
|
+
constructor(kwargs) {
|
|
2479
|
+
if (!kwargs) {
|
|
2480
|
+
return;
|
|
2481
|
+
}
|
|
2482
|
+
Object.assign(this, kwargs);
|
|
2483
|
+
}
|
|
2484
2484
|
toApiJson() {
|
|
2485
2485
|
const toReturn = {};
|
|
2486
2486
|
if (typeof this.statuses !== 'undefined' && this.statuses !== null) {
|
|
@@ -2490,12 +2490,6 @@ class SchedulePostResponse {
|
|
|
2490
2490
|
}
|
|
2491
2491
|
}
|
|
2492
2492
|
class ScheduleToAllPagesRequest {
|
|
2493
|
-
constructor(kwargs) {
|
|
2494
|
-
if (!kwargs) {
|
|
2495
|
-
return;
|
|
2496
|
-
}
|
|
2497
|
-
Object.assign(this, kwargs);
|
|
2498
|
-
}
|
|
2499
2493
|
static fromProto(proto) {
|
|
2500
2494
|
let m = new ScheduleToAllPagesRequest();
|
|
2501
2495
|
m = Object.assign(m, proto);
|
|
@@ -2504,6 +2498,12 @@ class ScheduleToAllPagesRequest {
|
|
|
2504
2498
|
}
|
|
2505
2499
|
return m;
|
|
2506
2500
|
}
|
|
2501
|
+
constructor(kwargs) {
|
|
2502
|
+
if (!kwargs) {
|
|
2503
|
+
return;
|
|
2504
|
+
}
|
|
2505
|
+
Object.assign(this, kwargs);
|
|
2506
|
+
}
|
|
2507
2507
|
toApiJson() {
|
|
2508
2508
|
const toReturn = {};
|
|
2509
2509
|
if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {
|
|
@@ -2519,12 +2519,6 @@ class ScheduleToAllPagesRequest {
|
|
|
2519
2519
|
}
|
|
2520
2520
|
}
|
|
2521
2521
|
class ScheduleToAllPagesResponse {
|
|
2522
|
-
constructor(kwargs) {
|
|
2523
|
-
if (!kwargs) {
|
|
2524
|
-
return;
|
|
2525
|
-
}
|
|
2526
|
-
Object.assign(this, kwargs);
|
|
2527
|
-
}
|
|
2528
2522
|
static fromProto(proto) {
|
|
2529
2523
|
let m = new ScheduleToAllPagesResponse();
|
|
2530
2524
|
m = Object.assign(m, proto);
|
|
@@ -2533,6 +2527,12 @@ class ScheduleToAllPagesResponse {
|
|
|
2533
2527
|
}
|
|
2534
2528
|
return m;
|
|
2535
2529
|
}
|
|
2530
|
+
constructor(kwargs) {
|
|
2531
|
+
if (!kwargs) {
|
|
2532
|
+
return;
|
|
2533
|
+
}
|
|
2534
|
+
Object.assign(this, kwargs);
|
|
2535
|
+
}
|
|
2536
2536
|
toApiJson() {
|
|
2537
2537
|
const toReturn = {};
|
|
2538
2538
|
if (typeof this.statuses !== 'undefined' && this.statuses !== null) {
|
|
@@ -2542,12 +2542,6 @@ class ScheduleToAllPagesResponse {
|
|
|
2542
2542
|
}
|
|
2543
2543
|
}
|
|
2544
2544
|
class SearchHashtagRequest {
|
|
2545
|
-
constructor(kwargs) {
|
|
2546
|
-
if (!kwargs) {
|
|
2547
|
-
return;
|
|
2548
|
-
}
|
|
2549
|
-
Object.assign(this, kwargs);
|
|
2550
|
-
}
|
|
2551
2545
|
static fromProto(proto) {
|
|
2552
2546
|
let m = new SearchHashtagRequest();
|
|
2553
2547
|
m = Object.assign(m, proto);
|
|
@@ -2556,6 +2550,12 @@ class SearchHashtagRequest {
|
|
|
2556
2550
|
}
|
|
2557
2551
|
return m;
|
|
2558
2552
|
}
|
|
2553
|
+
constructor(kwargs) {
|
|
2554
|
+
if (!kwargs) {
|
|
2555
|
+
return;
|
|
2556
|
+
}
|
|
2557
|
+
Object.assign(this, kwargs);
|
|
2558
|
+
}
|
|
2559
2559
|
toApiJson() {
|
|
2560
2560
|
const toReturn = {};
|
|
2561
2561
|
if (typeof this.searchTerm !== 'undefined') {
|
|
@@ -2574,12 +2574,6 @@ class SearchHashtagRequest {
|
|
|
2574
2574
|
}
|
|
2575
2575
|
}
|
|
2576
2576
|
class SearchHashtagResponse {
|
|
2577
|
-
constructor(kwargs) {
|
|
2578
|
-
if (!kwargs) {
|
|
2579
|
-
return;
|
|
2580
|
-
}
|
|
2581
|
-
Object.assign(this, kwargs);
|
|
2582
|
-
}
|
|
2583
2577
|
static fromProto(proto) {
|
|
2584
2578
|
let m = new SearchHashtagResponse();
|
|
2585
2579
|
m = Object.assign(m, proto);
|
|
@@ -2588,21 +2582,21 @@ class SearchHashtagResponse {
|
|
|
2588
2582
|
}
|
|
2589
2583
|
return m;
|
|
2590
2584
|
}
|
|
2591
|
-
toApiJson() {
|
|
2592
|
-
const toReturn = {};
|
|
2593
|
-
if (typeof this.hashtags !== 'undefined' && this.hashtags !== null) {
|
|
2594
|
-
toReturn['hashtags'] = 'toApiJson' in this.hashtags ? this.hashtags.toApiJson() : this.hashtags;
|
|
2595
|
-
}
|
|
2596
|
-
return toReturn;
|
|
2597
|
-
}
|
|
2598
|
-
}
|
|
2599
|
-
class SuggestMessageRequest {
|
|
2600
2585
|
constructor(kwargs) {
|
|
2601
2586
|
if (!kwargs) {
|
|
2602
2587
|
return;
|
|
2603
2588
|
}
|
|
2604
|
-
Object.assign(this, kwargs);
|
|
2589
|
+
Object.assign(this, kwargs);
|
|
2590
|
+
}
|
|
2591
|
+
toApiJson() {
|
|
2592
|
+
const toReturn = {};
|
|
2593
|
+
if (typeof this.hashtags !== 'undefined' && this.hashtags !== null) {
|
|
2594
|
+
toReturn['hashtags'] = 'toApiJson' in this.hashtags ? this.hashtags.toApiJson() : this.hashtags;
|
|
2595
|
+
}
|
|
2596
|
+
return toReturn;
|
|
2605
2597
|
}
|
|
2598
|
+
}
|
|
2599
|
+
class SuggestMessageRequest {
|
|
2606
2600
|
static fromProto(proto) {
|
|
2607
2601
|
let m = new SuggestMessageRequest();
|
|
2608
2602
|
m = Object.assign(m, proto);
|
|
@@ -2614,6 +2608,12 @@ class SuggestMessageRequest {
|
|
|
2614
2608
|
}
|
|
2615
2609
|
return m;
|
|
2616
2610
|
}
|
|
2611
|
+
constructor(kwargs) {
|
|
2612
|
+
if (!kwargs) {
|
|
2613
|
+
return;
|
|
2614
|
+
}
|
|
2615
|
+
Object.assign(this, kwargs);
|
|
2616
|
+
}
|
|
2617
2617
|
toApiJson() {
|
|
2618
2618
|
const toReturn = {};
|
|
2619
2619
|
if (typeof this.prompt !== 'undefined') {
|
|
@@ -2632,17 +2632,17 @@ class SuggestMessageRequest {
|
|
|
2632
2632
|
}
|
|
2633
2633
|
}
|
|
2634
2634
|
class SuggestMessageResponse {
|
|
2635
|
+
static fromProto(proto) {
|
|
2636
|
+
let m = new SuggestMessageResponse();
|
|
2637
|
+
m = Object.assign(m, proto);
|
|
2638
|
+
return m;
|
|
2639
|
+
}
|
|
2635
2640
|
constructor(kwargs) {
|
|
2636
2641
|
if (!kwargs) {
|
|
2637
2642
|
return;
|
|
2638
2643
|
}
|
|
2639
2644
|
Object.assign(this, kwargs);
|
|
2640
2645
|
}
|
|
2641
|
-
static fromProto(proto) {
|
|
2642
|
-
let m = new SuggestMessageResponse();
|
|
2643
|
-
m = Object.assign(m, proto);
|
|
2644
|
-
return m;
|
|
2645
|
-
}
|
|
2646
2646
|
toApiJson() {
|
|
2647
2647
|
const toReturn = {};
|
|
2648
2648
|
if (typeof this.message !== 'undefined') {
|
|
@@ -2652,12 +2652,6 @@ class SuggestMessageResponse {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
2654
|
class UpdatePostTemplateRequest {
|
|
2655
|
-
constructor(kwargs) {
|
|
2656
|
-
if (!kwargs) {
|
|
2657
|
-
return;
|
|
2658
|
-
}
|
|
2659
|
-
Object.assign(this, kwargs);
|
|
2660
|
-
}
|
|
2661
2655
|
static fromProto(proto) {
|
|
2662
2656
|
let m = new UpdatePostTemplateRequest();
|
|
2663
2657
|
m = Object.assign(m, proto);
|
|
@@ -2675,6 +2669,12 @@ class UpdatePostTemplateRequest {
|
|
|
2675
2669
|
}
|
|
2676
2670
|
return m;
|
|
2677
2671
|
}
|
|
2672
|
+
constructor(kwargs) {
|
|
2673
|
+
if (!kwargs) {
|
|
2674
|
+
return;
|
|
2675
|
+
}
|
|
2676
|
+
Object.assign(this, kwargs);
|
|
2677
|
+
}
|
|
2678
2678
|
toApiJson() {
|
|
2679
2679
|
const toReturn = {};
|
|
2680
2680
|
if (typeof this.accountGroupId !== 'undefined') {
|
|
@@ -2733,17 +2733,17 @@ function enumStringToValue$2(enumRef, value) {
|
|
|
2733
2733
|
return enumRef[value];
|
|
2734
2734
|
}
|
|
2735
2735
|
class Link {
|
|
2736
|
+
static fromProto(proto) {
|
|
2737
|
+
let m = new Link();
|
|
2738
|
+
m = Object.assign(m, proto);
|
|
2739
|
+
return m;
|
|
2740
|
+
}
|
|
2736
2741
|
constructor(kwargs) {
|
|
2737
2742
|
if (!kwargs) {
|
|
2738
2743
|
return;
|
|
2739
2744
|
}
|
|
2740
2745
|
Object.assign(this, kwargs);
|
|
2741
2746
|
}
|
|
2742
|
-
static fromProto(proto) {
|
|
2743
|
-
let m = new Link();
|
|
2744
|
-
m = Object.assign(m, proto);
|
|
2745
|
-
return m;
|
|
2746
|
-
}
|
|
2747
2747
|
toApiJson() {
|
|
2748
2748
|
const toReturn = {};
|
|
2749
2749
|
if (typeof this.name !== 'undefined') {
|
|
@@ -2768,17 +2768,17 @@ class Link {
|
|
|
2768
2768
|
}
|
|
2769
2769
|
}
|
|
2770
2770
|
class Metadata {
|
|
2771
|
+
static fromProto(proto) {
|
|
2772
|
+
let m = new Metadata();
|
|
2773
|
+
m = Object.assign(m, proto);
|
|
2774
|
+
return m;
|
|
2775
|
+
}
|
|
2771
2776
|
constructor(kwargs) {
|
|
2772
2777
|
if (!kwargs) {
|
|
2773
2778
|
return;
|
|
2774
2779
|
}
|
|
2775
2780
|
Object.assign(this, kwargs);
|
|
2776
2781
|
}
|
|
2777
|
-
static fromProto(proto) {
|
|
2778
|
-
let m = new Metadata();
|
|
2779
|
-
m = Object.assign(m, proto);
|
|
2780
|
-
return m;
|
|
2781
|
-
}
|
|
2782
2782
|
toApiJson() {
|
|
2783
2783
|
const toReturn = {};
|
|
2784
2784
|
if (typeof this.name !== 'undefined') {
|
|
@@ -2791,17 +2791,17 @@ class Metadata {
|
|
|
2791
2791
|
}
|
|
2792
2792
|
}
|
|
2793
2793
|
class PostAction {
|
|
2794
|
+
static fromProto(proto) {
|
|
2795
|
+
let m = new PostAction();
|
|
2796
|
+
m = Object.assign(m, proto);
|
|
2797
|
+
return m;
|
|
2798
|
+
}
|
|
2794
2799
|
constructor(kwargs) {
|
|
2795
2800
|
if (!kwargs) {
|
|
2796
2801
|
return;
|
|
2797
2802
|
}
|
|
2798
2803
|
Object.assign(this, kwargs);
|
|
2799
2804
|
}
|
|
2800
|
-
static fromProto(proto) {
|
|
2801
|
-
let m = new PostAction();
|
|
2802
|
-
m = Object.assign(m, proto);
|
|
2803
|
-
return m;
|
|
2804
|
-
}
|
|
2805
2805
|
toApiJson() {
|
|
2806
2806
|
const toReturn = {};
|
|
2807
2807
|
if (typeof this.type !== 'undefined') {
|
|
@@ -2814,12 +2814,6 @@ class PostAction {
|
|
|
2814
2814
|
}
|
|
2815
2815
|
}
|
|
2816
2816
|
class PostContent {
|
|
2817
|
-
constructor(kwargs) {
|
|
2818
|
-
if (!kwargs) {
|
|
2819
|
-
return;
|
|
2820
|
-
}
|
|
2821
|
-
Object.assign(this, kwargs);
|
|
2822
|
-
}
|
|
2823
2817
|
static fromProto(proto) {
|
|
2824
2818
|
let m = new PostContent();
|
|
2825
2819
|
m = Object.assign(m, proto);
|
|
@@ -2831,6 +2825,12 @@ class PostContent {
|
|
|
2831
2825
|
}
|
|
2832
2826
|
return m;
|
|
2833
2827
|
}
|
|
2828
|
+
constructor(kwargs) {
|
|
2829
|
+
if (!kwargs) {
|
|
2830
|
+
return;
|
|
2831
|
+
}
|
|
2832
|
+
Object.assign(this, kwargs);
|
|
2833
|
+
}
|
|
2834
2834
|
toApiJson() {
|
|
2835
2835
|
const toReturn = {};
|
|
2836
2836
|
if (typeof this.postText !== 'undefined') {
|
|
@@ -2846,12 +2846,6 @@ class PostContent {
|
|
|
2846
2846
|
}
|
|
2847
2847
|
}
|
|
2848
2848
|
class PostCustomization {
|
|
2849
|
-
constructor(kwargs) {
|
|
2850
|
-
if (!kwargs) {
|
|
2851
|
-
return;
|
|
2852
|
-
}
|
|
2853
|
-
Object.assign(this, kwargs);
|
|
2854
|
-
}
|
|
2855
2849
|
static fromProto(proto) {
|
|
2856
2850
|
let m = new PostCustomization();
|
|
2857
2851
|
m = Object.assign(m, proto);
|
|
@@ -2863,6 +2857,12 @@ class PostCustomization {
|
|
|
2863
2857
|
}
|
|
2864
2858
|
return m;
|
|
2865
2859
|
}
|
|
2860
|
+
constructor(kwargs) {
|
|
2861
|
+
if (!kwargs) {
|
|
2862
|
+
return;
|
|
2863
|
+
}
|
|
2864
|
+
Object.assign(this, kwargs);
|
|
2865
|
+
}
|
|
2866
2866
|
toApiJson() {
|
|
2867
2867
|
const toReturn = {};
|
|
2868
2868
|
if (typeof this.event !== 'undefined' && this.event !== null) {
|
|
@@ -2875,12 +2875,6 @@ class PostCustomization {
|
|
|
2875
2875
|
}
|
|
2876
2876
|
}
|
|
2877
2877
|
class PostEvent {
|
|
2878
|
-
constructor(kwargs) {
|
|
2879
|
-
if (!kwargs) {
|
|
2880
|
-
return;
|
|
2881
|
-
}
|
|
2882
|
-
Object.assign(this, kwargs);
|
|
2883
|
-
}
|
|
2884
2878
|
static fromProto(proto) {
|
|
2885
2879
|
let m = new PostEvent();
|
|
2886
2880
|
m = Object.assign(m, proto);
|
|
@@ -2892,6 +2886,12 @@ class PostEvent {
|
|
|
2892
2886
|
}
|
|
2893
2887
|
return m;
|
|
2894
2888
|
}
|
|
2889
|
+
constructor(kwargs) {
|
|
2890
|
+
if (!kwargs) {
|
|
2891
|
+
return;
|
|
2892
|
+
}
|
|
2893
|
+
Object.assign(this, kwargs);
|
|
2894
|
+
}
|
|
2895
2895
|
toApiJson() {
|
|
2896
2896
|
const toReturn = {};
|
|
2897
2897
|
if (typeof this.title !== 'undefined') {
|
|
@@ -2907,12 +2907,6 @@ class PostEvent {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
}
|
|
2909
2909
|
class PostMedia {
|
|
2910
|
-
constructor(kwargs) {
|
|
2911
|
-
if (!kwargs) {
|
|
2912
|
-
return;
|
|
2913
|
-
}
|
|
2914
|
-
Object.assign(this, kwargs);
|
|
2915
|
-
}
|
|
2916
2910
|
static fromProto(proto) {
|
|
2917
2911
|
let m = new PostMedia();
|
|
2918
2912
|
m = Object.assign(m, proto);
|
|
@@ -2921,6 +2915,12 @@ class PostMedia {
|
|
|
2921
2915
|
}
|
|
2922
2916
|
return m;
|
|
2923
2917
|
}
|
|
2918
|
+
constructor(kwargs) {
|
|
2919
|
+
if (!kwargs) {
|
|
2920
|
+
return;
|
|
2921
|
+
}
|
|
2922
|
+
Object.assign(this, kwargs);
|
|
2923
|
+
}
|
|
2924
2924
|
toApiJson() {
|
|
2925
2925
|
const toReturn = {};
|
|
2926
2926
|
if (typeof this.mediaId !== 'undefined') {
|
|
@@ -2942,12 +2942,6 @@ class PostMedia {
|
|
|
2942
2942
|
}
|
|
2943
2943
|
}
|
|
2944
2944
|
class SocialPost {
|
|
2945
|
-
constructor(kwargs) {
|
|
2946
|
-
if (!kwargs) {
|
|
2947
|
-
return;
|
|
2948
|
-
}
|
|
2949
|
-
Object.assign(this, kwargs);
|
|
2950
|
-
}
|
|
2951
2945
|
static fromProto(proto) {
|
|
2952
2946
|
let m = new SocialPost();
|
|
2953
2947
|
m = Object.assign(m, proto);
|
|
@@ -2968,6 +2962,12 @@ class SocialPost {
|
|
|
2968
2962
|
}
|
|
2969
2963
|
return m;
|
|
2970
2964
|
}
|
|
2965
|
+
constructor(kwargs) {
|
|
2966
|
+
if (!kwargs) {
|
|
2967
|
+
return;
|
|
2968
|
+
}
|
|
2969
|
+
Object.assign(this, kwargs);
|
|
2970
|
+
}
|
|
2971
2971
|
toApiJson() {
|
|
2972
2972
|
const toReturn = {};
|
|
2973
2973
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -3005,12 +3005,6 @@ function enumStringToValue$1(enumRef, value) {
|
|
|
3005
3005
|
return enumRef[value];
|
|
3006
3006
|
}
|
|
3007
3007
|
class Media {
|
|
3008
|
-
constructor(kwargs) {
|
|
3009
|
-
if (!kwargs) {
|
|
3010
|
-
return;
|
|
3011
|
-
}
|
|
3012
|
-
Object.assign(this, kwargs);
|
|
3013
|
-
}
|
|
3014
3008
|
static fromProto(proto) {
|
|
3015
3009
|
let m = new Media();
|
|
3016
3010
|
m = Object.assign(m, proto);
|
|
@@ -3019,6 +3013,12 @@ class Media {
|
|
|
3019
3013
|
}
|
|
3020
3014
|
return m;
|
|
3021
3015
|
}
|
|
3016
|
+
constructor(kwargs) {
|
|
3017
|
+
if (!kwargs) {
|
|
3018
|
+
return;
|
|
3019
|
+
}
|
|
3020
|
+
Object.assign(this, kwargs);
|
|
3021
|
+
}
|
|
3022
3022
|
toApiJson() {
|
|
3023
3023
|
const toReturn = {};
|
|
3024
3024
|
if (typeof this.url !== 'undefined') {
|
|
@@ -3038,17 +3038,17 @@ function enumStringToValue(enumRef, value) {
|
|
|
3038
3038
|
return enumRef[value];
|
|
3039
3039
|
}
|
|
3040
3040
|
class CreateImageRequest {
|
|
3041
|
+
static fromProto(proto) {
|
|
3042
|
+
let m = new CreateImageRequest();
|
|
3043
|
+
m = Object.assign(m, proto);
|
|
3044
|
+
return m;
|
|
3045
|
+
}
|
|
3041
3046
|
constructor(kwargs) {
|
|
3042
3047
|
if (!kwargs) {
|
|
3043
3048
|
return;
|
|
3044
3049
|
}
|
|
3045
3050
|
Object.assign(this, kwargs);
|
|
3046
3051
|
}
|
|
3047
|
-
static fromProto(proto) {
|
|
3048
|
-
let m = new CreateImageRequest();
|
|
3049
|
-
m = Object.assign(m, proto);
|
|
3050
|
-
return m;
|
|
3051
|
-
}
|
|
3052
3052
|
toApiJson() {
|
|
3053
3053
|
const toReturn = {};
|
|
3054
3054
|
if (typeof this.businessId !== 'undefined') {
|
|
@@ -3070,12 +3070,6 @@ class CreateImageRequest {
|
|
|
3070
3070
|
}
|
|
3071
3071
|
}
|
|
3072
3072
|
class CreateImageResponse {
|
|
3073
|
-
constructor(kwargs) {
|
|
3074
|
-
if (!kwargs) {
|
|
3075
|
-
return;
|
|
3076
|
-
}
|
|
3077
|
-
Object.assign(this, kwargs);
|
|
3078
|
-
}
|
|
3079
3073
|
static fromProto(proto) {
|
|
3080
3074
|
let m = new CreateImageResponse();
|
|
3081
3075
|
m = Object.assign(m, proto);
|
|
@@ -3087,6 +3081,12 @@ class CreateImageResponse {
|
|
|
3087
3081
|
}
|
|
3088
3082
|
return m;
|
|
3089
3083
|
}
|
|
3084
|
+
constructor(kwargs) {
|
|
3085
|
+
if (!kwargs) {
|
|
3086
|
+
return;
|
|
3087
|
+
}
|
|
3088
|
+
Object.assign(this, kwargs);
|
|
3089
|
+
}
|
|
3090
3090
|
toApiJson() {
|
|
3091
3091
|
const toReturn = {};
|
|
3092
3092
|
if (typeof this.createdId !== 'undefined') {
|
|
@@ -3099,17 +3099,17 @@ class CreateImageResponse {
|
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
3101
|
class DeletePostRequest {
|
|
3102
|
+
static fromProto(proto) {
|
|
3103
|
+
let m = new DeletePostRequest();
|
|
3104
|
+
m = Object.assign(m, proto);
|
|
3105
|
+
return m;
|
|
3106
|
+
}
|
|
3102
3107
|
constructor(kwargs) {
|
|
3103
3108
|
if (!kwargs) {
|
|
3104
3109
|
return;
|
|
3105
3110
|
}
|
|
3106
3111
|
Object.assign(this, kwargs);
|
|
3107
3112
|
}
|
|
3108
|
-
static fromProto(proto) {
|
|
3109
|
-
let m = new DeletePostRequest();
|
|
3110
|
-
m = Object.assign(m, proto);
|
|
3111
|
-
return m;
|
|
3112
|
-
}
|
|
3113
3113
|
toApiJson() {
|
|
3114
3114
|
const toReturn = {};
|
|
3115
3115
|
if (typeof this.accessToken !== 'undefined') {
|
|
@@ -3122,17 +3122,17 @@ class DeletePostRequest {
|
|
|
3122
3122
|
}
|
|
3123
3123
|
}
|
|
3124
3124
|
class ImageBlob {
|
|
3125
|
+
static fromProto(proto) {
|
|
3126
|
+
let m = new ImageBlob();
|
|
3127
|
+
m = Object.assign(m, proto);
|
|
3128
|
+
return m;
|
|
3129
|
+
}
|
|
3125
3130
|
constructor(kwargs) {
|
|
3126
3131
|
if (!kwargs) {
|
|
3127
3132
|
return;
|
|
3128
3133
|
}
|
|
3129
3134
|
Object.assign(this, kwargs);
|
|
3130
3135
|
}
|
|
3131
|
-
static fromProto(proto) {
|
|
3132
|
-
let m = new ImageBlob();
|
|
3133
|
-
m = Object.assign(m, proto);
|
|
3134
|
-
return m;
|
|
3135
|
-
}
|
|
3136
3136
|
toApiJson() {
|
|
3137
3137
|
const toReturn = {};
|
|
3138
3138
|
if (typeof this.blob !== 'undefined') {
|
|
@@ -3142,17 +3142,17 @@ class ImageBlob {
|
|
|
3142
3142
|
}
|
|
3143
3143
|
}
|
|
3144
3144
|
class ImageCreated {
|
|
3145
|
+
static fromProto(proto) {
|
|
3146
|
+
let m = new ImageCreated();
|
|
3147
|
+
m = Object.assign(m, proto);
|
|
3148
|
+
return m;
|
|
3149
|
+
}
|
|
3145
3150
|
constructor(kwargs) {
|
|
3146
3151
|
if (!kwargs) {
|
|
3147
3152
|
return;
|
|
3148
3153
|
}
|
|
3149
3154
|
Object.assign(this, kwargs);
|
|
3150
3155
|
}
|
|
3151
|
-
static fromProto(proto) {
|
|
3152
|
-
let m = new ImageCreated();
|
|
3153
|
-
m = Object.assign(m, proto);
|
|
3154
|
-
return m;
|
|
3155
|
-
}
|
|
3156
3156
|
toApiJson() {
|
|
3157
3157
|
const toReturn = {};
|
|
3158
3158
|
if (typeof this.url !== 'undefined') {
|
|
@@ -3165,17 +3165,17 @@ class ImageCreated {
|
|
|
3165
3165
|
}
|
|
3166
3166
|
}
|
|
3167
3167
|
class ImageUrl {
|
|
3168
|
+
static fromProto(proto) {
|
|
3169
|
+
let m = new ImageUrl();
|
|
3170
|
+
m = Object.assign(m, proto);
|
|
3171
|
+
return m;
|
|
3172
|
+
}
|
|
3168
3173
|
constructor(kwargs) {
|
|
3169
3174
|
if (!kwargs) {
|
|
3170
3175
|
return;
|
|
3171
3176
|
}
|
|
3172
3177
|
Object.assign(this, kwargs);
|
|
3173
3178
|
}
|
|
3174
|
-
static fromProto(proto) {
|
|
3175
|
-
let m = new ImageUrl();
|
|
3176
|
-
m = Object.assign(m, proto);
|
|
3177
|
-
return m;
|
|
3178
|
-
}
|
|
3179
3179
|
toApiJson() {
|
|
3180
3180
|
const toReturn = {};
|
|
3181
3181
|
if (typeof this.url !== 'undefined') {
|
|
@@ -3185,12 +3185,6 @@ class ImageUrl {
|
|
|
3185
3185
|
}
|
|
3186
3186
|
}
|
|
3187
3187
|
class MediaUploadRequest {
|
|
3188
|
-
constructor(kwargs) {
|
|
3189
|
-
if (!kwargs) {
|
|
3190
|
-
return;
|
|
3191
|
-
}
|
|
3192
|
-
Object.assign(this, kwargs);
|
|
3193
|
-
}
|
|
3194
3188
|
static fromProto(proto) {
|
|
3195
3189
|
let m = new MediaUploadRequest();
|
|
3196
3190
|
m = Object.assign(m, proto);
|
|
@@ -3199,6 +3193,12 @@ class MediaUploadRequest {
|
|
|
3199
3193
|
}
|
|
3200
3194
|
return m;
|
|
3201
3195
|
}
|
|
3196
|
+
constructor(kwargs) {
|
|
3197
|
+
if (!kwargs) {
|
|
3198
|
+
return;
|
|
3199
|
+
}
|
|
3200
|
+
Object.assign(this, kwargs);
|
|
3201
|
+
}
|
|
3202
3202
|
toApiJson() {
|
|
3203
3203
|
const toReturn = {};
|
|
3204
3204
|
if (typeof this.accessToken !== 'undefined') {
|
|
@@ -3214,17 +3214,17 @@ class MediaUploadRequest {
|
|
|
3214
3214
|
}
|
|
3215
3215
|
}
|
|
3216
3216
|
class MediaUploadResponse {
|
|
3217
|
+
static fromProto(proto) {
|
|
3218
|
+
let m = new MediaUploadResponse();
|
|
3219
|
+
m = Object.assign(m, proto);
|
|
3220
|
+
return m;
|
|
3221
|
+
}
|
|
3217
3222
|
constructor(kwargs) {
|
|
3218
3223
|
if (!kwargs) {
|
|
3219
3224
|
return;
|
|
3220
3225
|
}
|
|
3221
3226
|
Object.assign(this, kwargs);
|
|
3222
3227
|
}
|
|
3223
|
-
static fromProto(proto) {
|
|
3224
|
-
let m = new MediaUploadResponse();
|
|
3225
|
-
m = Object.assign(m, proto);
|
|
3226
|
-
return m;
|
|
3227
|
-
}
|
|
3228
3228
|
toApiJson() {
|
|
3229
3229
|
const toReturn = {};
|
|
3230
3230
|
if (typeof this.uploadUrn !== 'undefined') {
|
|
@@ -3234,12 +3234,6 @@ class MediaUploadResponse {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
}
|
|
3236
3236
|
class SocialPostOutput {
|
|
3237
|
-
constructor(kwargs) {
|
|
3238
|
-
if (!kwargs) {
|
|
3239
|
-
return;
|
|
3240
|
-
}
|
|
3241
|
-
Object.assign(this, kwargs);
|
|
3242
|
-
}
|
|
3243
3237
|
static fromProto(proto) {
|
|
3244
3238
|
let m = new SocialPostOutput();
|
|
3245
3239
|
m = Object.assign(m, proto);
|
|
@@ -3251,6 +3245,12 @@ class SocialPostOutput {
|
|
|
3251
3245
|
}
|
|
3252
3246
|
return m;
|
|
3253
3247
|
}
|
|
3248
|
+
constructor(kwargs) {
|
|
3249
|
+
if (!kwargs) {
|
|
3250
|
+
return;
|
|
3251
|
+
}
|
|
3252
|
+
Object.assign(this, kwargs);
|
|
3253
|
+
}
|
|
3254
3254
|
toApiJson() {
|
|
3255
3255
|
const toReturn = {};
|
|
3256
3256
|
if (typeof this.internalPostId !== 'undefined') {
|
|
@@ -3266,12 +3266,6 @@ class SocialPostOutput {
|
|
|
3266
3266
|
}
|
|
3267
3267
|
}
|
|
3268
3268
|
class SocialPostRequest {
|
|
3269
|
-
constructor(kwargs) {
|
|
3270
|
-
if (!kwargs) {
|
|
3271
|
-
return;
|
|
3272
|
-
}
|
|
3273
|
-
Object.assign(this, kwargs);
|
|
3274
|
-
}
|
|
3275
3269
|
static fromProto(proto) {
|
|
3276
3270
|
let m = new SocialPostRequest();
|
|
3277
3271
|
m = Object.assign(m, proto);
|
|
@@ -3280,6 +3274,12 @@ class SocialPostRequest {
|
|
|
3280
3274
|
}
|
|
3281
3275
|
return m;
|
|
3282
3276
|
}
|
|
3277
|
+
constructor(kwargs) {
|
|
3278
|
+
if (!kwargs) {
|
|
3279
|
+
return;
|
|
3280
|
+
}
|
|
3281
|
+
Object.assign(this, kwargs);
|
|
3282
|
+
}
|
|
3283
3283
|
toApiJson() {
|
|
3284
3284
|
const toReturn = {};
|
|
3285
3285
|
if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {
|
|
@@ -3289,12 +3289,6 @@ class SocialPostRequest {
|
|
|
3289
3289
|
}
|
|
3290
3290
|
}
|
|
3291
3291
|
class SocialPostResponse {
|
|
3292
|
-
constructor(kwargs) {
|
|
3293
|
-
if (!kwargs) {
|
|
3294
|
-
return;
|
|
3295
|
-
}
|
|
3296
|
-
Object.assign(this, kwargs);
|
|
3297
|
-
}
|
|
3298
3292
|
static fromProto(proto) {
|
|
3299
3293
|
let m = new SocialPostResponse();
|
|
3300
3294
|
m = Object.assign(m, proto);
|
|
@@ -3303,6 +3297,12 @@ class SocialPostResponse {
|
|
|
3303
3297
|
}
|
|
3304
3298
|
return m;
|
|
3305
3299
|
}
|
|
3300
|
+
constructor(kwargs) {
|
|
3301
|
+
if (!kwargs) {
|
|
3302
|
+
return;
|
|
3303
|
+
}
|
|
3304
|
+
Object.assign(this, kwargs);
|
|
3305
|
+
}
|
|
3306
3306
|
toApiJson() {
|
|
3307
3307
|
const toReturn = {};
|
|
3308
3308
|
if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {
|
|
@@ -3330,9 +3330,9 @@ class HostService {
|
|
|
3330
3330
|
return 'https://' + this.host;
|
|
3331
3331
|
}
|
|
3332
3332
|
}
|
|
3333
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3334
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3333
|
+
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3334
|
+
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
3335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, decorators: [{
|
|
3336
3336
|
type: Injectable,
|
|
3337
3337
|
args: [{ providedIn: 'root' }]
|
|
3338
3338
|
}] });
|
|
@@ -3392,9 +3392,9 @@ class SocialPostsApiService {
|
|
|
3392
3392
|
.pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
|
|
3393
3393
|
}
|
|
3394
3394
|
}
|
|
3395
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3396
|
-
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3397
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3395
|
+
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3396
|
+
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
|
|
3397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, decorators: [{
|
|
3398
3398
|
type: Injectable,
|
|
3399
3399
|
args: [{ providedIn: 'root' }]
|
|
3400
3400
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3433,9 +3433,9 @@ class SocialPostsService {
|
|
|
3433
3433
|
return this.socialPostsApiService.suggestMessage(req);
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
|
-
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3437
|
-
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3436
|
+
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, deps: [{ token: SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3437
|
+
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
|
|
3438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, decorators: [{
|
|
3439
3439
|
type: Injectable,
|
|
3440
3440
|
args: [{ providedIn: 'root' }]
|
|
3441
3441
|
}], ctorParameters: function () { return [{ type: SocialPostsApiService }]; } });
|
|
@@ -3479,9 +3479,9 @@ class PostTemplatesApiService {
|
|
|
3479
3479
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
3480
3480
|
}
|
|
3481
3481
|
}
|
|
3482
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3483
|
-
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3482
|
+
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3483
|
+
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
|
|
3484
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, decorators: [{
|
|
3485
3485
|
type: Injectable,
|
|
3486
3486
|
args: [{ providedIn: 'root' }]
|
|
3487
3487
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3515,9 +3515,9 @@ class HashTagsApiService {
|
|
|
3515
3515
|
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
3516
3516
|
}
|
|
3517
3517
|
}
|
|
3518
|
-
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3519
|
-
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3518
|
+
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3519
|
+
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
|
|
3520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, decorators: [{
|
|
3521
3521
|
type: Injectable,
|
|
3522
3522
|
args: [{ providedIn: 'root' }]
|
|
3523
3523
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3547,9 +3547,9 @@ class LinkedinApiService {
|
|
|
3547
3547
|
.pipe(map(resp => MediaUploadResponse.fromProto(resp)));
|
|
3548
3548
|
}
|
|
3549
3549
|
}
|
|
3550
|
-
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3551
|
-
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3552
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3550
|
+
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3551
|
+
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
|
|
3552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, decorators: [{
|
|
3553
3553
|
type: Injectable,
|
|
3554
3554
|
args: [{ providedIn: 'root' }]
|
|
3555
3555
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3598,9 +3598,9 @@ class MultilocationPostApiService {
|
|
|
3598
3598
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
3599
3599
|
}
|
|
3600
3600
|
}
|
|
3601
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3602
|
-
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3603
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3601
|
+
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3602
|
+
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
|
|
3603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, decorators: [{
|
|
3604
3604
|
type: Injectable,
|
|
3605
3605
|
args: [{ providedIn: 'root' }]
|
|
3606
3606
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3631,9 +3631,9 @@ class PartnerSocialPostsApiService {
|
|
|
3631
3631
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3635
|
-
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3634
|
+
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3635
|
+
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
|
|
3636
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
|
|
3637
3637
|
type: Injectable,
|
|
3638
3638
|
args: [{ providedIn: 'root' }]
|
|
3639
3639
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3659,9 +3659,9 @@ class PixabayImagesApiService {
|
|
|
3659
3659
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3663
|
-
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3662
|
+
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3663
|
+
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
|
|
3664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, decorators: [{
|
|
3665
3665
|
type: Injectable,
|
|
3666
3666
|
args: [{ providedIn: 'root' }]
|
|
3667
3667
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3692,9 +3692,9 @@ class PostPerformanceApiService {
|
|
|
3692
3692
|
.pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
3693
3693
|
}
|
|
3694
3694
|
}
|
|
3695
|
-
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3696
|
-
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3695
|
+
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3696
|
+
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
|
|
3697
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, decorators: [{
|
|
3698
3698
|
type: Injectable,
|
|
3699
3699
|
args: [{ providedIn: 'root' }]
|
|
3700
3700
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3730,9 +3730,9 @@ class SocialPostsV2ApiService {
|
|
|
3730
3730
|
.pipe(map(resp => ImageBlob.fromProto(resp)));
|
|
3731
3731
|
}
|
|
3732
3732
|
}
|
|
3733
|
-
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3734
|
-
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3733
|
+
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3734
|
+
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
|
|
3735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
|
|
3736
3736
|
type: Injectable,
|
|
3737
3737
|
args: [{ providedIn: 'root' }]
|
|
3738
3738
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3763,9 +3763,9 @@ class TenorGifsApiService {
|
|
|
3763
3763
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
3764
3764
|
}
|
|
3765
3765
|
}
|
|
3766
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3767
|
-
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3768
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3766
|
+
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3767
|
+
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
|
|
3768
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, decorators: [{
|
|
3769
3769
|
type: Injectable,
|
|
3770
3770
|
args: [{ providedIn: 'root' }]
|
|
3771
3771
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3838,9 +3838,9 @@ class PostTemplatesService {
|
|
|
3838
3838
|
return this.socialPostsApiService.deletePostTemplate(req);
|
|
3839
3839
|
}
|
|
3840
3840
|
}
|
|
3841
|
-
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3842
|
-
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3841
|
+
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, deps: [{ token: PostTemplatesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3842
|
+
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, providedIn: 'root' });
|
|
3843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, decorators: [{
|
|
3844
3844
|
type: Injectable,
|
|
3845
3845
|
args: [{ providedIn: 'root' }]
|
|
3846
3846
|
}], ctorParameters: function () { return [{ type: PostTemplatesApiService }]; } });
|
|
@@ -3909,9 +3909,9 @@ class MultilocationPostsService {
|
|
|
3909
3909
|
return this.multilocationApiService.getMultilocationPost(req);
|
|
3910
3910
|
}
|
|
3911
3911
|
}
|
|
3912
|
-
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3913
|
-
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3914
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3912
|
+
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, deps: [{ token: MultilocationPostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3913
|
+
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, providedIn: 'root' });
|
|
3914
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, decorators: [{
|
|
3915
3915
|
type: Injectable,
|
|
3916
3916
|
args: [{ providedIn: 'root' }]
|
|
3917
3917
|
}], ctorParameters: function () { return [{ type: MultilocationPostApiService }]; } });
|
|
@@ -3938,9 +3938,9 @@ class TenorGifsService {
|
|
|
3938
3938
|
return this.tenorGifsApiService.getTenorAnonymousId(request);
|
|
3939
3939
|
}
|
|
3940
3940
|
}
|
|
3941
|
-
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3942
|
-
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3941
|
+
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, deps: [{ token: TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3942
|
+
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
|
|
3943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, decorators: [{
|
|
3944
3944
|
type: Injectable,
|
|
3945
3945
|
args: [{ providedIn: 'root' }]
|
|
3946
3946
|
}], ctorParameters: function () { return [{ type: TenorGifsApiService }]; } });
|
|
@@ -3956,9 +3956,9 @@ class PixabayImageService {
|
|
|
3956
3956
|
return this.pixabayApiService.listPixabayImages(request);
|
|
3957
3957
|
}
|
|
3958
3958
|
}
|
|
3959
|
-
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3960
|
-
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3959
|
+
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, deps: [{ token: PixabayImagesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3960
|
+
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, providedIn: 'root' });
|
|
3961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, decorators: [{
|
|
3962
3962
|
type: Injectable,
|
|
3963
3963
|
args: [{ providedIn: 'root' }]
|
|
3964
3964
|
}], ctorParameters: function () { return [{ type: PixabayImagesApiService }]; } });
|
|
@@ -3993,9 +3993,9 @@ class HashTagsService {
|
|
|
3993
3993
|
return this.hashTagsApiService.searchHashtag(request);
|
|
3994
3994
|
}
|
|
3995
3995
|
}
|
|
3996
|
-
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3997
|
-
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3996
|
+
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, deps: [{ token: HashTagsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3997
|
+
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, providedIn: 'root' });
|
|
3998
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, decorators: [{
|
|
3999
3999
|
type: Injectable,
|
|
4000
4000
|
args: [{ providedIn: 'root' }]
|
|
4001
4001
|
}], ctorParameters: function () { return [{ type: HashTagsApiService }]; } });
|
|
@@ -4013,9 +4013,9 @@ class PostPerformanceService {
|
|
|
4013
4013
|
return this.postPerformanceApiService.generateCsvForPerformanceStats(request).pipe(map((res) => res.generatedId));
|
|
4014
4014
|
}
|
|
4015
4015
|
}
|
|
4016
|
-
PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4017
|
-
PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4018
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4016
|
+
PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, deps: [{ token: PostPerformanceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4017
|
+
PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, providedIn: 'root' });
|
|
4018
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, decorators: [{
|
|
4019
4019
|
type: Injectable,
|
|
4020
4020
|
args: [{ providedIn: 'root' }]
|
|
4021
4021
|
}], ctorParameters: function () { return [{ type: PostPerformanceApiService }]; } });
|
|
@@ -4024,6 +4024,9 @@ class SocialPostsV2Service {
|
|
|
4024
4024
|
constructor(socialpostV2ApiService) {
|
|
4025
4025
|
this.socialpostV2ApiService = socialpostV2ApiService;
|
|
4026
4026
|
}
|
|
4027
|
+
scheduleSocialPostV2(socialPost) {
|
|
4028
|
+
return this.socialpostV2ApiService.scheduleSocialPosts(socialPost);
|
|
4029
|
+
}
|
|
4027
4030
|
createImage(businessId, prompt, imageAmount = 3, size = '1024x1024') {
|
|
4028
4031
|
const req = new CreateImageRequest({ businessId: businessId, prompt: prompt, imageAmount: imageAmount, size: size, responseFormat: 'url' });
|
|
4029
4032
|
return this.socialpostV2ApiService.createImages(req);
|
|
@@ -4033,9 +4036,9 @@ class SocialPostsV2Service {
|
|
|
4033
4036
|
return this.socialpostV2ApiService.getImageByUrl(urlRequest);
|
|
4034
4037
|
}
|
|
4035
4038
|
}
|
|
4036
|
-
SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4037
|
-
SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
4038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4039
|
+
SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4040
|
+
SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
|
|
4041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, decorators: [{
|
|
4039
4042
|
type: Injectable,
|
|
4040
4043
|
args: [{ providedIn: 'root' }]
|
|
4041
4044
|
}], ctorParameters: function () { return [{ type: SocialPostsV2ApiService }]; } });
|