@@ -30,10 +30,10 @@ const configuration = Sendbird.createConfiguration();
30
30
const apiInstance = new Sendbird .AnnouncementApi (configuration );
31
31
32
32
let body: Sendbird .AnnouncementApiGetDetailedOpenRateOfAnnouncementGroupRequest = {
33
- // string
34
- apiToken: " {{API_TOKEN}}" ,
35
33
// string
36
34
announcementGroup: " announcement_group_example" ,
35
+ // string (optional)
36
+ apiToken: " {{API_TOKEN}}" ,
37
37
};
38
38
39
39
apiInstance .getDetailedOpenRateOfAnnouncementGroup (body ).then ((data : any ) => {
@@ -46,8 +46,8 @@ apiInstance.getDetailedOpenRateOfAnnouncementGroup(body).then((data:any) => {
46
46
47
47
Name | Type | Description | Notes
48
48
------------- | ------------- | ------------- | -------------
49
- ** apiToken** | [ ** string** ] | | defaults to undefined
50
49
** announcementGroup** | [ ** string** ] | | defaults to undefined
50
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
51
51
52
52
53
53
### Return type
@@ -87,7 +87,7 @@ const configuration = Sendbird.createConfiguration();
87
87
const apiInstance = new Sendbird .AnnouncementApi (configuration );
88
88
89
89
let body: Sendbird .AnnouncementApiGetStatisticsRequest = {
90
- // string
90
+ // string (optional)
91
91
apiToken: " {{API_TOKEN}}" ,
92
92
};
93
93
@@ -101,7 +101,7 @@ apiInstance.getStatistics(body).then((data:any) => {
101
101
102
102
Name | Type | Description | Notes
103
103
------------- | ------------- | ------------- | -------------
104
- ** apiToken** | [ ** string** ] | | defaults to undefined
104
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
105
105
106
106
107
107
### Return type
@@ -141,8 +141,6 @@ const configuration = Sendbird.createConfiguration();
141
141
const apiInstance = new Sendbird .AnnouncementApi (configuration );
142
142
143
143
let body: Sendbird .AnnouncementApiGetStatisticsDailyRequest = {
144
- // string
145
- apiToken: " {{API_TOKEN}}" ,
146
144
// string
147
145
startDate: " start_date_example" ,
148
146
// string
@@ -156,6 +154,8 @@ let body:Sendbird.AnnouncementApiGetStatisticsDailyRequest = {
156
154
// string
157
155
endMonth: " end_month_example" ,
158
156
// string (optional)
157
+ apiToken: " {{API_TOKEN}}" ,
158
+ // string (optional)
159
159
announcementGroup: " announcement_group_example" ,
160
160
};
161
161
@@ -169,13 +169,13 @@ apiInstance.getStatisticsDaily(body).then((data:any) => {
169
169
170
170
Name | Type | Description | Notes
171
171
------------- | ------------- | ------------- | -------------
172
- ** apiToken** | [ ** string** ] | | defaults to undefined
173
172
** startDate** | [ ** string** ] | | defaults to undefined
174
173
** endDate** | [ ** string** ] | | defaults to undefined
175
174
** startWeek** | [ ** string** ] | | defaults to undefined
176
175
** endWeek** | [ ** string** ] | | defaults to undefined
177
176
** startMonth** | [ ** string** ] | | defaults to undefined
178
177
** endMonth** | [ ** string** ] | | defaults to undefined
178
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
179
179
** announcementGroup** | [ ** string** ] | | (optional) defaults to undefined
180
180
181
181
@@ -216,7 +216,7 @@ const configuration = Sendbird.createConfiguration();
216
216
const apiInstance = new Sendbird .AnnouncementApi (configuration );
217
217
218
218
let body: Sendbird .AnnouncementApiGetStatisticsMonthlyRequest = {
219
- // string
219
+ // string (optional)
220
220
apiToken: " {{API_TOKEN}}" ,
221
221
};
222
222
@@ -230,7 +230,7 @@ apiInstance.getStatisticsMonthly(body).then((data:any) => {
230
230
231
231
Name | Type | Description | Notes
232
232
------------- | ------------- | ------------- | -------------
233
- ** apiToken** | [ ** string** ] | | defaults to undefined
233
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
234
234
235
235
236
236
### Return type
@@ -270,7 +270,7 @@ const configuration = Sendbird.createConfiguration();
270
270
const apiInstance = new Sendbird .AnnouncementApi (configuration );
271
271
272
272
let body: Sendbird .AnnouncementApiListAnnouncementGroupsRequest = {
273
- // string
273
+ // string (optional)
274
274
apiToken: " {{API_TOKEN}}" ,
275
275
// string (optional)
276
276
token: " token_example" ,
@@ -288,7 +288,7 @@ apiInstance.listAnnouncementGroups(body).then((data:any) => {
288
288
289
289
Name | Type | Description | Notes
290
290
------------- | ------------- | ------------- | -------------
291
- ** apiToken** | [ ** string** ] | | defaults to undefined
291
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
292
292
** token** | [ ** string** ] | | (optional) defaults to undefined
293
293
** limit** | [ ** number** ] | | (optional) defaults to undefined
294
294
@@ -330,7 +330,7 @@ const configuration = Sendbird.createConfiguration();
330
330
const apiInstance = new Sendbird .AnnouncementApi (configuration );
331
331
332
332
let body: Sendbird .AnnouncementApiScheduleAnnouncementRequest = {
333
- // string
333
+ // string (optional)
334
334
apiToken: " {{API_TOKEN}}" ,
335
335
// ScheduleAnnouncementData (optional)
336
336
scheduleAnnouncementData: {
@@ -378,7 +378,7 @@ apiInstance.scheduleAnnouncement(body).then((data:any) => {
378
378
Name | Type | Description | Notes
379
379
------------- | ------------- | ------------- | -------------
380
380
** scheduleAnnouncementData** | ** ScheduleAnnouncementData** | |
381
- ** apiToken** | [ ** string** ] | | defaults to undefined
381
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
382
382
383
383
384
384
### Return type
@@ -418,10 +418,10 @@ const configuration = Sendbird.createConfiguration();
418
418
const apiInstance = new Sendbird .AnnouncementApi (configuration );
419
419
420
420
let body: Sendbird .AnnouncementApiUpdateAnnouncementByIdRequest = {
421
- // string
422
- apiToken: " {{API_TOKEN}}" ,
423
421
// string
424
422
uniqueId: " unique_id_example" ,
423
+ // string (optional)
424
+ apiToken: " {{API_TOKEN}}" ,
425
425
// UpdateAnnouncementByIdData (optional)
426
426
updateAnnouncementByIdData: {
427
427
uniqueId: " uniqueId_example" ,
@@ -455,8 +455,8 @@ apiInstance.updateAnnouncementById(body).then((data:any) => {
455
455
Name | Type | Description | Notes
456
456
------------- | ------------- | ------------- | -------------
457
457
** updateAnnouncementByIdData** | ** UpdateAnnouncementByIdData** | |
458
- ** apiToken** | [ ** string** ] | | defaults to undefined
459
458
** uniqueId** | [ ** string** ] | | defaults to undefined
459
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
460
460
461
461
462
462
### Return type
@@ -496,10 +496,10 @@ const configuration = Sendbird.createConfiguration();
496
496
const apiInstance = new Sendbird .AnnouncementApi (configuration );
497
497
498
498
let body: Sendbird .AnnouncementApiViewAnnouncementByIdRequest = {
499
- // string
500
- apiToken: " {{API_TOKEN}}" ,
501
499
// string
502
500
uniqueId: " unique_id_example" ,
501
+ // string (optional)
502
+ apiToken: " {{API_TOKEN}}" ,
503
503
};
504
504
505
505
apiInstance .viewAnnouncementById (body ).then ((data : any ) => {
@@ -512,8 +512,8 @@ apiInstance.viewAnnouncementById(body).then((data:any) => {
512
512
513
513
Name | Type | Description | Notes
514
514
------------- | ------------- | ------------- | -------------
515
- ** apiToken** | [ ** string** ] | | defaults to undefined
516
515
** uniqueId** | [ ** string** ] | | defaults to undefined
516
+ ** apiToken** | [ ** string** ] | | (optional) defaults to undefined
517
517
518
518
519
519
### Return type
0 commit comments