comet_backup_ruby_sdk 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,14 @@
7
7
 
8
8
  module Comet
9
9
 
10
+ APPLICATION_VERSION = '23.3.5'
11
+
12
+ APPLICATION_VERSION_MAJOR = 23
13
+
14
+ APPLICATION_VERSION_MINOR = 3
15
+
16
+ APPLICATION_VERSION_REVISION = 5
17
+
10
18
  # AutoRetentionLevel: The system will automatically choose how often to run an automatic Retention Pass after each backup job.
11
19
  BACKUPJOBAUTORETENTION_AUTOMATIC = 0
12
20
 
@@ -19,6 +27,163 @@ module Comet
19
27
  # AutoRetentionLevel: The system will follow the automatic ruleset for a 'Low Power' device.
20
28
  BACKUPJOBAUTORETENTION_LESS_OFTEN = 3
21
29
 
30
+ BRANDINGSTYLETYPE_AUTO_LEGACY = 0
31
+
32
+ BRANDINGSTYLETYPE_DEFAULT = 1
33
+
34
+ BRANDINGSTYLETYPE_CUSTOM_TEXT = 2
35
+
36
+ BRANDINGSTYLETYPE_CUSTOM_LOGO = 3
37
+
38
+ # ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
39
+ CLIENTBRANDINGBUILD_CUSTOM = 0
40
+
41
+ # ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
42
+ CLIENTBRANDINGBUILD_PREBUILT = 1
43
+
44
+ # CompressMode:
45
+ COMPRESS_INVALID = 0
46
+
47
+ # CompressMode:
48
+ COMPRESS_LVL_1 = 1
49
+
50
+ # CompressMode:
51
+ COMPRESS_LVL_2 = 2
52
+
53
+ # CompressMode:
54
+ COMPRESS_LVL_3 = 3
55
+
56
+ # CompressMode:
57
+ COMPRESS_LVL_4 = 4
58
+
59
+ # CompressMode:
60
+ COMPRESS_LVL_5 = 5
61
+
62
+ # CompressMode:
63
+ COMPRESS_MAX = COMPRESS_LVL_5
64
+
65
+ # CompressMode:
66
+ COMPRESS_DEFAULT = COMPRESS_LVL_4
67
+
68
+ # LanguageCode:
69
+ DEFAULT_LANGUAGE = 'en_US'
70
+
71
+ DEFAULT_TIMEZONE = 'UTC'
72
+
73
+ # SftpAuthMode:
74
+ DESTINATION_SFTP_AUTHMODE_NATIVE = 0
75
+
76
+ # SftpAuthMode:
77
+ DESTINATION_SFTP_AUTHMODE_PASSWORD = 1
78
+
79
+ # SftpAuthMode:
80
+ DESTINATION_SFTP_AUTHMODE_PRIVATEKEY = 2
81
+
82
+ DESTINATIONTYPE___INVALID = 0
83
+
84
+ DESTINATIONTYPE_S3 = 1000
85
+
86
+ DESTINATIONTYPE_SFTP = 1001
87
+
88
+ DESTINATIONTYPE_LOCALCOPY = 1002
89
+
90
+ DESTINATIONTYPE_COMET = 1003
91
+
92
+ DESTINATIONTYPE_FTP = 1004
93
+
94
+ DESTINATIONTYPE_AZUREBLOB = 1005
95
+
96
+ DESTINATIONTYPE_SPANNED = 1006
97
+
98
+ DESTINATIONTYPE_SWIFT = 1007
99
+
100
+ DESTINATIONTYPE_B2 = 1008
101
+
102
+ DESTINATIONTYPE_STORJ = 1009
103
+
104
+ DESTINATIONTYPE_LATEST = 1100
105
+
106
+ DESTINATIONTYPE_ALL = 1101
107
+
108
+ EMAIL_WORKER_STATE_NOT_STARTED = 0
109
+
110
+ EMAIL_WORKER_STATE_STARTED = 1
111
+
112
+ EMAIL_WORKER_STATE_CALCULATING = 2
113
+
114
+ EMAIL_WORKER_STATE_WAITING = 3
115
+
116
+ EMAIL_WORKER_STATE_SENDING = 4
117
+
118
+ # EmailDeliveryType:
119
+ EMAIL_DELIVERY_INHERIT = ''
120
+
121
+ # EmailDeliveryType:
122
+ EMAIL_DELIVERY_MX_DIRECT = 'builtin'
123
+
124
+ # EmailDeliveryType:
125
+ EMAIL_DELIVERY_SMTP = 'smtp'
126
+
127
+ # EmailDeliveryType:
128
+ EMAIL_DELIVERY_SMTP_SSL = 'smtp-ssl'
129
+
130
+ # EmailDeliveryType:
131
+ EMAIL_DELIVERY_DISABLED = 'disabled'
132
+
133
+ # EmailDeliveryType: Legacy alias
134
+ EMAIL_DELIVERY_BUILTIN = EMAIL_DELIVERY_MX_DIRECT
135
+
136
+ # EmailDeliveryType: changed for clarity
137
+ # @deprecated This const has been deprecated since Comet version 22.12.1
138
+ EMAIL_DELIVERY_NONE = EMAIL_DELIVERY_INHERIT
139
+
140
+ # EmailReportType:
141
+ EMAILREPORTTYPE_IMMEDIATE = 0
142
+
143
+ # EmailReportType:
144
+ EMAILREPORTTYPE_SUMMARY = 1
145
+
146
+ # EmailReportType:
147
+ EMAILREPORTTYPE_GROUPED_STATUS = 2
148
+
149
+ # EmailReportType:
150
+ EMAILREPORTTYPE_RECENT_ACTIVITY = 3
151
+
152
+ ENCRYPTIONMETHOD_UNCONFIGURED = 0
153
+
154
+ ENGINE_BUILTIN_FILE = 'engine1/file'
155
+
156
+ ENGINE_BUILTIN_STDOUT = 'engine1/stdout'
157
+
158
+ ENGINE_BUILTIN_MYSQL = 'engine1/mysql'
159
+
160
+ ENGINE_BUILTIN_SYSTEMSTATE = 'engine1/systemstate'
161
+
162
+ ENGINE_BUILTIN_MSSQL = 'engine1/mssql'
163
+
164
+ ENGINE_BUILTIN_WINDOWSSYSTEM = 'engine1/windowssystem'
165
+
166
+ ENGINE_BUILTIN_EXCHANGEEDB = 'engine1/exchangeedb'
167
+
168
+ ENGINE_BUILTIN_VSSWRITER = 'engine1/vsswriter'
169
+
170
+ ENGINE_BUILTIN_HYPERV = 'engine1/hyperv'
171
+
172
+ ENGINE_BUILTIN_WINDISK = 'engine1/windisk'
173
+
174
+ ENGINE_BUILTIN_MONGODB = 'engine1/mongodb'
175
+
176
+ ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
177
+
178
+ # FtpsModeType:
179
+ FTPS_MODE_PLAINTEXT = 0
180
+
181
+ # FtpsModeType:
182
+ FTPS_MODE_IMPLICIT = 1
183
+
184
+ # FtpsModeType:
185
+ FTPS_MODE_EXPLICIT = 2
186
+
22
187
  # JobClassification:
