/
enums.go
658 lines (573 loc) · 18 KB
/
enums.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
// Code generated by smithy-go-codegen DO NOT EDIT.
package types
type EndpointTypesElement string
// Enum values for EndpointTypesElement
const (
EndpointTypesElementPush EndpointTypesElement = "PUSH"
EndpointTypesElementGcm EndpointTypesElement = "GCM"
EndpointTypesElementApns EndpointTypesElement = "APNS"
EndpointTypesElementApnsSandbox EndpointTypesElement = "APNS_SANDBOX"
EndpointTypesElementApnsVoip EndpointTypesElement = "APNS_VOIP"
EndpointTypesElementApnsVoipSandbox EndpointTypesElement = "APNS_VOIP_SANDBOX"
EndpointTypesElementAdm EndpointTypesElement = "ADM"
EndpointTypesElementSms EndpointTypesElement = "SMS"
EndpointTypesElementVoice EndpointTypesElement = "VOICE"
EndpointTypesElementEmail EndpointTypesElement = "EMAIL"
EndpointTypesElementBaidu EndpointTypesElement = "BAIDU"
EndpointTypesElementCustom EndpointTypesElement = "CUSTOM"
EndpointTypesElementInApp EndpointTypesElement = "IN_APP"
)
// Values returns all known values for EndpointTypesElement. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (EndpointTypesElement) Values() []EndpointTypesElement {
return []EndpointTypesElement{
"PUSH",
"GCM",
"APNS",
"APNS_SANDBOX",
"APNS_VOIP",
"APNS_VOIP_SANDBOX",
"ADM",
"SMS",
"VOICE",
"EMAIL",
"BAIDU",
"CUSTOM",
"IN_APP",
}
}
type TimezoneEstimationMethodsElement string
// Enum values for TimezoneEstimationMethodsElement
const (
TimezoneEstimationMethodsElementPhoneNumber TimezoneEstimationMethodsElement = "PHONE_NUMBER"
TimezoneEstimationMethodsElementPostalCode TimezoneEstimationMethodsElement = "POSTAL_CODE"
)
// Values returns all known values for TimezoneEstimationMethodsElement. Note that
// this can be expanded in the future, and so it is only as up to date as the
// client. The ordering of this slice is not guaranteed to be stable across
// updates.
func (TimezoneEstimationMethodsElement) Values() []TimezoneEstimationMethodsElement {
return []TimezoneEstimationMethodsElement{
"PHONE_NUMBER",
"POSTAL_CODE",
}
}
type Action string
// Enum values for Action
const (
ActionOpenApp Action = "OPEN_APP"
ActionDeepLink Action = "DEEP_LINK"
ActionUrl Action = "URL"
)
// Values returns all known values for Action. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Action) Values() []Action {
return []Action{
"OPEN_APP",
"DEEP_LINK",
"URL",
}
}
type Alignment string
// Enum values for Alignment
const (
AlignmentLeft Alignment = "LEFT"
AlignmentCenter Alignment = "CENTER"
AlignmentRight Alignment = "RIGHT"
)
// Values returns all known values for Alignment. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (Alignment) Values() []Alignment {
return []Alignment{
"LEFT",
"CENTER",
"RIGHT",
}
}
type AttributeType string
// Enum values for AttributeType
const (
AttributeTypeInclusive AttributeType = "INCLUSIVE"
AttributeTypeExclusive AttributeType = "EXCLUSIVE"
AttributeTypeContains AttributeType = "CONTAINS"
AttributeTypeBefore AttributeType = "BEFORE"
AttributeTypeAfter AttributeType = "AFTER"
AttributeTypeOn AttributeType = "ON"
AttributeTypeBetween AttributeType = "BETWEEN"
)
// Values returns all known values for AttributeType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (AttributeType) Values() []AttributeType {
return []AttributeType{
"INCLUSIVE",
"EXCLUSIVE",
"CONTAINS",
"BEFORE",
"AFTER",
"ON",
"BETWEEN",
}
}
type ButtonAction string
// Enum values for ButtonAction
const (
ButtonActionLink ButtonAction = "LINK"
ButtonActionDeepLink ButtonAction = "DEEP_LINK"
ButtonActionClose ButtonAction = "CLOSE"
)
// Values returns all known values for ButtonAction. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (ButtonAction) Values() []ButtonAction {
return []ButtonAction{
"LINK",
"DEEP_LINK",
"CLOSE",
}
}
type CampaignStatus string
// Enum values for CampaignStatus
const (
CampaignStatusScheduled CampaignStatus = "SCHEDULED"
CampaignStatusExecuting CampaignStatus = "EXECUTING"
CampaignStatusPendingNextRun CampaignStatus = "PENDING_NEXT_RUN"
CampaignStatusCompleted CampaignStatus = "COMPLETED"
CampaignStatusPaused CampaignStatus = "PAUSED"
CampaignStatusDeleted CampaignStatus = "DELETED"
CampaignStatusInvalid CampaignStatus = "INVALID"
)
// Values returns all known values for CampaignStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (CampaignStatus) Values() []CampaignStatus {
return []CampaignStatus{
"SCHEDULED",
"EXECUTING",
"PENDING_NEXT_RUN",
"COMPLETED",
"PAUSED",
"DELETED",
"INVALID",
}
}
type ChannelType string
// Enum values for ChannelType
const (
ChannelTypePush ChannelType = "PUSH"
ChannelTypeGcm ChannelType = "GCM"
ChannelTypeApns ChannelType = "APNS"
ChannelTypeApnsSandbox ChannelType = "APNS_SANDBOX"
ChannelTypeApnsVoip ChannelType = "APNS_VOIP"
ChannelTypeApnsVoipSandbox ChannelType = "APNS_VOIP_SANDBOX"
ChannelTypeAdm ChannelType = "ADM"
ChannelTypeSms ChannelType = "SMS"
ChannelTypeVoice ChannelType = "VOICE"
ChannelTypeEmail ChannelType = "EMAIL"
ChannelTypeBaidu ChannelType = "BAIDU"
ChannelTypeCustom ChannelType = "CUSTOM"
ChannelTypeInApp ChannelType = "IN_APP"
)
// Values returns all known values for ChannelType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (ChannelType) Values() []ChannelType {
return []ChannelType{
"PUSH",
"GCM",
"APNS",
"APNS_SANDBOX",
"APNS_VOIP",
"APNS_VOIP_SANDBOX",
"ADM",
"SMS",
"VOICE",
"EMAIL",
"BAIDU",
"CUSTOM",
"IN_APP",
}
}
type DayOfWeek string
// Enum values for DayOfWeek
const (
DayOfWeekMonday DayOfWeek = "MONDAY"
DayOfWeekTuesday DayOfWeek = "TUESDAY"
DayOfWeekWednesday DayOfWeek = "WEDNESDAY"
DayOfWeekThursday DayOfWeek = "THURSDAY"
DayOfWeekFriday DayOfWeek = "FRIDAY"
DayOfWeekSaturday DayOfWeek = "SATURDAY"
DayOfWeekSunday DayOfWeek = "SUNDAY"
)
// Values returns all known values for DayOfWeek. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (DayOfWeek) Values() []DayOfWeek {
return []DayOfWeek{
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY",
}
}
type DeliveryStatus string
// Enum values for DeliveryStatus
const (
DeliveryStatusSuccessful DeliveryStatus = "SUCCESSFUL"
DeliveryStatusThrottled DeliveryStatus = "THROTTLED"
DeliveryStatusTemporaryFailure DeliveryStatus = "TEMPORARY_FAILURE"
DeliveryStatusPermanentFailure DeliveryStatus = "PERMANENT_FAILURE"
DeliveryStatusUnknownFailure DeliveryStatus = "UNKNOWN_FAILURE"
DeliveryStatusOptOut DeliveryStatus = "OPT_OUT"
DeliveryStatusDuplicate DeliveryStatus = "DUPLICATE"
)
// Values returns all known values for DeliveryStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DeliveryStatus) Values() []DeliveryStatus {
return []DeliveryStatus{
"SUCCESSFUL",
"THROTTLED",
"TEMPORARY_FAILURE",
"PERMANENT_FAILURE",
"UNKNOWN_FAILURE",
"OPT_OUT",
"DUPLICATE",
}
}
type DimensionType string
// Enum values for DimensionType
const (
DimensionTypeInclusive DimensionType = "INCLUSIVE"
DimensionTypeExclusive DimensionType = "EXCLUSIVE"
)
// Values returns all known values for DimensionType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (DimensionType) Values() []DimensionType {
return []DimensionType{
"INCLUSIVE",
"EXCLUSIVE",
}
}
type Duration string
// Enum values for Duration
const (
DurationHr24 Duration = "HR_24"
DurationDay7 Duration = "DAY_7"
DurationDay14 Duration = "DAY_14"
DurationDay30 Duration = "DAY_30"
)
// Values returns all known values for Duration. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Duration) Values() []Duration {
return []Duration{
"HR_24",
"DAY_7",
"DAY_14",
"DAY_30",
}
}
type FilterType string
// Enum values for FilterType
const (
FilterTypeSystem FilterType = "SYSTEM"
FilterTypeEndpoint FilterType = "ENDPOINT"
)
// Values returns all known values for FilterType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (FilterType) Values() []FilterType {
return []FilterType{
"SYSTEM",
"ENDPOINT",
}
}
type Format string
// Enum values for Format
const (
FormatCsv Format = "CSV"
FormatJson Format = "JSON"
)
// Values returns all known values for Format. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Format) Values() []Format {
return []Format{
"CSV",
"JSON",
}
}
type Frequency string
// Enum values for Frequency
const (
FrequencyOnce Frequency = "ONCE"
FrequencyHourly Frequency = "HOURLY"
FrequencyDaily Frequency = "DAILY"
FrequencyWeekly Frequency = "WEEKLY"
FrequencyMonthly Frequency = "MONTHLY"
FrequencyEvent Frequency = "EVENT"
FrequencyInAppEvent Frequency = "IN_APP_EVENT"
)
// Values returns all known values for Frequency. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (Frequency) Values() []Frequency {
return []Frequency{
"ONCE",
"HOURLY",
"DAILY",
"WEEKLY",
"MONTHLY",
"EVENT",
"IN_APP_EVENT",
}
}
type Include string
// Enum values for Include
const (
IncludeAll Include = "ALL"
IncludeAny Include = "ANY"
IncludeNone Include = "NONE"
)
// Values returns all known values for Include. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Include) Values() []Include {
return []Include{
"ALL",
"ANY",
"NONE",
}
}
type JobStatus string
// Enum values for JobStatus
const (
JobStatusCreated JobStatus = "CREATED"
JobStatusPreparingForInitialization JobStatus = "PREPARING_FOR_INITIALIZATION"
JobStatusInitializing JobStatus = "INITIALIZING"
JobStatusProcessing JobStatus = "PROCESSING"
JobStatusPendingJob JobStatus = "PENDING_JOB"
JobStatusCompleting JobStatus = "COMPLETING"
JobStatusCompleted JobStatus = "COMPLETED"
JobStatusFailing JobStatus = "FAILING"
JobStatusFailed JobStatus = "FAILED"
)
// Values returns all known values for JobStatus. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (JobStatus) Values() []JobStatus {
return []JobStatus{
"CREATED",
"PREPARING_FOR_INITIALIZATION",
"INITIALIZING",
"PROCESSING",
"PENDING_JOB",
"COMPLETING",
"COMPLETED",
"FAILING",
"FAILED",
}
}
type JourneyRunStatus string
// Enum values for JourneyRunStatus
const (
JourneyRunStatusScheduled JourneyRunStatus = "SCHEDULED"
JourneyRunStatusRunning JourneyRunStatus = "RUNNING"
JourneyRunStatusCompleted JourneyRunStatus = "COMPLETED"
JourneyRunStatusCancelled JourneyRunStatus = "CANCELLED"
)
// Values returns all known values for JourneyRunStatus. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (JourneyRunStatus) Values() []JourneyRunStatus {
return []JourneyRunStatus{
"SCHEDULED",
"RUNNING",
"COMPLETED",
"CANCELLED",
}
}
type Layout string
// Enum values for Layout
const (
LayoutBottomBanner Layout = "BOTTOM_BANNER"
LayoutTopBanner Layout = "TOP_BANNER"
LayoutOverlays Layout = "OVERLAYS"
LayoutMobileFeed Layout = "MOBILE_FEED"
LayoutMiddleBanner Layout = "MIDDLE_BANNER"
LayoutCarousel Layout = "CAROUSEL"
)
// Values returns all known values for Layout. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Layout) Values() []Layout {
return []Layout{
"BOTTOM_BANNER",
"TOP_BANNER",
"OVERLAYS",
"MOBILE_FEED",
"MIDDLE_BANNER",
"CAROUSEL",
}
}
type MessageType string
// Enum values for MessageType
const (
MessageTypeTransactional MessageType = "TRANSACTIONAL"
MessageTypePromotional MessageType = "PROMOTIONAL"
)
// Values returns all known values for MessageType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (MessageType) Values() []MessageType {
return []MessageType{
"TRANSACTIONAL",
"PROMOTIONAL",
}
}
type Mode string
// Enum values for Mode
const (
ModeDelivery Mode = "DELIVERY"
ModeFilter Mode = "FILTER"
)
// Values returns all known values for Mode. Note that this can be expanded in the
// future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Mode) Values() []Mode {
return []Mode{
"DELIVERY",
"FILTER",
}
}
type Operator string
// Enum values for Operator
const (
OperatorAll Operator = "ALL"
OperatorAny Operator = "ANY"
)
// Values returns all known values for Operator. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Operator) Values() []Operator {
return []Operator{
"ALL",
"ANY",
}
}
type RecencyType string
// Enum values for RecencyType
const (
RecencyTypeActive RecencyType = "ACTIVE"
RecencyTypeInactive RecencyType = "INACTIVE"
)
// Values returns all known values for RecencyType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (RecencyType) Values() []RecencyType {
return []RecencyType{
"ACTIVE",
"INACTIVE",
}
}
type SegmentType string
// Enum values for SegmentType
const (
SegmentTypeDimensional SegmentType = "DIMENSIONAL"
SegmentTypeImport SegmentType = "IMPORT"
)
// Values returns all known values for SegmentType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (SegmentType) Values() []SegmentType {
return []SegmentType{
"DIMENSIONAL",
"IMPORT",
}
}
type SourceType string
// Enum values for SourceType
const (
SourceTypeAll SourceType = "ALL"
SourceTypeAny SourceType = "ANY"
SourceTypeNone SourceType = "NONE"
)
// Values returns all known values for SourceType. Note that this can be expanded
// in the future, and so it is only as up to date as the client. The ordering of
// this slice is not guaranteed to be stable across updates.
func (SourceType) Values() []SourceType {
return []SourceType{
"ALL",
"ANY",
"NONE",
}
}
type State string
// Enum values for State
const (
StateDraft State = "DRAFT"
StateActive State = "ACTIVE"
StateCompleted State = "COMPLETED"
StateCancelled State = "CANCELLED"
StateClosed State = "CLOSED"
StatePaused State = "PAUSED"
)
// Values returns all known values for State. Note that this can be expanded in
// the future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (State) Values() []State {
return []State{
"DRAFT",
"ACTIVE",
"COMPLETED",
"CANCELLED",
"CLOSED",
"PAUSED",
}
}
type TemplateType string
// Enum values for TemplateType
const (
TemplateTypeEmail TemplateType = "EMAIL"
TemplateTypeSms TemplateType = "SMS"
TemplateTypeVoice TemplateType = "VOICE"
TemplateTypePush TemplateType = "PUSH"
TemplateTypeInapp TemplateType = "INAPP"
)
// Values returns all known values for TemplateType. Note that this can be
// expanded in the future, and so it is only as up to date as the client. The
// ordering of this slice is not guaranteed to be stable across updates.
func (TemplateType) Values() []TemplateType {
return []TemplateType{
"EMAIL",
"SMS",
"VOICE",
"PUSH",
"INAPP",
}
}
type Type string
// Enum values for Type
const (
TypeAll Type = "ALL"
TypeAny Type = "ANY"
TypeNone Type = "NONE"
)
// Values returns all known values for Type. Note that this can be expanded in the
// future, and so it is only as up to date as the client. The ordering of this
// slice is not guaranteed to be stable across updates.
func (Type) Values() []Type {
return []Type{
"ALL",
"ANY",
"NONE",
}
}