@qlik/api 0.0.1 → 0.0.2
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/.github/CODEOWNERS +2 -0
- package/.github/workflows/release.yaml +35 -0
- package/README.md +1 -3
- package/api-keys.d.mts +13 -13
- package/api-keys.d.ts +13 -13
- package/api-keys.js +13 -13
- package/api-keys.mjs +8 -8
- package/apps.d.mts +104 -19
- package/apps.d.ts +104 -19
- package/apps.js +53 -44
- package/apps.mjs +20 -11
- package/audits.d.mts +8 -8
- package/audits.d.ts +8 -8
- package/audits.js +11 -11
- package/audits.mjs +6 -6
- package/auth-OU7OTB7Y.js +38 -0
- package/auth-RTFXVSSK.mjs +38 -0
- package/auth.js +3 -3
- package/auth.mjs +2 -2
- package/automations.d.mts +20 -20
- package/automations.d.ts +20 -20
- package/automations.js +25 -25
- package/automations.mjs +11 -11
- package/brands.js +15 -15
- package/brands.mjs +2 -2
- package/chunk-6JERR27K.js +17 -0
- package/chunk-7REWEWCX.mjs +21 -0
- package/chunk-E42WUFCK.mjs +57 -0
- package/chunk-H7SAZYEE.js +21 -0
- package/chunk-KMMWJZHM.mjs +25 -0
- package/chunk-M7F4JFOB.js +57 -0
- package/chunk-NALKLKZS.mjs +1342 -0
- package/chunk-QN23TPIE.js +25 -0
- package/chunk-RMKP2BDX.js +1342 -0
- package/chunk-W4J34XGA.mjs +17 -0
- package/collections.d.mts +1 -1
- package/collections.d.ts +1 -1
- package/collections.js +13 -13
- package/collections.mjs +2 -2
- package/csp-origins.js +9 -9
- package/csp-origins.mjs +2 -2
- package/data-assets.js +8 -8
- package/data-assets.mjs +2 -2
- package/data-connections.d.mts +2 -0
- package/data-connections.d.ts +2 -0
- package/data-connections.js +12 -12
- package/data-connections.mjs +2 -2
- package/data-credentials.d.mts +2 -0
- package/data-credentials.d.ts +2 -0
- package/data-credentials.js +7 -7
- package/data-credentials.mjs +2 -2
- package/data-files.d.mts +16 -16
- package/data-files.d.ts +16 -16
- package/data-files.js +18 -18
- package/data-files.mjs +8 -8
- package/enigma-session-HGXKZJVO.mjs +10200 -0
- package/enigma-session-VPPJMBEM.js +10200 -0
- package/esm-M5ZBFTVD.mjs +65 -0
- package/esm-RX7B2TUN.js +65 -0
- package/extensions.js +10 -10
- package/extensions.mjs +2 -2
- package/glossaries.js +27 -27
- package/glossaries.mjs +2 -2
- package/groups.d.mts +13 -13
- package/groups.d.ts +13 -13
- package/groups.js +14 -14
- package/groups.mjs +8 -8
- package/identity-providers.d.mts +7 -7
- package/identity-providers.d.ts +7 -7
- package/identity-providers.js +13 -13
- package/identity-providers.mjs +5 -5
- package/index.js +27 -23
- package/index.mjs +23 -19
- package/invoke-fetch-7PKPQ3FD.js +14 -0
- package/invoke-fetch-IMO4AMA3.mjs +14 -0
- package/items.d.mts +19 -16
- package/items.d.ts +19 -16
- package/items.js +14 -14
- package/items.mjs +8 -8
- package/licenses.d.mts +2 -0
- package/licenses.d.ts +2 -0
- package/licenses.js +12 -12
- package/licenses.mjs +2 -2
- package/package.json +6 -17
- package/qix-57WD2ZE6.mjs +573 -0
- package/qix-K22VHZRH.js +573 -0
- package/qix.d.mts +1066 -1017
- package/qix.d.ts +1066 -1017
- package/qix.js +3 -3
- package/qix.mjs +2 -2
- package/quotas.js +5 -5
- package/quotas.mjs +2 -2
- package/reload-tasks.d.mts +2 -0
- package/reload-tasks.d.ts +2 -0
- package/reload-tasks.js +8 -8
- package/reload-tasks.mjs +2 -2
- package/reloads.d.mts +4 -2
- package/reloads.d.ts +4 -2
- package/reloads.js +7 -7
- package/reloads.mjs +2 -2
- package/roles.js +5 -5
- package/roles.mjs +2 -2
- package/spaces.d.mts +9 -26
- package/spaces.d.ts +9 -26
- package/spaces.js +15 -15
- package/spaces.mjs +2 -2
- package/temp-contents.d.mts +1 -67
- package/temp-contents.d.ts +1 -67
- package/temp-contents.js +8 -29
- package/temp-contents.mjs +3 -24
- package/tenants.js +9 -9
- package/tenants.mjs +2 -2
- package/themes.js +10 -10
- package/themes.mjs +2 -2
- package/transports.js +9 -9
- package/transports.mjs +2 -2
- package/users.js +13 -13
- package/users.mjs +2 -2
- package/web-integrations.js +8 -8
- package/web-integrations.mjs +2 -2
- package/web-notifications.js +9 -9
- package/web-notifications.mjs +2 -2
- package/webhooks.d.mts +2 -2
- package/webhooks.d.ts +2 -2
- package/webhooks.js +13 -13
- package/webhooks.mjs +2 -2
package/apps.d.ts
CHANGED
|
@@ -600,6 +600,58 @@ type RecommendedAnalysisCore = {
|
|
|
600
600
|
/** percentage of selected items in the analysis to the overall items passed to the endpoint */
|
|
601
601
|
relevance?: number;
|
|
602
602
|
};
|
|
603
|
+
type ReloadListMetadata = {
|
|
604
|
+
/** Array of ReloadMeta. */
|
|
605
|
+
data?: ReloadMeta[];
|
|
606
|
+
};
|
|
607
|
+
type ReloadMeta = {
|
|
608
|
+
/** Duration of reload (ms). */
|
|
609
|
+
duration?: number;
|
|
610
|
+
/** Time when reload ended. */
|
|
611
|
+
endTime?: string;
|
|
612
|
+
/** True if the reload is a partial reload. */
|
|
613
|
+
isPartialReload?: boolean;
|
|
614
|
+
loadDataFilesBytes?: number;
|
|
615
|
+
loadExternalBytes?: number;
|
|
616
|
+
loadFilesBytes?: number;
|
|
617
|
+
/** Reload identifier. */
|
|
618
|
+
reloadId?: string;
|
|
619
|
+
/** If greater than or equal 0, defines max number of rows loaded from a data source. */
|
|
620
|
+
rowLimit?: number;
|
|
621
|
+
/** Set to true to skip Store statements.
|
|
622
|
+
// The default value is false. */
|
|
623
|
+
skipStore?: boolean;
|
|
624
|
+
/** List of external loaded or stored statements. */
|
|
625
|
+
statements?: ReloadStatements[];
|
|
626
|
+
storeDataFilesBytes?: number;
|
|
627
|
+
storeFilesBytes?: number;
|
|
628
|
+
/** true if the reload was successful. */
|
|
629
|
+
success?: boolean;
|
|
630
|
+
};
|
|
631
|
+
type ReloadStatements = {
|
|
632
|
+
/** The connecton name. */
|
|
633
|
+
connection?: string;
|
|
634
|
+
/** Connection ID. */
|
|
635
|
+
connectionId?: string;
|
|
636
|
+
/** Data loaded from the network (bytes). */
|
|
637
|
+
dataSize?: number;
|
|
638
|
+
/** Duration of data generation (ms). */
|
|
639
|
+
duration?: number;
|
|
640
|
+
/** Label of the resource level node in lineage. */
|
|
641
|
+
label?: string;
|
|
642
|
+
/** Number of fields loaded. */
|
|
643
|
+
nbrOfFields?: number;
|
|
644
|
+
/** Number of rows loaded. */
|
|
645
|
+
nbrOfRows?: number;
|
|
646
|
+
/** Partial load operation. e.g. add/replace/update/merge. n/a when not in partial load mode. */
|
|
647
|
+
partialReloadOperation?: string;
|
|
648
|
+
/** Resource Identifier. */
|
|
649
|
+
qri?: string;
|
|
650
|
+
/** Name of the source table in lineage. */
|
|
651
|
+
tableName?: string;
|
|
652
|
+
/** Type of statement, e.g. Store/Load. */
|
|
653
|
+
type?: string;
|
|
654
|
+
};
|
|
603
655
|
type RepublishApp = {
|
|
604
656
|
attributes?: AppUpdateAttributes;
|
|
605
657
|
/** Validate that source app is same as originally published. */
|
|
@@ -967,15 +1019,15 @@ type GetAppEvaluationComparisonHttpError = {
|
|
|
967
1019
|
*
|
|
968
1020
|
* @param baseid Id of the baseline evaluation
|
|
969
1021
|
* @param comparisonid Id of the comparison evaluation
|
|
970
|
-
* @throws
|
|
1022
|
+
* @throws GetAppEvaluationComparisonXmlHttpError
|
|
971
1023
|
*/
|
|
972
|
-
declare const
|
|
973
|
-
type
|
|
1024
|
+
declare const getAppEvaluationComparisonXml: (baseid: string, comparisonid: string, options?: ApiCallOptions) => Promise<GetAppEvaluationComparisonXmlHttpResponse>;
|
|
1025
|
+
type GetAppEvaluationComparisonXmlHttpResponse = {
|
|
974
1026
|
data: Comparison;
|
|
975
1027
|
headers: Headers;
|
|
976
1028
|
status: number;
|
|
977
1029
|
};
|
|
978
|
-
type
|
|
1030
|
+
type GetAppEvaluationComparisonXmlHttpError = {
|
|
979
1031
|
data: EvaluatorError;
|
|
980
1032
|
headers: Headers;
|
|
981
1033
|
status: number;
|
|
@@ -1007,15 +1059,15 @@ type GetAppEvaluationHttpError = {
|
|
|
1007
1059
|
* Find and download an evaluation log by a specific evaluation id.
|
|
1008
1060
|
*
|
|
1009
1061
|
* @param id Id of the desired evaluation.
|
|
1010
|
-
* @throws
|
|
1062
|
+
* @throws GetAppEvaluationXmlHttpError
|
|
1011
1063
|
*/
|
|
1012
|
-
declare const
|
|
1013
|
-
type
|
|
1064
|
+
declare const getAppEvaluationXml: (id: string, options?: ApiCallOptions) => Promise<GetAppEvaluationXmlHttpResponse>;
|
|
1065
|
+
type GetAppEvaluationXmlHttpResponse = {
|
|
1014
1066
|
data: Evaluation;
|
|
1015
1067
|
headers: Headers;
|
|
1016
1068
|
status: number;
|
|
1017
1069
|
};
|
|
1018
|
-
type
|
|
1070
|
+
type GetAppEvaluationXmlHttpError = {
|
|
1019
1071
|
data: EvaluatorError;
|
|
1020
1072
|
headers: Headers;
|
|
1021
1073
|
status: number;
|
|
@@ -1058,15 +1110,15 @@ type ImportAppHttpError = {
|
|
|
1058
1110
|
};
|
|
1059
1111
|
/**
|
|
1060
1112
|
* Gets the app privileges for the current user, such as create app and import app. Empty means that the current user has no app privileges.
|
|
1061
|
-
* @throws
|
|
1113
|
+
* @throws GetAppsPrivilegesHttpError
|
|
1062
1114
|
*/
|
|
1063
|
-
declare const
|
|
1064
|
-
type
|
|
1115
|
+
declare const getAppsPrivileges: (options?: ApiCallOptions) => Promise<GetAppsPrivilegesHttpResponse>;
|
|
1116
|
+
type GetAppsPrivilegesHttpResponse = {
|
|
1065
1117
|
data: string[];
|
|
1066
1118
|
headers: Headers;
|
|
1067
1119
|
status: number;
|
|
1068
1120
|
};
|
|
1069
|
-
type
|
|
1121
|
+
type GetAppsPrivilegesHttpError = {
|
|
1070
1122
|
data: unknown;
|
|
1071
1123
|
headers: Headers;
|
|
1072
1124
|
status: number;
|
|
@@ -1344,6 +1396,7 @@ type GetAppThumbnailHttpError = {
|
|
|
1344
1396
|
};
|
|
1345
1397
|
/**
|
|
1346
1398
|
* Sets owner on an app object.
|
|
1399
|
+
* The user must be the owner of the object.
|
|
1347
1400
|
* @param appId Identifier of the app.
|
|
1348
1401
|
* @param objectId Identifier of the object.
|
|
1349
1402
|
* @param body an object with the body content
|
|
@@ -1446,6 +1499,28 @@ type GetAppReloadLogHttpError = {
|
|
|
1446
1499
|
headers: Headers;
|
|
1447
1500
|
status: number;
|
|
1448
1501
|
};
|
|
1502
|
+
/**
|
|
1503
|
+
* Retrieves the app reload metadata list.
|
|
1504
|
+
* Reload metadata contains reload information, including reload id, duration, endtime and lineage load info.
|
|
1505
|
+
* @param appId Identifier of the app
|
|
1506
|
+
* @param reloadId Identifier of the reload. Use empty reloadId to get all reloads.
|
|
1507
|
+
* @param query an object with query parameters
|
|
1508
|
+
* @throws GetAppReloadMetadataHttpError
|
|
1509
|
+
*/
|
|
1510
|
+
declare const getAppReloadMetadata: (appId: string, reloadId: string, query: {
|
|
1511
|
+
/** Maximum number of records to return from this request. Default: 100 */
|
|
1512
|
+
limit?: string;
|
|
1513
|
+
}, options?: ApiCallOptions) => Promise<GetAppReloadMetadataHttpResponse>;
|
|
1514
|
+
type GetAppReloadMetadataHttpResponse = {
|
|
1515
|
+
data: ReloadListMetadata;
|
|
1516
|
+
headers: Headers;
|
|
1517
|
+
status: number;
|
|
1518
|
+
};
|
|
1519
|
+
type GetAppReloadMetadataHttpError = {
|
|
1520
|
+
data: unknown;
|
|
1521
|
+
headers: Headers;
|
|
1522
|
+
status: number;
|
|
1523
|
+
};
|
|
1449
1524
|
/**
|
|
1450
1525
|
* Retrieves the script history for an app.
|
|
1451
1526
|
* Returns information about the saved versions of the script.
|
|
@@ -1658,9 +1733,9 @@ interface AppsAPI {
|
|
|
1658
1733
|
*
|
|
1659
1734
|
* @param baseid Id of the baseline evaluation
|
|
1660
1735
|
* @param comparisonid Id of the comparison evaluation
|
|
1661
|
-
* @throws
|
|
1736
|
+
* @throws GetAppEvaluationComparisonXmlHttpError
|
|
1662
1737
|
*/
|
|
1663
|
-
|
|
1738
|
+
getAppEvaluationComparisonXml: typeof getAppEvaluationComparisonXml;
|
|
1664
1739
|
/**
|
|
1665
1740
|
* Find an evaluation by a specific id.
|
|
1666
1741
|
*
|
|
@@ -1673,9 +1748,9 @@ interface AppsAPI {
|
|
|
1673
1748
|
* Find and download an evaluation log by a specific evaluation id.
|
|
1674
1749
|
*
|
|
1675
1750
|
* @param id Id of the desired evaluation.
|
|
1676
|
-
* @throws
|
|
1751
|
+
* @throws GetAppEvaluationXmlHttpError
|
|
1677
1752
|
*/
|
|
1678
|
-
|
|
1753
|
+
getAppEvaluationXml: typeof getAppEvaluationXml;
|
|
1679
1754
|
/**
|
|
1680
1755
|
* Imports an app into the system.
|
|
1681
1756
|
* @param query an object with query parameters
|
|
@@ -1685,9 +1760,9 @@ interface AppsAPI {
|
|
|
1685
1760
|
importApp: typeof importApp;
|
|
1686
1761
|
/**
|
|
1687
1762
|
* Gets the app privileges for the current user, such as create app and import app. Empty means that the current user has no app privileges.
|
|
1688
|
-
* @throws
|
|
1763
|
+
* @throws GetAppsPrivilegesHttpError
|
|
1689
1764
|
*/
|
|
1690
|
-
|
|
1765
|
+
getAppsPrivileges: typeof getAppsPrivileges;
|
|
1691
1766
|
/**
|
|
1692
1767
|
* Deletes a specific app.
|
|
1693
1768
|
* @param appId Identifier of the app.
|
|
@@ -1798,6 +1873,7 @@ interface AppsAPI {
|
|
|
1798
1873
|
getAppThumbnail: typeof getAppThumbnail;
|
|
1799
1874
|
/**
|
|
1800
1875
|
* Sets owner on an app object.
|
|
1876
|
+
* The user must be the owner of the object.
|
|
1801
1877
|
* @param appId Identifier of the app.
|
|
1802
1878
|
* @param objectId Identifier of the object.
|
|
1803
1879
|
* @param body an object with the body content
|
|
@@ -1840,6 +1916,15 @@ interface AppsAPI {
|
|
|
1840
1916
|
* @throws GetAppReloadLogHttpError
|
|
1841
1917
|
*/
|
|
1842
1918
|
getAppReloadLog: typeof getAppReloadLog;
|
|
1919
|
+
/**
|
|
1920
|
+
* Retrieves the app reload metadata list.
|
|
1921
|
+
* Reload metadata contains reload information, including reload id, duration, endtime and lineage load info.
|
|
1922
|
+
* @param appId Identifier of the app
|
|
1923
|
+
* @param reloadId Identifier of the reload. Use empty reloadId to get all reloads.
|
|
1924
|
+
* @param query an object with query parameters
|
|
1925
|
+
* @throws GetAppReloadMetadataHttpError
|
|
1926
|
+
*/
|
|
1927
|
+
getAppReloadMetadata: typeof getAppReloadMetadata;
|
|
1843
1928
|
/**
|
|
1844
1929
|
* Retrieves the script history for an app.
|
|
1845
1930
|
* Returns information about the saved versions of the script.
|
|
@@ -1918,4 +2003,4 @@ interface AppsAPI {
|
|
|
1918
2003
|
*/
|
|
1919
2004
|
declare const appsExport: AppsAPI;
|
|
1920
2005
|
|
|
1921
|
-
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type Cmpint, type Comparison, type Comparisonfields, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type
|
|
2006
|
+
export { type Analysis, type AnalysisComposition, type AnalysisDescriptor, type AnalysisDescriptorResponse, type AnalysisDetails, type AnalysisGroup, type AnalysisModelItemField, type AnalysisModelItemMasterItem, type AnalysisModelResponse, type AnalysisModelResponseDetail, type AnalysisRecommendRequest, type AnalysisRecommendationResponse, type AnalysisRecommendationResponseDetail, type AppAttributes, type AppContentList, type AppContentListItem, type AppUpdateAttributes, type AppsAPI, type ChartType, type Classification, type Classifications, type Cmpbool, type Cmpfloat, type Cmpint, type Comparison, type Comparisonfields, type Comparisonobjresponsetime, type Comparisonoobjheavy, type Comparisontables, type CompositionMinMax, type CopyAppHttpError, type CopyAppHttpResponse, type CreateApp, type CreateAppHttpError, type CreateAppHttpResponse, type DataModelMetadata, type DeleteAppHttpError, type DeleteAppHttpResponse, type DeleteAppMediaHttpError, type DeleteAppMediaHttpResponse, type DeleteAppScriptHttpError, type DeleteAppScriptHttpResponse, type Error, type Errors, type Evaluation, type Evaluations, type EvaluatorError, type Event, type ExportAppHttpError, type ExportAppHttpResponse, type FieldAttributes, type FieldInTableProfilingData, type FieldMetadata, type FieldOverride, type FileData, type FrequencyDistributionData, type GetAppDataLineageHttpError, type GetAppDataLineageHttpResponse, type GetAppDataMetadataHttpError, type GetAppDataMetadataHttpResponse, type GetAppEvaluationComparisonHttpError, type GetAppEvaluationComparisonHttpResponse, type GetAppEvaluationComparisonXmlHttpError, type GetAppEvaluationComparisonXmlHttpResponse, type GetAppEvaluationHttpError, type GetAppEvaluationHttpResponse, type GetAppEvaluationXmlHttpError, type GetAppEvaluationXmlHttpResponse, type GetAppEvaluationsHttpError, type GetAppEvaluationsHttpResponse, type GetAppInfoHttpError, type GetAppInfoHttpResponse, type GetAppInsightAnalysesHttpError, type GetAppInsightAnalysesHttpResponse, type GetAppInsightAnalysisModelHttpError, type GetAppInsightAnalysisModelHttpResponse, type GetAppInsightAnalysisRecommendationsHttpError, type GetAppInsightAnalysisRecommendationsHttpResponse, type GetAppMediaHttpError, type GetAppMediaHttpResponse, type GetAppMediaListHttpError, type GetAppMediaListHttpResponse, type GetAppReloadLogHttpError, type GetAppReloadLogHttpResponse, type GetAppReloadLogsHttpError, type GetAppReloadLogsHttpResponse, type GetAppReloadMetadataHttpError, type GetAppReloadMetadataHttpResponse, type GetAppScriptHistoryHttpError, type GetAppScriptHistoryHttpResponse, type GetAppScriptHttpError, type GetAppScriptHttpResponse, type GetAppThumbnailHttpError, type GetAppThumbnailHttpResponse, type GetAppsPrivilegesHttpError, type GetAppsPrivilegesHttpResponse, type HardwareMeta, type Href, type ImportAppHttpError, type ImportAppHttpResponse, type JsonObject, type LastReloadMetadata, type LineageInfoRest, type Links, type Log, type Metadata, type MoveAppToSpaceHttpError, type MoveAppToSpaceHttpResponse, type NavigationLink, type NavigationLinks, type NumberFormat, type NxApp, type NxAppCreatePrivileges, type NxAppObject, type NxAttributes, type NxObjectAttributes, type NxPatch, type Objectmetrics, type Objectspec, type Objecttopspec, type PartialNluInfo, type PatchAppScriptHttpError, type PatchAppScriptHttpResponse, type PublishApp, type PublishAppHttpError, type PublishAppHttpResponse, type QueueAppEvaluationHttpError, type QueueAppEvaluationHttpResponse, type RecommendFieldItem, type RecommendItems, type RecommendMasterItem, type RecommendNaturalLangQuery, type RecommendedAnalysis, type RecommendedAnalysisCore, type ReloadListMetadata, type ReloadMeta, type ReloadStatements, type RemoveAppFromSpaceHttpError, type RemoveAppFromSpaceHttpResponse, type RepublishApp, type RepublishAppHttpError, type RepublishAppHttpResponse, type Result, type Resultentry, type Resultmetadatatopfields, type Resultmetadatatoptables, type Resultobjresponsetime, type Resultobjsheet, type Resultobjsinglethreaded, type Resultsingle, type ScriptLogList, type ScriptLogMeta, type ScriptMeta, type ScriptMetaList, type ScriptVersion, type SimplifiedClassifications, type Sortedcomparisonfields, type Sortedcomparisonobjresponsetime, type Sortedcomparisonoobjheavy, type Sortedcomparisontables, type SymbolFrequency, type SymbolValue, type TableMetadata, type TableProfilingData, type UpdateApp, type UpdateAppInfoHttpError, type UpdateAppInfoHttpResponse, type UpdateAppObjectOwnerHttpError, type UpdateAppObjectOwnerHttpResponse, type UpdateAppOwnerHttpError, type UpdateAppOwnerHttpResponse, type UpdateAppScriptHttpError, type UpdateAppScriptHttpResponse, type UpdateOwner, type UpdateSpace, type UploadAppMediaHttpError, type UploadAppMediaHttpResponse, clearCache, copyApp, createApp, appsExport as default, deleteApp, deleteAppMedia, deleteAppScript, exportApp, getAppDataLineage, getAppDataMetadata, getAppEvaluation, getAppEvaluationComparison, getAppEvaluationComparisonXml, getAppEvaluationXml, getAppEvaluations, getAppInfo, getAppInsightAnalyses, getAppInsightAnalysisModel, getAppInsightAnalysisRecommendations, getAppMedia, getAppMediaList, getAppReloadLog, getAppReloadLogs, getAppReloadMetadata, getAppScript, getAppScriptHistory, getAppThumbnail, getAppsPrivileges, importApp, moveAppToSpace, patchAppScript, publishApp, queueAppEvaluation, removeAppFromSpace, republishApp, updateAppInfo, updateAppObjectOwner, updateAppOwner, updateAppScript, uploadAppMedia };
|
package/apps.js
CHANGED
|
@@ -1,260 +1,267 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunk6JERR27Kjs = require('./chunk-6JERR27K.js');
|
|
5
|
+
require('./chunk-H7SAZYEE.js');
|
|
6
6
|
|
|
7
7
|
// src/public/rest/apps.ts
|
|
8
|
-
var createApp = async (body, options) =>
|
|
8
|
+
var createApp = async (body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
9
9
|
method: "post",
|
|
10
10
|
pathTemplate: "/api/v1/apps",
|
|
11
11
|
body,
|
|
12
12
|
options
|
|
13
13
|
});
|
|
14
|
-
var getAppEvaluationComparison = async (baseid, comparisonid, query, options) =>
|
|
14
|
+
var getAppEvaluationComparison = async (baseid, comparisonid, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
15
15
|
method: "get",
|
|
16
16
|
pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}",
|
|
17
17
|
pathVariables: { baseid, comparisonid },
|
|
18
18
|
query,
|
|
19
19
|
options
|
|
20
20
|
});
|
|
21
|
-
var
|
|
21
|
+
var getAppEvaluationComparisonXml = async (baseid, comparisonid, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
22
22
|
method: "get",
|
|
23
23
|
pathTemplate: "/api/v1/apps/evaluations/{baseid}/actions/compare/{comparisonid}/actions/download",
|
|
24
24
|
pathVariables: { baseid, comparisonid },
|
|
25
25
|
options
|
|
26
26
|
});
|
|
27
|
-
var getAppEvaluation = async (id, query, options) =>
|
|
27
|
+
var getAppEvaluation = async (id, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
28
28
|
method: "get",
|
|
29
29
|
pathTemplate: "/api/v1/apps/evaluations/{id}",
|
|
30
30
|
pathVariables: { id },
|
|
31
31
|
query,
|
|
32
32
|
options
|
|
33
33
|
});
|
|
34
|
-
var
|
|
34
|
+
var getAppEvaluationXml = async (id, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
35
35
|
method: "get",
|
|
36
36
|
pathTemplate: "/api/v1/apps/evaluations/{id}/actions/download",
|
|
37
37
|
pathVariables: { id },
|
|
38
38
|
options
|
|
39
39
|
});
|
|
40
|
-
var importApp = async (query, body, options) =>
|
|
40
|
+
var importApp = async (query, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
41
41
|
method: "post",
|
|
42
42
|
pathTemplate: "/api/v1/apps/import",
|
|
43
43
|
query,
|
|
44
44
|
body,
|
|
45
45
|
options
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var getAppsPrivileges = async (options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
48
48
|
method: "get",
|
|
49
49
|
pathTemplate: "/api/v1/apps/privileges",
|
|
50
50
|
options
|
|
51
51
|
});
|
|
52
|
-
var deleteApp = async (appId, options) =>
|
|
52
|
+
var deleteApp = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
53
53
|
method: "delete",
|
|
54
54
|
pathTemplate: "/api/v1/apps/{appId}",
|
|
55
55
|
pathVariables: { appId },
|
|
56
56
|
options
|
|
57
57
|
});
|
|
58
|
-
var getAppInfo = async (appId, options) =>
|
|
58
|
+
var getAppInfo = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
59
59
|
method: "get",
|
|
60
60
|
pathTemplate: "/api/v1/apps/{appId}",
|
|
61
61
|
pathVariables: { appId },
|
|
62
62
|
options
|
|
63
63
|
});
|
|
64
|
-
var updateAppInfo = async (appId, body, options) =>
|
|
64
|
+
var updateAppInfo = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
65
65
|
method: "put",
|
|
66
66
|
pathTemplate: "/api/v1/apps/{appId}",
|
|
67
67
|
pathVariables: { appId },
|
|
68
68
|
body,
|
|
69
69
|
options
|
|
70
70
|
});
|
|
71
|
-
var copyApp = async (appId, body, options) =>
|
|
71
|
+
var copyApp = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
72
72
|
method: "post",
|
|
73
73
|
pathTemplate: "/api/v1/apps/{appId}/copy",
|
|
74
74
|
pathVariables: { appId },
|
|
75
75
|
body,
|
|
76
76
|
options
|
|
77
77
|
});
|
|
78
|
-
var getAppDataLineage = async (appId, options) =>
|
|
78
|
+
var getAppDataLineage = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
79
79
|
method: "get",
|
|
80
80
|
pathTemplate: "/api/v1/apps/{appId}/data/lineage",
|
|
81
81
|
pathVariables: { appId },
|
|
82
82
|
options
|
|
83
83
|
});
|
|
84
|
-
var getAppDataMetadata = async (appId, options) =>
|
|
84
|
+
var getAppDataMetadata = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
85
85
|
method: "get",
|
|
86
86
|
pathTemplate: "/api/v1/apps/{appId}/data/metadata",
|
|
87
87
|
pathVariables: { appId },
|
|
88
88
|
options
|
|
89
89
|
});
|
|
90
|
-
var exportApp = async (appId, query, options) =>
|
|
90
|
+
var exportApp = async (appId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
91
91
|
method: "post",
|
|
92
92
|
pathTemplate: "/api/v1/apps/{appId}/export",
|
|
93
93
|
pathVariables: { appId },
|
|
94
94
|
query,
|
|
95
95
|
options
|
|
96
96
|
});
|
|
97
|
-
var getAppInsightAnalyses = async (appId, options) =>
|
|
97
|
+
var getAppInsightAnalyses = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
98
98
|
method: "get",
|
|
99
99
|
pathTemplate: "/api/v1/apps/{appId}/insight-analyses",
|
|
100
100
|
pathVariables: { appId },
|
|
101
101
|
options
|
|
102
102
|
});
|
|
103
|
-
var getAppInsightAnalysisRecommendations = async (appId, body, options) =>
|
|
103
|
+
var getAppInsightAnalysisRecommendations = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
104
104
|
method: "post",
|
|
105
105
|
pathTemplate: "/api/v1/apps/{appId}/insight-analyses/actions/recommend",
|
|
106
106
|
pathVariables: { appId },
|
|
107
107
|
body,
|
|
108
108
|
options
|
|
109
109
|
});
|
|
110
|
-
var getAppInsightAnalysisModel = async (appId, options) =>
|
|
110
|
+
var getAppInsightAnalysisModel = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
111
111
|
method: "get",
|
|
112
112
|
pathTemplate: "/api/v1/apps/{appId}/insight-analyses/model",
|
|
113
113
|
pathVariables: { appId },
|
|
114
114
|
options
|
|
115
115
|
});
|
|
116
|
-
var deleteAppMedia = async (appId, path, options) =>
|
|
116
|
+
var deleteAppMedia = async (appId, path, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
117
117
|
method: "delete",
|
|
118
118
|
pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
|
|
119
119
|
pathVariables: { appId, path },
|
|
120
120
|
options
|
|
121
121
|
});
|
|
122
|
-
var getAppMedia = async (appId, path, options) =>
|
|
122
|
+
var getAppMedia = async (appId, path, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
123
123
|
method: "get",
|
|
124
124
|
pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
|
|
125
125
|
pathVariables: { appId, path },
|
|
126
126
|
options
|
|
127
127
|
});
|
|
128
|
-
var uploadAppMedia = async (appId, path, body, options) =>
|
|
128
|
+
var uploadAppMedia = async (appId, path, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
129
129
|
method: "put",
|
|
130
130
|
pathTemplate: "/api/v1/apps/{appId}/media/files/{path}",
|
|
131
131
|
pathVariables: { appId, path },
|
|
132
132
|
body,
|
|
133
133
|
options
|
|
134
134
|
});
|
|
135
|
-
var getAppMediaList = async (appId, path, query, options) =>
|
|
135
|
+
var getAppMediaList = async (appId, path, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
136
136
|
method: "get",
|
|
137
137
|
pathTemplate: "/api/v1/apps/{appId}/media/list/{path}",
|
|
138
138
|
pathVariables: { appId, path },
|
|
139
139
|
query,
|
|
140
140
|
options
|
|
141
141
|
});
|
|
142
|
-
var getAppThumbnail = async (appId, options) =>
|
|
142
|
+
var getAppThumbnail = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
143
143
|
method: "get",
|
|
144
144
|
pathTemplate: "/api/v1/apps/{appId}/media/thumbnail",
|
|
145
145
|
pathVariables: { appId },
|
|
146
146
|
options
|
|
147
147
|
});
|
|
148
|
-
var updateAppObjectOwner = async (appId, objectId, body, options) =>
|
|
148
|
+
var updateAppObjectOwner = async (appId, objectId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
149
149
|
method: "post",
|
|
150
150
|
pathTemplate: "/api/v1/apps/{appId}/objects/{objectId}/actions/change-owner",
|
|
151
151
|
pathVariables: { appId, objectId },
|
|
152
152
|
body,
|
|
153
153
|
options
|
|
154
154
|
});
|
|
155
|
-
var updateAppOwner = async (appId, body, options) =>
|
|
155
|
+
var updateAppOwner = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
156
156
|
method: "put",
|
|
157
157
|
pathTemplate: "/api/v1/apps/{appId}/owner",
|
|
158
158
|
pathVariables: { appId },
|
|
159
159
|
body,
|
|
160
160
|
options
|
|
161
161
|
});
|
|
162
|
-
var publishApp = async (appId, body, options) =>
|
|
162
|
+
var publishApp = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
163
163
|
method: "post",
|
|
164
164
|
pathTemplate: "/api/v1/apps/{appId}/publish",
|
|
165
165
|
pathVariables: { appId },
|
|
166
166
|
body,
|
|
167
167
|
options
|
|
168
168
|
});
|
|
169
|
-
var republishApp = async (appId, body, options) =>
|
|
169
|
+
var republishApp = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
170
170
|
method: "put",
|
|
171
171
|
pathTemplate: "/api/v1/apps/{appId}/publish",
|
|
172
172
|
pathVariables: { appId },
|
|
173
173
|
body,
|
|
174
174
|
options
|
|
175
175
|
});
|
|
176
|
-
var getAppReloadLogs = async (appId, options) =>
|
|
176
|
+
var getAppReloadLogs = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
177
177
|
method: "get",
|
|
178
178
|
pathTemplate: "/api/v1/apps/{appId}/reloads/logs",
|
|
179
179
|
pathVariables: { appId },
|
|
180
180
|
options
|
|
181
181
|
});
|
|
182
|
-
var getAppReloadLog = async (appId, reloadId, options) =>
|
|
182
|
+
var getAppReloadLog = async (appId, reloadId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
183
183
|
method: "get",
|
|
184
184
|
pathTemplate: "/api/v1/apps/{appId}/reloads/logs/{reloadId}",
|
|
185
185
|
pathVariables: { appId, reloadId },
|
|
186
186
|
options
|
|
187
187
|
});
|
|
188
|
-
var
|
|
188
|
+
var getAppReloadMetadata = async (appId, reloadId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
189
|
+
method: "get",
|
|
190
|
+
pathTemplate: "/api/v1/apps/{appId}/reloads/metadata/{reloadId}",
|
|
191
|
+
pathVariables: { appId, reloadId },
|
|
192
|
+
query,
|
|
193
|
+
options
|
|
194
|
+
});
|
|
195
|
+
var getAppScriptHistory = async (appId, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
189
196
|
method: "get",
|
|
190
197
|
pathTemplate: "/api/v1/apps/{appId}/scripts",
|
|
191
198
|
pathVariables: { appId },
|
|
192
199
|
query,
|
|
193
200
|
options
|
|
194
201
|
});
|
|
195
|
-
var updateAppScript = async (appId, body, options) =>
|
|
202
|
+
var updateAppScript = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
196
203
|
method: "post",
|
|
197
204
|
pathTemplate: "/api/v1/apps/{appId}/scripts",
|
|
198
205
|
pathVariables: { appId },
|
|
199
206
|
body,
|
|
200
207
|
options
|
|
201
208
|
});
|
|
202
|
-
var deleteAppScript = async (appId, version, options) =>
|
|
209
|
+
var deleteAppScript = async (appId, version, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
203
210
|
method: "delete",
|
|
204
211
|
pathTemplate: "/api/v1/apps/{appId}/scripts/{version}",
|
|
205
212
|
pathVariables: { appId, version },
|
|
206
213
|
options
|
|
207
214
|
});
|
|
208
|
-
var getAppScript = async (appId, version, options) =>
|
|
215
|
+
var getAppScript = async (appId, version, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
209
216
|
method: "get",
|
|
210
217
|
pathTemplate: "/api/v1/apps/{appId}/scripts/{version}",
|
|
211
218
|
pathVariables: { appId, version },
|
|
212
219
|
options
|
|
213
220
|
});
|
|
214
|
-
var patchAppScript = async (appId, version, body, options) =>
|
|
221
|
+
var patchAppScript = async (appId, version, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
215
222
|
method: "patch",
|
|
216
223
|
pathTemplate: "/api/v1/apps/{appId}/scripts/{version}",
|
|
217
224
|
pathVariables: { appId, version },
|
|
218
225
|
body,
|
|
219
226
|
options
|
|
220
227
|
});
|
|
221
|
-
var removeAppFromSpace = async (appId, options) =>
|
|
228
|
+
var removeAppFromSpace = async (appId, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
222
229
|
method: "delete",
|
|
223
230
|
pathTemplate: "/api/v1/apps/{appId}/space",
|
|
224
231
|
pathVariables: { appId },
|
|
225
232
|
options
|
|
226
233
|
});
|
|
227
|
-
var moveAppToSpace = async (appId, body, options) =>
|
|
234
|
+
var moveAppToSpace = async (appId, body, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
228
235
|
method: "put",
|
|
229
236
|
pathTemplate: "/api/v1/apps/{appId}/space",
|
|
230
237
|
pathVariables: { appId },
|
|
231
238
|
body,
|
|
232
239
|
options
|
|
233
240
|
});
|
|
234
|
-
var getAppEvaluations = async (guid, query, options) =>
|
|
241
|
+
var getAppEvaluations = async (guid, query, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
235
242
|
method: "get",
|
|
236
243
|
pathTemplate: "/api/v1/apps/{guid}/evaluations",
|
|
237
244
|
pathVariables: { guid },
|
|
238
245
|
query,
|
|
239
246
|
options
|
|
240
247
|
});
|
|
241
|
-
var queueAppEvaluation = async (guid, options) =>
|
|
248
|
+
var queueAppEvaluation = async (guid, options) => _chunk6JERR27Kjs.invokeFetch.call(void 0, "apps", {
|
|
242
249
|
method: "post",
|
|
243
250
|
pathTemplate: "/api/v1/apps/{guid}/evaluations",
|
|
244
251
|
pathVariables: { guid },
|
|
245
252
|
options
|
|
246
253
|
});
|
|
247
254
|
function clearCache() {
|
|
248
|
-
return
|
|
255
|
+
return _chunk6JERR27Kjs.clearApiCache.call(void 0, "apps");
|
|
249
256
|
}
|
|
250
257
|
var appsExport = {
|
|
251
258
|
createApp,
|
|
252
259
|
getAppEvaluationComparison,
|
|
253
|
-
|
|
260
|
+
getAppEvaluationComparisonXml,
|
|
254
261
|
getAppEvaluation,
|
|
255
|
-
|
|
262
|
+
getAppEvaluationXml,
|
|
256
263
|
importApp,
|
|
257
|
-
|
|
264
|
+
getAppsPrivileges,
|
|
258
265
|
deleteApp,
|
|
259
266
|
getAppInfo,
|
|
260
267
|
updateAppInfo,
|
|
@@ -276,6 +283,7 @@ var appsExport = {
|
|
|
276
283
|
republishApp,
|
|
277
284
|
getAppReloadLogs,
|
|
278
285
|
getAppReloadLog,
|
|
286
|
+
getAppReloadMetadata,
|
|
279
287
|
getAppScriptHistory,
|
|
280
288
|
updateAppScript,
|
|
281
289
|
deleteAppScript,
|
|
@@ -328,4 +336,5 @@ var apps_default = appsExport;
|
|
|
328
336
|
|
|
329
337
|
|
|
330
338
|
|
|
331
|
-
|
|
339
|
+
|
|
340
|
+
exports.clearCache = clearCache; exports.copyApp = copyApp; exports.createApp = createApp; exports.default = apps_default; exports.deleteApp = deleteApp; exports.deleteAppMedia = deleteAppMedia; exports.deleteAppScript = deleteAppScript; exports.exportApp = exportApp; exports.getAppDataLineage = getAppDataLineage; exports.getAppDataMetadata = getAppDataMetadata; exports.getAppEvaluation = getAppEvaluation; exports.getAppEvaluationComparison = getAppEvaluationComparison; exports.getAppEvaluationComparisonXml = getAppEvaluationComparisonXml; exports.getAppEvaluationXml = getAppEvaluationXml; exports.getAppEvaluations = getAppEvaluations; exports.getAppInfo = getAppInfo; exports.getAppInsightAnalyses = getAppInsightAnalyses; exports.getAppInsightAnalysisModel = getAppInsightAnalysisModel; exports.getAppInsightAnalysisRecommendations = getAppInsightAnalysisRecommendations; exports.getAppMedia = getAppMedia; exports.getAppMediaList = getAppMediaList; exports.getAppReloadLog = getAppReloadLog; exports.getAppReloadLogs = getAppReloadLogs; exports.getAppReloadMetadata = getAppReloadMetadata; exports.getAppScript = getAppScript; exports.getAppScriptHistory = getAppScriptHistory; exports.getAppThumbnail = getAppThumbnail; exports.getAppsPrivileges = getAppsPrivileges; exports.importApp = importApp; exports.moveAppToSpace = moveAppToSpace; exports.patchAppScript = patchAppScript; exports.publishApp = publishApp; exports.queueAppEvaluation = queueAppEvaluation; exports.removeAppFromSpace = removeAppFromSpace; exports.republishApp = republishApp; exports.updateAppInfo = updateAppInfo; exports.updateAppObjectOwner = updateAppObjectOwner; exports.updateAppOwner = updateAppOwner; exports.updateAppScript = updateAppScript; exports.uploadAppMedia = uploadAppMedia;
|