23
188
  JOB_CLASSIFICATION__MIN = 4000
24
189
 
@@ -115,81 +280,152 @@ module Comet
115
280
  # JobStatus:
116
281
  JOB_STATUS_FAILED__MAX = 7999
117
282
 
118
- DESTINATIONTYPE___INVALID = 0
283
+ # LDAPSecurityMethod:
284
+ LDAPSECURITYMETHOD_PLAIN = 'plain'
119
285
 
120
- DESTINATIONTYPE_S3 = 1000
286
+ # LDAPSecurityMethod:
287
+ LDAPSECURITYMETHOD_LDAPS = 'ldaps'
121
288
 
122
- DESTINATIONTYPE_SFTP = 1001
289
+ # LDAPSecurityMethod:
290
+ LDAPSECURITYMETHOD_STARTTLS = 'starttls'
123
291
 
124
- DESTINATIONTYPE_LOCALCOPY = 1002
292
+ # MacOSCodesignLevel:
293
+ MACOSCODESIGN_LEVEL_SIGN = 0
125
294
 
126
- DESTINATIONTYPE_COMET = 1003
295
+ # MacOSCodesignLevel:
296
+ MACOSCODESIGN_LEVEL_SIGN_NOTARISE = 1
127
297
 
128
- DESTINATIONTYPE_FTP = 1004
298
+ # MacOSCodesignLevel:
299
+ MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
129
300
 
130
- DESTINATIONTYPE_AZUREBLOB = 1005
301
+ MIXED_VIRTUAL_ACCOUNT_TYPE_USER = 1
131
302
 
132
- DESTINATIONTYPE_SPANNED = 1006
303
+ MIXED_VIRTUAL_ACCOUNT_TYPE_GROUP = 2
133
304
 
134
- DESTINATIONTYPE_SWIFT = 1007
305
+ MIXED_VIRTUAL_ACCOUNT_TYPE_TEAM_GROUP = 3
135
306
 
136
- DESTINATIONTYPE_B2 = 1008
307
+ MIXED_VIRTUAL_ACCOUNT_TYPE_SHAREPOINT_ONLY = 4
137
308
 
138
- DESTINATIONTYPE_STORJ = 1009
309
+ MONGODB_DEFAULT_PORT = 27_017
139
310
 
140
- DESTINATIONTYPE_LATEST = 1100
311
+ # MSSQLAuthMode:
312
+ MSSQL_AUTH_WINDOWS = 'windows'
141
313
 
142
- DESTINATIONTYPE_ALL = 1101
314
+ # MSSQLAuthMode:
315
+ MSSQL_AUTH_NATIVE = 'native'
143
316
 
144
- # EmailReportType:
145
- EMAILREPORTTYPE_IMMEDIATE = 0
317
+ # MSSQLMethod:
318
+ MSSQL_METHOD_OLEDB_NATIVE = 'OLEDB_NATIVE'
146
319
 
147
- # EmailReportType:
148
- EMAILREPORTTYPE_SUMMARY = 1
320
+ # MSSQLMethod:
321
+ MSSQL_METHOD_OLEDB_32 = 'OLEDB_32'
149
322
 
