@salesforce/b2c-tooling-sdk 1.16.0 → 1.17.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/data/content-schemas/regiondefinition.json +1 -0
- package/data/job-steps/CatalogDeltaExport.md +31 -0
- package/data/job-steps/CreateSitemap.md +22 -0
- package/data/job-steps/CustomerListsDeltaExport.md +30 -0
- package/data/job-steps/DownloadActiveDataFromStorage.md +24 -0
- package/data/job-steps/ExecuteCategorizationRules.md +25 -0
- package/data/job-steps/ExecuteDataReplication.md +24 -0
- package/data/job-steps/ExecutePipeline.md +24 -0
- package/data/job-steps/ExecutePreconfiguredCodeReplicationProcess.md +24 -0
- package/data/job-steps/ExecutePreconfiguredDataReplicationProcess.md +24 -0
- package/data/job-steps/ExecuteScriptModule.md +27 -0
- package/data/job-steps/ExportABTests.md +30 -0
- package/data/job-steps/ExportAssignments.md +30 -0
- package/data/job-steps/ExportCatalog.md +37 -0
- package/data/job-steps/ExportContent.md +31 -0
- package/data/job-steps/ExportContentSlots.md +30 -0
- package/data/job-steps/ExportCouponCodes.md +33 -0
- package/data/job-steps/ExportCoupons.md +30 -0
- package/data/job-steps/ExportCustomObjects.md +31 -0
- package/data/job-steps/ExportCustomerGroups.md +30 -0
- package/data/job-steps/ExportCustomerList.md +31 -0
- package/data/job-steps/ExportCustomers.md +30 -0
- package/data/job-steps/ExportFacebookFeed.md +26 -0
- package/data/job-steps/ExportGiftCertificates.md +30 -0
- package/data/job-steps/ExportInventoryLists.md +31 -0
- package/data/job-steps/ExportMetaData.md +32 -0
- package/data/job-steps/ExportOrders.md +42 -0
- package/data/job-steps/ExportPageLocalization.md +34 -0
- package/data/job-steps/ExportPriceBook.md +31 -0
- package/data/job-steps/ExportProductLists.md +34 -0
- package/data/job-steps/ExportPromotions.md +30 -0
- package/data/job-steps/ExportShippingMethods.md +30 -0
- package/data/job-steps/ExportSourceCodeGroups.md +30 -0
- package/data/job-steps/ExportStores.md +31 -0
- package/data/job-steps/ExportTaxTable.md +30 -0
- package/data/job-steps/ImportABTests.md +34 -0
- package/data/job-steps/ImportActiveData.md +33 -0
- package/data/job-steps/ImportAssignments.md +34 -0
- package/data/job-steps/ImportCatalog.md +34 -0
- package/data/job-steps/ImportContent.md +34 -0
- package/data/job-steps/ImportContentSlots.md +34 -0
- package/data/job-steps/ImportCouponCodeRedemptions.md +34 -0
- package/data/job-steps/ImportCoupons.md +34 -0
- package/data/job-steps/ImportCustomObjects.md +34 -0
- package/data/job-steps/ImportCustomerGroups.md +34 -0
- package/data/job-steps/ImportCustomerList.md +34 -0
- package/data/job-steps/ImportCustomerLists.md +34 -0
- package/data/job-steps/ImportCustomers.md +34 -0
- package/data/job-steps/ImportGiftCertificates.md +34 -0
- package/data/job-steps/ImportInventoryLists.md +35 -0
- package/data/job-steps/ImportKeyValueMapping.md +35 -0
- package/data/job-steps/ImportPageLocalization.md +34 -0
- package/data/job-steps/ImportPriceBook.md +34 -0
- package/data/job-steps/ImportProductLists.md +34 -0
- package/data/job-steps/ImportPromotions.md +34 -0
- package/data/job-steps/ImportShippingMethods.md +34 -0
- package/data/job-steps/ImportSiteArchive.md +30 -0
- package/data/job-steps/ImportSourceCodeGroups.md +34 -0
- package/data/job-steps/ImportStores.md +34 -0
- package/data/job-steps/ImportTaxTable.md +34 -0
- package/data/job-steps/IncludeStepsFromJob.md +24 -0
- package/data/job-steps/InvalidateCache.md +26 -0
- package/data/job-steps/LibraryDeltaExport.md +30 -0
- package/data/job-steps/SearchReindex.md +27 -0
- package/data/job-steps/SiteExport.md +32 -0
- package/data/job-steps/UndoPreconfiguredCodeReplicationProcess.md +24 -0
- package/data/job-steps/UndoPreconfiguredDataReplicationProcess.md +24 -0
- package/data/job-steps/UpdateStorefrontURLs.md +22 -0
- package/data/job-steps/UploadActiveDataBackupToStorage.md +22 -0
- package/data/job-steps/UploadActiveDataToStorage.md +24 -0
- package/data/job-steps/index.json +426 -0
- package/data/job-steps/job-steps.json +2910 -0
- package/data/job-steps/job-steps.md +96 -0
- package/data/script-api/TopLevel.APIException.md +1 -1
- package/data/script-api/dw.catalog.CatalogMgr.md +8 -2
- package/data/script-api/dw.crypto.Cipher.md +5 -1
- package/data/script-api/dw.customer.Profile.md +45 -0
- package/data/script-api/dw.customer.consent.ConsentStatusEntry.md +92 -0
- package/data/script-api/dw.customer.consent.MarketingConsentSubscription.md +247 -0
- package/data/script-api/dw.customer.consent.ShopperConsentErrorCodes.md +74 -0
- package/data/script-api/dw.customer.consent.ShopperConsentException.md +63 -0
- package/data/script-api/dw.customer.consent.ShopperConsentMgr.md +152 -0
- package/data/script-api/dw.customer.consent.md +10 -0
- package/data/script-api/dw.extensions.payments.SalesforcePaymentsHooks.md +24 -0
- package/data/script-api/dw.extensions.payments.SalesforcePaymentsSiteConfiguration.md +76 -0
- package/data/script-api/dw.object.CustomAttributes.md +72 -29
- package/data/script-api/dw.object.md +1 -1
- package/data/script-api/dw.order.Basket.md +3 -2
- package/data/script-api/dw.order.GiftCertificateLineItem.md +1 -1
- package/data/script-api/dw.order.LineItem.md +88 -0
- package/data/script-api/dw.order.LineItemCtnr.md +41 -11
- package/data/script-api/dw.order.LineItemTax.md +142 -0
- package/data/script-api/dw.order.OrderMgr.md +8 -0
- package/data/script-api/dw.order.PriceAdjustment.md +1 -1
- package/data/script-api/dw.order.ProductLineItem.md +1 -1
- package/data/script-api/dw.order.ProductShippingLineItem.md +1 -1
- package/data/script-api/dw.order.Shipment.md +12 -4
- package/data/script-api/dw.order.ShippingLineItem.md +1 -1
- package/data/script-api/dw.order.TaxMgr.md +54 -0
- package/data/script-api/dw.order.hooks.TaxHooks.md +495 -0
- package/data/script-api/dw.order.hooks.md +1 -0
- package/data/script-api/dw.order.md +1 -0
- package/data/script-api/dw.sitemap.SitemapFile.md +1 -1
- package/data/script-api/dw.sitemap.SitemapMgr.md +23 -0
- package/data/script-api/dw.system.Request.md +0 -1
- package/data/script-api/dw.util.Assert.md +29 -0
- package/data/script-api/dw.util.Locale.md +5 -2
- package/data/script-api/dw.web.Cookie.md +0 -6
- package/data/script-api/dw.web.PageMetaTag.md +25 -1
- package/data/script-api/dw.ws.WSUtil.md +2 -2
- package/data/script-api/index.json +49 -2
- package/data/script-api/index.md +2 -1
- package/data/xsd/commercefeaturestate.xsd +1 -0
- package/data/xsd/customer.xsd +11 -0
- package/data/xsd/eventrouting.xsd +257 -0
- package/data/xsd/index.json +6 -2
- package/data/xsd/order.xsd +53 -0
- package/data/xsd/store.xsd +8 -0
- package/data/xsd/storefronts.xsd +57 -1
- package/dist/esm/docs/search.d.ts +6 -3
- package/dist/esm/docs/search.js +39 -8
- package/dist/esm/docs/search.js.map +1 -1
- package/dist/esm/docs/types.d.ts +1 -0
- package/dist/esm/docs/types.js +1 -0
- package/dist/esm/docs/types.js.map +1 -1
- package/package.json +4 -2
package/data/xsd/store.xsd
CHANGED
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
</xsd:annotation>
|
|
55
55
|
</xsd:element>
|
|
56
56
|
<xsd:element name="pos-enabled-flag" type="xsd:boolean" minOccurs="0" maxOccurs="1" />
|
|
57
|
+
<xsd:element name="pos-store-id" type="simpleType.Generic.String.128" minOccurs="0" maxOccurs="1" />
|
|
57
58
|
<xsd:element name="custom-attributes" type="sharedType.CustomAttributes" minOccurs="0" maxOccurs="1" />
|
|
58
59
|
</xsd:sequence>
|
|
59
60
|
<xsd:attribute name="store-id" type="simpleType.Generic.NonEmptyString.256" use="required" />
|
|
@@ -128,6 +129,13 @@
|
|
|
128
129
|
</xsd:restriction>
|
|
129
130
|
</xsd:simpleType>
|
|
130
131
|
|
|
132
|
+
<xsd:simpleType name="simpleType.Generic.String.128">
|
|
133
|
+
<xsd:restriction base="simpleType.Generic.String">
|
|
134
|
+
<xsd:minLength value="0" />
|
|
135
|
+
<xsd:maxLength value="128" />
|
|
136
|
+
</xsd:restriction>
|
|
137
|
+
</xsd:simpleType>
|
|
138
|
+
|
|
131
139
|
<xsd:simpleType name="simpleType.Generic.String.256">
|
|
132
140
|
<xsd:restriction base="simpleType.Generic.String">
|
|
133
141
|
<xsd:minLength value="0" />
|
package/data/xsd/storefronts.xsd
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<xsd:element name="storefronts">
|
|
13
13
|
<xsd:complexType>
|
|
14
14
|
<xsd:sequence>
|
|
15
|
-
<xsd:element name="storefront" type="complexType.Storefront" minOccurs="0" maxOccurs="
|
|
15
|
+
<xsd:element name="storefront" type="complexType.Storefront" minOccurs="0" maxOccurs="1"/>
|
|
16
16
|
</xsd:sequence>
|
|
17
17
|
</xsd:complexType>
|
|
18
18
|
</xsd:element>
|
|
@@ -25,17 +25,31 @@
|
|
|
25
25
|
<xsd:sequence>
|
|
26
26
|
<xsd:element name="ecom-site" type="simpleType.Generic.String.48" minOccurs="0" maxOccurs="1"/>
|
|
27
27
|
<xsd:element name="storefront-type" type="simpleType.StorefrontType" minOccurs="1" maxOccurs="1"/>
|
|
28
|
+
<xsd:element name="storefront-status" type="simpleType.StorefrontStatus" minOccurs="1" maxOccurs="1"/>
|
|
28
29
|
<xsd:element name="associated-sites" type="complexType.AssociatedSites" minOccurs="0" maxOccurs="1"/>
|
|
29
30
|
<xsd:element name="user-id" type="simpleType.Generic.String.48" minOccurs="1" maxOccurs="1"/>
|
|
30
31
|
<xsd:element name="org-slug" type="simpleType.Generic.String.64" minOccurs="1" maxOccurs="1"/>
|
|
31
32
|
<xsd:element name="mrt-site" type="simpleType.Generic.String.64" minOccurs="1" maxOccurs="1"/>
|
|
32
33
|
<xsd:element name="scm-repo" type="simpleType.Generic.String.512" minOccurs="0" maxOccurs="1"/>
|
|
33
34
|
<xsd:element name="scm-target" type="simpleType.Generic.String.64" minOccurs="0" maxOccurs="1"/>
|
|
35
|
+
<xsd:element name="github-app-installation" type="complexType.GitHubAppInstallation" minOccurs="0" maxOccurs="1"/>
|
|
34
36
|
</xsd:sequence>
|
|
35
37
|
<xsd:attribute name="storefront-name" type="simpleType.Generic.NonEmptyString.64" use="required"/>
|
|
36
38
|
<xsd:attribute name="mode" type="simpleType.ImportMode"/>
|
|
37
39
|
</xsd:complexType>
|
|
38
40
|
|
|
41
|
+
<!-- GitHub App Installation -->
|
|
42
|
+
<xsd:complexType name="complexType.GitHubAppInstallation" mixed="false">
|
|
43
|
+
<xsd:sequence>
|
|
44
|
+
<xsd:element name="app-id" type="simpleType.Generic.String.64" minOccurs="1" maxOccurs="1"/>
|
|
45
|
+
<xsd:element name="installation-id" type="simpleType.Generic.String.64" minOccurs="1" maxOccurs="1"/>
|
|
46
|
+
<xsd:element name="target-id" type="simpleType.Generic.String.64" minOccurs="1" maxOccurs="1"/>
|
|
47
|
+
<xsd:element name="target-name" type="simpleType.Generic.String.256" minOccurs="1" maxOccurs="1"/>
|
|
48
|
+
<xsd:element name="target-url" type="simpleType.Generic.String.512" minOccurs="1" maxOccurs="1"/>
|
|
49
|
+
<xsd:element name="target-type" type="simpleType.Generic.String.32" minOccurs="1" maxOccurs="1"/>
|
|
50
|
+
</xsd:sequence>
|
|
51
|
+
</xsd:complexType>
|
|
52
|
+
|
|
39
53
|
<!-- Associated Sites -->
|
|
40
54
|
<xsd:complexType name="complexType.AssociatedSites" mixed="false">
|
|
41
55
|
<xsd:sequence>
|
|
@@ -51,6 +65,34 @@
|
|
|
51
65
|
</xsd:restriction>
|
|
52
66
|
</xsd:simpleType>
|
|
53
67
|
|
|
68
|
+
<!--
|
|
69
|
+
Storefront Status enumeration.
|
|
70
|
+
|
|
71
|
+
These values must stay in sync with StorefrontSetupStatusEnum (core/internal/storefront).
|
|
72
|
+
There is no compile-time link between this XSD and the Java enum; drift is caught by
|
|
73
|
+
comparing the JAXB-generated SimpleTypeStorefrontStatus against StorefrontSetupStatusEnum
|
|
74
|
+
in _JAXBStorefrontExportHandler (testStorefrontStatusEnumAndXsdInSync).
|
|
75
|
+
|
|
76
|
+
Export currently restricts output to SUCCESS storefronts only
|
|
77
|
+
(JAXBStorefrontExportHandler.mapStorefront). Adding a new exportable status requires:
|
|
78
|
+
1. Adding the value here
|
|
79
|
+
2. Adding the enum constant in StorefrontSetupStatusEnum
|
|
80
|
+
3. Updating the export guard in mapStorefront to allow the new status
|
|
81
|
+
4. Updating the sync unit test's expected set if needed
|
|
82
|
+
-->
|
|
83
|
+
<xsd:simpleType name="simpleType.StorefrontStatus">
|
|
84
|
+
<xsd:restriction base="xsd:string">
|
|
85
|
+
<xsd:enumeration value="in_progress"/>
|
|
86
|
+
<xsd:enumeration value="success"/>
|
|
87
|
+
<xsd:enumeration value="backfilled"/>
|
|
88
|
+
<xsd:enumeration value="failed"/>
|
|
89
|
+
<xsd:enumeration value="delete_in_progress"/>
|
|
90
|
+
<xsd:enumeration value="delete_failed"/>
|
|
91
|
+
<xsd:enumeration value="deleted"/>
|
|
92
|
+
<xsd:enumeration value="unknown"/>
|
|
93
|
+
</xsd:restriction>
|
|
94
|
+
</xsd:simpleType>
|
|
95
|
+
|
|
54
96
|
<!-- Import Mode -->
|
|
55
97
|
<xsd:simpleType name="simpleType.ImportMode">
|
|
56
98
|
<xsd:restriction base="xsd:string">
|
|
@@ -63,6 +105,13 @@
|
|
|
63
105
|
<xsd:restriction base="xsd:string"/>
|
|
64
106
|
</xsd:simpleType>
|
|
65
107
|
|
|
108
|
+
<xsd:simpleType name="simpleType.Generic.String.32">
|
|
109
|
+
<xsd:restriction base="simpleType.Generic.String">
|
|
110
|
+
<xsd:minLength value="0"/>
|
|
111
|
+
<xsd:maxLength value="32"/>
|
|
112
|
+
</xsd:restriction>
|
|
113
|
+
</xsd:simpleType>
|
|
114
|
+
|
|
66
115
|
<xsd:simpleType name="simpleType.Generic.String.48">
|
|
67
116
|
<xsd:restriction base="simpleType.Generic.String">
|
|
68
117
|
<xsd:minLength value="0"/>
|
|
@@ -77,6 +126,13 @@
|
|
|
77
126
|
</xsd:restriction>
|
|
78
127
|
</xsd:simpleType>
|
|
79
128
|
|
|
129
|
+
<xsd:simpleType name="simpleType.Generic.String.256">
|
|
130
|
+
<xsd:restriction base="simpleType.Generic.String">
|
|
131
|
+
<xsd:minLength value="0"/>
|
|
132
|
+
<xsd:maxLength value="256"/>
|
|
133
|
+
</xsd:restriction>
|
|
134
|
+
</xsd:simpleType>
|
|
135
|
+
|
|
80
136
|
<xsd:simpleType name="simpleType.Generic.String.512">
|
|
81
137
|
<xsd:restriction base="simpleType.Generic.String">
|
|
82
138
|
<xsd:minLength value="0"/>
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { type DocEntry, type SearchIndex, type SearchResult } from './types.js';
|
|
2
2
|
/**
|
|
3
|
-
* Loads the pre-built search index from the bundled data
|
|
3
|
+
* Loads the pre-built search index from the bundled data directories.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* Combines the Script API documentation corpus with the standard job-step
|
|
6
|
+
* reference so both are searchable through the same functions.
|
|
7
|
+
*
|
|
8
|
+
* @returns The combined search index with all documentation entries
|
|
9
|
+
* @throws Error if the Script API index file cannot be read
|
|
7
10
|
*/
|
|
8
11
|
export declare function loadSearchIndex(): SearchIndex;
|
|
9
12
|
/**
|
package/dist/esm/docs/search.js
CHANGED
|
@@ -6,22 +6,52 @@
|
|
|
6
6
|
import * as fs from 'node:fs';
|
|
7
7
|
import * as path from 'node:path';
|
|
8
8
|
import Fuse from 'fuse.js';
|
|
9
|
-
import { SCRIPT_API_DATA_DIR } from './types.js';
|
|
9
|
+
import { JOB_STEPS_DATA_DIR, SCRIPT_API_DATA_DIR } from './types.js';
|
|
10
10
|
// Singleton cache for loaded index and Fuse instance
|
|
11
11
|
let cachedIndex = null;
|
|
12
12
|
let cachedFuse = null;
|
|
13
|
+
// Maps each entry id to the absolute data directory that holds its file. This
|
|
14
|
+
// lets a single combined index span multiple bundled corpora (Script API docs
|
|
15
|
+
// and the standard job-step reference) without changing the public DocEntry shape.
|
|
16
|
+
const entryDataDir = new Map();
|
|
13
17
|
/**
|
|
14
|
-
* Loads
|
|
18
|
+
* Loads one bundled index.json from the given directory, returning its entries
|
|
19
|
+
* and recording the directory for each entry id. Missing indexes are ignored.
|
|
20
|
+
*/
|
|
21
|
+
function loadCorpus(dataDir) {
|
|
22
|
+
const indexPath = path.join(dataDir, 'index.json');
|
|
23
|
+
if (!fs.existsSync(indexPath)) {
|
|
24
|
+
return [];
|
|
25
|
+
}
|
|
26
|
+
const parsed = JSON.parse(fs.readFileSync(indexPath, 'utf-8'));
|
|
27
|
+
for (const entry of parsed.entries) {
|
|
28
|
+
// First corpus wins on id collision (Script API is loaded first).
|
|
29
|
+
if (!entryDataDir.has(entry.id)) {
|
|
30
|
+
entryDataDir.set(entry.id, dataDir);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return parsed.entries;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Loads the pre-built search index from the bundled data directories.
|
|
37
|
+
*
|
|
38
|
+
* Combines the Script API documentation corpus with the standard job-step
|
|
39
|
+
* reference so both are searchable through the same functions.
|
|
15
40
|
*
|
|
16
|
-
* @returns The search index with all documentation entries
|
|
17
|
-
* @throws Error if the index file cannot be read
|
|
41
|
+
* @returns The combined search index with all documentation entries
|
|
42
|
+
* @throws Error if the Script API index file cannot be read
|
|
18
43
|
*/
|
|
19
44
|
export function loadSearchIndex() {
|
|
20
45
|
if (cachedIndex)
|
|
21
46
|
return cachedIndex;
|
|
22
|
-
|
|
23
|
-
const
|
|
24
|
-
|
|
47
|
+
entryDataDir.clear();
|
|
48
|
+
const scriptApiEntries = loadCorpus(SCRIPT_API_DATA_DIR);
|
|
49
|
+
const jobStepEntries = loadCorpus(JOB_STEPS_DATA_DIR);
|
|
50
|
+
cachedIndex = {
|
|
51
|
+
version: '1.0.0',
|
|
52
|
+
generatedAt: new Date(0).toISOString(),
|
|
53
|
+
entries: [...scriptApiEntries, ...jobStepEntries],
|
|
54
|
+
};
|
|
25
55
|
return cachedIndex;
|
|
26
56
|
}
|
|
27
57
|
/**
|
|
@@ -83,7 +113,8 @@ export function readDoc(id) {
|
|
|
83
113
|
if (!entry) {
|
|
84
114
|
throw new Error(`Documentation not found: ${id}`);
|
|
85
115
|
}
|
|
86
|
-
const
|
|
116
|
+
const dataDir = entryDataDir.get(entry.id) ?? SCRIPT_API_DATA_DIR;
|
|
117
|
+
const filePath = path.join(dataDir, entry.filePath);
|
|
87
118
|
return fs.readFileSync(filePath, 'utf-8');
|
|
88
119
|
}
|
|
89
120
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/docs/search.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,mBAAmB,EAAqD,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"search.js","sourceRoot":"","sources":["../../../src/docs/search.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,IAAI,MAAM,SAAS,CAAC;AAC3B,OAAO,EAAC,kBAAkB,EAAE,mBAAmB,EAAqD,MAAM,YAAY,CAAC;AAEvH,qDAAqD;AACrD,IAAI,WAAW,GAAuB,IAAI,CAAC;AAC3C,IAAI,UAAU,GAA0B,IAAI,CAAC;AAE7C,8EAA8E;AAC9E,8EAA8E;AAC9E,mFAAmF;AACnF,MAAM,YAAY,GAAG,IAAI,GAAG,EAAkB,CAAC;AAE/C;;;GAGG;AACH,SAAS,UAAU,CAAC,OAAe;IACjC,MAAM,SAAS,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IACnD,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,SAAS,CAAC,EAAE,CAAC;QAC9B,OAAO,EAAE,CAAC;IAC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AAE,CAAC,CAAC,CAAC;IAErC,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACzB,OAAO,IAAI,CAAC;IACd,CAAC;IAED,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAC/B,MAAM,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAElC,OAAO,EAAC,KAAK,EAAE,OAAO,EAAC,CAAC;AAC1B,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,QAAQ;IACtB,MAAM,KAAK,GAAG,eAAe,EAAE,CAAC;IAChC,OAAO,KAAK,CAAC,OAAO,CAAC;AACvB,CAAC"}
|
package/dist/esm/docs/types.d.ts
CHANGED
package/dist/esm/docs/types.js
CHANGED
|
@@ -12,4 +12,5 @@ const require = createRequire(import.meta.url);
|
|
|
12
12
|
const packageRoot = path.dirname(require.resolve('@salesforce/b2c-tooling-sdk/package.json'));
|
|
13
13
|
export const SCRIPT_API_DATA_DIR = path.join(packageRoot, 'data/script-api');
|
|
14
14
|
export const XSD_DATA_DIR = path.join(packageRoot, 'data/xsd');
|
|
15
|
+
export const JOB_STEPS_DATA_DIR = path.join(packageRoot, 'data/job-steps');
|
|
15
16
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/docs/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,qDAAqD;AACrD,wEAAwE;AACxE,iEAAiE;AACjE,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/docs/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE1C,qDAAqD;AACrD,wEAAwE;AACxE,iEAAiE;AACjE,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC;AAC/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/b2c-tooling-sdk",
|
|
3
3
|
"description": "Core tooling library for Salesforce B2C Commerce CLI",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.17.0",
|
|
5
5
|
"author": "Charles Lavery",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"repository": "SalesforceCommerceCloud/b2c-developer-tooling",
|
|
@@ -253,6 +253,8 @@
|
|
|
253
253
|
"test:watch": "mocha --watch \"test/**/*.test.ts\"",
|
|
254
254
|
"coverage": "c8 report",
|
|
255
255
|
"posttest": "pnpm run lint",
|
|
256
|
-
"generate:docs-index": "tsx scripts/generate-docs-index.ts"
|
|
256
|
+
"generate:docs-index": "tsx scripts/generate-docs-index.ts",
|
|
257
|
+
"build:job-steps-dataset": "tsx scripts/build-job-steps-dataset.ts",
|
|
258
|
+
"generate:job-steps-docs": "tsx scripts/generate-job-steps-docs.ts"
|
|
257
259
|
}
|
|
258
260
|
}
|