@revenexx/node 0.1.0 → 0.1.1
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/README.md +3 -0
- package/dist/client.d.mts +25 -0
- package/dist/client.d.ts +25 -0
- package/dist/client.js +39 -18
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +35 -14
- package/dist/client.mjs.map +1 -1
- package/dist/enums/approval-rule-approver-type.d.mts +7 -0
- package/dist/enums/approval-rule-approver-type.d.ts +7 -0
- package/dist/enums/approval-rule-approver-type.js +12 -0
- package/dist/enums/approval-rule-approver-type.js.map +1 -0
- package/dist/enums/approval-rule-approver-type.mjs +11 -0
- package/dist/enums/approval-rule-approver-type.mjs.map +1 -0
- package/dist/enums/approval-rule-condition.d.mts +10 -0
- package/dist/enums/approval-rule-condition.d.ts +10 -0
- package/dist/enums/approval-rule-condition.js +15 -0
- package/dist/enums/approval-rule-condition.js.map +1 -0
- package/dist/enums/approval-rule-condition.mjs +14 -0
- package/dist/enums/approval-rule-condition.mjs.map +1 -0
- package/dist/enums/approval-rule-create-request-approver-type.d.mts +7 -0
- package/dist/enums/approval-rule-create-request-approver-type.d.ts +7 -0
- package/dist/enums/approval-rule-create-request-approver-type.js +12 -0
- package/dist/enums/approval-rule-create-request-approver-type.js.map +1 -0
- package/dist/enums/approval-rule-create-request-approver-type.mjs +11 -0
- package/dist/enums/approval-rule-create-request-approver-type.mjs.map +1 -0
- package/dist/enums/approval-rule-create-request-condition.d.mts +10 -0
- package/dist/enums/approval-rule-create-request-condition.d.ts +10 -0
- package/dist/enums/approval-rule-create-request-condition.js +15 -0
- package/dist/enums/approval-rule-create-request-condition.js.map +1 -0
- package/dist/enums/approval-rule-create-request-condition.mjs +14 -0
- package/dist/enums/approval-rule-create-request-condition.mjs.map +1 -0
- package/dist/enums/approval-rule-create-request-effect.d.mts +7 -0
- package/dist/enums/approval-rule-create-request-effect.d.ts +7 -0
- package/dist/enums/approval-rule-create-request-effect.js +12 -0
- package/dist/enums/approval-rule-create-request-effect.js.map +1 -0
- package/dist/enums/approval-rule-create-request-effect.mjs +11 -0
- package/dist/enums/approval-rule-create-request-effect.mjs.map +1 -0
- package/dist/enums/approval-rule-effect.d.mts +7 -0
- package/dist/enums/approval-rule-effect.d.ts +7 -0
- package/dist/enums/approval-rule-effect.js +12 -0
- package/dist/enums/approval-rule-effect.js.map +1 -0
- package/dist/enums/approval-rule-effect.mjs +11 -0
- package/dist/enums/approval-rule-effect.mjs.map +1 -0
- package/dist/enums/approval-rule-update-request-approver-type.d.mts +7 -0
- package/dist/enums/approval-rule-update-request-approver-type.d.ts +7 -0
- package/dist/enums/approval-rule-update-request-approver-type.js +12 -0
- package/dist/enums/approval-rule-update-request-approver-type.js.map +1 -0
- package/dist/enums/approval-rule-update-request-approver-type.mjs +11 -0
- package/dist/enums/approval-rule-update-request-approver-type.mjs.map +1 -0
- package/dist/enums/approval-rule-update-request-condition.d.mts +10 -0
- package/dist/enums/approval-rule-update-request-condition.d.ts +10 -0
- package/dist/enums/approval-rule-update-request-condition.js +15 -0
- package/dist/enums/approval-rule-update-request-condition.js.map +1 -0
- package/dist/enums/approval-rule-update-request-condition.mjs +14 -0
- package/dist/enums/approval-rule-update-request-condition.mjs.map +1 -0
- package/dist/enums/approval-rule-update-request-effect.d.mts +7 -0
- package/dist/enums/approval-rule-update-request-effect.d.ts +7 -0
- package/dist/enums/approval-rule-update-request-effect.js +12 -0
- package/dist/enums/approval-rule-update-request-effect.js.map +1 -0
- package/dist/enums/approval-rule-update-request-effect.mjs +11 -0
- package/dist/enums/approval-rule-update-request-effect.mjs.map +1 -0
- package/dist/enums/approver-type.d.mts +7 -0
- package/dist/enums/approver-type.d.ts +7 -0
- package/dist/enums/approver-type.js +12 -0
- package/dist/enums/approver-type.js.map +1 -0
- package/dist/enums/approver-type.mjs +11 -0
- package/dist/enums/approver-type.mjs.map +1 -0
- package/dist/enums/condition.d.mts +10 -0
- package/dist/enums/condition.d.ts +10 -0
- package/dist/enums/condition.js +15 -0
- package/dist/enums/condition.js.map +1 -0
- package/dist/enums/condition.mjs +14 -0
- package/dist/enums/condition.mjs.map +1 -0
- package/dist/enums/effect.d.mts +7 -0
- package/dist/enums/effect.d.ts +7 -0
- package/dist/enums/effect.js +12 -0
- package/dist/enums/effect.js.map +1 -0
- package/dist/enums/effect.mjs +11 -0
- package/dist/enums/effect.mjs.map +1 -0
- package/dist/enums/pending-approval-approver-type.d.mts +7 -0
- package/dist/enums/pending-approval-approver-type.d.ts +7 -0
- package/dist/enums/pending-approval-approver-type.js +12 -0
- package/dist/enums/pending-approval-approver-type.js.map +1 -0
- package/dist/enums/pending-approval-approver-type.mjs +11 -0
- package/dist/enums/pending-approval-approver-type.mjs.map +1 -0
- package/dist/enums/pending-approval-status.d.mts +7 -0
- package/dist/enums/pending-approval-status.d.ts +7 -0
- package/dist/enums/pending-approval-status.js +12 -0
- package/dist/enums/pending-approval-status.js.map +1 -0
- package/dist/enums/pending-approval-status.mjs +11 -0
- package/dist/enums/pending-approval-status.mjs.map +1 -0
- package/dist/enums/procurement-purchase-request-items-create-type.d.mts +7 -0
- package/dist/enums/procurement-purchase-request-items-create-type.d.ts +7 -0
- package/dist/enums/procurement-purchase-request-items-create-type.js +12 -0
- package/dist/enums/procurement-purchase-request-items-create-type.js.map +1 -0
- package/dist/enums/procurement-purchase-request-items-create-type.mjs +11 -0
- package/dist/enums/procurement-purchase-request-items-create-type.mjs.map +1 -0
- package/dist/enums/purchase-request-event-name.d.mts +12 -0
- package/dist/enums/purchase-request-event-name.d.ts +12 -0
- package/dist/enums/purchase-request-event-name.js +17 -0
- package/dist/enums/purchase-request-event-name.js.map +1 -0
- package/dist/enums/purchase-request-event-name.mjs +16 -0
- package/dist/enums/purchase-request-event-name.mjs.map +1 -0
- package/dist/enums/purchase-request-item-create-request-type.d.mts +7 -0
- package/dist/enums/purchase-request-item-create-request-type.d.ts +7 -0
- package/dist/enums/purchase-request-item-create-request-type.js +12 -0
- package/dist/enums/purchase-request-item-create-request-type.js.map +1 -0
- package/dist/enums/purchase-request-item-create-request-type.mjs +11 -0
- package/dist/enums/purchase-request-item-create-request-type.mjs.map +1 -0
- package/dist/enums/purchase-request-item-type.d.mts +7 -0
- package/dist/enums/purchase-request-item-type.d.ts +7 -0
- package/dist/enums/purchase-request-item-type.js +12 -0
- package/dist/enums/purchase-request-item-type.js.map +1 -0
- package/dist/enums/purchase-request-item-type.mjs +11 -0
- package/dist/enums/purchase-request-item-type.mjs.map +1 -0
- package/dist/enums/purchase-request-item-update-request-type.d.mts +7 -0
- package/dist/enums/purchase-request-item-update-request-type.d.ts +7 -0
- package/dist/enums/purchase-request-item-update-request-type.js +12 -0
- package/dist/enums/purchase-request-item-update-request-type.js.map +1 -0
- package/dist/enums/purchase-request-item-update-request-type.mjs +11 -0
- package/dist/enums/purchase-request-item-update-request-type.mjs.map +1 -0
- package/dist/enums/purchase-request-status.d.mts +9 -0
- package/dist/enums/purchase-request-status.d.ts +9 -0
- package/dist/enums/purchase-request-status.js +14 -0
- package/dist/enums/purchase-request-status.js.map +1 -0
- package/dist/enums/purchase-request-status.mjs +13 -0
- package/dist/enums/purchase-request-status.mjs.map +1 -0
- package/dist/enums/submit-item-type.d.mts +7 -0
- package/dist/enums/submit-item-type.d.ts +7 -0
- package/dist/enums/submit-item-type.js +12 -0
- package/dist/enums/submit-item-type.js.map +1 -0
- package/dist/enums/submit-item-type.mjs +11 -0
- package/dist/enums/submit-item-type.mjs.map +1 -0
- package/dist/enums/submit-result-outcome.d.mts +9 -0
- package/dist/enums/submit-result-outcome.d.ts +9 -0
- package/dist/enums/submit-result-outcome.js +14 -0
- package/dist/enums/submit-result-outcome.js.map +1 -0
- package/dist/enums/submit-result-outcome.mjs +13 -0
- package/dist/enums/submit-result-outcome.mjs.map +1 -0
- package/dist/index.d.mts +23 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +115 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -0
- package/dist/index.mjs.map +1 -1
- package/dist/inputFile.js +1 -2
- package/dist/inputFile.js.map +1 -1
- package/dist/inputFile.mjs +0 -1
- package/dist/inputFile.mjs.map +1 -1
- package/dist/models.d.mts +1027 -36
- package/dist/models.d.ts +1027 -36
- package/dist/operator.js +243 -204
- package/dist/operator.js.map +1 -1
- package/dist/operator.mjs +242 -203
- package/dist/operator.mjs.map +1 -1
- package/dist/permission.js +58 -48
- package/dist/permission.js.map +1 -1
- package/dist/permission.mjs +58 -48
- package/dist/permission.mjs.map +1 -1
- package/dist/query.js +525 -422
- package/dist/query.js.map +1 -1
- package/dist/query.mjs +524 -421
- package/dist/query.mjs.map +1 -1
- package/dist/services/apps.d.mts +18 -0
- package/dist/services/apps.d.ts +18 -0
- package/dist/services/avatars.d.mts +18 -0
- package/dist/services/avatars.d.ts +18 -0
- package/dist/services/carts-io.d.mts +46 -28
- package/dist/services/carts-io.d.ts +46 -28
- package/dist/services/carts-io.js.map +1 -1
- package/dist/services/carts-io.mjs.map +1 -1
- package/dist/services/carts-items.d.mts +42 -24
- package/dist/services/carts-items.d.ts +42 -24
- package/dist/services/carts-items.js.map +1 -1
- package/dist/services/carts-items.mjs.map +1 -1
- package/dist/services/carts.d.mts +70 -52
- package/dist/services/carts.d.ts +70 -52
- package/dist/services/carts.js.map +1 -1
- package/dist/services/carts.mjs.map +1 -1
- package/dist/services/channels.d.mts +64 -46
- package/dist/services/channels.d.ts +64 -46
- package/dist/services/channels.js +1 -1
- package/dist/services/channels.js.map +1 -1
- package/dist/services/channels.mjs +1 -1
- package/dist/services/channels.mjs.map +1 -1
- package/dist/services/cost-centers.d.mts +18 -0
- package/dist/services/cost-centers.d.ts +18 -0
- package/dist/services/customers-contacts.d.mts +62 -44
- package/dist/services/customers-contacts.d.ts +62 -44
- package/dist/services/customers-contacts.js.map +1 -1
- package/dist/services/customers-contacts.mjs.map +1 -1
- package/dist/services/customers-organizations.d.mts +58 -40
- package/dist/services/customers-organizations.d.ts +58 -40
- package/dist/services/customers-organizations.js.map +1 -1
- package/dist/services/customers-organizations.mjs.map +1 -1
- package/dist/services/customers-roles.d.mts +26 -8
- package/dist/services/customers-roles.d.ts +26 -8
- package/dist/services/customers-roles.js.map +1 -1
- package/dist/services/customers-roles.mjs.map +1 -1
- package/dist/services/customers-segments.d.mts +62 -44
- package/dist/services/customers-segments.d.ts +62 -44
- package/dist/services/customers-segments.js.map +1 -1
- package/dist/services/customers-segments.mjs.map +1 -1
- package/dist/services/customers-value-lists.d.mts +90 -72
- package/dist/services/customers-value-lists.d.ts +90 -72
- package/dist/services/customers-value-lists.js.map +1 -1
- package/dist/services/customers-value-lists.mjs.map +1 -1
- package/dist/services/customers.d.mts +78 -60
- package/dist/services/customers.d.ts +78 -60
- package/dist/services/customers.js.map +1 -1
- package/dist/services/customers.mjs.map +1 -1
- package/dist/services/events.d.mts +18 -0
- package/dist/services/events.d.ts +18 -0
- package/dist/services/forms.d.mts +66 -48
- package/dist/services/forms.d.ts +66 -48
- package/dist/services/forms.js.map +1 -1
- package/dist/services/forms.mjs.map +1 -1
- package/dist/services/health.d.mts +18 -0
- package/dist/services/health.d.ts +18 -0
- package/dist/services/inventories-locations.d.mts +38 -20
- package/dist/services/inventories-locations.d.ts +38 -20
- package/dist/services/inventories-locations.js.map +1 -1
- package/dist/services/inventories-locations.mjs.map +1 -1
- package/dist/services/inventories-reservations.d.mts +38 -20
- package/dist/services/inventories-reservations.d.ts +38 -20
- package/dist/services/inventories-reservations.js.map +1 -1
- package/dist/services/inventories-reservations.mjs.map +1 -1
- package/dist/services/inventories-stock.d.mts +70 -52
- package/dist/services/inventories-stock.d.ts +70 -52
- package/dist/services/inventories-stock.js.map +1 -1
- package/dist/services/inventories-stock.mjs.map +1 -1
- package/dist/services/io.d.mts +66 -48
- package/dist/services/io.d.ts +66 -48
- package/dist/services/io.js +2 -2
- package/dist/services/io.js.map +1 -1
- package/dist/services/io.mjs +2 -2
- package/dist/services/io.mjs.map +1 -1
- package/dist/services/locale.d.mts +18 -0
- package/dist/services/locale.d.ts +18 -0
- package/dist/services/markets.d.mts +122 -104
- package/dist/services/markets.d.ts +122 -104
- package/dist/services/markets.js.map +1 -1
- package/dist/services/markets.mjs.map +1 -1
- package/dist/services/messaging.d.mts +194 -176
- package/dist/services/messaging.d.ts +194 -176
- package/dist/services/messaging.js +3 -3
- package/dist/services/messaging.js.map +1 -1
- package/dist/services/messaging.mjs +3 -3
- package/dist/services/messaging.mjs.map +1 -1
- package/dist/services/orderlists.d.mts +96 -78
- package/dist/services/orderlists.d.ts +96 -78
- package/dist/services/orderlists.js +1 -1
- package/dist/services/orderlists.js.map +1 -1
- package/dist/services/orderlists.mjs +1 -1
- package/dist/services/orderlists.mjs.map +1 -1
- package/dist/services/orders.d.mts +114 -96
- package/dist/services/orders.d.ts +114 -96
- package/dist/services/orders.js.map +1 -1
- package/dist/services/orders.mjs.map +1 -1
- package/dist/services/pages-collaboration.d.mts +34 -16
- package/dist/services/pages-collaboration.d.ts +34 -16
- package/dist/services/pages-collaboration.js.map +1 -1
- package/dist/services/pages-collaboration.mjs.map +1 -1
- package/dist/services/pages-delivery.d.mts +26 -8
- package/dist/services/pages-delivery.d.ts +26 -8
- package/dist/services/pages-delivery.js.map +1 -1
- package/dist/services/pages-delivery.mjs.map +1 -1
- package/dist/services/pages-editor.d.mts +34 -16
- package/dist/services/pages-editor.d.ts +34 -16
- package/dist/services/pages-editor.js.map +1 -1
- package/dist/services/pages-editor.mjs.map +1 -1
- package/dist/services/pages.d.mts +82 -64
- package/dist/services/pages.d.ts +82 -64
- package/dist/services/pages.js.map +1 -1
- package/dist/services/pages.mjs.map +1 -1
- package/dist/services/payments-ledger.d.mts +54 -36
- package/dist/services/payments-ledger.d.ts +54 -36
- package/dist/services/payments-ledger.js.map +1 -1
- package/dist/services/payments-ledger.mjs.map +1 -1
- package/dist/services/payments-methods.d.mts +34 -16
- package/dist/services/payments-methods.d.ts +34 -16
- package/dist/services/payments-methods.js.map +1 -1
- package/dist/services/payments-methods.mjs.map +1 -1
- package/dist/services/payments-providers.d.mts +38 -20
- package/dist/services/payments-providers.d.ts +38 -20
- package/dist/services/payments-providers.js.map +1 -1
- package/dist/services/payments-providers.mjs.map +1 -1
- package/dist/services/prices.d.mts +86 -68
- package/dist/services/prices.d.ts +86 -68
- package/dist/services/prices.js.map +1 -1
- package/dist/services/prices.mjs.map +1 -1
- package/dist/services/procurement.d.mts +991 -0
- package/dist/services/procurement.d.ts +991 -0
- package/dist/services/procurement.js +1185 -0
- package/dist/services/procurement.js.map +1 -0
- package/dist/services/procurement.mjs +1184 -0
- package/dist/services/procurement.mjs.map +1 -0
- package/dist/services/products-assets.d.mts +34 -16
- package/dist/services/products-assets.d.ts +34 -16
- package/dist/services/products-assets.js.map +1 -1
- package/dist/services/products-assets.mjs.map +1 -1
- package/dist/services/products-categories.d.mts +66 -48
- package/dist/services/products-categories.d.ts +66 -48
- package/dist/services/products-categories.js.map +1 -1
- package/dist/services/products-categories.mjs.map +1 -1
- package/dist/services/products-data-model.d.mts +166 -148
- package/dist/services/products-data-model.d.ts +166 -148
- package/dist/services/products-data-model.js.map +1 -1
- package/dist/services/products-data-model.mjs.map +1 -1
- package/dist/services/products-references.d.mts +50 -32
- package/dist/services/products-references.d.ts +50 -32
- package/dist/services/products-references.js.map +1 -1
- package/dist/services/products-references.mjs.map +1 -1
- package/dist/services/products.d.mts +70 -52
- package/dist/services/products.d.ts +70 -52
- package/dist/services/products.js.map +1 -1
- package/dist/services/products.mjs.map +1 -1
- package/dist/services/search.d.mts +40 -22
- package/dist/services/search.d.ts +40 -22
- package/dist/services/search.js +1 -1
- package/dist/services/search.js.map +1 -1
- package/dist/services/search.mjs +1 -1
- package/dist/services/search.mjs.map +1 -1
- package/dist/services/settings.d.mts +18 -0
- package/dist/services/settings.d.ts +18 -0
- package/dist/services/shipping-carriers.d.mts +42 -24
- package/dist/services/shipping-carriers.d.ts +42 -24
- package/dist/services/shipping-carriers.js.map +1 -1
- package/dist/services/shipping-carriers.mjs.map +1 -1
- package/dist/services/shipping-methods.d.mts +70 -52
- package/dist/services/shipping-methods.d.ts +70 -52
- package/dist/services/shipping-methods.js.map +1 -1
- package/dist/services/shipping-methods.mjs.map +1 -1
- package/dist/services/shipping-value-lists.d.mts +62 -44
- package/dist/services/shipping-value-lists.d.ts +62 -44
- package/dist/services/shipping-value-lists.js.map +1 -1
- package/dist/services/shipping-value-lists.mjs.map +1 -1
- package/dist/services/sites.d.mts +18 -0
- package/dist/services/sites.d.ts +18 -0
- package/dist/services/storage.d.mts +18 -0
- package/dist/services/storage.d.ts +18 -0
- package/package.json +6 -3
|
@@ -5,6 +5,15 @@ import '../query.mjs';
|
|
|
5
5
|
import '../enums/address-type-row-tone.mjs';
|
|
6
6
|
import '../enums/address-type-row-create-request-tone.mjs';
|
|
7
7
|
import '../enums/address-type-row-update-request-tone.mjs';
|
|
8
|
+
import '../enums/approval-rule-approver-type.mjs';
|
|
9
|
+
import '../enums/approval-rule-condition.mjs';
|
|
10
|
+
import '../enums/approval-rule-effect.mjs';
|
|
11
|
+
import '../enums/approval-rule-create-request-approver-type.mjs';
|
|
12
|
+
import '../enums/approval-rule-create-request-condition.mjs';
|
|
13
|
+
import '../enums/approval-rule-create-request-effect.mjs';
|
|
14
|
+
import '../enums/approval-rule-update-request-approver-type.mjs';
|
|
15
|
+
import '../enums/approval-rule-update-request-condition.mjs';
|
|
16
|
+
import '../enums/approval-rule-update-request-effect.mjs';
|
|
8
17
|
import '../enums/assets-source.mjs';
|
|
9
18
|
import '../enums/attribute-value-bucket.mjs';
|
|
10
19
|
import '../enums/auth-mail-source.mjs';
|
|
@@ -118,6 +127,8 @@ import '../enums/payment-term-tone.mjs';
|
|
|
118
127
|
import '../enums/payment-term-create-request-tone.mjs';
|
|
119
128
|
import '../enums/payment-term-update-request-tone.mjs';
|
|
120
129
|
import '../enums/payment-vocabulary-tone.mjs';
|
|
130
|
+
import '../enums/pending-approval-approver-type.mjs';
|
|
131
|
+
import '../enums/pending-approval-status.mjs';
|
|
121
132
|
import '../enums/price-ending-rule.mjs';
|
|
122
133
|
import '../enums/price-entries-adjust-response-rounding.mjs';
|
|
123
134
|
import '../enums/price-entries-adjust-response-rounding-mode.mjs';
|
|
@@ -140,6 +151,11 @@ import '../enums/product-grid-column-source.mjs';
|
|
|
140
151
|
import '../enums/product-label-source.mjs';
|
|
141
152
|
import '../enums/product-label-attribute-source.mjs';
|
|
142
153
|
import '../enums/products-kind.mjs';
|
|
154
|
+
import '../enums/purchase-request-status.mjs';
|
|
155
|
+
import '../enums/purchase-request-event-name.mjs';
|
|
156
|
+
import '../enums/purchase-request-item-type.mjs';
|
|
157
|
+
import '../enums/purchase-request-item-create-request-type.mjs';
|
|
158
|
+
import '../enums/purchase-request-item-update-request-type.mjs';
|
|
143
159
|
import '../enums/reorder-point-source.mjs';
|
|
144
160
|
import '../enums/reservation-status.mjs';
|
|
145
161
|
import '../enums/price-on-request-reason.mjs';
|
|
@@ -177,6 +193,8 @@ import '../enums/shipping-weight-unit-row-tone.mjs';
|
|
|
177
193
|
import '../enums/shipping-weight-unit-update-request-tone.mjs';
|
|
178
194
|
import '../enums/stock-movement-type.mjs';
|
|
179
195
|
import '../enums/store-asset-request-visibility.mjs';
|
|
196
|
+
import '../enums/submit-item-type.mjs';
|
|
197
|
+
import '../enums/submit-result-outcome.mjs';
|
|
180
198
|
import '../enums/validation-failed-response-status.mjs';
|
|
181
199
|
import '../enums/vocabulary-default-tone.mjs';
|
|
182
200
|
import '../enums/vocabulary-source.mjs';
|
|
@@ -257,20 +275,20 @@ declare class PagesEditor {
|
|
|
257
275
|
*
|
|
258
276
|
* @param {object[]} params.items - The strings to translate. This app reads no element of the list — the provider defines the contract, and the blökkli adapter sends the fields below.
|
|
259
277
|
* @throws {RevenexxException}
|
|
260
|
-
* @returns {Promise<
|
|
278
|
+
* @returns {Promise<{}>}
|
|
261
279
|
*/
|
|
262
280
|
pagesEditorTranslate(params?: {
|
|
263
281
|
items?: object[];
|
|
264
|
-
}): Promise<
|
|
282
|
+
}): Promise<{}>;
|
|
265
283
|
/**
|
|
266
284
|
* The translation is the tenant's provider's, not this app's, and a tenant that has configured none gets no translation at all. The endpoint comes from the tenant setting `translate_endpoint` (PAGES_TRANSLATE_ENDPOINT remains a fallback). The bearer token does NOT: the gateway masks every setting flagged `sensitive`, so a key stored as one could never be read back — it stays the PAGES_TRANSLATE_KEY function secret. This app does not translate anything itself; it forwards `items` and hands the answer back.
|
|
267
285
|
*
|
|
268
286
|
* @param {object[]} items - The strings to translate. This app reads no element of the list — the provider defines the contract, and the blökkli adapter sends the fields below.
|
|
269
287
|
* @throws {RevenexxException}
|
|
270
|
-
* @returns {Promise<
|
|
288
|
+
* @returns {Promise<{}>}
|
|
271
289
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
272
290
|
*/
|
|
273
|
-
pagesEditorTranslate(items?: object[]): Promise<
|
|
291
|
+
pagesEditorTranslate(items?: object[]): Promise<{}>;
|
|
274
292
|
/**
|
|
275
293
|
* Per-user editor preferences — one row per user, scoped to this app. Not tenant configuration: nothing here changes what the API does, only how one person's editor looks.
|
|
276
294
|
*
|
|
@@ -426,13 +444,13 @@ declare class PagesEditor {
|
|
|
426
444
|
* @param {boolean} params.force - Publish despite violations. Without it a page with unresolved violations answers 422 and nothing is written.
|
|
427
445
|
* @param {string} params.label - What to call this publication in the page's history — "Autumn campaign" rather than a timestamp.
|
|
428
446
|
* @throws {RevenexxException}
|
|
429
|
-
* @returns {Promise<Models.
|
|
447
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
430
448
|
*/
|
|
431
449
|
pagesEditorPublish(params: {
|
|
432
450
|
pageId: string;
|
|
433
451
|
force?: boolean;
|
|
434
452
|
label?: string;
|
|
435
|
-
}): Promise<Models.
|
|
453
|
+
}): Promise<Models.MutationResponse>;
|
|
436
454
|
/**
|
|
437
455
|
* Four things in one call: the mutation log is replayed into a finished block tree, that tree is snapshotted into a new revision, the page's canonical blocks are replaced by it, and the edit state is archived — so the page comes out of this with nothing unpublished and the working copy behind it closed rather than deleted. The revision is written FIRST and the canonical blocks replaced after, so a failure mid-way leaves the page recoverable. Block uuids survive, which is why comments anchored to a block outlive the publish.
|
|
438
456
|
*
|
|
@@ -440,10 +458,10 @@ declare class PagesEditor {
|
|
|
440
458
|
* @param {boolean} force - Publish despite violations. Without it a page with unresolved violations answers 422 and nothing is written.
|
|
441
459
|
* @param {string} label - What to call this publication in the page's history — "Autumn campaign" rather than a timestamp.
|
|
442
460
|
* @throws {RevenexxException}
|
|
443
|
-
* @returns {Promise<Models.
|
|
461
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
444
462
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
445
463
|
*/
|
|
446
|
-
pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.
|
|
464
|
+
pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.MutationResponse>;
|
|
447
465
|
/**
|
|
448
466
|
* Throws the whole working copy away: the edit state row is deleted and its mutation log with it, so the history goes too — this is not an undo and cannot itself be undone. Unlike publishing, which archives the edit state, nothing of it survives to be reopened. The published page is untouched.
|
|
449
467
|
*
|
|
@@ -469,22 +487,22 @@ declare class PagesEditor {
|
|
|
469
487
|
* @param {string} params.pageId - The page being edited.
|
|
470
488
|
* @param {string} params.scheduledAt - The moment to publish at. Stored on the edit state and echoed back normalized to UTC.
|
|
471
489
|
* @throws {RevenexxException}
|
|
472
|
-
* @returns {Promise<
|
|
490
|
+
* @returns {Promise<{}>}
|
|
473
491
|
*/
|
|
474
492
|
pagesEditorSchedule(params: {
|
|
475
493
|
pageId: string;
|
|
476
494
|
scheduledAt: string;
|
|
477
|
-
}): Promise<
|
|
495
|
+
}): Promise<{}>;
|
|
478
496
|
/**
|
|
479
497
|
* Gated on the tenant setting `enable_scheduled_publishing`, which is off by default: nothing in the platform publishes a scheduled edit state yet, so a date accepted here would be a promise the app cannot keep. Every editor state carries `features.scheduledPublishing` so the control can be hidden rather than the refusal discovered.
|
|
480
498
|
*
|
|
481
499
|
* @param {string} pageId - The page being edited.
|
|
482
500
|
* @param {string} scheduledAt - The moment to publish at. Stored on the edit state and echoed back normalized to UTC.
|
|
483
501
|
* @throws {RevenexxException}
|
|
484
|
-
* @returns {Promise<
|
|
502
|
+
* @returns {Promise<{}>}
|
|
485
503
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
486
504
|
*/
|
|
487
|
-
pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<
|
|
505
|
+
pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<{}>;
|
|
488
506
|
/**
|
|
489
507
|
* The one call the visual editor boots on, and the only place the UNPUBLISHED page can be seen whole: the canonical blocks with every enabled mutation of the log replayed over them, the resulting field lists, the mutation history itself, who owns the edit state and where the undo pointer sits, and the tenant's editor feature flags. `langcode` decides which language the props resolve in, falling back to the page's source language. `index` replays the log up to a given position instead of the current one, which is how the editor previews an undo without performing it — it changes nothing, so it is safe to call at any position. Reading this creates nothing either: a page nobody has opened answers with a null `editState`, an empty history, and the published blocks as they stand.
|
|
490
508
|
*
|
|
@@ -540,7 +558,7 @@ declare class PagesEditor {
|
|
|
540
558
|
* @param {boolean} params.isDefault - Whether a new page of that type should start from this template.
|
|
541
559
|
* @param {string} params.pageBundle - The page type this template should be offered on. Omit to take the current page's own type.
|
|
542
560
|
* @throws {RevenexxException}
|
|
543
|
-
* @returns {Promise<Models.
|
|
561
|
+
* @returns {Promise<Models.Template>}
|
|
544
562
|
*/
|
|
545
563
|
pagesEditorTemplatesCreate(params: {
|
|
546
564
|
pageId: string;
|
|
@@ -550,7 +568,7 @@ declare class PagesEditor {
|
|
|
550
568
|
fieldName?: string;
|
|
551
569
|
isDefault?: boolean;
|
|
552
570
|
pageBundle?: string;
|
|
553
|
-
}): Promise<Models.
|
|
571
|
+
}): Promise<Models.Template>;
|
|
554
572
|
/**
|
|
555
573
|
* Freezes a selection into a reusable starting point. The blocks are read out of the page's CURRENT edit state rather than out of what is published, so a template can be cut from work in progress and the uuids you send are the ones the editor is showing. Unlike making a block reusable, this COPIES: pages later made from the template are independent of it and of each other.
|
|
556
574
|
*
|
|
@@ -562,10 +580,10 @@ declare class PagesEditor {
|
|
|
562
580
|
* @param {boolean} isDefault - Whether a new page of that type should start from this template.
|
|
563
581
|
* @param {string} pageBundle - The page type this template should be offered on. Omit to take the current page's own type.
|
|
564
582
|
* @throws {RevenexxException}
|
|
565
|
-
* @returns {Promise<Models.
|
|
583
|
+
* @returns {Promise<Models.Template>}
|
|
566
584
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
567
585
|
*/
|
|
568
|
-
pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.
|
|
586
|
+
pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.Template>;
|
|
569
587
|
/**
|
|
570
588
|
* Takes a parked edit state back to `active` and clears its date, so the scheduled publication simply does not happen. The work is not touched — the mutation log, the undo position and the owner all stay as they were — and the page can then be published by hand or scheduled again for a different date. Like every other write to an edit state it asks for ownership, and a page with no open edit state answers 404 rather than pretending to have cancelled something.
|
|
571
589
|
*
|
|
@@ -5,6 +5,15 @@ import '../query.js';
|
|
|
5
5
|
import '../enums/address-type-row-tone.js';
|
|
6
6
|
import '../enums/address-type-row-create-request-tone.js';
|
|
7
7
|
import '../enums/address-type-row-update-request-tone.js';
|
|
8
|
+
import '../enums/approval-rule-approver-type.js';
|
|
9
|
+
import '../enums/approval-rule-condition.js';
|
|
10
|
+
import '../enums/approval-rule-effect.js';
|
|
11
|
+
import '../enums/approval-rule-create-request-approver-type.js';
|
|
12
|
+
import '../enums/approval-rule-create-request-condition.js';
|
|
13
|
+
import '../enums/approval-rule-create-request-effect.js';
|
|
14
|
+
import '../enums/approval-rule-update-request-approver-type.js';
|
|
15
|
+
import '../enums/approval-rule-update-request-condition.js';
|
|
16
|
+
import '../enums/approval-rule-update-request-effect.js';
|
|
8
17
|
import '../enums/assets-source.js';
|
|
9
18
|
import '../enums/attribute-value-bucket.js';
|
|
10
19
|
import '../enums/auth-mail-source.js';
|
|
@@ -118,6 +127,8 @@ import '../enums/payment-term-tone.js';
|
|
|
118
127
|
import '../enums/payment-term-create-request-tone.js';
|
|
119
128
|
import '../enums/payment-term-update-request-tone.js';
|
|
120
129
|
import '../enums/payment-vocabulary-tone.js';
|
|
130
|
+
import '../enums/pending-approval-approver-type.js';
|
|
131
|
+
import '../enums/pending-approval-status.js';
|
|
121
132
|
import '../enums/price-ending-rule.js';
|
|
122
133
|
import '../enums/price-entries-adjust-response-rounding.js';
|
|
123
134
|
import '../enums/price-entries-adjust-response-rounding-mode.js';
|
|
@@ -140,6 +151,11 @@ import '../enums/product-grid-column-source.js';
|
|
|
140
151
|
import '../enums/product-label-source.js';
|
|
141
152
|
import '../enums/product-label-attribute-source.js';
|
|
142
153
|
import '../enums/products-kind.js';
|
|
154
|
+
import '../enums/purchase-request-status.js';
|
|
155
|
+
import '../enums/purchase-request-event-name.js';
|
|
156
|
+
import '../enums/purchase-request-item-type.js';
|
|
157
|
+
import '../enums/purchase-request-item-create-request-type.js';
|
|
158
|
+
import '../enums/purchase-request-item-update-request-type.js';
|
|
143
159
|
import '../enums/reorder-point-source.js';
|
|
144
160
|
import '../enums/reservation-status.js';
|
|
145
161
|
import '../enums/price-on-request-reason.js';
|
|
@@ -177,6 +193,8 @@ import '../enums/shipping-weight-unit-row-tone.js';
|
|
|
177
193
|
import '../enums/shipping-weight-unit-update-request-tone.js';
|
|
178
194
|
import '../enums/stock-movement-type.js';
|
|
179
195
|
import '../enums/store-asset-request-visibility.js';
|
|
196
|
+
import '../enums/submit-item-type.js';
|
|
197
|
+
import '../enums/submit-result-outcome.js';
|
|
180
198
|
import '../enums/validation-failed-response-status.js';
|
|
181
199
|
import '../enums/vocabulary-default-tone.js';
|
|
182
200
|
import '../enums/vocabulary-source.js';
|
|
@@ -257,20 +275,20 @@ declare class PagesEditor {
|
|
|
257
275
|
*
|
|
258
276
|
* @param {object[]} params.items - The strings to translate. This app reads no element of the list — the provider defines the contract, and the blökkli adapter sends the fields below.
|
|
259
277
|
* @throws {RevenexxException}
|
|
260
|
-
* @returns {Promise<
|
|
278
|
+
* @returns {Promise<{}>}
|
|
261
279
|
*/
|
|
262
280
|
pagesEditorTranslate(params?: {
|
|
263
281
|
items?: object[];
|
|
264
|
-
}): Promise<
|
|
282
|
+
}): Promise<{}>;
|
|
265
283
|
/**
|
|
266
284
|
* The translation is the tenant's provider's, not this app's, and a tenant that has configured none gets no translation at all. The endpoint comes from the tenant setting `translate_endpoint` (PAGES_TRANSLATE_ENDPOINT remains a fallback). The bearer token does NOT: the gateway masks every setting flagged `sensitive`, so a key stored as one could never be read back — it stays the PAGES_TRANSLATE_KEY function secret. This app does not translate anything itself; it forwards `items` and hands the answer back.
|
|
267
285
|
*
|
|
268
286
|
* @param {object[]} items - The strings to translate. This app reads no element of the list — the provider defines the contract, and the blökkli adapter sends the fields below.
|
|
269
287
|
* @throws {RevenexxException}
|
|
270
|
-
* @returns {Promise<
|
|
288
|
+
* @returns {Promise<{}>}
|
|
271
289
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
272
290
|
*/
|
|
273
|
-
pagesEditorTranslate(items?: object[]): Promise<
|
|
291
|
+
pagesEditorTranslate(items?: object[]): Promise<{}>;
|
|
274
292
|
/**
|
|
275
293
|
* Per-user editor preferences — one row per user, scoped to this app. Not tenant configuration: nothing here changes what the API does, only how one person's editor looks.
|
|
276
294
|
*
|
|
@@ -426,13 +444,13 @@ declare class PagesEditor {
|
|
|
426
444
|
* @param {boolean} params.force - Publish despite violations. Without it a page with unresolved violations answers 422 and nothing is written.
|
|
427
445
|
* @param {string} params.label - What to call this publication in the page's history — "Autumn campaign" rather than a timestamp.
|
|
428
446
|
* @throws {RevenexxException}
|
|
429
|
-
* @returns {Promise<Models.
|
|
447
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
430
448
|
*/
|
|
431
449
|
pagesEditorPublish(params: {
|
|
432
450
|
pageId: string;
|
|
433
451
|
force?: boolean;
|
|
434
452
|
label?: string;
|
|
435
|
-
}): Promise<Models.
|
|
453
|
+
}): Promise<Models.MutationResponse>;
|
|
436
454
|
/**
|
|
437
455
|
* Four things in one call: the mutation log is replayed into a finished block tree, that tree is snapshotted into a new revision, the page's canonical blocks are replaced by it, and the edit state is archived — so the page comes out of this with nothing unpublished and the working copy behind it closed rather than deleted. The revision is written FIRST and the canonical blocks replaced after, so a failure mid-way leaves the page recoverable. Block uuids survive, which is why comments anchored to a block outlive the publish.
|
|
438
456
|
*
|
|
@@ -440,10 +458,10 @@ declare class PagesEditor {
|
|
|
440
458
|
* @param {boolean} force - Publish despite violations. Without it a page with unresolved violations answers 422 and nothing is written.
|
|
441
459
|
* @param {string} label - What to call this publication in the page's history — "Autumn campaign" rather than a timestamp.
|
|
442
460
|
* @throws {RevenexxException}
|
|
443
|
-
* @returns {Promise<Models.
|
|
461
|
+
* @returns {Promise<Models.MutationResponse>}
|
|
444
462
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
445
463
|
*/
|
|
446
|
-
pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.
|
|
464
|
+
pagesEditorPublish(pageId: string, force?: boolean, label?: string): Promise<Models.MutationResponse>;
|
|
447
465
|
/**
|
|
448
466
|
* Throws the whole working copy away: the edit state row is deleted and its mutation log with it, so the history goes too — this is not an undo and cannot itself be undone. Unlike publishing, which archives the edit state, nothing of it survives to be reopened. The published page is untouched.
|
|
449
467
|
*
|
|
@@ -469,22 +487,22 @@ declare class PagesEditor {
|
|
|
469
487
|
* @param {string} params.pageId - The page being edited.
|
|
470
488
|
* @param {string} params.scheduledAt - The moment to publish at. Stored on the edit state and echoed back normalized to UTC.
|
|
471
489
|
* @throws {RevenexxException}
|
|
472
|
-
* @returns {Promise<
|
|
490
|
+
* @returns {Promise<{}>}
|
|
473
491
|
*/
|
|
474
492
|
pagesEditorSchedule(params: {
|
|
475
493
|
pageId: string;
|
|
476
494
|
scheduledAt: string;
|
|
477
|
-
}): Promise<
|
|
495
|
+
}): Promise<{}>;
|
|
478
496
|
/**
|
|
479
497
|
* Gated on the tenant setting `enable_scheduled_publishing`, which is off by default: nothing in the platform publishes a scheduled edit state yet, so a date accepted here would be a promise the app cannot keep. Every editor state carries `features.scheduledPublishing` so the control can be hidden rather than the refusal discovered.
|
|
480
498
|
*
|
|
481
499
|
* @param {string} pageId - The page being edited.
|
|
482
500
|
* @param {string} scheduledAt - The moment to publish at. Stored on the edit state and echoed back normalized to UTC.
|
|
483
501
|
* @throws {RevenexxException}
|
|
484
|
-
* @returns {Promise<
|
|
502
|
+
* @returns {Promise<{}>}
|
|
485
503
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
486
504
|
*/
|
|
487
|
-
pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<
|
|
505
|
+
pagesEditorSchedule(pageId: string, scheduledAt: string): Promise<{}>;
|
|
488
506
|
/**
|
|
489
507
|
* The one call the visual editor boots on, and the only place the UNPUBLISHED page can be seen whole: the canonical blocks with every enabled mutation of the log replayed over them, the resulting field lists, the mutation history itself, who owns the edit state and where the undo pointer sits, and the tenant's editor feature flags. `langcode` decides which language the props resolve in, falling back to the page's source language. `index` replays the log up to a given position instead of the current one, which is how the editor previews an undo without performing it — it changes nothing, so it is safe to call at any position. Reading this creates nothing either: a page nobody has opened answers with a null `editState`, an empty history, and the published blocks as they stand.
|
|
490
508
|
*
|
|
@@ -540,7 +558,7 @@ declare class PagesEditor {
|
|
|
540
558
|
* @param {boolean} params.isDefault - Whether a new page of that type should start from this template.
|
|
541
559
|
* @param {string} params.pageBundle - The page type this template should be offered on. Omit to take the current page's own type.
|
|
542
560
|
* @throws {RevenexxException}
|
|
543
|
-
* @returns {Promise<Models.
|
|
561
|
+
* @returns {Promise<Models.Template>}
|
|
544
562
|
*/
|
|
545
563
|
pagesEditorTemplatesCreate(params: {
|
|
546
564
|
pageId: string;
|
|
@@ -550,7 +568,7 @@ declare class PagesEditor {
|
|
|
550
568
|
fieldName?: string;
|
|
551
569
|
isDefault?: boolean;
|
|
552
570
|
pageBundle?: string;
|
|
553
|
-
}): Promise<Models.
|
|
571
|
+
}): Promise<Models.Template>;
|
|
554
572
|
/**
|
|
555
573
|
* Freezes a selection into a reusable starting point. The blocks are read out of the page's CURRENT edit state rather than out of what is published, so a template can be cut from work in progress and the uuids you send are the ones the editor is showing. Unlike making a block reusable, this COPIES: pages later made from the template are independent of it and of each other.
|
|
556
574
|
*
|
|
@@ -562,10 +580,10 @@ declare class PagesEditor {
|
|
|
562
580
|
* @param {boolean} isDefault - Whether a new page of that type should start from this template.
|
|
563
581
|
* @param {string} pageBundle - The page type this template should be offered on. Omit to take the current page's own type.
|
|
564
582
|
* @throws {RevenexxException}
|
|
565
|
-
* @returns {Promise<Models.
|
|
583
|
+
* @returns {Promise<Models.Template>}
|
|
566
584
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
567
585
|
*/
|
|
568
|
-
pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.
|
|
586
|
+
pagesEditorTemplatesCreate(pageId: string, label: string, uuids: string[], description?: string, fieldName?: string, isDefault?: boolean, pageBundle?: string): Promise<Models.Template>;
|
|
569
587
|
/**
|
|
570
588
|
* Takes a parked edit state back to `active` and clears its date, so the scheduled publication simply does not happen. The work is not touched — the mutation log, the undo position and the owner all stay as they were — and the page can then be published by hand or scheduled again for a different date. Like every other write to an edit state it asks for ownership, and a page with no open edit state answers 404 rather than pretending to have cancelled something.
|
|
571
589
|
*
|