150
- # EmailReportType:
151
- EMAILREPORTTYPE_GROUPED_STATUS = 2
323
+ # MSSQLRestoreOpt:
324
+ MSSQL_RESTORE_RECOVERY = 'RECOVERY'
152
325
 
153
- # EmailReportType:
154
- EMAILREPORTTYPE_RECENT_ACTIVITY = 3
326
+ # MSSQLRestoreOpt:
327
+ MSSQL_RESTORE_NORECOVERY = 'NO_RECOVERY'
155
328
 
156
- # FtpsModeType:
157
- FTPS_MODE_PLAINTEXT = 0
329
+ OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
158
330
 
159
- # FtpsModeType:
160
- FTPS_MODE_IMPLICIT = 1
331
+ OFFICE365_REGION_CHINA = 'ChinaCloud'
161
332
 
162
- # FtpsModeType:
163
- FTPS_MODE_EXPLICIT = 2
333
+ OFFICE365_REGION_GERMANY = 'GermanCloud'
164
334
 
165
- # Severity:
166
- SEVERITY_INFO = 'I'
335
+ OFFICE365_REGION_US_GOVT = 'USGovtGccCloud'
167
336
 
168
- # Severity:
169
- SEVERITY_WARNING = 'W'
337
+ OFFICE365_REGION_US_DOD = 'USGovtGccDoDCloud'
170
338
 
171
- # Severity:
172
- SEVERITY_ERROR = 'E'
339
+ # ExtraFileExclusionOSRestriction:
340
+ OS_ANY = 0
173
341
 
174
- MONGODB_DEFAULT_PORT = 27_017
342
+ # ExtraFileExclusionOSRestriction:
343
+ OS_ONLY_WINDOWS = 1
175
344
 
176
- SERVICE_CALENDAR = 1
345
+ # ExtraFileExclusionOSRestriction:
346
+ OS_ONLY_WINDOWS_X8632 = 2
177
347
 
178
- SERVICE_CONTACT = 2
348
+ # ExtraFileExclusionOSRestriction:
349
+ OS_ONLY_WINDOWS_X8664 = 3
179
350
 
180
- SERVICE_MAIL = 4
351
+ # ExtraFileExclusionOSRestriction:
352
+ OS_ONLY_MACOS = 4
181
353
 
182
- SERVICE_SHAREPOINT = 8
354
+ # ExtraFileExclusionOSRestriction:
355
+ OS_ONLY_LINUX = 5
183
356
 
184
- SERVICE_ONEDRIVE = 16
357
+ PASSWORD_FORMAT_PLAINTEXT = 0
185
358
 
186
- MIXED_VIRTUAL_ACCOUNT_TYPE_USER = 1
359
+ # PSAType:
360
+ PSA_TYPE_GENERIC = 0
187
361
 
188
- MIXED_VIRTUAL_ACCOUNT_TYPE_GROUP = 2
362
+ # PSAType:
363
+ PSA_TYPE_GRADIENT = 1
189
364
 
190
- MIXED_VIRTUAL_ACCOUNT_TYPE_TEAM_GROUP = 3
365
+ RELEASE_CODENAME = 'Voyager'
191
366
 
192
- MIXED_VIRTUAL_ACCOUNT_TYPE_SHAREPOINT_ONLY = 4
367
+ # RemoteServerType:
368
+ REMOTESERVER_COMET = 'comet'
369
+
370
+ # RemoteServerType:
371
+ REMOTESERVER_LDAP = 'ldap'
372
+
373
+ # RemoteServerType:
374
+ REMOTESERVER_B2 = 'b2'
375
+
376
+ # RemoteServerType:
377
+ REMOTESERVER_WASABI = 'wasabi'
378
+
379
+ # RemoteServerType:
380
+ REMOTESERVER_CUSTOM = 'custom'
381
+
382
+ # RemoteServerType:
383
+ REMOTESERVER_S3_GENERIC = 's3'
384
+
385
+ # RemoteServerType:
386
+ REMOTESERVER_AWS = 'aws'
387
+
388
+ # RemoteServerType:
389
+ REMOTESERVER_STORJ = 'storj'
390
+
391
+ # RemoteServerType:
392
+ REMOTESERVER_IDRIVEE2 = 'idrivee2'
393
+
394
+ # ReplicatorState:
395
+ REPLICATOR_STATE_NONE = 0
396
+
397
+ # ReplicatorState:
398
+ REPLICATOR_STATE_FILE_LIST_WORKER_STARTED = 1
399
+
400
+ # ReplicatorState:
401
+ REPLICATOR_STATE_FILE_LIST_SYNC_RUNNING = 2
402
+
403
+ # ReplicatorState:
404
+ REPLICATOR_STATE_FILE_LIST_SYNC_FINISHED = 4
405
+
406
+ # ReplicatorState:
407
+ REPLICATOR_STATE_WORKERS_STARTED = 8
408
+
409
+ # ReplicatorDisplayClass:
410
+ REPLICATOR_DISPLAYCLASS_STORAGE = 100
411
+
412
+ # ReplicatorDisplayClass:
413
+ REPLICATOR_DISPLAYCLASS_USER = 101
414
+
415
+ # RestoreArchiveFormat:
416
+ RESTOREARCHIVEFORMAT_TAR = 0
417
+
418
+ # RestoreArchiveFormat:
419
+ RESTOREARCHIVEFORMAT_TARGZ = 1
420
+
421
+ # RestoreArchiveFormat:
422
+ RESTOREARCHIVEFORMAT_ZIP = 2
423
+
424
+ # RestoreArchiveFormat: SquashFS container
425
+ RESTOREARCHIVEFORMAT_SQFS = 3
426
+
427
+ # RestoreArchiveFormat:
428
+ RESTOREARCHIVEFORMAT_TARZSTD = 4
193
429
 
