@hitc/netsuite-types 2024.1.2 → 2024.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/N/cache.d.ts CHANGED
@@ -45,10 +45,10 @@ export interface Cache {
45
45
  get(options: GetOptions): string;
46
46
 
47
47
  /** Puts a value into the cache. If the value provided is not a string, the system uses JSON.stringify() to convert the value to a string. */
48
- put(options: PutOptions): string;
48
+ put(options: PutOptions): void;
49
49
 
50
50
  /** Removes a value from the cache. */
51
- remove(options: RemoveOptions): string;
51
+ remove(options: RemoveOptions): void;
52
52
  }
53
53
 
54
54
  interface GetCacheOptions {
package/N/piremoval.d.ts CHANGED
@@ -25,7 +25,7 @@ export function loadTask(options: { id: number }): PiRemovalTask;
25
25
 
26
26
  interface CreateTaskOptions {
27
27
  /** Represents IDs of fields whose personal information is removed. */
28
- fieldIds?: number[];
28
+ fieldIds?: number[] | string[]; // NOTE: The help file indicates that this is number[], but the examples show string[] and the examples are correct.
29
29
  /**
30
30
  * Indicates whether the PI removal task removes system note information only, not field values or workflow history.
31
31
  * If true, the task removes information from system notes only.
package/N/query.d.ts CHANGED
@@ -721,7 +721,12 @@ export interface PagedData {
721
721
  */
722
722
  iterator(): PageIterator;
723
723
 
724
- fetch(index: number): Page;
724
+ fetch: FetchType;
725
+ }
726
+
727
+ interface FetchType {
728
+ (options: { index: number }): Page;
729
+ promise(options: { index: number }): Promise<Page>;
725
730
  }
726
731
 
727
732
  /**
@@ -802,6 +807,7 @@ interface RunSuiteQL {
802
807
  * Runs an arbitrary SuiteQL query.
803
808
  * SuiteQL is a query language based on the SQL-92 revision of the SQL database query language.
804
809
  * It provides advanced query capabilities you can use to access your NetSuite records and data.
810
+ * @governance 10 units
805
811
  * @throws {SuiteScriptError} MISSING_REQD_ARGUMENT if options or query are undefined
806
812
  * @throws {SuiteScriptError} WRONG_PARAMETER_TYPE if options isn't object or id isn't number
807
813
  * @throws {SuiteScriptError} UNABLE_TO_DELETE_QUERY if query doesn't exist or no permissions to delete it
package/N/record.d.ts CHANGED
@@ -485,7 +485,7 @@ export interface ClientCurrentRecord {
485
485
  /** Performs macro operation and returns its result in a plain JavaScript object. */
486
486
  executeMacro: ExecuteMacroFunction;
487
487
  /** Returns the line number of the first instance where a specified value is found in a specified column of the matrix. */
488
- findMatrixSublistLineWIthValue(options: FindSublistLineWithValueOptions): number;
488
+ findMatrixSublistLineWithValue(options: FindSublistLineWithValueOptions): number;
489
489
  /** Returns the line number for the first occurrence of a field value in a sublist. */
490
490
  findSublistLineWithValue(options: FindSublistLineWithValueOptions): number;
491
491
  /** Gets the value for the currently selected line in the matrix. */
@@ -844,270 +844,288 @@ export var submitFields: SubmitFieldsFunction;
844
844
  export var transform: RecordTransformFunction;
845
845
 
846
846
  /** N/record.Type enum */
847
- export enum Type { // As of 15 June 2020
848
- ACCOUNT, // 'account'
849
- ACCOUNTING_BOOK, // 'accountingbook'
850
- ACCOUNTING_CONTEXT, // 'accountingcontext'
851
- ACCOUNTING_PERIOD, // 'accountingperiod'
852
- ADV_INTER_COMPANY_JOURNAL_ENTRY, // 'advintercompanyjournalentry'
853
- ALLOCATION_SCHEDULE, // 'allocationschedule'
854
- AMORTIZATION_SCHEDULE, // 'amortizationschedule'
855
- AMORTIZATION_TEMPLATE, // 'amortizationtemplate'
856
- ASSEMBLY_BUILD, // 'assemblybuild'
857
- ASSEMBLY_ITEM, // 'assemblyitem'
858
- ASSEMBLY_UNBUILD, // 'assemblyunbuild'
859
- BALANCE_TRX_BY_SEGMENTS, // 'balancetrxbysegments'
860
- BILLING_ACCOUNT, // 'billingaccount'
861
- BILLING_CLASS, // 'billingclass'
862
- BILLING_RATE_CARD, // 'billingratecard'
863
- BILLING_REVENUE_EVENT, // 'billingrevenueevent'
864
- BILLING_SCHEDULE, // 'billingschedule'
865
- BIN, // 'bin'
866
- BIN_TRANSFER, // 'bintransfer'
867
- BIN_WORKSHEET, // 'binworksheet'
868
- BLANKET_PURCHASE_ORDER, // 'blanketpurchaseorder'
869
- BOM, // 'bom'
870
- BOM_REVISION, // 'bomrevision'
871
- BONUS, // 'bonus'
872
- BONUS_TYPE, // 'bonustype'
873
- BUDGET_EXCHANGE_RATE, // 'budgetexchangerate'
874
- BULK_OWNERSHIP_TRANSFER, // 'bulkownershiptransfer'
875
- BUNDLE_INSTALLATION_SCRIPT, // 'bundleinstallationscript'
876
- CALENDAR_EVENT, // 'calendarevent'
877
- CAMPAIGN, // 'campaign'
878
- CAMPAIGN_RESPONSE, // 'campaignresponse'
879
- CAMPAIGN_TEMPLATE, // 'campaigntemplate'
880
- CASH_REFUND, // 'cashrefund'
881
- CASH_SALE, // 'cashsale'
882
- CHARGE, // 'charge'
883
- CHARGE_RULE, // 'chargerule'
884
- CHECK, // 'check'
885
- CLASSIFICATION, // 'classification'
886
- CLIENT_SCRIPT, // 'clientscript'
887
- CMS_CONTENT, // 'cmscontent'
888
- CMS_CONTENT_TYPE, // 'cmscontenttype'
889
- CMS_PAGE, // 'cmspage'
890
- COMMERCE_CATEGORY, // 'commercecategory'
891
- COMPETITOR, // 'competitor'
892
- CONSOLIDATED_EXCHANGE_RATE, // 'consolidatedexchangerate'
893
- CONTACT, // 'contact'
894
- CONTACT_CATEGORY, // 'contactcategory'
895
- CONTACT_ROLE, // 'contactrole'
896
- COST_CATEGORY, // 'costcategory'
897
- COUPON_CODE, // 'couponcode'
898
- CREDIT_CARD_CHARGE, // 'creditcardcharge'
899
- CREDIT_CARD_REFUND, // 'creditcardrefund'
900
- CREDIT_MEMO, // 'creditmemo'
901
- CURRENCY, // 'currency'
902
- CUSTOMER, // 'customer'
903
- CUSTOMER_CATEGORY, // 'customercategory'
904
- CUSTOMER_DEPOSIT, // 'customerdeposit'
905
- CUSTOMER_MESSAGE, // 'customermessage'
906
- CUSTOMER_PAYMENT, // 'customerpayment'
907
- CUSTOMER_PAYMENT_AUTHORIZATION, // 'customerpaymentauthorization'
908
- CUSTOMER_REFUND, // 'customerrefund'
909
- CUSTOMER_STATUS, // 'customerstatus'
910
- CUSTOMER_SUBSIDIARY_RELATIONSHIP, // 'customersubsidiaryrelationship'
911
- CUSTOM_PURCHASE, // 'custompurchase'
912
- CUSTOM_RECORD, // 'customrecord'
913
- CUSTOM_SALE, // 'customsale'
914
- CUSTOM_TRANSACTION, // 'customtransaction'
915
- DEPARTMENT, // 'department'
916
- DEPOSIT, // 'deposit'
917
- DEPOSIT_APPLICATION, // 'depositapplication'
918
- DESCRIPTION_ITEM, // 'descriptionitem'
919
- DISCOUNT_ITEM, // 'discountitem'
920
- DOWNLOAD_ITEM, // 'downloaditem'
921
- EMAIL_TEMPLATE, // 'emailtemplate'
922
- EMPLOYEE, // 'employee'
923
- EMPLOYEE_CHANGE_REQUEST, // 'employeechangerequest'
924
- EMPLOYEE_CHANGE_REQUEST_TYPE, // 'employeechangerequesttype'
925
- EMPLOYEE_STATUS, // 'employeestatus'
926
- EMPLOYEE_TYPE, // 'employeetype'
927
- ENTITY_ACCOUNT_MAPPING, // 'entityaccountmapping'
928
- ESTIMATE, // 'estimate'
929
- EXPENSE_AMORTIZATION_EVENT, // 'expenseamortizationevent'
930
- EXPENSE_CATEGORY, // 'expensecategory'
931
- EXPENSE_PLAN, // 'expenseplan'
932
- EXPENSE_REPORT, // 'expensereport'
933
- FAIR_VALUE_PRICE, // 'fairvalueprice'
934
- FINANCIAL_INSTITUTION, // 'financialinstitution'
935
- FIXED_AMOUNT_PROJECT_REVENUE_RULE, // 'fixedamountprojectrevenuerule'
936
- FOLDER, // 'folder'
937
- FORMAT_PROFILE, // 'formatprofile'
938
- FULFILLMENT_REQUEST, // 'fulfillmentrequest'
939
- GENERAL_TOKEN, // 'generaltoken'
940
- GENERIC_RESOURCE, // 'genericresource'
941
- GIFT_CERTIFICATE, // 'giftcertificate'
942
- GIFT_CERTIFICATE_ITEM, // 'giftcertificateitem'
943
- GLOBAL_ACCOUNT_MAPPING, // 'globalaccountmapping'
944
- GLOBAL_INVENTORY_RELATIONSHIP, // 'globalinventoryrelationship'
945
- GL_NUMBERING_SEQUENCE, // 'glnumberingsequence'
946
- GOAL, // 'goal'
947
- INBOUND_SHIPMENT, // 'inboundshipment'
948
- INTERCOMP_ALLOCATION_SCHEDULE, // 'intercompallocationschedule'
949
- INTER_COMPANY_JOURNAL_ENTRY, // 'intercompanyjournalentry'
950
- INTER_COMPANY_TRANSFER_ORDER, // 'intercompanytransferorder'
951
- INVENTORY_ADJUSTMENT, // 'inventoryadjustment'
952
- INVENTORY_COST_REVALUATION, // 'inventorycostrevaluation'
953
- INVENTORY_COUNT, // 'inventorycount'
954
- INVENTORY_DETAIL, // 'inventorydetail'
955
- INVENTORY_ITEM, // 'inventoryitem'
956
- INVENTORY_NUMBER, // 'inventorynumber'
957
- INVENTORY_STATUS, // 'inventorystatus'
958
- INVENTORY_STATUS_CHANGE, // 'inventorystatuschange'
959
- INVENTORY_TRANSFER, // 'inventorytransfer'
960
- INVOICE, // 'invoice'
961
- INVOICE_GROUP, // 'invoicegroup'
962
- ISSUE, // 'issue'
963
- ISSUE_PRODUCT, // 'issueproduct'
964
- ISSUE_PRODUCT_VERSION, // 'issueproductversion'
965
- ITEM_ACCOUNT_MAPPING, // 'itemaccountmapping'
966
- ITEM_COLLECTION, // 'itemcollection'
967
- ITEM_COLLECTION_ITEM_MAP, // 'itemcollectionitemmap'
968
- ITEM_DEMAND_PLAN, // 'itemdemandplan'
969
- ITEM_FULFILLMENT, // 'itemfulfillment'
970
- ITEM_GROUP, // 'itemgroup'
971
- ITEM_LOCATION_CONFIGURATION, // 'itemlocationconfiguration'
972
- ITEM_PROCESS_FAMILY, // 'itemprocessfamily'
973
- ITEM_PROCESS_GROUP, // 'itemprocessgroup'
974
- ITEM_RECEIPT, // 'itemreceipt'
975
- ITEM_REVISION, // 'itemrevision'
976
- ITEM_SUPPLY_PLAN, // 'itemsupplyplan'
977
- JOB, // 'job'
978
- JOB_STATUS, // 'jobstatus'
979
- JOB_TYPE, // 'jobtype'
980
- JOURNAL_ENTRY, // 'journalentry'
981
- KIT_ITEM, // 'kititem'
982
- LABOR_BASED_PROJECT_REVENUE_RULE, // 'laborbasedprojectrevenuerule'
983
- LEAD, // 'lead'
984
- LOCATION, // 'location'
985
- LOT_NUMBERED_ASSEMBLY_ITEM, // 'lotnumberedassemblyitem'
986
- LOT_NUMBERED_INVENTORY_ITEM, // 'lotnumberedinventoryitem'
987
- MANUFACTURING_COST_TEMPLATE, // 'manufacturingcosttemplate'
988
- MANUFACTURING_OPERATION_TASK, // 'manufacturingoperationtask'
989
- MANUFACTURING_ROUTING, // 'manufacturingrouting'
990
- MAP_REDUCE_SCRIPT, // 'mapreducescript'
991
- MARKUP_ITEM, // 'markupitem'
992
- MASSUPDATE_SCRIPT, // 'massupdatescript'
993
- MEM_DOC, // 'memdoc'
994
- MERCHANDISE_HIERARCHY_LEVEL, // 'merchandisehierarchylevel'
995
- MERCHANDISE_HIERARCHY_NODE, // 'merchandisehierarchynode'
996
- MERCHANDISE_HIERARCHY_VERSION, // 'merchandisehierarchyversion'
997
- MESSAGE, // 'message'
998
- MFG_PLANNED_TIME, // 'mfgplannedtime'
999
- NEXUS, // 'nexus'
1000
- NON_INVENTORY_ITEM, // 'noninventoryitem'
1001
- NOTE, // 'note'
1002
- NOTE_TYPE, // 'notetype'
1003
- OPPORTUNITY, // 'opportunity'
1004
- ORDER_SCHEDULE, // 'orderschedule'
1005
- ORDER_TYPE, // 'ordertype'
1006
- OTHER_CHARGE_ITEM, // 'otherchargeitem'
1007
- OTHER_NAME, // 'othername'
1008
- OTHER_NAME_CATEGORY, // 'othernamecategory'
1009
- PARTNER, // 'partner'
1010
- PARTNER_CATEGORY, // 'partnercategory'
1011
- PAYCHECK, // 'paycheck'
1012
- PAYCHECK_JOURNAL, // 'paycheckjournal'
1013
- PAYMENT_CARD, // 'paymentcard'
1014
- PAYMENT_CARD_TOKEN, // 'paymentcardtoken'
1015
- PAYMENT_ITEM, // 'paymentitem'
1016
- PAYMENT_METHOD, // 'paymentmethod'
1017
- PAYROLL_ITEM, // 'payrollitem'
1018
- PCT_COMPLETE_PROJECT_REVENUE_RULE, // 'pctcompleteprojectrevenuerule'
1019
- PERFORMANCE_METRIC, // 'performancemetric'
1020
- PERFORMANCE_REVIEW, // 'performancereview'
1021
- PERFORMANCE_REVIEW_SCHEDULE, // 'performancereviewschedule'
1022
- PERIOD_END_JOURNAL, // 'periodendjournal'
1023
- PHONE_CALL, // 'phonecall'
1024
- PICK_STRATEGY, // 'pickstrategy'
1025
- PICK_TASK, // 'picktask'
1026
- PORTLET, // 'portlet'
1027
- PRICE_BOOK, // 'pricebook'
1028
- PRICE_LEVEL, // 'pricelevel'
1029
- PRICE_PLAN, // 'priceplan'
1030
- PRICING_GROUP, // 'pricinggroup'
1031
- PROJECT_EXPENSE_TYPE, // 'projectexpensetype'
1032
- PROJECT_TASK, // 'projecttask'
1033
- PROJECT_TEMPLATE, // 'projecttemplate'
1034
- PROMOTION_CODE, // 'promotioncode'
1035
- PROSPECT, // 'prospect'
1036
- PURCHASE_CONTRACT, // 'purchasecontract'
1037
- PURCHASE_ORDER, // 'purchaseorder'
1038
- PURCHASE_REQUISITION, // 'purchaserequisition'
1039
- REALLOCATE_ITEM, // 'reallocateitem'
1040
- RECEIVE_INBOUND_SHIPMENT, // 'receiveinboundshipment'
1041
- RESOURCE_ALLOCATION, // 'resourceallocation'
1042
- RESTLET, // 'restlet'
1043
- RETURN_AUTHORIZATION, // 'returnauthorization'
1044
- REVENUE_ARRANGEMENT, // 'revenuearrangement'
1045
- REVENUE_COMMITMENT, // 'revenuecommitment'
1046
- REVENUE_COMMITMENT_REVERSAL, // 'revenuecommitmentreversal'
1047
- REVENUE_PLAN, // 'revenueplan'
1048
- REV_REC_SCHEDULE, // 'revrecschedule'
1049
- REV_REC_TEMPLATE, // 'revrectemplate'
1050
- SALES_ORDER, // 'salesorder'
1051
- SALES_ROLE, // 'salesrole'
1052
- SALES_TAX_ITEM, // 'salestaxitem'
1053
- SCHEDULED_SCRIPT, // 'scheduledscript'
1054
- SCHEDULED_SCRIPT_INSTANCE, // 'scheduledscriptinstance'
1055
- SCRIPT_DEPLOYMENT, // 'scriptdeployment'
1056
- SERIALIZED_ASSEMBLY_ITEM, // 'serializedassemblyitem'
1057
- SERIALIZED_INVENTORY_ITEM, // 'serializedinventoryitem'
1058
- SERVICE_ITEM, // 'serviceitem'
1059
- SHIP_ITEM, // 'shipitem'
1060
- SOLUTION, // 'solution'
1061
- STATISTICAL_JOURNAL_ENTRY, // 'statisticaljournalentry'
1062
- STORE_PICKUP_FULFILLMENT, // 'storepickupfulfillment'
1063
- SUBSCRIPTION, // 'subscription'
1064
- SUBSCRIPTION_CHANGE_ORDER, // 'subscriptionchangeorder'
1065
- SUBSCRIPTION_LINE, // 'subscriptionline'
1066
- SUBSCRIPTION_PLAN, // 'subscriptionplan'
1067
- SUBSIDIARY, // 'subsidiary'
1068
- SUBSIDIARY_SETTINGS, // 'subsidiarysettings'
1069
- SUBTOTAL_ITEM, // 'subtotalitem'
1070
- SUITELET, // 'suitelet'
1071
- SUPPLY_CHAIN_SNAPSHOT, // 'supplychainsnapshot'
1072
- SUPPLY_CHAIN_SNAPSHOT_SIMULATION, // 'supplychainsnapshotsimulation'
1073
- SUPPORT_CASE, // 'supportcase'
1074
- TASK, // 'task'
1075
- TAX_ACCT, // 'taxacct'
1076
- TAX_GROUP, // 'taxgroup'
1077
- TAX_PERIOD, // 'taxperiod'
1078
- TAX_TYPE, // 'taxtype'
1079
- TERM, // 'term'
1080
- TIME_BILL, // 'timebill'
1081
- TIME_ENTRY, // 'timeentry'
1082
- TIME_OFF_CHANGE, // 'timeoffchange'
1083
- TIME_OFF_PLAN, // 'timeoffplan'
1084
- TIME_OFF_REQUEST, // 'timeoffrequest'
1085
- TIME_OFF_RULE, // 'timeoffrule'
1086
- TIME_OFF_TYPE, // 'timeofftype'
1087
- TIME_SHEET, // 'timesheet'
1088
- TOPIC, // 'topic'
1089
- TRANSFER_ORDER, // 'transferorder'
1090
- UNITS_TYPE, // 'unitstype'
1091
- UNLOCKED_TIME_PERIOD, // 'unlockedtimeperiod'
1092
- USAGE, // 'usage'
1093
- USEREVENT_SCRIPT, // 'usereventscript'
1094
- VENDOR, // 'vendor'
1095
- VENDOR_BILL, // 'vendorbill'
1096
- VENDOR_CATEGORY, // 'vendorcategory'
1097
- VENDOR_CREDIT, // 'vendorcredit'
1098
- VENDOR_PAYMENT, // 'vendorpayment'
1099
- VENDOR_PREPAYMENT, // 'vendorprepayment'
1100
- VENDOR_PREPAYMENT_APPLICATION, // 'vendorprepaymentapplication'
1101
- VENDOR_RETURN_AUTHORIZATION, // 'vendorreturnauthorization'
1102
- VENDOR_SUBSIDIARY_RELATIONSHIP, // 'vendorsubsidiaryrelationship'
1103
- WAVE, // 'wave'
1104
- WBS, // 'wbs'
1105
- WEBSITE, // 'website'
1106
- WORKFLOW_ACTION_SCRIPT, // 'workflowactionscript'
1107
- WORKPLACE, // 'workplace'
1108
- WORK_ORDER, // 'workorder'
1109
- WORK_ORDER_CLOSE, // 'workorderclose'
1110
- WORK_ORDER_COMPLETION, // 'workordercompletion'
1111
- WORK_ORDER_ISSUE, // 'workorderissue'
1112
- ZONE // 'zone'
847
+ export enum Type { // As of 4 June 2024
848
+ ACCOUNT = 'account',
849
+ ACCOUNTING_BOOK = 'accountingbook',
850
+ ACCOUNTING_CONTEXT = 'accountingcontext',
851
+ ACCOUNTING_PERIOD = 'accountingperiod',
852
+ ADV_INTER_COMPANY_JOURNAL_ENTRY = 'advintercompanyjournalentry',
853
+ ALLOCATION_SCHEDULE = 'allocationschedule',
854
+ AMORTIZATION_SCHEDULE = 'amortizationschedule',
855
+ AMORTIZATION_TEMPLATE = 'amortizationtemplate',
856
+ ASSEMBLY_BUILD = 'assemblybuild',
857
+ ASSEMBLY_ITEM = 'assemblyitem',
858
+ ASSEMBLY_UNBUILD = 'assemblyunbuild',
859
+ AUTOMATED_CLEARING_HOUSE = 'automatedclearinghouse',
860
+ BALANCE_TRX_BY_SEGMENTS = 'balancetrxbysegments',
861
+ BILLING_ACCOUNT = 'billingaccount',
862
+ BILLING_CLASS = 'billingclass',
863
+ BILLING_RATE_CARD = 'billingratecard',
864
+ BILLING_REVENUE_EVENT = 'billingrevenueevent',
865
+ BILLING_SCHEDULE = 'billingschedule',
866
+ BIN = 'bin',
867
+ BIN_TRANSFER = 'bintransfer',
868
+ BIN_WORKSHEET = 'binworksheet',
869
+ BLANKET_PURCHASE_ORDER = 'blanketpurchaseorder',
870
+ BOM = 'bom',
871
+ BOM_REVISION = 'bomrevision',
872
+ BONUS = 'bonus',
873
+ BONUS_TYPE = 'bonustype',
874
+ BUDGET_EXCHANGE_RATE = 'budgetexchangerate',
875
+ BULK_OWNERSHIP_TRANSFER = 'bulkownershiptransfer',
876
+ BUNDLE_INSTALLATION_SCRIPT = 'bundleinstallationscript',
877
+ CALENDAR_EVENT = 'calendarevent',
878
+ CAMPAIGN = 'campaign',
879
+ CAMPAIGN_RESPONSE = 'campaignresponse',
880
+ CAMPAIGN_TEMPLATE = 'campaigntemplate',
881
+ CARDHOLDER_AUTHENTICATION = 'cardholderauthentication',
882
+ CASH_REFUND = 'cashrefund',
883
+ CASH_SALE = 'cashsale',
884
+ CHARGE = 'charge',
885
+ CHARGE_RULE = 'chargerule',
886
+ CHECK = 'check',
887
+ CLASSIFICATION = 'classification',
888
+ CLIENT_SCRIPT = 'clientscript',
889
+ CMS_CONTENT = 'cmscontent',
890
+ CMS_CONTENT_TYPE = 'cmscontenttype',
891
+ CMS_PAGE = 'cmspage',
892
+ COMMERCE_CATEGORY = 'commercecategory',
893
+ COMPETITOR = 'competitor',
894
+ CONSOLIDATED_EXCHANGE_RATE = 'consolidatedexchangerate',
895
+ CONTACT = 'contact',
896
+ CONTACT_CATEGORY = 'contactcategory',
897
+ CONTACT_ROLE = 'contactrole',
898
+ COST_CATEGORY = 'costcategory',
899
+ COUPON_CODE = 'couponcode',
900
+ CREDIT_CARD_CHARGE = 'creditcardcharge',
901
+ CREDIT_CARD_REFUND = 'creditcardrefund',
902
+ CREDIT_MEMO = 'creditmemo',
903
+ CURRENCY = 'currency',
904
+ CUSTOMER = 'customer',
905
+ CUSTOMER_CATEGORY = 'customercategory',
906
+ CUSTOMER_DEPOSIT = 'customerdeposit',
907
+ CUSTOMER_MESSAGE = 'customermessage',
908
+ CUSTOMER_PAYMENT = 'customerpayment',
909
+ CUSTOMER_PAYMENT_AUTHORIZATION = 'customerpaymentauthorization',
910
+ CUSTOMER_REFUND = 'customerrefund',
911
+ CUSTOMER_STATUS = 'customerstatus',
912
+ CUSTOMER_SUBSIDIARY_RELATIONSHIP = 'customersubsidiaryrelationship',
913
+ CUSTOM_PURCHASE = 'custompurchase',
914
+ CUSTOM_RECORD = 'customrecord',
915
+ CUSTOM_SALE = 'customsale',
916
+ CUSTOM_TRANSACTION = 'customtransaction',
917
+ DEPARTMENT = 'department',
918
+ DEPOSIT = 'deposit',
919
+ DEPOSIT_APPLICATION = 'depositapplication',
920
+ DESCRIPTION_ITEM = 'descriptionitem',
921
+ DISCOUNT_ITEM = 'discountitem',
922
+ DOWNLOAD_ITEM = 'downloaditem',
923
+ EMAIL_TEMPLATE = 'emailtemplate',
924
+ EMPLOYEE = 'employee',
925
+ EMPLOYEE_CHANGE_REQUEST = 'employeechangerequest',
926
+ EMPLOYEE_CHANGE_REQUEST_TYPE = 'employeechangerequesttype',
927
+ EMPLOYEE_EXPENSE_SOURCE_TYPE = 'employeeexpensesourcetype',
928
+ EMPLOYEE_STATUS = 'employeestatus',
929
+ EMPLOYEE_TYPE = 'employeetype',
930
+ ENTITY_ACCOUNT_MAPPING = 'entityaccountmapping',
931
+ ESTIMATE = 'estimate',
932
+ EXPENSE_AMORTIZATION_EVENT = 'expenseamortizationevent',
933
+ EXPENSE_CATEGORY = 'expensecategory',
934
+ EXPENSE_PLAN = 'expenseplan',
935
+ EXPENSE_REPORT = 'expensereport',
936
+ EXPENSE_REPORT_POLICY = 'expensereportpolicy',
937
+ FAIR_VALUE_PRICE = 'fairvalueprice',
938
+ FINANCIAL_INSTITUTION = 'financialinstitution',
939
+ FIXED_AMOUNT_PROJECT_REVENUE_RULE = 'fixedamountprojectrevenuerule',
940
+ FOLDER = 'folder',
941
+ FORMAT_PROFILE = 'formatprofile',
942
+ FULFILLMENT_REQUEST = 'fulfillmentrequest',
943
+ GENERAL_TOKEN = 'generaltoken',
944
+ GENERIC_RESOURCE = 'genericresource',
945
+ GIFT_CERTIFICATE = 'giftcertificate',
946
+ GIFT_CERTIFICATE_ITEM = 'giftcertificateitem',
947
+ GL_NUMBERING_SEQUENCE = 'glnumberingsequence',
948
+ GLOBAL_ACCOUNT_MAPPING = 'globalaccountmapping',
949
+ GLOBAL_INVENTORY_RELATIONSHIP = 'globalinventoryrelationship',
950
+ GOAL = 'goal',
951
+ IMPORTED_EMPLOYEE_EXPENSE = 'importedemployeeexpense',
952
+ INBOUND_SHIPMENT = 'inboundshipment',
953
+ INTERCOMP_ALLOCATION_SCHEDULE = 'intercompallocationschedule',
954
+ INTER_COMPANY_JOURNAL_ENTRY = 'intercompanyjournalentry',
955
+ INTER_COMPANY_TRANSFER_ORDER = 'intercompanytransferorder',
956
+ INVENTORY_ADJUSTMENT = 'inventoryadjustment',
957
+ INVENTORY_COST_REVALUATION = 'inventorycostrevaluation',
958
+ INVENTORY_COUNT = 'inventorycount',
959
+ INVENTORY_DETAIL = 'inventorydetail',
960
+ INVENTORY_ITEM = 'inventoryitem',
961
+ INVENTORY_NUMBER = 'inventorynumber',
962
+ INVENTORY_STATUS = 'inventorystatus',
963
+ INVENTORY_STATUS_CHANGE = 'inventorystatuschange',
964
+ INVENTORY_TRANSFER = 'inventorytransfer',
965
+ INVENTORY_WORKSHEET = 'inventoryworksheet',
966
+ INVOICE = 'invoice',
967
+ INVOICE_GROUP = 'invoicegroup',
968
+ ISSUE = 'issue',
969
+ ISSUE_PRODUCT = 'issueproduct',
970
+ ISSUE_PRODUCT_VERSION = 'issueproductversion',
971
+ ITEM_ACCOUNT_MAPPING = 'itemaccountmapping',
972
+ ITEM_COLLECTION = 'itemcollection',
973
+ ITEM_COLLECTION_ITEM_MAP = 'itemcollectionitemmap',
974
+ ITEM_DEMAND_PLAN = 'itemdemandplan',
975
+ ITEM_FULFILLMENT = 'itemfulfillment',
976
+ ITEM_GROUP = 'itemgroup',
977
+ ITEM_LOCATION_CONFIGURATION = 'itemlocationconfiguration',
978
+ ITEM_PROCESS_FAMILY = 'itemprocessfamily',
979
+ ITEM_PROCESS_GROUP = 'itemprocessgroup',
980
+ ITEM_RECEIPT = 'itemreceipt',
981
+ ITEM_REVISION = 'itemrevision',
982
+ ITEM_SUPPLY_PLAN = 'itemsupplyplan',
983
+ JOB = 'job',
984
+ JOB_STATUS = 'jobstatus',
985
+ JOB_TYPE = 'jobtype',
986
+ JOURNAL_ENTRY = 'journalentry',
987
+ KIT_ITEM = 'kititem',
988
+ LABOR_BASED_PROJECT_REVENUE_RULE = 'laborbasedprojectrevenuerule',
989
+ LEAD = 'lead',
990
+ LOCATION = 'location',
991
+ LOT_NUMBERED_ASSEMBLY_ITEM = 'lotnumberedassemblyitem',
992
+ LOT_NUMBERED_INVENTORY_ITEM = 'lotnumberedinventoryitem',
993
+ MANUFACTURING_COST_TEMPLATE = 'manufacturingcosttemplate',
994
+ MANUFACTURING_OPERATION_TASK = 'manufacturingoperationtask',
995
+ MANUFACTURING_ROUTING = 'manufacturingrouting',
996
+ MAP_REDUCE_SCRIPT = 'mapreducescript',
997
+ MARKUP_ITEM = 'markupitem',
998
+ MASSUPDATE_SCRIPT = 'massupdatescript',
999
+ MEM_DOC = 'memdoc',
1000
+ MERCHANDISE_HIERARCHY_LEVEL = 'merchandisehierarchylevel',
1001
+ MERCHANDISE_HIERARCHY_NODE = 'merchandisehierarchynode',
1002
+ MERCHANDISE_HIERARCHY_VERSION = 'merchandisehierarchyversion',
1003
+ MESSAGE = 'message',
1004
+ MFG_PLANNED_TIME = 'mfgplannedtime',
1005
+ NEXUS = 'nexus',
1006
+ NON_INVENTORY_ITEM = 'noninventoryitem',
1007
+ NOTE = 'note',
1008
+ NOTE_TYPE = 'notetype',
1009
+ OPPORTUNITY = 'opportunity',
1010
+ ORDER_RESERVATION = 'orderreservation',
1011
+ ORDER_SCHEDULE = 'orderschedule',
1012
+ ORDER_TYPE = 'ordertype',
1013
+ OTHER_CHARGE_ITEM = 'otherchargeitem',
1014
+ OTHER_NAME = 'othername',
1015
+ OTHER_NAME_CATEGORY = 'othernamecategory',
1016
+ PARTNER = 'partner',
1017
+ PARTNER_CATEGORY = 'partnercategory',
1018
+ PAYCHECK = 'paycheck',
1019
+ PAYCHECK_JOURNAL = 'paycheckjournal',
1020
+ PAYMENT_CARD = 'paymentcard',
1021
+ PAYMENT_CARD_TOKEN = 'paymentcardtoken',
1022
+ PAYMENT_ITEM = 'paymentitem',
1023
+ PAYMENT_METHOD = 'paymentmethod',
1024
+ PAYROLL_ITEM = 'payrollitem',
1025
+ PCT_COMPLETE_PROJECT_REVENUE_RULE = 'pctcompleteprojectrevenuerule',
1026
+ PERFORMANCE_METRIC = 'performancemetric',
1027
+ PERFORMANCE_REVIEW = 'performancereview',
1028
+ PERFORMANCE_REVIEW_SCHEDULE = 'performancereviewschedule',
1029
+ PERIOD_END_JOURNAL = 'periodendjournal',
1030
+ PHONE_CALL = 'phonecall',
1031
+ PICK_STRATEGY = 'pickstrategy',
1032
+ PICK_TASK = 'picktask',
1033
+ PLANNED_ORDER = 'plannedorder',
1034
+ PLANNING_ITEM_CATEGORY = 'planningitemcategory',
1035
+ PLANNING_ITEM_GROUP = 'planningitemgroup',
1036
+ PLANNING_RULE_GROUP = 'planningrulegroup',
1037
+ PLANNING_VIEW = 'planningview',
1038
+ PORTLET = 'portlet',
1039
+ PRICE_BOOK = 'pricebook',
1040
+ PRICE_LEVEL = 'pricelevel',
1041
+ PRICE_PLAN = 'priceplan',
1042
+ PRICING_GROUP = 'pricinggroup',
1043
+ PROJECT_EXPENSE_TYPE = 'projectexpensetype',
1044
+ PROJECT_IC_CHARGE_REQUEST = 'projecticchargerequest',
1045
+ PROJECT_TASK = 'projecttask',
1046
+ PROJECT_TEMPLATE = 'projecttemplate',
1047
+ PROMOTION_CODE = 'promotioncode',
1048
+ PROSPECT = 'prospect',
1049
+ PURCHASE_CONTRACT = 'purchasecontract',
1050
+ PURCHASE_ORDER = 'purchaseorder',
1051
+ PURCHASE_REQUISITION = 'purchaserequisition',
1052
+ REALLOCATE_ITEM = 'reallocateitem',
1053
+ RECEIVE_INBOUND_SHIPMENT = 'receiveinboundshipment',
1054
+ RESOURCE_ALLOCATION = 'resourceallocation',
1055
+ RESTLET = 'restlet',
1056
+ RETURN_AUTHORIZATION = 'returnauthorization',
1057
+ REVENUE_ARRANGEMENT = 'revenuearrangement',
1058
+ REVENUE_COMMITMENT = 'revenuecommitment',
1059
+ REVENUE_COMMITMENT_REVERSAL = 'revenuecommitmentreversal',
1060
+ REVENUE_PLAN = 'revenueplan',
1061
+ REV_REC_FIELD_MAPPING = 'revrecfieldmapping',
1062
+ REV_REC_SCHEDULE = 'revrecschedule',
1063
+ REV_REC_TEMPLATE = 'revrectemplate',
1064
+ SALES_CHANNEL = 'saleschannel',
1065
+ SALES_ORDER = 'salesorder',
1066
+ SALES_ROLE = 'salesrole',
1067
+ SALES_TAX_ITEM = 'salestaxitem',
1068
+ SCHEDULED_SCRIPT = 'scheduledscript',
1069
+ SCHEDULED_SCRIPT_INSTANCE = 'scheduledscriptinstance',
1070
+ SCRIPT_DEPLOYMENT = 'scriptdeployment',
1071
+ SERIALIZED_ASSEMBLY_ITEM = 'serializedassemblyitem',
1072
+ SERIALIZED_INVENTORY_ITEM = 'serializedinventoryitem',
1073
+ SERVICE_ITEM = 'serviceitem',
1074
+ SHIP_ITEM = 'shipitem',
1075
+ SOLUTION = 'solution',
1076
+ STATISTICAL_JOURNAL_ENTRY = 'statisticaljournalentry',
1077
+ STORE_PICKUP_FULFILLMENT = 'storepickupfulfillment',
1078
+ SUBSCRIPTION = 'subscription',
1079
+ SUBSCRIPTION_CHANGE_ORDER = 'subscriptionchangeorder',
1080
+ SUBSCRIPTION_LINE = 'subscriptionline',
1081
+ SUBSCRIPTION_PLAN = 'subscriptionplan',
1082
+ SUBSCRIPTION_TERM = 'subscriptionterm',
1083
+ SUBSIDIARY = 'subsidiary',
1084
+ SUBSIDIARY_SETTINGS = 'subsidiarysettings',
1085
+ SUBTOTAL_ITEM = 'subtotalitem',
1086
+ SUITELET = 'suitelet',
1087
+ SUPPLY_CHAIN_SNAPSHOT = 'supplychainsnapshot',
1088
+ SUPPLY_CHAIN_SNAPSHOT_SIMULATION = 'supplychainsnapshotsimulation',
1089
+ SUPPLY_CHANGE_ORDER = 'supplychangeorder',
1090
+ SUPPLY_PLAN_DEFINITION = 'supplyplandefinition',
1091
+ SUPPORT_CASE = 'supportcase',
1092
+ TASK = 'task',
1093
+ TAX_ACCT = 'taxacct',
1094
+ TAX_GROUP = 'taxgroup',
1095
+ TAX_PERIOD = 'taxperiod',
1096
+ TAX_TYPE = 'taxtype',
1097
+ TERM = 'term',
1098
+ TIME_BILL = 'timebill',
1099
+ TIME_ENTRY = 'timeentry',
1100
+ TIME_OFF_CHANGE = 'timeoffchange',
1101
+ TIME_OFF_PLAN = 'timeoffplan',
1102
+ TIME_OFF_REQUEST = 'timeoffrequest',
1103
+ TIME_OFF_RULE = 'timeoffrule',
1104
+ TIME_OFF_TYPE = 'timeofftype',
1105
+ TIME_SHEET = 'timesheet',
1106
+ TOPIC = 'topic',
1107
+ TRANSFER_ORDER = 'transferorder',
1108
+ UNITS_TYPE = 'unitstype',
1109
+ UNLOCKED_TIME_PERIOD = 'unlockedtimeperiod',
1110
+ USAGE = 'usage',
1111
+ USEREVENT_SCRIPT = 'usereventscript',
1112
+ VENDOR = 'vendor',
1113
+ VENDOR_BILL = 'vendorbill',
1114
+ VENDOR_CATEGORY = 'vendorcategory',
1115
+ VENDOR_CREDIT = 'vendorcredit',
1116
+ VENDOR_PAYMENT = 'vendorpayment',
1117
+ VENDOR_PREPAYMENT = 'vendorprepayment',
1118
+ VENDOR_PREPAYMENT_APPLICATION = 'vendorprepaymentapplication',
1119
+ VENDOR_RETURN_AUTHORIZATION = 'vendorreturnauthorization',
1120
+ VENDOR_SUBSIDIARY_RELATIONSHIP = 'vendorsubsidiaryrelationship',
1121
+ WAVE = 'wave',
1122
+ WBS = 'wbs',
1123
+ WEBSITE = 'website',
1124
+ WORKFLOW_ACTION_SCRIPT = 'workflowactionscript',
1125
+ WORK_ORDER = 'workorder',
1126
+ WORK_ORDER_CLOSE = 'workorderclose',
1127
+ WORK_ORDER_COMPLETION = 'workordercompletion',
1128
+ WORK_ORDER_ISSUE = 'workorderissue',
1129
+ WORKPLACE = 'workplace',
1130
+ ZONE = 'zone'
1113
1131
  }
package/N/types.d.ts CHANGED
@@ -149,7 +149,7 @@ export namespace EntryPoints {
149
149
 
150
150
  interface validateFieldContext {
151
151
  currentRecord: N_record.ClientCurrentRecord;
152
- sublistId: string;
152
+ sublistId: string|null;
153
153
  fieldId: string;
154
154
  line?: number;
155
155
  column?: number;
@@ -1,6 +1,6 @@
1
1
  import {ServerResponse} from '../http';
2
2
  import {AddColumnOptions, AddEditColumnOptions, AddRowOptions, AddRowsOptions} from '../portlet';
3
- import {Message, MessageCreateOptions} from '../ui/message';
3
+ import {Message, MessageCreateOptions} from './message';
4
4
 
5
5
  export interface AddButtonOptions {
6
6
  /** The internal ID of the button. If you are adding the button to an existing page, the internal ID must be in lowercase, contain no spaces, and include the prefix custpage. */
@@ -462,7 +462,8 @@ export interface Form extends BaseForm {
462
462
  getSublist(options: IDOptions): Sublist;
463
463
  getSubtab(options: IDOptions): Tab;
464
464
  getTab(options: { id: string }): Tab;
465
- getTabs(): Tab[];
465
+ /** Returns an array that contains the internal IDs of all tabs in a form. */
466
+ getTabs(): string[];
466
467
  insertField(options: InsertFieldOptions): Field;
467
468
  insertSublist(options: InsertSublistOptions): Sublist;
468
469
  insertSubtab(options: InsertSubtabOptions): Tab;
package/README.md CHANGED
@@ -26,7 +26,6 @@ You can import the modules and use them like normal using standard TypeScript sy
26
26
  "sourceMap": false,
27
27
  "newLine": "LF",
28
28
  "experimentalDecorators": true,
29
- "noImplicitUseStrict": true,
30
29
  "baseUrl": ".",
31
30
  "lib": ["es5", "es2015.promise", "dom"],
32
31
  "paths": {
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "posttest": "npm run cleanup"
9
9
  },
10
10
  "homepage": "https://github.com/headintheclouddev/typings-suitescript-2.0",
11
- "version": "2024.1.2",
11
+ "version": "2024.1.4",
12
12
  "author": "Head in the Cloud Development <gurus@headintheclouddev.com> (www.headintheclouddev.com)",
13
13
  "license": "MIT",
14
14
  "repository": {
package/tsconfig.json CHANGED
@@ -8,9 +8,8 @@
8
8
  "esModuleInterop": true,
9
9
  "allowSyntheticDefaultImports": true,
10
10
  "experimentalDecorators": true,
11
- "noImplicitUseStrict": true,
12
11
  "baseUrl": ".",
13
- "lib": ["ES6", "DOM.Iterable", "DOM"],
12
+ "lib": ["ES6", "DOM.Iterable", "DOM"]
14
13
  },
15
14
  "exclude": ["node_modules"]
16
- }
15
+ }