@salesforce/lds-adapters-platform-appexchange 1.362.0 → 1.364.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.
- package/dist/es/es2018/platform-appexchange.js +294 -76
- 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/AppExchangeListingAdditionalProps.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/AppExchangeListingDetailsRepresentation.d.ts +5 -1
- package/dist/es/es2018/types/src/generated/types/AppExchangeSearchListingRepresentation.d.ts +5 -1
- package/package.json +3 -3
- package/sfdc/index.js +305 -87
- package/src/raml/api.raml +57 -1
|
@@ -93,7 +93,7 @@ function createLink(ref) {
|
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
function validate$
|
|
96
|
+
function validate$D(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$C(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$B(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$A(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$z(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$y(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$x(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$C(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$B(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$A(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$z(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$y(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,12 +1983,68 @@ function validate$u(obj, path = 'AppExchangeListingExtensionsRepresentation') {
|
|
|
1983
1983
|
return v_error === undefined ? null : v_error;
|
|
1984
1984
|
}
|
|
1985
1985
|
|
|
1986
|
+
function validate$w(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$v(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$w(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";
|
|
1989
2045
|
DiscriminatorValues["Image"] = "Image";
|
|
1990
2046
|
})(DiscriminatorValues$3 || (DiscriminatorValues$3 = {}));
|
|
1991
|
-
function validate$
|
|
2047
|
+
function validate$u(obj, path = 'AppExchangeCarouselItemDataRepresentation') {
|
|
1992
2048
|
const v_error = (() => {
|
|
1993
2049
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1994
2050
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2004,7 +2060,7 @@ function validate$t(obj, path = 'AppExchangeCarouselItemDataRepresentation') {
|
|
|
2004
2060
|
return v_error === undefined ? null : v_error;
|
|
2005
2061
|
}
|
|
2006
2062
|
|
|
2007
|
-
function validate$
|
|
2063
|
+
function validate$t(obj, path = 'AppExchangeCarouselItemRepresentation') {
|
|
2008
2064
|
const v_error = (() => {
|
|
2009
2065
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2010
2066
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2012,7 +2068,7 @@ function validate$s(obj, path = 'AppExchangeCarouselItemRepresentation') {
|
|
|
2012
2068
|
if (obj.data !== undefined) {
|
|
2013
2069
|
const obj_data = obj.data;
|
|
2014
2070
|
const path_data = path + '.data';
|
|
2015
|
-
const referencepath_dataValidationError = validate$
|
|
2071
|
+
const referencepath_dataValidationError = validate$u(obj_data, path_data);
|
|
2016
2072
|
if (referencepath_dataValidationError !== null) {
|
|
2017
2073
|
let message = 'Object doesn\'t match AppExchangeCarouselItemDataRepresentation (at "' + path_data + '")\n';
|
|
2018
2074
|
message += referencepath_dataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2037,7 +2093,7 @@ function validate$s(obj, path = 'AppExchangeCarouselItemRepresentation') {
|
|
|
2037
2093
|
return v_error === undefined ? null : v_error;
|
|
2038
2094
|
}
|
|
2039
2095
|
|
|
2040
|
-
function validate$
|
|
2096
|
+
function validate$s(obj, path = 'AppExchangeCarouselPluginRepresentation') {
|
|
2041
2097
|
const v_error = (() => {
|
|
2042
2098
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2043
2099
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2051,7 +2107,7 @@ function validate$r(obj, path = 'AppExchangeCarouselPluginRepresentation') {
|
|
|
2051
2107
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2052
2108
|
const obj_items_item = obj_items[i];
|
|
2053
2109
|
const path_items_item = path_items + '[' + i + ']';
|
|
2054
|
-
const referencepath_items_itemValidationError = validate$
|
|
2110
|
+
const referencepath_items_itemValidationError = validate$t(obj_items_item, path_items_item);
|
|
2055
2111
|
if (referencepath_items_itemValidationError !== null) {
|
|
2056
2112
|
let message = 'Object doesn\'t match AppExchangeCarouselItemRepresentation (at "' + path_items_item + '")\n';
|
|
2057
2113
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2068,7 +2124,7 @@ var DiscriminatorValues$2;
|
|
|
2068
2124
|
DiscriminatorValues["Url"] = "Url";
|
|
2069
2125
|
DiscriminatorValues["File"] = "File";
|
|
2070
2126
|
})(DiscriminatorValues$2 || (DiscriminatorValues$2 = {}));
|
|
2071
|
-
function validate$
|
|
2127
|
+
function validate$r(obj, path = 'AppExchangeContentItemDataRepresentation') {
|
|
2072
2128
|
const v_error = (() => {
|
|
2073
2129
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2074
2130
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2084,7 +2140,7 @@ function validate$q(obj, path = 'AppExchangeContentItemDataRepresentation') {
|
|
|
2084
2140
|
return v_error === undefined ? null : v_error;
|
|
2085
2141
|
}
|
|
2086
2142
|
|
|
2087
|
-
function validate$
|
|
2143
|
+
function validate$q(obj, path = 'AppExchangeContentItemRepresentation') {
|
|
2088
2144
|
const v_error = (() => {
|
|
2089
2145
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2090
2146
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2092,7 +2148,7 @@ function validate$p(obj, path = 'AppExchangeContentItemRepresentation') {
|
|
|
2092
2148
|
if (obj.data !== undefined) {
|
|
2093
2149
|
const obj_data = obj.data;
|
|
2094
2150
|
const path_data = path + '.data';
|
|
2095
|
-
const referencepath_dataValidationError = validate$
|
|
2151
|
+
const referencepath_dataValidationError = validate$r(obj_data, path_data);
|
|
2096
2152
|
if (referencepath_dataValidationError !== null) {
|
|
2097
2153
|
let message = 'Object doesn\'t match AppExchangeContentItemDataRepresentation (at "' + path_data + '")\n';
|
|
2098
2154
|
message += referencepath_dataValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2117,7 +2173,7 @@ function validate$p(obj, path = 'AppExchangeContentItemRepresentation') {
|
|
|
2117
2173
|
return v_error === undefined ? null : v_error;
|
|
2118
2174
|
}
|
|
2119
2175
|
|
|
2120
|
-
function validate$
|
|
2176
|
+
function validate$p(obj, path = 'AppExchangeContentPluginRepresentation') {
|
|
2121
2177
|
const v_error = (() => {
|
|
2122
2178
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2123
2179
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2131,7 +2187,7 @@ function validate$o(obj, path = 'AppExchangeContentPluginRepresentation') {
|
|
|
2131
2187
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2132
2188
|
const obj_items_item = obj_items[i];
|
|
2133
2189
|
const path_items_item = path_items + '[' + i + ']';
|
|
2134
|
-
const referencepath_items_itemValidationError = validate$
|
|
2190
|
+
const referencepath_items_itemValidationError = validate$q(obj_items_item, path_items_item);
|
|
2135
2191
|
if (referencepath_items_itemValidationError !== null) {
|
|
2136
2192
|
let message = 'Object doesn\'t match AppExchangeContentItemRepresentation (at "' + path_items_item + '")\n';
|
|
2137
2193
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2143,7 +2199,7 @@ function validate$o(obj, path = 'AppExchangeContentPluginRepresentation') {
|
|
|
2143
2199
|
return v_error === undefined ? null : v_error;
|
|
2144
2200
|
}
|
|
2145
2201
|
|
|
2146
|
-
function validate$
|
|
2202
|
+
function validate$o(obj, path = 'AppExchangeDemoVideoRepresentation') {
|
|
2147
2203
|
const v_error = (() => {
|
|
2148
2204
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2149
2205
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2194,7 +2250,7 @@ function validate$n(obj, path = 'AppExchangeDemoVideoRepresentation') {
|
|
|
2194
2250
|
return v_error === undefined ? null : v_error;
|
|
2195
2251
|
}
|
|
2196
2252
|
|
|
2197
|
-
function validate$
|
|
2253
|
+
function validate$n(obj, path = 'AppExchangeDemoPluginRepresentation') {
|
|
2198
2254
|
const v_error = (() => {
|
|
2199
2255
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2200
2256
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2208,7 +2264,7 @@ function validate$m(obj, path = 'AppExchangeDemoPluginRepresentation') {
|
|
|
2208
2264
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2209
2265
|
const obj_items_item = obj_items[i];
|
|
2210
2266
|
const path_items_item = path_items + '[' + i + ']';
|
|
2211
|
-
const referencepath_items_itemValidationError = validate$
|
|
2267
|
+
const referencepath_items_itemValidationError = validate$o(obj_items_item, path_items_item);
|
|
2212
2268
|
if (referencepath_items_itemValidationError !== null) {
|
|
2213
2269
|
let message = 'Object doesn\'t match AppExchangeDemoVideoRepresentation (at "' + path_items_item + '")\n';
|
|
2214
2270
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2220,7 +2276,7 @@ function validate$m(obj, path = 'AppExchangeDemoPluginRepresentation') {
|
|
|
2220
2276
|
return v_error === undefined ? null : v_error;
|
|
2221
2277
|
}
|
|
2222
2278
|
|
|
2223
|
-
function validate$
|
|
2279
|
+
function validate$m(obj, path = 'AppExchangeLeadTrialInformationPluginRepresentation') {
|
|
2224
2280
|
const v_error = (() => {
|
|
2225
2281
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2226
2282
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2306,7 +2362,7 @@ function validate$l(obj, path = 'AppExchangeLeadTrialInformationPluginRepresenta
|
|
|
2306
2362
|
return v_error === undefined ? null : v_error;
|
|
2307
2363
|
}
|
|
2308
2364
|
|
|
2309
|
-
function validate$
|
|
2365
|
+
function validate$l(obj, path = 'AppExchangeLogoSetItemRepresentation') {
|
|
2310
2366
|
const v_error = (() => {
|
|
2311
2367
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2312
2368
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2336,7 +2392,7 @@ function validate$k(obj, path = 'AppExchangeLogoSetItemRepresentation') {
|
|
|
2336
2392
|
return v_error === undefined ? null : v_error;
|
|
2337
2393
|
}
|
|
2338
2394
|
|
|
2339
|
-
function validate$
|
|
2395
|
+
function validate$k(obj, path = 'AppExchangeLogoSetPluginRepresentation') {
|
|
2340
2396
|
const v_error = (() => {
|
|
2341
2397
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2342
2398
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2350,7 +2406,7 @@ function validate$j(obj, path = 'AppExchangeLogoSetPluginRepresentation') {
|
|
|
2350
2406
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2351
2407
|
const obj_items_item = obj_items[i];
|
|
2352
2408
|
const path_items_item = path_items + '[' + i + ']';
|
|
2353
|
-
const referencepath_items_itemValidationError = validate$
|
|
2409
|
+
const referencepath_items_itemValidationError = validate$l(obj_items_item, path_items_item);
|
|
2354
2410
|
if (referencepath_items_itemValidationError !== null) {
|
|
2355
2411
|
let message = 'Object doesn\'t match AppExchangeLogoSetItemRepresentation (at "' + path_items_item + '")\n';
|
|
2356
2412
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2362,7 +2418,7 @@ function validate$j(obj, path = 'AppExchangeLogoSetPluginRepresentation') {
|
|
|
2362
2418
|
return v_error === undefined ? null : v_error;
|
|
2363
2419
|
}
|
|
2364
2420
|
|
|
2365
|
-
function validate$
|
|
2421
|
+
function validate$j(obj, path = 'AppExchangeSupportInformationPluginRepresentation') {
|
|
2366
2422
|
const v_error = (() => {
|
|
2367
2423
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2368
2424
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2483,7 +2539,7 @@ function validate$i(obj, path = 'AppExchangeSupportInformationPluginRepresentati
|
|
|
2483
2539
|
return v_error === undefined ? null : v_error;
|
|
2484
2540
|
}
|
|
2485
2541
|
|
|
2486
|
-
function validate$
|
|
2542
|
+
function validate$i(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
2487
2543
|
const v_error = (() => {
|
|
2488
2544
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2489
2545
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2491,7 +2547,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2491
2547
|
if (obj.listing_plugins_Carousel !== undefined) {
|
|
2492
2548
|
const obj_listing_plugins_Carousel = obj.listing_plugins_Carousel;
|
|
2493
2549
|
const path_listing_plugins_Carousel = path + '.listing_plugins_Carousel';
|
|
2494
|
-
const referencepath_listing_plugins_CarouselValidationError = validate$
|
|
2550
|
+
const referencepath_listing_plugins_CarouselValidationError = validate$s(obj_listing_plugins_Carousel, path_listing_plugins_Carousel);
|
|
2495
2551
|
if (referencepath_listing_plugins_CarouselValidationError !== null) {
|
|
2496
2552
|
let message = 'Object doesn\'t match AppExchangeCarouselPluginRepresentation (at "' + path_listing_plugins_Carousel + '")\n';
|
|
2497
2553
|
message += referencepath_listing_plugins_CarouselValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2501,7 +2557,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2501
2557
|
if (obj.listing_plugins_Content !== undefined) {
|
|
2502
2558
|
const obj_listing_plugins_Content = obj.listing_plugins_Content;
|
|
2503
2559
|
const path_listing_plugins_Content = path + '.listing_plugins_Content';
|
|
2504
|
-
const referencepath_listing_plugins_ContentValidationError = validate$
|
|
2560
|
+
const referencepath_listing_plugins_ContentValidationError = validate$p(obj_listing_plugins_Content, path_listing_plugins_Content);
|
|
2505
2561
|
if (referencepath_listing_plugins_ContentValidationError !== null) {
|
|
2506
2562
|
let message = 'Object doesn\'t match AppExchangeContentPluginRepresentation (at "' + path_listing_plugins_Content + '")\n';
|
|
2507
2563
|
message += referencepath_listing_plugins_ContentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2511,7 +2567,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2511
2567
|
if (obj.listing_plugins_Demo !== undefined) {
|
|
2512
2568
|
const obj_listing_plugins_Demo = obj.listing_plugins_Demo;
|
|
2513
2569
|
const path_listing_plugins_Demo = path + '.listing_plugins_Demo';
|
|
2514
|
-
const referencepath_listing_plugins_DemoValidationError = validate$
|
|
2570
|
+
const referencepath_listing_plugins_DemoValidationError = validate$n(obj_listing_plugins_Demo, path_listing_plugins_Demo);
|
|
2515
2571
|
if (referencepath_listing_plugins_DemoValidationError !== null) {
|
|
2516
2572
|
let message = 'Object doesn\'t match AppExchangeDemoPluginRepresentation (at "' + path_listing_plugins_Demo + '")\n';
|
|
2517
2573
|
message += referencepath_listing_plugins_DemoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2521,7 +2577,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2521
2577
|
if (obj.listing_plugins_LeadTrialInformation !== undefined) {
|
|
2522
2578
|
const obj_listing_plugins_LeadTrialInformation = obj.listing_plugins_LeadTrialInformation;
|
|
2523
2579
|
const path_listing_plugins_LeadTrialInformation = path + '.listing_plugins_LeadTrialInformation';
|
|
2524
|
-
const referencepath_listing_plugins_LeadTrialInformationValidationError = validate$
|
|
2580
|
+
const referencepath_listing_plugins_LeadTrialInformationValidationError = validate$m(obj_listing_plugins_LeadTrialInformation, path_listing_plugins_LeadTrialInformation);
|
|
2525
2581
|
if (referencepath_listing_plugins_LeadTrialInformationValidationError !== null) {
|
|
2526
2582
|
let message = 'Object doesn\'t match AppExchangeLeadTrialInformationPluginRepresentation (at "' + path_listing_plugins_LeadTrialInformation + '")\n';
|
|
2527
2583
|
message += referencepath_listing_plugins_LeadTrialInformationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2531,7 +2587,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2531
2587
|
if (obj.listing_plugins_LogoSet !== undefined) {
|
|
2532
2588
|
const obj_listing_plugins_LogoSet = obj.listing_plugins_LogoSet;
|
|
2533
2589
|
const path_listing_plugins_LogoSet = path + '.listing_plugins_LogoSet';
|
|
2534
|
-
const referencepath_listing_plugins_LogoSetValidationError = validate$
|
|
2590
|
+
const referencepath_listing_plugins_LogoSetValidationError = validate$k(obj_listing_plugins_LogoSet, path_listing_plugins_LogoSet);
|
|
2535
2591
|
if (referencepath_listing_plugins_LogoSetValidationError !== null) {
|
|
2536
2592
|
let message = 'Object doesn\'t match AppExchangeLogoSetPluginRepresentation (at "' + path_listing_plugins_LogoSet + '")\n';
|
|
2537
2593
|
message += referencepath_listing_plugins_LogoSetValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2541,7 +2597,7 @@ function validate$h(obj, path = 'AppExchangeListingPluginsRepresentation') {
|
|
|
2541
2597
|
if (obj.listing_plugins_SupportInformation !== undefined) {
|
|
2542
2598
|
const obj_listing_plugins_SupportInformation = obj.listing_plugins_SupportInformation;
|
|
2543
2599
|
const path_listing_plugins_SupportInformation = path + '.listing_plugins_SupportInformation';
|
|
2544
|
-
const referencepath_listing_plugins_SupportInformationValidationError = validate$
|
|
2600
|
+
const referencepath_listing_plugins_SupportInformationValidationError = validate$j(obj_listing_plugins_SupportInformation, path_listing_plugins_SupportInformation);
|
|
2545
2601
|
if (referencepath_listing_plugins_SupportInformationValidationError !== null) {
|
|
2546
2602
|
let message = 'Object doesn\'t match AppExchangeSupportInformationPluginRepresentation (at "' + path_listing_plugins_SupportInformation + '")\n';
|
|
2547
2603
|
message += referencepath_listing_plugins_SupportInformationValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2559,7 +2615,7 @@ var DiscriminatorValues$1;
|
|
|
2559
2615
|
DiscriminatorValues["free_to_install"] = "free_to_install";
|
|
2560
2616
|
DiscriminatorValues["free"] = "free";
|
|
2561
2617
|
})(DiscriminatorValues$1 || (DiscriminatorValues$1 = {}));
|
|
2562
|
-
function validate$
|
|
2618
|
+
function validate$h(obj, path = 'AppExchangePricingModelRepresentation') {
|
|
2563
2619
|
const v_error = (() => {
|
|
2564
2620
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2565
2621
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2575,7 +2631,7 @@ function validate$g(obj, path = 'AppExchangePricingModelRepresentation') {
|
|
|
2575
2631
|
return v_error === undefined ? null : v_error;
|
|
2576
2632
|
}
|
|
2577
2633
|
|
|
2578
|
-
function validate$
|
|
2634
|
+
function validate$g(obj, path = 'AppExchangePricingRepresentation') {
|
|
2579
2635
|
const v_error = (() => {
|
|
2580
2636
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2581
2637
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2639,7 +2695,7 @@ function validate$f(obj, path = 'AppExchangePricingRepresentation') {
|
|
|
2639
2695
|
if (obj.model !== undefined) {
|
|
2640
2696
|
const obj_model = obj.model;
|
|
2641
2697
|
const path_model = path + '.model';
|
|
2642
|
-
const referencepath_modelValidationError = validate$
|
|
2698
|
+
const referencepath_modelValidationError = validate$h(obj_model, path_model);
|
|
2643
2699
|
if (referencepath_modelValidationError !== null) {
|
|
2644
2700
|
let message = 'Object doesn\'t match AppExchangePricingModelRepresentation (at "' + path_model + '")\n';
|
|
2645
2701
|
message += referencepath_modelValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2685,7 +2741,7 @@ function validate$f(obj, path = 'AppExchangePricingRepresentation') {
|
|
|
2685
2741
|
return v_error === undefined ? null : v_error;
|
|
2686
2742
|
}
|
|
2687
2743
|
|
|
2688
|
-
function validate$
|
|
2744
|
+
function validate$f(obj, path = 'AppExchangeForcePublisherExtensionRepresentation') {
|
|
2689
2745
|
const v_error = (() => {
|
|
2690
2746
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2691
2747
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2830,7 +2886,7 @@ function validate$e(obj, path = 'AppExchangeForcePublisherExtensionRepresentatio
|
|
|
2830
2886
|
return v_error === undefined ? null : v_error;
|
|
2831
2887
|
}
|
|
2832
2888
|
|
|
2833
|
-
function validate$
|
|
2889
|
+
function validate$e(obj, path = 'AppExchangePublisherExtensionsRepresentation') {
|
|
2834
2890
|
const v_error = (() => {
|
|
2835
2891
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2836
2892
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2838,7 +2894,7 @@ function validate$d(obj, path = 'AppExchangePublisherExtensionsRepresentation')
|
|
|
2838
2894
|
if (obj.publisher_extensions_force_Publisher !== undefined) {
|
|
2839
2895
|
const obj_publisher_extensions_force_Publisher = obj.publisher_extensions_force_Publisher;
|
|
2840
2896
|
const path_publisher_extensions_force_Publisher = path + '.publisher_extensions_force_Publisher';
|
|
2841
|
-
const referencepath_publisher_extensions_force_PublisherValidationError = validate$
|
|
2897
|
+
const referencepath_publisher_extensions_force_PublisherValidationError = validate$f(obj_publisher_extensions_force_Publisher, path_publisher_extensions_force_Publisher);
|
|
2842
2898
|
if (referencepath_publisher_extensions_force_PublisherValidationError !== null) {
|
|
2843
2899
|
let message = 'Object doesn\'t match AppExchangeForcePublisherExtensionRepresentation (at "' + path_publisher_extensions_force_Publisher + '")\n';
|
|
2844
2900
|
message += referencepath_publisher_extensions_force_PublisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2849,7 +2905,7 @@ function validate$d(obj, path = 'AppExchangePublisherExtensionsRepresentation')
|
|
|
2849
2905
|
return v_error === undefined ? null : v_error;
|
|
2850
2906
|
}
|
|
2851
2907
|
|
|
2852
|
-
function validate$
|
|
2908
|
+
function validate$d(obj, path = 'AppExchangePublisherLogoItemRepresentation') {
|
|
2853
2909
|
const v_error = (() => {
|
|
2854
2910
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2855
2911
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2879,7 +2935,7 @@ function validate$c(obj, path = 'AppExchangePublisherLogoItemRepresentation') {
|
|
|
2879
2935
|
return v_error === undefined ? null : v_error;
|
|
2880
2936
|
}
|
|
2881
2937
|
|
|
2882
|
-
function validate$
|
|
2938
|
+
function validate$c(obj, path = 'AppExchangePublisherLogoRepresentation') {
|
|
2883
2939
|
const v_error = (() => {
|
|
2884
2940
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2885
2941
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2893,7 +2949,7 @@ function validate$b(obj, path = 'AppExchangePublisherLogoRepresentation') {
|
|
|
2893
2949
|
for (let i = 0; i < obj_items.length; i++) {
|
|
2894
2950
|
const obj_items_item = obj_items[i];
|
|
2895
2951
|
const path_items_item = path_items + '[' + i + ']';
|
|
2896
|
-
const referencepath_items_itemValidationError = validate$
|
|
2952
|
+
const referencepath_items_itemValidationError = validate$d(obj_items_item, path_items_item);
|
|
2897
2953
|
if (referencepath_items_itemValidationError !== null) {
|
|
2898
2954
|
let message = 'Object doesn\'t match AppExchangePublisherLogoItemRepresentation (at "' + path_items_item + '")\n';
|
|
2899
2955
|
message += referencepath_items_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2905,7 +2961,7 @@ function validate$b(obj, path = 'AppExchangePublisherLogoRepresentation') {
|
|
|
2905
2961
|
return v_error === undefined ? null : v_error;
|
|
2906
2962
|
}
|
|
2907
2963
|
|
|
2908
|
-
function validate$
|
|
2964
|
+
function validate$b(obj, path = 'AppExchangePublisherPluginsRepresentation') {
|
|
2909
2965
|
const v_error = (() => {
|
|
2910
2966
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2911
2967
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2913,7 +2969,7 @@ function validate$a(obj, path = 'AppExchangePublisherPluginsRepresentation') {
|
|
|
2913
2969
|
if (obj.publisher_plugins_PublisherLogo !== undefined) {
|
|
2914
2970
|
const obj_publisher_plugins_PublisherLogo = obj.publisher_plugins_PublisherLogo;
|
|
2915
2971
|
const path_publisher_plugins_PublisherLogo = path + '.publisher_plugins_PublisherLogo';
|
|
2916
|
-
const referencepath_publisher_plugins_PublisherLogoValidationError = validate$
|
|
2972
|
+
const referencepath_publisher_plugins_PublisherLogoValidationError = validate$c(obj_publisher_plugins_PublisherLogo, path_publisher_plugins_PublisherLogo);
|
|
2917
2973
|
if (referencepath_publisher_plugins_PublisherLogoValidationError !== null) {
|
|
2918
2974
|
let message = 'Object doesn\'t match AppExchangePublisherLogoRepresentation (at "' + path_publisher_plugins_PublisherLogo + '")\n';
|
|
2919
2975
|
message += referencepath_publisher_plugins_PublisherLogoValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2924,7 +2980,7 @@ function validate$a(obj, path = 'AppExchangePublisherPluginsRepresentation') {
|
|
|
2924
2980
|
return v_error === undefined ? null : v_error;
|
|
2925
2981
|
}
|
|
2926
2982
|
|
|
2927
|
-
function validate$
|
|
2983
|
+
function validate$a(obj, path = 'AppExchangePublisherRepresentation') {
|
|
2928
2984
|
const v_error = (() => {
|
|
2929
2985
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2930
2986
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2981,7 +3037,7 @@ function validate$9(obj, path = 'AppExchangePublisherRepresentation') {
|
|
|
2981
3037
|
if (obj.extensions !== undefined) {
|
|
2982
3038
|
const obj_extensions = obj.extensions;
|
|
2983
3039
|
const path_extensions = path + '.extensions';
|
|
2984
|
-
const referencepath_extensionsValidationError = validate$
|
|
3040
|
+
const referencepath_extensionsValidationError = validate$e(obj_extensions, path_extensions);
|
|
2985
3041
|
if (referencepath_extensionsValidationError !== null) {
|
|
2986
3042
|
let message = 'Object doesn\'t match AppExchangePublisherExtensionsRepresentation (at "' + path_extensions + '")\n';
|
|
2987
3043
|
message += referencepath_extensionsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3040,7 +3096,7 @@ function validate$9(obj, path = 'AppExchangePublisherRepresentation') {
|
|
|
3040
3096
|
if (obj.plugins !== undefined) {
|
|
3041
3097
|
const obj_plugins = obj.plugins;
|
|
3042
3098
|
const path_plugins = path + '.plugins';
|
|
3043
|
-
const referencepath_pluginsValidationError = validate$
|
|
3099
|
+
const referencepath_pluginsValidationError = validate$b(obj_plugins, path_plugins);
|
|
3044
3100
|
if (referencepath_pluginsValidationError !== null) {
|
|
3045
3101
|
let message = 'Object doesn\'t match AppExchangePublisherPluginsRepresentation (at "' + path_plugins + '")\n';
|
|
3046
3102
|
message += referencepath_pluginsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3093,7 +3149,7 @@ function validate$9(obj, path = 'AppExchangePublisherRepresentation') {
|
|
|
3093
3149
|
return v_error === undefined ? null : v_error;
|
|
3094
3150
|
}
|
|
3095
3151
|
|
|
3096
|
-
function validate$
|
|
3152
|
+
function validate$9(obj, path = 'AppExchangeListingReviewsSummaryRepresentation') {
|
|
3097
3153
|
const v_error = (() => {
|
|
3098
3154
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3099
3155
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3133,7 +3189,7 @@ function validate$8(obj, path = 'AppExchangeListingReviewsSummaryRepresentation'
|
|
|
3133
3189
|
return v_error === undefined ? null : v_error;
|
|
3134
3190
|
}
|
|
3135
3191
|
|
|
3136
|
-
function validate$
|
|
3192
|
+
function validate$8(obj, path = 'AppExchangeListingSecurityReviewRepresentation') {
|
|
3137
3193
|
const v_error = (() => {
|
|
3138
3194
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3139
3195
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3162,7 +3218,7 @@ var DiscriminatorValues;
|
|
|
3162
3218
|
DiscriminatorValues["tableau_Accelerator"] = "tableau_Accelerator";
|
|
3163
3219
|
DiscriminatorValues["force_Api"] = "force_Api";
|
|
3164
3220
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
3165
|
-
function validate$
|
|
3221
|
+
function validate$7(obj, path = 'AppExchangeListingSolutionDetailRepresentation') {
|
|
3166
3222
|
const v_error = (() => {
|
|
3167
3223
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3168
3224
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3178,7 +3234,7 @@ function validate$6(obj, path = 'AppExchangeListingSolutionDetailRepresentation'
|
|
|
3178
3234
|
return v_error === undefined ? null : v_error;
|
|
3179
3235
|
}
|
|
3180
3236
|
|
|
3181
|
-
function validate$
|
|
3237
|
+
function validate$6(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
3182
3238
|
const v_error = (() => {
|
|
3183
3239
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3184
3240
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3221,7 +3277,7 @@ function validate$5(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
|
3221
3277
|
if (obj.securityReview !== undefined) {
|
|
3222
3278
|
const obj_securityReview = obj.securityReview;
|
|
3223
3279
|
const path_securityReview = path + '.securityReview';
|
|
3224
|
-
const referencepath_securityReviewValidationError = validate$
|
|
3280
|
+
const referencepath_securityReviewValidationError = validate$8(obj_securityReview, path_securityReview);
|
|
3225
3281
|
if (referencepath_securityReviewValidationError !== null) {
|
|
3226
3282
|
let message = 'Object doesn\'t match AppExchangeListingSecurityReviewRepresentation (at "' + path_securityReview + '")\n';
|
|
3227
3283
|
message += referencepath_securityReviewValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3231,7 +3287,7 @@ function validate$5(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
|
3231
3287
|
if (obj.solution !== undefined) {
|
|
3232
3288
|
const obj_solution = obj.solution;
|
|
3233
3289
|
const path_solution = path + '.solution';
|
|
3234
|
-
const referencepath_solutionValidationError = validate$
|
|
3290
|
+
const referencepath_solutionValidationError = validate$7(obj_solution, path_solution);
|
|
3235
3291
|
if (referencepath_solutionValidationError !== null) {
|
|
3236
3292
|
let message = 'Object doesn\'t match AppExchangeListingSolutionDetailRepresentation (at "' + path_solution + '")\n';
|
|
3237
3293
|
message += referencepath_solutionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3263,8 +3319,8 @@ function validate$5(obj, path = 'AppExchangeListingSolutionRepresentation') {
|
|
|
3263
3319
|
return v_error === undefined ? null : v_error;
|
|
3264
3320
|
}
|
|
3265
3321
|
|
|
3266
|
-
const VERSION$
|
|
3267
|
-
function validate$
|
|
3322
|
+
const VERSION$5 = "5498b678efe3f405bc661e7613e6872c";
|
|
3323
|
+
function validate$5(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
3268
3324
|
const v_error = (() => {
|
|
3269
3325
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3270
3326
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -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$D(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$x(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$v(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';
|
|
@@ -3378,7 +3444,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3378
3444
|
if (obj.plugins !== undefined) {
|
|
3379
3445
|
const obj_plugins = obj.plugins;
|
|
3380
3446
|
const path_plugins = path + '.plugins';
|
|
3381
|
-
const referencepath_pluginsValidationError = validate$
|
|
3447
|
+
const referencepath_pluginsValidationError = validate$i(obj_plugins, path_plugins);
|
|
3382
3448
|
if (referencepath_pluginsValidationError !== null) {
|
|
3383
3449
|
let message = 'Object doesn\'t match AppExchangeListingPluginsRepresentation (at "' + path_plugins + '")\n';
|
|
3384
3450
|
message += referencepath_pluginsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3388,7 +3454,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3388
3454
|
if (obj.pricing !== undefined) {
|
|
3389
3455
|
const obj_pricing = obj.pricing;
|
|
3390
3456
|
const path_pricing = path + '.pricing';
|
|
3391
|
-
const referencepath_pricingValidationError = validate$
|
|
3457
|
+
const referencepath_pricingValidationError = validate$g(obj_pricing, path_pricing);
|
|
3392
3458
|
if (referencepath_pricingValidationError !== null) {
|
|
3393
3459
|
let message = 'Object doesn\'t match AppExchangePricingRepresentation (at "' + path_pricing + '")\n';
|
|
3394
3460
|
message += referencepath_pricingValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3398,7 +3464,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3398
3464
|
if (obj.publisher !== undefined) {
|
|
3399
3465
|
const obj_publisher = obj.publisher;
|
|
3400
3466
|
const path_publisher = path + '.publisher';
|
|
3401
|
-
const referencepath_publisherValidationError = validate$
|
|
3467
|
+
const referencepath_publisherValidationError = validate$a(obj_publisher, path_publisher);
|
|
3402
3468
|
if (referencepath_publisherValidationError !== null) {
|
|
3403
3469
|
let message = 'Object doesn\'t match AppExchangePublisherRepresentation (at "' + path_publisher + '")\n';
|
|
3404
3470
|
message += referencepath_publisherValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3408,7 +3474,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3408
3474
|
if (obj.reviewsSummary !== undefined) {
|
|
3409
3475
|
const obj_reviewsSummary = obj.reviewsSummary;
|
|
3410
3476
|
const path_reviewsSummary = path + '.reviewsSummary';
|
|
3411
|
-
const referencepath_reviewsSummaryValidationError = validate$
|
|
3477
|
+
const referencepath_reviewsSummaryValidationError = validate$9(obj_reviewsSummary, path_reviewsSummary);
|
|
3412
3478
|
if (referencepath_reviewsSummaryValidationError !== null) {
|
|
3413
3479
|
let message = 'Object doesn\'t match AppExchangeListingReviewsSummaryRepresentation (at "' + path_reviewsSummary + '")\n';
|
|
3414
3480
|
message += referencepath_reviewsSummaryValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3425,7 +3491,7 @@ function validate$4(obj, path = 'AppExchangeListingDetailsRepresentation') {
|
|
|
3425
3491
|
if (obj.solution !== undefined) {
|
|
3426
3492
|
const obj_solution = obj.solution;
|
|
3427
3493
|
const path_solution = path + '.solution';
|
|
3428
|
-
const referencepath_solutionValidationError = validate$
|
|
3494
|
+
const referencepath_solutionValidationError = validate$6(obj_solution, path_solution);
|
|
3429
3495
|
if (referencepath_solutionValidationError !== null) {
|
|
3430
3496
|
let message = 'Object doesn\'t match AppExchangeListingSolutionRepresentation (at "' + path_solution + '")\n';
|
|
3431
3497
|
message += referencepath_solutionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3467,15 +3533,15 @@ const RepresentationType$2 = 'AppExchangeListingDetailsRepresentation';
|
|
|
3467
3533
|
function normalize$2(input, existing, path, luvio, store, timestamp) {
|
|
3468
3534
|
return input;
|
|
3469
3535
|
}
|
|
3470
|
-
const select$
|
|
3536
|
+
const select$8 = function AppExchangeListingDetailsRepresentationSelect() {
|
|
3471
3537
|
return {
|
|
3472
3538
|
kind: 'Fragment',
|
|
3473
|
-
version: VERSION$
|
|
3539
|
+
version: VERSION$5,
|
|
3474
3540
|
private: [],
|
|
3475
3541
|
opaque: true
|
|
3476
3542
|
};
|
|
3477
3543
|
};
|
|
3478
|
-
function equals$
|
|
3544
|
+
function equals$5(existing, incoming) {
|
|
3479
3545
|
if (JSONStringify(incoming) !== JSONStringify(existing)) {
|
|
3480
3546
|
return false;
|
|
3481
3547
|
}
|
|
@@ -3483,14 +3549,14 @@ function equals$4(existing, incoming) {
|
|
|
3483
3549
|
}
|
|
3484
3550
|
const ingest$2 = function AppExchangeListingDetailsRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3485
3551
|
if (process.env.NODE_ENV !== 'production') {
|
|
3486
|
-
const validateError = validate$
|
|
3552
|
+
const validateError = validate$5(input);
|
|
3487
3553
|
if (validateError !== null) {
|
|
3488
3554
|
throw validateError;
|
|
3489
3555
|
}
|
|
3490
3556
|
}
|
|
3491
3557
|
const key = path.fullPath;
|
|
3492
3558
|
const ttlToUse = path.ttl !== undefined ? path.ttl : 3000;
|
|
3493
|
-
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "appexchange", VERSION$
|
|
3559
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "appexchange", VERSION$5, RepresentationType$2, equals$5);
|
|
3494
3560
|
return createLink(key);
|
|
3495
3561
|
};
|
|
3496
3562
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -3503,8 +3569,8 @@ function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
|
3503
3569
|
});
|
|
3504
3570
|
}
|
|
3505
3571
|
|
|
3506
|
-
function select$
|
|
3507
|
-
return select$
|
|
3572
|
+
function select$7(luvio, params) {
|
|
3573
|
+
return select$8();
|
|
3508
3574
|
}
|
|
3509
3575
|
function keyBuilder$3(luvio, params) {
|
|
3510
3576
|
return keyPrefix + '::AppExchangeListingDetailsRepresentation:(' + 'includeRelated:' + params.queryParams.includeRelated + ',' + 'listingId:' + params.urlParams.listingId + ')';
|
|
@@ -3518,7 +3584,7 @@ function ingestSuccess$2(luvio, resourceParams, response, snapshotRefresh) {
|
|
|
3518
3584
|
luvio.storeIngest(key, ingest$2, body);
|
|
3519
3585
|
const snapshot = luvio.storeLookup({
|
|
3520
3586
|
recordId: key,
|
|
3521
|
-
node: select$
|
|
3587
|
+
node: select$7(),
|
|
3522
3588
|
variables: {},
|
|
3523
3589
|
}, snapshotRefresh);
|
|
3524
3590
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -3580,7 +3646,7 @@ function validateAdapterConfig$2(untrustedConfig, configPropertyNames) {
|
|
|
3580
3646
|
}
|
|
3581
3647
|
function adapterFragment(luvio, config) {
|
|
3582
3648
|
createResourceParams$2(config);
|
|
3583
|
-
return select$
|
|
3649
|
+
return select$7();
|
|
3584
3650
|
}
|
|
3585
3651
|
function onFetchResponseSuccess(luvio, config, resourceParams, response) {
|
|
3586
3652
|
const snapshot = ingestSuccess$2(luvio, resourceParams, response, {
|
|
@@ -3636,6 +3702,128 @@ const getListingDetailsAdapterFactory = (luvio) => function appexchange__getList
|
|
|
3636
3702
|
buildCachedSnapshotCachePolicy, buildNetworkSnapshotCachePolicy);
|
|
3637
3703
|
};
|
|
3638
3704
|
|
|
3705
|
+
const VERSION$4 = "665189e35b20e3cede6989c78faad07f";
|
|
3706
|
+
function validate$4(obj, path = 'AppExchangeListingAdditionalProps') {
|
|
3707
|
+
const v_error = (() => {
|
|
3708
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3709
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3710
|
+
}
|
|
3711
|
+
if (obj.actionCount !== undefined) {
|
|
3712
|
+
const obj_actionCount = obj.actionCount;
|
|
3713
|
+
const path_actionCount = path + '.actionCount';
|
|
3714
|
+
if (typeof obj_actionCount !== 'number' || (typeof obj_actionCount === 'number' && Math.floor(obj_actionCount) !== obj_actionCount)) {
|
|
3715
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_actionCount + '" (at "' + path_actionCount + '")');
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
if (obj.agentCount !== undefined) {
|
|
3719
|
+
const obj_agentCount = obj.agentCount;
|
|
3720
|
+
const path_agentCount = path + '.agentCount';
|
|
3721
|
+
if (typeof obj_agentCount !== 'number' || (typeof obj_agentCount === 'number' && Math.floor(obj_agentCount) !== obj_agentCount)) {
|
|
3722
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_agentCount + '" (at "' + path_agentCount + '")');
|
|
3723
|
+
}
|
|
3724
|
+
}
|
|
3725
|
+
if (obj.agentDescription !== undefined) {
|
|
3726
|
+
const obj_agentDescription = obj.agentDescription;
|
|
3727
|
+
const path_agentDescription = path + '.agentDescription';
|
|
3728
|
+
if (typeof obj_agentDescription !== 'string') {
|
|
3729
|
+
return new TypeError('Expected "string" but received "' + typeof obj_agentDescription + '" (at "' + path_agentDescription + '")');
|
|
3730
|
+
}
|
|
3731
|
+
}
|
|
3732
|
+
if (obj.topicCount !== undefined) {
|
|
3733
|
+
const obj_topicCount = obj.topicCount;
|
|
3734
|
+
const path_topicCount = path + '.topicCount';
|
|
3735
|
+
if (typeof obj_topicCount !== 'number' || (typeof obj_topicCount === 'number' && Math.floor(obj_topicCount) !== obj_topicCount)) {
|
|
3736
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_topicCount + '" (at "' + path_topicCount + '")');
|
|
3737
|
+
}
|
|
3738
|
+
}
|
|
3739
|
+
})();
|
|
3740
|
+
return v_error === undefined ? null : v_error;
|
|
3741
|
+
}
|
|
3742
|
+
const select$6 = function AppExchangeListingAdditionalPropsSelect() {
|
|
3743
|
+
return {
|
|
3744
|
+
kind: 'Fragment',
|
|
3745
|
+
version: VERSION$4,
|
|
3746
|
+
private: [],
|
|
3747
|
+
selections: [
|
|
3748
|
+
{
|
|
3749
|
+
name: 'actionCount',
|
|
3750
|
+
kind: 'Scalar',
|
|
3751
|
+
required: false
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
name: 'agentCount',
|
|
3755
|
+
kind: 'Scalar',
|
|
3756
|
+
required: false
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
name: 'agentDescription',
|
|
3760
|
+
kind: 'Scalar',
|
|
3761
|
+
required: false
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
name: 'topicCount',
|
|
3765
|
+
kind: 'Scalar',
|
|
3766
|
+
required: false
|
|
3767
|
+
}
|
|
3768
|
+
]
|
|
3769
|
+
};
|
|
3770
|
+
};
|
|
3771
|
+
function equals$4(existing, incoming) {
|
|
3772
|
+
const existing_actionCount = existing.actionCount;
|
|
3773
|
+
const incoming_actionCount = incoming.actionCount;
|
|
3774
|
+
// if at least one of these optionals is defined
|
|
3775
|
+
if (existing_actionCount !== undefined || incoming_actionCount !== undefined) {
|
|
3776
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3777
|
+
// not equal
|
|
3778
|
+
if (existing_actionCount === undefined || incoming_actionCount === undefined) {
|
|
3779
|
+
return false;
|
|
3780
|
+
}
|
|
3781
|
+
if (!(existing_actionCount === incoming_actionCount)) {
|
|
3782
|
+
return false;
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
const existing_agentCount = existing.agentCount;
|
|
3786
|
+
const incoming_agentCount = incoming.agentCount;
|
|
3787
|
+
// if at least one of these optionals is defined
|
|
3788
|
+
if (existing_agentCount !== undefined || incoming_agentCount !== undefined) {
|
|
3789
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3790
|
+
// not equal
|
|
3791
|
+
if (existing_agentCount === undefined || incoming_agentCount === undefined) {
|
|
3792
|
+
return false;
|
|
3793
|
+
}
|
|
3794
|
+
if (!(existing_agentCount === incoming_agentCount)) {
|
|
3795
|
+
return false;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
const existing_topicCount = existing.topicCount;
|
|
3799
|
+
const incoming_topicCount = incoming.topicCount;
|
|
3800
|
+
// if at least one of these optionals is defined
|
|
3801
|
+
if (existing_topicCount !== undefined || incoming_topicCount !== undefined) {
|
|
3802
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3803
|
+
// not equal
|
|
3804
|
+
if (existing_topicCount === undefined || incoming_topicCount === undefined) {
|
|
3805
|
+
return false;
|
|
3806
|
+
}
|
|
3807
|
+
if (!(existing_topicCount === incoming_topicCount)) {
|
|
3808
|
+
return false;
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
const existing_agentDescription = existing.agentDescription;
|
|
3812
|
+
const incoming_agentDescription = incoming.agentDescription;
|
|
3813
|
+
// if at least one of these optionals is defined
|
|
3814
|
+
if (existing_agentDescription !== undefined || incoming_agentDescription !== undefined) {
|
|
3815
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
3816
|
+
// not equal
|
|
3817
|
+
if (existing_agentDescription === undefined || incoming_agentDescription === undefined) {
|
|
3818
|
+
return false;
|
|
3819
|
+
}
|
|
3820
|
+
if (!(existing_agentDescription === incoming_agentDescription)) {
|
|
3821
|
+
return false;
|
|
3822
|
+
}
|
|
3823
|
+
}
|
|
3824
|
+
return true;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3639
3827
|
const VERSION$3 = "10de01efdeabbe2f2446485b4b1f8103";
|
|
3640
3828
|
function validate$3(obj, path = 'AppExchangeListingLogoRepresentation') {
|
|
3641
3829
|
const v_error = (() => {
|
|
@@ -3700,12 +3888,22 @@ function equals$3(existing, incoming) {
|
|
|
3700
3888
|
return true;
|
|
3701
3889
|
}
|
|
3702
3890
|
|
|
3703
|
-
const VERSION$2 = "
|
|
3891
|
+
const VERSION$2 = "ae39583e70758c8083f7680e529f4519";
|
|
3704
3892
|
function validate$2(obj, path = 'AppExchangeSearchListingRepresentation') {
|
|
3705
3893
|
const v_error = (() => {
|
|
3706
3894
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3707
3895
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
3708
3896
|
}
|
|
3897
|
+
if (obj.additionalProps !== undefined) {
|
|
3898
|
+
const obj_additionalProps = obj.additionalProps;
|
|
3899
|
+
const path_additionalProps = path + '.additionalProps';
|
|
3900
|
+
const referencepath_additionalPropsValidationError = validate$4(obj_additionalProps, path_additionalProps);
|
|
3901
|
+
if (referencepath_additionalPropsValidationError !== null) {
|
|
3902
|
+
let message = 'Object doesn\'t match AppExchangeListingAdditionalProps (at "' + path_additionalProps + '")\n';
|
|
3903
|
+
message += referencepath_additionalPropsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
3904
|
+
return new TypeError(message);
|
|
3905
|
+
}
|
|
3906
|
+
}
|
|
3709
3907
|
if (obj.averageRating !== undefined) {
|
|
3710
3908
|
obj.averageRating;
|
|
3711
3909
|
}
|
|
@@ -3821,12 +4019,19 @@ function validate$2(obj, path = 'AppExchangeSearchListingRepresentation') {
|
|
|
3821
4019
|
return v_error === undefined ? null : v_error;
|
|
3822
4020
|
}
|
|
3823
4021
|
const select$4 = function AppExchangeSearchListingRepresentationSelect() {
|
|
4022
|
+
const { selections: AppExchangeListingAdditionalProps__selections, opaque: AppExchangeListingAdditionalProps__opaque, } = select$6();
|
|
3824
4023
|
const { selections: AppExchangeListingLogoRepresentation__selections, opaque: AppExchangeListingLogoRepresentation__opaque, } = select$5();
|
|
3825
4024
|
return {
|
|
3826
4025
|
kind: 'Fragment',
|
|
3827
4026
|
version: VERSION$2,
|
|
3828
4027
|
private: [],
|
|
3829
4028
|
selections: [
|
|
4029
|
+
{
|
|
4030
|
+
name: 'additionalProps',
|
|
4031
|
+
kind: 'Object',
|
|
4032
|
+
selections: AppExchangeListingAdditionalProps__selections,
|
|
4033
|
+
required: false
|
|
4034
|
+
},
|
|
3830
4035
|
{
|
|
3831
4036
|
name: 'averageRating',
|
|
3832
4037
|
kind: 'Scalar',
|
|
@@ -4060,6 +4265,19 @@ function equals$2(existing, incoming) {
|
|
|
4060
4265
|
return false;
|
|
4061
4266
|
}
|
|
4062
4267
|
}
|
|
4268
|
+
const existing_additionalProps = existing.additionalProps;
|
|
4269
|
+
const incoming_additionalProps = incoming.additionalProps;
|
|
4270
|
+
// if at least one of these optionals is defined
|
|
4271
|
+
if (existing_additionalProps !== undefined || incoming_additionalProps !== undefined) {
|
|
4272
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
4273
|
+
// not equal
|
|
4274
|
+
if (existing_additionalProps === undefined || incoming_additionalProps === undefined) {
|
|
4275
|
+
return false;
|
|
4276
|
+
}
|
|
4277
|
+
if (!(equals$4(existing_additionalProps, incoming_additionalProps))) {
|
|
4278
|
+
return false;
|
|
4279
|
+
}
|
|
4280
|
+
}
|
|
4063
4281
|
const existing_listingCategories = existing.listingCategories;
|
|
4064
4282
|
const incoming_listingCategories = incoming.listingCategories;
|
|
4065
4283
|
// if at least one of these optionals is defined
|