194
430
  # RestoreType:
195
431
  RESTORETYPE_INVALID = -1
@@ -233,21 +469,6 @@ module Comet
233
469
  # RestoreType: RESTORETYPE_PROCESS_ARCHIVE
234
470
  RESTORETYPE_PROCESS_TARBALL = 3
235
471
 
236
- # RestoreArchiveFormat:
237
- RESTOREARCHIVEFORMAT_TAR = 0
238
-
239
- # RestoreArchiveFormat:
240
- RESTOREARCHIVEFORMAT_TARGZ = 1
241
-
242
- # RestoreArchiveFormat:
243
- RESTOREARCHIVEFORMAT_ZIP = 2
244
-
245
- # RestoreArchiveFormat: SquashFS container
246
- RESTOREARCHIVEFORMAT_SQFS = 3
247
-
248
- # RestoreArchiveFormat:
249
- RESTOREARCHIVEFORMAT_TARZSTD = 4
250
-
251
472
  # RetentionMode: If this mode is set in a RetentionPolicy, then RetentionPolicy.Ranges should be ignored.
252
473
  RETENTIONMODE_KEEP_EVERYTHING = 801
253
474
 
@@ -292,24 +513,6 @@ module Comet
292
513
 
293
514
  RETENTIONRANGE_MAXINT = 1_125_899_906_842_624
294
515
 
295
- # SftpAuthMode:
296
- DESTINATION_SFTP_AUTHMODE_NATIVE = 0
297
-
298
- # SftpAuthMode:
299
- DESTINATION_SFTP_AUTHMODE_PASSWORD = 1
300
-
301
- # SftpAuthMode:
302
- DESTINATION_SFTP_AUTHMODE_PRIVATEKEY = 2
303
-
304
- # SSHAuthMode:
305
- SSHCONNECTION_AUTHMODE__INVALID = 0
306
-
307
- # SSHAuthMode:
308
- SSHCONNECTION_AUTHMODE_PASSWORD = 1
309
-
310
- # SSHAuthMode: n.b. change values
311
- SSHCONNECTION_AUTHMODE_PRIVATEKEY = 2
312
-
313
516
  SCHEDULE_FREQUENCY_LOWEST = 8010
314
517
 
315
518
  # epoch time
@@ -338,47 +541,142 @@ module Comet
338
541
  # 2^50 (1 << 50)
339
542
  SCHEDULE_MAXINT = 1_125_899_906_842_624
340
543
 
341
- ENGINE_BUILTIN_FILE = 'engine1/file'
544
+ # SearchClauseType:
545
+ SEARCHCLAUSE_RULE = ''
342
546
 
343
- ENGINE_BUILTIN_STDOUT = 'engine1/stdout'
547
+ # SearchClauseType:
548
+ SEARCHCLAUSE_AND = 'and'
344
549
 
345
- ENGINE_BUILTIN_MYSQL = 'engine1/mysql'
550
+ # SearchClauseType:
551
+ SEARCHCLAUSE_OR = 'or'
346
552
 
347
- ENGINE_BUILTIN_SYSTEMSTATE = 'engine1/systemstate'
553
+ # SearchClauseType:
554
+ SEARCHCLAUSE_NOT_AND = 'not_and'
348
555
 
349
- ENGINE_BUILTIN_MSSQL = 'engine1/mssql'
556
+ # SearchClauseType:
557
+ SEARCHCLAUSE_NOT_OR = 'not_or'
350
558
 
351
- ENGINE_BUILTIN_WINDOWSSYSTEM = 'engine1/windowssystem'
559
+ SEARCHOPERATOR_STRING_EQ = 'str_eq'
352
560
 
353
- ENGINE_BUILTIN_EXCHANGEEDB = 'engine1/exchangeedb'
561
+ SEARCHOPERATOR_STRING_NEQ = 'str_neq'
354
562
 
355
- ENGINE_BUILTIN_VSSWRITER = 'engine1/vsswriter'
563
+ SEARCHOPERATOR_STRING_CONTAINS = 'str_contains'
356
564
 
357
- ENGINE_BUILTIN_HYPERV = 'engine1/hyperv'
565
+ SEARCHOPERATOR_STRING_NCONTAINS = 'str_ncontains'
358
566
 
359
- ENGINE_BUILTIN_WINDISK = 'engine1/windisk'
567
+ SEARCHOPERATOR_STRING_STARTSWITH = 'str_startswith'
360
568
 
361
- ENGINE_BUILTIN_MONGODB = 'engine1/mongodb'
569
+ SEARCHOPERATOR_STRING_NSTARTSWITH = 'str_nstartswith'
362
570
 
