@qlik/api 1.32.0 → 1.34.0

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.
Files changed (142) hide show
  1. package/api-keys.d.ts +13 -12
  2. package/api-keys.js +64 -50
  3. package/apps.d.ts +56 -56
  4. package/apps.js +392 -304
  5. package/assistants.d.ts +34 -34
  6. package/assistants.js +257 -201
  7. package/audits.d.ts +10 -10
  8. package/audits.js +48 -36
  9. package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
  10. package/auth.d.ts +17 -4
  11. package/auth.js +4 -2
  12. package/automation-connections.d.ts +12 -12
  13. package/automation-connections.js +75 -59
  14. package/automations.d.ts +29 -29
  15. package/automations.js +159 -123
  16. package/automl-deployments.d.ts +4 -4
  17. package/automl-deployments.js +14 -12
  18. package/automl-predictions.d.ts +13 -13
  19. package/automl-predictions.js +56 -44
  20. package/brands.d.ts +18 -18
  21. package/brands.js +107 -83
  22. package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
  23. package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
  24. package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
  25. package/chunks/7MMXU6EL.js +86 -0
  26. package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
  27. package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
  28. package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
  29. package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
  30. package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
  31. package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
  32. package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
  33. package/collections.d.ts +16 -15
  34. package/collections.js +98 -76
  35. package/conditions.d.ts +13 -13
  36. package/conditions.js +97 -75
  37. package/consumption.d.ts +4 -4
  38. package/consumption.js +11 -9
  39. package/csp-origins.d.ts +9 -9
  40. package/csp-origins.js +53 -41
  41. package/csrf-token.d.ts +3 -3
  42. package/csrf-token.js +10 -8
  43. package/data-alerts.d.ts +22 -22
  44. package/data-alerts.js +139 -107
  45. package/data-assets.d.ts +8 -8
  46. package/data-assets.js +50 -40
  47. package/data-connections.d.ts +16 -16
  48. package/data-connections.js +87 -69
  49. package/data-credentials.d.ts +11 -11
  50. package/data-credentials.js +52 -42
  51. package/data-files.d.ts +18 -18
  52. package/data-files.js +107 -83
  53. package/data-qualities.d.ts +6 -6
  54. package/data-qualities.js +28 -22
  55. package/data-sets.d.ts +10 -10
  56. package/data-sets.js +59 -47
  57. package/data-sources.d.ts +7 -7
  58. package/data-sources.js +28 -22
  59. package/data-stores.d.ts +16 -16
  60. package/data-stores.js +92 -72
  61. package/dcaas.d.ts +6 -6
  62. package/dcaas.js +28 -22
  63. package/di-projects.d.ts +22 -22
  64. package/di-projects.js +148 -116
  65. package/direct-access-agents.d.ts +328 -0
  66. package/direct-access-agents.js +108 -0
  67. package/encryption.d.ts +12 -12
  68. package/encryption.js +82 -62
  69. package/extensions.d.ts +11 -11
  70. package/extensions.js +61 -47
  71. package/glossaries.d.ts +33 -33
  72. package/glossaries.js +221 -173
  73. package/groups.d.ts +12 -12
  74. package/groups.js +72 -56
  75. package/identity-providers.d.ts +11 -11
  76. package/identity-providers.js +67 -51
  77. package/index.d.ts +9 -4
  78. package/index.js +102 -67
  79. package/interceptors.d.ts +9 -2
  80. package/interceptors.js +2 -2
  81. package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
  82. package/items.d.ts +14 -13
  83. package/items.js +71 -55
  84. package/knowledgebases.d.ts +23 -23
  85. package/knowledgebases.js +153 -119
  86. package/licenses.d.ts +16 -14
  87. package/licenses.js +76 -58
  88. package/lineage-graphs.d.ts +17 -17
  89. package/lineage-graphs.js +76 -60
  90. package/ml.d.ts +238 -60
  91. package/ml.js +391 -286
  92. package/notes.d.ts +4 -4
  93. package/notes.js +19 -15
  94. package/notifications.d.ts +4 -4
  95. package/notifications.js +11 -9
  96. package/oauth-clients.d.ts +14 -14
  97. package/oauth-clients.js +96 -74
  98. package/oauth-tokens.d.ts +5 -5
  99. package/oauth-tokens.js +19 -15
  100. package/package.json +8 -6
  101. package/qix.d.ts +145 -4
  102. package/qix.js +2 -2
  103. package/questions.d.ts +5 -5
  104. package/questions.js +22 -18
  105. package/quotas.d.ts +6 -6
  106. package/quotas.js +20 -16
  107. package/reload-tasks.d.ts +8 -8
  108. package/reload-tasks.js +46 -36
  109. package/reloads.d.ts +7 -7
  110. package/reloads.js +36 -28
  111. package/report-templates.d.ts +10 -10
  112. package/report-templates.js +64 -50
  113. package/reports.d.ts +4 -4
  114. package/reports.js +20 -16
  115. package/roles.d.ts +8 -8
  116. package/roles.js +46 -36
  117. package/sharing-tasks.d.ts +14 -14
  118. package/sharing-tasks.js +89 -69
  119. package/spaces.d.ts +27 -23
  120. package/spaces.js +153 -119
  121. package/tasks.d.ts +17 -17
  122. package/tasks.js +90 -70
  123. package/temp-contents.d.ts +7 -7
  124. package/temp-contents.js +30 -24
  125. package/tenants.d.ts +8 -8
  126. package/tenants.js +57 -45
  127. package/themes.d.ts +11 -11
  128. package/themes.js +61 -47
  129. package/transports.d.ts +8 -8
  130. package/transports.js +49 -37
  131. package/ui-config.d.ts +9 -9
  132. package/ui-config.js +61 -47
  133. package/users.d.ts +15 -15
  134. package/users.js +81 -63
  135. package/web-integrations.d.ts +8 -8
  136. package/web-integrations.js +46 -36
  137. package/web-notifications.d.ts +9 -9
  138. package/web-notifications.js +53 -41
  139. package/webhooks.d.ts +14 -14
  140. package/webhooks.js +88 -68
  141. package/chunks/2ZQ3ZX7F.js +0 -33
  142. package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/qix.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { H as HostConfig } from './auth-types-DqfMuSRX.js';
2
- import './invoke-fetch-types-Cq7bjkqn.js';
1
+ import { H as HostConfig } from './auth-types-Cj5bM3Yk.js';
3
2
 
4
- declare const QIX_SCHEMA_VERSION = "12.2418.0";
3
+ declare const QIX_SCHEMA_VERSION = "12.2469.0";
5
4
  type AlfaNumString = {
6
5
  /**
7
6
  * Calculated value.
@@ -441,6 +440,12 @@ type BookmarkList<QData> = {
441
440
  * Information about the list of bookmarks.
442
441
  */
443
442
  qItems?: NxContainerEntry<QData>[];
443
+ /**
444
+ * Hierarchy of groups and bookmarks, below the top level group pointed to by the qGroupId property.
445
+ *
446
+ * Stability: *experimental*
447
+ */
448
+ qHierarchy?: NxGroupMember[];
444
449
  };
