@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
|
@@ -6,6 +6,15 @@ import '../query.mjs';
|
|
|
6
6
|
import '../enums/address-type-row-tone.mjs';
|
|
7
7
|
import '../enums/address-type-row-create-request-tone.mjs';
|
|
8
8
|
import '../enums/address-type-row-update-request-tone.mjs';
|
|
9
|
+
import '../enums/approval-rule-approver-type.mjs';
|
|
10
|
+
import '../enums/approval-rule-condition.mjs';
|
|
11
|
+
import '../enums/approval-rule-effect.mjs';
|
|
12
|
+
import '../enums/approval-rule-create-request-approver-type.mjs';
|
|
13
|
+
import '../enums/approval-rule-create-request-condition.mjs';
|
|
14
|
+
import '../enums/approval-rule-create-request-effect.mjs';
|
|
15
|
+
import '../enums/approval-rule-update-request-approver-type.mjs';
|
|
16
|
+
import '../enums/approval-rule-update-request-condition.mjs';
|
|
17
|
+
import '../enums/approval-rule-update-request-effect.mjs';
|
|
9
18
|
import '../enums/assets-source.mjs';
|
|
10
19
|
import '../enums/attribute-value-bucket.mjs';
|
|
11
20
|
import '../enums/auth-mail-source.mjs';
|
|
@@ -119,6 +128,8 @@ import '../enums/payment-term-tone.mjs';
|
|
|
119
128
|
import '../enums/payment-term-create-request-tone.mjs';
|
|
120
129
|
import '../enums/payment-term-update-request-tone.mjs';
|
|
121
130
|
import '../enums/payment-vocabulary-tone.mjs';
|
|
131
|
+
import '../enums/pending-approval-approver-type.mjs';
|
|
132
|
+
import '../enums/pending-approval-status.mjs';
|
|
122
133
|
import '../enums/price-ending-rule.mjs';
|
|
123
134
|
import '../enums/price-entries-adjust-response-rounding.mjs';
|
|
124
135
|
import '../enums/price-entries-adjust-response-rounding-mode.mjs';
|
|
@@ -141,6 +152,11 @@ import '../enums/product-grid-column-source.mjs';
|
|
|
141
152
|
import '../enums/product-label-source.mjs';
|
|
142
153
|
import '../enums/product-label-attribute-source.mjs';
|
|
143
154
|
import '../enums/products-kind.mjs';
|
|
155
|
+
import '../enums/purchase-request-status.mjs';
|
|
156
|
+
import '../enums/purchase-request-event-name.mjs';
|
|
157
|
+
import '../enums/purchase-request-item-type.mjs';
|
|
158
|
+
import '../enums/purchase-request-item-create-request-type.mjs';
|
|
159
|
+
import '../enums/purchase-request-item-update-request-type.mjs';
|
|
144
160
|
import '../enums/reorder-point-source.mjs';
|
|
145
161
|
import '../enums/reservation-status.mjs';
|
|
146
162
|
import '../enums/price-on-request-reason.mjs';
|
|
@@ -178,6 +194,8 @@ import '../enums/shipping-weight-unit-row-tone.mjs';
|
|
|
178
194
|
import '../enums/shipping-weight-unit-update-request-tone.mjs';
|
|
179
195
|
import '../enums/stock-movement-type.mjs';
|
|
180
196
|
import '../enums/store-asset-request-visibility.mjs';
|
|
197
|
+
import '../enums/submit-item-type.mjs';
|
|
198
|
+
import '../enums/submit-result-outcome.mjs';
|
|
181
199
|
import '../enums/validation-failed-response-status.mjs';
|
|
182
200
|
import '../enums/vocabulary-default-tone.mjs';
|
|
183
201
|
import '../enums/vocabulary-source.mjs';
|
|
@@ -262,7 +280,7 @@ declare class ShippingValueLists {
|
|
|
262
280
|
* @param {number} params.position - Sort order in a select — the collection is returned in it.
|
|
263
281
|
* @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
264
282
|
* @throws {RevenexxException}
|
|
265
|
-
* @returns {Promise<Models.
|
|
283
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
266
284
|
*/
|
|
267
285
|
shippingServiceLevelsCreate(params: {
|
|
268
286
|
code: string;
|
|
@@ -273,7 +291,7 @@ declare class ShippingValueLists {
|
|
|
273
291
|
labels?: object;
|
|
274
292
|
position?: number;
|
|
275
293
|
tone?: Tone;
|
|
276
|
-
}): Promise<Models.
|
|
294
|
+
}): Promise<Models.ShippingServiceLevelRow>;
|
|
277
295
|
/**
|
|
278
296
|
* A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. Reach for this when a merchant sells a class this app was not shipped with — a night courier, a two-man delivery, a same-day run. A create cannot omit `code` and `title`; every other column is optional or defaulted by the database. Two rows of this tenant may not share `code` — that is the 409. The code is lowercase and becomes what a carrier stores; it cannot be changed afterwards, because every carrier carrying it would be orphaned. Creating one changes nothing on its own: a carrier has to be moved onto it before it means anything.
|
|
279
297
|
*
|
|
@@ -286,48 +304,48 @@ declare class ShippingValueLists {
|
|
|
286
304
|
* @param {number} position - Sort order in a select — the collection is returned in it.
|
|
287
305
|
* @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
288
306
|
* @throws {RevenexxException}
|
|
289
|
-
* @returns {Promise<Models.
|
|
307
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
290
308
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
291
309
|
*/
|
|
292
|
-
shippingServiceLevelsCreate(code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.
|
|
310
|
+
shippingServiceLevelsCreate(code: string, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.ShippingServiceLevelRow>;
|
|
293
311
|
/**
|
|
294
312
|
* There is no foreign key doing this: adding one to a table that starts empty would fail the migration of every existing tenant. The refusal lives in the handler instead.
|
|
295
313
|
*
|
|
296
314
|
* @param {string} params.id - The row id.
|
|
297
315
|
* @throws {RevenexxException}
|
|
298
|
-
* @returns {Promise<
|
|
316
|
+
* @returns {Promise<{}>}
|
|
299
317
|
*/
|
|
300
318
|
shippingServiceLevelsDelete(params: {
|
|
301
319
|
id: string;
|
|
302
|
-
}): Promise<
|
|
320
|
+
}): Promise<{}>;
|
|
303
321
|
/**
|
|
304
322
|
* There is no foreign key doing this: adding one to a table that starts empty would fail the migration of every existing tenant. The refusal lives in the handler instead.
|
|
305
323
|
*
|
|
306
324
|
* @param {string} id - The row id.
|
|
307
325
|
* @throws {RevenexxException}
|
|
308
|
-
* @returns {Promise<
|
|
326
|
+
* @returns {Promise<{}>}
|
|
309
327
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
310
328
|
*/
|
|
311
|
-
shippingServiceLevelsDelete(id: string): Promise<
|
|
329
|
+
shippingServiceLevelsDelete(id: string): Promise<{}>;
|
|
312
330
|
/**
|
|
313
331
|
* A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This reads one of them by ROW ID — which is what an editor holds after listing the set, and not what anything else in the platform stores. A caller holding the CODE (off a carrier row, or off a rate's `carrier_service_level`) cannot use this route: there is no `?code=` filter on the collection either, so read GET /shipping/vocabularies/service-levels, which is keyed the way the rest of the platform refers to these values.
|
|
314
332
|
*
|
|
315
333
|
* @param {string} params.id - The row id.
|
|
316
334
|
* @throws {RevenexxException}
|
|
317
|
-
* @returns {Promise<Models.
|
|
335
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
318
336
|
*/
|
|
319
337
|
shippingServiceLevelsGet(params: {
|
|
320
338
|
id: string;
|
|
321
|
-
}): Promise<Models.
|
|
339
|
+
}): Promise<Models.ShippingServiceLevelRow>;
|
|
322
340
|
/**
|
|
323
341
|
* A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This reads one of them by ROW ID — which is what an editor holds after listing the set, and not what anything else in the platform stores. A caller holding the CODE (off a carrier row, or off a rate's `carrier_service_level`) cannot use this route: there is no `?code=` filter on the collection either, so read GET /shipping/vocabularies/service-levels, which is keyed the way the rest of the platform refers to these values.
|
|
324
342
|
*
|
|
325
343
|
* @param {string} id - The row id.
|
|
326
344
|
* @throws {RevenexxException}
|
|
327
|
-
* @returns {Promise<Models.
|
|
345
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
328
346
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
329
347
|
*/
|
|
330
|
-
shippingServiceLevelsGet(id: string): Promise<Models.
|
|
348
|
+
shippingServiceLevelsGet(id: string): Promise<Models.ShippingServiceLevelRow>;
|
|
331
349
|
/**
|
|
332
350
|
* A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This edits the DISPLAY half of one — title, description, their locale maps, badge tone, position, and the default flag. Everything a carrier or a filter joins on stays put: the code is immutable (a different one in the payload is a 400, not a silent no-op), and no carrier is moved onto or off this level by renaming it. Moving a row's `position` does not renumber its neighbours — the collection is returned in position order and ties fall back to whatever the database returns, so a deliberate order means writing every row's position.
|
|
333
351
|
*
|
|
@@ -340,7 +358,7 @@ declare class ShippingValueLists {
|
|
|
340
358
|
* @param {string} params.title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
|
|
341
359
|
* @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
342
360
|
* @throws {RevenexxException}
|
|
343
|
-
* @returns {Promise<Models.
|
|
361
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
344
362
|
*/
|
|
345
363
|
shippingServiceLevelsUpdate(params: {
|
|
346
364
|
id: string;
|
|
@@ -351,7 +369,7 @@ declare class ShippingValueLists {
|
|
|
351
369
|
position?: number;
|
|
352
370
|
title?: string;
|
|
353
371
|
tone?: Tone;
|
|
354
|
-
}): Promise<Models.
|
|
372
|
+
}): Promise<Models.ShippingServiceLevelRow>;
|
|
355
373
|
/**
|
|
356
374
|
* A service level is the class of service a carrier row represents, as one of the tenant's own codes. It is carried by `shipping_carriers.service_level` and reported on a rate as `carrier_service_level`; nothing in this app branches on it. A method never names one — it gets its level through the carrier it ships with. This edits the DISPLAY half of one — title, description, their locale maps, badge tone, position, and the default flag. Everything a carrier or a filter joins on stays put: the code is immutable (a different one in the payload is a 400, not a silent no-op), and no carrier is moved onto or off this level by renaming it. Moving a row's `position` does not renumber its neighbours — the collection is returned in position order and ties fall back to whatever the database returns, so a deliberate order means writing every row's position.
|
|
357
375
|
*
|
|
@@ -364,32 +382,32 @@ declare class ShippingValueLists {
|
|
|
364
382
|
* @param {string} title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
|
|
365
383
|
* @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
366
384
|
* @throws {RevenexxException}
|
|
367
|
-
* @returns {Promise<Models.
|
|
385
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
368
386
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
369
387
|
*/
|
|
370
|
-
shippingServiceLevelsUpdate(id: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.
|
|
388
|
+
shippingServiceLevelsUpdate(id: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.ShippingServiceLevelRow>;
|
|
371
389
|
/**
|
|
372
390
|
* The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
|
|
373
391
|
*
|
|
374
392
|
* @param {string} params.id - The row id.
|
|
375
393
|
* @param {object} params.data - Request body
|
|
376
394
|
* @throws {RevenexxException}
|
|
377
|
-
* @returns {Promise<Models.
|
|
395
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
378
396
|
*/
|
|
379
397
|
shippingServiceLevelsMakeDefault(params: {
|
|
380
398
|
id: string;
|
|
381
399
|
data: object;
|
|
382
|
-
}): Promise<Models.
|
|
400
|
+
}): Promise<Models.ShippingServiceLevelRow>;
|
|
383
401
|
/**
|
|
384
402
|
* The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
|
|
385
403
|
*
|
|
386
404
|
* @param {string} id - The row id.
|
|
387
405
|
* @param {object} data - Request body
|
|
388
406
|
* @throws {RevenexxException}
|
|
389
|
-
* @returns {Promise<Models.
|
|
407
|
+
* @returns {Promise<Models.ShippingServiceLevelRow>}
|
|
390
408
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
391
409
|
*/
|
|
392
|
-
shippingServiceLevelsMakeDefault(id: string, data: object): Promise<Models.
|
|
410
|
+
shippingServiceLevelsMakeDefault(id: string, data: object): Promise<Models.ShippingServiceLevelRow>;
|
|
393
411
|
/**
|
|
394
412
|
* Discovery for the vocabulary routes: every enum this app publishes, each with its name, its title and its description, and deliberately without its values — an index stays an index, and the set a value belongs to is one further call. Names: carrier-statuses, matrix-bases, pricing-types, service-levels, weight-units. Fetch one with GET /shipping/vocabularies/{name}; a client holding the qualified pair 'shipping.<name>' builds that URL from the pair alone. `title` and `description` are either one string or a locale map keyed by locale — every entry here carries the map, because every one of them is curated copy.
|
|
395
413
|
*
|
|
@@ -402,20 +420,20 @@ declare class ShippingValueLists {
|
|
|
402
420
|
*
|
|
403
421
|
* @param {ShippingVocabulariesGetName} params.name - The vocabulary name — the part after the dot in the qualified id.
|
|
404
422
|
* @throws {RevenexxException}
|
|
405
|
-
* @returns {Promise<Models.
|
|
423
|
+
* @returns {Promise<Models.ShippingVocabulary>}
|
|
406
424
|
*/
|
|
407
425
|
shippingVocabulariesGet(params: {
|
|
408
426
|
name: ShippingVocabulariesGetName;
|
|
409
|
-
}): Promise<Models.
|
|
427
|
+
}): Promise<Models.ShippingVocabulary>;
|
|
410
428
|
/**
|
|
411
429
|
* One vocabulary in full: every value it permits, each carrying the title to show, the description to explain it and the badge tone to draw it in — everything a select or a status chip needs, so nothing has to be labelled a second time in a client. Two sources, one guarantee: what is served is what is enforced, so no UI keeps a second copy. 'source: schema' means the values are read out of a CHECK constraint — a value added to the constraint appears here even before anyone labels it, titled from its own key, in constraint order. 'source: table' means the values are the TENANT's own rows (service-levels, weight-units), read per request and seeded on first use, so a merchant may add one without a release of this app; those values also carry labels/descriptions, is_system and is_default, and weight-units carries the conversion factor. 'closed' says the set is exhaustive either way, so a value outside it is stale data rather than a missing label. `title` and `description` — the vocabulary's and every value's — are either one string or a locale map keyed by locale: curated copy carries the map, a value titled from its own key carries the string. Names: carrier-statuses, matrix-bases, pricing-types, service-levels, weight-units.
|
|
412
430
|
*
|
|
413
431
|
* @param {ShippingVocabulariesGetName} name - The vocabulary name — the part after the dot in the qualified id.
|
|
414
432
|
* @throws {RevenexxException}
|
|
415
|
-
* @returns {Promise<Models.
|
|
433
|
+
* @returns {Promise<Models.ShippingVocabulary>}
|
|
416
434
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
417
435
|
*/
|
|
418
|
-
shippingVocabulariesGet(name: ShippingVocabulariesGetName): Promise<Models.
|
|
436
|
+
shippingVocabulariesGet(name: ShippingVocabulariesGetName): Promise<Models.ShippingVocabulary>;
|
|
419
437
|
/**
|
|
420
438
|
* Not a taxonomy: a unit is a code PLUS a factor, and the factor prices parcels. `factor` is how many kilograms one of this unit weighs, so a matrix keyed in one unit can price a request expressed in another. Exactly one row is the BASE (kg, factor 1) — the anchor every other factor and every stored rate tier is expressed in — and it is fixed at install. Seeded on first read, so this never answers empty. Like the service levels it is hand-rolled and honours limit/offset AND NOTHING ELSE: no column filter, no `order`, always `position` order, and a sort sent anyway is ignored rather than refused.
|
|
421
439
|
*
|
|
@@ -451,7 +469,7 @@ declare class ShippingValueLists {
|
|
|
451
469
|
* @param {number} params.position - Sort order in a select — the collection is returned in it.
|
|
452
470
|
* @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
453
471
|
* @throws {RevenexxException}
|
|
454
|
-
* @returns {Promise<Models.
|
|
472
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
455
473
|
*/
|
|
456
474
|
shippingWeightUnitsCreate(params: {
|
|
457
475
|
code: string;
|
|
@@ -463,7 +481,7 @@ declare class ShippingValueLists {
|
|
|
463
481
|
labels?: object;
|
|
464
482
|
position?: number;
|
|
465
483
|
tone?: Tone;
|
|
466
|
-
}): Promise<Models.
|
|
484
|
+
}): Promise<Models.ShippingWeightUnitRow>;
|
|
467
485
|
/**
|
|
468
486
|
* Reach for this when a merchant weighs goods in something this app was not shipped with — a tonne for pallet freight, a carat for jewellery — and wants a rate matrix keyed in it. `factor` is required and must be greater than 0: zero does not convert a weight, it divides by it, and a negative factor turns a parcel into a credit. The new unit is never the base — which unit anchors the others is decided at install, and moving it would silently reprice every weight matrix in the shop.
|
|
469
487
|
*
|
|
@@ -477,48 +495,48 @@ declare class ShippingValueLists {
|
|
|
477
495
|
* @param {number} position - Sort order in a select — the collection is returned in it.
|
|
478
496
|
* @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
479
497
|
* @throws {RevenexxException}
|
|
480
|
-
* @returns {Promise<Models.
|
|
498
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
481
499
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
482
500
|
*/
|
|
483
|
-
shippingWeightUnitsCreate(code: string, factor: number, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.
|
|
501
|
+
shippingWeightUnitsCreate(code: string, factor: number, title: string, description?: string, descriptions?: object, isDefault?: boolean, labels?: object, position?: number, tone?: Tone): Promise<Models.ShippingWeightUnitRow>;
|
|
484
502
|
/**
|
|
485
503
|
* The market check is best effort by design — the setting is per market and this request carries one, so another market may still name the unit. That case degrades to the market falling back to the flagged unit rather than failing its quotes.
|
|
486
504
|
*
|
|
487
505
|
* @param {string} params.id - The row id.
|
|
488
506
|
* @throws {RevenexxException}
|
|
489
|
-
* @returns {Promise<
|
|
507
|
+
* @returns {Promise<{}>}
|
|
490
508
|
*/
|
|
491
509
|
shippingWeightUnitsDelete(params: {
|
|
492
510
|
id: string;
|
|
493
|
-
}): Promise<
|
|
511
|
+
}): Promise<{}>;
|
|
494
512
|
/**
|
|
495
513
|
* The market check is best effort by design — the setting is per market and this request carries one, so another market may still name the unit. That case degrades to the market falling back to the flagged unit rather than failing its quotes.
|
|
496
514
|
*
|
|
497
515
|
* @param {string} id - The row id.
|
|
498
516
|
* @throws {RevenexxException}
|
|
499
|
-
* @returns {Promise<
|
|
517
|
+
* @returns {Promise<{}>}
|
|
500
518
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
501
519
|
*/
|
|
502
|
-
shippingWeightUnitsDelete(id: string): Promise<
|
|
520
|
+
shippingWeightUnitsDelete(id: string): Promise<{}>;
|
|
503
521
|
/**
|
|
504
522
|
* A weight unit is a code PLUS a factor — how many kilograms one of this unit weighs — and the factor is what prices parcels: a rate request expressed in one unit is converted through the two factors into the unit the market's tiers are keyed in. Exactly one row is the base (kg, factor 1), fixed at install. This reads one of them by ROW ID, which is what an editor holds after listing the set; a caller holding the CODE (a market's `weight_unit` setting, a rate request's `weight_unit`) has no filter for it here and should read GET /shipping/vocabularies/weight-units instead. Reading the factor back is NOT how a past quote is checked: a rate answer echoes the factors it applied in `basis.weight_unit_factor` and `basis.request_weight_unit_factor` precisely so it stays re-derivable after this row has been edited.
|
|
505
523
|
*
|
|
506
524
|
* @param {string} params.id - The row id.
|
|
507
525
|
* @throws {RevenexxException}
|
|
508
|
-
* @returns {Promise<Models.
|
|
526
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
509
527
|
*/
|
|
510
528
|
shippingWeightUnitsGet(params: {
|
|
511
529
|
id: string;
|
|
512
|
-
}): Promise<Models.
|
|
530
|
+
}): Promise<Models.ShippingWeightUnitRow>;
|
|
513
531
|
/**
|
|
514
532
|
* A weight unit is a code PLUS a factor — how many kilograms one of this unit weighs — and the factor is what prices parcels: a rate request expressed in one unit is converted through the two factors into the unit the market's tiers are keyed in. Exactly one row is the base (kg, factor 1), fixed at install. This reads one of them by ROW ID, which is what an editor holds after listing the set; a caller holding the CODE (a market's `weight_unit` setting, a rate request's `weight_unit`) has no filter for it here and should read GET /shipping/vocabularies/weight-units instead. Reading the factor back is NOT how a past quote is checked: a rate answer echoes the factors it applied in `basis.weight_unit_factor` and `basis.request_weight_unit_factor` precisely so it stays re-derivable after this row has been edited.
|
|
515
533
|
*
|
|
516
534
|
* @param {string} id - The row id.
|
|
517
535
|
* @throws {RevenexxException}
|
|
518
|
-
* @returns {Promise<Models.
|
|
536
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
519
537
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
520
538
|
*/
|
|
521
|
-
shippingWeightUnitsGet(id: string): Promise<Models.
|
|
539
|
+
shippingWeightUnitsGet(id: string): Promise<Models.ShippingWeightUnitRow>;
|
|
522
540
|
/**
|
|
523
541
|
* Everything but the code and the base flag. A factor sent for the BASE unit is refused rather than silently ignored: it reads as 1 because every other factor is relative to it, so changing it would rescale the whole table without touching another row.
|
|
524
542
|
*
|
|
@@ -532,7 +550,7 @@ declare class ShippingValueLists {
|
|
|
532
550
|
* @param {string} params.title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
|
|
533
551
|
* @param {Tone} params.tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
534
552
|
* @throws {RevenexxException}
|
|
535
|
-
* @returns {Promise<Models.
|
|
553
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
536
554
|
*/
|
|
537
555
|
shippingWeightUnitsUpdate(params: {
|
|
538
556
|
id: string;
|
|
@@ -544,7 +562,7 @@ declare class ShippingValueLists {
|
|
|
544
562
|
position?: number;
|
|
545
563
|
title?: string;
|
|
546
564
|
tone?: Tone;
|
|
547
|
-
}): Promise<Models.
|
|
565
|
+
}): Promise<Models.ShippingWeightUnitRow>;
|
|
548
566
|
/**
|
|
549
567
|
* Everything but the code and the base flag. A factor sent for the BASE unit is refused rather than silently ignored: it reads as 1 because every other factor is relative to it, so changing it would rescale the whole table without touching another row.
|
|
550
568
|
*
|
|
@@ -558,32 +576,32 @@ declare class ShippingValueLists {
|
|
|
558
576
|
* @param {string} title - What an operator reads in a select. The name a merchant renames; the code underneath never moves.
|
|
559
577
|
* @param {Tone} tone - Semantic badge colour for a UI listing the set. The client owns what each tone looks like.
|
|
560
578
|
* @throws {RevenexxException}
|
|
561
|
-
* @returns {Promise<Models.
|
|
579
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
562
580
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
563
581
|
*/
|
|
564
|
-
shippingWeightUnitsUpdate(id: string, description?: string, descriptions?: object, factor?: number, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.
|
|
582
|
+
shippingWeightUnitsUpdate(id: string, description?: string, descriptions?: object, factor?: number, isDefault?: boolean, labels?: object, position?: number, title?: string, tone?: Tone): Promise<Models.ShippingWeightUnitRow>;
|
|
565
583
|
/**
|
|
566
584
|
* The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
|
|
567
585
|
*
|
|
568
586
|
* @param {string} params.id - The row id.
|
|
569
587
|
* @param {object} params.data - Request body
|
|
570
588
|
* @throws {RevenexxException}
|
|
571
|
-
* @returns {Promise<Models.
|
|
589
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
572
590
|
*/
|
|
573
591
|
shippingWeightUnitsMakeDefault(params: {
|
|
574
592
|
id: string;
|
|
575
593
|
data: object;
|
|
576
|
-
}): Promise<Models.
|
|
594
|
+
}): Promise<Models.ShippingWeightUnitRow>;
|
|
577
595
|
/**
|
|
578
596
|
* The flag is a single answer, not a per-row opinion: it is what every fallback lands on, so two defaults leave the result to row order and none leaves it to the seeded value. This row takes it and whoever was holding it is demoted in the same call — there is no separate write to clear the old one, and no window in which both carry it. Only the rows whose flag is wrong are written, so repeating the call is free.
|
|
579
597
|
*
|
|
580
598
|
* @param {string} id - The row id.
|
|
581
599
|
* @param {object} data - Request body
|
|
582
600
|
* @throws {RevenexxException}
|
|
583
|
-
* @returns {Promise<Models.
|
|
601
|
+
* @returns {Promise<Models.ShippingWeightUnitRow>}
|
|
584
602
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
585
603
|
*/
|
|
586
|
-
shippingWeightUnitsMakeDefault(id: string, data: object): Promise<Models.
|
|
604
|
+
shippingWeightUnitsMakeDefault(id: string, data: object): Promise<Models.ShippingWeightUnitRow>;
|
|
587
605
|
}
|
|
588
606
|
|
|
589
607
|
export { ShippingValueLists };
|