363
- ENGINE_BUILTIN_MSOFFICE = 'engine1/winmsofficemail'
571
+ SEARCHOPERATOR_STRING_ENDSWITH = 'str_endswith'
364
572
 
365
- # MSSQLAuthMode:
366
- MSSQL_AUTH_WINDOWS = 'windows'
573
+ SEARCHOPERATOR_STRING_NENDSWITH = 'str_nendswith'
367
574
 
368
- # MSSQLAuthMode:
369
- MSSQL_AUTH_NATIVE = 'native'
575
+ SEARCHOPERATOR_STRING_EQ_CI = 'str_eq_ci'
370
576
 
371
- # MSSQLMethod:
372
- MSSQL_METHOD_OLEDB_NATIVE = 'OLEDB_NATIVE'
577
+ SEARCHOPERATOR_STRING_NEQ_CI = 'str_neq_ci'
373
578
 
374
- # MSSQLMethod:
375
- MSSQL_METHOD_OLEDB_32 = 'OLEDB_32'
579
+ SEARCHOPERATOR_STRING_CONTAINS_CI = 'str_contains_ci'
376
580
 
377
- # MSSQLRestoreOpt:
378
- MSSQL_RESTORE_RECOVERY = 'RECOVERY'
581
+ SEARCHOPERATOR_STRING_NCONTAINS_CI = 'str_ncontains_ci'
379
582
 
380
- # MSSQLRestoreOpt:
381
- MSSQL_RESTORE_NORECOVERY = 'NO_RECOVERY'
583
+ SEARCHOPERATOR_STRING_STARTSWITH_CI = 'str_startswith_ci'
584
+
585
+ SEARCHOPERATOR_STRING_NSTARTSWITH_CI = 'str_nstartswith_ci'
586
+
587
+ SEARCHOPERATOR_STRING_ENDSWITH_CI = 'str_endswith_ci'
588
+
589
+ SEARCHOPERATOR_STRING_NENDSWITH_CI = 'str_nendswith_ci'
590
+
591
+ SEARCHOPERATOR_STRING_REGEXMATCH = 'str_regexmatch'
592
+
593
+ SEARCHOPERATOR_STRING_NREGEXMATCH = 'str_nregexmatch'
594
+
595
+ SEARCHOPERATOR_INT_EQ = 'int_eq'
596
+
597
+ SEARCHOPERATOR_INT_NEQ = 'int_neq'
598
+
599
+ SEARCHOPERATOR_INT_GT = 'int_gt'
600
+
601
+ SEARCHOPERATOR_INT_GTE = 'int_gte'
602
+
603
+ SEARCHOPERATOR_INT_LT = 'int_lt'
604
+
605
+ SEARCHOPERATOR_INT_LTE = 'int_lte'
606
+
607
+ SEARCHOPERATOR_BOOL_IS = 'bool_is'
608
+
609
+ SEARCHOPERATOR_BOOL_NIS = 'bool_nis'
610
+
611
+ SERVICE_CALENDAR = 1
612
+
613
+ SERVICE_CONTACT = 2
614
+
615
+ SERVICE_MAIL = 4
616
+
617
+ SERVICE_SHAREPOINT = 8
618
+
619
+ SERVICE_ONEDRIVE = 16
620
+
621
+ # DefaultSettingMode:
622
+ SETTING_SYSTEM_DEFAULT = 0
623
+
624
+ # DefaultSettingMode:
625
+ SETTING_OPTIONAL_DEFAULT_ON = 1
626
+
627
+ # DefaultSettingMode:
628
+ SETTING_OPTIONAL_DEFAULT_OFF = 2
629
+
630
+ # DefaultSettingMode:
631
+ SETTING_ENFORCED_ON = 3
632
+
633
+ # DefaultSettingMode:
634
+ SETTING_ENFORCED_OFF = 4
635
+
636
+ # Severity:
637
+ SEVERITY_INFO = 'I'
638
+
639
+ # Severity:
640
+ SEVERITY_WARNING = 'W'
641
+
642
+ # Severity:
643
+ SEVERITY_ERROR = 'E'
644
+
645
+ # StreamableEventType:
646
+ SEVT__MIN = 4000
647
+
648
+ # StreamableEventType: Event is emitted when the webhook is registered, or when the server starts up. The Data associated is ServerMetaVersionInfo
649
+ SEVT_META_HELLO = 4000
650
+
651
+ # StreamableEventType: Data is the profile object
652
+ SEVT_ACCOUNT_NEW = 4100
653
+
654
+ # StreamableEventType: Data is the username
655
+ SEVT_ACCOUNT_REMOVED = 4101
656
+
657
+ # StreamableEventType: Data is the profile object
658
+ SEVT_ACCOUNT_UPDATED = 4102
659
+
660
+ # StreamableEventType:
661
+ SEVT_JOB_NEW = 4200
662
+
663
+ # StreamableEventType:
664
+ SEVT_JOB_COMPLETED = 4201
665
+
666
+ # StreamableEventType: Data is the string bucket ref
667
+ SEVT_BUCKET_NEW = 4300
668
+
669
+ # StreamableEventType:
670
+ SEVT__MAX = 4999
671
+
672
+ # SSHAuthMode:
673
+ SSHCONNECTION_AUTHMODE__INVALID = 0
674
+
675
+ # SSHAuthMode:
676
+ SSHCONNECTION_AUTHMODE_PASSWORD = 1
677
+
678
+ # SSHAuthMode: n.b. change values
679
+ SSHCONNECTION_AUTHMODE_PRIVATEKEY = 2
382
680
 