445
450
  /**
446
451
  * Defines the list of bookmarks.
@@ -458,6 +463,12 @@ type BookmarkListDef = {
458
463
  * Include the bookmark patches. Patches can be very large and may make the list result unmanageable.
459
464
  */
460
465
  qIncludePatches?: boolean;
466
+ /**
467
+ * ID of separate generic object that holds an NxGroupDef, specifying a grouping and ordering of bookmarks.
468
+ *
469
+ * Stability: *experimental*
470
+ */
471
+ qGroupId?: string;
461
472
  };
462
473
  type BookmarkStateFieldPages = {
463
474
  /**
@@ -3972,6 +3983,48 @@ type NxGetObjectOptions = {
3972
3983
  */
3973
3984
  qData?: Record<string, string>;
3974
3985
  };
3986
+ /**
3987
+ * Defines the properties of an object group.
3988
+ *
3989
+ * Stability: *experimental*
3990
+ */
3991
+ type NxGroupDef = {
3992
+ /**
3993
+ * Specifies the class of the group's object members.
3994
+ *
3995
+ * One of:
3996
+ * * bookmark or MEMBER_BOOKMARK
3997
+ * * object or MEMBER_OBJECT
3998
+ */
3999
+ qClass?: NxGroupMemberClass;
4000
+ /**
4001
+ * Specifies the type of the group's object members.
4002
+ */
4003
+ qType?: string;
4004
+ /**
4005
+ * The group's label. Will be evaluated as an expression if it starts with '='.
4006
+ */
4007
+ qLabel?: string;
4008
+ /**
4009
+ * The objects and sub-groups that are members of the group.
4010
+ */
4011
+ qMemberIds?: NxGroupObjectId[];
4012
+ };
4013
+ type NxGroupMember = {
4014
+ qObjectId?: string;
4015
+ };
4016
+ type NxGroupMemberClass = "bookmark" | "MEMBER_BOOKMARK" | "object" | "MEMBER_OBJECT";
4017
+ /**
4018
+ * Holds the ID of a _NxGroupDef_'s member.
4019
+ * _GroupId_ holds the ID of a sub-group while _ObjectId_ holds the ID of an object.
4020
+ * Only one Id should be set. _GroupId_ takes precedence if both are set.
4021
+ *
4022
+ * Stability: *experimental*
4023
+ */
4024
+ type NxGroupObjectId = {
4025
+ qGroupId?: string;
4026
+ qObjectId?: string;
4027
+ };
3975
4028
  type NxGroupTail = {
3976
4029
  /**
3977
4030
  * Number of elements that are part of the previous tail.
@@ -8685,6 +8738,21 @@ type NativeDocFunctions<FieldRpcObject, GenericBookmarkRpcObject, GenericDimensi
8685
8738
  * Stability: *locked*
8686
8739
  */
8687
8740
  getObjects: <QData>(options: NxGetObjectOptions) => Promise<NxContainerEntry<QData>[]>;
8741
+ /**
8742
+ * Get or create a generic object at app level with a specific Id and Type.
8743
+ * Id and Type are specified in the GenericObjectProperties passed in.
8744
+ * All other fields in this parameter serve as default properties.
8745
+ * If the object does not exist with that Id, it is created and initialized from the default properties.
8746
+ * If the object already exists, it is not changed. The properties passed in are not used.
8747
+ * The call will fail if the Id is already used for another purpose, such as for an object of a different Type.
8748
+ *
8749
+ * Parameters:
8750
+ *
8751
+ * - `prop` - GenericObjectProperties with at least Info : { "qId": "&lt;identifier of the new generic object&gt;", "qType": "&lt;type of the new generic object&gt;" }
8752
+ *
8753
+ * Stability: *experimental*
8754
+ */
8755
+ getOrCreateObject: <CustomProperties = DefaultGenericObjectProperties, CustomGenericObject = GenericObjectRpcObject>(prop: CustomProperties) => Promise<CustomGenericObject>;
8688
8756
  /**
8689
8757
  * Gets values in script.
8690
8758
  *
@@ -9814,6 +9882,21 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
9814
9882
  * Stability: *locked*
9815
9883
  */
9816
9884
  acceptListObjectSearch: (path: string, toggleMode: boolean, softLock?: boolean) => Promise<void>;
9885
+ /**
9886
+ * You can use the AddGroupMembers method with any object that contains an object grouping definition.
9887
+ * This method allows you to add one or more members to an existing group of objects directly.
9888
+ *
9889
+ * Parameters:
9890
+ *
9891
+ * - `path` - Path to the definition of the object to be selected.
9892
+ * For exampleb _/qNxGroupDef_ .
9893
+ * - `members` - Array of IDs for the objects and/or subgroups to add to the group.
9894
+ * - `targetGroupId` - Name of the group the Members will be added to (if not the called object).
9895
+ * - `posId` - Id of the member whose position to insert into.
9896
+ *
9897
+ * Stability: *experimental*
9898
+ */
9899
+ addGroupMembers: (path: string, members: NxGroupObjectId[], targetGroupId?: string, posId?: string) => Promise<void>;
9817
9900
  /**
9818
9901
  * Applies a patch to the properties of an object. Allows an update to some of the properties.
9819
9902
  * It is possible to apply a patch to the properties of a generic object, that is not persistent. Such a patch is called a soft patch.
@@ -9938,6 +10021,20 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
9938
10021
  * Stability: *locked*
9939
10022
  */
9940
10023
  createChild: <CustomChildProperties = GenericObjectProperties, CustomGenericObject = GenericObjectRpcObject>(prop: CustomChildProperties, propForThis?: CustomProperties) => Promise<CustomGenericObject>;
10024
+ /**
10025
+ * You can use the CreateGroup method with any object that contains an object grouping definition.
10026
+ * This method allows you to create a new subgroup of objects directly and add it to a groups members.
10027
+ *
10028
+ * Parameters:
10029
+ *
10030
+ * - `path` - Path to the definition of the object to be selected.
10031
+ * For example _/qNxGroupDef_ .
10032
+ * - `groupDef` - Definition of the new group.
10033
+ * - `targetGroupId` - Id of the group to create the new subgroup in (if not the called object).
10034
+ *
10035
+ * Stability: *experimental*
10036
+ */
10037
+ createGroup: (path: string, groupDef: NxGroupDef, targetGroupId?: string) => Promise<string>;
9941
10038
  /**
9942
10039
  * Removes all children and all children to the children on an object.
9943
10040
  *
@@ -10557,6 +10654,35 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
10557
10654
  * Stability: *locked*
10558
10655
  */
10559
10656
  rangeSelectHyperCubeValues: (path: string, ranges: NxRangeSelectInfo[], columnsToSelect?: number[], orMode?: boolean, deselectOnlyOneSelected?: boolean) => Promise<boolean>;
10657
+ /**
10658
+ * You can use the RemoveGroup method with any object that contains an object grouping definition.
10659
+ * This method allows you to remove a group of objects directly.
10660
+ * This action only removes the group, not any of its members.
10661
+ *
10662
+ * Parameters:
10663
+ *
10664
+ * - `path` - Path to the definition of the object to be selected.
10665
+ * For example _/qNxGroupDef_ .
10666
+ * - `groupId` - Name of the group to be removed.
10667
+ * May not be an empty string.
10668
+ *
10669
+ * Stability: *experimental*
10670
+ */
10671
+ removeGroup: (path: string, groupId: string) => Promise<void>;
10672
+ /**
10673
+ * You can use the RemoveGroupMembers method with any object that contains an object grouping definition.
10674
+ * This method allows you to remove one or more members from an existing group of objects directly.
10675
+ *
10676
+ * Parameters:
10677
+ *
10678
+ * - `path` - Path to the definition of the object to be selected.
10679
+ * For example _/qNxGroupDef_ .
10680
+ * - `members` - Array of IDs for the objects and/or subgroups to remove from the group.
10681
+ * - `targetGroupId` - Name of the group the Members will be removed from (if not the called object).
10682
+ *
10683
+ * Stability: *experimental*
10684
+ */
10685
+ removeGroupMembers: (path: string, members: string[], targetGroupId?: string) => Promise<void>;
10560
10686
  /**
10561
10687
  * Resets all selections made in selection mode.
10562
10688
  *
@@ -10836,6 +10962,21 @@ type NativeGenericObjectFunctions<CustomProperties, CustomLayout, GenericObjectR
10836
10962
  * Stability: *locked*
10837
10963
  */
10838
10964
  setFullPropertyTree: (propEntry: GenericObjectEntry) => Promise<void>;
10965
+ /**
10966
+ * You can use the SetGroupLabel method with any object that contains an object grouping definition.
10967
+ * This method allows you to change the label of an existing group of objects directly.
10968
+ *
10969
+ * Parameters:
10970
+ *
10971
+ * - `path` - Path to the definition of the object to be selected.
10972
+ * For example _/qNxGroupDef_ .
10973
+ * - `newLabel` - New label for the group.
10974
+ * A label starting with an '=' will be evaluated as an expression.
10975
+ * - `targetGroupId` - Id of the group whose label will be set (if not the called object).
10976
+ *
10977
+ * Stability: *experimental*
10978
+ */
10979
+ setGroupLabel: (path: string, newLabel: string, targetGroupId?: string) => Promise<void>;
10839
10980
  /**
10840
10981
  * Sets some properties for a generic object.
10841
10982
  * <div class=note>The properties depends on the generic object type, see [properties](genericobject-property.html).</div>
@@ -12242,4 +12383,4 @@ declare const qix: QixAPI & {
12242
12383
  withHostConfig: (hostConfig: HostConfig | undefined) => QixAPI;
12243
12384
  };
12244
12385
 
12245
- export { type AlfaNumString, type AlternateStateData, type AnyGenericObjectLayout, type AnyGenericObjectProperties, type AppEntry, type AppObjectList, type AppObjectListDef, type AppScript, type AppScriptMeta, type AppSession, type ApplyGroupStateWarning, type ApplyGroupStateWarningType, type ApplyGroupStatesResult, type ArrayOfNxValuePoint, type AssociationScore, type BNFDef, type BNFDefMetaType, type BNFType, type Blob, type Bookmark, type BookmarkApplyAndVerifyResult, type BookmarkFieldItem, type BookmarkFieldPage, type BookmarkFieldPageEx, type BookmarkFieldVerifyResultState, type BookmarkFieldVerifyWarning, type BookmarkList, type BookmarkListData, type BookmarkListDef, type BookmarkListItem, type BookmarkStateFieldPages, type BookmarkVariableItem, type CalendarStrings, type CharEncodingType, type CharRange, type ChildList, type ChildListDef, type CloseProps, type CodePage, type CombinedWebSocketStateEvent, type CondDef, type Connection, type ContentLibraryList, type ContentLibraryListItem, type CurrentSelections, type CustomConnector, type CyclicGroupPosition, type DataField, type DataRecord, type DataTable, type DataTableEx, type Database, type DatabaseInfo, type DatabaseOwner, type DelimiterInfo, type DerivedFieldsInTableData, type DimensionList, type DimensionListData, type DimensionListDef, type DimensionListItem, type DimensionReference, type DoReloadExParams, type DoReloadExResult, type Doc, type DocAction, type DocListEntry, type DriveInfo, type DriveType, type DynamicAppViewListData, type DynamicAppViewListItem, type EditorBreakpoint, type EmbeddedSnapshot, type EmbeddedSnapshotDef, type ErrorData, type ErrorDataCode, type ExpandedFieldListItem, type ExpansionData, type ExtendedLayoutBookmarkData, type ExtendedPivotStateData, type ExtensionList, type ExtensionListDef, type FailureData, type Field, type FieldAttrType, type FieldAttributes, type FieldDefEx, type FieldDescription, type FieldInTableData, type FieldInTableProfilingData, type FieldList, type FieldListDef, type FieldListObject, type FieldOrColumn, type FieldScores, type FieldType, type FieldValue, type FileDataFormat, type FileType, type FilterInfo, type FilterType, type FolderItem, type FolderItemType, type FrequencyDistributionData, type FunctionGroup, type GenericBookmark, type GenericBookmarkEntry, type GenericBookmarkLayout, type GenericBookmarkProperties, type GenericConnectMachine, type GenericDimension, type GenericDimensionInfo, type GenericDimensionLayout, type GenericDimensionProperties, type GenericListObject, type GenericMeasure, type GenericMeasureLayout, type GenericMeasureProperties, type GenericObject, type GenericObjectEntry, type GenericObjectLayout, type GenericObjectLayoutAdditionalProperties, type GenericObjectLayoutNode, type GenericObjectLayoutNodeLevel2, type GenericObjectLayoutNodeLevel3, type GenericObjectLayoutNodeLevel4, type GenericObjectLayoutNodeLevel5, type GenericObjectLayoutNodeRec, type GenericObjectProperties, type GenericObjectPropertiesAdditionalProperties, type GenericObjectPropertiesNode, type GenericObjectPropertiesNodeLevel2, type GenericObjectPropertiesNodeLevel3, type GenericObjectPropertiesNodeLevel4, type GenericObjectPropertiesNodeLevel5, type GenericObjectPropertiesNodeRec, type GenericVariable, type GenericVariableConstraints, type GenericVariableLayout, type GenericVariableProperties, type GenericVariableType, type Global, type GraphMode, type GroupBookmarkData, type GroupState, type GroupStateInfo, type HyperCube, type HyperCubeDef, type InputFieldItem, type InterFieldSortData, type InteractDef, type InteractType, type KeyType, type LayoutBookmarkData, type LayoutExclude, type LayoutFieldInfo, type LineageInfo, type ListBoxProperties, type ListFunctions, type ListItem, type ListObject, type ListObjectDef, type LocaleInfo, type LogOnType, type MasterObjectListData, type MasterObjectListItem, type MeasureList, type MeasureListData, type MeasureListDef, type MeasureListItem, type MediaListDef, type MediaListItem, type MetaData, type ModalFunctions, type NativeDocFunctions, type NativeFieldFunctions, type NativeGenericBookmarkFunctions, type NativeGenericDimensionFunctions, type NativeGenericMeasureFunctions, type NativeGenericObjectFunctions, type NativeGenericVariableFunctions, type NativeGlobalFunctions, type NativeReactHooks, type NativeVariableFunctions, type NxAppLayout, type NxAppProperties, type NxAttrDimDef, type NxAttrDimInfo, type NxAttrExprDef, type NxAttrExprInfo, type NxAttributeDimValues, type NxAttributeExpressionValues, type NxAutoSortByStateDef, type NxAxisData, type NxAxisTicks, type NxBookmark, type NxCalcCond, type NxCardinalities, type NxCell, type NxCellPosition, type NxCellRows, type NxContainerEntry, type NxContinuousDataOptions, type NxContinuousMode, type NxContinuousRangeSelectInfo, type NxCurrentSelectionItem, type NxDataAreaPage, type NxDataPage, type NxDataReductionMode, type NxDerivedField, type NxDerivedFieldDescriptionList, type NxDerivedFieldsData, type NxDerivedGroup, type NxDimCellType, type NxDimension, type NxDimensionInfo, type NxDimensionType, type NxDownloadInfo, type NxDownloadOptions, type NxEngineVersion, type NxExportFileType, type NxExportState, type NxFeature, type NxFieldDescription, type NxFieldProperties, type NxFieldResourceId, type NxFieldSelectionInfo, type NxFieldSelectionMode, type NxFieldTableResourceId, type NxFrequencyMode, type NxGetBookmarkOptions, type NxGetObjectOptions, type NxGroupTail, type NxGrpType, type NxHighlightRanges, type NxHypercubeMode, type NxInfo, type NxInlineDimensionDef, type NxInlineMeasureDef, type NxLTrendlineType, type NxLayoutErrors, type NxLibraryDimension, type NxLibraryDimensionDef, type NxLibraryMeasure, type NxLibraryMeasureDef, type NxLinkedObjectInfo, type NxListObjectExpression, type NxListObjectExpressionDef, type NxLocalizedErrorCode, type NxLocalizedWarningCode, type NxMatchingFieldInfo, type NxMatchingFieldMode, type NxMeasure, type NxMeasureInfo, type NxMeta, type NxMetaDef, type NxMiniChart, type NxMiniChartCell, type NxMiniChartData, type NxMiniChartDef, type NxMiniChartRows, type NxMultiRangeSelectInfo, type NxPage, type NxPageTreeLevel, type NxPageTreeNode, type NxPatch, type NxPatchOperationType, type NxPatches, type NxPivotDimensionCell, type NxPivotPage, type NxPivotValuePoint, type NxRange, type NxRangeSelectInfo, type NxSelectionCell, type NxSelectionCellType, type NxSelectionInfo, type NxSimpleDimValue, type NxSimpleValue, type NxSortIndicatorType, type NxStackPage, type NxStackedPivotCell, type NxStateCounts, type NxStreamListEntry, type NxTempBookmarkOptions, type NxTickCell, type NxTreeDataOption, type NxTreeDimensionDef, type NxTreeDimensionInfo, type NxTreeMultiRangeSelectInfo, type NxTreeNode, type NxTreeRangeSelectInfo, type NxTreeValue, type NxTrendline, type NxTrendlineDef, type NxTrendlineMode, type NxValidationError, type NxVariableListItem, type NxVariableProperties, type NxViewPort, type ODAGAppLinkListData, type ODAGAppLinkListItem, type ObjectHelperFunctions, type ObjectInterface, type OdbcDsn, type OleDbProvider, type OpenAppSessionProps, type OtherLimitMode, type OtherMode, type OtherSortMode, type OtherTotalSpecProp, type Point, type PositionMark, type ProgressData, type ProgressMessage, type QFunction, QIX_SCHEMA_VERSION, type QMediaList, type QRange, type QixAPI, type RangeSelectInfo, type Rect, type ReloadError, type RpcObject, type SampleResult, type ScriptSyntaxError, type ScrollPosition, type SearchAssociationResult, type SearchAttribute, type SearchCharRange, type SearchCombinationOptions, type SearchContextType, type SearchFieldDictionary, type SearchFieldMatch, type SearchFieldMatchType, type SearchFieldMatchesItem, type SearchFieldSelectionMode, type SearchFieldValueItem, type SearchGroup, type SearchGroupItem, type SearchGroupItemMatch, type SearchGroupItemOptions, type SearchGroupItemType, type SearchGroupOptions, type SearchGroupType, type SearchMatchCombination, type SearchMatchCombinations, type SearchObjectOptions, type SearchPage, type SearchResult, type SearchSuggestItem, type SearchSuggestionResult, type SearchTermResult, type SearchValueOptions, type SearchValuePage, type SearchValueResult, type SelectInfo, type SelectionObject, type SelectionObjectDef, type SheetListData, type SheetListDataCell, type SheetListDataCellBounds, type SheetListItem, type Size, type SortCriteria, type SourceKeyRecord, type SpecialObjectFunctions, type StandardFunctions, type StateEnumType, type StateFieldValues, type StaticContentList, type StaticContentListItem, type StaticContentUrl, type StaticContentUrlDef, type StoryListData, type StoryListItem, type StringExpr, type StringExpression, type SymbolFrequency, type SymbolValue, type TableProfilingData, type TableRecord, type TableRow, type TableViewBroomPointSaveInfo, type TableViewConnectionPointSaveInfo, type TableViewCtlSaveInfo, type TableViewDlgSaveInfo, type TableViewSaveInfo, type TableViewTableWinSaveInfo, type TextMacro, type TotalMode, type TransformAppParameters, type TransformAppResult, type TreeData, type TreeDataDef, type UndoInfo, type UndoInfoDef, type UndoInfoObject, type UsageEnum, type UseAppHook, type ValueExpr, type ValueExpression, type VariableList, type VariableListData, type VariableListDef, type VariableListItem, type WebSocketEvent, type WorkloadType, qix as default, openAppSession, withHostConfig };
12386
+ export { type AlfaNumString, type AlternateStateData, type AnyGenericObjectLayout, type AnyGenericObjectProperties, type AppEntry, type AppObjectList, type AppObjectListDef, type AppScript, type AppScriptMeta, type AppSession, type ApplyGroupStateWarning, type ApplyGroupStateWarningType, type ApplyGroupStatesResult, type ArrayOfNxValuePoint, type AssociationScore, type BNFDef, type BNFDefMetaType, type BNFType, type Blob, type Bookmark, type BookmarkApplyAndVerifyResult, type BookmarkFieldItem, type BookmarkFieldPage, type BookmarkFieldPageEx, type BookmarkFieldVerifyResultState, type BookmarkFieldVerifyWarning, type BookmarkList, type BookmarkListData, type BookmarkListDef, type BookmarkListItem, type BookmarkStateFieldPages, type BookmarkVariableItem, type CalendarStrings, type CharEncodingType, type CharRange, type ChildList, type ChildListDef, type CloseProps, type CodePage, type CombinedWebSocketStateEvent, type CondDef, type Connection, type ContentLibraryList, type ContentLibraryListItem, type CurrentSelections, type CustomConnector, type CyclicGroupPosition, type DataField, type DataRecord, type DataTable, type DataTableEx, type Database, type DatabaseInfo, type DatabaseOwner, type DelimiterInfo, type DerivedFieldsInTableData, type DimensionList, type DimensionListData, type DimensionListDef, type DimensionListItem, type DimensionReference, type DoReloadExParams, type DoReloadExResult, type Doc, type DocAction, type DocListEntry, type DriveInfo, type DriveType, type DynamicAppViewListData, type DynamicAppViewListItem, type EditorBreakpoint, type EmbeddedSnapshot, type EmbeddedSnapshotDef, type ErrorData, type ErrorDataCode, type ExpandedFieldListItem, type ExpansionData, type ExtendedLayoutBookmarkData, type ExtendedPivotStateData, type ExtensionList, type ExtensionListDef, type FailureData, type Field, type FieldAttrType, type FieldAttributes, type FieldDefEx, type FieldDescription, type FieldInTableData, type FieldInTableProfilingData, type FieldList, type FieldListDef, type FieldListObject, type FieldOrColumn, type FieldScores, type FieldType, type FieldValue, type FileDataFormat, type FileType, type FilterInfo, type FilterType, type FolderItem, type FolderItemType, type FrequencyDistributionData, type FunctionGroup, type GenericBookmark, type GenericBookmarkEntry, type GenericBookmarkLayout, type GenericBookmarkProperties, type GenericConnectMachine, type GenericDimension, type GenericDimensionInfo, type GenericDimensionLayout, type GenericDimensionProperties, type GenericListObject, type GenericMeasure, type GenericMeasureLayout, type GenericMeasureProperties, type GenericObject, type GenericObjectEntry, type GenericObjectLayout, type GenericObjectLayoutAdditionalProperties, type GenericObjectLayoutNode, type GenericObjectLayoutNodeLevel2, type GenericObjectLayoutNodeLevel3, type GenericObjectLayoutNodeLevel4, type GenericObjectLayoutNodeLevel5, type GenericObjectLayoutNodeRec, type GenericObjectProperties, type GenericObjectPropertiesAdditionalProperties, type GenericObjectPropertiesNode, type GenericObjectPropertiesNodeLevel2, type GenericObjectPropertiesNodeLevel3, type GenericObjectPropertiesNodeLevel4, type GenericObjectPropertiesNodeLevel5, type GenericObjectPropertiesNodeRec, type GenericVariable, type GenericVariableConstraints, type GenericVariableLayout, type GenericVariableProperties, type GenericVariableType, type Global, type GraphMode, type GroupBookmarkData, type GroupState, type GroupStateInfo, type HyperCube, type HyperCubeDef, type InputFieldItem, type InterFieldSortData, type InteractDef, type InteractType, type KeyType, type LayoutBookmarkData, type LayoutExclude, type LayoutFieldInfo, type LineageInfo, type ListBoxProperties, type ListFunctions, type ListItem, type ListObject, type ListObjectDef, type LocaleInfo, type LogOnType, type MasterObjectListData, type MasterObjectListItem, type MeasureList, type MeasureListData, type MeasureListDef, type MeasureListItem, type MediaListDef, type MediaListItem, type MetaData, type ModalFunctions, type NativeDocFunctions, type NativeFieldFunctions, type NativeGenericBookmarkFunctions, type NativeGenericDimensionFunctions, type NativeGenericMeasureFunctions, type NativeGenericObjectFunctions, type NativeGenericVariableFunctions, type NativeGlobalFunctions, type NativeReactHooks, type NativeVariableFunctions, type NxAppLayout, type NxAppProperties, type NxAttrDimDef, type NxAttrDimInfo, type NxAttrExprDef, type NxAttrExprInfo, type NxAttributeDimValues, type NxAttributeExpressionValues, type NxAutoSortByStateDef, type NxAxisData, type NxAxisTicks, type NxBookmark, type NxCalcCond, type NxCardinalities, type NxCell, type NxCellPosition, type NxCellRows, type NxContainerEntry, type NxContinuousDataOptions, type NxContinuousMode, type NxContinuousRangeSelectInfo, type NxCurrentSelectionItem, type NxDataAreaPage, type NxDataPage, type NxDataReductionMode, type NxDerivedField, type NxDerivedFieldDescriptionList, type NxDerivedFieldsData, type NxDerivedGroup, type NxDimCellType, type NxDimension, type NxDimensionInfo, type NxDimensionType, type NxDownloadInfo, type NxDownloadOptions, type NxEngineVersion, type NxExportFileType, type NxExportState, type NxFeature, type NxFieldDescription, type NxFieldProperties, type NxFieldResourceId, type NxFieldSelectionInfo, type NxFieldSelectionMode, type NxFieldTableResourceId, type NxFrequencyMode, type NxGetBookmarkOptions, type NxGetObjectOptions, type NxGroupDef, type NxGroupMember, type NxGroupMemberClass, type NxGroupObjectId, type NxGroupTail, type NxGrpType, type NxHighlightRanges, type NxHypercubeMode, type NxInfo, type NxInlineDimensionDef, type NxInlineMeasureDef, type NxLTrendlineType, type NxLayoutErrors, type NxLibraryDimension, type NxLibraryDimensionDef, type NxLibraryMeasure, type NxLibraryMeasureDef, type NxLinkedObjectInfo, type NxListObjectExpression, type NxListObjectExpressionDef, type NxLocalizedErrorCode, type NxLocalizedWarningCode, type NxMatchingFieldInfo, type NxMatchingFieldMode, type NxMeasure, type NxMeasureInfo, type NxMeta, type NxMetaDef, type NxMiniChart, type NxMiniChartCell, type NxMiniChartData, type NxMiniChartDef, type NxMiniChartRows, type NxMultiRangeSelectInfo, type NxPage, type NxPageTreeLevel, type NxPageTreeNode, type NxPatch, type NxPatchOperationType, type NxPatches, type NxPivotDimensionCell, type NxPivotPage, type NxPivotValuePoint, type NxRange, type NxRangeSelectInfo, type NxSelectionCell, type NxSelectionCellType, type NxSelectionInfo, type NxSimpleDimValue, type NxSimpleValue, type NxSortIndicatorType, type NxStackPage, type NxStackedPivotCell, type NxStateCounts, type NxStreamListEntry, type NxTempBookmarkOptions, type NxTickCell, type NxTreeDataOption, type NxTreeDimensionDef, type NxTreeDimensionInfo, type NxTreeMultiRangeSelectInfo, type NxTreeNode, type NxTreeRangeSelectInfo, type NxTreeValue, type NxTrendline, type NxTrendlineDef, type NxTrendlineMode, type NxValidationError, type NxVariableListItem, type NxVariableProperties, type NxViewPort, type ODAGAppLinkListData, type ODAGAppLinkListItem, type ObjectHelperFunctions, type ObjectInterface, type OdbcDsn, type OleDbProvider, type OpenAppSessionProps, type OtherLimitMode, type OtherMode, type OtherSortMode, type OtherTotalSpecProp, type Point, type PositionMark, type ProgressData, type ProgressMessage, type QFunction, QIX_SCHEMA_VERSION, type QMediaList, type QRange, type QixAPI, type RangeSelectInfo, type Rect, type ReloadError, type RpcObject, type SampleResult, type ScriptSyntaxError, type ScrollPosition, type SearchAssociationResult, type SearchAttribute, type SearchCharRange, type SearchCombinationOptions, type SearchContextType, type SearchFieldDictionary, type SearchFieldMatch, type SearchFieldMatchType, type SearchFieldMatchesItem, type SearchFieldSelectionMode, type SearchFieldValueItem, type SearchGroup, type SearchGroupItem, type SearchGroupItemMatch, type SearchGroupItemOptions, type SearchGroupItemType, type SearchGroupOptions, type SearchGroupType, type SearchMatchCombination, type SearchMatchCombinations, type SearchObjectOptions, type SearchPage, type SearchResult, type SearchSuggestItem, type SearchSuggestionResult, type SearchTermResult, type SearchValueOptions, type SearchValuePage, type SearchValueResult, type SelectInfo, type SelectionObject, type SelectionObjectDef, type SheetListData, type SheetListDataCell, type SheetListDataCellBounds, type SheetListItem, type Size, type SortCriteria, type SourceKeyRecord, type SpecialObjectFunctions, type StandardFunctions, type StateEnumType, type StateFieldValues, type StaticContentList, type StaticContentListItem, type StaticContentUrl, type StaticContentUrlDef, type StoryListData, type StoryListItem, type StringExpr, type StringExpression, type SymbolFrequency, type SymbolValue, type TableProfilingData, type TableRecord, type TableRow, type TableViewBroomPointSaveInfo, type TableViewConnectionPointSaveInfo, type TableViewCtlSaveInfo, type TableViewDlgSaveInfo, type TableViewSaveInfo, type TableViewTableWinSaveInfo, type TextMacro, type TotalMode, type TransformAppParameters, type TransformAppResult, type TreeData, type TreeDataDef, type UndoInfo, type UndoInfoDef, type UndoInfoObject, type UsageEnum, type UseAppHook, type ValueExpr, type ValueExpression, type VariableList, type VariableListData, type VariableListDef, type VariableListItem, type WebSocketEvent, type WorkloadType, qix as default, openAppSession, withHostConfig };
package/qix.js CHANGED
@@ -2,8 +2,8 @@ import {
2
2
  openAppSession,
3
3
  qix_default,
4
4
  withHostConfig
5
- } from "./chunks/YTT2FEVE.js";
6
- import "./chunks/LTNGXTXG.js";
5
+ } from "./chunks/QZKOA6VR.js";
6
+ import "./chunks/QAOVZB27.js";
7
7
  export {
8
8
  qix_default as default,
9
9
  openAppSession,
package/questions.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type Analysis = "breakdown" | "changePoint" | "comparison" | "contribution" | "correlation" | "fact" | "mutualInfo" | "rank" | "spike" | "trend" | "values";
5
5
  type AnalysisGroup = "anomaly" | "brekadown" | "comparison" | "correl" | "fact" | "list" | "mutualInfo" | "rank";
@@ -287,7 +287,7 @@ type RenderVisualization = {
287
287
  * @param body an object with the body content
288
288
  * @throws AskQuestionsHttpError
289
289
  */
290
- declare const askQuestions: (body: QueryCreate, options?: ApiCallOptions) => Promise<AskQuestionsHttpResponse>;
290
+ declare function askQuestions(body: QueryCreate, options?: ApiCallOptions): Promise<AskQuestionsHttpResponse>;
291
291
  type AskQuestionsHttpResponse = AskQuestions200HttpResponse | AskQuestions201HttpResponse;
292
292
  type AskQuestions200HttpResponse = {
293
293
  data: QueryNotCreated;
@@ -311,14 +311,14 @@ type AskQuestionsHttpError = {
311
311
  * @param body an object with the body content
312
312
  * @throws FilterQuestionsHttpError
313
313
  */
314
- declare const filterQuestions: (query: {
314
+ declare function filterQuestions(query: {
315
315
  /** The preferred number of entries returned */
316
316
  limit?: number;
317
317
  /** A cursor pointing to the page of data to retrieve. */
318
318
  page?: string;
319
319
  /** A single field from the data model on which to sort the response. The '+' or '-' operator may be used to specify ascending or desending order. */
320
320
  sort?: "createdAt" | "updatedAt" | "+createdAt" | "+updatedAt" | "-createdAt" | "-updatedAt";
321
- }, body: NLMetricsRequest, options?: ApiCallOptions) => Promise<FilterQuestionsHttpResponse>;
321
+ }, body: NLMetricsRequest, options?: ApiCallOptions): Promise<FilterQuestionsHttpResponse>;
322
322
  type FilterQuestionsHttpResponse = {
323
323
  data: NLMetricsResponse;
324
324
  headers: Headers;
package/questions.js CHANGED
@@ -1,26 +1,30 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/questions.ts
9
- var askQuestions = async (body, options) => invokeFetch("questions", {
10
- method: "post",
11
- pathTemplate: "/api/v1/questions/actions/ask",
12
- body,
13
- contentType: "application/json",
14
- options
15
- });
16
- var filterQuestions = async (query, body, options) => invokeFetch("questions", {
17
- method: "post",
18
- pathTemplate: "/api/v1/questions/actions/filter",
19
- query,
20
- body,
21
- contentType: "application/json",
22
- options
23
- });
9
+ async function askQuestions(body, options) {
10
+ return invokeFetch("questions", {
11
+ method: "post",
12
+ pathTemplate: "/api/v1/questions/actions/ask",
13
+ body,
14
+ contentType: "application/json",
15
+ options
16
+ });
17
+ }
18
+ async function filterQuestions(query, body, options) {
19
+ return invokeFetch("questions", {
20
+ method: "post",
21
+ pathTemplate: "/api/v1/questions/actions/filter",
22
+ query,
23
+ body,
24
+ contentType: "application/json",
25
+ options
26
+ });
27
+ }
24
28
  function clearCache() {
25
29
  return clearApiCache("questions");
26
30
  }
package/quotas.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  /**
5
5
  * A specific error.
@@ -44,10 +44,10 @@ type Quota = {
44
44
  * @param query an object with query parameters
45
45
  * @throws GetQuotasHttpError
46
46
  */
47
- declare const getQuotas: (query: {
47
+ declare function getQuotas(query: {
48
48
  /** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (only limits returned). */
49
49
  reportUsage?: boolean;
50
- }, options?: ApiCallOptions) => Promise<GetQuotasHttpResponse>;
50
+ }, options?: ApiCallOptions): Promise<GetQuotasHttpResponse>;
51
51
  type GetQuotasHttpResponse = {
52
52
  data: GetQuotasResult;
53
53
  headers: Headers;
@@ -65,10 +65,10 @@ type GetQuotasHttpError = {
65
65
  * @param query an object with query parameters
66
66
  * @throws GetQuotaHttpError
67
67
  */
68
- declare const getQuota: (id: string, query: {
68
+ declare function getQuota(id: string, query: {
69
69
  /** The Boolean flag indicating whether quota usage shall be part of the response. The default value is false (usage not included). */
70
70
  reportUsage?: boolean;
71
- }, options?: ApiCallOptions) => Promise<GetQuotaHttpResponse>;
71
+ }, options?: ApiCallOptions): Promise<GetQuotaHttpResponse>;
72
72
  type GetQuotaHttpResponse = {
73
73
  data: GetQuotaByIdResult;
74
74
  headers: Headers;
package/quotas.js CHANGED
@@ -1,24 +1,28 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/quotas.ts
9
- var getQuotas = async (query, options) => invokeFetch("quotas", {
10
- method: "get",
11
- pathTemplate: "/api/v1/quotas",
12
- query,
13
- options
14
- });
15
- var getQuota = async (id, query, options) => invokeFetch("quotas", {
16
- method: "get",
17
- pathTemplate: "/api/v1/quotas/{id}",
18
- pathVariables: { id },
19
- query,
20
- options
21
- });
9
+ async function getQuotas(query, options) {
10
+ return invokeFetch("quotas", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/quotas",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function getQuota(id, query, options) {
18
+ return invokeFetch("quotas", {
19
+ method: "get",
20
+ pathTemplate: "/api/v1/quotas/{id}",
21
+ pathVariables: { id },
22
+ query,
23
+ options
24
+ });
25
+ }
22
26
  function clearCache() {
23
27
  return clearApiCache("quotas");
24
28
  }
package/reload-tasks.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type Error = {
5
5
  code: string;
@@ -102,7 +102,7 @@ type Tasks = {
102
102
  * @param query an object with query parameters
103
103
  * @throws GetReloadTasksHttpError
104
104
  */
105
- declare const getReloadTasks: (query: {
105
+ declare function getReloadTasks(query: {
106
106
  /** The case sensitive string used to search for a task by app ID. */
107
107
  appId?: string;
108
108
  /** The maximum number of resources to return for a request. The limit must be an integer between 1 and 100 (inclusive). */
@@ -113,7 +113,7 @@ declare const getReloadTasks: (query: {
113
113
  partial?: boolean;
114
114
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
115
115
  prev?: string;
116
- }, options?: ApiCallOptions) => Promise<GetReloadTasksHttpResponse>;
116
+ }, options?: ApiCallOptions): Promise<GetReloadTasksHttpResponse>;
117
117
  type GetReloadTasksHttpResponse = {
118
118
  data: Tasks;
119
119
  headers: Headers;
@@ -132,7 +132,7 @@ type GetReloadTasksHttpError = {
132
132
  * @param body an object with the body content
133
133
  * @throws CreateReloadTaskHttpError
134
134
  */
135
- declare const createReloadTask: (body: PostTaskBody, options?: ApiCallOptions) => Promise<CreateReloadTaskHttpResponse>;
135
+ declare function createReloadTask(body: PostTaskBody, options?: ApiCallOptions): Promise<CreateReloadTaskHttpResponse>;
136
136
  type CreateReloadTaskHttpResponse = {
137
137
  data: Task;
138
138
  headers: Headers;
@@ -149,7 +149,7 @@ type CreateReloadTaskHttpError = {
149
149
  * @param taskId The unique identifier of the task.
150
150
  * @throws DeleteReloadTaskHttpError
151
151
  */
152
- declare const deleteReloadTask: (taskId: string, options?: ApiCallOptions) => Promise<DeleteReloadTaskHttpResponse>;
152
+ declare function deleteReloadTask(taskId: string, options?: ApiCallOptions): Promise<DeleteReloadTaskHttpResponse>;
153
153
  type DeleteReloadTaskHttpResponse = {
154
154
  data: void;
155
155
  headers: Headers;
@@ -166,7 +166,7 @@ type DeleteReloadTaskHttpError = {
166
166
  * @param taskId The unique identifier of the task.
167
167
  * @throws GetReloadTaskHttpError
168
168
  */
169
- declare const getReloadTask: (taskId: string, options?: ApiCallOptions) => Promise<GetReloadTaskHttpResponse>;
169
+ declare function getReloadTask(taskId: string, options?: ApiCallOptions): Promise<GetReloadTaskHttpResponse>;
170
170
  type GetReloadTaskHttpResponse = {
171
171
  data: Task;
172
172
  headers: Headers;
@@ -184,7 +184,7 @@ type GetReloadTaskHttpError = {
184
184
  * @param body an object with the body content
185
185
  * @throws UpdateReloadTaskHttpError
186
186
  */
187
- declare const updateReloadTask: (taskId: string, body: PutTaskBody, options?: ApiCallOptions) => Promise<UpdateReloadTaskHttpResponse>;
187
+ declare function updateReloadTask(taskId: string, body: PutTaskBody, options?: ApiCallOptions): Promise<UpdateReloadTaskHttpResponse>;
188
188
  type UpdateReloadTaskHttpResponse = {
189
189
  data: Task;
190
190
  headers: Headers;
package/reload-tasks.js CHANGED
@@ -1,44 +1,54 @@
1
1
  import {
2
2
  clearApiCache,
3
3
  invokeFetch
4
- } from "./chunks/VVD2DPKQ.js";
5
- import "./chunks/LTNGXTXG.js";
6
- import "./chunks/2ZQ3ZX7F.js";
4
+ } from "./chunks/6WNP7HZQ.js";
5
+ import "./chunks/QAOVZB27.js";
6
+ import "./chunks/7MMXU6EL.js";
7
7
 
8
8
  // src/public/rest/reload-tasks.ts
9
- var getReloadTasks = async (query, options) => invokeFetch("reload-tasks", {
10
- method: "get",
11
- pathTemplate: "/api/v1/reload-tasks",
12
- query,
13
- options
14
- });
15
- var createReloadTask = async (body, options) => invokeFetch("reload-tasks", {
16
- method: "post",
17
- pathTemplate: "/api/v1/reload-tasks",
18
- body,
19
- contentType: "application/json",
20
- options
21
- });
22
- var deleteReloadTask = async (taskId, options) => invokeFetch("reload-tasks", {
23
- method: "delete",
24
- pathTemplate: "/api/v1/reload-tasks/{taskId}",
25
- pathVariables: { taskId },
26
- options
27
- });
28
- var getReloadTask = async (taskId, options) => invokeFetch("reload-tasks", {
29
- method: "get",
30
- pathTemplate: "/api/v1/reload-tasks/{taskId}",
31
- pathVariables: { taskId },
32
- options
33
- });
34
- var updateReloadTask = async (taskId, body, options) => invokeFetch("reload-tasks", {
35
- method: "put",
36
- pathTemplate: "/api/v1/reload-tasks/{taskId}",
37
- pathVariables: { taskId },
38
- body,
39
- contentType: "application/json",
40
- options
41
- });
9
+ async function getReloadTasks(query, options) {
10
+ return invokeFetch("reload-tasks", {
11
+ method: "get",
12
+ pathTemplate: "/api/v1/reload-tasks",
13
+ query,
14
+ options
15
+ });
16
+ }
17
+ async function createReloadTask(body, options) {
18
+ return invokeFetch("reload-tasks", {
19
+ method: "post",
20
+ pathTemplate: "/api/v1/reload-tasks",
21
+ body,
22
+ contentType: "application/json",
23
+ options
24
+ });
25
+ }
26
+ async function deleteReloadTask(taskId, options) {
27
+ return invokeFetch("reload-tasks", {
28
+ method: "delete",
29
+ pathTemplate: "/api/v1/reload-tasks/{taskId}",
30
+ pathVariables: { taskId },
31
+ options
32
+ });
33
+ }
34
+ async function getReloadTask(taskId, options) {
35
+ return invokeFetch("reload-tasks", {
36
+ method: "get",
37
+ pathTemplate: "/api/v1/reload-tasks/{taskId}",
38
+ pathVariables: { taskId },
39
+ options
40
+ });
41
+ }
42
+ async function updateReloadTask(taskId, body, options) {
43
+ return invokeFetch("reload-tasks", {
44
+ method: "put",
45
+ pathTemplate: "/api/v1/reload-tasks/{taskId}",
46
+ pathVariables: { taskId },
47
+ body,
48
+ contentType: "application/json",
49
+ options
50
+ });
51
+ }
42
52
  function clearCache() {
43
53
  return clearApiCache("reload-tasks");
44
54
  }
package/reloads.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { A as ApiCallOptions } from './invoke-fetch-types-Cq7bjkqn.js';
2
- import './auth-types-DqfMuSRX.js';
1
+ import { A as ApiCallOptions } from './invoke-fetch-types-BYCD4pc9.js';
2
+ import './auth-types-Cj5bM3Yk.js';
3
3
 
4
4
  type Error = {
5
5
  /** The error code is in form of 'RELOADS-xxx'. ranges from 'RELOADS-001' to 'RELOADS-013'. */
@@ -111,7 +111,7 @@ type Type = "hub" | "external" | "chronos" | "automations" | "data-refresh" | "c
111
111
  * @param query an object with query parameters
112
112
  * @throws GetReloadsHttpError
113
113
  */
114
- declare const getReloads: (query: {
114
+ declare function getReloads(query: {
115
115
  /** The UUID formatted string used to search for an app's reload history entries. TenantAdmin users may omit this parameter to list all reload history in the tenant. */
116
116
  appId: string;
117
117
  /** SCIM filter expression used to search for reloads.
@@ -135,7 +135,7 @@ declare const getReloads: (query: {
135
135
  partial?: boolean;
136
136
  /** The cursor to the previous page of resources. Provide either the next or prev cursor, but not both. */
137
137
  prev?: string;
138
- }, options?: ApiCallOptions) => Promise<GetReloadsHttpResponse>;
138
+ }, options?: ApiCallOptions): Promise<GetReloadsHttpResponse>;
139
139
  type GetReloadsHttpResponse = {
140
140
  data: Reloads;
141
141
  headers: Headers;
@@ -154,7 +154,7 @@ type GetReloadsHttpError = {
154
154
  * @param body an object with the body content
155
155
  * @throws QueueReloadHttpError
156
156
  */
157
- declare const queueReload: (body: ReloadRequest, options?: ApiCallOptions) => Promise<QueueReloadHttpResponse>;
157
+ declare function queueReload(body: ReloadRequest, options?: ApiCallOptions): Promise<QueueReloadHttpResponse>;
158
158
  type QueueReloadHttpResponse = {
159
159
  data: Reload;
160
160
  headers: Headers;
@@ -171,7 +171,7 @@ type QueueReloadHttpError = {
171
171
  * @param reloadId The unique identifier of the reload.
172
172
  * @throws GetReloadHttpError
173
173
  */
174
- declare const getReload: (reloadId: string, options?: ApiCallOptions) => Promise<GetReloadHttpResponse>;
174
+ declare function getReload(reloadId: string, options?: ApiCallOptions): Promise<GetReloadHttpResponse>;
175
175
  type GetReloadHttpResponse = {
176
176
  data: Reload;
177
177
  headers: Headers;
@@ -188,7 +188,7 @@ type GetReloadHttpError = {
188
188
  * @param reloadId The unique identifier of the reload.
189
189
  * @throws CancelReloadHttpError
190
190
  */
191
- declare const cancelReload: (reloadId: string, options?: ApiCallOptions) => Promise<CancelReloadHttpResponse>;
191
+ declare function cancelReload(reloadId: string, options?: ApiCallOptions): Promise<CancelReloadHttpResponse>;
192
192
  type CancelReloadHttpResponse = {
193
193
  data: void;
194
194
  headers: Headers;