forked from erwinel/sn_typings_server_scoped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GlideScriptable.d.ts
5752 lines (5232 loc) · 340 KB
/
GlideScriptable.d.ts
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
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/// <reference path="$$rhino.d.ts" />
/// <reference path="global.d.ts" />
/// <reference path="Packages.d.ts" />
/**
* The action API enables handling data for URLs in a UI action script.
* @see {@link https://docs.servicenow.com/bundle/vancouver-api-reference/page/app-store/dev_portal/API_reference/Action/concept/ActionAPIBoth.html}
* @todo See if {@link Action} exists as an object
*/
declare interface GlideActionURL {
/**
* Gets a GlideURI object to determine the user view.
* @return {GlideURI} GlideURI object representing the URI parameter of the user view.
*/
getGlideURI(): GlideURI;
/**
* Gets the URL of the return page in view after a UI action is complete.
* @return {string} URL of the return page in view after a UI action is complete.
*/
getReturnURL(): string;
/**
* Gets the value of a URL parameter.
* @param {string} parameterName - Name of the URL parameter name to be queried for the URL parameter value.
* @return {string} URL parameter value or undefined if not found.
* @example
* action.getURLParameter('sysparm_query');
*/
getURLParameter(parameterName: string): string | undefined;
/**
* Opens a page with a GlideRecord in the user view.
* @param {GlideRecord} gr - GlideRecord of the page to be opened in the user view.
*/
openGlideRecord(gr: GlideRecord): void;
/**
* Indicates whether to enable or disable pop-up windows on the page in the current view.
* @param {boolean} noPop - Flag indicating whether to enable or disable pop-up windows on the page, where true disables pop-up windows.
*/
setNoPop(noPop: boolean): void;
/**
* Sets the redirect URI for this transaction, which determines the next page the user sees.
* @param {(string | GlideRecord)} url - URL or GlideRecord to set as the redirect.
*/
setRedirectURL(url: string | GlideRecord): void;
/**
* Sets the return URI for this transaction after a UI action is complete. You can use this method to determine what page the user has in view when they return from submit.
* @param {(string | GlideRecord)} url - URI to set as the return location after a UI action is complete.
*/
setReturnURL(url: string | GlideRecord): void;
/**
* Sets a URL parameter name and value.
* @param {string} parameterName - Name of the URL parameter.
* @param {string} parameterValue - Value of the parameter.
* @example
* action.setURLParameter('sysparm_query', 'priority=2^active=true');
*/
setURLParameter(parameterName: string, parameterValue: string): void;
}
/**
* Enables handling data for URLs in a UI action script.
* Use the action API to configure UI actions with which users can interact. Use these scripts in the UI Action [sys_ui_action] table. For information, see UI actions.
* Methods for this API are referred to by the variable name 'action' in any server-side JavaScript.
* @class Action
* @implements {Packages.com.glide.script.fencing.ScopedAction}
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/sandiego/server/no-namespace/ActionAPIBoth}
* @see {@link https://docs.servicenow.com/bundle/rome-application-development/page/app-store/dev_portal/API_reference/Action/concept/ActionAPIBoth.html}
*/
declare class Action implements Packages.com.glide.script.fencing.ScopedAction {
/**
* Gets a GlideURI object to determine the user view.
* @return {GlideURI} GlideURI object representing the URI parameter of the user view.
*/
getGlideURI(): GlideURI;
/**
* Gets the URL of the return page in view after a UI action is complete.
* @return {$$rhino.String} URL of the return page in view after a UI action is complete.
*/
getReturnURL(): $$rhino.String;
/**
* Gets the value of a URL parameter.
* @param {$$rhino.String} parameterName - Name of the URL parameter name to be queried for the URL parameter value.
* @return {$$rhino.String} URL parameter value.
*/
getURLParameter(parameterName: $$rhino.String): $$rhino.String;
/**
* Opens a page with a GlideRecord in the user view.
* @param {GlideRecord} gr - GlideRecord of the page to be opened in the user view.
*/
openGlideRecord(gr: GlideRecord): void;
/**
* Indicates whether to enable or disable pop-up windows on the page in the current view.
* @param {$$rhino.Boolean} noPop - True: Disables pop-up windows; false: (default) Enables pop-up windows.
*/
setNoPop(noPop: $$rhino.Boolean): void;
/**
* Sets the redirect URI for this transaction, which determines the next page the user sees.
* @param {(string | GlideRecord)} url - URL to set as the redirect. You can provide the URL as a string or a GlideRecord.
* If you pass the URL as a GlideRecord, this value takes the focus to that record's form.
*/
setRedirectURL(url: string | GlideRecord): void;
/**
* Sets the return URI for this transaction after a UI action is complete. You can use this method to determine what page the user has in view when they return from submit.
* @param {(string | GlideRecord)} url - URI to set as the return location after a UI action is complete. You can provide the URL as a string or a GlideRecord.
*/
setReturnURL(url: string | GlideRecord): void;
/**
* Sets a URL parameter name and value.
* @param {$$rhino.String} parameterName - Name of the URL parameter.
* @param {$$rhino.String} parameterValue - Value of the parameter.
*/
setURLParameter(parameterName: $$rhino.String, parameterValue: $$rhino.String): void;
toString(): $$rhino.String;
equals(obj: object): $$rhino.Boolean;
hashCode(): $$rhino.Number;
}
/**
* APIs available for encrypting certificates in scoped applications.
* Use these methods to generate a hash for the certificate, sign data using a private key, and generate a message authentication code.
* @class CertificateEncryption
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_CertificateEncryptionScopedAPI}
*/
declare class CertificateEncryption implements Packages.com.glide.sys.security.CertificateEncryption {
constructor();
/**
* Generates the Message Authentication Code (MAC), which is used to authenticate a message.
* @param {$$rhino.String} key - Key to use to sign the message. Must be Base64 encoded.
* @param {EncryptionAlgorithmHashType} algorithm - Algorithm to use to generate the MAC: HmacSHA256, HmacSHA1, HmacMD5, and so on.
* @param {$$rhino.String} data - Data to process.
* @return {$$rhino.String} MAC in base64 format.
*/
generateMac(key: $$rhino.String, algorithm: EncryptionAlgorithmHashType, data: $$rhino.String): $$rhino.String;
/**
* Generates a hash (SHA-1, SHA-256, and so on) for the certificate from Trust Store Cert.
* @param {$$rhino.String} certificateID - sys_id of the certificate record in the X.509 Certificate [sys_certificate] table.
* @param {EncryptionAlgorithmHashType} algorithm - Algorithm to use to create the hash, such as SHA-1, SHA-256, and so on.
* @return {$$rhino.String} Thumbprint in base64 format.
*/
getThumbPrint(certificateID: $$rhino.String, algorithm: EncryptionAlgorithmHashType): $$rhino.String;
/**
* Generates a hash (SHA-1, SHA-256, and so on) for the certificate from the keystore entry.
* @param {$$rhino.String} certificateID - sys_id of the certificate record in the X.509 Certificate [sys_certificate] table.
* @param {$$rhino.String} alias - Alias name for the certificate.
* @param {EncryptionAlgorithmHashType} algorithm - Algorithm to use to create the hash, such as SHA-1, SHA-256, and so on.
* @return {$$rhino.String} Thumbprint in base64 format.
*/
getThumbPrintFromKeystore(certificateID: $$rhino.String, alias: $$rhino.String, algorithm: EncryptionAlgorithmHashType): $$rhino.String;
/**
* Signs the data using the private key and the specified algorithm.
* @param {$$rhino.String} certificateID - sys_id of the certificate record in the X.509 Certificate [sys_certificate] table.
* @param {$$rhino.String} alias - Private key name.
* @param {$$rhino.String} aliaspassword - Password for the private key.
* @param {EncryptionAlgorithmSignType} algorithm - Algorithm to use, such as SHA-1, SHA-256, and so on.
* @param {$$rhino.String} datatosign -
* @return {$$rhino.String}
*/
sign(certificateID: $$rhino.String, alias: $$rhino.String, aliaspassword: $$rhino.String, algorithm: EncryptionAlgorithmSignType, datatosign: $$rhino.String): $$rhino.String;
equals(obj: object): $$rhino.Boolean;
hashCode(): $$rhino.Number;
toString(): $$rhino.String;
}
/**
* A FlowScriptAPI object allows you to access Flow Designer context details from script steps and inline scripts.
* You cannot instantiate objects of this type. Objects of this type are created automatically and are accessible only in script steps and inline scripts.
* @class FlowScriptAPI
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/FlowScriptAPI}
*/
declare class FlowScriptAPI {
private constructor();
/**
* Returns the context ID of the running flow.
* @static
* @return {$$rhino.String} The sys_id of the running flow.
*/
static getContextID(): $$rhino.String;
}
/**
* The scoped GlideUser API provides access to information about the current user and current user roles. Using the scoped GlideUser API avoids the need to use the slower GlideRecord queries to get user information.
* @class GlideUser
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_GlideUserScopedAPI}
*/
declare class GlideUser implements Packages.com.glide.script.fencing.ScopedUser {
/**
* Returns the current user's company sys_id.
* @returns {string} Company sys_id.
* @description
*/
getCompanyID(): string;
/**
* Returns the current user's display name.
* @returns {string} User's display name.
* @description
*/
getDisplayName(): string;
/**
* Returns the display value of the user's session domain.
* @returns {string} The display value of the user's session domain.
* @description
*/
getDomainDisplayValue(): string;
/**
* Returns the user's email address.
* @returns {string} User's email address.
* @description
*/
getEmail(): string;
/**
* Returns the user's first name.
* @returns {string} User's first name.
* @description
*/
getFirstName(): string;
/**
* Returns the sys_id of the current user.
* @returns {string} User's sys_id.
* @description
*/
getID(): string;
/**
* Returns the user's last name.
* @returns {string} User's last name.
* @description
*/
getLastName(): string;
/**
* Returns an iterator containing the list of all groups to which the user belongs. Only active groups are returned.
* @returns {Packages.java.util.Iterator<$$rhino.String>} A list of sys_ids for the active groups to which the user belongs.
* @description
*/
getMyGroups(): Packages.java.util.Iterator<$$rhino.String>;
/**
* Returns the user ID, or login name, of the current user.
* @returns {string} User ID or login name.
* @description
*/
getName(): string;
/**
* Returns a list of roles that includes explicitly granted roles, inherited roles, and roles acquired by group membership.
* @returns {Array<*>} List of all roles available to the user.
* @description
*/
getRoles(): any[];
/**
* Returns the user object associated with the passed-in user ID (sys_id in sys_user) or user_name.
* @param {string} id - Unique ID (sys_id) or user_name of the desired user record.
* @returns {*} User object associated with the specified sys_id or user_name.
*/
getUserByID(id: string): any;
/**
* Returns the list of roles explicitly granted to the user.
* @returns {Array<*>} List of roles explicitly assigned to the user.
* @description
*/
getUserRoles(): any[];
/**
* Determines if the current user has the specified role.
* @param {string} role - Role to check
* @returns {boolean} True if the user has the role.
* @description
*/
hasRole(role: string): boolean;
/**
* Determines if the current user is a member of the specified group.
* @param {string} group - Group to check
* @returns {boolean} True if the user is a member of the group.
* @description
*/
isMemberOf(group: string): boolean;
equals(obj: object): $$rhino.Boolean;
hashCode(): $$rhino.Number;
toString(): $$rhino.String;
// TODO: Implement getCompanyID from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getDisplayName from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getEmail from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getFirstName from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getID from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getLastName from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getMyGroups from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getName from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user info)
// TODO: Implement getPreference from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user preferences)
// TODO: Implement getRoles from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user roles and groups)
// TODO: Implement getUserRoles from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user roles and groups)
// TODO: Implement hasRole from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user roles and groups)
// TODO: Implement isMemberOf from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user roles and groups)
// TODO: Implement savePreference from com.glide.script.fencing.ScopedUser under com.glide.script.fencing.ScopedUser (category: user preferences)
}
/**
* The scoped GlideSession API provides a way to find information about the current session.
* @class GlideSession
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_GlideSessionScopedAPI}
*/
declare class GlideSession implements Packages.com.glide.script.fencing.ScopedGlideSession {
/**
* Retrieves a session client value previously set with
* putClientData().
* @param paramName Name of the client data to retrieve.
*/
getClientData(paramName: string): string;
/**
* Returns the client IP address.
*/
getClientIP(): string;
/**
* Returns the application currently selected in the application picker.
*/
getCurrentApplicationId(): string;
/**
* Returns the session's language code.
*/
getLanguage(): string;
/**
* Returns the session token.
*/
getSessionToken(): string;
/**
* Returns the name of the session's time zone.
*/
getTimeZoneName(): string;
/**
* Returns the URL on the stack. Returns null if the stack is empty.
*/
getUrlOnStack(): string;
/**
* Returns true if the user is impersonating another user.
*/
isImpersonating(): boolean;
/**
* Returns true if the session is interactive.
*/
isInteractive(): boolean;
/**
* Returns true if the user is logged in.
*/
isLoggedIn(): boolean;
/**
* Sets a session client value that can be retrieved with
* getClientData(). This method is used in a server side script that runs when
* a form is created.
* @param paramName Name of the client data to set.
* @param paramValue Value of the client data.
*/
putClientData(paramName: string, paramValue: string): void;
equals(obj: object): $$rhino.Boolean;
hashCode(): $$rhino.Number;
toString(): $$rhino.String;
// TODO: Implement getClientData from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getClientIP from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getCurrentApplicationId from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getLanguage from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getSessionToken from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getTimeZoneName from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement getUrlOnStack from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement isImpersonating from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement isInteractive from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement isLoggedIn from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
// TODO: Implement putClientData from com.glide.script.fencing.ScopedGlideSession under com.glide.script.fencing.ScopedGlideSession (category: user sessions)
}
/**
* The scoped GlideSystem (referred to by the variable name 'gs' in any server-side JavaScript) API provides a number of convenient methods to get information about the system, the current logged in user, etc.
* @class GlideSystem
* @see {@link https://developer.servicenow.com/dev.do#!/reference/api/rome/server/no-namespace/c_GlideSystemScopedAPI}
*/
declare class GlideSystem implements Packages.com.glide.script.fencing.ScopedGlideSystem {
protected constructor();
/**
* Adds an error message for the current session.
* @param {*} message - The message to add.
*/
addErrorMessage(message: any): void;
/**
* Adds an info message for the current session. This method is not supported for asynchronous business rules.
* @param {*} message - An info message object.
*/
addInfoMessage(message: any): void;
/**
* Returns an ASCII string from the specified base64 string.
* @param {string} source - A base64 encoded string.
* @returns {string} The decoded string.
*/
base64Decode(source: string): string;
/**
* Creates a base64 string from the specified string.
* @param {string} source - The string to be encoded.
* @returns {string} The base64 string.
*/
base64Encode(source: string): string;
/**
* Returns the date and time for the beginning of last month in GMT.
* @returns {string} GMT beginning of last month, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfLastMonth(): string;
/**
* Returns the date and time for the beginning of last week in GMT.
* @returns {string} GMT beginning of last week, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfLastWeek(): string;
/**
* Returns the date and time for the beginning of next month in GMT.
* @returns {string} GMT beginning of next month, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfNextMonth(): string;
/**
* Returns the date and time for the beginning of next week in GMT.
* @returns {string} The GMT beginning of next week, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfNextWeek(): string;
/**
* Returns the date and time for the beginning of next year in GMT.
* @returns {string} GMT beginning of next year, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfNextYear(): string;
/**
* Returns the date and time for the beginning of this month in GMT.
* @returns {string} GMT beginning of this month, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfThisMonth(): string;
/**
* Returns the date and time for the beginning of this quarter in GMT.
* @returns {string} GMT beginning of this quarter, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfThisQuarter(): string;
/**
* Returns the date and time for the beginning of this week in GMT.
* @returns {string} GMT beginning of this week, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfThisWeek(): string;
/**
* Returns the date and time for the beginning of this year in GMT.
* @returns {string} GMT beginning of this year, in the format yyyy-mm-dd hh:mm:ss.
*/
beginningOfThisYear(): string;
/**
* Generates a date and time for the specified date in GMT.
* @param {string} date - Format: yyyy-mm-dd
* @param {string} range - Start, end, or a time in the 24 hour format hh:mm:ss.
* @returns {string} A date and time in the format yyyy-mm-dd hh:mm:ss. If range is start, the returned value is yyyy-mm-dd 00:00:00; If range is end the return value is yyyy-mm-dd 23:59:59.
*/
dateGenerate(date: string, range: string): string;
/**
* Returns the date and time for a specified number of days ago.
* @param {number} days - Integer number of days
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
daysAgo(days: number): string;
/**
* Returns the date and time for the end of the day a specified number of days ago.
* @param {number} days - Integer number of days
* @returns {string} GMT end of the day in the format yyyy-mm-dd hh:mm:ss.
*/
daysAgoEnd(days: number): string;
/**
* Returns the date and time for the beginning of the day a specified number of days ago.
* @param {number} days - Integer number of days
* @returns {string} GMT start of the day in the format yyyy-mm-dd hh:mm:ss.
*/
daysAgoStart(days: number): string;
/**
* Writes a debug message to the system log.
* @param {*} message - The log message.
*/
debug(message: any): void;
/**
* Writes a debug message to the system log.
* @param {string} message - The log message with place holders for any variable arguments.
* @param {*} param1 - First variable argument.
* @param {*} [param2] - Second variable argument.
* @param {*} [param3] - Third variable argument.
* @param {*} [param4] - Fourth variable argument.
* @param {*} [param5] - Fifth variable argument.
*/
debug(message: string, param1: any, param2?: any, param3?: any, param4?: any, param5?: any): void;
/**
* Returns the date and time for the end of last month in GMT.
* @returns {string} GMT end of last month, in the format yyyy-mm-dd hh:mm:ss.
*/
endOfLastMonth(): string;
/**
* Returns the date and time for the end of last week in GMT.
* @returns {string} GMT end of last week, in the format yyyy-mm-dd hh:mm:ss.
*/
endOfLastWeek(): string;
/**
* Returns the date and time for the end of last year in GMT.
* @returns {string} GMT in format yyyy-mm-dd hh:mm:ss.
*/
endOfLastYear(): string;
/**
* Returns the date and time for the end of next month in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfNextMonth(): string;
/**
* Returns the date and time for the end of next week in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfNextWeek(): string;
/**
* Returns the date and time for the end of next year in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfNextYear(): string;
/**
* Returns the date and time for the end of this month in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfThisMonth(): string;
/**
* Returns the date and time for the end of this quarter in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfThisQuarter(): string;
/**
* Returns the date and time for the end of this week in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfThisWeek(): string;
/**
* Returns the date and time for the end of this year in GMT.
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
endOfThisYear(): string;
/**
* Writes an error message to the system log.
* @param {*} message - The log message.
*/
error(message: any): void;
/**
* Writes an error message to the system log.
* @param {string} message - The log message with place holders for any variable arguments.
* @param {*} param1 - First variable argument.
* @param {*} [param2] - Second variable argument.
* @param {*} [param3] - Third variable argument.
* @param {*} [param4] - Fourth variable argument.
* @param {*} [param5] - Fifth variable argument.
* @description
*/
error(message: string, param1: any, param2?: any, param3?: any, param4?: any, param5?: any): void;
/**
* Queues an event for the event manager.
* @param {string} name - Name of the event being queued.
* @param {*} instance - GlideRecord object, such as "current".
* @param {string} [parm1] - Saved with the instance if specified.
* @param {string} [parm2] - Saved with the instance if specified.
* @param {string} [queue] - Name of the queue.
*/
eventQueue(name: string, instance: any, parm1?: string, parm2?: string, queue?: string): void;
/**
* Queues an event for the event manager at a specified date and time.
* @param {string} name - Name of the event being queued.
* @param {*} instance - GlideRecord object, such as "current".
* @param {string} [parm1] - Saved with the instance if specified.
* @param {string} [parm2] - Saved with the instance if specified.
* @param {*} [expiration] - Date and time to process this event.
*/
eventQueueScheduled(name: string, instance: any, parm1?: string, parm2?: string, expiration?: any): void;
/**
* Executes a job for a scoped application.
* @param {GlideRecord} job - The job to be run.
* @returns {string} Returns the sysID of the scheduled job. Returns null if the job is global.
* @description
*/
executeNow(job: GlideRecord): string;
/**
* Generates a GUID that can be used when a unique identifier is required.
* @returns {string} A 32-character hexadecimal GUID.
*/
generateGUID(): string;
/**
* Gets the caller scope name; returns null if there is no caller.
* @returns {string} The caller's scope name, or null if there is no caller.
*/
getCallerScopeName(): string;
/**
* Gets a string representing the cache version for a CSS file.
* @returns {string} The CSS cache version.
*/
getCssCacheVersionString(): string;
/**
* Gets the ID of the current application as set using the Application Picker.
* @returns {string} The current application's sys_id, or global in none is set.
*/
getCurrentApplicationId(): string;
/**
* Gets the name of the current scope.
* @returns {string} The current scope name.
*/
getCurrentScopeName(): string;
/**
* Returns the list of error messages for the session that were added by�addErrorMessage().
* @returns {string} List of error messages.
*/
getErrorMessages(): string;
/**
* Retrieves a message from UI messages that has HTML special characters, and replaces them with escape sequences. For example,�&�becomes�&amp;.
* @param {string} id - ID of the message.
* @param {any[]} [args] - List of strings or other values defined by java.text.MessageFormat, which allows you to produce language-neutral messages for display to users.
* @returns {string} The UI message with HTML special characters replaced with escape sequences.
*/
getEscapedMessage(id: string, args?: any[]): string;
/**
* Retrieves a message from UI messages.
* @param {string} id - The ID of the message.
* @param {any[]} [args] - A list of strings or other values defined by java.text.MessageFormat, which allows you to produce language-neutral messages for display to users.
* @returns {string} The UI message.
*/
getMessage(id: string, args?: any[]): string;
/**
* Gets the value of a Glide property. If the property is not found, returns an alternate value.
* @param {string} key - The key for the property whose value should be returned.
* @param {*} [alt] - Alternate object to return if the property is not found.
* @returns {string} The value of the Glide property, or the alternate object defined above.
*/
getProperty(key: string, alt?: any): string;
/**
* Gets a reference to the current Glide session.
* @returns {GlideSession} A reference for the current session.
*/
getSession(): GlideSession;
/**
* Retrieves the GlideSession session ID.
* @returns {string} The session ID.
*/
getSessionID(): string;
/**
* This method is no longer available. Instead, use�gs.getSession().getSessionToken().
* @returns {string} The session token.
*/
getSessionToken(): string;
/**
*
* @return {*} {string}
* @todo Get documentation from ServiceNow website
*/
getTimeFormat(): string;
/**
* Returns the name of the time zone associated with the current user.
* @returns {string} The time zone name.
* @description
*/
getTimeZoneName(): string;
/**
* Gets the current URI for the session.
* @returns {string} The URI.
*/
getUrlOnStack(): string;
/**
* Returns a reference to the scoped GlideUser object for the current user.
* @returns {GlideUser} Reference to a scoped user object.
* @description
*/
getUser(): GlideUser;
/**
* Gets the display name of the current user.
* @returns {string} The name field of the current user. Returns Abel Tuter, as opposed to abel.tuter.
*/
getUserDisplayName(): string;
/**
* Gets the sys_id of the current user.
* @returns {string} The sys_id of the current user.
*/
getUserID(): string;
/**
* Gets the user name, or user id, of the current user.
* @returns {string} The user name of the current user.
*/
getUserName(): string;
/**
* Determines if the current user has the specified role.
* @param {*} role - The role to check.
* @returns {boolean} True if the user had the role. Returns true for users with the administrator role.
*/
hasRole(role: any): boolean;
/**
* Returns the date and time for a specified number of hours ago.
* @param {number} hours - Integer number of hours
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
hoursAgo(hours: number): string;
/**
* Returns the date and time for the end of the hour a specified number of hours ago.
* @param {number} hours - Integer number of hours
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
hoursAgoEnd(hours: number): string;
/**
* Returns the date and time for the start of the hour a specified number of hours ago.
* @param {number} hours - Integer number of hours
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
hoursAgoStart(hours: number): string;
/**
* Provides a safe way to call from the sandbox, allowing only trusted scripts to be included.
* @param {string} name - The name fo the script to include.
* @returns {boolean} True if the include worked.
*/
include(name: string): boolean;
/**
* Writes an info message to the system log.
* @param {*} message - The log message.
*/
info(message: any): void;
/**
* Writes an info message to the system log.
* @param {string} message - The log message with place holders for any variable arguments.
* @param {*} param1 - First variable argument.
* @param {*} [param2] - Second variable argument.
* @param {*} [param3] - Third variable argument.
* @param {*} [param4] - Fourth variable argument.
* @param {*} [param5] - Fifth variable argument.
*/
info(message: string, param1: any, param2?: any, param3?: any, param4?: any, param5?: any): void;
/**
* Determines if debugging is active for a specific scope.
* @returns {boolean} True if either session debugging is active or the log level is set to debug for the specified scope.
*/
isDebugging(): boolean;
/**
* Checks if the current session is interactive. An example of an interactive session is when a user logs in normally. An example of a non-interactive session is using a SOAP request to retrieve data.
* @returns {boolean} True if the session is interactive.
*/
isInteractive(): boolean;
/**
* Determines if the current user is currently logged in.
* @returns {boolean} True if the current user is logged in.
*/
isLoggedIn(): boolean;
/**
* You can determine if a request comes from a mobile device.
* @returns {boolean} True if the request comes from a mobile device; otherwise, false.
* @description
*/
isMobile(): boolean;
/**
* Returns the date and time for the end of the minute a specified number of minutes ago.
* @param {number} minutes - Integer number of minutes
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
minutesAgoEnd(minutes: number): string;
/**
* Returns the date and time for the start of the minute a specified number of minutes ago.
* @param {number} minutes - Integer number of minutes
* @returns {string} GMT in the format yyyy-mm-dd hh:mm:ss.
*/
minutesAgoStart(minutes: number): string;
/**
* Returns the date and time for a specified number of months ago.
* @param {number} months - Integer number of months
* @returns {string} GMT on today's date of the specified month, in the format yyyy-mm-dd hh:mm:ss.
*/
monthsAgo(months: number): string;
/**
* Returns the date and time for the start of the month a specified number of months ago.
* @param {number} months - Integer number of months
* @returns {string} GMT start of the month the specified number of months ago, in the format yyyy-mm-dd hh:mm:ss.
*/
monthsAgoStart(months: number): string;
/**
* Queries an object and returns true if the object is null, undefined, or contains an empty string.
* @param {*} o - The object to be checked.
* @returns {boolean} True if the object is null, undefined, or contains an empty string; otherwise, returns false.
*/
nil(o: any): o is undefined | null | "";
/**
* Returns the date and time for the last day of the quarter for a specified number of quarters ago.
* @param {number} quarters - Integer number of quarters
* @returns {string} GMT end of the quarter that was the specified number of quarters ago, in the format yyyy-mm-dd hh:mm:ss.
*/
quartersAgoEnd(quarters: number): string;
/**
* Returns the date and time for the first day of the quarter for a specified number of quarters ago.
* @param {number} quarters - Integer number of quarters
* @returns {string} GMT end of the month that was the specified number of quarters ago, in the format yyyy-mm-dd hh:mm:ss.
*/
quartersAgoStart(quarters: number): string;
/**
* Sets the specified key to the specified value if the property is within the script's scope.
* @param {string} key - The key for the property to be set.
* @param {string} value - The value of the property to be set.
* @param {string} description - A description of the property.
* @description
*/
setProperty(key: string, value: string, description: string): void;
/**
* Sets the redirect URI for this transaction, which then determines the next page the user will see.
* @param {*} o - URI object or URI string to set as the redirect
*/
setRedirect(o: any): void;
/**
* Determines if a database table exists.
* @param {string} name - Name of the table to check for existence.
* @returns {boolean} True if the table exists. False if the table was not found.
*/
tableExists(name: string): boolean;
/**
* Replaces UTF-8 encoded characters with ASCII characters.
* @param {string} url - A string with UTF-8 percent (%) encoded characters.
* @returns {string} A string with encoded characters replaced with ASCII characters.
*/
urlDecode(url: string): string;
/**
* Encodes non-ASCII characters, unsafe ASCII characters, and spaces so the returned string can be used on the Internet. Uses UTF-8 encoding. Uses percent (%) encoding.
* @param {string} url - The string to be encoded.
* @returns {string} A string with non-ASCII characters, unsafe ASCII characters, and spaces encoded.
*/
urlEncode(url: string): string;
/**
* Writes a warning message to the system log.
* @param {*} message - The log message.
*/
warn(message: any): void;
/**
* Writes a warning message to the system log.
* @param {string} message - The log message with place holders for any variable arguments.
* @param {*} param1 - First variable argument.
* @param {*} [param2] - Second variable argument.
* @param {*} [param3] - Third variable argument.
* @param {*} [param4] - Fourth variable argument.
* @param {*} [param5] - Fifth variable argument.
*/
warn(message: string, param1: any, param2?: any, param3?: any, param4?: any, param5?: any): void;
/**
* Takes an XML string and returns a JSON object.
* @param {string} xmlString - The XML string to be converted.
* @returns {({ [key: string]: any } | null)} A JSON object representing the XML string. Null if unable to process the XML string.
*/
xmlToJSON(xmlString: string): { [key: string]: any } | null;
/**
* Returns a date and time for a certain number of years ago.
* @param {number} years - An integer number of years
* @returns {string} GMT beginning of the year that is the specified number of years ago, in the format yyyy-mm-dd hh:mm:ss.
*/
yearsAgo(years: number): string;
/**
* Returns yesterday's time (24 hours ago).
* @returns {string} GMT for 24 hours ago, in the format yyyy-mm-dd hh:mm:ss.
*/
yesterday(): string;
equals(obj: object): $$rhino.Boolean;
hashCode(): $$rhino.Number;
toString(): $$rhino.String;
// TODO: Implement addErrorMessage from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement addInfoMessage from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement addInfoMessageNoSanitization from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement base64Decode from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement base64Encode from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement beginningOfCurrentHour from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfCurrentMinute from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast120Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast12Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast15Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast2Hours from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast2Quarters from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast2Years from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast30Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast30Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast3Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast45Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast60Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast6Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast7Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast90Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLast9Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastHour from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastMinute from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastQuarter from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfLastYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfNext2Quarters from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfNextMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfNextQuarter from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfNextWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfNextYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfOneYearAgo from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfThisMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfThisQuarter from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfThisWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfThisYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfToday from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfTomorrow from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement beginningOfYesterday from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement breaker from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: system control)
// TODO: Implement dateAdd from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement dateGenerate from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement datePart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement daysAgo from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement daysAgoEnd from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement daysAgoStart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement debug from com.glide.script.system.GlideSystemLogger under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement endOfCurrentHour from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfCurrentMinute from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast120Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast12Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast15Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast2Hours from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast2Quarters from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast2Years from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast30Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast30Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast3Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast45Minutes from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast60Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast6Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast7Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast90Days from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLast9Months from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastHour from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastMinute from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastQuarter from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfLastYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfNext2Quarters from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfNextMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfNextQuarter from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfNextWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfNextYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfOneYearAgo from com.glide.script.system.GlideSystemDateUtil3 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfThisMonth from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfThisQuarter from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfThisWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfThisYear from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfToday from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfTomorrow from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfWeek from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement endOfYesterday from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement error from com.glide.script.system.GlideSystemLogger under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement eventQueue from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: event management)
// TODO: Implement eventQueueScheduled from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: event management)
// TODO: Implement executeNow from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: scheduled jobs)
// TODO: Implement generateGUID from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement getCallerScopeName from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: scope management)
// TODO: Implement getCssCacheVersionString from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user interface)
// TODO: Implement getCurrentApplicationId from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: scope management)
// TODO: Implement getCurrentScopeName from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: scope management)
// TODO: Implement getDateFormat from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getDateTimeFormat from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getDurationDate from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement getErrorMessages from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement getErrorMessages from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement getEscapedMessage from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement getMaxSchemaNameLength from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: table metadata)
// TODO: Implement getMessage from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement getMessageLang from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement getNewAppScopeCompanyPrefix from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: scope management)
// TODO: Implement getProperty from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: properties)
// TODO: Implement getSession from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement getSessionID from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement getSysTimeZone from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getTimeFormat from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getUrlOnStack from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: navigation)
// TODO: Implement getUser from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getUserDisplayName from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getUserID from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement getUserName from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user info)
// TODO: Implement hasRole from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user roles and groups)
// TODO: Implement hoursAgo from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement hoursAgoEnd from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement hoursAgoStart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement include from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: scripting)
// TODO: Implement info from com.glide.script.system.GlideSystemLogger under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement isDebugging from com.glide.script.system.GlideSystemLogger under com.glide.script.fencing.ScopedGlideSystem (category: logging)
// TODO: Implement isInteractive from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement isLoggedIn from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement isMobile from com.glide.script.fencing.ScopedGlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: user sessions)
// TODO: Implement isPaused from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: system control)
// TODO: Implement isScopeAdminForAnyApp from com.glide.script.system.GlideSystemUserSession under com.glide.script.fencing.ScopedGlideSystem (category: user roles and groups)
// TODO: Implement minutesAgo from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement minutesAgoEnd from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement minutesAgoStart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement monthsAgo from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement monthsAgo from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement monthsAgoStart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement nil from com.glide.script.GlideSystem under com.glide.script.fencing.ScopedGlideSystem (category: string utilities)
// TODO: Implement quartersAgoEnd from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)
// TODO: Implement quartersAgoStart from com.glide.script.system.GlideSystemDateUtil2 under com.glide.script.fencing.ScopedGlideSystem (category: datetime utilities)