383
681
  # StoredObjectType:
384
682
  STOREDOBJECTTYPE_FILE = 'file'
@@ -458,78 +756,34 @@ module Comet
458
756
  # StoredObjectType:
459
757
  STOREDOBJECTTYPE_VHDX_MBR_PARTITION = 'vhdxpartitionmbr'
460
758
 
461
- # ExtraFileExclusionOSRestriction:
462
- OS_ANY = 0
759
+ TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
463
760
 
464
- # ExtraFileExclusionOSRestriction:
465
- OS_ONLY_WINDOWS = 1
761
+ # UpdateStatus:
762
+ UPDATESTATUS_NOT_SEEN = 0
466
763
 
467
- # ExtraFileExclusionOSRestriction:
468
- OS_ONLY_WINDOWS_X8632 = 2
764
+ # UpdateStatus:
765
+ UPDATESTATUS_INELIGIBLE = 1
469
766
 
470
- # ExtraFileExclusionOSRestriction:
471
- OS_ONLY_WINDOWS_X8664 = 3
767
+ # UpdateStatus:
768
+ UPDATESTATUS_PENDING = 2
472
769
 
473
- # ExtraFileExclusionOSRestriction:
474
- OS_ONLY_MACOS = 4
770
+ # UpdateStatus:
771
+ UPDATESTATUS_REQUEST_MADE = 3
475
772
 
476
- # ExtraFileExclusionOSRestriction:
477
- OS_ONLY_LINUX = 5
478
-
479
- # DefaultSettingMode:
480
- SETTING_SYSTEM_DEFAULT = 0
481
-
482
- # DefaultSettingMode:
483
- SETTING_OPTIONAL_DEFAULT_ON = 1
484
-
485
- # DefaultSettingMode:
486
- SETTING_OPTIONAL_DEFAULT_OFF = 2
487
-
488
- # DefaultSettingMode:
489
- SETTING_ENFORCED_ON = 3
490
-
491
- # DefaultSettingMode:
492
- SETTING_ENFORCED_OFF = 4
493
-
494
- # LanguageCode:
495
- DEFAULT_LANGUAGE = 'en_US'
496
-
497
- DEFAULT_TIMEZONE = 'UTC'
498
-
499
- APPLICATION_VERSION = '23.3.1'
500
-
501
- APPLICATION_VERSION_MAJOR = 23
502
-
503
- APPLICATION_VERSION_MINOR = 3
504
-
505
- APPLICATION_VERSION_REVISION = 1
506
-
507
- RELEASE_CODENAME = 'Voyager'
508
-
509
- ENCRYPTIONMETHOD_UNCONFIGURED = 0
773
+ # UpdateStatus: Device reconnected with bad version
774
+ UPDATESTATUS_UPDATE_FAILED = 4
510
775
 
511
- PASSWORD_FORMAT_PLAINTEXT = 0
776
+ # UpdateStatus:
777
+ UPDATESTATUS_UPDATE_CONFIRMED = 5
512
778
 
513
779
  UNKNOWN_DEVICE_ERROR = 'ERR_UNKNOWN_DEVICE'
514
780
 
515
- TOTPREQUIRED_ERROR = 'ERR_TOTP_REQUIRED'
781
+ UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
516
782
 
517
783
  UNSUPPORT_VMDK_FILE_SYSTEM = 'ERR_UNSUPPORT_VMDK_FILE_SYSTEM'
518
784
 
519
- UNSUPPORT_VHDX_FILE_SYSTEM = 'ERR_UNSUPPORT_VHDX_FILE_SYSTEM'
520
-
521
785
  VHDX_PARTITON_READ_ERR_MSG = 'ERR_VHDX_PARTITION'
522
786
 
523
- EMAIL_WORKER_STATE_NOT_STARTED = 0
524
-
525
- EMAIL_WORKER_STATE_STARTED = 1
526
-
527
- EMAIL_WORKER_STATE_CALCULATING = 2
528
-
529
- EMAIL_WORKER_STATE_WAITING = 3
530
-
531
- EMAIL_WORKER_STATE_SENDING = 4
532
-
533
787
  # WebAuthnDeviceType:
534
788
  WEBAUTHN_DEVICE_TYPE__UNKNOWN = 0
535
789
 
@@ -551,170 +805,6 @@ module Comet
551
805
  # WebAuthnDeviceType:
552
806
  WEBAUTHN_DEVICE_TYPE__TPM_LINUX = 6
553
807
 
