@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
|
@@ -4,6 +4,15 @@ import '../query.mjs';
|
|
|
4
4
|
import '../enums/address-type-row-tone.mjs';
|
|
5
5
|
import '../enums/address-type-row-create-request-tone.mjs';
|
|
6
6
|
import '../enums/address-type-row-update-request-tone.mjs';
|
|
7
|
+
import '../enums/approval-rule-approver-type.mjs';
|
|
8
|
+
import '../enums/approval-rule-condition.mjs';
|
|
9
|
+
import '../enums/approval-rule-effect.mjs';
|
|
10
|
+
import '../enums/approval-rule-create-request-approver-type.mjs';
|
|
11
|
+
import '../enums/approval-rule-create-request-condition.mjs';
|
|
12
|
+
import '../enums/approval-rule-create-request-effect.mjs';
|
|
13
|
+
import '../enums/approval-rule-update-request-approver-type.mjs';
|
|
14
|
+
import '../enums/approval-rule-update-request-condition.mjs';
|
|
15
|
+
import '../enums/approval-rule-update-request-effect.mjs';
|
|
7
16
|
import '../enums/assets-source.mjs';
|
|
8
17
|
import '../enums/attribute-value-bucket.mjs';
|
|
9
18
|
import '../enums/auth-mail-source.mjs';
|
|
@@ -117,6 +126,8 @@ import '../enums/payment-term-tone.mjs';
|
|
|
117
126
|
import '../enums/payment-term-create-request-tone.mjs';
|
|
118
127
|
import '../enums/payment-term-update-request-tone.mjs';
|
|
119
128
|
import '../enums/payment-vocabulary-tone.mjs';
|
|
129
|
+
import '../enums/pending-approval-approver-type.mjs';
|
|
130
|
+
import '../enums/pending-approval-status.mjs';
|
|
120
131
|
import '../enums/price-ending-rule.mjs';
|
|
121
132
|
import '../enums/price-entries-adjust-response-rounding.mjs';
|
|
122
133
|
import '../enums/price-entries-adjust-response-rounding-mode.mjs';
|
|
@@ -139,6 +150,11 @@ import '../enums/product-grid-column-source.mjs';
|
|
|
139
150
|
import '../enums/product-label-source.mjs';
|
|
140
151
|
import '../enums/product-label-attribute-source.mjs';
|
|
141
152
|
import '../enums/products-kind.mjs';
|
|
153
|
+
import '../enums/purchase-request-status.mjs';
|
|
154
|
+
import '../enums/purchase-request-event-name.mjs';
|
|
155
|
+
import '../enums/purchase-request-item-type.mjs';
|
|
156
|
+
import '../enums/purchase-request-item-create-request-type.mjs';
|
|
157
|
+
import '../enums/purchase-request-item-update-request-type.mjs';
|
|
142
158
|
import '../enums/reorder-point-source.mjs';
|
|
143
159
|
import '../enums/reservation-status.mjs';
|
|
144
160
|
import '../enums/price-on-request-reason.mjs';
|
|
@@ -176,6 +192,8 @@ import '../enums/shipping-weight-unit-row-tone.mjs';
|
|
|
176
192
|
import '../enums/shipping-weight-unit-update-request-tone.mjs';
|
|
177
193
|
import '../enums/stock-movement-type.mjs';
|
|
178
194
|
import '../enums/store-asset-request-visibility.mjs';
|
|
195
|
+
import '../enums/submit-item-type.mjs';
|
|
196
|
+
import '../enums/submit-result-outcome.mjs';
|
|
179
197
|
import '../enums/validation-failed-response-status.mjs';
|
|
180
198
|
import '../enums/vocabulary-default-tone.mjs';
|
|
181
199
|
import '../enums/vocabulary-source.mjs';
|
|
@@ -288,13 +306,13 @@ declare class ProductsReferences {
|
|
|
288
306
|
* @param {string} params.image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
289
307
|
* @param {object} params.labels - What the entity is called, per language tag — the heading over its record list.
|
|
290
308
|
* @throws {RevenexxException}
|
|
291
|
-
* @returns {Promise<Models.
|
|
309
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
292
310
|
*/
|
|
293
311
|
productsReferenceEntitiesCreate(params: {
|
|
294
312
|
code: string;
|
|
295
313
|
image?: string;
|
|
296
314
|
labels?: object;
|
|
297
|
-
}): Promise<Models.
|
|
315
|
+
}): Promise<Models.ReferenceEntities>;
|
|
298
316
|
/**
|
|
299
317
|
* Creates one reference entity and answers 201 with the stored row, including the id and the timestamps the database filled in — a client never sends an id, it reads one back and uses it in the path of every later call.
|
|
300
318
|
*
|
|
@@ -306,10 +324,10 @@ declare class ProductsReferences {
|
|
|
306
324
|
* @param {string} image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
307
325
|
* @param {object} labels - What the entity is called, per language tag — the heading over its record list.
|
|
308
326
|
* @throws {RevenexxException}
|
|
309
|
-
* @returns {Promise<Models.
|
|
327
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
310
328
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
311
329
|
*/
|
|
312
|
-
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.
|
|
330
|
+
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
313
331
|
/**
|
|
314
332
|
* Deletes one reference entity by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
315
333
|
*
|
|
@@ -319,11 +337,11 @@ declare class ProductsReferences {
|
|
|
319
337
|
*
|
|
320
338
|
* @param {string} params.id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
321
339
|
* @throws {RevenexxException}
|
|
322
|
-
* @returns {Promise<
|
|
340
|
+
* @returns {Promise<{}>}
|
|
323
341
|
*/
|
|
324
342
|
productsReferenceEntitiesDelete(params: {
|
|
325
343
|
id: string;
|
|
326
|
-
}): Promise<
|
|
344
|
+
}): Promise<{}>;
|
|
327
345
|
/**
|
|
328
346
|
* Deletes one reference entity by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
329
347
|
*
|
|
@@ -333,10 +351,10 @@ declare class ProductsReferences {
|
|
|
333
351
|
*
|
|
334
352
|
* @param {string} id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
335
353
|
* @throws {RevenexxException}
|
|
336
|
-
* @returns {Promise<
|
|
354
|
+
* @returns {Promise<{}>}
|
|
337
355
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
338
356
|
*/
|
|
339
|
-
productsReferenceEntitiesDelete(id: string): Promise<
|
|
357
|
+
productsReferenceEntitiesDelete(id: string): Promise<{}>;
|
|
340
358
|
/**
|
|
341
359
|
* Reads one reference entity by its id — the whole row, every column, as it is stored.
|
|
342
360
|
*
|
|
@@ -348,11 +366,11 @@ declare class ProductsReferences {
|
|
|
348
366
|
*
|
|
349
367
|
* @param {string} params.id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
350
368
|
* @throws {RevenexxException}
|
|
351
|
-
* @returns {Promise<Models.
|
|
369
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
352
370
|
*/
|
|
353
371
|
productsReferenceEntitiesGet(params: {
|
|
354
372
|
id: string;
|
|
355
|
-
}): Promise<Models.
|
|
373
|
+
}): Promise<Models.ReferenceEntities>;
|
|
356
374
|
/**
|
|
357
375
|
* Reads one reference entity by its id — the whole row, every column, as it is stored.
|
|
358
376
|
*
|
|
@@ -364,10 +382,10 @@ declare class ProductsReferences {
|
|
|
364
382
|
*
|
|
365
383
|
* @param {string} id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
366
384
|
* @throws {RevenexxException}
|
|
367
|
-
* @returns {Promise<Models.
|
|
385
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
368
386
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
369
387
|
*/
|
|
370
|
-
productsReferenceEntitiesGet(id: string): Promise<Models.
|
|
388
|
+
productsReferenceEntitiesGet(id: string): Promise<Models.ReferenceEntities>;
|
|
371
389
|
/**
|
|
372
390
|
* Updates one reference entity by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
373
391
|
*
|
|
@@ -380,14 +398,14 @@ declare class ProductsReferences {
|
|
|
380
398
|
* @param {string} params.image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
381
399
|
* @param {object} params.labels - What the entity is called, per language tag — the heading over its record list.
|
|
382
400
|
* @throws {RevenexxException}
|
|
383
|
-
* @returns {Promise<Models.
|
|
401
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
384
402
|
*/
|
|
385
403
|
productsReferenceEntitiesUpdate(params: {
|
|
386
404
|
id: string;
|
|
387
405
|
code?: string;
|
|
388
406
|
image?: string;
|
|
389
407
|
labels?: object;
|
|
390
|
-
}): Promise<Models.
|
|
408
|
+
}): Promise<Models.ReferenceEntities>;
|
|
391
409
|
/**
|
|
392
410
|
* Updates one reference entity by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
393
411
|
*
|
|
@@ -400,10 +418,10 @@ declare class ProductsReferences {
|
|
|
400
418
|
* @param {string} image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
401
419
|
* @param {object} labels - What the entity is called, per language tag — the heading over its record list.
|
|
402
420
|
* @throws {RevenexxException}
|
|
403
|
-
* @returns {Promise<Models.
|
|
421
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
404
422
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
405
423
|
*/
|
|
406
|
-
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.
|
|
424
|
+
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
407
425
|
/**
|
|
408
426
|
* One record of a reference entity — one brand, one manufacturer. A product that points at it stores this record's CODE, exactly the way a select stores an option code, and the record's own properties live in its scoped `attribute_values` document. `GET /products/attribute-schema` offers these records as the `options` of any attribute that points at their entity, so a picker needs no second call.
|
|
409
427
|
*
|
|
@@ -489,14 +507,14 @@ Defaults to `{}`, and an empty object is a normal state — a record nobody has
|
|
|
489
507
|
Which attributes a record of this entity has comes from `attributes` rows with `entity_type: "reference_entity"` and `entity_ref` equal to the entity's code — `GET /products/attribute-schema?entity_type=reference_entity&entity_ref=brand` answers it in one call.
|
|
490
508
|
* @param {object} params.labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
491
509
|
* @throws {RevenexxException}
|
|
492
|
-
* @returns {Promise<Models.
|
|
510
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
493
511
|
*/
|
|
494
512
|
productsReferenceEntityRecordsCreate(params: {
|
|
495
513
|
code: string;
|
|
496
514
|
referenceEntityId: string;
|
|
497
515
|
attributeValues?: object;
|
|
498
516
|
labels?: object;
|
|
499
|
-
}): Promise<Models.
|
|
517
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
500
518
|
/**
|
|
501
519
|
* Creates one reference entity record and answers 201 with the stored row, including the id and the timestamps the database filled in — a client never sends an id, it reads one back and uses it in the path of every later call.
|
|
502
520
|
*
|
|
@@ -528,10 +546,10 @@ Defaults to `{}`, and an empty object is a normal state — a record nobody has
|
|
|
528
546
|
Which attributes a record of this entity has comes from `attributes` rows with `entity_type: "reference_entity"` and `entity_ref` equal to the entity's code — `GET /products/attribute-schema?entity_type=reference_entity&entity_ref=brand` answers it in one call.
|
|
529
547
|
* @param {object} labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
530
548
|
* @throws {RevenexxException}
|
|
531
|
-
* @returns {Promise<Models.
|
|
549
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
532
550
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
533
551
|
*/
|
|
534
|
-
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.
|
|
552
|
+
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.ReferenceEntityRecords>;
|
|
535
553
|
/**
|
|
536
554
|
* Deletes one reference entity record by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
537
555
|
*
|
|
@@ -541,11 +559,11 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
541
559
|
*
|
|
542
560
|
* @param {string} params.id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
543
561
|
* @throws {RevenexxException}
|
|
544
|
-
* @returns {Promise<
|
|
562
|
+
* @returns {Promise<{}>}
|
|
545
563
|
*/
|
|
546
564
|
productsReferenceEntityRecordsDelete(params: {
|
|
547
565
|
id: string;
|
|
548
|
-
}): Promise<
|
|
566
|
+
}): Promise<{}>;
|
|
549
567
|
/**
|
|
550
568
|
* Deletes one reference entity record by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
551
569
|
*
|
|
@@ -555,10 +573,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
555
573
|
*
|
|
556
574
|
* @param {string} id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
557
575
|
* @throws {RevenexxException}
|
|
558
|
-
* @returns {Promise<
|
|
576
|
+
* @returns {Promise<{}>}
|
|
559
577
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
560
578
|
*/
|
|
561
|
-
productsReferenceEntityRecordsDelete(id: string): Promise<
|
|
579
|
+
productsReferenceEntityRecordsDelete(id: string): Promise<{}>;
|
|
562
580
|
/**
|
|
563
581
|
* Reads one reference entity record by its id — the whole row, every column, as it is stored.
|
|
564
582
|
*
|
|
@@ -570,11 +588,11 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
570
588
|
*
|
|
571
589
|
* @param {string} params.id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
572
590
|
* @throws {RevenexxException}
|
|
573
|
-
* @returns {Promise<Models.
|
|
591
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
574
592
|
*/
|
|
575
593
|
productsReferenceEntityRecordsGet(params: {
|
|
576
594
|
id: string;
|
|
577
|
-
}): Promise<Models.
|
|
595
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
578
596
|
/**
|
|
579
597
|
* Reads one reference entity record by its id — the whole row, every column, as it is stored.
|
|
580
598
|
*
|
|
@@ -586,10 +604,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
586
604
|
*
|
|
587
605
|
* @param {string} id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
588
606
|
* @throws {RevenexxException}
|
|
589
|
-
* @returns {Promise<Models.
|
|
607
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
590
608
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
591
609
|
*/
|
|
592
|
-
productsReferenceEntityRecordsGet(id: string): Promise<Models.
|
|
610
|
+
productsReferenceEntityRecordsGet(id: string): Promise<Models.ReferenceEntityRecords>;
|
|
593
611
|
/**
|
|
594
612
|
* Updates one reference entity record by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
595
613
|
*
|
|
@@ -622,7 +640,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
622
640
|
* @param {object} params.labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
623
641
|
* @param {string} params.referenceEntityId - Which reference entity this record belongs to.
|
|
624
642
|
* @throws {RevenexxException}
|
|
625
|
-
* @returns {Promise<Models.
|
|
643
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
626
644
|
*/
|
|
627
645
|
productsReferenceEntityRecordsUpdate(params: {
|
|
628
646
|
id: string;
|
|
@@ -630,7 +648,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
630
648
|
code?: string;
|
|
631
649
|
labels?: object;
|
|
632
650
|
referenceEntityId?: string;
|
|
633
|
-
}): Promise<Models.
|
|
651
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
634
652
|
/**
|
|
635
653
|
* Updates one reference entity record by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
636
654
|
*
|
|
@@ -663,10 +681,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
663
681
|
* @param {object} labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
664
682
|
* @param {string} referenceEntityId - Which reference entity this record belongs to.
|
|
665
683
|
* @throws {RevenexxException}
|
|
666
|
-
* @returns {Promise<Models.
|
|
684
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
667
685
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
668
686
|
*/
|
|
669
|
-
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.
|
|
687
|
+
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.ReferenceEntityRecords>;
|
|
670
688
|
}
|
|
671
689
|
|
|
672
690
|
export { ProductsReferences };
|
|
@@ -4,6 +4,15 @@ import '../query.js';
|
|
|
4
4
|
import '../enums/address-type-row-tone.js';
|
|
5
5
|
import '../enums/address-type-row-create-request-tone.js';
|
|
6
6
|
import '../enums/address-type-row-update-request-tone.js';
|
|
7
|
+
import '../enums/approval-rule-approver-type.js';
|
|
8
|
+
import '../enums/approval-rule-condition.js';
|
|
9
|
+
import '../enums/approval-rule-effect.js';
|
|
10
|
+
import '../enums/approval-rule-create-request-approver-type.js';
|
|
11
|
+
import '../enums/approval-rule-create-request-condition.js';
|
|
12
|
+
import '../enums/approval-rule-create-request-effect.js';
|
|
13
|
+
import '../enums/approval-rule-update-request-approver-type.js';
|
|
14
|
+
import '../enums/approval-rule-update-request-condition.js';
|
|
15
|
+
import '../enums/approval-rule-update-request-effect.js';
|
|
7
16
|
import '../enums/assets-source.js';
|
|
8
17
|
import '../enums/attribute-value-bucket.js';
|
|
9
18
|
import '../enums/auth-mail-source.js';
|
|
@@ -117,6 +126,8 @@ import '../enums/payment-term-tone.js';
|
|
|
117
126
|
import '../enums/payment-term-create-request-tone.js';
|
|
118
127
|
import '../enums/payment-term-update-request-tone.js';
|
|
119
128
|
import '../enums/payment-vocabulary-tone.js';
|
|
129
|
+
import '../enums/pending-approval-approver-type.js';
|
|
130
|
+
import '../enums/pending-approval-status.js';
|
|
120
131
|
import '../enums/price-ending-rule.js';
|
|
121
132
|
import '../enums/price-entries-adjust-response-rounding.js';
|
|
122
133
|
import '../enums/price-entries-adjust-response-rounding-mode.js';
|
|
@@ -139,6 +150,11 @@ import '../enums/product-grid-column-source.js';
|
|
|
139
150
|
import '../enums/product-label-source.js';
|
|
140
151
|
import '../enums/product-label-attribute-source.js';
|
|
141
152
|
import '../enums/products-kind.js';
|
|
153
|
+
import '../enums/purchase-request-status.js';
|
|
154
|
+
import '../enums/purchase-request-event-name.js';
|
|
155
|
+
import '../enums/purchase-request-item-type.js';
|
|
156
|
+
import '../enums/purchase-request-item-create-request-type.js';
|
|
157
|
+
import '../enums/purchase-request-item-update-request-type.js';
|
|
142
158
|
import '../enums/reorder-point-source.js';
|
|
143
159
|
import '../enums/reservation-status.js';
|
|
144
160
|
import '../enums/price-on-request-reason.js';
|
|
@@ -176,6 +192,8 @@ import '../enums/shipping-weight-unit-row-tone.js';
|
|
|
176
192
|
import '../enums/shipping-weight-unit-update-request-tone.js';
|
|
177
193
|
import '../enums/stock-movement-type.js';
|
|
178
194
|
import '../enums/store-asset-request-visibility.js';
|
|
195
|
+
import '../enums/submit-item-type.js';
|
|
196
|
+
import '../enums/submit-result-outcome.js';
|
|
179
197
|
import '../enums/validation-failed-response-status.js';
|
|
180
198
|
import '../enums/vocabulary-default-tone.js';
|
|
181
199
|
import '../enums/vocabulary-source.js';
|
|
@@ -288,13 +306,13 @@ declare class ProductsReferences {
|
|
|
288
306
|
* @param {string} params.image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
289
307
|
* @param {object} params.labels - What the entity is called, per language tag — the heading over its record list.
|
|
290
308
|
* @throws {RevenexxException}
|
|
291
|
-
* @returns {Promise<Models.
|
|
309
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
292
310
|
*/
|
|
293
311
|
productsReferenceEntitiesCreate(params: {
|
|
294
312
|
code: string;
|
|
295
313
|
image?: string;
|
|
296
314
|
labels?: object;
|
|
297
|
-
}): Promise<Models.
|
|
315
|
+
}): Promise<Models.ReferenceEntities>;
|
|
298
316
|
/**
|
|
299
317
|
* Creates one reference entity and answers 201 with the stored row, including the id and the timestamps the database filled in — a client never sends an id, it reads one back and uses it in the path of every later call.
|
|
300
318
|
*
|
|
@@ -306,10 +324,10 @@ declare class ProductsReferences {
|
|
|
306
324
|
* @param {string} image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
307
325
|
* @param {object} labels - What the entity is called, per language tag — the heading over its record list.
|
|
308
326
|
* @throws {RevenexxException}
|
|
309
|
-
* @returns {Promise<Models.
|
|
327
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
310
328
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
311
329
|
*/
|
|
312
|
-
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.
|
|
330
|
+
productsReferenceEntitiesCreate(code: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
313
331
|
/**
|
|
314
332
|
* Deletes one reference entity by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
315
333
|
*
|
|
@@ -319,11 +337,11 @@ declare class ProductsReferences {
|
|
|
319
337
|
*
|
|
320
338
|
* @param {string} params.id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
321
339
|
* @throws {RevenexxException}
|
|
322
|
-
* @returns {Promise<
|
|
340
|
+
* @returns {Promise<{}>}
|
|
323
341
|
*/
|
|
324
342
|
productsReferenceEntitiesDelete(params: {
|
|
325
343
|
id: string;
|
|
326
|
-
}): Promise<
|
|
344
|
+
}): Promise<{}>;
|
|
327
345
|
/**
|
|
328
346
|
* Deletes one reference entity by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
329
347
|
*
|
|
@@ -333,10 +351,10 @@ declare class ProductsReferences {
|
|
|
333
351
|
*
|
|
334
352
|
* @param {string} id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
335
353
|
* @throws {RevenexxException}
|
|
336
|
-
* @returns {Promise<
|
|
354
|
+
* @returns {Promise<{}>}
|
|
337
355
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
338
356
|
*/
|
|
339
|
-
productsReferenceEntitiesDelete(id: string): Promise<
|
|
357
|
+
productsReferenceEntitiesDelete(id: string): Promise<{}>;
|
|
340
358
|
/**
|
|
341
359
|
* Reads one reference entity by its id — the whole row, every column, as it is stored.
|
|
342
360
|
*
|
|
@@ -348,11 +366,11 @@ declare class ProductsReferences {
|
|
|
348
366
|
*
|
|
349
367
|
* @param {string} params.id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
350
368
|
* @throws {RevenexxException}
|
|
351
|
-
* @returns {Promise<Models.
|
|
369
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
352
370
|
*/
|
|
353
371
|
productsReferenceEntitiesGet(params: {
|
|
354
372
|
id: string;
|
|
355
|
-
}): Promise<Models.
|
|
373
|
+
}): Promise<Models.ReferenceEntities>;
|
|
356
374
|
/**
|
|
357
375
|
* Reads one reference entity by its id — the whole row, every column, as it is stored.
|
|
358
376
|
*
|
|
@@ -364,10 +382,10 @@ declare class ProductsReferences {
|
|
|
364
382
|
*
|
|
365
383
|
* @param {string} id - The `reference_entities` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entities`. An id no reference entitie of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
366
384
|
* @throws {RevenexxException}
|
|
367
|
-
* @returns {Promise<Models.
|
|
385
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
368
386
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
369
387
|
*/
|
|
370
|
-
productsReferenceEntitiesGet(id: string): Promise<Models.
|
|
388
|
+
productsReferenceEntitiesGet(id: string): Promise<Models.ReferenceEntities>;
|
|
371
389
|
/**
|
|
372
390
|
* Updates one reference entity by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
373
391
|
*
|
|
@@ -380,14 +398,14 @@ declare class ProductsReferences {
|
|
|
380
398
|
* @param {string} params.image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
381
399
|
* @param {object} params.labels - What the entity is called, per language tag — the heading over its record list.
|
|
382
400
|
* @throws {RevenexxException}
|
|
383
|
-
* @returns {Promise<Models.
|
|
401
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
384
402
|
*/
|
|
385
403
|
productsReferenceEntitiesUpdate(params: {
|
|
386
404
|
id: string;
|
|
387
405
|
code?: string;
|
|
388
406
|
image?: string;
|
|
389
407
|
labels?: object;
|
|
390
|
-
}): Promise<Models.
|
|
408
|
+
}): Promise<Models.ReferenceEntities>;
|
|
391
409
|
/**
|
|
392
410
|
* Updates one reference entity by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
393
411
|
*
|
|
@@ -400,10 +418,10 @@ declare class ProductsReferences {
|
|
|
400
418
|
* @param {string} image - A delivery path or URL for the entity's own icon. Cosmetic — nothing in this app resolves it.
|
|
401
419
|
* @param {object} labels - What the entity is called, per language tag — the heading over its record list.
|
|
402
420
|
* @throws {RevenexxException}
|
|
403
|
-
* @returns {Promise<Models.
|
|
421
|
+
* @returns {Promise<Models.ReferenceEntities>}
|
|
404
422
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
405
423
|
*/
|
|
406
|
-
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.
|
|
424
|
+
productsReferenceEntitiesUpdate(id: string, code?: string, image?: string, labels?: object): Promise<Models.ReferenceEntities>;
|
|
407
425
|
/**
|
|
408
426
|
* One record of a reference entity — one brand, one manufacturer. A product that points at it stores this record's CODE, exactly the way a select stores an option code, and the record's own properties live in its scoped `attribute_values` document. `GET /products/attribute-schema` offers these records as the `options` of any attribute that points at their entity, so a picker needs no second call.
|
|
409
427
|
*
|
|
@@ -489,14 +507,14 @@ Defaults to `{}`, and an empty object is a normal state — a record nobody has
|
|
|
489
507
|
Which attributes a record of this entity has comes from `attributes` rows with `entity_type: "reference_entity"` and `entity_ref` equal to the entity's code — `GET /products/attribute-schema?entity_type=reference_entity&entity_ref=brand` answers it in one call.
|
|
490
508
|
* @param {object} params.labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
491
509
|
* @throws {RevenexxException}
|
|
492
|
-
* @returns {Promise<Models.
|
|
510
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
493
511
|
*/
|
|
494
512
|
productsReferenceEntityRecordsCreate(params: {
|
|
495
513
|
code: string;
|
|
496
514
|
referenceEntityId: string;
|
|
497
515
|
attributeValues?: object;
|
|
498
516
|
labels?: object;
|
|
499
|
-
}): Promise<Models.
|
|
517
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
500
518
|
/**
|
|
501
519
|
* Creates one reference entity record and answers 201 with the stored row, including the id and the timestamps the database filled in — a client never sends an id, it reads one back and uses it in the path of every later call.
|
|
502
520
|
*
|
|
@@ -528,10 +546,10 @@ Defaults to `{}`, and an empty object is a normal state — a record nobody has
|
|
|
528
546
|
Which attributes a record of this entity has comes from `attributes` rows with `entity_type: "reference_entity"` and `entity_ref` equal to the entity's code — `GET /products/attribute-schema?entity_type=reference_entity&entity_ref=brand` answers it in one call.
|
|
529
547
|
* @param {object} labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
530
548
|
* @throws {RevenexxException}
|
|
531
|
-
* @returns {Promise<Models.
|
|
549
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
532
550
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
533
551
|
*/
|
|
534
|
-
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.
|
|
552
|
+
productsReferenceEntityRecordsCreate(code: string, referenceEntityId: string, attributeValues?: object, labels?: object): Promise<Models.ReferenceEntityRecords>;
|
|
535
553
|
/**
|
|
536
554
|
* Deletes one reference entity record by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
537
555
|
*
|
|
@@ -541,11 +559,11 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
541
559
|
*
|
|
542
560
|
* @param {string} params.id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
543
561
|
* @throws {RevenexxException}
|
|
544
|
-
* @returns {Promise<
|
|
562
|
+
* @returns {Promise<{}>}
|
|
545
563
|
*/
|
|
546
564
|
productsReferenceEntityRecordsDelete(params: {
|
|
547
565
|
id: string;
|
|
548
|
-
}): Promise<
|
|
566
|
+
}): Promise<{}>;
|
|
549
567
|
/**
|
|
550
568
|
* Deletes one reference entity record by id. It is a hard delete — the row is gone, and the answer is a confirmation rather than a result to branch on.
|
|
551
569
|
*
|
|
@@ -555,10 +573,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
555
573
|
*
|
|
556
574
|
* @param {string} id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
557
575
|
* @throws {RevenexxException}
|
|
558
|
-
* @returns {Promise<
|
|
576
|
+
* @returns {Promise<{}>}
|
|
559
577
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
560
578
|
*/
|
|
561
|
-
productsReferenceEntityRecordsDelete(id: string): Promise<
|
|
579
|
+
productsReferenceEntityRecordsDelete(id: string): Promise<{}>;
|
|
562
580
|
/**
|
|
563
581
|
* Reads one reference entity record by its id — the whole row, every column, as it is stored.
|
|
564
582
|
*
|
|
@@ -570,11 +588,11 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
570
588
|
*
|
|
571
589
|
* @param {string} params.id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
572
590
|
* @throws {RevenexxException}
|
|
573
|
-
* @returns {Promise<Models.
|
|
591
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
574
592
|
*/
|
|
575
593
|
productsReferenceEntityRecordsGet(params: {
|
|
576
594
|
id: string;
|
|
577
|
-
}): Promise<Models.
|
|
595
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
578
596
|
/**
|
|
579
597
|
* Reads one reference entity record by its id — the whole row, every column, as it is stored.
|
|
580
598
|
*
|
|
@@ -586,10 +604,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
586
604
|
*
|
|
587
605
|
* @param {string} id - The `reference_entity_records` row to address, by id. It names a row THIS TENANT holds, so no example is published — a uuid this app invented would document a call that answers 404, and a real one would be another tenant's data. Read one from `GET /v1/products/reference_entity_records`. An id no reference entity record of this tenant carries answers 404; a malformed one answers 400 before the route is reached.
|
|
588
606
|
* @throws {RevenexxException}
|
|
589
|
-
* @returns {Promise<Models.
|
|
607
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
590
608
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
591
609
|
*/
|
|
592
|
-
productsReferenceEntityRecordsGet(id: string): Promise<Models.
|
|
610
|
+
productsReferenceEntityRecordsGet(id: string): Promise<Models.ReferenceEntityRecords>;
|
|
593
611
|
/**
|
|
594
612
|
* Updates one reference entity record by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
595
613
|
*
|
|
@@ -622,7 +640,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
622
640
|
* @param {object} params.labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
623
641
|
* @param {string} params.referenceEntityId - Which reference entity this record belongs to.
|
|
624
642
|
* @throws {RevenexxException}
|
|
625
|
-
* @returns {Promise<Models.
|
|
643
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
626
644
|
*/
|
|
627
645
|
productsReferenceEntityRecordsUpdate(params: {
|
|
628
646
|
id: string;
|
|
@@ -630,7 +648,7 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
630
648
|
code?: string;
|
|
631
649
|
labels?: object;
|
|
632
650
|
referenceEntityId?: string;
|
|
633
|
-
}): Promise<Models.
|
|
651
|
+
}): Promise<Models.ReferenceEntityRecords>;
|
|
634
652
|
/**
|
|
635
653
|
* Updates one reference entity record by id. A partial patch: the body names only the columns to change and every column it leaves out keeps its current value, so there is no read-modify-write and no way to blank a field by forgetting it.
|
|
636
654
|
*
|
|
@@ -663,10 +681,10 @@ Which attributes a record of this entity has comes from `attributes` rows with `
|
|
|
663
681
|
* @param {object} labels - What the record is called, per language tag — the text a picker shows while the code is what gets written.
|
|
664
682
|
* @param {string} referenceEntityId - Which reference entity this record belongs to.
|
|
665
683
|
* @throws {RevenexxException}
|
|
666
|
-
* @returns {Promise<Models.
|
|
684
|
+
* @returns {Promise<Models.ReferenceEntityRecords>}
|
|
667
685
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
668
686
|
*/
|
|
669
|
-
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.
|
|
687
|
+
productsReferenceEntityRecordsUpdate(id: string, attributeValues?: object, code?: string, labels?: object, referenceEntityId?: string): Promise<Models.ReferenceEntityRecords>;
|
|
670
688
|
}
|
|
671
689
|
|
|
672
690
|
export { ProductsReferences };
|