@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
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import { Client } from '../client.mjs';
|
|
2
|
-
import { Models } from '../models.mjs';
|
|
3
2
|
import { ResourceType } from '../enums/resource-type.mjs';
|
|
4
3
|
import { Scope } from '../enums/scope.mjs';
|
|
5
4
|
import { Reason } from '../enums/reason.mjs';
|
|
6
5
|
import { MessageClass } from '../enums/message-class.mjs';
|
|
7
6
|
import { WhatsappCategory } from '../enums/whatsapp-category.mjs';
|
|
8
|
-
import '../
|
|
7
|
+
import '../models.mjs';
|
|
9
8
|
import '../enums/address-type-row-tone.mjs';
|
|
10
9
|
import '../enums/address-type-row-create-request-tone.mjs';
|
|
11
10
|
import '../enums/address-type-row-update-request-tone.mjs';
|
|
11
|
+
import '../enums/approval-rule-approver-type.mjs';
|
|
12
|
+
import '../enums/approval-rule-condition.mjs';
|
|
13
|
+
import '../enums/approval-rule-effect.mjs';
|
|
14
|
+
import '../enums/approval-rule-create-request-approver-type.mjs';
|
|
15
|
+
import '../enums/approval-rule-create-request-condition.mjs';
|
|
16
|
+
import '../enums/approval-rule-create-request-effect.mjs';
|
|
17
|
+
import '../enums/approval-rule-update-request-approver-type.mjs';
|
|
18
|
+
import '../enums/approval-rule-update-request-condition.mjs';
|
|
19
|
+
import '../enums/approval-rule-update-request-effect.mjs';
|
|
12
20
|
import '../enums/assets-source.mjs';
|
|
13
21
|
import '../enums/attribute-value-bucket.mjs';
|
|
14
22
|
import '../enums/auth-mail-source.mjs';
|
|
@@ -122,6 +130,8 @@ import '../enums/payment-term-tone.mjs';
|
|
|
122
130
|
import '../enums/payment-term-create-request-tone.mjs';
|
|
123
131
|
import '../enums/payment-term-update-request-tone.mjs';
|
|
124
132
|
import '../enums/payment-vocabulary-tone.mjs';
|
|
133
|
+
import '../enums/pending-approval-approver-type.mjs';
|
|
134
|
+
import '../enums/pending-approval-status.mjs';
|
|
125
135
|
import '../enums/price-ending-rule.mjs';
|
|
126
136
|
import '../enums/price-entries-adjust-response-rounding.mjs';
|
|
127
137
|
import '../enums/price-entries-adjust-response-rounding-mode.mjs';
|
|
@@ -144,6 +154,11 @@ import '../enums/product-grid-column-source.mjs';
|
|
|
144
154
|
import '../enums/product-label-source.mjs';
|
|
145
155
|
import '../enums/product-label-attribute-source.mjs';
|
|
146
156
|
import '../enums/products-kind.mjs';
|
|
157
|
+
import '../enums/purchase-request-status.mjs';
|
|
158
|
+
import '../enums/purchase-request-event-name.mjs';
|
|
159
|
+
import '../enums/purchase-request-item-type.mjs';
|
|
160
|
+
import '../enums/purchase-request-item-create-request-type.mjs';
|
|
161
|
+
import '../enums/purchase-request-item-update-request-type.mjs';
|
|
147
162
|
import '../enums/reorder-point-source.mjs';
|
|
148
163
|
import '../enums/reservation-status.mjs';
|
|
149
164
|
import '../enums/price-on-request-reason.mjs';
|
|
@@ -181,6 +196,8 @@ import '../enums/shipping-weight-unit-row-tone.mjs';
|
|
|
181
196
|
import '../enums/shipping-weight-unit-update-request-tone.mjs';
|
|
182
197
|
import '../enums/stock-movement-type.mjs';
|
|
183
198
|
import '../enums/store-asset-request-visibility.mjs';
|
|
199
|
+
import '../enums/submit-item-type.mjs';
|
|
200
|
+
import '../enums/submit-result-outcome.mjs';
|
|
184
201
|
import '../enums/validation-failed-response-status.mjs';
|
|
185
202
|
import '../enums/vocabulary-default-tone.mjs';
|
|
186
203
|
import '../enums/vocabulary-source.mjs';
|
|
@@ -227,6 +244,7 @@ import '../enums/health-antivirus-status.mjs';
|
|
|
227
244
|
import '../enums/health-status-status.mjs';
|
|
228
245
|
import '../enums/index-status.mjs';
|
|
229
246
|
import '../enums/message-2-status.mjs';
|
|
247
|
+
import '../query.mjs';
|
|
230
248
|
|
|
231
249
|
declare class Messaging {
|
|
232
250
|
client: Client;
|
|
@@ -245,14 +263,14 @@ declare class Messaging {
|
|
|
245
263
|
* @param {string} params.subject -
|
|
246
264
|
* @param {number} params.limit -
|
|
247
265
|
* @throws {RevenexxException}
|
|
248
|
-
* @returns {Promise<
|
|
266
|
+
* @returns {Promise<{}>}
|
|
249
267
|
*/
|
|
250
268
|
auditIndex(params?: {
|
|
251
269
|
resourceType?: ResourceType;
|
|
252
270
|
resourceId?: string;
|
|
253
271
|
subject?: string;
|
|
254
272
|
limit?: number;
|
|
255
|
-
}): Promise<
|
|
273
|
+
}): Promise<{}>;
|
|
256
274
|
/**
|
|
257
275
|
* Filterable by `resource_type`, `resource_id` and `subject` — the last one
|
|
258
276
|
* being the human-readable name a row was recorded under (a template's key,
|
|
@@ -267,31 +285,31 @@ declare class Messaging {
|
|
|
267
285
|
* @param {string} subject -
|
|
268
286
|
* @param {number} limit -
|
|
269
287
|
* @throws {RevenexxException}
|
|
270
|
-
* @returns {Promise<
|
|
288
|
+
* @returns {Promise<{}>}
|
|
271
289
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
272
290
|
*/
|
|
273
|
-
auditIndex(resourceType?: ResourceType, resourceId?: string, subject?: string, limit?: number): Promise<
|
|
291
|
+
auditIndex(resourceType?: ResourceType, resourceId?: string, subject?: string, limit?: number): Promise<{}>;
|
|
274
292
|
/**
|
|
275
293
|
* `?event_topic=` narrows to one topic, which is the question worth asking
|
|
276
294
|
* of this list: "what does this event actually do".
|
|
277
295
|
*
|
|
278
296
|
* @param {string} params.eventTopic -
|
|
279
297
|
* @throws {RevenexxException}
|
|
280
|
-
* @returns {Promise<
|
|
298
|
+
* @returns {Promise<{}>}
|
|
281
299
|
*/
|
|
282
300
|
bindingIndex(params?: {
|
|
283
301
|
eventTopic?: string;
|
|
284
|
-
}): Promise<
|
|
302
|
+
}): Promise<{}>;
|
|
285
303
|
/**
|
|
286
304
|
* `?event_topic=` narrows to one topic, which is the question worth asking
|
|
287
305
|
* of this list: "what does this event actually do".
|
|
288
306
|
*
|
|
289
307
|
* @param {string} eventTopic -
|
|
290
308
|
* @throws {RevenexxException}
|
|
291
|
-
* @returns {Promise<
|
|
309
|
+
* @returns {Promise<{}>}
|
|
292
310
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
293
311
|
*/
|
|
294
|
-
bindingIndex(eventTopic?: string): Promise<
|
|
312
|
+
bindingIndex(eventTopic?: string): Promise<{}>;
|
|
295
313
|
/**
|
|
296
314
|
* `recipient` is a template, not an address: `{{ customer.email }}` is
|
|
297
315
|
* rendered against the event payload when the event arrives, which is the
|
|
@@ -313,7 +331,7 @@ route speaks, and it outranks the tenant's own default
|
|
|
313
331
|
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
314
332
|
nobody made a language decision about silently makes one.
|
|
315
333
|
* @throws {RevenexxException}
|
|
316
|
-
* @returns {Promise<
|
|
334
|
+
* @returns {Promise<{}>}
|
|
317
335
|
*/
|
|
318
336
|
bindingStore(params: {
|
|
319
337
|
channel: string;
|
|
@@ -323,7 +341,7 @@ nobody made a language decision about silently makes one.
|
|
|
323
341
|
enabled?: boolean;
|
|
324
342
|
fallbackOrder?: number;
|
|
325
343
|
locale?: string;
|
|
326
|
-
}): Promise<
|
|
344
|
+
}): Promise<{}>;
|
|
327
345
|
/**
|
|
328
346
|
* `recipient` is a template, not an address: `{{ customer.email }}` is
|
|
329
347
|
* rendered against the event payload when the event arrives, which is the
|
|
@@ -345,52 +363,52 @@ route speaks, and it outranks the tenant's own default
|
|
|
345
363
|
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
346
364
|
nobody made a language decision about silently makes one.
|
|
347
365
|
* @throws {RevenexxException}
|
|
348
|
-
* @returns {Promise<
|
|
366
|
+
* @returns {Promise<{}>}
|
|
349
367
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
350
368
|
*/
|
|
351
|
-
bindingStore(channel: string, eventTopic: string, recipient: string, templateKey: string, enabled?: boolean, fallbackOrder?: number, locale?: string): Promise<
|
|
369
|
+
bindingStore(channel: string, eventTopic: string, recipient: string, templateKey: string, enabled?: boolean, fallbackOrder?: number, locale?: string): Promise<{}>;
|
|
352
370
|
/**
|
|
353
371
|
* The event it answered goes back to doing nothing. Prefer `enabled: false`
|
|
354
372
|
* when the intent is to pause rather than to forget.
|
|
355
373
|
*
|
|
356
374
|
* @param {string} params.id -
|
|
357
375
|
* @throws {RevenexxException}
|
|
358
|
-
* @returns {Promise<
|
|
376
|
+
* @returns {Promise<{}>}
|
|
359
377
|
*/
|
|
360
378
|
bindingDestroy(params: {
|
|
361
379
|
id: string;
|
|
362
|
-
}): Promise<
|
|
380
|
+
}): Promise<{}>;
|
|
363
381
|
/**
|
|
364
382
|
* The event it answered goes back to doing nothing. Prefer `enabled: false`
|
|
365
383
|
* when the intent is to pause rather than to forget.
|
|
366
384
|
*
|
|
367
385
|
* @param {string} id -
|
|
368
386
|
* @throws {RevenexxException}
|
|
369
|
-
* @returns {Promise<
|
|
387
|
+
* @returns {Promise<{}>}
|
|
370
388
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
371
389
|
*/
|
|
372
|
-
bindingDestroy(id: string): Promise<
|
|
390
|
+
bindingDestroy(id: string): Promise<{}>;
|
|
373
391
|
/**
|
|
374
392
|
* 404 for a binding belonging to another tenant, not 403 — an id that
|
|
375
393
|
* answered differently would say whether it exists.
|
|
376
394
|
*
|
|
377
395
|
* @param {string} params.id -
|
|
378
396
|
* @throws {RevenexxException}
|
|
379
|
-
* @returns {Promise<
|
|
397
|
+
* @returns {Promise<{}>}
|
|
380
398
|
*/
|
|
381
399
|
bindingShow(params: {
|
|
382
400
|
id: string;
|
|
383
|
-
}): Promise<
|
|
401
|
+
}): Promise<{}>;
|
|
384
402
|
/**
|
|
385
403
|
* 404 for a binding belonging to another tenant, not 403 — an id that
|
|
386
404
|
* answered differently would say whether it exists.
|
|
387
405
|
*
|
|
388
406
|
* @param {string} id -
|
|
389
407
|
* @throws {RevenexxException}
|
|
390
|
-
* @returns {Promise<
|
|
408
|
+
* @returns {Promise<{}>}
|
|
391
409
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
392
410
|
*/
|
|
393
|
-
bindingShow(id: string): Promise<
|
|
411
|
+
bindingShow(id: string): Promise<{}>;
|
|
394
412
|
/**
|
|
395
413
|
* Every field is optional; only what is sent is written. `enabled: false`
|
|
396
414
|
* is how a binding is taken out of service without losing what it said —
|
|
@@ -411,7 +429,7 @@ nobody made a language decision about silently makes one.
|
|
|
411
429
|
* @param {string} params.recipient -
|
|
412
430
|
* @param {string} params.templateKey -
|
|
413
431
|
* @throws {RevenexxException}
|
|
414
|
-
* @returns {Promise<
|
|
432
|
+
* @returns {Promise<{}>}
|
|
415
433
|
*/
|
|
416
434
|
bindingUpdatePatch(params: {
|
|
417
435
|
id: string;
|
|
@@ -422,7 +440,7 @@ nobody made a language decision about silently makes one.
|
|
|
422
440
|
locale?: string;
|
|
423
441
|
recipient?: string;
|
|
424
442
|
templateKey?: string;
|
|
425
|
-
}): Promise<
|
|
443
|
+
}): Promise<{}>;
|
|
426
444
|
/**
|
|
427
445
|
* Every field is optional; only what is sent is written. `enabled: false`
|
|
428
446
|
* is how a binding is taken out of service without losing what it said —
|
|
@@ -443,10 +461,10 @@ nobody made a language decision about silently makes one.
|
|
|
443
461
|
* @param {string} recipient -
|
|
444
462
|
* @param {string} templateKey -
|
|
445
463
|
* @throws {RevenexxException}
|
|
446
|
-
* @returns {Promise<
|
|
464
|
+
* @returns {Promise<{}>}
|
|
447
465
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
448
466
|
*/
|
|
449
|
-
bindingUpdatePatch(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<
|
|
467
|
+
bindingUpdatePatch(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<{}>;
|
|
450
468
|
/**
|
|
451
469
|
* Every field is optional; only what is sent is written. `enabled: false`
|
|
452
470
|
* is how a binding is taken out of service without losing what it said —
|
|
@@ -467,7 +485,7 @@ nobody made a language decision about silently makes one.
|
|
|
467
485
|
* @param {string} params.recipient -
|
|
468
486
|
* @param {string} params.templateKey -
|
|
469
487
|
* @throws {RevenexxException}
|
|
470
|
-
* @returns {Promise<
|
|
488
|
+
* @returns {Promise<{}>}
|
|
471
489
|
*/
|
|
472
490
|
bindingUpdate(params: {
|
|
473
491
|
id: string;
|
|
@@ -478,7 +496,7 @@ nobody made a language decision about silently makes one.
|
|
|
478
496
|
locale?: string;
|
|
479
497
|
recipient?: string;
|
|
480
498
|
templateKey?: string;
|
|
481
|
-
}): Promise<
|
|
499
|
+
}): Promise<{}>;
|
|
482
500
|
/**
|
|
483
501
|
* Every field is optional; only what is sent is written. `enabled: false`
|
|
484
502
|
* is how a binding is taken out of service without losing what it said —
|
|
@@ -499,10 +517,10 @@ nobody made a language decision about silently makes one.
|
|
|
499
517
|
* @param {string} recipient -
|
|
500
518
|
* @param {string} templateKey -
|
|
501
519
|
* @throws {RevenexxException}
|
|
502
|
-
* @returns {Promise<
|
|
520
|
+
* @returns {Promise<{}>}
|
|
503
521
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
504
522
|
*/
|
|
505
|
-
bindingUpdate(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<
|
|
523
|
+
bindingUpdate(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<{}>;
|
|
506
524
|
/**
|
|
507
525
|
* Answers per channel with: which fields the chosen provider wants and
|
|
508
526
|
* which of them are SET (never their values — secrets go in and do not come
|
|
@@ -539,12 +557,12 @@ The override entries carry no `providers` catalogue, `enabled` flag or `markets`
|
|
|
539
557
|
Those are properties of the channel, identical in every market, and repeating
|
|
540
558
|
twenty-six providers' field specifications per market would be most of the response.
|
|
541
559
|
* @throws {RevenexxException}
|
|
542
|
-
* @returns {Promise<
|
|
560
|
+
* @returns {Promise<{}>}
|
|
543
561
|
*/
|
|
544
562
|
channelCredentialIndex(params?: {
|
|
545
563
|
market?: string;
|
|
546
564
|
markets?: string;
|
|
547
|
-
}): Promise<
|
|
565
|
+
}): Promise<{}>;
|
|
548
566
|
/**
|
|
549
567
|
* Answers per channel with: which fields the chosen provider wants and
|
|
550
568
|
* which of them are SET (never their values — secrets go in and do not come
|
|
@@ -581,10 +599,10 @@ The override entries carry no `providers` catalogue, `enabled` flag or `markets`
|
|
|
581
599
|
Those are properties of the channel, identical in every market, and repeating
|
|
582
600
|
twenty-six providers' field specifications per market would be most of the response.
|
|
583
601
|
* @throws {RevenexxException}
|
|
584
|
-
* @returns {Promise<
|
|
602
|
+
* @returns {Promise<{}>}
|
|
585
603
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
586
604
|
*/
|
|
587
|
-
channelCredentialIndex(market?: string, markets?: string): Promise<
|
|
605
|
+
channelCredentialIndex(market?: string, markets?: string): Promise<{}>;
|
|
588
606
|
/**
|
|
589
607
|
* With `?market=`, only that market's override goes and the global
|
|
590
608
|
* credentials stand — the market then sends over the global provider again,
|
|
@@ -606,12 +624,12 @@ mirrored exactly). A code that does not match is refused with 422 rather than re
|
|
|
606
624
|
point every market's traffic at one market's provider while looking at a screen that said
|
|
607
625
|
they had not.
|
|
608
626
|
* @throws {RevenexxException}
|
|
609
|
-
* @returns {Promise<
|
|
627
|
+
* @returns {Promise<{}>}
|
|
610
628
|
*/
|
|
611
629
|
channelCredentialDestroy(params: {
|
|
612
630
|
channel: string;
|
|
613
631
|
market?: string;
|
|
614
|
-
}): Promise<
|
|
632
|
+
}): Promise<{}>;
|
|
615
633
|
/**
|
|
616
634
|
* With `?market=`, only that market's override goes and the global
|
|
617
635
|
* credentials stand — the market then sends over the global provider again,
|
|
@@ -633,10 +651,10 @@ mirrored exactly). A code that does not match is refused with 422 rather than re
|
|
|
633
651
|
point every market's traffic at one market's provider while looking at a screen that said
|
|
634
652
|
they had not.
|
|
635
653
|
* @throws {RevenexxException}
|
|
636
|
-
* @returns {Promise<
|
|
654
|
+
* @returns {Promise<{}>}
|
|
637
655
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
638
656
|
*/
|
|
639
|
-
channelCredentialDestroy(channel: string, market?: string): Promise<
|
|
657
|
+
channelCredentialDestroy(channel: string, market?: string): Promise<{}>;
|
|
640
658
|
/**
|
|
641
659
|
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
642
660
|
* body are written, and the answer says which of them actually CHANGED, so
|
|
@@ -672,13 +690,13 @@ point every market's traffic at one market's provider while looking at a screen
|
|
|
672
690
|
they had not.
|
|
673
691
|
* @param {string} params.driver -
|
|
674
692
|
* @throws {RevenexxException}
|
|
675
|
-
* @returns {Promise<
|
|
693
|
+
* @returns {Promise<{}>}
|
|
676
694
|
*/
|
|
677
695
|
channelCredentialUpdatePatch(params: {
|
|
678
696
|
channel: string;
|
|
679
697
|
market?: string;
|
|
680
698
|
driver?: string;
|
|
681
|
-
}): Promise<
|
|
699
|
+
}): Promise<{}>;
|
|
682
700
|
/**
|
|
683
701
|
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
684
702
|
* body are written, and the answer says which of them actually CHANGED, so
|
|
@@ -714,10 +732,10 @@ point every market's traffic at one market's provider while looking at a screen
|
|
|
714
732
|
they had not.
|
|
715
733
|
* @param {string} driver -
|
|
716
734
|
* @throws {RevenexxException}
|
|
717
|
-
* @returns {Promise<
|
|
735
|
+
* @returns {Promise<{}>}
|
|
718
736
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
719
737
|
*/
|
|
720
|
-
channelCredentialUpdatePatch(channel: string, market?: string, driver?: string): Promise<
|
|
738
|
+
channelCredentialUpdatePatch(channel: string, market?: string, driver?: string): Promise<{}>;
|
|
721
739
|
/**
|
|
722
740
|
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
723
741
|
* body are written, and the answer says which of them actually CHANGED, so
|
|
@@ -753,13 +771,13 @@ point every market's traffic at one market's provider while looking at a screen
|
|
|
753
771
|
they had not.
|
|
754
772
|
* @param {string} params.driver -
|
|
755
773
|
* @throws {RevenexxException}
|
|
756
|
-
* @returns {Promise<
|
|
774
|
+
* @returns {Promise<{}>}
|
|
757
775
|
*/
|
|
758
776
|
channelCredentialUpdate(params: {
|
|
759
777
|
channel: string;
|
|
760
778
|
market?: string;
|
|
761
779
|
driver?: string;
|
|
762
|
-
}): Promise<
|
|
780
|
+
}): Promise<{}>;
|
|
763
781
|
/**
|
|
764
782
|
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
765
783
|
* body are written, and the answer says which of them actually CHANGED, so
|
|
@@ -795,10 +813,10 @@ point every market's traffic at one market's provider while looking at a screen
|
|
|
795
813
|
they had not.
|
|
796
814
|
* @param {string} driver -
|
|
797
815
|
* @throws {RevenexxException}
|
|
798
|
-
* @returns {Promise<
|
|
816
|
+
* @returns {Promise<{}>}
|
|
799
817
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
800
818
|
*/
|
|
801
|
-
channelCredentialUpdate(channel: string, market?: string, driver?: string): Promise<
|
|
819
|
+
channelCredentialUpdate(channel: string, market?: string, driver?: string): Promise<{}>;
|
|
802
820
|
/**
|
|
803
821
|
* The one thing that turns this screen from a form into a tool. Credentials
|
|
804
822
|
* that only fail at send time cost a customer their first order
|
|
@@ -824,12 +842,12 @@ mirrored exactly). A code that does not match is refused with 422 rather than re
|
|
|
824
842
|
point every market's traffic at one market's provider while looking at a screen that said
|
|
825
843
|
they had not.
|
|
826
844
|
* @throws {RevenexxException}
|
|
827
|
-
* @returns {Promise<
|
|
845
|
+
* @returns {Promise<{}>}
|
|
828
846
|
*/
|
|
829
847
|
channelCredentialVerify(params: {
|
|
830
848
|
channel: string;
|
|
831
849
|
market?: string;
|
|
832
|
-
}): Promise<
|
|
850
|
+
}): Promise<{}>;
|
|
833
851
|
/**
|
|
834
852
|
* The one thing that turns this screen from a form into a tool. Credentials
|
|
835
853
|
* that only fail at send time cost a customer their first order
|
|
@@ -855,10 +873,10 @@ mirrored exactly). A code that does not match is refused with 422 rather than re
|
|
|
855
873
|
point every market's traffic at one market's provider while looking at a screen that said
|
|
856
874
|
they had not.
|
|
857
875
|
* @throws {RevenexxException}
|
|
858
|
-
* @returns {Promise<
|
|
876
|
+
* @returns {Promise<{}>}
|
|
859
877
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
860
878
|
*/
|
|
861
|
-
channelCredentialVerify(channel: string, market?: string): Promise<
|
|
879
|
+
channelCredentialVerify(channel: string, market?: string): Promise<{}>;
|
|
862
880
|
/**
|
|
863
881
|
* Each entry says whether the channel is switched on and which provider
|
|
864
882
|
* carries it by default. A channel that is off will refuse a send, so a UI
|
|
@@ -867,9 +885,9 @@ they had not.
|
|
|
867
885
|
* release of the client.
|
|
868
886
|
*
|
|
869
887
|
* @throws {RevenexxException}
|
|
870
|
-
* @returns {Promise<
|
|
888
|
+
* @returns {Promise<{}>}
|
|
871
889
|
*/
|
|
872
|
-
channelIndex(): Promise<
|
|
890
|
+
channelIndex(): Promise<{}>;
|
|
873
891
|
/**
|
|
874
892
|
* A tenant that was never provisioned has no row and still gets an answer:
|
|
875
893
|
* an empty shape rather than a 404, so the Cockpit's panels open on
|
|
@@ -882,9 +900,9 @@ they had not.
|
|
|
882
900
|
* on this one.
|
|
883
901
|
*
|
|
884
902
|
* @throws {RevenexxException}
|
|
885
|
-
* @returns {Promise<
|
|
903
|
+
* @returns {Promise<{}>}
|
|
886
904
|
*/
|
|
887
|
-
configShow(): Promise<
|
|
905
|
+
configShow(): Promise<{}>;
|
|
888
906
|
/**
|
|
889
907
|
* Reaches every message this tenant sends, including templates saved months
|
|
890
908
|
* ago — content placeholders resolve at send time, not at save time — which
|
|
@@ -922,7 +940,7 @@ other key in the bag along with it.
|
|
|
922
940
|
* @param {string[]} params.quietHours -
|
|
923
941
|
* @param {string} params.supportEmail -
|
|
924
942
|
* @throws {RevenexxException}
|
|
925
|
-
* @returns {Promise<
|
|
943
|
+
* @returns {Promise<{}>}
|
|
926
944
|
*/
|
|
927
945
|
configUpdatePatch(params?: {
|
|
928
946
|
defaultLocale?: string;
|
|
@@ -930,7 +948,7 @@ other key in the bag along with it.
|
|
|
930
948
|
product?: string;
|
|
931
949
|
quietHours?: string[];
|
|
932
950
|
supportEmail?: string;
|
|
933
|
-
}): Promise<
|
|
951
|
+
}): Promise<{}>;
|
|
934
952
|
/**
|
|
935
953
|
* Reaches every message this tenant sends, including templates saved months
|
|
936
954
|
* ago — content placeholders resolve at send time, not at save time — which
|
|
@@ -968,10 +986,10 @@ other key in the bag along with it.
|
|
|
968
986
|
* @param {string[]} quietHours -
|
|
969
987
|
* @param {string} supportEmail -
|
|
970
988
|
* @throws {RevenexxException}
|
|
971
|
-
* @returns {Promise<
|
|
989
|
+
* @returns {Promise<{}>}
|
|
972
990
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
973
991
|
*/
|
|
974
|
-
configUpdatePatch(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<
|
|
992
|
+
configUpdatePatch(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<{}>;
|
|
975
993
|
/**
|
|
976
994
|
* Reaches every message this tenant sends, including templates saved months
|
|
977
995
|
* ago — content placeholders resolve at send time, not at save time — which
|
|
@@ -1009,7 +1027,7 @@ other key in the bag along with it.
|
|
|
1009
1027
|
* @param {string[]} params.quietHours -
|
|
1010
1028
|
* @param {string} params.supportEmail -
|
|
1011
1029
|
* @throws {RevenexxException}
|
|
1012
|
-
* @returns {Promise<
|
|
1030
|
+
* @returns {Promise<{}>}
|
|
1013
1031
|
*/
|
|
1014
1032
|
configUpdate(params?: {
|
|
1015
1033
|
defaultLocale?: string;
|
|
@@ -1017,7 +1035,7 @@ other key in the bag along with it.
|
|
|
1017
1035
|
product?: string;
|
|
1018
1036
|
quietHours?: string[];
|
|
1019
1037
|
supportEmail?: string;
|
|
1020
|
-
}): Promise<
|
|
1038
|
+
}): Promise<{}>;
|
|
1021
1039
|
/**
|
|
1022
1040
|
* Reaches every message this tenant sends, including templates saved months
|
|
1023
1041
|
* ago — content placeholders resolve at send time, not at save time — which
|
|
@@ -1055,10 +1073,10 @@ other key in the bag along with it.
|
|
|
1055
1073
|
* @param {string[]} quietHours -
|
|
1056
1074
|
* @param {string} supportEmail -
|
|
1057
1075
|
* @throws {RevenexxException}
|
|
1058
|
-
* @returns {Promise<
|
|
1076
|
+
* @returns {Promise<{}>}
|
|
1059
1077
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1060
1078
|
*/
|
|
1061
|
-
configUpdate(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<
|
|
1079
|
+
configUpdate(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<{}>;
|
|
1062
1080
|
/**
|
|
1063
1081
|
* The order is the list's purpose: it is a picker, and the entry most
|
|
1064
1082
|
* templates are actually on belongs at the top of it.
|
|
@@ -1068,11 +1086,11 @@ other key in the bag along with it.
|
|
|
1068
1086
|
*
|
|
1069
1087
|
* @param {string} params.markets - Set to `all` for the unscoped read: every row whatever its markets, ignoring the `X-Revenexx-Market` header. The deliberate admin case, spelled in the query string so it is asked for rather than fallen into. No other value has any effect.
|
|
1070
1088
|
* @throws {RevenexxException}
|
|
1071
|
-
* @returns {Promise<
|
|
1089
|
+
* @returns {Promise<{}>}
|
|
1072
1090
|
*/
|
|
1073
1091
|
layoutIndex(params?: {
|
|
1074
1092
|
markets?: string;
|
|
1075
|
-
}): Promise<
|
|
1093
|
+
}): Promise<{}>;
|
|
1076
1094
|
/**
|
|
1077
1095
|
* The order is the list's purpose: it is a picker, and the entry most
|
|
1078
1096
|
* templates are actually on belongs at the top of it.
|
|
@@ -1082,10 +1100,10 @@ other key in the bag along with it.
|
|
|
1082
1100
|
*
|
|
1083
1101
|
* @param {string} markets - Set to `all` for the unscoped read: every row whatever its markets, ignoring the `X-Revenexx-Market` header. The deliberate admin case, spelled in the query string so it is asked for rather than fallen into. No other value has any effect.
|
|
1084
1102
|
* @throws {RevenexxException}
|
|
1085
|
-
* @returns {Promise<
|
|
1103
|
+
* @returns {Promise<{}>}
|
|
1086
1104
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1087
1105
|
*/
|
|
1088
|
-
layoutIndex(markets?: string): Promise<
|
|
1106
|
+
layoutIndex(markets?: string): Promise<{}>;
|
|
1089
1107
|
/**
|
|
1090
1108
|
* A tenant's FIRST layout becomes the default whatever the request says: a
|
|
1091
1109
|
* tenant with no default cannot compile a template that does not name one.
|
|
@@ -1098,9 +1116,9 @@ other key in the bag along with it.
|
|
|
1098
1116
|
* from now, with nobody left who remembers typing the date.
|
|
1099
1117
|
*
|
|
1100
1118
|
* @throws {RevenexxException}
|
|
1101
|
-
* @returns {Promise<
|
|
1119
|
+
* @returns {Promise<{}>}
|
|
1102
1120
|
*/
|
|
1103
|
-
layoutStore(): Promise<
|
|
1121
|
+
layoutStore(): Promise<{}>;
|
|
1104
1122
|
/**
|
|
1105
1123
|
* Answers 200 with a body rather than the 204 the other resources use: the
|
|
1106
1124
|
* count of reassigned templates is the part an operator needs, and a
|
|
@@ -1109,11 +1127,11 @@ other key in the bag along with it.
|
|
|
1109
1127
|
*
|
|
1110
1128
|
* @param {string} params.id -
|
|
1111
1129
|
* @throws {RevenexxException}
|
|
1112
|
-
* @returns {Promise<
|
|
1130
|
+
* @returns {Promise<{}>}
|
|
1113
1131
|
*/
|
|
1114
1132
|
layoutDestroy(params: {
|
|
1115
1133
|
id: string;
|
|
1116
|
-
}): Promise<
|
|
1134
|
+
}): Promise<{}>;
|
|
1117
1135
|
/**
|
|
1118
1136
|
* Answers 200 with a body rather than the 204 the other resources use: the
|
|
1119
1137
|
* count of reassigned templates is the part an operator needs, and a
|
|
@@ -1122,10 +1140,10 @@ other key in the bag along with it.
|
|
|
1122
1140
|
*
|
|
1123
1141
|
* @param {string} id -
|
|
1124
1142
|
* @throws {RevenexxException}
|
|
1125
|
-
* @returns {Promise<
|
|
1143
|
+
* @returns {Promise<{}>}
|
|
1126
1144
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1127
1145
|
*/
|
|
1128
|
-
layoutDestroy(id: string): Promise<
|
|
1146
|
+
layoutDestroy(id: string): Promise<{}>;
|
|
1129
1147
|
/**
|
|
1130
1148
|
* Not market-filtered, deliberately: market scoping is a browsing concern,
|
|
1131
1149
|
* and somebody holding an id may read the row. A template pinned to a
|
|
@@ -1133,11 +1151,11 @@ other key in the bag along with it.
|
|
|
1133
1151
|
*
|
|
1134
1152
|
* @param {string} params.id -
|
|
1135
1153
|
* @throws {RevenexxException}
|
|
1136
|
-
* @returns {Promise<
|
|
1154
|
+
* @returns {Promise<{}>}
|
|
1137
1155
|
*/
|
|
1138
1156
|
layoutShow(params: {
|
|
1139
1157
|
id: string;
|
|
1140
|
-
}): Promise<
|
|
1158
|
+
}): Promise<{}>;
|
|
1141
1159
|
/**
|
|
1142
1160
|
* Not market-filtered, deliberately: market scoping is a browsing concern,
|
|
1143
1161
|
* and somebody holding an id may read the row. A template pinned to a
|
|
@@ -1145,10 +1163,10 @@ other key in the bag along with it.
|
|
|
1145
1163
|
*
|
|
1146
1164
|
* @param {string} id -
|
|
1147
1165
|
* @throws {RevenexxException}
|
|
1148
|
-
* @returns {Promise<
|
|
1166
|
+
* @returns {Promise<{}>}
|
|
1149
1167
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1150
1168
|
*/
|
|
1151
|
-
layoutShow(id: string): Promise<
|
|
1169
|
+
layoutShow(id: string): Promise<{}>;
|
|
1152
1170
|
/**
|
|
1153
1171
|
* The change reaches every template on this layout, including ones saved
|
|
1154
1172
|
* months ago and never opened since — which is exactly the change nobody
|
|
@@ -1170,11 +1188,11 @@ other key in the bag along with it.
|
|
|
1170
1188
|
*
|
|
1171
1189
|
* @param {string} params.id -
|
|
1172
1190
|
* @throws {RevenexxException}
|
|
1173
|
-
* @returns {Promise<
|
|
1191
|
+
* @returns {Promise<{}>}
|
|
1174
1192
|
*/
|
|
1175
1193
|
layoutUpdate(params: {
|
|
1176
1194
|
id: string;
|
|
1177
|
-
}): Promise<
|
|
1195
|
+
}): Promise<{}>;
|
|
1178
1196
|
/**
|
|
1179
1197
|
* The change reaches every template on this layout, including ones saved
|
|
1180
1198
|
* months ago and never opened since — which is exactly the change nobody
|
|
@@ -1196,10 +1214,10 @@ other key in the bag along with it.
|
|
|
1196
1214
|
*
|
|
1197
1215
|
* @param {string} id -
|
|
1198
1216
|
* @throws {RevenexxException}
|
|
1199
|
-
* @returns {Promise<
|
|
1217
|
+
* @returns {Promise<{}>}
|
|
1200
1218
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1201
1219
|
*/
|
|
1202
|
-
layoutUpdate(id: string): Promise<
|
|
1220
|
+
layoutUpdate(id: string): Promise<{}>;
|
|
1203
1221
|
/**
|
|
1204
1222
|
* What the Cockpit's "start from a template" gallery is built from. These
|
|
1205
1223
|
* are not the tenant's rows and cannot be edited here: provisioning clones
|
|
@@ -1208,12 +1226,12 @@ other key in the bag along with it.
|
|
|
1208
1226
|
* @param {string} params.channel -
|
|
1209
1227
|
* @param {string} params.locale -
|
|
1210
1228
|
* @throws {RevenexxException}
|
|
1211
|
-
* @returns {Promise<
|
|
1229
|
+
* @returns {Promise<{}>}
|
|
1212
1230
|
*/
|
|
1213
1231
|
libraryIndex(params?: {
|
|
1214
1232
|
channel?: string;
|
|
1215
1233
|
locale?: string;
|
|
1216
|
-
}): Promise<
|
|
1234
|
+
}): Promise<{}>;
|
|
1217
1235
|
/**
|
|
1218
1236
|
* What the Cockpit's "start from a template" gallery is built from. These
|
|
1219
1237
|
* are not the tenant's rows and cannot be edited here: provisioning clones
|
|
@@ -1222,10 +1240,10 @@ other key in the bag along with it.
|
|
|
1222
1240
|
* @param {string} channel -
|
|
1223
1241
|
* @param {string} locale -
|
|
1224
1242
|
* @throws {RevenexxException}
|
|
1225
|
-
* @returns {Promise<
|
|
1243
|
+
* @returns {Promise<{}>}
|
|
1226
1244
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1227
1245
|
*/
|
|
1228
|
-
libraryIndex(channel?: string, locale?: string): Promise<
|
|
1246
|
+
libraryIndex(channel?: string, locale?: string): Promise<{}>;
|
|
1229
1247
|
/**
|
|
1230
1248
|
* `?channel=` and `?status=` narrow it; `?limit=` is clamped to 200 and
|
|
1231
1249
|
* defaults to 50. `?channel=inapp` is the tenant's in-app inbox — the
|
|
@@ -1237,12 +1255,12 @@ other key in the bag along with it.
|
|
|
1237
1255
|
* @param {string} params.channel -
|
|
1238
1256
|
* @param {string} params.status -
|
|
1239
1257
|
* @throws {RevenexxException}
|
|
1240
|
-
* @returns {Promise<
|
|
1258
|
+
* @returns {Promise<{}>}
|
|
1241
1259
|
*/
|
|
1242
1260
|
messageIndex(params?: {
|
|
1243
1261
|
channel?: string;
|
|
1244
1262
|
status?: string;
|
|
1245
|
-
}): Promise<
|
|
1263
|
+
}): Promise<{}>;
|
|
1246
1264
|
/**
|
|
1247
1265
|
* `?channel=` and `?status=` narrow it; `?limit=` is clamped to 200 and
|
|
1248
1266
|
* defaults to 50. `?channel=inapp` is the tenant's in-app inbox — the
|
|
@@ -1254,10 +1272,10 @@ other key in the bag along with it.
|
|
|
1254
1272
|
* @param {string} channel -
|
|
1255
1273
|
* @param {string} status -
|
|
1256
1274
|
* @throws {RevenexxException}
|
|
1257
|
-
* @returns {Promise<
|
|
1275
|
+
* @returns {Promise<{}>}
|
|
1258
1276
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1259
1277
|
*/
|
|
1260
|
-
messageIndex(channel?: string, status?: string): Promise<
|
|
1278
|
+
messageIndex(channel?: string, status?: string): Promise<{}>;
|
|
1261
1279
|
/**
|
|
1262
1280
|
* Carries the render model it was sent with, so "why did this mail say
|
|
1263
1281
|
* * that" is answerable after the fact. That is also why the row is personal
|
|
@@ -1265,11 +1283,11 @@ other key in the bag along with it.
|
|
|
1265
1283
|
*
|
|
1266
1284
|
* @param {string} params.id -
|
|
1267
1285
|
* @throws {RevenexxException}
|
|
1268
|
-
* @returns {Promise<
|
|
1286
|
+
* @returns {Promise<{}>}
|
|
1269
1287
|
*/
|
|
1270
1288
|
messageShow(params: {
|
|
1271
1289
|
id: string;
|
|
1272
|
-
}): Promise<
|
|
1290
|
+
}): Promise<{}>;
|
|
1273
1291
|
/**
|
|
1274
1292
|
* Carries the render model it was sent with, so "why did this mail say
|
|
1275
1293
|
* * that" is answerable after the fact. That is also why the row is personal
|
|
@@ -1277,10 +1295,10 @@ other key in the bag along with it.
|
|
|
1277
1295
|
*
|
|
1278
1296
|
* @param {string} id -
|
|
1279
1297
|
* @throws {RevenexxException}
|
|
1280
|
-
* @returns {Promise<
|
|
1298
|
+
* @returns {Promise<{}>}
|
|
1281
1299
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1282
1300
|
*/
|
|
1283
|
-
messageShow(id: string): Promise<
|
|
1301
|
+
messageShow(id: string): Promise<{}>;
|
|
1284
1302
|
/**
|
|
1285
1303
|
* Answers with the resolved subject, HTML and text exactly as a real send
|
|
1286
1304
|
* would produce them, so an editor can show a faithful preview without a
|
|
@@ -1301,14 +1319,14 @@ Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
|
1301
1319
|
still resolve. Anything named here wins over all of them.
|
|
1302
1320
|
* @param {string} params.locale -
|
|
1303
1321
|
* @throws {RevenexxException}
|
|
1304
|
-
* @returns {Promise<
|
|
1322
|
+
* @returns {Promise<{}>}
|
|
1305
1323
|
*/
|
|
1306
1324
|
sendPreview(params: {
|
|
1307
1325
|
channel: string;
|
|
1308
1326
|
template: string;
|
|
1309
1327
|
data?: object;
|
|
1310
1328
|
locale?: string;
|
|
1311
|
-
}): Promise<
|
|
1329
|
+
}): Promise<{}>;
|
|
1312
1330
|
/**
|
|
1313
1331
|
* Answers with the resolved subject, HTML and text exactly as a real send
|
|
1314
1332
|
* would produce them, so an editor can show a faithful preview without a
|
|
@@ -1329,10 +1347,10 @@ Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
|
1329
1347
|
still resolve. Anything named here wins over all of them.
|
|
1330
1348
|
* @param {string} locale -
|
|
1331
1349
|
* @throws {RevenexxException}
|
|
1332
|
-
* @returns {Promise<
|
|
1350
|
+
* @returns {Promise<{}>}
|
|
1333
1351
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1334
1352
|
*/
|
|
1335
|
-
sendPreview(channel: string, template: string, data?: object, locale?: string): Promise<
|
|
1353
|
+
sendPreview(channel: string, template: string, data?: object, locale?: string): Promise<{}>;
|
|
1336
1354
|
/**
|
|
1337
1355
|
* Per (channel, address), because an address is channel-shaped and the rows
|
|
1338
1356
|
* it has to line up with are keyed that way. Matching is done on the
|
|
@@ -1355,12 +1373,12 @@ still resolve. Anything named here wins over all of them.
|
|
|
1355
1373
|
channel-shaped, and the suppression and token rows it has to line
|
|
1356
1374
|
up with are keyed that way.
|
|
1357
1375
|
* @throws {RevenexxException}
|
|
1358
|
-
* @returns {Promise<
|
|
1376
|
+
* @returns {Promise<{}>}
|
|
1359
1377
|
*/
|
|
1360
1378
|
erasureStore(params: {
|
|
1361
1379
|
address: string;
|
|
1362
1380
|
channel: string;
|
|
1363
|
-
}): Promise<
|
|
1381
|
+
}): Promise<{}>;
|
|
1364
1382
|
/**
|
|
1365
1383
|
* Per (channel, address), because an address is channel-shaped and the rows
|
|
1366
1384
|
* it has to line up with are keyed that way. Matching is done on the
|
|
@@ -1383,10 +1401,10 @@ up with are keyed that way.
|
|
|
1383
1401
|
channel-shaped, and the suppression and token rows it has to line
|
|
1384
1402
|
up with are keyed that way.
|
|
1385
1403
|
* @throws {RevenexxException}
|
|
1386
|
-
* @returns {Promise<
|
|
1404
|
+
* @returns {Promise<{}>}
|
|
1387
1405
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1388
1406
|
*/
|
|
1389
|
-
erasureStore(address: string, channel: string): Promise<
|
|
1407
|
+
erasureStore(address: string, channel: string): Promise<{}>;
|
|
1390
1408
|
/**
|
|
1391
1409
|
* By endpoint and not by id, because the browser knows its endpoint and has
|
|
1392
1410
|
* never seen our id — this is called from a service worker reacting to
|
|
@@ -1394,11 +1412,11 @@ up with are keyed that way.
|
|
|
1394
1412
|
*
|
|
1395
1413
|
* @param {string} params.endpoint -
|
|
1396
1414
|
* @throws {RevenexxException}
|
|
1397
|
-
* @returns {Promise<
|
|
1415
|
+
* @returns {Promise<{}>}
|
|
1398
1416
|
*/
|
|
1399
1417
|
pushSubscriptionDestroy(params: {
|
|
1400
1418
|
endpoint: string;
|
|
1401
|
-
}): Promise<
|
|
1419
|
+
}): Promise<{}>;
|
|
1402
1420
|
/**
|
|
1403
1421
|
* By endpoint and not by id, because the browser knows its endpoint and has
|
|
1404
1422
|
* never seen our id — this is called from a service worker reacting to
|
|
@@ -1406,10 +1424,10 @@ up with are keyed that way.
|
|
|
1406
1424
|
*
|
|
1407
1425
|
* @param {string} endpoint -
|
|
1408
1426
|
* @throws {RevenexxException}
|
|
1409
|
-
* @returns {Promise<
|
|
1427
|
+
* @returns {Promise<{}>}
|
|
1410
1428
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1411
1429
|
*/
|
|
1412
|
-
pushSubscriptionDestroy(endpoint: string): Promise<
|
|
1430
|
+
pushSubscriptionDestroy(endpoint: string): Promise<{}>;
|
|
1413
1431
|
/**
|
|
1414
1432
|
* `subscriber_id` is required: this is not a list of everybody, and there
|
|
1415
1433
|
* is no route that is. The caller is a storefront acting for one visitor
|
|
@@ -1421,11 +1439,11 @@ up with are keyed that way.
|
|
|
1421
1439
|
*
|
|
1422
1440
|
* @param {string} params.subscriberId -
|
|
1423
1441
|
* @throws {RevenexxException}
|
|
1424
|
-
* @returns {Promise<
|
|
1442
|
+
* @returns {Promise<{}>}
|
|
1425
1443
|
*/
|
|
1426
1444
|
pushSubscriptionIndex(params: {
|
|
1427
1445
|
subscriberId: string;
|
|
1428
|
-
}): Promise<
|
|
1446
|
+
}): Promise<{}>;
|
|
1429
1447
|
/**
|
|
1430
1448
|
* `subscriber_id` is required: this is not a list of everybody, and there
|
|
1431
1449
|
* is no route that is. The caller is a storefront acting for one visitor
|
|
@@ -1437,10 +1455,10 @@ up with are keyed that way.
|
|
|
1437
1455
|
*
|
|
1438
1456
|
* @param {string} subscriberId -
|
|
1439
1457
|
* @throws {RevenexxException}
|
|
1440
|
-
* @returns {Promise<
|
|
1458
|
+
* @returns {Promise<{}>}
|
|
1441
1459
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1442
1460
|
*/
|
|
1443
|
-
pushSubscriptionIndex(subscriberId: string): Promise<
|
|
1461
|
+
pushSubscriptionIndex(subscriberId: string): Promise<{}>;
|
|
1444
1462
|
/**
|
|
1445
1463
|
* Send what `PushManager.subscribe()` handed back — the endpoint and the
|
|
1446
1464
|
* two keys — plus the id you know that person by. The VAPID public key the
|
|
@@ -1458,14 +1476,14 @@ up with are keyed that way.
|
|
|
1458
1476
|
* @param {string} params.subscriberId -
|
|
1459
1477
|
* @param {string} params.userAgent -
|
|
1460
1478
|
* @throws {RevenexxException}
|
|
1461
|
-
* @returns {Promise<
|
|
1479
|
+
* @returns {Promise<{}>}
|
|
1462
1480
|
*/
|
|
1463
1481
|
pushSubscriptionStore(params: {
|
|
1464
1482
|
endpoint: string;
|
|
1465
1483
|
keys: object;
|
|
1466
1484
|
subscriberId: string;
|
|
1467
1485
|
userAgent?: string;
|
|
1468
|
-
}): Promise<
|
|
1486
|
+
}): Promise<{}>;
|
|
1469
1487
|
/**
|
|
1470
1488
|
* Send what `PushManager.subscribe()` handed back — the endpoint and the
|
|
1471
1489
|
* two keys — plus the id you know that person by. The VAPID public key the
|
|
@@ -1483,10 +1501,10 @@ up with are keyed that way.
|
|
|
1483
1501
|
* @param {string} subscriberId -
|
|
1484
1502
|
* @param {string} userAgent -
|
|
1485
1503
|
* @throws {RevenexxException}
|
|
1486
|
-
* @returns {Promise<
|
|
1504
|
+
* @returns {Promise<{}>}
|
|
1487
1505
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1488
1506
|
*/
|
|
1489
|
-
pushSubscriptionStore(endpoint: string, keys: object, subscriberId: string, userAgent?: string): Promise<
|
|
1507
|
+
pushSubscriptionStore(endpoint: string, keys: object, subscriberId: string, userAgent?: string): Promise<{}>;
|
|
1490
1508
|
/**
|
|
1491
1509
|
* Renders a tenant template and dispatches it — now, at `send_at`, or at
|
|
1492
1510
|
* the end of the tenant's quiet hours.
|
|
@@ -1550,7 +1568,7 @@ client retrying a request it built ten minutes ago is asking for
|
|
|
1550
1568
|
the same send, and refusing it turns a late retry into a lost
|
|
1551
1569
|
message.
|
|
1552
1570
|
* @throws {RevenexxException}
|
|
1553
|
-
* @returns {Promise<
|
|
1571
|
+
* @returns {Promise<{}>}
|
|
1554
1572
|
*/
|
|
1555
1573
|
sendSend(params: {
|
|
1556
1574
|
channel: string;
|
|
@@ -1562,7 +1580,7 @@ message.
|
|
|
1562
1580
|
locale?: string;
|
|
1563
1581
|
market?: string;
|
|
1564
1582
|
sendAt?: string;
|
|
1565
|
-
}): Promise<
|
|
1583
|
+
}): Promise<{}>;
|
|
1566
1584
|
/**
|
|
1567
1585
|
* Renders a tenant template and dispatches it — now, at `send_at`, or at
|
|
1568
1586
|
* the end of the tenant's quiet hours.
|
|
@@ -1626,10 +1644,10 @@ client retrying a request it built ten minutes ago is asking for
|
|
|
1626
1644
|
the same send, and refusing it turns a late retry into a lost
|
|
1627
1645
|
message.
|
|
1628
1646
|
* @throws {RevenexxException}
|
|
1629
|
-
* @returns {Promise<
|
|
1647
|
+
* @returns {Promise<{}>}
|
|
1630
1648
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1631
1649
|
*/
|
|
1632
|
-
sendSend(channel: string, template: string, to: string, attachments?: object[], data?: object, draft?: boolean, locale?: string, market?: string, sendAt?: string): Promise<
|
|
1650
|
+
sendSend(channel: string, template: string, to: string, attachments?: object[], data?: object, draft?: boolean, locale?: string, market?: string, sendAt?: string): Promise<{}>;
|
|
1633
1651
|
/**
|
|
1634
1652
|
* Either `days` (a window ending now, default 30) or an explicit `from`/`to`
|
|
1635
1653
|
* span. Both ends of the span or neither: `from` alone would be an open
|
|
@@ -1672,13 +1690,13 @@ past today ends today — there is no data ahead of now, and a
|
|
|
1672
1690
|
window with a future edge draws the series short against an axis
|
|
1673
1691
|
claiming a month nobody has lived through.
|
|
1674
1692
|
* @throws {RevenexxException}
|
|
1675
|
-
* @returns {Promise<
|
|
1693
|
+
* @returns {Promise<{}>}
|
|
1676
1694
|
*/
|
|
1677
1695
|
statsIndex(params?: {
|
|
1678
1696
|
days?: number;
|
|
1679
1697
|
from?: string;
|
|
1680
1698
|
to?: string;
|
|
1681
|
-
}): Promise<
|
|
1699
|
+
}): Promise<{}>;
|
|
1682
1700
|
/**
|
|
1683
1701
|
* Either `days` (a window ending now, default 30) or an explicit `from`/`to`
|
|
1684
1702
|
* span. Both ends of the span or neither: `from` alone would be an open
|
|
@@ -1721,10 +1739,10 @@ past today ends today — there is no data ahead of now, and a
|
|
|
1721
1739
|
window with a future edge draws the series short against an axis
|
|
1722
1740
|
claiming a month nobody has lived through.
|
|
1723
1741
|
* @throws {RevenexxException}
|
|
1724
|
-
* @returns {Promise<
|
|
1742
|
+
* @returns {Promise<{}>}
|
|
1725
1743
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1726
1744
|
*/
|
|
1727
|
-
statsIndex(days?: number, from?: string, to?: string): Promise<
|
|
1745
|
+
statsIndex(days?: number, from?: string, to?: string): Promise<{}>;
|
|
1728
1746
|
/**
|
|
1729
1747
|
* Filterable by `channel`, `scope`, `reason` and `address`. The address
|
|
1730
1748
|
* filter is looked up by FINGERPRINT rather than against the address
|
|
@@ -1738,7 +1756,7 @@ claiming a month nobody has lived through.
|
|
|
1738
1756
|
* @param {string} params.address -
|
|
1739
1757
|
* @param {number} params.limit -
|
|
1740
1758
|
* @throws {RevenexxException}
|
|
1741
|
-
* @returns {Promise<
|
|
1759
|
+
* @returns {Promise<{}>}
|
|
1742
1760
|
*/
|
|
1743
1761
|
suppressionIndex(params?: {
|
|
1744
1762
|
channel?: string;
|
|
@@ -1746,7 +1764,7 @@ claiming a month nobody has lived through.
|
|
|
1746
1764
|
reason?: Reason;
|
|
1747
1765
|
address?: string;
|
|
1748
1766
|
limit?: number;
|
|
1749
|
-
}): Promise<
|
|
1767
|
+
}): Promise<{}>;
|
|
1750
1768
|
/**
|
|
1751
1769
|
* Filterable by `channel`, `scope`, `reason` and `address`. The address
|
|
1752
1770
|
* filter is looked up by FINGERPRINT rather than against the address
|
|
@@ -1760,10 +1778,10 @@ claiming a month nobody has lived through.
|
|
|
1760
1778
|
* @param {string} address -
|
|
1761
1779
|
* @param {number} limit -
|
|
1762
1780
|
* @throws {RevenexxException}
|
|
1763
|
-
* @returns {Promise<
|
|
1781
|
+
* @returns {Promise<{}>}
|
|
1764
1782
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1765
1783
|
*/
|
|
1766
|
-
suppressionIndex(channel?: string, scope?: Scope, reason?: Reason, address?: string, limit?: number): Promise<
|
|
1784
|
+
suppressionIndex(channel?: string, scope?: Scope, reason?: Reason, address?: string, limit?: number): Promise<{}>;
|
|
1767
1785
|
/**
|
|
1768
1786
|
* 201 for a row this call created, 200 for an address that was already on
|
|
1769
1787
|
* the list — so a client can tell whether it changed anything.
|
|
@@ -1782,7 +1800,7 @@ claiming a month nobody has lived through.
|
|
|
1782
1800
|
* @param {string} params.note -
|
|
1783
1801
|
* @param {Scope} params.scope -
|
|
1784
1802
|
* @throws {RevenexxException}
|
|
1785
|
-
* @returns {Promise<
|
|
1803
|
+
* @returns {Promise<{}>}
|
|
1786
1804
|
*/
|
|
1787
1805
|
suppressionStore(params: {
|
|
1788
1806
|
address: string;
|
|
@@ -1791,7 +1809,7 @@ claiming a month nobody has lived through.
|
|
|
1791
1809
|
expiresAt?: string;
|
|
1792
1810
|
note?: string;
|
|
1793
1811
|
scope?: Scope;
|
|
1794
|
-
}): Promise<
|
|
1812
|
+
}): Promise<{}>;
|
|
1795
1813
|
/**
|
|
1796
1814
|
* 201 for a row this call created, 200 for an address that was already on
|
|
1797
1815
|
* the list — so a client can tell whether it changed anything.
|
|
@@ -1810,10 +1828,10 @@ claiming a month nobody has lived through.
|
|
|
1810
1828
|
* @param {string} note -
|
|
1811
1829
|
* @param {Scope} scope -
|
|
1812
1830
|
* @throws {RevenexxException}
|
|
1813
|
-
* @returns {Promise<
|
|
1831
|
+
* @returns {Promise<{}>}
|
|
1814
1832
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1815
1833
|
*/
|
|
1816
|
-
suppressionStore(address: string, channel: string, reason: Reason, expiresAt?: string, note?: string, scope?: Scope): Promise<
|
|
1834
|
+
suppressionStore(address: string, channel: string, reason: Reason, expiresAt?: string, note?: string, scope?: Scope): Promise<{}>;
|
|
1817
1835
|
/**
|
|
1818
1836
|
* Audited, unlike most deletes in this service. Removing a row here is the
|
|
1819
1837
|
* one operation that makes the service mail an address something decided
|
|
@@ -1822,11 +1840,11 @@ claiming a month nobody has lived through.
|
|
|
1822
1840
|
*
|
|
1823
1841
|
* @param {string} params.id -
|
|
1824
1842
|
* @throws {RevenexxException}
|
|
1825
|
-
* @returns {Promise<
|
|
1843
|
+
* @returns {Promise<{}>}
|
|
1826
1844
|
*/
|
|
1827
1845
|
suppressionDestroy(params: {
|
|
1828
1846
|
id: string;
|
|
1829
|
-
}): Promise<
|
|
1847
|
+
}): Promise<{}>;
|
|
1830
1848
|
/**
|
|
1831
1849
|
* Audited, unlike most deletes in this service. Removing a row here is the
|
|
1832
1850
|
* one operation that makes the service mail an address something decided
|
|
@@ -1835,10 +1853,10 @@ claiming a month nobody has lived through.
|
|
|
1835
1853
|
*
|
|
1836
1854
|
* @param {string} id -
|
|
1837
1855
|
* @throws {RevenexxException}
|
|
1838
|
-
* @returns {Promise<
|
|
1856
|
+
* @returns {Promise<{}>}
|
|
1839
1857
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1840
1858
|
*/
|
|
1841
|
-
suppressionDestroy(id: string): Promise<
|
|
1859
|
+
suppressionDestroy(id: string): Promise<{}>;
|
|
1842
1860
|
/**
|
|
1843
1861
|
* `address` may be null: that is a person who has been erased
|
|
1844
1862
|
* (POST /v1/privacy/erasures). The row survives as a hash, which is the
|
|
@@ -1846,11 +1864,11 @@ claiming a month nobody has lived through.
|
|
|
1846
1864
|
*
|
|
1847
1865
|
* @param {string} params.id -
|
|
1848
1866
|
* @throws {RevenexxException}
|
|
1849
|
-
* @returns {Promise<
|
|
1867
|
+
* @returns {Promise<{}>}
|
|
1850
1868
|
*/
|
|
1851
1869
|
suppressionShow(params: {
|
|
1852
1870
|
id: string;
|
|
1853
|
-
}): Promise<
|
|
1871
|
+
}): Promise<{}>;
|
|
1854
1872
|
/**
|
|
1855
1873
|
* `address` may be null: that is a person who has been erased
|
|
1856
1874
|
* (POST /v1/privacy/erasures). The row survives as a hash, which is the
|
|
@@ -1858,10 +1876,10 @@ claiming a month nobody has lived through.
|
|
|
1858
1876
|
*
|
|
1859
1877
|
* @param {string} id -
|
|
1860
1878
|
* @throws {RevenexxException}
|
|
1861
|
-
* @returns {Promise<
|
|
1879
|
+
* @returns {Promise<{}>}
|
|
1862
1880
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1863
1881
|
*/
|
|
1864
|
-
suppressionShow(id: string): Promise<
|
|
1882
|
+
suppressionShow(id: string): Promise<{}>;
|
|
1865
1883
|
/**
|
|
1866
1884
|
* `?channel=` narrows to one channel. Market-scoped as a BROWSING filter:
|
|
1867
1885
|
* with `X-Revenexx-Market` the list is the global rows plus that market's,
|
|
@@ -1872,12 +1890,12 @@ claiming a month nobody has lived through.
|
|
|
1872
1890
|
* @param {string} params.channel -
|
|
1873
1891
|
* @param {string} params.markets - Set to `all` for the unscoped read: every row whatever its markets, ignoring the `X-Revenexx-Market` header. The deliberate admin case, spelled in the query string so it is asked for rather than fallen into. No other value has any effect.
|
|
1874
1892
|
* @throws {RevenexxException}
|
|
1875
|
-
* @returns {Promise<
|
|
1893
|
+
* @returns {Promise<{}>}
|
|
1876
1894
|
*/
|
|
1877
1895
|
templateIndex(params?: {
|
|
1878
1896
|
channel?: string;
|
|
1879
1897
|
markets?: string;
|
|
1880
|
-
}): Promise<
|
|
1898
|
+
}): Promise<{}>;
|
|
1881
1899
|
/**
|
|
1882
1900
|
* `?channel=` narrows to one channel. Market-scoped as a BROWSING filter:
|
|
1883
1901
|
* with `X-Revenexx-Market` the list is the global rows plus that market's,
|
|
@@ -1888,10 +1906,10 @@ claiming a month nobody has lived through.
|
|
|
1888
1906
|
* @param {string} channel -
|
|
1889
1907
|
* @param {string} markets - Set to `all` for the unscoped read: every row whatever its markets, ignoring the `X-Revenexx-Market` header. The deliberate admin case, spelled in the query string so it is asked for rather than fallen into. No other value has any effect.
|
|
1890
1908
|
* @throws {RevenexxException}
|
|
1891
|
-
* @returns {Promise<
|
|
1909
|
+
* @returns {Promise<{}>}
|
|
1892
1910
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1893
1911
|
*/
|
|
1894
|
-
templateIndex(channel?: string, markets?: string): Promise<
|
|
1912
|
+
templateIndex(channel?: string, markets?: string): Promise<{}>;
|
|
1895
1913
|
/**
|
|
1896
1914
|
* Send a `design` document and the service compiles it against the
|
|
1897
1915
|
* template's layout — or send `body_html` and `body_text` yourself and skip
|
|
@@ -1957,7 +1975,7 @@ wrong on an invoice nobody reads until the quarter closes.
|
|
|
1957
1975
|
Nullable: it is not a fact about an e-mail template, and what an
|
|
1958
1976
|
unset one means is decided on read (Template::whatsappCategory).
|
|
1959
1977
|
* @throws {RevenexxException}
|
|
1960
|
-
* @returns {Promise<
|
|
1978
|
+
* @returns {Promise<{}>}
|
|
1961
1979
|
*/
|
|
1962
1980
|
templateStore(params: {
|
|
1963
1981
|
channel: string;
|
|
@@ -1979,7 +1997,7 @@ unset one means is decided on read (Template::whatsappCategory).
|
|
|
1979
1997
|
variableDefaults?: string[];
|
|
1980
1998
|
variables?: string[];
|
|
1981
1999
|
whatsappCategory?: WhatsappCategory;
|
|
1982
|
-
}): Promise<
|
|
2000
|
+
}): Promise<{}>;
|
|
1983
2001
|
/**
|
|
1984
2002
|
* Send a `design` document and the service compiles it against the
|
|
1985
2003
|
* template's layout — or send `body_html` and `body_text` yourself and skip
|
|
@@ -2045,10 +2063,10 @@ wrong on an invoice nobody reads until the quarter closes.
|
|
|
2045
2063
|
Nullable: it is not a fact about an e-mail template, and what an
|
|
2046
2064
|
unset one means is decided on read (Template::whatsappCategory).
|
|
2047
2065
|
* @throws {RevenexxException}
|
|
2048
|
-
* @returns {Promise<
|
|
2066
|
+
* @returns {Promise<{}>}
|
|
2049
2067
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2050
2068
|
*/
|
|
2051
|
-
templateStore(channel: string, key: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, locale?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<
|
|
2069
|
+
templateStore(channel: string, key: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, locale?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<{}>;
|
|
2052
2070
|
/**
|
|
2053
2071
|
* Any binding still naming this template's key will find nothing when its
|
|
2054
2072
|
* event next arrives. Audited under the KEY as well as the id: after the
|
|
@@ -2057,11 +2075,11 @@ unset one means is decided on read (Template::whatsappCategory).
|
|
|
2057
2075
|
*
|
|
2058
2076
|
* @param {string} params.id -
|
|
2059
2077
|
* @throws {RevenexxException}
|
|
2060
|
-
* @returns {Promise<
|
|
2078
|
+
* @returns {Promise<{}>}
|
|
2061
2079
|
*/
|
|
2062
2080
|
templateDestroy(params: {
|
|
2063
2081
|
id: string;
|
|
2064
|
-
}): Promise<
|
|
2082
|
+
}): Promise<{}>;
|
|
2065
2083
|
/**
|
|
2066
2084
|
* Any binding still naming this template's key will find nothing when its
|
|
2067
2085
|
* event next arrives. Audited under the KEY as well as the id: after the
|
|
@@ -2070,10 +2088,10 @@ unset one means is decided on read (Template::whatsappCategory).
|
|
|
2070
2088
|
*
|
|
2071
2089
|
* @param {string} id -
|
|
2072
2090
|
* @throws {RevenexxException}
|
|
2073
|
-
* @returns {Promise<
|
|
2091
|
+
* @returns {Promise<{}>}
|
|
2074
2092
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2075
2093
|
*/
|
|
2076
|
-
templateDestroy(id: string): Promise<
|
|
2094
|
+
templateDestroy(id: string): Promise<{}>;
|
|
2077
2095
|
/**
|
|
2078
2096
|
* What customers are receiving is the published snapshot; see
|
|
2079
2097
|
* `GET /v1/templates/{id}/versions`, whose `meta.has_unpublished_changes`
|
|
@@ -2084,11 +2102,11 @@ unset one means is decided on read (Template::whatsappCategory).
|
|
|
2084
2102
|
*
|
|
2085
2103
|
* @param {string} params.id -
|
|
2086
2104
|
* @throws {RevenexxException}
|
|
2087
|
-
* @returns {Promise<
|
|
2105
|
+
* @returns {Promise<{}>}
|
|
2088
2106
|
*/
|
|
2089
2107
|
templateShow(params: {
|
|
2090
2108
|
id: string;
|
|
2091
|
-
}): Promise<
|
|
2109
|
+
}): Promise<{}>;
|
|
2092
2110
|
/**
|
|
2093
2111
|
* What customers are receiving is the published snapshot; see
|
|
2094
2112
|
* `GET /v1/templates/{id}/versions`, whose `meta.has_unpublished_changes`
|
|
@@ -2099,10 +2117,10 @@ unset one means is decided on read (Template::whatsappCategory).
|
|
|
2099
2117
|
*
|
|
2100
2118
|
* @param {string} id -
|
|
2101
2119
|
* @throws {RevenexxException}
|
|
2102
|
-
* @returns {Promise<
|
|
2120
|
+
* @returns {Promise<{}>}
|
|
2103
2121
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2104
2122
|
*/
|
|
2105
|
-
templateShow(id: string): Promise<
|
|
2123
|
+
templateShow(id: string): Promise<{}>;
|
|
2106
2124
|
/**
|
|
2107
2125
|
* Only the fields sent are written, and the change is audited only when
|
|
2108
2126
|
* something actually changed — a PATCH that resent the same values records
|
|
@@ -2147,7 +2165,7 @@ move templates between categories on their own schedule, and a
|
|
|
2147
2165
|
row that could not follow them would go on quoting a price that
|
|
2148
2166
|
stopped being true.
|
|
2149
2167
|
* @throws {RevenexxException}
|
|
2150
|
-
* @returns {Promise<
|
|
2168
|
+
* @returns {Promise<{}>}
|
|
2151
2169
|
*/
|
|
2152
2170
|
templateUpdatePatch(params: {
|
|
2153
2171
|
id: string;
|
|
@@ -2167,7 +2185,7 @@ stopped being true.
|
|
|
2167
2185
|
variableDefaults?: string[];
|
|
2168
2186
|
variables?: string[];
|
|
2169
2187
|
whatsappCategory?: WhatsappCategory;
|
|
2170
|
-
}): Promise<
|
|
2188
|
+
}): Promise<{}>;
|
|
2171
2189
|
/**
|
|
2172
2190
|
* Only the fields sent are written, and the change is audited only when
|
|
2173
2191
|
* something actually changed — a PATCH that resent the same values records
|
|
@@ -2212,10 +2230,10 @@ move templates between categories on their own schedule, and a
|
|
|
2212
2230
|
row that could not follow them would go on quoting a price that
|
|
2213
2231
|
stopped being true.
|
|
2214
2232
|
* @throws {RevenexxException}
|
|
2215
|
-
* @returns {Promise<
|
|
2233
|
+
* @returns {Promise<{}>}
|
|
2216
2234
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2217
2235
|
*/
|
|
2218
|
-
templateUpdatePatch(id: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<
|
|
2236
|
+
templateUpdatePatch(id: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<{}>;
|
|
2219
2237
|
/**
|
|
2220
2238
|
* Only the fields sent are written, and the change is audited only when
|
|
2221
2239
|
* something actually changed — a PATCH that resent the same values records
|
|
@@ -2260,7 +2278,7 @@ move templates between categories on their own schedule, and a
|
|
|
2260
2278
|
row that could not follow them would go on quoting a price that
|
|
2261
2279
|
stopped being true.
|
|
2262
2280
|
* @throws {RevenexxException}
|
|
2263
|
-
* @returns {Promise<
|
|
2281
|
+
* @returns {Promise<{}>}
|
|
2264
2282
|
*/
|
|
2265
2283
|
templateUpdate(params: {
|
|
2266
2284
|
id: string;
|
|
@@ -2280,7 +2298,7 @@ stopped being true.
|
|
|
2280
2298
|
variableDefaults?: string[];
|
|
2281
2299
|
variables?: string[];
|
|
2282
2300
|
whatsappCategory?: WhatsappCategory;
|
|
2283
|
-
}): Promise<
|
|
2301
|
+
}): Promise<{}>;
|
|
2284
2302
|
/**
|
|
2285
2303
|
* Only the fields sent are written, and the change is audited only when
|
|
2286
2304
|
* something actually changed — a PATCH that resent the same values records
|
|
@@ -2325,10 +2343,10 @@ move templates between categories on their own schedule, and a
|
|
|
2325
2343
|
row that could not follow them would go on quoting a price that
|
|
2326
2344
|
stopped being true.
|
|
2327
2345
|
* @throws {RevenexxException}
|
|
2328
|
-
* @returns {Promise<
|
|
2346
|
+
* @returns {Promise<{}>}
|
|
2329
2347
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2330
2348
|
*/
|
|
2331
|
-
templateUpdate(id: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<
|
|
2349
|
+
templateUpdate(id: string, bodyHtml?: string, bodyText?: string, contentSid?: string, design?: string[], enabled?: boolean, layoutId?: string, markets?: string[], messageClass?: MessageClass, subject?: string, testMode?: boolean, title?: string, validFrom?: string, validUntil?: string, variableDefaults?: string[], variables?: string[], whatsappCategory?: WhatsappCategory): Promise<{}>;
|
|
2332
2350
|
/**
|
|
2333
2351
|
* Answers 200 with the version already live when there was nothing to
|
|
2334
2352
|
* publish, and 201 when a new one was written — so a client can tell
|
|
@@ -2337,12 +2355,12 @@ stopped being true.
|
|
|
2337
2355
|
* @param {string} params.templateId -
|
|
2338
2356
|
* @param {string} params.note -
|
|
2339
2357
|
* @throws {RevenexxException}
|
|
2340
|
-
* @returns {Promise<
|
|
2358
|
+
* @returns {Promise<{}>}
|
|
2341
2359
|
*/
|
|
2342
2360
|
templateVersionStore(params: {
|
|
2343
2361
|
templateId: string;
|
|
2344
2362
|
note?: string;
|
|
2345
|
-
}): Promise<
|
|
2363
|
+
}): Promise<{}>;
|
|
2346
2364
|
/**
|
|
2347
2365
|
* Answers 200 with the version already live when there was nothing to
|
|
2348
2366
|
* publish, and 201 when a new one was written — so a client can tell
|
|
@@ -2351,10 +2369,10 @@ stopped being true.
|
|
|
2351
2369
|
* @param {string} templateId -
|
|
2352
2370
|
* @param {string} note -
|
|
2353
2371
|
* @throws {RevenexxException}
|
|
2354
|
-
* @returns {Promise<
|
|
2372
|
+
* @returns {Promise<{}>}
|
|
2355
2373
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2356
2374
|
*/
|
|
2357
|
-
templateVersionStore(templateId: string, note?: string): Promise<
|
|
2375
|
+
templateVersionStore(templateId: string, note?: string): Promise<{}>;
|
|
2358
2376
|
/**
|
|
2359
2377
|
* Summaries only: version, subject, message class, layout, who published it
|
|
2360
2378
|
* and when, and their note. The BODIES are deliberately absent — a compiled
|
|
@@ -2370,11 +2388,11 @@ stopped being true.
|
|
|
2370
2388
|
*
|
|
2371
2389
|
* @param {string} params.templateId -
|
|
2372
2390
|
* @throws {RevenexxException}
|
|
2373
|
-
* @returns {Promise<
|
|
2391
|
+
* @returns {Promise<{}>}
|
|
2374
2392
|
*/
|
|
2375
2393
|
templateVersionIndex(params: {
|
|
2376
2394
|
templateId: string;
|
|
2377
|
-
}): Promise<
|
|
2395
|
+
}): Promise<{}>;
|
|
2378
2396
|
/**
|
|
2379
2397
|
* Summaries only: version, subject, message class, layout, who published it
|
|
2380
2398
|
* and when, and their note. The BODIES are deliberately absent — a compiled
|
|
@@ -2390,10 +2408,10 @@ stopped being true.
|
|
|
2390
2408
|
*
|
|
2391
2409
|
* @param {string} templateId -
|
|
2392
2410
|
* @throws {RevenexxException}
|
|
2393
|
-
* @returns {Promise<
|
|
2411
|
+
* @returns {Promise<{}>}
|
|
2394
2412
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2395
2413
|
*/
|
|
2396
|
-
templateVersionIndex(templateId: string): Promise<
|
|
2414
|
+
templateVersionIndex(templateId: string): Promise<{}>;
|
|
2397
2415
|
/**
|
|
2398
2416
|
* Addressed by its VERSION NUMBER — the small integer on the history row,
|
|
2399
2417
|
* not the snapshot's id — because that is the number an author has in front
|
|
@@ -2406,12 +2424,12 @@ stopped being true.
|
|
|
2406
2424
|
* @param {string} params.templateId -
|
|
2407
2425
|
* @param {string} params.version -
|
|
2408
2426
|
* @throws {RevenexxException}
|
|
2409
|
-
* @returns {Promise<
|
|
2427
|
+
* @returns {Promise<{}>}
|
|
2410
2428
|
*/
|
|
2411
2429
|
templateVersionShow(params: {
|
|
2412
2430
|
templateId: string;
|
|
2413
2431
|
version: string;
|
|
2414
|
-
}): Promise<
|
|
2432
|
+
}): Promise<{}>;
|
|
2415
2433
|
/**
|
|
2416
2434
|
* Addressed by its VERSION NUMBER — the small integer on the history row,
|
|
2417
2435
|
* not the snapshot's id — because that is the number an author has in front
|
|
@@ -2424,10 +2442,10 @@ stopped being true.
|
|
|
2424
2442
|
* @param {string} templateId -
|
|
2425
2443
|
* @param {string} version -
|
|
2426
2444
|
* @throws {RevenexxException}
|
|
2427
|
-
* @returns {Promise<
|
|
2445
|
+
* @returns {Promise<{}>}
|
|
2428
2446
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2429
2447
|
*/
|
|
2430
|
-
templateVersionShow(templateId: string, version: string): Promise<
|
|
2448
|
+
templateVersionShow(templateId: string, version: string): Promise<{}>;
|
|
2431
2449
|
/**
|
|
2432
2450
|
* `publish: true` makes it live in the same transaction — see
|
|
2433
2451
|
* TemplatePublisher::restore for why that flag exists rather than asking
|
|
@@ -2437,13 +2455,13 @@ stopped being true.
|
|
|
2437
2455
|
* @param {string} params.version -
|
|
2438
2456
|
* @param {boolean} params.publish -
|
|
2439
2457
|
* @throws {RevenexxException}
|
|
2440
|
-
* @returns {Promise<
|
|
2458
|
+
* @returns {Promise<{}>}
|
|
2441
2459
|
*/
|
|
2442
2460
|
templateVersionRestore(params: {
|
|
2443
2461
|
templateId: string;
|
|
2444
2462
|
version: string;
|
|
2445
2463
|
publish?: boolean;
|
|
2446
|
-
}): Promise<
|
|
2464
|
+
}): Promise<{}>;
|
|
2447
2465
|
/**
|
|
2448
2466
|
* `publish: true` makes it live in the same transaction — see
|
|
2449
2467
|
* TemplatePublisher::restore for why that flag exists rather than asking
|
|
@@ -2453,10 +2471,10 @@ stopped being true.
|
|
|
2453
2471
|
* @param {string} version -
|
|
2454
2472
|
* @param {boolean} publish -
|
|
2455
2473
|
* @throws {RevenexxException}
|
|
2456
|
-
* @returns {Promise<
|
|
2474
|
+
* @returns {Promise<{}>}
|
|
2457
2475
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2458
2476
|
*/
|
|
2459
|
-
templateVersionRestore(templateId: string, version: string, publish?: boolean): Promise<
|
|
2477
|
+
templateVersionRestore(templateId: string, version: string, publish?: boolean): Promise<{}>;
|
|
2460
2478
|
}
|
|
2461
2479
|
|
|
2462
2480
|
export { Messaging };
|