554
- # UpdateStatus:
555
- UPDATESTATUS_NOT_SEEN = 0
556
-
557
- # UpdateStatus:
558
- UPDATESTATUS_INELIGIBLE = 1
559
-
560
- # UpdateStatus:
561
- UPDATESTATUS_PENDING = 2
562
-
563
- # UpdateStatus:
564
- UPDATESTATUS_REQUEST_MADE = 3
565
-
566
- # UpdateStatus: Device reconnected with bad version
567
- UPDATESTATUS_UPDATE_FAILED = 4
568
-
569
- # UpdateStatus:
570
- UPDATESTATUS_UPDATE_CONFIRMED = 5
571
-
572
- # ReplicatorState:
573
- REPLICATOR_STATE_NONE = 0
574
-
575
- # ReplicatorState:
576
- REPLICATOR_STATE_FILE_LIST_WORKER_STARTED = 1
577
-
578
- # ReplicatorState:
579
- REPLICATOR_STATE_FILE_LIST_SYNC_RUNNING = 2
580
-
581
- # ReplicatorState:
582
- REPLICATOR_STATE_FILE_LIST_SYNC_FINISHED = 4
583
-
584
- # ReplicatorState:
585
- REPLICATOR_STATE_WORKERS_STARTED = 8
586
-
587
- # ReplicatorDisplayClass:
588
- REPLICATOR_DISPLAYCLASS_STORAGE = 100
589
-
590
- # ReplicatorDisplayClass:
591
- REPLICATOR_DISPLAYCLASS_USER = 101
592
-
593
- # SearchClauseType:
594
- SEARCHCLAUSE_RULE = ''
595
-
596
- # SearchClauseType:
597
- SEARCHCLAUSE_AND = 'and'
598
-
599
- # SearchClauseType:
600
- SEARCHCLAUSE_OR = 'or'
601
-
602
- # SearchClauseType:
603
- SEARCHCLAUSE_NOT_AND = 'not_and'
604
-
605
- # SearchClauseType:
606
- SEARCHCLAUSE_NOT_OR = 'not_or'
607
-
608
- SEARCHOPERATOR_STRING_EQ = 'str_eq'
609
-
610
- SEARCHOPERATOR_STRING_NEQ = 'str_neq'
611
-
612
- SEARCHOPERATOR_STRING_CONTAINS = 'str_contains'
613
-
614
- SEARCHOPERATOR_STRING_NCONTAINS = 'str_ncontains'
615
-
616
- SEARCHOPERATOR_STRING_STARTSWITH = 'str_startswith'
617
-
618
- SEARCHOPERATOR_STRING_NSTARTSWITH = 'str_nstartswith'
619
-
620
- SEARCHOPERATOR_STRING_ENDSWITH = 'str_endswith'
621
-
622
- SEARCHOPERATOR_STRING_NENDSWITH = 'str_nendswith'
623
-
624
- SEARCHOPERATOR_STRING_EQ_CI = 'str_eq_ci'
625
-
626
- SEARCHOPERATOR_STRING_NEQ_CI = 'str_neq_ci'
627
-
628
- SEARCHOPERATOR_STRING_CONTAINS_CI = 'str_contains_ci'
629
-
630
- SEARCHOPERATOR_STRING_NCONTAINS_CI = 'str_ncontains_ci'
631
-
632
- SEARCHOPERATOR_STRING_STARTSWITH_CI = 'str_startswith_ci'
633
-
634
- SEARCHOPERATOR_STRING_NSTARTSWITH_CI = 'str_nstartswith_ci'
635
-
636
- SEARCHOPERATOR_STRING_ENDSWITH_CI = 'str_endswith_ci'
637
-
638
- SEARCHOPERATOR_STRING_NENDSWITH_CI = 'str_nendswith_ci'
639
-
640
- SEARCHOPERATOR_STRING_REGEXMATCH = 'str_regexmatch'
641
-
642
- SEARCHOPERATOR_STRING_NREGEXMATCH = 'str_nregexmatch'
643
-
644
- SEARCHOPERATOR_INT_EQ = 'int_eq'
645
-
646
- SEARCHOPERATOR_INT_NEQ = 'int_neq'
647
-
648
- SEARCHOPERATOR_INT_GT = 'int_gt'
649
-
650
- SEARCHOPERATOR_INT_GTE = 'int_gte'
651
-
652
- SEARCHOPERATOR_INT_LT = 'int_lt'
653
-
654
- SEARCHOPERATOR_INT_LTE = 'int_lte'
655
-
656
- SEARCHOPERATOR_BOOL_IS = 'bool_is'
657
-
658
- SEARCHOPERATOR_BOOL_NIS = 'bool_nis'
659
-
660
- # EmailDeliveryType:
661
- EMAIL_DELIVERY_INHERIT = ''
662
-
663
- # EmailDeliveryType:
664
- EMAIL_DELIVERY_MX_DIRECT = 'builtin'
665
-
666
- # EmailDeliveryType:
667
- EMAIL_DELIVERY_SMTP = 'smtp'
668
-
669
- # EmailDeliveryType:
670
- EMAIL_DELIVERY_SMTP_SSL = 'smtp-ssl'
671
-
672
- # EmailDeliveryType:
673
- EMAIL_DELIVERY_DISABLED = 'disabled'
674
-
675
- # EmailDeliveryType: Legacy alias
676
- EMAIL_DELIVERY_BUILTIN = EMAIL_DELIVERY_MX_DIRECT
677
-
678
- # EmailDeliveryType: changed for clarity
679
- # @deprecated This const has been deprecated since Comet version 22.12.1
680
- EMAIL_DELIVERY_NONE = EMAIL_DELIVERY_INHERIT
681
-
682
- # RemoteServerType:
683
- REMOTESERVER_COMET = 'comet'
684
-
685
- # RemoteServerType:
686
- REMOTESERVER_LDAP = 'ldap'
687
-
688
- # RemoteServerType:
689
- REMOTESERVER_B2 = 'b2'
690
-
691
- # RemoteServerType:
692
- REMOTESERVER_WASABI = 'wasabi'
693
-
694
- # RemoteServerType:
695
- REMOTESERVER_CUSTOM = 'custom'
696
-
697
- # RemoteServerType:
698
- REMOTESERVER_S3_GENERIC = 's3'
699
-
700
- # RemoteServerType:
701
- REMOTESERVER_AWS = 'aws'
702
-
703
- # RemoteServerType:
704
- REMOTESERVER_STORJ = 'storj'
705
-
706
- # RemoteServerType:
707
- REMOTESERVER_IDRIVEE2 = 'idrivee2'
708
-
709
- # LDAPSecurityMethod:
710
- LDAPSECURITYMETHOD_PLAIN = 'plain'
711
-
712
- # LDAPSecurityMethod:
713
- LDAPSECURITYMETHOD_LDAPS = 'ldaps'
714
-
715
- # LDAPSecurityMethod:
716
- LDAPSECURITYMETHOD_STARTTLS = 'starttls'
717
-
718
808
  # WindowsCodesignMethod: When upgrading from a version of Comet Server prior to 22.12.7, this option will be automatically converted to a more specific type..
