@salesforce/lds-adapters-platform-appexchange 1.332.0-dev24 → 1.332.0-dev25
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/dist/es/es2018/platform-appexchange.js +81 -15
- package/dist/es/es2018/types/src/generated/types/AppExchangeInstalledPackageRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/AppExchangeInstalledPackageVersionRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AppExchangeListingDetailsRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +82 -16
- package/src/raml/api.raml +32 -0
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$C(obj, path = 'AppExchangeListingCategoriesRepresentation') {
|
|
97
97
|
const v_error = (() => {
|
|
98
98
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
99
99
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -123,7 +123,7 @@ function validate$A(obj, path = 'AppExchangeListingCategoriesRepresentation') {
|
|
|
123
123
|
return v_error === undefined ? null : v_error;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
function validate$
|
|
126
|
+
function validate$B(obj, path = 'AppExchangeForceCopilotListingExtensionRepresentation') {
|
|
127
127
|
const v_error = (() => {
|
|
128
128
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
129
129
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -849,7 +849,7 @@ function validate$z(obj, path = 'AppExchangeForceCopilotListingExtensionRepresen
|
|
|
849
849
|
return v_error === undefined ? null : v_error;
|
|
850
850
|
}
|
|
851
851
|
|
|
852
|
-
function validate$
|
|
852
|
+
function validate$A(obj, path = 'AppExchangeForceExtensionRepresentation') {
|
|
853
853
|
const v_error = (() => {
|
|
854
854
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
855
855
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1575,7 +1575,7 @@ function validate$y(obj, path = 'AppExchangeForceExtensionRepresentation') {
|
|
|
1575
1575
|
return v_error === undefined ? null : v_error;
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
|
-
function validate$
|
|
1578
|
+
function validate$z(obj, path = 'AppExchangeForcePackageListingExtensionRepresentation') {
|
|
1579
1579
|
const v_error = (() => {
|
|
1580
1580
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1581
1581
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1612,7 +1612,7 @@ function validate$x(obj, path = 'AppExchangeForcePackageListingExtensionRepresen
|
|
|
1612
1612
|
return v_error === undefined ? null : v_error;
|
|
1613
1613
|
}
|
|
1614
1614
|
|
|
1615
|
-
function validate$
|
|
1615
|
+
function validate$y(obj, path = 'AppExchangeForcePackageListingTestDriveExtensionRepresentation') {
|
|
1616
1616
|
const v_error = (() => {
|
|
1617
1617
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1618
1618
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1656,7 +1656,7 @@ function validate$w(obj, path = 'AppExchangeForcePackageListingTestDriveExtensio
|
|
|
1656
1656
|
return v_error === undefined ? null : v_error;
|
|
1657
1657
|
}
|
|
1658
1658
|
|
|
1659
|
-
function validate$
|
|
1659
|
+
function validate$x(obj, path = 'AppExchangeTableauExtensionRepresentation') {
|
|
1660
1660
|
const v_error = (() => {
|
|
1661
1661
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1662
1662
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1924,7 +1924,7 @@ function validate$v(obj, path = 'AppExchangeTableauExtensionRepresentation') {
|
|
|
1924
1924
|
return v_error === undefined ? null : v_error;
|
|
1925
1925
|
}
|
|
1926
1926
|
|
|
1927
|
-
function validate$
|
|
1927
|
+
function validate$w(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
1928
1928
|
const v_error = (() => {
|
|
1929
1929
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1930
1930
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1932,7 +1932,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1932
1932
|
if (obj.listing_extensions_force_listings_CopilotListing !== undefined) {
|
|
1933
1933
|
const obj_listing_extensions_force_listings_CopilotListing = obj.listing_extensions_force_listings_CopilotListing;
|
|
1934
1934
|
const path_listing_extensions_force_listings_CopilotListing = path + '.listing_extensions_force_listings_CopilotListing';
|
|
1935
|
-
const referencepath_listing_extensions_force_listings_CopilotListingValidationError = validate$
|
|
1935
|
+
const referencepath_listing_extensions_force_listings_CopilotListingValidationError = validate$B(obj_listing_extensions_force_listings_CopilotListing, path_listing_extensions_force_listings_CopilotListing);
|
|
1936
1936
|
if (referencepath_listing_extensions_force_listings_CopilotListingValidationError !== null) {
|
|
1937
1937
|
let message = 'Object doesn\'t match AppExchangeForceCopilotListingExtensionRepresentation (at "' + path_listing_extensions_force_listings_CopilotListing + '")\n';
|
|
1938
1938
|
message += referencepath_listing_extensions_force_listings_CopilotListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1942,7 +1942,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1942
1942
|
if (obj.listing_extensions_force_listings_Listing !== undefined) {
|
|
1943
1943
|
const obj_listing_extensions_force_listings_Listing = obj.listing_extensions_force_listings_Listing;
|
|
1944
1944
|
const path_listing_extensions_force_listings_Listing = path + '.listing_extensions_force_listings_Listing';
|
|
1945
|
-
const referencepath_listing_extensions_force_listings_ListingValidationError = validate$
|
|
1945
|
+
const referencepath_listing_extensions_force_listings_ListingValidationError = validate$A(obj_listing_extensions_force_listings_Listing, path_listing_extensions_force_listings_Listing);
|
|
1946
1946
|
if (referencepath_listing_extensions_force_listings_ListingValidationError !== null) {
|
|
1947
1947
|
let message = 'Object doesn\'t match AppExchangeForceExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing + '")\n';
|
|
1948
1948
|
message += referencepath_listing_extensions_force_listings_ListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1952,7 +1952,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1952
1952
|
if (obj.listing_extensions_force_listings_Listing_extensions_PackageListing !== undefined) {
|
|
1953
1953
|
const obj_listing_extensions_force_listings_Listing_extensions_PackageListing = obj.listing_extensions_force_listings_Listing_extensions_PackageListing;
|
|
1954
1954
|
const path_listing_extensions_force_listings_Listing_extensions_PackageListing = path + '.listing_extensions_force_listings_Listing_extensions_PackageListing';
|
|
1955
|
-
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError = validate$
|
|
1955
|
+
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError = validate$z(obj_listing_extensions_force_listings_Listing_extensions_PackageListing, path_listing_extensions_force_listings_Listing_extensions_PackageListing);
|
|
1956
1956
|
if (referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError !== null) {
|
|
1957
1957
|
let message = 'Object doesn\'t match AppExchangeForcePackageListingExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing_extensions_PackageListing + '")\n';
|
|
1958
1958
|
message += referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1962,7 +1962,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1962
1962
|
if (obj.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive !== undefined) {
|
|
1963
1963
|
const obj_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive = obj.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive;
|
|
1964
1964
|
const path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive = path + '.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive';
|
|
1965
|
-
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError = validate$
|
|
1965
|
+
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError = validate$y(obj_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive, path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive);
|
|
1966
1966
|
if (referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError !== null) {
|
|
1967
1967
|
let message = 'Object doesn\'t match AppExchangeForcePackageListingTestDriveExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive + '")\n';
|
|
1968
1968
|
message += referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1972,7 +1972,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1972
1972
|
if (obj.listing_extensions_tableau_listings_Listing !== undefined) {
|
|
1973
1973
|
const obj_listing_extensions_tableau_listings_Listing = obj.listing_extensions_tableau_listings_Listing;
|
|
1974
1974
|
const path_listing_extensions_tableau_listings_Listing = path + '.listing_extensions_tableau_listings_Listing';
|
|
1975
|
-
const referencepath_listing_extensions_tableau_listings_ListingValidationError = validate$
|
|
1975
|
+
const referencepath_listing_extensions_tableau_listings_ListingValidationError = validate$x(obj_listing_extensions_tableau_listings_Listing, path_listing_extensions_tableau_listings_Listing);
|
|
1976
1976
|
if (referencepath_listing_extensions_tableau_listings_ListingValidationError !== null) {
|
|
1977
1977
|
let message = 'Object doesn\'t match AppExchangeTableauExtensionRepresentation (at "' + path_listing_extensions_tableau_listings_Listing + '")\n';
|
|
1978
1978
|
message += referencepath_listing_extensions_tableau_listings_ListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1983,6 +1983,62 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1983
1983
|
return v_error === undefined ? null : v_error;
|
|
1984
1984
|
}
|
|
1985
1985
|
|
|
1986
|
+
function validate$v(obj, path = 'AppExchangeInstalledPackageVersionRepresentation') {
|
|
1987
|
+
const v_error = (() => {
|
|
1988
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1989
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1990
|
+
}
|
|
1991
|
+
if (obj.majorVersion !== undefined) {
|
|
1992
|
+
const obj_majorVersion = obj.majorVersion;
|
|
1993
|
+
const path_majorVersion = path + '.majorVersion';
|
|
1994
|
+
if (typeof obj_majorVersion !== 'number' || (typeof obj_majorVersion === 'number' && Math.floor(obj_majorVersion) !== obj_majorVersion)) {
|
|
1995
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_majorVersion + '" (at "' + path_majorVersion + '")');
|
|
1996
|
+
}
|
|
1997
|
+
}
|
|
1998
|
+
if (obj.minorVersion !== undefined) {
|
|
1999
|
+
const obj_minorVersion = obj.minorVersion;
|
|
2000
|
+
const path_minorVersion = path + '.minorVersion';
|
|
2001
|
+
if (typeof obj_minorVersion !== 'number' || (typeof obj_minorVersion === 'number' && Math.floor(obj_minorVersion) !== obj_minorVersion)) {
|
|
2002
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_minorVersion + '" (at "' + path_minorVersion + '")');
|
|
2003
|
+
}
|
|
2004
|
+
}
|
|
2005
|
+
if (obj.patchVersion !== undefined) {
|
|
2006
|
+
const obj_patchVersion = obj.patchVersion;
|
|
2007
|
+
const path_patchVersion = path + '.patchVersion';
|
|
2008
|
+
if (typeof obj_patchVersion !== 'number' || (typeof obj_patchVersion === 'number' && Math.floor(obj_patchVersion) !== obj_patchVersion)) {
|
|
2009
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_patchVersion + '" (at "' + path_patchVersion + '")');
|
|
2010
|
+
}
|
|
2011
|
+
}
|
|
2012
|
+
if (obj.versionName !== undefined) {
|
|
2013
|
+
const obj_versionName = obj.versionName;
|
|
2014
|
+
const path_versionName = path + '.versionName';
|
|
2015
|
+
if (typeof obj_versionName !== 'string') {
|
|
2016
|
+
return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
|
|
2017
|
+
}
|
|
2018
|
+
}
|
|
2019
|
+
})();
|
|
2020
|
+
return v_error === undefined ? null : v_error;
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
function validate$u(obj, path = 'AppExchangeInstalledPackageRepresentation') {
|
|
2024
|
+
const v_error = (() => {
|
|
2025
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2026
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2027
|
+
}
|
|
2028
|
+
if (obj.version !== undefined) {
|
|
2029
|
+
const obj_version = obj.version;
|
|
2030
|
+
const path_version = path + '.version';
|
|
2031
|
+
const referencepath_versionValidationError = validate$v(obj_version, path_version);
|
|
2032
|
+
if (referencepath_versionValidationError !== null) {
|
|
2033
|
+
let message = 'Object doesn\'t match AppExchangeInstalledPackageVersionRepresentation (at "' + path_version + '")\n';
|
|
2034
|
+
message += referencepath_versionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2035
|
+
return new TypeError(message);
|
|
2036
|
+
}
|
|
2037
|
+
}
|
|
2038
|
+
})();
|
|
2039
|
+
return v_error === undefined ? null : v_error;
|
|
2040
|
+
}
|
|
2041
|
+
|
|
1986
2042
|
var DiscriminatorValues$3;
|
|
1987
2043
|
(function (DiscriminatorValues) {
|
|
1988
2044
|
DiscriminatorValues["Video"] = "Video";
|
|
@@ -3263,7 +3319,7 @@ function validate$5(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
|
3263
3319
|
return v_error === undefined ? null : v_error;
|
|
3264
3320
|
}
|
|
3265
3321
|
|
|
3266
|
-
const VERSION$4 = "
|
|
3322
|
+
const VERSION$4 = "5498b678efe3f405bc661e7613e6872c";
|
|
3267
3323
|
function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
3268
3324
|
const v_error = (() => {
|
|
3269
3325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3280,7 +3336,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3280
3336
|
const key = obj_businessNeeds_keys[i];
|
|
3281
3337
|
const obj_businessNeeds_prop = obj_businessNeeds[key];
|
|
3282
3338
|
const path_businessNeeds_prop = path_businessNeeds + '["' + key + '"]';
|
|
3283
|
-
const referencepath_businessNeeds_propValidationError = validate$
|
|
3339
|
+
const referencepath_businessNeeds_propValidationError = validate$C(obj_businessNeeds_prop, path_businessNeeds_prop);
|
|
3284
3340
|
if (referencepath_businessNeeds_propValidationError !== null) {
|
|
3285
3341
|
let message = 'Object doesn\'t match AppExchangeListingCategoriesRepresentation (at "' + path_businessNeeds_prop + '")\n';
|
|
3286
3342
|
message += referencepath_businessNeeds_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3305,7 +3361,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3305
3361
|
if (obj.extensions !== undefined) {
|
|
3306
3362
|
const obj_extensions = obj.extensions;
|
|
3307
3363
|
const path_extensions = path + '.extensions';
|
|
3308
|
-
const referencepath_extensionsValidationError = validate$
|
|
3364
|
+
const referencepath_extensionsValidationError = validate$w(obj_extensions, path_extensions);
|
|
3309
3365
|
if (referencepath_extensionsValidationError !== null) {
|
|
3310
3366
|
let message = 'Object doesn\'t match AppExchangeListingExtensionsRepresentation (at "' + path_extensions + '")\n';
|
|
3311
3367
|
message += referencepath_extensionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3326,6 +3382,16 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3326
3382
|
return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
|
|
3327
3383
|
}
|
|
3328
3384
|
}
|
|
3385
|
+
if (obj.installedPackage !== undefined) {
|
|
3386
|
+
const obj_installedPackage = obj.installedPackage;
|
|
3387
|
+
const path_installedPackage = path + '.installedPackage';
|
|
3388
|
+
const referencepath_installedPackageValidationError = validate$u(obj_installedPackage, path_installedPackage);
|
|
3389
|
+
if (referencepath_installedPackageValidationError !== null) {
|
|
3390
|
+
let message = 'Object doesn\'t match AppExchangeInstalledPackageRepresentation (at "' + path_installedPackage + '")\n';
|
|
3391
|
+
message += referencepath_installedPackageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3392
|
+
return new TypeError(message);
|
|
3393
|
+
}
|
|
3394
|
+
}
|
|
3329
3395
|
if (obj.isDeleted !== undefined) {
|
|
3330
3396
|
const obj_isDeleted = obj.isDeleted;
|
|
3331
3397
|
const path_isDeleted = path + '.isDeleted';
|
package/dist/es/es2018/types/src/generated/types/AppExchangeInstalledPackageRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AppExchangeInstalledPackageVersionRepresentation as AppExchangeInstalledPackageVersionRepresentation_AppExchangeInstalledPackageVersionRepresentation } from './AppExchangeInstalledPackageVersionRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "e8559a735513fd85cc19c33c888ba988";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: AppExchangeInstalledPackageRepresentation, existing: AppExchangeInstalledPackageRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeInstalledPackageRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: AppExchangeInstalledPackageRepresentationNormalized, incoming: AppExchangeInstalledPackageRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppExchangeInstalledPackageRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Represents an AppExchange Installed Package details
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface AppExchangeInstalledPackageRepresentationNormalized {
|
|
18
|
+
version?: AppExchangeInstalledPackageVersionRepresentation_AppExchangeInstalledPackageVersionRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Represents an AppExchange Installed Package details
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface AppExchangeInstalledPackageRepresentation {
|
|
27
|
+
version?: AppExchangeInstalledPackageVersionRepresentation_AppExchangeInstalledPackageVersionRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b21cb4fb9076945f34fc98f2365303d1";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: AppExchangeInstalledPackageVersionRepresentation, existing: AppExchangeInstalledPackageVersionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeInstalledPackageVersionRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: AppExchangeInstalledPackageVersionRepresentationNormalized, incoming: AppExchangeInstalledPackageVersionRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: AppExchangeInstalledPackageVersionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Represents an AppExchange Installed Package details
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface AppExchangeInstalledPackageVersionRepresentationNormalized {
|
|
17
|
+
/** majorVersion of the installed package */
|
|
18
|
+
majorVersion?: number;
|
|
19
|
+
/** minorVersion of the installed package */
|
|
20
|
+
minorVersion?: number;
|
|
21
|
+
/** patchVersion of the installed package */
|
|
22
|
+
patchVersion?: number;
|
|
23
|
+
/** versionName of the installed package */
|
|
24
|
+
versionName?: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents an AppExchange Installed Package details
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface AppExchangeInstalledPackageVersionRepresentation {
|
|
33
|
+
majorVersion?: number;
|
|
34
|
+
minorVersion?: number;
|
|
35
|
+
patchVersion?: number;
|
|
36
|
+
versionName?: string;
|
|
37
|
+
}
|
package/dist/es/es2018/types/src/generated/types/AppExchangeListingDetailsRepresentation.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { AppExchangeListingCategoriesRepresentation as AppExchangeListingCategoriesRepresentation_AppExchangeListingCategoriesRepresentation } from './AppExchangeListingCategoriesRepresentation';
|
|
2
2
|
import { AppExchangeListingExtensionsRepresentation as AppExchangeListingExtensionsRepresentation_AppExchangeListingExtensionsRepresentation } from './AppExchangeListingExtensionsRepresentation';
|
|
3
|
+
import { AppExchangeInstalledPackageRepresentation as AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation } from './AppExchangeInstalledPackageRepresentation';
|
|
3
4
|
import { AppExchangeListingPluginsRepresentation as AppExchangeListingPluginsRepresentation_AppExchangeListingPluginsRepresentation } from './AppExchangeListingPluginsRepresentation';
|
|
4
5
|
import { AppExchangePricingRepresentation as AppExchangePricingRepresentation_AppExchangePricingRepresentation } from './AppExchangePricingRepresentation';
|
|
5
6
|
import { AppExchangePublisherRepresentation as AppExchangePublisherRepresentation_AppExchangePublisherRepresentation } from './AppExchangePublisherRepresentation';
|
|
6
7
|
import { AppExchangeListingReviewsSummaryRepresentation as AppExchangeListingReviewsSummaryRepresentation_AppExchangeListingReviewsSummaryRepresentation } from './AppExchangeListingReviewsSummaryRepresentation';
|
|
7
8
|
import { AppExchangeListingSolutionRepresentation as AppExchangeListingSolutionRepresentation_AppExchangeListingSolutionRepresentation } from './AppExchangeListingSolutionRepresentation';
|
|
8
9
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
9
|
-
export declare const VERSION = "
|
|
10
|
+
export declare const VERSION = "5498b678efe3f405bc661e7613e6872c";
|
|
10
11
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
11
12
|
export declare const RepresentationType: string;
|
|
12
13
|
export declare function normalize(input: AppExchangeListingDetailsRepresentation, existing: AppExchangeListingDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): AppExchangeListingDetailsRepresentationNormalized;
|
|
@@ -34,6 +35,8 @@ export interface AppExchangeListingDetailsRepresentationNormalized {
|
|
|
34
35
|
fullDescription?: string;
|
|
35
36
|
/** installPackagingPermission - Permission to install AppExchange listing packages */
|
|
36
37
|
installPackagingPermission?: boolean;
|
|
38
|
+
/** installed Package details of AppExchange listing */
|
|
39
|
+
installedPackage?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
|
|
37
40
|
/** Soft delete flag of AppExchange listing */
|
|
38
41
|
isDeleted?: boolean;
|
|
39
42
|
/** The availability of this AppExchange listing on the AppExchange site */
|
|
@@ -79,6 +82,7 @@ export interface AppExchangeListingDetailsRepresentation {
|
|
|
79
82
|
extensions?: AppExchangeListingExtensionsRepresentation_AppExchangeListingExtensionsRepresentation;
|
|
80
83
|
fullDescription?: string;
|
|
81
84
|
installPackagingPermission?: boolean;
|
|
85
|
+
installedPackage?: AppExchangeInstalledPackageRepresentation_AppExchangeInstalledPackageRepresentation;
|
|
82
86
|
isDeleted?: boolean;
|
|
83
87
|
isPublic?: boolean;
|
|
84
88
|
name?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-platform-appexchange",
|
|
3
|
-
"version": "1.332.0-
|
|
3
|
+
"version": "1.332.0-dev25",
|
|
4
4
|
"description": "This API Family is owned by AppExchange Everywhere team, aimed at integrating AppExchange with Core.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/platform-appexchange.js",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:unit": "jest"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@salesforce/lds-bindings": "^1.332.0-
|
|
49
|
+
"@salesforce/lds-bindings": "^1.332.0-dev25"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@salesforce/lds-compiler-plugins": "^1.332.0-
|
|
52
|
+
"@salesforce/lds-compiler-plugins": "^1.332.0-dev25"
|
|
53
53
|
},
|
|
54
54
|
"nx": {
|
|
55
55
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -103,7 +103,7 @@ function createLink(ref) {
|
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
function validate$
|
|
106
|
+
function validate$C(obj, path = 'AppExchangeListingCategoriesRepresentation') {
|
|
107
107
|
const v_error = (() => {
|
|
108
108
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
109
109
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -133,7 +133,7 @@ function validate$A(obj, path = 'AppExchangeListingCategoriesRepresentation') {
|
|
|
133
133
|
return v_error === undefined ? null : v_error;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
function validate$
|
|
136
|
+
function validate$B(obj, path = 'AppExchangeForceCopilotListingExtensionRepresentation') {
|
|
137
137
|
const v_error = (() => {
|
|
138
138
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
139
139
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -859,7 +859,7 @@ function validate$z(obj, path = 'AppExchangeForceCopilotListingExtensionRepresen
|
|
|
859
859
|
return v_error === undefined ? null : v_error;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
-
function validate$
|
|
862
|
+
function validate$A(obj, path = 'AppExchangeForceExtensionRepresentation') {
|
|
863
863
|
const v_error = (() => {
|
|
864
864
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
865
865
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1585,7 +1585,7 @@ function validate$y(obj, path = 'AppExchangeForceExtensionRepresentation') {
|
|
|
1585
1585
|
return v_error === undefined ? null : v_error;
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
|
-
function validate$
|
|
1588
|
+
function validate$z(obj, path = 'AppExchangeForcePackageListingExtensionRepresentation') {
|
|
1589
1589
|
const v_error = (() => {
|
|
1590
1590
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1591
1591
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1622,7 +1622,7 @@ function validate$x(obj, path = 'AppExchangeForcePackageListingExtensionRepresen
|
|
|
1622
1622
|
return v_error === undefined ? null : v_error;
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
|
-
function validate$
|
|
1625
|
+
function validate$y(obj, path = 'AppExchangeForcePackageListingTestDriveExtensionRepresentation') {
|
|
1626
1626
|
const v_error = (() => {
|
|
1627
1627
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1628
1628
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1666,7 +1666,7 @@ function validate$w(obj, path = 'AppExchangeForcePackageListingTestDriveExtensio
|
|
|
1666
1666
|
return v_error === undefined ? null : v_error;
|
|
1667
1667
|
}
|
|
1668
1668
|
|
|
1669
|
-
function validate$
|
|
1669
|
+
function validate$x(obj, path = 'AppExchangeTableauExtensionRepresentation') {
|
|
1670
1670
|
const v_error = (() => {
|
|
1671
1671
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1672
1672
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1934,7 +1934,7 @@ function validate$v(obj, path = 'AppExchangeTableauExtensionRepresentation') {
|
|
|
1934
1934
|
return v_error === undefined ? null : v_error;
|
|
1935
1935
|
}
|
|
1936
1936
|
|
|
1937
|
-
function validate$
|
|
1937
|
+
function validate$w(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
1938
1938
|
const v_error = (() => {
|
|
1939
1939
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1940
1940
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1942,7 +1942,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1942
1942
|
if (obj.listing_extensions_force_listings_CopilotListing !== undefined) {
|
|
1943
1943
|
const obj_listing_extensions_force_listings_CopilotListing = obj.listing_extensions_force_listings_CopilotListing;
|
|
1944
1944
|
const path_listing_extensions_force_listings_CopilotListing = path + '.listing_extensions_force_listings_CopilotListing';
|
|
1945
|
-
const referencepath_listing_extensions_force_listings_CopilotListingValidationError = validate$
|
|
1945
|
+
const referencepath_listing_extensions_force_listings_CopilotListingValidationError = validate$B(obj_listing_extensions_force_listings_CopilotListing, path_listing_extensions_force_listings_CopilotListing);
|
|
1946
1946
|
if (referencepath_listing_extensions_force_listings_CopilotListingValidationError !== null) {
|
|
1947
1947
|
let message = 'Object doesn\'t match AppExchangeForceCopilotListingExtensionRepresentation (at "' + path_listing_extensions_force_listings_CopilotListing + '")\n';
|
|
1948
1948
|
message += referencepath_listing_extensions_force_listings_CopilotListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1952,7 +1952,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1952
1952
|
if (obj.listing_extensions_force_listings_Listing !== undefined) {
|
|
1953
1953
|
const obj_listing_extensions_force_listings_Listing = obj.listing_extensions_force_listings_Listing;
|
|
1954
1954
|
const path_listing_extensions_force_listings_Listing = path + '.listing_extensions_force_listings_Listing';
|
|
1955
|
-
const referencepath_listing_extensions_force_listings_ListingValidationError = validate$
|
|
1955
|
+
const referencepath_listing_extensions_force_listings_ListingValidationError = validate$A(obj_listing_extensions_force_listings_Listing, path_listing_extensions_force_listings_Listing);
|
|
1956
1956
|
if (referencepath_listing_extensions_force_listings_ListingValidationError !== null) {
|
|
1957
1957
|
let message = 'Object doesn\'t match AppExchangeForceExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing + '")\n';
|
|
1958
1958
|
message += referencepath_listing_extensions_force_listings_ListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1962,7 +1962,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1962
1962
|
if (obj.listing_extensions_force_listings_Listing_extensions_PackageListing !== undefined) {
|
|
1963
1963
|
const obj_listing_extensions_force_listings_Listing_extensions_PackageListing = obj.listing_extensions_force_listings_Listing_extensions_PackageListing;
|
|
1964
1964
|
const path_listing_extensions_force_listings_Listing_extensions_PackageListing = path + '.listing_extensions_force_listings_Listing_extensions_PackageListing';
|
|
1965
|
-
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError = validate$
|
|
1965
|
+
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError = validate$z(obj_listing_extensions_force_listings_Listing_extensions_PackageListing, path_listing_extensions_force_listings_Listing_extensions_PackageListing);
|
|
1966
1966
|
if (referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError !== null) {
|
|
1967
1967
|
let message = 'Object doesn\'t match AppExchangeForcePackageListingExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing_extensions_PackageListing + '")\n';
|
|
1968
1968
|
message += referencepath_listing_extensions_force_listings_Listing_extensions_PackageListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1972,7 +1972,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1972
1972
|
if (obj.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive !== undefined) {
|
|
1973
1973
|
const obj_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive = obj.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive;
|
|
1974
1974
|
const path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive = path + '.listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive';
|
|
1975
|
-
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError = validate$
|
|
1975
|
+
const referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError = validate$y(obj_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive, path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive);
|
|
1976
1976
|
if (referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError !== null) {
|
|
1977
1977
|
let message = 'Object doesn\'t match AppExchangeForcePackageListingTestDriveExtensionRepresentation (at "' + path_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDrive + '")\n';
|
|
1978
1978
|
message += referencepath_listing_extensions_force_listings_Listing_extensions_PackageListing_TestDriveValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1982,7 +1982,7 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1982
1982
|
if (obj.listing_extensions_tableau_listings_Listing !== undefined) {
|
|
1983
1983
|
const obj_listing_extensions_tableau_listings_Listing = obj.listing_extensions_tableau_listings_Listing;
|
|
1984
1984
|
const path_listing_extensions_tableau_listings_Listing = path + '.listing_extensions_tableau_listings_Listing';
|
|
1985
|
-
const referencepath_listing_extensions_tableau_listings_ListingValidationError = validate$
|
|
1985
|
+
const referencepath_listing_extensions_tableau_listings_ListingValidationError = validate$x(obj_listing_extensions_tableau_listings_Listing, path_listing_extensions_tableau_listings_Listing);
|
|
1986
1986
|
if (referencepath_listing_extensions_tableau_listings_ListingValidationError !== null) {
|
|
1987
1987
|
let message = 'Object doesn\'t match AppExchangeTableauExtensionRepresentation (at "' + path_listing_extensions_tableau_listings_Listing + '")\n';
|
|
1988
1988
|
message += referencepath_listing_extensions_tableau_listings_ListingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1993,6 +1993,62 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1993
1993
|
return v_error === undefined ? null : v_error;
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
+
function validate$v(obj, path = 'AppExchangeInstalledPackageVersionRepresentation') {
|
|
1997
|
+
const v_error = (() => {
|
|
1998
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1999
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2000
|
+
}
|
|
2001
|
+
if (obj.majorVersion !== undefined) {
|
|
2002
|
+
const obj_majorVersion = obj.majorVersion;
|
|
2003
|
+
const path_majorVersion = path + '.majorVersion';
|
|
2004
|
+
if (typeof obj_majorVersion !== 'number' || (typeof obj_majorVersion === 'number' && Math.floor(obj_majorVersion) !== obj_majorVersion)) {
|
|
2005
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_majorVersion + '" (at "' + path_majorVersion + '")');
|
|
2006
|
+
}
|
|
2007
|
+
}
|
|
2008
|
+
if (obj.minorVersion !== undefined) {
|
|
2009
|
+
const obj_minorVersion = obj.minorVersion;
|
|
2010
|
+
const path_minorVersion = path + '.minorVersion';
|
|
2011
|
+
if (typeof obj_minorVersion !== 'number' || (typeof obj_minorVersion === 'number' && Math.floor(obj_minorVersion) !== obj_minorVersion)) {
|
|
2012
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_minorVersion + '" (at "' + path_minorVersion + '")');
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
if (obj.patchVersion !== undefined) {
|
|
2016
|
+
const obj_patchVersion = obj.patchVersion;
|
|
2017
|
+
const path_patchVersion = path + '.patchVersion';
|
|
2018
|
+
if (typeof obj_patchVersion !== 'number' || (typeof obj_patchVersion === 'number' && Math.floor(obj_patchVersion) !== obj_patchVersion)) {
|
|
2019
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_patchVersion + '" (at "' + path_patchVersion + '")');
|
|
2020
|
+
}
|
|
2021
|
+
}
|
|
2022
|
+
if (obj.versionName !== undefined) {
|
|
2023
|
+
const obj_versionName = obj.versionName;
|
|
2024
|
+
const path_versionName = path + '.versionName';
|
|
2025
|
+
if (typeof obj_versionName !== 'string') {
|
|
2026
|
+
return new TypeError('Expected "string" but received "' + typeof obj_versionName + '" (at "' + path_versionName + '")');
|
|
2027
|
+
}
|
|
2028
|
+
}
|
|
2029
|
+
})();
|
|
2030
|
+
return v_error === undefined ? null : v_error;
|
|
2031
|
+
}
|
|
2032
|
+
|
|
2033
|
+
function validate$u(obj, path = 'AppExchangeInstalledPackageRepresentation') {
|
|
2034
|
+
const v_error = (() => {
|
|
2035
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2036
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
2037
|
+
}
|
|
2038
|
+
if (obj.version !== undefined) {
|
|
2039
|
+
const obj_version = obj.version;
|
|
2040
|
+
const path_version = path + '.version';
|
|
2041
|
+
const referencepath_versionValidationError = validate$v(obj_version, path_version);
|
|
2042
|
+
if (referencepath_versionValidationError !== null) {
|
|
2043
|
+
let message = 'Object doesn\'t match AppExchangeInstalledPackageVersionRepresentation (at "' + path_version + '")\n';
|
|
2044
|
+
message += referencepath_versionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
2045
|
+
return new TypeError(message);
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
})();
|
|
2049
|
+
return v_error === undefined ? null : v_error;
|
|
2050
|
+
}
|
|
2051
|
+
|
|
1996
2052
|
var DiscriminatorValues$3;
|
|
1997
2053
|
(function (DiscriminatorValues) {
|
|
1998
2054
|
DiscriminatorValues["Video"] = "Video";
|
|
@@ -3273,7 +3329,7 @@ function validate$5(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
|
3273
3329
|
return v_error === undefined ? null : v_error;
|
|
3274
3330
|
}
|
|
3275
3331
|
|
|
3276
|
-
const VERSION$4 = "
|
|
3332
|
+
const VERSION$4 = "5498b678efe3f405bc661e7613e6872c";
|
|
3277
3333
|
function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
3278
3334
|
const v_error = (() => {
|
|
3279
3335
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
@@ -3290,7 +3346,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3290
3346
|
const key = obj_businessNeeds_keys[i];
|
|
3291
3347
|
const obj_businessNeeds_prop = obj_businessNeeds[key];
|
|
3292
3348
|
const path_businessNeeds_prop = path_businessNeeds + '["' + key + '"]';
|
|
3293
|
-
const referencepath_businessNeeds_propValidationError = validate$
|
|
3349
|
+
const referencepath_businessNeeds_propValidationError = validate$C(obj_businessNeeds_prop, path_businessNeeds_prop);
|
|
3294
3350
|
if (referencepath_businessNeeds_propValidationError !== null) {
|
|
3295
3351
|
let message = 'Object doesn\'t match AppExchangeListingCategoriesRepresentation (at "' + path_businessNeeds_prop + '")\n';
|
|
3296
3352
|
message += referencepath_businessNeeds_propValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3315,7 +3371,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3315
3371
|
if (obj.extensions !== undefined) {
|
|
3316
3372
|
const obj_extensions = obj.extensions;
|
|
3317
3373
|
const path_extensions = path + '.extensions';
|
|
3318
|
-
const referencepath_extensionsValidationError = validate$
|
|
3374
|
+
const referencepath_extensionsValidationError = validate$w(obj_extensions, path_extensions);
|
|
3319
3375
|
if (referencepath_extensionsValidationError !== null) {
|
|
3320
3376
|
let message = 'Object doesn\'t match AppExchangeListingExtensionsRepresentation (at "' + path_extensions + '")\n';
|
|
3321
3377
|
message += referencepath_extensionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3336,6 +3392,16 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3336
3392
|
return new TypeError('Expected "boolean" but received "' + typeof obj_installPackagingPermission + '" (at "' + path_installPackagingPermission + '")');
|
|
3337
3393
|
}
|
|
3338
3394
|
}
|
|
3395
|
+
if (obj.installedPackage !== undefined) {
|
|
3396
|
+
const obj_installedPackage = obj.installedPackage;
|
|
3397
|
+
const path_installedPackage = path + '.installedPackage';
|
|
3398
|
+
const referencepath_installedPackageValidationError = validate$u(obj_installedPackage, path_installedPackage);
|
|
3399
|
+
if (referencepath_installedPackageValidationError !== null) {
|
|
3400
|
+
let message = 'Object doesn\'t match AppExchangeInstalledPackageRepresentation (at "' + path_installedPackage + '")\n';
|
|
3401
|
+
message += referencepath_installedPackageValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3402
|
+
return new TypeError(message);
|
|
3403
|
+
}
|
|
3404
|
+
}
|
|
3339
3405
|
if (obj.isDeleted !== undefined) {
|
|
3340
3406
|
const obj_isDeleted = obj.isDeleted;
|
|
3341
3407
|
const path_isDeleted = path + '.isDeleted';
|
|
@@ -4565,4 +4631,4 @@ withDefaultLuvio((luvio) => {
|
|
|
4565
4631
|
});
|
|
4566
4632
|
|
|
4567
4633
|
export { getListingDetails, getListingDetails_imperative, postAppExchangeUserEvents, searchListings };
|
|
4568
|
-
// version: 1.332.0-
|
|
4634
|
+
// version: 1.332.0-dev25-cf098333d5
|
package/src/raml/api.raml
CHANGED
|
@@ -1437,6 +1437,34 @@ types:
|
|
|
1437
1437
|
userLimitations:
|
|
1438
1438
|
description: What are the user limitations for this product
|
|
1439
1439
|
type: string
|
|
1440
|
+
AppExchangeInstalledPackageRepresentation:
|
|
1441
|
+
description: Represents an AppExchange Installed Package details
|
|
1442
|
+
type: object
|
|
1443
|
+
properties:
|
|
1444
|
+
version:
|
|
1445
|
+
description: version details of the installed package
|
|
1446
|
+
type: AppExchangeInstalledPackageVersionRepresentation
|
|
1447
|
+
required: false #Hand-rolled
|
|
1448
|
+
AppExchangeInstalledPackageVersionRepresentation:
|
|
1449
|
+
description: Represents an AppExchange Installed Package details
|
|
1450
|
+
type: object
|
|
1451
|
+
properties:
|
|
1452
|
+
majorVersion:
|
|
1453
|
+
description: majorVersion of the installed package
|
|
1454
|
+
type: integer
|
|
1455
|
+
required: false #Hand-rolled
|
|
1456
|
+
minorVersion:
|
|
1457
|
+
description: minorVersion of the installed package
|
|
1458
|
+
type: integer
|
|
1459
|
+
required: false #Hand-rolled
|
|
1460
|
+
patchVersion:
|
|
1461
|
+
description: patchVersion of the installed package
|
|
1462
|
+
type: integer
|
|
1463
|
+
required: false #Hand-rolled
|
|
1464
|
+
versionName:
|
|
1465
|
+
description: versionName of the installed package
|
|
1466
|
+
type: string
|
|
1467
|
+
required: false #Hand-rolled
|
|
1440
1468
|
AppExchangeLeadTrialInformationPluginRepresentation:
|
|
1441
1469
|
description: Represents an AppExchange leadTrialInformation plugin
|
|
1442
1470
|
type: object
|
|
@@ -1532,6 +1560,10 @@ types:
|
|
|
1532
1560
|
description: installPackagingPermission - Permission to install AppExchange listing packages
|
|
1533
1561
|
type: boolean
|
|
1534
1562
|
required: false #Hand-rolled
|
|
1563
|
+
installedPackage:
|
|
1564
|
+
description: installed Package details of AppExchange listing
|
|
1565
|
+
type: AppExchangeInstalledPackageRepresentation
|
|
1566
|
+
required: false #Hand-rolled
|
|
1535
1567
|
isDeleted:
|
|
1536
1568
|
description: Soft delete flag of AppExchange listing
|
|
1537
1569
|
type: boolean
|