719
809
  # @deprecated This const has been deprecated since Comet version 22.12.7
720
810
  WINDOWSCODESIGN_METHOD_AUTO = 0
@@ -731,86 +821,4 @@ module Comet
731
821
  # WindowsCodesignMethod:
732
822
  WINDOWSCODESIGN_METHOD_AZUREKEYVAULT = 4
733
823
 
734
- # MacOSCodesignLevel:
735
- MACOSCODESIGN_LEVEL_SIGN = 0
736
-
737
- # MacOSCodesignLevel:
738
- MACOSCODESIGN_LEVEL_SIGN_NOTARISE = 1
739
-
740
- # MacOSCodesignLevel:
741
- MACOSCODESIGN_LEVEL_SIGN_NOTARISE_STAPLE = 2
742
-
743
- # ClientBrandingBuildMode: Public-Doc: The software client will be custom-built by this Comet Server, allowing custom branding, default server URL, and codesigning.
744
- CLIENTBRANDINGBUILD_CUSTOM = 0
745
-
746
- # ClientBrandingBuildMode: Public-Doc: A pre-built software client will be served, with Comet-branding, no server URL, and Comet codesigning.
747
- CLIENTBRANDINGBUILD_PREBUILT = 1
748
-
749
- # StreamableEventType:
750
- SEVT__MIN = 4000
751
-
752
- # StreamableEventType: Event is emitted when the webhook is registered, or when the server starts up. The Data associated is ServerMetaVersionInfo
753
- SEVT_META_HELLO = 4000
754
-
755
- # StreamableEventType: Data is the profile object
756
- SEVT_ACCOUNT_NEW = 4100
757
-
758
- # StreamableEventType: Data is the username
759
- SEVT_ACCOUNT_REMOVED = 4101
760
-
761
- # StreamableEventType: Data is the profile object
762
- SEVT_ACCOUNT_UPDATED = 4102
763
-
764
- # StreamableEventType:
765
- SEVT_JOB_NEW = 4200
766
-
767
- # StreamableEventType:
768
- SEVT_JOB_COMPLETED = 4201
769
-
770
- # StreamableEventType: Data is the string bucket ref
771
- SEVT_BUCKET_NEW = 4300
772
-
773
- # StreamableEventType:
774
- SEVT__MAX = 4999
775
-
776
- # PSAType:
777
- PSA_TYPE_GENERIC = 0
778
-
779
- # PSAType:
780
- PSA_TYPE_GRADIENT = 1
781
-
782
- # CompressMode:
783
- COMPRESS_INVALID = 0
784
-
785
- # CompressMode:
786
- COMPRESS_LVL_1 = 1
787
-
788
- # CompressMode:
789
- COMPRESS_LVL_2 = 2
790
-
791
- # CompressMode:
792
- COMPRESS_LVL_3 = 3
793
-
794
- # CompressMode:
795
- COMPRESS_LVL_4 = 4
796
-
797
- # CompressMode:
798
- COMPRESS_LVL_5 = 5
799
-
800
- # CompressMode:
801
- COMPRESS_MAX = COMPRESS_LVL_5
802
-
803
- # CompressMode:
804
- COMPRESS_DEFAULT = COMPRESS_LVL_4
805
-
806
- OFFICE365_REGION_PUBLIC = 'GlobalPublicCloud'
807
-
808
- OFFICE365_REGION_CHINA = 'ChinaCloud'
809
-
810
- OFFICE365_REGION_GERMANY = 'GermanCloud'
811
-
812
- OFFICE365_REGION_US_GOVT = 'USGovtGccCloud'
813
-
814
- OFFICE365_REGION_US_DOD = 'USGovtGccDoDCloud'
815
-
816
824
  end