@revenexx/node 0.0.2 → 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 +12 -5
- package/dist/client.d.mts +200 -12
- package/dist/client.d.ts +200 -12
- package/dist/client.js +73 -59
- package/dist/client.js.map +1 -1
- package/dist/client.mjs +66 -52
- package/dist/client.mjs.map +1 -1
- package/dist/enums/address-type-row-create-request-tone.d.mts +9 -0
- package/dist/enums/address-type-row-create-request-tone.d.ts +9 -0
- package/dist/enums/address-type-row-create-request-tone.js +14 -0
- package/dist/enums/address-type-row-create-request-tone.js.map +1 -0
- package/dist/enums/address-type-row-create-request-tone.mjs +13 -0
- package/dist/enums/address-type-row-create-request-tone.mjs.map +1 -0
- package/dist/enums/address-type-row-tone.d.mts +9 -0
- package/dist/enums/address-type-row-tone.d.ts +9 -0
- package/dist/enums/address-type-row-tone.js +14 -0
- package/dist/enums/address-type-row-tone.js.map +1 -0
- package/dist/enums/address-type-row-tone.mjs +13 -0
- package/dist/enums/address-type-row-tone.mjs.map +1 -0
- package/dist/enums/address-type-row-update-request-tone.d.mts +9 -0
- package/dist/enums/address-type-row-update-request-tone.d.ts +9 -0
- package/dist/enums/address-type-row-update-request-tone.js +14 -0
- package/dist/enums/address-type-row-update-request-tone.js.map +1 -0
- package/dist/enums/address-type-row-update-request-tone.mjs +13 -0
- package/dist/enums/address-type-row-update-request-tone.mjs.map +1 -0
- package/dist/enums/apply-mode.d.mts +7 -0
- package/dist/enums/apply-mode.d.ts +7 -0
- package/dist/enums/apply-mode.js +12 -0
- package/dist/enums/apply-mode.js.map +1 -0
- package/dist/enums/apply-mode.mjs +11 -0
- package/dist/enums/apply-mode.mjs.map +1 -0
- 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/apps-create-vcs-deployment-type.d.mts +6 -0
- package/dist/enums/apps-create-vcs-deployment-type.d.ts +6 -0
- package/dist/enums/apps-create-vcs-deployment-type.js +11 -0
- package/dist/enums/apps-create-vcs-deployment-type.js.map +1 -0
- package/dist/enums/apps-create-vcs-deployment-type.mjs +10 -0
- package/dist/enums/apps-create-vcs-deployment-type.mjs.map +1 -0
- package/dist/enums/apps-get-deployment-download-type.d.mts +6 -0
- package/dist/enums/apps-get-deployment-download-type.d.ts +6 -0
- package/dist/enums/apps-get-deployment-download-type.js +11 -0
- package/dist/enums/apps-get-deployment-download-type.js.map +1 -0
- package/dist/enums/apps-get-deployment-download-type.mjs +10 -0
- package/dist/enums/apps-get-deployment-download-type.mjs.map +1 -0
- package/dist/enums/assets-source.d.mts +6 -0
- package/dist/enums/assets-source.d.ts +6 -0
- package/dist/enums/assets-source.js +11 -0
- package/dist/enums/assets-source.js.map +1 -0
- package/dist/enums/assets-source.mjs +10 -0
- package/dist/enums/assets-source.mjs.map +1 -0
- package/dist/enums/attribute-value-bucket.d.mts +8 -0
- package/dist/enums/attribute-value-bucket.d.ts +8 -0
- package/dist/enums/attribute-value-bucket.js +13 -0
- package/dist/enums/attribute-value-bucket.js.map +1 -0
- package/dist/enums/attribute-value-bucket.mjs +12 -0
- package/dist/enums/attribute-value-bucket.mjs.map +1 -0
- package/dist/enums/auth-mail-source.d.mts +6 -0
- package/dist/enums/auth-mail-source.d.ts +6 -0
- package/dist/enums/auth-mail-source.js +11 -0
- package/dist/enums/auth-mail-source.js.map +1 -0
- package/dist/enums/auth-mail-source.mjs +10 -0
- package/dist/enums/auth-mail-source.mjs.map +1 -0
- package/dist/enums/avatars-get-credit-card-code.d.mts +21 -0
- package/dist/enums/avatars-get-credit-card-code.d.ts +21 -0
- package/dist/enums/avatars-get-credit-card-code.js +26 -0
- package/dist/enums/avatars-get-credit-card-code.js.map +1 -0
- package/dist/enums/avatars-get-credit-card-code.mjs +25 -0
- package/dist/enums/avatars-get-credit-card-code.mjs.map +1 -0
- package/dist/enums/avatars-get-flag-code.d.mts +199 -0
- package/dist/enums/avatars-get-flag-code.d.ts +199 -0
- package/dist/enums/avatars-get-flag-code.js +204 -0
- package/dist/enums/avatars-get-flag-code.js.map +1 -0
- package/dist/enums/avatars-get-flag-code.mjs +203 -0
- package/dist/enums/avatars-get-flag-code.mjs.map +1 -0
- package/dist/enums/budget-change-reason.d.mts +11 -0
- package/dist/enums/budget-change-reason.d.ts +11 -0
- package/dist/enums/budget-change-reason.js +16 -0
- package/dist/enums/budget-change-reason.js.map +1 -0
- package/dist/enums/budget-change-reason.mjs +15 -0
- package/dist/enums/budget-change-reason.mjs.map +1 -0
- package/dist/enums/budget-movement-result-status.d.mts +8 -0
- package/dist/enums/budget-movement-result-status.d.ts +8 -0
- package/dist/enums/budget-movement-result-status.js +13 -0
- package/dist/enums/budget-movement-result-status.js.map +1 -0
- package/dist/enums/budget-movement-result-status.mjs +12 -0
- package/dist/enums/budget-movement-result-status.mjs.map +1 -0
- package/dist/enums/cart-merge-strategy.d.mts +6 -0
- package/dist/enums/cart-merge-strategy.d.ts +6 -0
- package/dist/enums/cart-merge-strategy.js +11 -0
- package/dist/enums/cart-merge-strategy.js.map +1 -0
- package/dist/enums/cart-merge-strategy.mjs +10 -0
- package/dist/enums/cart-merge-strategy.mjs.map +1 -0
- package/dist/enums/cart-price-snapshot-mode.d.mts +6 -0
- package/dist/enums/cart-price-snapshot-mode.d.ts +6 -0
- package/dist/enums/cart-price-snapshot-mode.js +11 -0
- package/dist/enums/cart-price-snapshot-mode.js.map +1 -0
- package/dist/enums/cart-price-snapshot-mode.mjs +10 -0
- package/dist/enums/cart-price-snapshot-mode.mjs.map +1 -0
- package/dist/enums/cart-status.d.mts +8 -0
- package/dist/enums/cart-status.d.ts +8 -0
- package/dist/enums/cart-status.js +13 -0
- package/dist/enums/cart-status.js.map +1 -0
- package/dist/enums/cart-status.mjs +12 -0
- package/dist/enums/cart-status.mjs.map +1 -0
- package/dist/enums/cart-vocabulary-name.d.mts +10 -0
- package/dist/enums/cart-vocabulary-name.d.ts +10 -0
- package/dist/enums/cart-vocabulary-name.js +15 -0
- package/dist/enums/cart-vocabulary-name.js.map +1 -0
- package/dist/enums/cart-vocabulary-name.mjs +14 -0
- package/dist/enums/cart-vocabulary-name.mjs.map +1 -0
- package/dist/enums/cart-vocabulary-ref-name.d.mts +10 -0
- package/dist/enums/cart-vocabulary-ref-name.d.ts +10 -0
- package/dist/enums/cart-vocabulary-ref-name.js +15 -0
- package/dist/enums/cart-vocabulary-ref-name.js.map +1 -0
- package/dist/enums/cart-vocabulary-ref-name.mjs +14 -0
- package/dist/enums/cart-vocabulary-ref-name.mjs.map +1 -0
- package/dist/enums/cart-vocabulary-source.d.mts +5 -0
- package/dist/enums/cart-vocabulary-source.d.ts +5 -0
- package/dist/enums/cart-vocabulary-source.js +10 -0
- package/dist/enums/cart-vocabulary-source.js.map +1 -0
- package/dist/enums/cart-vocabulary-source.mjs +9 -0
- package/dist/enums/cart-vocabulary-source.mjs.map +1 -0
- package/dist/enums/cart-vocabulary-tone.d.mts +9 -0
- package/dist/enums/cart-vocabulary-tone.d.ts +9 -0
- package/dist/enums/cart-vocabulary-tone.js +14 -0
- package/dist/enums/cart-vocabulary-tone.js.map +1 -0
- package/dist/enums/cart-vocabulary-tone.mjs +13 -0
- package/dist/enums/cart-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/categories-rule-match.d.mts +6 -0
- package/dist/enums/categories-rule-match.d.ts +6 -0
- package/dist/enums/categories-rule-match.js +11 -0
- package/dist/enums/categories-rule-match.js.map +1 -0
- package/dist/enums/categories-rule-match.mjs +10 -0
- package/dist/enums/categories-rule-match.mjs.map +1 -0
- package/dist/enums/category-rule-match.d.mts +6 -0
- package/dist/enums/category-rule-match.d.ts +6 -0
- package/dist/enums/category-rule-match.js +11 -0
- package/dist/enums/category-rule-match.js.map +1 -0
- package/dist/enums/category-rule-match.mjs +10 -0
- package/dist/enums/category-rule-match.mjs.map +1 -0
- package/dist/enums/category-rule-operator.d.mts +16 -0
- package/dist/enums/category-rule-operator.d.ts +16 -0
- package/dist/enums/category-rule-operator.js +21 -0
- package/dist/enums/category-rule-operator.js.map +1 -0
- package/dist/enums/category-rule-operator.mjs +20 -0
- package/dist/enums/category-rule-operator.mjs.map +1 -0
- package/dist/enums/channel-context-source.d.mts +9 -0
- package/dist/enums/channel-context-source.d.ts +9 -0
- package/dist/enums/channel-context-source.js +14 -0
- package/dist/enums/channel-context-source.js.map +1 -0
- package/dist/enums/channel-context-source.mjs +13 -0
- package/dist/enums/channel-context-source.mjs.map +1 -0
- package/dist/enums/channel-inactive-behavior.d.mts +6 -0
- package/dist/enums/channel-inactive-behavior.d.ts +6 -0
- package/dist/enums/channel-inactive-behavior.js +11 -0
- package/dist/enums/channel-inactive-behavior.js.map +1 -0
- package/dist/enums/channel-inactive-behavior.mjs +10 -0
- package/dist/enums/channel-inactive-behavior.mjs.map +1 -0
- package/dist/enums/channel-policy-source.d.mts +6 -0
- package/dist/enums/channel-policy-source.d.ts +6 -0
- package/dist/enums/channel-policy-source.js +11 -0
- package/dist/enums/channel-policy-source.js.map +1 -0
- package/dist/enums/channel-policy-source.mjs +10 -0
- package/dist/enums/channel-policy-source.mjs.map +1 -0
- package/dist/enums/channel-policy-tenant-default.d.mts +6 -0
- package/dist/enums/channel-policy-tenant-default.d.ts +6 -0
- package/dist/enums/channel-policy-tenant-default.js +11 -0
- package/dist/enums/channel-policy-tenant-default.js.map +1 -0
- package/dist/enums/channel-policy-tenant-default.mjs +10 -0
- package/dist/enums/channel-policy-tenant-default.mjs.map +1 -0
- package/dist/enums/channel-type-tone.d.mts +9 -0
- package/dist/enums/channel-type-tone.d.ts +9 -0
- package/dist/enums/channel-type-tone.js +14 -0
- package/dist/enums/channel-type-tone.js.map +1 -0
- package/dist/enums/channel-type-tone.mjs +13 -0
- package/dist/enums/channel-type-tone.mjs.map +1 -0
- package/dist/enums/channel-unassigned-policy.d.mts +6 -0
- package/dist/enums/channel-unassigned-policy.d.ts +6 -0
- package/dist/enums/channel-unassigned-policy.js +11 -0
- package/dist/enums/channel-unassigned-policy.js.map +1 -0
- package/dist/enums/channel-unassigned-policy.mjs +10 -0
- package/dist/enums/channel-unassigned-policy.mjs.map +1 -0
- package/dist/enums/channel-unassigned-visibility.d.mts +7 -0
- package/dist/enums/channel-unassigned-visibility.d.ts +7 -0
- package/dist/enums/channel-unassigned-visibility.js +12 -0
- package/dist/enums/channel-unassigned-visibility.js.map +1 -0
- package/dist/enums/channel-unassigned-visibility.mjs +11 -0
- package/dist/enums/channel-unassigned-visibility.mjs.map +1 -0
- package/dist/enums/channel-unresolved-reason.d.mts +8 -0
- package/dist/enums/channel-unresolved-reason.d.ts +8 -0
- package/dist/enums/channel-unresolved-reason.js +13 -0
- package/dist/enums/channel-unresolved-reason.js.map +1 -0
- package/dist/enums/channel-unresolved-reason.mjs +12 -0
- package/dist/enums/channel-unresolved-reason.mjs.map +1 -0
- package/dist/enums/channel-visibility-reason.d.mts +9 -0
- package/dist/enums/channel-visibility-reason.d.ts +9 -0
- package/dist/enums/channel-visibility-reason.js +14 -0
- package/dist/enums/channel-visibility-reason.js.map +1 -0
- package/dist/enums/channel-visibility-reason.mjs +13 -0
- package/dist/enums/channel-visibility-reason.mjs.map +1 -0
- package/dist/enums/channel-vocabulary-name.d.mts +7 -0
- package/dist/enums/channel-vocabulary-name.d.ts +7 -0
- package/dist/enums/channel-vocabulary-name.js +12 -0
- package/dist/enums/channel-vocabulary-name.js.map +1 -0
- package/dist/enums/channel-vocabulary-name.mjs +11 -0
- package/dist/enums/channel-vocabulary-name.mjs.map +1 -0
- package/dist/enums/channel-vocabulary-ref-name.d.mts +7 -0
- package/dist/enums/channel-vocabulary-ref-name.d.ts +7 -0
- package/dist/enums/channel-vocabulary-ref-name.js +12 -0
- package/dist/enums/channel-vocabulary-ref-name.js.map +1 -0
- package/dist/enums/channel-vocabulary-ref-name.mjs +11 -0
- package/dist/enums/channel-vocabulary-ref-name.mjs.map +1 -0
- package/dist/enums/channel-vocabulary-source.d.mts +6 -0
- package/dist/enums/channel-vocabulary-source.d.ts +6 -0
- package/dist/enums/channel-vocabulary-source.js +11 -0
- package/dist/enums/channel-vocabulary-source.js.map +1 -0
- package/dist/enums/channel-vocabulary-source.mjs +10 -0
- package/dist/enums/channel-vocabulary-source.mjs.map +1 -0
- package/dist/enums/channel-vocabulary-tone.d.mts +9 -0
- package/dist/enums/channel-vocabulary-tone.d.ts +9 -0
- package/dist/enums/channel-vocabulary-tone.js +14 -0
- package/dist/enums/channel-vocabulary-tone.js.map +1 -0
- package/dist/enums/channel-vocabulary-tone.mjs +13 -0
- package/dist/enums/channel-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/channels-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/channels-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/channels-vocabularies-get-name.js +12 -0
- package/dist/enums/channels-vocabularies-get-name.js.map +1 -0
- package/dist/enums/channels-vocabularies-get-name.mjs +11 -0
- package/dist/enums/channels-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/collection.d.mts +0 -1
- package/dist/enums/collection.d.ts +0 -1
- package/dist/enums/collection.js +0 -1
- package/dist/enums/collection.js.map +1 -1
- package/dist/enums/collection.mjs +0 -1
- package/dist/enums/collection.mjs.map +1 -1
- 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/conditions.d.mts +6 -0
- package/dist/enums/conditions.d.ts +6 -0
- package/dist/enums/conditions.js +11 -0
- package/dist/enums/conditions.js.map +1 -0
- package/dist/enums/conditions.mjs +10 -0
- package/dist/enums/conditions.mjs.map +1 -0
- package/dist/enums/contact-activity-kind.d.mts +10 -0
- package/dist/enums/contact-activity-kind.d.ts +10 -0
- package/dist/enums/contact-activity-kind.js +15 -0
- package/dist/enums/contact-activity-kind.js.map +1 -0
- package/dist/enums/contact-activity-kind.mjs +14 -0
- package/dist/enums/contact-activity-kind.mjs.map +1 -0
- package/dist/enums/contact-create-request-registration-status.d.mts +6 -0
- package/dist/enums/contact-create-request-registration-status.d.ts +6 -0
- package/dist/enums/contact-create-request-registration-status.js +11 -0
- package/dist/enums/contact-create-request-registration-status.js.map +1 -0
- package/dist/enums/contact-create-request-registration-status.mjs +10 -0
- package/dist/enums/contact-create-request-registration-status.mjs.map +1 -0
- package/dist/enums/contact-event-kind-create-request-tone.d.mts +9 -0
- package/dist/enums/contact-event-kind-create-request-tone.d.ts +9 -0
- package/dist/enums/contact-event-kind-create-request-tone.js +14 -0
- package/dist/enums/contact-event-kind-create-request-tone.js.map +1 -0
- package/dist/enums/contact-event-kind-create-request-tone.mjs +13 -0
- package/dist/enums/contact-event-kind-create-request-tone.mjs.map +1 -0
- package/dist/enums/contact-event-kind-tone.d.mts +9 -0
- package/dist/enums/contact-event-kind-tone.d.ts +9 -0
- package/dist/enums/contact-event-kind-tone.js +14 -0
- package/dist/enums/contact-event-kind-tone.js.map +1 -0
- package/dist/enums/contact-event-kind-tone.mjs +13 -0
- package/dist/enums/contact-event-kind-tone.mjs.map +1 -0
- package/dist/enums/contact-event-kind-update-request-tone.d.mts +9 -0
- package/dist/enums/contact-event-kind-update-request-tone.d.ts +9 -0
- package/dist/enums/contact-event-kind-update-request-tone.js +14 -0
- package/dist/enums/contact-event-kind-update-request-tone.js.map +1 -0
- package/dist/enums/contact-event-kind-update-request-tone.mjs +13 -0
- package/dist/enums/contact-event-kind-update-request-tone.mjs.map +1 -0
- package/dist/enums/contact-permissions-permissions.d.mts +14 -0
- package/dist/enums/contact-permissions-permissions.d.ts +14 -0
- package/dist/enums/contact-permissions-permissions.js +19 -0
- package/dist/enums/contact-permissions-permissions.js.map +1 -0
- package/dist/enums/contact-permissions-permissions.mjs +18 -0
- package/dist/enums/contact-permissions-permissions.mjs.map +1 -0
- package/dist/enums/contact-registration-status.d.mts +7 -0
- package/dist/enums/contact-registration-status.d.ts +7 -0
- package/dist/enums/contact-registration-status.js +12 -0
- package/dist/enums/contact-registration-status.js.map +1 -0
- package/dist/enums/contact-registration-status.mjs +11 -0
- package/dist/enums/contact-registration-status.mjs.map +1 -0
- package/dist/enums/contact-update-request-registration-status.d.mts +6 -0
- package/dist/enums/contact-update-request-registration-status.d.ts +6 -0
- package/dist/enums/contact-update-request-registration-status.js +11 -0
- package/dist/enums/contact-update-request-registration-status.js.map +1 -0
- package/dist/enums/contact-update-request-registration-status.mjs +10 -0
- package/dist/enums/contact-update-request-registration-status.mjs.map +1 -0
- package/dist/enums/cost-center-budget-type.d.mts +5 -0
- package/dist/enums/cost-center-budget-type.d.ts +5 -0
- package/dist/enums/cost-center-budget-type.js +10 -0
- package/dist/enums/cost-center-budget-type.js.map +1 -0
- package/dist/enums/cost-center-budget-type.mjs +9 -0
- package/dist/enums/cost-center-budget-type.mjs.map +1 -0
- package/dist/enums/cost-center-restriction-create-request-type.d.mts +9 -0
- package/dist/enums/cost-center-restriction-create-request-type.d.ts +9 -0
- package/dist/enums/cost-center-restriction-create-request-type.js +14 -0
- package/dist/enums/cost-center-restriction-create-request-type.js.map +1 -0
- package/dist/enums/cost-center-restriction-create-request-type.mjs +13 -0
- package/dist/enums/cost-center-restriction-create-request-type.mjs.map +1 -0
- package/dist/enums/cost-center-restriction-type.d.mts +9 -0
- package/dist/enums/cost-center-restriction-type.d.ts +9 -0
- package/dist/enums/cost-center-restriction-type.js +14 -0
- package/dist/enums/cost-center-restriction-type.js.map +1 -0
- package/dist/enums/cost-center-restriction-type.mjs +13 -0
- package/dist/enums/cost-center-restriction-type.mjs.map +1 -0
- package/dist/enums/cost-center-restriction-update-request-type.d.mts +9 -0
- package/dist/enums/cost-center-restriction-update-request-type.d.ts +9 -0
- package/dist/enums/cost-center-restriction-update-request-type.js +14 -0
- package/dist/enums/cost-center-restriction-update-request-type.js.map +1 -0
- package/dist/enums/cost-center-restriction-update-request-type.mjs +13 -0
- package/dist/enums/cost-center-restriction-update-request-type.mjs.map +1 -0
- package/dist/enums/cost-centers-restrictions-create-type.d.mts +9 -0
- package/dist/enums/cost-centers-restrictions-create-type.d.ts +9 -0
- package/dist/enums/cost-centers-restrictions-create-type.js +14 -0
- package/dist/enums/cost-centers-restrictions-create-type.js.map +1 -0
- package/dist/enums/cost-centers-restrictions-create-type.mjs +13 -0
- package/dist/enums/cost-centers-restrictions-create-type.mjs.map +1 -0
- package/dist/enums/create-import-target.d.mts +6 -0
- package/dist/enums/create-import-target.d.ts +6 -0
- package/dist/enums/create-import-target.js +11 -0
- package/dist/enums/create-import-target.js.map +1 -0
- package/dist/enums/create-import-target.mjs +10 -0
- package/dist/enums/create-import-target.mjs.map +1 -0
- package/dist/enums/customers-contacts-create-registration-status.d.mts +6 -0
- package/dist/enums/customers-contacts-create-registration-status.d.ts +6 -0
- package/dist/enums/customers-contacts-create-registration-status.js +11 -0
- package/dist/enums/customers-contacts-create-registration-status.js.map +1 -0
- package/dist/enums/customers-contacts-create-registration-status.mjs +10 -0
- package/dist/enums/customers-contacts-create-registration-status.mjs.map +1 -0
- package/dist/enums/customers-organizations-list-status.d.mts +6 -0
- package/dist/enums/customers-organizations-list-status.d.ts +6 -0
- package/dist/enums/customers-organizations-list-status.js +11 -0
- package/dist/enums/customers-organizations-list-status.js.map +1 -0
- package/dist/enums/customers-organizations-list-status.mjs +10 -0
- package/dist/enums/customers-organizations-list-status.mjs.map +1 -0
- package/dist/enums/customers-vocabularies-get-name.d.mts +15 -0
- package/dist/enums/customers-vocabularies-get-name.d.ts +15 -0
- package/dist/enums/customers-vocabularies-get-name.js +20 -0
- package/dist/enums/customers-vocabularies-get-name.js.map +1 -0
- package/dist/enums/customers-vocabularies-get-name.mjs +19 -0
- package/dist/enums/customers-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/direction.d.mts +6 -0
- package/dist/enums/direction.d.ts +6 -0
- package/dist/enums/direction.js +11 -0
- package/dist/enums/direction.js.map +1 -0
- package/dist/enums/direction.mjs +10 -0
- package/dist/enums/direction.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/entity-type.d.mts +8 -0
- package/dist/enums/entity-type.d.ts +8 -0
- package/dist/enums/entity-type.js +13 -0
- package/dist/enums/entity-type.js.map +1 -0
- package/dist/enums/entity-type.mjs +12 -0
- package/dist/enums/entity-type.mjs.map +1 -0
- package/dist/enums/evaluate-request-conditions.d.mts +6 -0
- package/dist/enums/evaluate-request-conditions.d.ts +6 -0
- package/dist/enums/evaluate-request-conditions.js +11 -0
- package/dist/enums/evaluate-request-conditions.js.map +1 -0
- package/dist/enums/evaluate-request-conditions.mjs +10 -0
- package/dist/enums/evaluate-request-conditions.mjs.map +1 -0
- package/dist/enums/form-notify-source.d.mts +6 -0
- package/dist/enums/form-notify-source.d.ts +6 -0
- package/dist/enums/form-notify-source.js +11 -0
- package/dist/enums/form-notify-source.js.map +1 -0
- package/dist/enums/form-notify-source.mjs +10 -0
- package/dist/enums/form-notify-source.mjs.map +1 -0
- package/dist/enums/form-status.d.mts +7 -0
- package/dist/enums/form-status.d.ts +7 -0
- package/dist/enums/form-status.js +12 -0
- package/dist/enums/form-status.js.map +1 -0
- package/dist/enums/form-status.mjs +11 -0
- package/dist/enums/form-status.mjs.map +1 -0
- package/dist/enums/form-submission-prune-request-status.d.mts +8 -0
- package/dist/enums/form-submission-prune-request-status.d.ts +8 -0
- package/dist/enums/form-submission-prune-request-status.js +13 -0
- package/dist/enums/form-submission-prune-request-status.js.map +1 -0
- package/dist/enums/form-submission-prune-request-status.mjs +12 -0
- package/dist/enums/form-submission-prune-request-status.mjs.map +1 -0
- package/dist/enums/form-submission-status.d.mts +8 -0
- package/dist/enums/form-submission-status.d.ts +8 -0
- package/dist/enums/form-submission-status.js +13 -0
- package/dist/enums/form-submission-status.js.map +1 -0
- package/dist/enums/form-submission-status.mjs +12 -0
- package/dist/enums/form-submission-status.mjs.map +1 -0
- package/dist/enums/format.d.mts +8 -0
- package/dist/enums/format.d.ts +8 -0
- package/dist/enums/format.js +13 -0
- package/dist/enums/format.js.map +1 -0
- package/dist/enums/format.mjs +12 -0
- package/dist/enums/format.mjs.map +1 -0
- package/dist/enums/forms-submissions-prune-status.d.mts +8 -0
- package/dist/enums/forms-submissions-prune-status.d.ts +8 -0
- package/dist/enums/forms-submissions-prune-status.js +13 -0
- package/dist/enums/forms-submissions-prune-status.js.map +1 -0
- package/dist/enums/forms-submissions-prune-status.mjs +12 -0
- package/dist/enums/forms-submissions-prune-status.mjs.map +1 -0
- package/dist/enums/forms-vocabularies-get-name.d.mts +6 -0
- package/dist/enums/forms-vocabularies-get-name.d.ts +6 -0
- package/dist/enums/forms-vocabularies-get-name.js +11 -0
- package/dist/enums/forms-vocabularies-get-name.js.map +1 -0
- package/dist/enums/forms-vocabularies-get-name.mjs +10 -0
- package/dist/enums/forms-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/forms-vocabulary-name.d.mts +6 -0
- package/dist/enums/forms-vocabulary-name.d.ts +6 -0
- package/dist/enums/forms-vocabulary-name.js +11 -0
- package/dist/enums/forms-vocabulary-name.js.map +1 -0
- package/dist/enums/forms-vocabulary-name.mjs +10 -0
- package/dist/enums/forms-vocabulary-name.mjs.map +1 -0
- package/dist/enums/forms-vocabulary-summary-name.d.mts +6 -0
- package/dist/enums/forms-vocabulary-summary-name.d.ts +6 -0
- package/dist/enums/forms-vocabulary-summary-name.js +11 -0
- package/dist/enums/forms-vocabulary-summary-name.js.map +1 -0
- package/dist/enums/forms-vocabulary-summary-name.mjs +10 -0
- package/dist/enums/forms-vocabulary-summary-name.mjs.map +1 -0
- package/dist/enums/forms-vocabulary-tone.d.mts +9 -0
- package/dist/enums/forms-vocabulary-tone.d.ts +9 -0
- package/dist/enums/forms-vocabulary-tone.js +14 -0
- package/dist/enums/forms-vocabulary-tone.js.map +1 -0
- package/dist/enums/forms-vocabulary-tone.mjs +13 -0
- package/dist/enums/forms-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/inventories-locations-list-type.d.mts +8 -0
- package/dist/enums/inventories-locations-list-type.d.ts +8 -0
- package/dist/enums/inventories-locations-list-type.js +13 -0
- package/dist/enums/inventories-locations-list-type.js.map +1 -0
- package/dist/enums/inventories-locations-list-type.mjs +12 -0
- package/dist/enums/inventories-locations-list-type.mjs.map +1 -0
- package/dist/enums/inventories-movements-list-type.d.mts +10 -0
- package/dist/enums/inventories-movements-list-type.d.ts +10 -0
- package/dist/enums/inventories-movements-list-type.js +15 -0
- package/dist/enums/inventories-movements-list-type.js.map +1 -0
- package/dist/enums/inventories-movements-list-type.mjs +14 -0
- package/dist/enums/inventories-movements-list-type.mjs.map +1 -0
- package/dist/enums/inventories-reservations-list-status.d.mts +7 -0
- package/dist/enums/inventories-reservations-list-status.d.ts +7 -0
- package/dist/enums/inventories-reservations-list-status.js +12 -0
- package/dist/enums/inventories-reservations-list-status.js.map +1 -0
- package/dist/enums/inventories-reservations-list-status.mjs +11 -0
- package/dist/enums/inventories-reservations-list-status.mjs.map +1 -0
- package/dist/enums/inventories-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/inventories-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/inventories-vocabularies-get-name.js +12 -0
- package/dist/enums/inventories-vocabularies-get-name.js.map +1 -0
- package/dist/enums/inventories-vocabularies-get-name.mjs +11 -0
- package/dist/enums/inventories-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/inventory-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/inventory-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/inventory-vocabulary-default-tone.js +14 -0
- package/dist/enums/inventory-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/inventory-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/inventory-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/inventory-vocabulary-source.d.mts +5 -0
- package/dist/enums/inventory-vocabulary-source.d.ts +5 -0
- package/dist/enums/inventory-vocabulary-source.js +10 -0
- package/dist/enums/inventory-vocabulary-source.js.map +1 -0
- package/dist/enums/inventory-vocabulary-source.mjs +9 -0
- package/dist/enums/inventory-vocabulary-source.mjs.map +1 -0
- package/dist/enums/io-profile-resource-apply-mode.d.mts +7 -0
- package/dist/enums/io-profile-resource-apply-mode.d.ts +7 -0
- package/dist/enums/io-profile-resource-apply-mode.js +12 -0
- package/dist/enums/io-profile-resource-apply-mode.js.map +1 -0
- package/dist/enums/io-profile-resource-apply-mode.mjs +11 -0
- package/dist/enums/io-profile-resource-apply-mode.mjs.map +1 -0
- package/dist/enums/io-profile-resource-direction.d.mts +6 -0
- package/dist/enums/io-profile-resource-direction.d.ts +6 -0
- package/dist/enums/io-profile-resource-direction.js +11 -0
- package/dist/enums/io-profile-resource-direction.js.map +1 -0
- package/dist/enums/io-profile-resource-direction.mjs +10 -0
- package/dist/enums/io-profile-resource-direction.mjs.map +1 -0
- package/dist/enums/kind.d.mts +7 -0
- package/dist/enums/kind.d.ts +7 -0
- package/dist/enums/kind.js +12 -0
- package/dist/enums/kind.js.map +1 -0
- package/dist/enums/kind.mjs +11 -0
- package/dist/enums/kind.mjs.map +1 -0
- package/dist/enums/lifecycle-stage-create-request-tone.d.mts +9 -0
- package/dist/enums/lifecycle-stage-create-request-tone.d.ts +9 -0
- package/dist/enums/lifecycle-stage-create-request-tone.js +14 -0
- package/dist/enums/lifecycle-stage-create-request-tone.js.map +1 -0
- package/dist/enums/lifecycle-stage-create-request-tone.mjs +13 -0
- package/dist/enums/lifecycle-stage-create-request-tone.mjs.map +1 -0
- package/dist/enums/lifecycle-stage-tone.d.mts +9 -0
- package/dist/enums/lifecycle-stage-tone.d.ts +9 -0
- package/dist/enums/lifecycle-stage-tone.js +14 -0
- package/dist/enums/lifecycle-stage-tone.js.map +1 -0
- package/dist/enums/lifecycle-stage-tone.mjs +13 -0
- package/dist/enums/lifecycle-stage-tone.mjs.map +1 -0
- package/dist/enums/lifecycle-stage-update-request-tone.d.mts +9 -0
- package/dist/enums/lifecycle-stage-update-request-tone.d.ts +9 -0
- package/dist/enums/lifecycle-stage-update-request-tone.js +14 -0
- package/dist/enums/lifecycle-stage-update-request-tone.js.map +1 -0
- package/dist/enums/lifecycle-stage-update-request-tone.mjs +13 -0
- package/dist/enums/lifecycle-stage-update-request-tone.mjs.map +1 -0
- package/dist/enums/market-default-locale-source.d.mts +7 -0
- package/dist/enums/market-default-locale-source.d.ts +7 -0
- package/dist/enums/market-default-locale-source.js +12 -0
- package/dist/enums/market-default-locale-source.js.map +1 -0
- package/dist/enums/market-default-locale-source.mjs +11 -0
- package/dist/enums/market-default-locale-source.mjs.map +1 -0
- package/dist/enums/market-locale-fallback.d.mts +7 -0
- package/dist/enums/market-locale-fallback.d.ts +7 -0
- package/dist/enums/market-locale-fallback.js +12 -0
- package/dist/enums/market-locale-fallback.js.map +1 -0
- package/dist/enums/market-locale-fallback.mjs +11 -0
- package/dist/enums/market-locale-fallback.mjs.map +1 -0
- package/dist/enums/market-locale-granularity.d.mts +6 -0
- package/dist/enums/market-locale-granularity.d.ts +6 -0
- package/dist/enums/market-locale-granularity.js +11 -0
- package/dist/enums/market-locale-granularity.js.map +1 -0
- package/dist/enums/market-locale-granularity.mjs +10 -0
- package/dist/enums/market-locale-granularity.mjs.map +1 -0
- package/dist/enums/market-pricing-source.d.mts +7 -0
- package/dist/enums/market-pricing-source.d.ts +7 -0
- package/dist/enums/market-pricing-source.js +12 -0
- package/dist/enums/market-pricing-source.js.map +1 -0
- package/dist/enums/market-pricing-source.mjs +11 -0
- package/dist/enums/market-pricing-source.mjs.map +1 -0
- package/dist/enums/market-readiness-blocking.d.mts +8 -0
- package/dist/enums/market-readiness-blocking.d.ts +8 -0
- package/dist/enums/market-readiness-blocking.js +13 -0
- package/dist/enums/market-readiness-blocking.js.map +1 -0
- package/dist/enums/market-readiness-blocking.mjs +12 -0
- package/dist/enums/market-readiness-blocking.mjs.map +1 -0
- package/dist/enums/market-readiness-check-id.d.mts +8 -0
- package/dist/enums/market-readiness-check-id.d.ts +8 -0
- package/dist/enums/market-readiness-check-id.js +13 -0
- package/dist/enums/market-readiness-check-id.js.map +1 -0
- package/dist/enums/market-readiness-check-id.mjs +12 -0
- package/dist/enums/market-readiness-check-id.mjs.map +1 -0
- package/dist/enums/market-readiness-report-blocking.d.mts +8 -0
- package/dist/enums/market-readiness-report-blocking.d.ts +8 -0
- package/dist/enums/market-readiness-report-blocking.js +13 -0
- package/dist/enums/market-readiness-report-blocking.js.map +1 -0
- package/dist/enums/market-readiness-report-blocking.mjs +12 -0
- package/dist/enums/market-readiness-report-blocking.mjs.map +1 -0
- package/dist/enums/market-readiness-report-warnings.d.mts +8 -0
- package/dist/enums/market-readiness-report-warnings.d.ts +8 -0
- package/dist/enums/market-readiness-report-warnings.js +13 -0
- package/dist/enums/market-readiness-report-warnings.js.map +1 -0
- package/dist/enums/market-readiness-report-warnings.mjs +12 -0
- package/dist/enums/market-readiness-report-warnings.mjs.map +1 -0
- package/dist/enums/market-readiness-severity.d.mts +7 -0
- package/dist/enums/market-readiness-severity.d.ts +7 -0
- package/dist/enums/market-readiness-severity.js +12 -0
- package/dist/enums/market-readiness-severity.js.map +1 -0
- package/dist/enums/market-readiness-severity.mjs +11 -0
- package/dist/enums/market-readiness-severity.mjs.map +1 -0
- package/dist/enums/market-readiness-warnings.d.mts +8 -0
- package/dist/enums/market-readiness-warnings.d.ts +8 -0
- package/dist/enums/market-readiness-warnings.js +13 -0
- package/dist/enums/market-readiness-warnings.js.map +1 -0
- package/dist/enums/market-readiness-warnings.mjs +12 -0
- package/dist/enums/market-readiness-warnings.mjs.map +1 -0
- package/dist/enums/market-tax-basis.d.mts +6 -0
- package/dist/enums/market-tax-basis.d.ts +6 -0
- package/dist/enums/market-tax-basis.js +11 -0
- package/dist/enums/market-tax-basis.js.map +1 -0
- package/dist/enums/market-tax-basis.mjs +10 -0
- package/dist/enums/market-tax-basis.mjs.map +1 -0
- package/dist/enums/markets-list-status.d.mts +6 -0
- package/dist/enums/markets-list-status.d.ts +6 -0
- package/dist/enums/markets-list-status.js +11 -0
- package/dist/enums/markets-list-status.js.map +1 -0
- package/dist/enums/markets-list-status.mjs +10 -0
- package/dist/enums/markets-list-status.mjs.map +1 -0
- package/dist/enums/markets-vocabulary-name.d.mts +5 -0
- package/dist/enums/markets-vocabulary-name.d.ts +5 -0
- package/dist/enums/markets-vocabulary-name.js +10 -0
- package/dist/enums/markets-vocabulary-name.js.map +1 -0
- package/dist/enums/markets-vocabulary-name.mjs +9 -0
- package/dist/enums/markets-vocabulary-name.mjs.map +1 -0
- package/dist/enums/markets-vocabulary-source.d.mts +5 -0
- package/dist/enums/markets-vocabulary-source.d.ts +5 -0
- package/dist/enums/markets-vocabulary-source.js +10 -0
- package/dist/enums/markets-vocabulary-source.js.map +1 -0
- package/dist/enums/markets-vocabulary-source.mjs +9 -0
- package/dist/enums/markets-vocabulary-source.mjs.map +1 -0
- package/dist/enums/markets-vocabulary-summary-name.d.mts +5 -0
- package/dist/enums/markets-vocabulary-summary-name.d.ts +5 -0
- package/dist/enums/markets-vocabulary-summary-name.js +10 -0
- package/dist/enums/markets-vocabulary-summary-name.js.map +1 -0
- package/dist/enums/markets-vocabulary-summary-name.mjs +9 -0
- package/dist/enums/markets-vocabulary-summary-name.mjs.map +1 -0
- package/dist/enums/markets-vocabulary-tone.d.mts +9 -0
- package/dist/enums/markets-vocabulary-tone.d.ts +9 -0
- package/dist/enums/markets-vocabulary-tone.js +14 -0
- package/dist/enums/markets-vocabulary-tone.js.map +1 -0
- package/dist/enums/markets-vocabulary-tone.mjs +13 -0
- package/dist/enums/markets-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/{message-status.d.mts → message-2-status.d.mts} +2 -2
- package/dist/enums/{message-status.d.ts → message-2-status.d.ts} +2 -2
- package/dist/enums/message-2-status.js +14 -0
- package/dist/enums/message-2-status.js.map +1 -0
- package/dist/enums/message-2-status.mjs +13 -0
- package/dist/enums/message-2-status.mjs.map +1 -0
- package/dist/enums/message-class.d.mts +6 -0
- package/dist/enums/message-class.d.ts +6 -0
- package/dist/enums/message-class.js +11 -0
- package/dist/enums/message-class.js.map +1 -0
- package/dist/enums/message-class.mjs +10 -0
- package/dist/enums/message-class.mjs.map +1 -0
- package/dist/enums/mode.d.mts +7 -0
- package/dist/enums/mode.d.ts +7 -0
- package/dist/enums/mode.js +12 -0
- package/dist/enums/mode.js.map +1 -0
- package/dist/enums/mode.mjs +11 -0
- package/dist/enums/mode.mjs.map +1 -0
- package/dist/enums/name.d.mts +10 -0
- package/dist/enums/name.d.ts +10 -0
- package/dist/enums/name.js +15 -0
- package/dist/enums/name.js.map +1 -0
- package/dist/enums/name.mjs +14 -0
- package/dist/enums/name.mjs.map +1 -0
- package/dist/enums/order-cancellation-scope.d.mts +6 -0
- package/dist/enums/order-cancellation-scope.d.ts +6 -0
- package/dist/enums/order-cancellation-scope.js +11 -0
- package/dist/enums/order-cancellation-scope.js.map +1 -0
- package/dist/enums/order-cancellation-scope.mjs +10 -0
- package/dist/enums/order-cancellation-scope.mjs.map +1 -0
- package/dist/enums/order-customer-rollup-request-statuses.d.mts +9 -0
- package/dist/enums/order-customer-rollup-request-statuses.d.ts +9 -0
- package/dist/enums/order-customer-rollup-request-statuses.js +14 -0
- package/dist/enums/order-customer-rollup-request-statuses.js.map +1 -0
- package/dist/enums/order-customer-rollup-request-statuses.mjs +13 -0
- package/dist/enums/order-customer-rollup-request-statuses.mjs.map +1 -0
- package/dist/enums/order-customer-rollup-response-statuses.d.mts +9 -0
- package/dist/enums/order-customer-rollup-response-statuses.d.ts +9 -0
- package/dist/enums/order-customer-rollup-response-statuses.js +14 -0
- package/dist/enums/order-customer-rollup-response-statuses.js.map +1 -0
- package/dist/enums/order-customer-rollup-response-statuses.mjs +13 -0
- package/dist/enums/order-customer-rollup-response-statuses.mjs.map +1 -0
- package/dist/enums/{fulfillment-status.d.mts → order-fulfillment-status.d.mts} +2 -2
- package/dist/enums/{fulfillment-status.d.ts → order-fulfillment-status.d.ts} +2 -2
- package/dist/enums/order-fulfillment-status.js +12 -0
- package/dist/enums/order-fulfillment-status.js.map +1 -0
- package/dist/enums/order-fulfillment-status.mjs +11 -0
- package/dist/enums/order-fulfillment-status.mjs.map +1 -0
- package/dist/enums/order-list-cart-mode.d.mts +6 -0
- package/dist/enums/order-list-cart-mode.d.ts +6 -0
- package/dist/enums/order-list-cart-mode.js +11 -0
- package/dist/enums/order-list-cart-mode.js.map +1 -0
- package/dist/enums/order-list-cart-mode.mjs +10 -0
- package/dist/enums/order-list-cart-mode.mjs.map +1 -0
- package/dist/enums/order-list-kind-row-tone.d.mts +9 -0
- package/dist/enums/order-list-kind-row-tone.d.ts +9 -0
- package/dist/enums/order-list-kind-row-tone.js +14 -0
- package/dist/enums/order-list-kind-row-tone.js.map +1 -0
- package/dist/enums/order-list-kind-row-tone.mjs +13 -0
- package/dist/enums/order-list-kind-row-tone.mjs.map +1 -0
- package/dist/enums/order-list-kind-tone.d.mts +9 -0
- package/dist/enums/order-list-kind-tone.d.ts +9 -0
- package/dist/enums/order-list-kind-tone.js +14 -0
- package/dist/enums/order-list-kind-tone.js.map +1 -0
- package/dist/enums/order-list-kind-tone.mjs +13 -0
- package/dist/enums/order-list-kind-tone.mjs.map +1 -0
- package/dist/enums/order-list-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/order-list-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/order-list-vocabulary-default-tone.js +14 -0
- package/dist/enums/order-list-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/order-list-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/order-list-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/order-list-vocabulary-name.d.mts +5 -0
- package/dist/enums/order-list-vocabulary-name.d.ts +5 -0
- package/dist/enums/order-list-vocabulary-name.js +10 -0
- package/dist/enums/order-list-vocabulary-name.js.map +1 -0
- package/dist/enums/order-list-vocabulary-name.mjs +9 -0
- package/dist/enums/order-list-vocabulary-name.mjs.map +1 -0
- package/dist/enums/order-list-vocabulary-source.d.mts +6 -0
- package/dist/enums/order-list-vocabulary-source.d.ts +6 -0
- package/dist/enums/order-list-vocabulary-source.js +11 -0
- package/dist/enums/order-list-vocabulary-source.js.map +1 -0
- package/dist/enums/order-list-vocabulary-source.mjs +10 -0
- package/dist/enums/order-list-vocabulary-source.mjs.map +1 -0
- package/dist/enums/order-list-vocabulary-tone.d.mts +9 -0
- package/dist/enums/order-list-vocabulary-tone.d.ts +9 -0
- package/dist/enums/order-list-vocabulary-tone.js +14 -0
- package/dist/enums/order-list-vocabulary-tone.js.map +1 -0
- package/dist/enums/order-list-vocabulary-tone.mjs +13 -0
- package/dist/enums/order-list-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/order-resolution-stage.d.mts +6 -0
- package/dist/enums/order-resolution-stage.d.ts +6 -0
- package/dist/enums/order-resolution-stage.js +11 -0
- package/dist/enums/order-resolution-stage.js.map +1 -0
- package/dist/enums/order-resolution-stage.mjs +10 -0
- package/dist/enums/order-resolution-stage.mjs.map +1 -0
- package/dist/enums/order-return-refusal.d.mts +6 -0
- package/dist/enums/order-return-refusal.d.ts +6 -0
- package/dist/enums/order-return-refusal.js +11 -0
- package/dist/enums/order-return-refusal.js.map +1 -0
- package/dist/enums/order-return-refusal.mjs +10 -0
- package/dist/enums/order-return-refusal.mjs.map +1 -0
- package/dist/enums/order-return-settlement.d.mts +9 -0
- package/dist/enums/order-return-settlement.d.ts +9 -0
- package/dist/enums/order-return-settlement.js +14 -0
- package/dist/enums/order-return-settlement.js.map +1 -0
- package/dist/enums/order-return-settlement.mjs +13 -0
- package/dist/enums/order-return-settlement.mjs.map +1 -0
- package/dist/enums/order-return-status.d.mts +8 -0
- package/dist/enums/order-return-status.d.ts +8 -0
- package/dist/enums/order-return-status.js +13 -0
- package/dist/enums/order-return-status.js.map +1 -0
- package/dist/enums/order-return-status.mjs +12 -0
- package/dist/enums/order-return-status.mjs.map +1 -0
- package/dist/enums/order-status.d.mts +9 -0
- package/dist/enums/order-status.d.ts +9 -0
- package/dist/enums/order-status.js +14 -0
- package/dist/enums/order-status.js.map +1 -0
- package/dist/enums/order-status.mjs +13 -0
- package/dist/enums/order-status.mjs.map +1 -0
- package/dist/enums/order-vocabulary-name.d.mts +12 -0
- package/dist/enums/order-vocabulary-name.d.ts +12 -0
- package/dist/enums/order-vocabulary-name.js +17 -0
- package/dist/enums/order-vocabulary-name.js.map +1 -0
- package/dist/enums/order-vocabulary-name.mjs +16 -0
- package/dist/enums/order-vocabulary-name.mjs.map +1 -0
- package/dist/enums/order-vocabulary-source.d.mts +6 -0
- package/dist/enums/order-vocabulary-source.d.ts +6 -0
- package/dist/enums/order-vocabulary-source.js +11 -0
- package/dist/enums/order-vocabulary-source.js.map +1 -0
- package/dist/enums/order-vocabulary-source.mjs +10 -0
- package/dist/enums/order-vocabulary-source.mjs.map +1 -0
- package/dist/enums/order-vocabulary-summary-name.d.mts +12 -0
- package/dist/enums/order-vocabulary-summary-name.d.ts +12 -0
- package/dist/enums/order-vocabulary-summary-name.js +17 -0
- package/dist/enums/order-vocabulary-summary-name.js.map +1 -0
- package/dist/enums/order-vocabulary-summary-name.mjs +16 -0
- package/dist/enums/order-vocabulary-summary-name.mjs.map +1 -0
- package/dist/enums/order-vocabulary-tone.d.mts +9 -0
- package/dist/enums/order-vocabulary-tone.d.ts +9 -0
- package/dist/enums/order-vocabulary-tone.js +14 -0
- package/dist/enums/order-vocabulary-tone.js.map +1 -0
- package/dist/enums/order-vocabulary-tone.mjs +13 -0
- package/dist/enums/order-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/orderlists-vocabularies-get-name.d.mts +5 -0
- package/dist/enums/orderlists-vocabularies-get-name.d.ts +5 -0
- package/dist/enums/orderlists-vocabularies-get-name.js +10 -0
- package/dist/enums/orderlists-vocabularies-get-name.js.map +1 -0
- package/dist/enums/orderlists-vocabularies-get-name.mjs +9 -0
- package/dist/enums/orderlists-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/orders-vocabularies-get-name.d.mts +12 -0
- package/dist/enums/orders-vocabularies-get-name.d.ts +12 -0
- package/dist/enums/orders-vocabularies-get-name.js +17 -0
- package/dist/enums/orders-vocabularies-get-name.js.map +1 -0
- package/dist/enums/orders-vocabularies-get-name.mjs +16 -0
- package/dist/enums/orders-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/page-edit-state-status.d.mts +8 -0
- package/dist/enums/page-edit-state-status.d.ts +8 -0
- package/dist/enums/page-edit-state-status.js +13 -0
- package/dist/enums/page-edit-state-status.js.map +1 -0
- package/dist/enums/page-edit-state-status.mjs +12 -0
- package/dist/enums/page-edit-state-status.mjs.map +1 -0
- package/dist/enums/pages-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/pages-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/pages-vocabularies-get-name.js +12 -0
- package/dist/enums/pages-vocabularies-get-name.js.map +1 -0
- package/dist/enums/pages-vocabularies-get-name.mjs +11 -0
- package/dist/enums/pages-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/pages-vocabulary-app.d.mts +5 -0
- package/dist/enums/pages-vocabulary-app.d.ts +5 -0
- package/dist/enums/pages-vocabulary-app.js +10 -0
- package/dist/enums/pages-vocabulary-app.js.map +1 -0
- package/dist/enums/pages-vocabulary-app.mjs +9 -0
- package/dist/enums/pages-vocabulary-app.mjs.map +1 -0
- package/dist/enums/pages-vocabulary-index-app.d.mts +5 -0
- package/dist/enums/pages-vocabulary-index-app.d.ts +5 -0
- package/dist/enums/pages-vocabulary-index-app.js +10 -0
- package/dist/enums/pages-vocabulary-index-app.js.map +1 -0
- package/dist/enums/pages-vocabulary-index-app.mjs +9 -0
- package/dist/enums/pages-vocabulary-index-app.mjs.map +1 -0
- package/dist/enums/pages-vocabulary-name.d.mts +7 -0
- package/dist/enums/pages-vocabulary-name.d.ts +7 -0
- package/dist/enums/pages-vocabulary-name.js +12 -0
- package/dist/enums/pages-vocabulary-name.js.map +1 -0
- package/dist/enums/pages-vocabulary-name.mjs +11 -0
- package/dist/enums/pages-vocabulary-name.mjs.map +1 -0
- package/dist/enums/pages-vocabulary-source.d.mts +5 -0
- package/dist/enums/pages-vocabulary-source.d.ts +5 -0
- package/dist/enums/pages-vocabulary-source.js +10 -0
- package/dist/enums/pages-vocabulary-source.js.map +1 -0
- package/dist/enums/pages-vocabulary-source.mjs +9 -0
- package/dist/enums/pages-vocabulary-source.mjs.map +1 -0
- package/dist/enums/pages-vocabulary-tone.d.mts +9 -0
- package/dist/enums/pages-vocabulary-tone.d.ts +9 -0
- package/dist/enums/pages-vocabulary-tone.js +14 -0
- package/dist/enums/pages-vocabulary-tone.js.map +1 -0
- package/dist/enums/pages-vocabulary-tone.mjs +13 -0
- package/dist/enums/pages-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/payment-dunning-stage.d.mts +7 -0
- package/dist/enums/payment-dunning-stage.d.ts +7 -0
- package/dist/enums/payment-dunning-stage.js +12 -0
- package/dist/enums/payment-dunning-stage.js.map +1 -0
- package/dist/enums/payment-dunning-stage.mjs +11 -0
- package/dist/enums/payment-dunning-stage.mjs.map +1 -0
- package/dist/enums/payment-failure-code.d.mts +9 -0
- package/dist/enums/payment-failure-code.d.ts +9 -0
- package/dist/enums/payment-failure-code.js +14 -0
- package/dist/enums/payment-failure-code.js.map +1 -0
- package/dist/enums/payment-failure-code.mjs +13 -0
- package/dist/enums/payment-failure-code.mjs.map +1 -0
- package/dist/enums/payment-status.d.mts +6 -6
- package/dist/enums/payment-status.d.ts +6 -6
- package/dist/enums/payment-status.js +5 -5
- package/dist/enums/payment-status.js.map +1 -1
- package/dist/enums/payment-status.mjs +5 -5
- package/dist/enums/payment-status.mjs.map +1 -1
- package/dist/enums/payment-term-create-request-tone.d.mts +9 -0
- package/dist/enums/payment-term-create-request-tone.d.ts +9 -0
- package/dist/enums/payment-term-create-request-tone.js +14 -0
- package/dist/enums/payment-term-create-request-tone.js.map +1 -0
- package/dist/enums/payment-term-create-request-tone.mjs +13 -0
- package/dist/enums/payment-term-create-request-tone.mjs.map +1 -0
- package/dist/enums/payment-term-tone.d.mts +9 -0
- package/dist/enums/payment-term-tone.d.ts +9 -0
- package/dist/enums/payment-term-tone.js +14 -0
- package/dist/enums/payment-term-tone.js.map +1 -0
- package/dist/enums/payment-term-tone.mjs +13 -0
- package/dist/enums/payment-term-tone.mjs.map +1 -0
- package/dist/enums/payment-term-update-request-tone.d.mts +9 -0
- package/dist/enums/payment-term-update-request-tone.d.ts +9 -0
- package/dist/enums/payment-term-update-request-tone.js +14 -0
- package/dist/enums/payment-term-update-request-tone.js.map +1 -0
- package/dist/enums/payment-term-update-request-tone.mjs +13 -0
- package/dist/enums/payment-term-update-request-tone.mjs.map +1 -0
- package/dist/enums/payment-vocabulary-tone.d.mts +9 -0
- package/dist/enums/payment-vocabulary-tone.d.ts +9 -0
- package/dist/enums/payment-vocabulary-tone.js +14 -0
- package/dist/enums/payment-vocabulary-tone.js.map +1 -0
- package/dist/enums/payment-vocabulary-tone.mjs +13 -0
- package/dist/enums/payment-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/payments-vocabularies-get-name.d.mts +8 -0
- package/dist/enums/payments-vocabularies-get-name.d.ts +8 -0
- package/dist/enums/payments-vocabularies-get-name.js +13 -0
- package/dist/enums/payments-vocabularies-get-name.js.map +1 -0
- package/dist/enums/payments-vocabularies-get-name.mjs +12 -0
- package/dist/enums/payments-vocabularies-get-name.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/price-currency-source.d.mts +8 -0
- package/dist/enums/price-currency-source.d.ts +8 -0
- package/dist/enums/price-currency-source.js +13 -0
- package/dist/enums/price-currency-source.js.map +1 -0
- package/dist/enums/price-currency-source.mjs +12 -0
- package/dist/enums/price-currency-source.mjs.map +1 -0
- package/dist/enums/price-ending-rule.d.mts +9 -0
- package/dist/enums/price-ending-rule.d.ts +9 -0
- package/dist/enums/price-ending-rule.js +14 -0
- package/dist/enums/price-ending-rule.js.map +1 -0
- package/dist/enums/price-ending-rule.mjs +13 -0
- package/dist/enums/price-ending-rule.mjs.map +1 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.d.mts +8 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.d.ts +8 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.js +13 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.js.map +1 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.mjs +12 -0
- package/dist/enums/price-entries-adjust-response-rounding-mode.mjs.map +1 -0
- package/dist/enums/price-entries-adjust-response-rounding.d.mts +9 -0
- package/dist/enums/price-entries-adjust-response-rounding.d.ts +9 -0
- package/dist/enums/price-entries-adjust-response-rounding.js +14 -0
- package/dist/enums/price-entries-adjust-response-rounding.js.map +1 -0
- package/dist/enums/price-entries-adjust-response-rounding.mjs +13 -0
- package/dist/enums/price-entries-adjust-response-rounding.mjs.map +1 -0
- package/dist/enums/price-entries-bulk-mode.d.mts +6 -0
- package/dist/enums/price-entries-bulk-mode.d.ts +6 -0
- package/dist/enums/price-entries-bulk-mode.js +11 -0
- package/dist/enums/price-entries-bulk-mode.js.map +1 -0
- package/dist/enums/price-entries-bulk-mode.mjs +10 -0
- package/dist/enums/price-entries-bulk-mode.mjs.map +1 -0
- package/dist/enums/price-list-tax-basis.d.mts +6 -0
- package/dist/enums/price-list-tax-basis.d.ts +6 -0
- package/dist/enums/price-list-tax-basis.js +11 -0
- package/dist/enums/price-list-tax-basis.js.map +1 -0
- package/dist/enums/price-list-tax-basis.mjs +10 -0
- package/dist/enums/price-list-tax-basis.mjs.map +1 -0
- package/dist/enums/price-list-tiebreak.d.mts +8 -0
- package/dist/enums/price-list-tiebreak.d.ts +8 -0
- package/dist/enums/price-list-tiebreak.js +13 -0
- package/dist/enums/price-list-tiebreak.js.map +1 -0
- package/dist/enums/price-list-tiebreak.mjs +12 -0
- package/dist/enums/price-list-tiebreak.mjs.map +1 -0
- package/dist/enums/price-on-request-reason.d.mts +8 -0
- package/dist/enums/price-on-request-reason.d.ts +8 -0
- package/dist/enums/price-on-request-reason.js +13 -0
- package/dist/enums/price-on-request-reason.js.map +1 -0
- package/dist/enums/price-on-request-reason.mjs +12 -0
- package/dist/enums/price-on-request-reason.mjs.map +1 -0
- package/dist/enums/price-rounding-mode.d.mts +8 -0
- package/dist/enums/price-rounding-mode.d.ts +8 -0
- package/dist/enums/price-rounding-mode.js +13 -0
- package/dist/enums/price-rounding-mode.js.map +1 -0
- package/dist/enums/price-rounding-mode.mjs +12 -0
- package/dist/enums/price-rounding-mode.mjs.map +1 -0
- package/dist/enums/price-tax-basis-source.d.mts +7 -0
- package/dist/enums/price-tax-basis-source.d.ts +7 -0
- package/dist/enums/price-tax-basis-source.js +12 -0
- package/dist/enums/price-tax-basis-source.js.map +1 -0
- package/dist/enums/price-tax-basis-source.mjs +11 -0
- package/dist/enums/price-tax-basis-source.mjs.map +1 -0
- package/dist/enums/price-tax-basis.d.mts +6 -0
- package/dist/enums/price-tax-basis.d.ts +6 -0
- package/dist/enums/price-tax-basis.js +11 -0
- package/dist/enums/price-tax-basis.js.map +1 -0
- package/dist/enums/price-tax-basis.mjs +10 -0
- package/dist/enums/price-tax-basis.mjs.map +1 -0
- package/dist/enums/price-tax-inclusive-default.d.mts +6 -0
- package/dist/enums/price-tax-inclusive-default.d.ts +6 -0
- package/dist/enums/price-tax-inclusive-default.js +11 -0
- package/dist/enums/price-tax-inclusive-default.js.map +1 -0
- package/dist/enums/price-tax-inclusive-default.mjs +10 -0
- package/dist/enums/price-tax-inclusive-default.mjs.map +1 -0
- package/dist/enums/price-tax-market-source.d.mts +7 -0
- package/dist/enums/price-tax-market-source.d.ts +7 -0
- package/dist/enums/price-tax-market-source.js +12 -0
- package/dist/enums/price-tax-market-source.js.map +1 -0
- package/dist/enums/price-tax-market-source.mjs +11 -0
- package/dist/enums/price-tax-market-source.mjs.map +1 -0
- package/dist/enums/price-tax-unresolved-reason.d.mts +8 -0
- package/dist/enums/price-tax-unresolved-reason.d.ts +8 -0
- package/dist/enums/price-tax-unresolved-reason.js +13 -0
- package/dist/enums/price-tax-unresolved-reason.js.map +1 -0
- package/dist/enums/price-tax-unresolved-reason.mjs +12 -0
- package/dist/enums/price-tax-unresolved-reason.mjs.map +1 -0
- package/dist/enums/price-vocabulary-name.d.mts +7 -0
- package/dist/enums/price-vocabulary-name.d.ts +7 -0
- package/dist/enums/price-vocabulary-name.js +12 -0
- package/dist/enums/price-vocabulary-name.js.map +1 -0
- package/dist/enums/price-vocabulary-name.mjs +11 -0
- package/dist/enums/price-vocabulary-name.mjs.map +1 -0
- package/dist/enums/price-vocabulary-ref-name.d.mts +7 -0
- package/dist/enums/price-vocabulary-ref-name.d.ts +7 -0
- package/dist/enums/price-vocabulary-ref-name.js +12 -0
- package/dist/enums/price-vocabulary-ref-name.js.map +1 -0
- package/dist/enums/price-vocabulary-ref-name.mjs +11 -0
- package/dist/enums/price-vocabulary-ref-name.mjs.map +1 -0
- package/dist/enums/price-vocabulary-source.d.mts +5 -0
- package/dist/enums/price-vocabulary-source.d.ts +5 -0
- package/dist/enums/price-vocabulary-source.js +10 -0
- package/dist/enums/price-vocabulary-source.js.map +1 -0
- package/dist/enums/price-vocabulary-source.mjs +9 -0
- package/dist/enums/price-vocabulary-source.mjs.map +1 -0
- package/dist/enums/price-vocabulary-tone.d.mts +9 -0
- package/dist/enums/price-vocabulary-tone.d.ts +9 -0
- package/dist/enums/price-vocabulary-tone.js +14 -0
- package/dist/enums/price-vocabulary-tone.js.map +1 -0
- package/dist/enums/price-vocabulary-tone.mjs +13 -0
- package/dist/enums/price-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/prices-vocabularies-get-name.d.mts +7 -0
- package/dist/enums/prices-vocabularies-get-name.d.ts +7 -0
- package/dist/enums/prices-vocabularies-get-name.js +12 -0
- package/dist/enums/prices-vocabularies-get-name.js.map +1 -0
- package/dist/enums/prices-vocabularies-get-name.mjs +11 -0
- package/dist/enums/prices-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/pricing-type.d.mts +7 -0
- package/dist/enums/pricing-type.d.ts +7 -0
- package/dist/enums/pricing-type.js +12 -0
- package/dist/enums/pricing-type.js.map +1 -0
- package/dist/enums/pricing-type.mjs +11 -0
- package/dist/enums/pricing-type.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/product-categories-source.d.mts +6 -0
- package/dist/enums/product-categories-source.d.ts +6 -0
- package/dist/enums/product-categories-source.js +11 -0
- package/dist/enums/product-categories-source.js.map +1 -0
- package/dist/enums/product-categories-source.mjs +10 -0
- package/dist/enums/product-categories-source.mjs.map +1 -0
- package/dist/enums/product-grid-column-source.d.mts +7 -0
- package/dist/enums/product-grid-column-source.d.ts +7 -0
- package/dist/enums/product-grid-column-source.js +12 -0
- package/dist/enums/product-grid-column-source.js.map +1 -0
- package/dist/enums/product-grid-column-source.mjs +11 -0
- package/dist/enums/product-grid-column-source.mjs.map +1 -0
- package/dist/enums/product-label-attribute-source.d.mts +7 -0
- package/dist/enums/product-label-attribute-source.d.ts +7 -0
- package/dist/enums/product-label-attribute-source.js +12 -0
- package/dist/enums/product-label-attribute-source.js.map +1 -0
- package/dist/enums/product-label-attribute-source.mjs +11 -0
- package/dist/enums/product-label-attribute-source.mjs.map +1 -0
- package/dist/enums/product-label-source.d.mts +9 -0
- package/dist/enums/product-label-source.d.ts +9 -0
- package/dist/enums/product-label-source.js +14 -0
- package/dist/enums/product-label-source.js.map +1 -0
- package/dist/enums/product-label-source.mjs +13 -0
- package/dist/enums/product-label-source.mjs.map +1 -0
- package/dist/enums/products-assets-list-source.d.mts +6 -0
- package/dist/enums/products-assets-list-source.d.ts +6 -0
- package/dist/enums/products-assets-list-source.js +11 -0
- package/dist/enums/products-assets-list-source.js.map +1 -0
- package/dist/enums/products-assets-list-source.mjs +10 -0
- package/dist/enums/products-assets-list-source.mjs.map +1 -0
- package/dist/enums/products-kind.d.mts +7 -0
- package/dist/enums/products-kind.d.ts +7 -0
- package/dist/enums/products-kind.js +12 -0
- package/dist/enums/products-kind.js.map +1 -0
- package/dist/enums/products-kind.mjs +11 -0
- package/dist/enums/products-kind.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/reason.d.mts +8 -0
- package/dist/enums/reason.d.ts +8 -0
- package/dist/enums/reason.js +13 -0
- package/dist/enums/reason.js.map +1 -0
- package/dist/enums/reason.mjs +12 -0
- package/dist/enums/reason.mjs.map +1 -0
- package/dist/enums/recovery-mail-source.d.mts +6 -0
- package/dist/enums/recovery-mail-source.d.ts +6 -0
- package/dist/enums/recovery-mail-source.js +11 -0
- package/dist/enums/recovery-mail-source.js.map +1 -0
- package/dist/enums/recovery-mail-source.mjs +10 -0
- package/dist/enums/recovery-mail-source.mjs.map +1 -0
- package/dist/enums/registration-status.d.mts +7 -0
- package/dist/enums/registration-status.d.ts +7 -0
- package/dist/enums/registration-status.js +12 -0
- package/dist/enums/registration-status.js.map +1 -0
- package/dist/enums/registration-status.mjs +11 -0
- package/dist/enums/registration-status.mjs.map +1 -0
- package/dist/enums/reorder-point-source.d.mts +6 -0
- package/dist/enums/reorder-point-source.d.ts +6 -0
- package/dist/enums/reorder-point-source.js +11 -0
- package/dist/enums/reorder-point-source.js.map +1 -0
- package/dist/enums/reorder-point-source.mjs +10 -0
- package/dist/enums/reorder-point-source.mjs.map +1 -0
- package/dist/enums/reservation-status.d.mts +7 -0
- package/dist/enums/reservation-status.d.ts +7 -0
- package/dist/enums/reservation-status.js +12 -0
- package/dist/enums/reservation-status.js.map +1 -0
- package/dist/enums/reservation-status.mjs +11 -0
- package/dist/enums/reservation-status.mjs.map +1 -0
- package/dist/enums/resource-type.d.mts +7 -0
- package/dist/enums/resource-type.d.ts +7 -0
- package/dist/enums/resource-type.js +12 -0
- package/dist/enums/resource-type.js.map +1 -0
- package/dist/enums/resource-type.mjs +11 -0
- package/dist/enums/resource-type.mjs.map +1 -0
- package/dist/enums/role-catalog-response-source.d.mts +6 -0
- package/dist/enums/role-catalog-response-source.d.ts +6 -0
- package/dist/enums/role-catalog-response-source.js +11 -0
- package/dist/enums/role-catalog-response-source.js.map +1 -0
- package/dist/enums/role-catalog-response-source.mjs +10 -0
- package/dist/enums/role-catalog-response-source.mjs.map +1 -0
- package/dist/enums/rule-match.d.mts +6 -0
- package/dist/enums/rule-match.d.ts +6 -0
- package/dist/enums/rule-match.js +11 -0
- package/dist/enums/rule-match.js.map +1 -0
- package/dist/enums/rule-match.mjs +10 -0
- package/dist/enums/rule-match.mjs.map +1 -0
- package/dist/enums/scope.d.mts +6 -0
- package/dist/enums/scope.d.ts +6 -0
- package/dist/enums/scope.js +11 -0
- package/dist/enums/scope.js.map +1 -0
- package/dist/enums/scope.mjs +10 -0
- package/dist/enums/scope.mjs.map +1 -0
- package/dist/enums/segment-member-source.d.mts +6 -0
- package/dist/enums/segment-member-source.d.ts +6 -0
- package/dist/enums/segment-member-source.js +11 -0
- package/dist/enums/segment-member-source.js.map +1 -0
- package/dist/enums/segment-member-source.mjs +10 -0
- package/dist/enums/segment-member-source.mjs.map +1 -0
- package/dist/enums/segment-rule-match.d.mts +6 -0
- package/dist/enums/segment-rule-match.d.ts +6 -0
- package/dist/enums/segment-rule-match.js +11 -0
- package/dist/enums/segment-rule-match.js.map +1 -0
- package/dist/enums/segment-rule-match.mjs +10 -0
- package/dist/enums/segment-rule-match.mjs.map +1 -0
- package/dist/enums/segment-rule-operator.d.mts +16 -0
- package/dist/enums/segment-rule-operator.d.ts +16 -0
- package/dist/enums/segment-rule-operator.js +21 -0
- package/dist/enums/segment-rule-operator.js.map +1 -0
- package/dist/enums/segment-rule-operator.mjs +20 -0
- package/dist/enums/segment-rule-operator.mjs.map +1 -0
- package/dist/enums/segment-rule-preview-request-rule-match.d.mts +6 -0
- package/dist/enums/segment-rule-preview-request-rule-match.d.ts +6 -0
- package/dist/enums/segment-rule-preview-request-rule-match.js +11 -0
- package/dist/enums/segment-rule-preview-request-rule-match.js.map +1 -0
- package/dist/enums/segment-rule-preview-request-rule-match.mjs +10 -0
- package/dist/enums/segment-rule-preview-request-rule-match.mjs.map +1 -0
- package/dist/enums/segment-rule-preview-request-target.d.mts +5 -0
- package/dist/enums/segment-rule-preview-request-target.d.ts +5 -0
- package/dist/enums/segment-rule-preview-request-target.js +10 -0
- package/dist/enums/segment-rule-preview-request-target.js.map +1 -0
- package/dist/enums/segment-rule-preview-request-target.mjs +9 -0
- package/dist/enums/segment-rule-preview-request-target.mjs.map +1 -0
- package/dist/enums/segment-rule-preview-response-rule-match.d.mts +6 -0
- package/dist/enums/segment-rule-preview-response-rule-match.d.ts +6 -0
- package/dist/enums/segment-rule-preview-response-rule-match.js +11 -0
- package/dist/enums/segment-rule-preview-response-rule-match.js.map +1 -0
- package/dist/enums/segment-rule-preview-response-rule-match.mjs +10 -0
- package/dist/enums/segment-rule-preview-response-rule-match.mjs.map +1 -0
- package/dist/enums/segment-rule-preview-response-target.d.mts +5 -0
- package/dist/enums/segment-rule-preview-response-target.d.ts +5 -0
- package/dist/enums/segment-rule-preview-response-target.js +10 -0
- package/dist/enums/segment-rule-preview-response-target.js.map +1 -0
- package/dist/enums/segment-rule-preview-response-target.mjs +9 -0
- package/dist/enums/segment-rule-preview-response-target.mjs.map +1 -0
- package/dist/enums/segment-rules-target.d.mts +5 -0
- package/dist/enums/segment-rules-target.d.ts +5 -0
- package/dist/enums/segment-rules-target.js +10 -0
- package/dist/enums/segment-rules-target.js.map +1 -0
- package/dist/enums/segment-rules-target.mjs +9 -0
- package/dist/enums/segment-rules-target.mjs.map +1 -0
- package/dist/enums/shipping-carrier-source.d.mts +9 -0
- package/dist/enums/shipping-carrier-source.d.ts +9 -0
- package/dist/enums/shipping-carrier-source.js +14 -0
- package/dist/enums/shipping-carrier-source.js.map +1 -0
- package/dist/enums/shipping-carrier-source.mjs +13 -0
- package/dist/enums/shipping-carrier-source.mjs.map +1 -0
- package/dist/enums/shipping-carrier-status.d.mts +7 -0
- package/dist/enums/shipping-carrier-status.d.ts +7 -0
- package/dist/enums/shipping-carrier-status.js +12 -0
- package/dist/enums/shipping-carrier-status.js.map +1 -0
- package/dist/enums/shipping-carrier-status.mjs +11 -0
- package/dist/enums/shipping-carrier-status.mjs.map +1 -0
- package/dist/enums/shipping-carriers-list-status.d.mts +7 -0
- package/dist/enums/shipping-carriers-list-status.d.ts +7 -0
- package/dist/enums/shipping-carriers-list-status.js +12 -0
- package/dist/enums/shipping-carriers-list-status.js.map +1 -0
- package/dist/enums/shipping-carriers-list-status.mjs +11 -0
- package/dist/enums/shipping-carriers-list-status.mjs.map +1 -0
- package/dist/enums/shipping-free-above-basis.d.mts +6 -0
- package/dist/enums/shipping-free-above-basis.d.ts +6 -0
- package/dist/enums/shipping-free-above-basis.js +11 -0
- package/dist/enums/shipping-free-above-basis.js.map +1 -0
- package/dist/enums/shipping-free-above-basis.mjs +10 -0
- package/dist/enums/shipping-free-above-basis.mjs.map +1 -0
- package/dist/enums/shipping-rate-pricing-type.d.mts +7 -0
- package/dist/enums/shipping-rate-pricing-type.d.ts +7 -0
- package/dist/enums/shipping-rate-pricing-type.js +12 -0
- package/dist/enums/shipping-rate-pricing-type.js.map +1 -0
- package/dist/enums/shipping-rate-pricing-type.mjs +11 -0
- package/dist/enums/shipping-rate-pricing-type.mjs.map +1 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.d.mts +7 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.d.ts +7 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.js +12 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.js.map +1 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.mjs +11 -0
- package/dist/enums/shipping-rates-basis-matrix-basis-default.mjs.map +1 -0
- package/dist/enums/shipping-service-level-create-request-tone.d.mts +9 -0
- package/dist/enums/shipping-service-level-create-request-tone.d.ts +9 -0
- package/dist/enums/shipping-service-level-create-request-tone.js +14 -0
- package/dist/enums/shipping-service-level-create-request-tone.js.map +1 -0
- package/dist/enums/shipping-service-level-create-request-tone.mjs +13 -0
- package/dist/enums/shipping-service-level-create-request-tone.mjs.map +1 -0
- package/dist/enums/shipping-service-level-row-tone.d.mts +9 -0
- package/dist/enums/shipping-service-level-row-tone.d.ts +9 -0
- package/dist/enums/shipping-service-level-row-tone.js +14 -0
- package/dist/enums/shipping-service-level-row-tone.js.map +1 -0
- package/dist/enums/shipping-service-level-row-tone.mjs +13 -0
- package/dist/enums/shipping-service-level-row-tone.mjs.map +1 -0
- package/dist/enums/shipping-service-level-update-request-tone.d.mts +9 -0
- package/dist/enums/shipping-service-level-update-request-tone.d.ts +9 -0
- package/dist/enums/shipping-service-level-update-request-tone.js +14 -0
- package/dist/enums/shipping-service-level-update-request-tone.js.map +1 -0
- package/dist/enums/shipping-service-level-update-request-tone.mjs +13 -0
- package/dist/enums/shipping-service-level-update-request-tone.mjs.map +1 -0
- package/dist/enums/shipping-tax-context-via.d.mts +5 -0
- package/dist/enums/shipping-tax-context-via.d.ts +5 -0
- package/dist/enums/shipping-tax-context-via.js +10 -0
- package/dist/enums/shipping-tax-context-via.js.map +1 -0
- package/dist/enums/shipping-tax-context-via.mjs +9 -0
- package/dist/enums/shipping-tax-context-via.mjs.map +1 -0
- package/dist/enums/shipping-tax-market-source.d.mts +8 -0
- package/dist/enums/shipping-tax-market-source.d.ts +8 -0
- package/dist/enums/shipping-tax-market-source.js +13 -0
- package/dist/enums/shipping-tax-market-source.js.map +1 -0
- package/dist/enums/shipping-tax-market-source.mjs +12 -0
- package/dist/enums/shipping-tax-market-source.mjs.map +1 -0
- package/dist/enums/shipping-tax-source.d.mts +8 -0
- package/dist/enums/shipping-tax-source.d.ts +8 -0
- package/dist/enums/shipping-tax-source.js +13 -0
- package/dist/enums/shipping-tax-source.js.map +1 -0
- package/dist/enums/shipping-tax-source.mjs +12 -0
- package/dist/enums/shipping-tax-source.mjs.map +1 -0
- package/dist/enums/shipping-tax-unresolved-reason.d.mts +8 -0
- package/dist/enums/shipping-tax-unresolved-reason.d.ts +8 -0
- package/dist/enums/shipping-tax-unresolved-reason.js +13 -0
- package/dist/enums/shipping-tax-unresolved-reason.js.map +1 -0
- package/dist/enums/shipping-tax-unresolved-reason.mjs +12 -0
- package/dist/enums/shipping-tax-unresolved-reason.mjs.map +1 -0
- package/dist/enums/shipping-tracking-carrier-status.d.mts +7 -0
- package/dist/enums/shipping-tracking-carrier-status.d.ts +7 -0
- package/dist/enums/shipping-tracking-carrier-status.js +12 -0
- package/dist/enums/shipping-tracking-carrier-status.js.map +1 -0
- package/dist/enums/shipping-tracking-carrier-status.mjs +11 -0
- package/dist/enums/shipping-tracking-carrier-status.mjs.map +1 -0
- package/dist/enums/shipping-vocabularies-get-name.d.mts +9 -0
- package/dist/enums/shipping-vocabularies-get-name.d.ts +9 -0
- package/dist/enums/shipping-vocabularies-get-name.js +14 -0
- package/dist/enums/shipping-vocabularies-get-name.js.map +1 -0
- package/dist/enums/shipping-vocabularies-get-name.mjs +13 -0
- package/dist/enums/shipping-vocabularies-get-name.mjs.map +1 -0
- package/dist/enums/shipping-vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/shipping-vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/shipping-vocabulary-default-tone.js +14 -0
- package/dist/enums/shipping-vocabulary-default-tone.js.map +1 -0
- package/dist/enums/shipping-vocabulary-default-tone.mjs +13 -0
- package/dist/enums/shipping-vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/shipping-vocabulary-source.d.mts +6 -0
- package/dist/enums/shipping-vocabulary-source.d.ts +6 -0
- package/dist/enums/shipping-vocabulary-source.js +11 -0
- package/dist/enums/shipping-vocabulary-source.js.map +1 -0
- package/dist/enums/shipping-vocabulary-source.mjs +10 -0
- package/dist/enums/shipping-vocabulary-source.mjs.map +1 -0
- package/dist/enums/shipping-vocabulary-tone.d.mts +9 -0
- package/dist/enums/shipping-vocabulary-tone.d.ts +9 -0
- package/dist/enums/shipping-vocabulary-tone.js +14 -0
- package/dist/enums/shipping-vocabulary-tone.js.map +1 -0
- package/dist/enums/shipping-vocabulary-tone.mjs +13 -0
- package/dist/enums/shipping-vocabulary-tone.mjs.map +1 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.d.mts +9 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.d.ts +9 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.js +14 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.js.map +1 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.mjs +13 -0
- package/dist/enums/shipping-weight-unit-create-request-tone.mjs.map +1 -0
- package/dist/enums/shipping-weight-unit-row-tone.d.mts +9 -0
- package/dist/enums/shipping-weight-unit-row-tone.d.ts +9 -0
- package/dist/enums/shipping-weight-unit-row-tone.js +14 -0
- package/dist/enums/shipping-weight-unit-row-tone.js.map +1 -0
- package/dist/enums/shipping-weight-unit-row-tone.mjs +13 -0
- package/dist/enums/shipping-weight-unit-row-tone.mjs.map +1 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.d.mts +9 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.d.ts +9 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.js +14 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.js.map +1 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.mjs +13 -0
- package/dist/enums/shipping-weight-unit-update-request-tone.mjs.map +1 -0
- package/dist/enums/sites-create-template-deployment-type.d.mts +7 -0
- package/dist/enums/sites-create-template-deployment-type.d.ts +7 -0
- package/dist/enums/sites-create-template-deployment-type.js +12 -0
- package/dist/enums/sites-create-template-deployment-type.js.map +1 -0
- package/dist/enums/sites-create-template-deployment-type.mjs +11 -0
- package/dist/enums/sites-create-template-deployment-type.mjs.map +1 -0
- package/dist/enums/source.d.mts +6 -0
- package/dist/enums/source.d.ts +6 -0
- package/dist/enums/source.js +11 -0
- package/dist/enums/source.js.map +1 -0
- package/dist/enums/source.mjs +10 -0
- package/dist/enums/source.mjs.map +1 -0
- package/dist/enums/status.d.mts +3 -5
- package/dist/enums/status.d.ts +3 -5
- package/dist/enums/status.js +3 -5
- package/dist/enums/status.js.map +1 -1
- package/dist/enums/status.mjs +3 -5
- package/dist/enums/status.mjs.map +1 -1
- package/dist/enums/stock-movement-type.d.mts +10 -0
- package/dist/enums/stock-movement-type.d.ts +10 -0
- package/dist/enums/stock-movement-type.js +15 -0
- package/dist/enums/stock-movement-type.js.map +1 -0
- package/dist/enums/stock-movement-type.mjs +14 -0
- package/dist/enums/stock-movement-type.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/enums/target.d.mts +5 -0
- package/dist/enums/target.d.ts +5 -0
- package/dist/enums/target.js +10 -0
- package/dist/enums/target.js.map +1 -0
- package/dist/enums/target.mjs +9 -0
- package/dist/enums/target.mjs.map +1 -0
- package/dist/enums/timezone.d.mts +393 -419
- package/dist/enums/timezone.d.ts +393 -419
- package/dist/enums/timezone.js +393 -419
- package/dist/enums/timezone.js.map +1 -1
- package/dist/enums/timezone.mjs +393 -419
- package/dist/enums/timezone.mjs.map +1 -1
- package/dist/enums/tone.d.mts +9 -0
- package/dist/enums/tone.d.ts +9 -0
- package/dist/enums/tone.js +14 -0
- package/dist/enums/tone.js.map +1 -0
- package/dist/enums/tone.mjs +13 -0
- package/dist/enums/tone.mjs.map +1 -0
- package/dist/enums/validation-failed-response-status.d.mts +5 -0
- package/dist/enums/validation-failed-response-status.d.ts +5 -0
- package/dist/enums/validation-failed-response-status.js +10 -0
- package/dist/enums/validation-failed-response-status.js.map +1 -0
- package/dist/enums/validation-failed-response-status.mjs +9 -0
- package/dist/enums/validation-failed-response-status.mjs.map +1 -0
- package/dist/enums/vocabulary-default-tone.d.mts +9 -0
- package/dist/enums/vocabulary-default-tone.d.ts +9 -0
- package/dist/enums/vocabulary-default-tone.js +14 -0
- package/dist/enums/vocabulary-default-tone.js.map +1 -0
- package/dist/enums/vocabulary-default-tone.mjs +13 -0
- package/dist/enums/vocabulary-default-tone.mjs.map +1 -0
- package/dist/enums/vocabulary-source.d.mts +8 -0
- package/dist/enums/vocabulary-source.d.ts +8 -0
- package/dist/enums/vocabulary-source.js +13 -0
- package/dist/enums/vocabulary-source.js.map +1 -0
- package/dist/enums/vocabulary-source.mjs +12 -0
- package/dist/enums/vocabulary-source.mjs.map +1 -0
- package/dist/enums/vocabulary-tone.d.mts +9 -0
- package/dist/enums/vocabulary-tone.d.ts +9 -0
- package/dist/enums/vocabulary-tone.js +14 -0
- package/dist/enums/vocabulary-tone.js.map +1 -0
- package/dist/enums/vocabulary-tone.mjs +13 -0
- package/dist/enums/vocabulary-tone.mjs.map +1 -0
- package/dist/enums/whatsapp-category.d.mts +8 -0
- package/dist/enums/whatsapp-category.d.ts +8 -0
- package/dist/enums/whatsapp-category.js +13 -0
- package/dist/enums/whatsapp-category.js.map +1 -0
- package/dist/enums/whatsapp-category.mjs +12 -0
- package/dist/enums/whatsapp-category.mjs.map +1 -0
- package/dist/index.d.mts +270 -20
- package/dist/index.d.ts +270 -20
- package/dist/index.js +1317 -67
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +270 -20
- 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 +15845 -3594
- package/dist/models.d.ts +15845 -3594
- 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 +276 -103
- package/dist/services/apps.d.ts +276 -103
- package/dist/services/apps.js +59 -59
- package/dist/services/apps.js.map +1 -1
- package/dist/services/apps.mjs +60 -60
- package/dist/services/apps.mjs.map +1 -1
- package/dist/services/avatars.d.mts +208 -58
- package/dist/services/avatars.d.ts +208 -58
- package/dist/services/avatars.js +6 -33
- package/dist/services/avatars.js.map +1 -1
- package/dist/services/avatars.mjs +7 -34
- package/dist/services/avatars.mjs.map +1 -1
- package/dist/services/carts-io.d.mts +491 -0
- package/dist/services/carts-io.d.ts +491 -0
- package/dist/services/carts-io.js +383 -0
- package/dist/services/carts-io.js.map +1 -0
- package/dist/services/carts-io.mjs +382 -0
- package/dist/services/carts-io.mjs.map +1 -0
- package/dist/services/carts-items.d.mts +504 -0
- package/dist/services/carts-items.d.ts +504 -0
- package/dist/services/carts-items.js +401 -0
- package/dist/services/carts-items.js.map +1 -0
- package/dist/services/carts-items.mjs +400 -0
- package/dist/services/carts-items.mjs.map +1 -0
- package/dist/services/carts.d.mts +383 -461
- package/dist/services/carts.d.ts +383 -461
- package/dist/services/carts.js +125 -573
- package/dist/services/carts.js.map +1 -1
- package/dist/services/carts.mjs +126 -574
- package/dist/services/carts.mjs.map +1 -1
- package/dist/services/channels.d.mts +499 -50
- package/dist/services/channels.d.ts +499 -50
- package/dist/services/channels.js +407 -14
- package/dist/services/channels.js.map +1 -1
- package/dist/services/channels.mjs +408 -15
- package/dist/services/channels.mjs.map +1 -1
- package/dist/services/cost-centers.d.mts +1051 -0
- package/dist/services/cost-centers.d.ts +1051 -0
- package/dist/services/cost-centers.js +1308 -0
- package/dist/services/cost-centers.js.map +1 -0
- package/dist/services/cost-centers.mjs +1307 -0
- package/dist/services/cost-centers.mjs.map +1 -0
- package/dist/services/customers-contacts.d.mts +711 -0
- package/dist/services/customers-contacts.d.ts +711 -0
- package/dist/services/customers-contacts.js +712 -0
- package/dist/services/customers-contacts.js.map +1 -0
- package/dist/services/customers-contacts.mjs +711 -0
- package/dist/services/customers-contacts.mjs.map +1 -0
- package/dist/services/customers-organizations.d.mts +816 -0
- package/dist/services/customers-organizations.d.ts +816 -0
- package/dist/services/customers-organizations.js +888 -0
- package/dist/services/customers-organizations.js.map +1 -0
- package/dist/services/customers-organizations.mjs +887 -0
- package/dist/services/customers-organizations.mjs.map +1 -0
- package/dist/services/customers-roles.d.mts +297 -0
- package/dist/services/customers-roles.d.ts +297 -0
- package/dist/services/customers-roles.js +94 -0
- package/dist/services/customers-roles.js.map +1 -0
- package/dist/services/customers-roles.mjs +93 -0
- package/dist/services/customers-roles.mjs.map +1 -0
- package/dist/services/customers-segments.d.mts +601 -0
- package/dist/services/customers-segments.d.ts +601 -0
- package/dist/services/customers-segments.js +524 -0
- package/dist/services/customers-segments.js.map +1 -0
- package/dist/services/customers-segments.mjs +523 -0
- package/dist/services/customers-segments.mjs.map +1 -0
- package/dist/services/customers-value-lists.d.mts +796 -0
- package/dist/services/customers-value-lists.d.ts +796 -0
- package/dist/services/customers-value-lists.js +860 -0
- package/dist/services/customers-value-lists.js.map +1 -0
- package/dist/services/customers-value-lists.mjs +859 -0
- package/dist/services/customers-value-lists.mjs.map +1 -0
- package/dist/services/customers.d.mts +418 -449
- package/dist/services/customers.d.ts +418 -449
- package/dist/services/customers.js +221 -557
- package/dist/services/customers.js.map +1 -1
- package/dist/services/customers.mjs +222 -558
- package/dist/services/customers.mjs.map +1 -1
- package/dist/services/events.d.mts +268 -0
- package/dist/services/events.d.ts +268 -0
- package/dist/services/events.js +35 -0
- package/dist/services/events.js.map +1 -0
- package/dist/services/events.mjs +34 -0
- package/dist/services/events.mjs.map +1 -0
- package/dist/services/forms.d.mts +795 -0
- package/dist/services/forms.d.ts +795 -0
- package/dist/services/forms.js +577 -0
- package/dist/services/forms.js.map +1 -0
- package/dist/services/forms.mjs +576 -0
- package/dist/services/forms.mjs.map +1 -0
- package/dist/services/health.d.mts +263 -0
- package/dist/services/health.d.ts +263 -0
- package/dist/services/health.js +47 -0
- package/dist/services/health.js.map +1 -0
- package/dist/services/health.mjs +46 -0
- package/dist/services/health.mjs.map +1 -0
- package/dist/services/inventories-locations.d.mts +436 -0
- package/dist/services/inventories-locations.d.ts +436 -0
- package/dist/services/inventories-locations.js +301 -0
- package/dist/services/inventories-locations.js.map +1 -0
- package/dist/services/inventories-locations.mjs +300 -0
- package/dist/services/inventories-locations.mjs.map +1 -0
- package/dist/services/inventories-reservations.d.mts +424 -0
- package/dist/services/inventories-reservations.d.ts +424 -0
- package/dist/services/inventories-reservations.js +277 -0
- package/dist/services/inventories-reservations.js.map +1 -0
- package/dist/services/inventories-reservations.mjs +276 -0
- package/dist/services/inventories-reservations.mjs.map +1 -0
- package/dist/services/inventories-stock.d.mts +699 -0
- package/dist/services/inventories-stock.d.ts +699 -0
- package/dist/services/{inventories.js → inventories-stock.js} +303 -367
- package/dist/services/inventories-stock.js.map +1 -0
- package/dist/services/{inventories.mjs → inventories-stock.mjs} +305 -369
- package/dist/services/inventories-stock.mjs.map +1 -0
- package/dist/services/io.d.mts +731 -0
- package/dist/services/io.d.ts +731 -0
- package/dist/services/io.js +592 -0
- package/dist/services/io.js.map +1 -0
- package/dist/services/io.mjs +591 -0
- package/dist/services/io.mjs.map +1 -0
- package/dist/services/locale.d.mts +188 -17
- package/dist/services/locale.d.ts +188 -17
- package/dist/services/locale.js +8 -8
- package/dist/services/locale.js.map +1 -1
- package/dist/services/locale.mjs +8 -8
- package/dist/services/locale.mjs.map +1 -1
- package/dist/services/markets.d.mts +699 -247
- package/dist/services/markets.d.ts +699 -247
- package/dist/services/markets.js +434 -48
- package/dist/services/markets.js.map +1 -1
- package/dist/services/markets.mjs +435 -49
- package/dist/services/markets.mjs.map +1 -1
- package/dist/services/messaging.d.mts +2198 -1114
- package/dist/services/messaging.d.ts +2198 -1114
- package/dist/services/messaging.js +1026 -1225
- package/dist/services/messaging.js.map +1 -1
- package/dist/services/messaging.mjs +1027 -1226
- package/dist/services/messaging.mjs.map +1 -1
- package/dist/services/orderlists.d.mts +660 -161
- package/dist/services/orderlists.d.ts +660 -161
- package/dist/services/orderlists.js +484 -20
- package/dist/services/orderlists.js.map +1 -1
- package/dist/services/orderlists.mjs +485 -21
- package/dist/services/orderlists.mjs.map +1 -1
- package/dist/services/orders.d.mts +744 -287
- package/dist/services/orders.d.ts +744 -287
- package/dist/services/orders.js +456 -88
- package/dist/services/orders.js.map +1 -1
- package/dist/services/orders.mjs +457 -89
- package/dist/services/orders.mjs.map +1 -1
- package/dist/services/pages-collaboration.d.mts +455 -0
- package/dist/services/pages-collaboration.d.ts +455 -0
- package/dist/services/pages-collaboration.js +329 -0
- package/dist/services/pages-collaboration.js.map +1 -0
- package/dist/services/pages-collaboration.mjs +328 -0
- package/dist/services/pages-collaboration.mjs.map +1 -0
- package/dist/services/pages-delivery.d.mts +349 -0
- package/dist/services/pages-delivery.d.ts +349 -0
- package/dist/services/pages-delivery.js +149 -0
- package/dist/services/pages-delivery.js.map +1 -0
- package/dist/services/pages-delivery.mjs +148 -0
- package/dist/services/pages-delivery.mjs.map +1 -0
- package/dist/services/pages-editor.d.mts +608 -0
- package/dist/services/pages-editor.d.ts +608 -0
- package/dist/services/pages-editor.js +540 -0
- package/dist/services/pages-editor.js.map +1 -0
- package/dist/services/pages-editor.mjs +539 -0
- package/dist/services/pages-editor.mjs.map +1 -0
- package/dist/services/pages.d.mts +503 -646
- package/dist/services/pages.d.ts +503 -646
- package/dist/services/pages.js +247 -907
- package/dist/services/pages.js.map +1 -1
- package/dist/services/pages.mjs +248 -908
- package/dist/services/pages.mjs.map +1 -1
- package/dist/services/payments-ledger.d.mts +551 -0
- package/dist/services/payments-ledger.d.ts +551 -0
- package/dist/services/payments-ledger.js +459 -0
- package/dist/services/payments-ledger.js.map +1 -0
- package/dist/services/payments-ledger.mjs +458 -0
- package/dist/services/payments-ledger.mjs.map +1 -0
- package/dist/services/payments-methods.d.mts +487 -0
- package/dist/services/payments-methods.d.ts +487 -0
- package/dist/services/payments-methods.js +382 -0
- package/dist/services/payments-methods.js.map +1 -0
- package/dist/services/payments-methods.mjs +381 -0
- package/dist/services/payments-methods.mjs.map +1 -0
- package/dist/services/payments-providers.d.mts +424 -0
- package/dist/services/payments-providers.d.ts +424 -0
- package/dist/services/payments-providers.js +272 -0
- package/dist/services/payments-providers.js.map +1 -0
- package/dist/services/payments-providers.mjs +271 -0
- package/dist/services/payments-providers.mjs.map +1 -0
- package/dist/services/prices.d.mts +785 -207
- package/dist/services/prices.d.ts +785 -207
- package/dist/services/prices.js +445 -52
- package/dist/services/prices.js.map +1 -1
- package/dist/services/prices.mjs +446 -53
- 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 +540 -0
- package/dist/services/products-assets.d.ts +540 -0
- package/dist/services/products-assets.js +268 -0
- package/dist/services/products-assets.js.map +1 -0
- package/dist/services/products-assets.mjs +267 -0
- package/dist/services/products-assets.mjs.map +1 -0
- package/dist/services/products-categories.d.mts +762 -0
- package/dist/services/products-categories.d.ts +762 -0
- package/dist/services/products-categories.js +638 -0
- package/dist/services/products-categories.js.map +1 -0
- package/dist/services/products-categories.mjs +637 -0
- package/dist/services/products-categories.mjs.map +1 -0
- package/dist/services/products-data-model.d.mts +2052 -0
- package/dist/services/products-data-model.d.ts +2052 -0
- package/dist/services/products-data-model.js +2080 -0
- package/dist/services/products-data-model.js.map +1 -0
- package/dist/services/products-data-model.mjs +2079 -0
- package/dist/services/products-data-model.mjs.map +1 -0
- package/dist/services/products-references.d.mts +690 -0
- package/dist/services/products-references.d.ts +690 -0
- package/dist/services/products-references.js +415 -0
- package/dist/services/products-references.js.map +1 -0
- package/dist/services/products-references.mjs +414 -0
- package/dist/services/products-references.mjs.map +1 -0
- package/dist/services/products.d.mts +679 -1737
- package/dist/services/products.d.ts +679 -1737
- package/dist/services/products.js +373 -2596
- package/dist/services/products.js.map +1 -1
- package/dist/services/products.mjs +374 -2597
- package/dist/services/products.mjs.map +1 -1
- package/dist/services/search.d.mts +373 -76
- package/dist/services/search.d.ts +373 -76
- package/dist/services/search.js +149 -19
- package/dist/services/search.js.map +1 -1
- package/dist/services/search.mjs +150 -20
- package/dist/services/search.mjs.map +1 -1
- package/dist/services/settings.d.mts +271 -0
- package/dist/services/settings.d.ts +271 -0
- package/dist/services/settings.js +42 -0
- package/dist/services/settings.js.map +1 -0
- package/dist/services/settings.mjs +41 -0
- package/dist/services/settings.mjs.map +1 -0
- package/dist/services/shipping-carriers.d.mts +477 -0
- package/dist/services/shipping-carriers.d.ts +477 -0
- package/dist/services/shipping-carriers.js +373 -0
- package/dist/services/shipping-carriers.js.map +1 -0
- package/dist/services/shipping-carriers.mjs +372 -0
- package/dist/services/shipping-carriers.mjs.map +1 -0
- package/dist/services/shipping-methods.d.mts +754 -0
- package/dist/services/shipping-methods.d.ts +754 -0
- package/dist/services/{shipping.js → shipping-methods.js} +272 -65
- package/dist/services/shipping-methods.js.map +1 -0
- package/dist/services/{shipping.mjs → shipping-methods.mjs} +274 -67
- package/dist/services/shipping-methods.mjs.map +1 -0
- package/dist/services/shipping-value-lists.d.mts +607 -0
- package/dist/services/shipping-value-lists.d.ts +607 -0
- package/dist/services/shipping-value-lists.js +546 -0
- package/dist/services/shipping-value-lists.js.map +1 -0
- package/dist/services/shipping-value-lists.mjs +545 -0
- package/dist/services/shipping-value-lists.mjs.map +1 -0
- package/dist/services/sites.d.mts +258 -86
- package/dist/services/sites.d.ts +258 -86
- package/dist/services/sites.js +53 -53
- package/dist/services/sites.js.map +1 -1
- package/dist/services/sites.mjs +54 -54
- package/dist/services/sites.mjs.map +1 -1
- package/dist/services/storage.d.mts +723 -68
- package/dist/services/storage.d.ts +723 -68
- package/dist/services/storage.js +138 -36
- package/dist/services/storage.js.map +1 -1
- package/dist/services/storage.mjs +139 -37
- package/dist/services/storage.mjs.map +1 -1
- package/package.json +6 -3
- package/dist/enums/address-type.d.mts +0 -6
- package/dist/enums/address-type.d.ts +0 -6
- package/dist/enums/address-type.js +0 -11
- package/dist/enums/address-type.js.map +0 -1
- package/dist/enums/address-type.mjs +0 -10
- package/dist/enums/address-type.mjs.map +0 -1
- package/dist/enums/channel-type.d.mts +0 -9
- package/dist/enums/channel-type.d.ts +0 -9
- package/dist/enums/channel-type.js +0 -14
- package/dist/enums/channel-type.js.map +0 -1
- package/dist/enums/channel-type.mjs +0 -13
- package/dist/enums/channel-type.mjs.map +0 -1
- package/dist/enums/contact-role.d.mts +0 -8
- package/dist/enums/contact-role.d.ts +0 -8
- package/dist/enums/contact-role.js +0 -13
- package/dist/enums/contact-role.js.map +0 -1
- package/dist/enums/contact-role.mjs +0 -12
- package/dist/enums/contact-role.mjs.map +0 -1
- package/dist/enums/fulfillment-status.js +0 -12
- package/dist/enums/fulfillment-status.js.map +0 -1
- package/dist/enums/fulfillment-status.mjs +0 -11
- package/dist/enums/fulfillment-status.mjs.map +0 -1
- package/dist/enums/message-status.js +0 -14
- package/dist/enums/message-status.js.map +0 -1
- package/dist/enums/message-status.mjs +0 -13
- package/dist/enums/message-status.mjs.map +0 -1
- package/dist/enums/order-list-kind.d.mts +0 -6
- package/dist/enums/order-list-kind.d.ts +0 -6
- package/dist/enums/order-list-kind.js +0 -11
- package/dist/enums/order-list-kind.js.map +0 -1
- package/dist/enums/order-list-kind.mjs +0 -10
- package/dist/enums/order-list-kind.mjs.map +0 -1
- package/dist/enums/priority.d.mts +0 -6
- package/dist/enums/priority.d.ts +0 -6
- package/dist/enums/priority.js +0 -11
- package/dist/enums/priority.js.map +0 -1
- package/dist/enums/priority.mjs +0 -10
- package/dist/enums/priority.mjs.map +0 -1
- package/dist/services/greetings.d.mts +0 -173
- package/dist/services/greetings.d.ts +0 -173
- package/dist/services/greetings.js +0 -175
- package/dist/services/greetings.js.map +0 -1
- package/dist/services/greetings.mjs +0 -174
- package/dist/services/greetings.mjs.map +0 -1
- package/dist/services/inventories.d.mts +0 -511
- package/dist/services/inventories.d.ts +0 -511
- package/dist/services/inventories.js.map +0 -1
- package/dist/services/inventories.mjs.map +0 -1
- package/dist/services/payments.d.mts +0 -550
- package/dist/services/payments.d.ts +0 -550
- package/dist/services/payments.js +0 -794
- package/dist/services/payments.js.map +0 -1
- package/dist/services/payments.mjs +0 -793
- package/dist/services/payments.mjs.map +0 -1
- package/dist/services/shipping.d.mts +0 -424
- package/dist/services/shipping.d.ts +0 -424
- package/dist/services/shipping.js.map +0 -1
- package/dist/services/shipping.mjs.map +0 -1
- package/dist/services/tokens.d.mts +0 -191
- package/dist/services/tokens.d.ts +0 -191
- package/dist/services/tokens.js +0 -167
- package/dist/services/tokens.js.map +0 -1
- package/dist/services/tokens.mjs +0 -166
- package/dist/services/tokens.mjs.map +0 -1
|
@@ -1,33 +1,207 @@
|
|
|
1
1
|
import { Client } from '../client.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import '../
|
|
5
|
-
import '../enums/
|
|
2
|
+
import { ResourceType } from '../enums/resource-type.js';
|
|
3
|
+
import { Scope } from '../enums/scope.js';
|
|
4
|
+
import { Reason } from '../enums/reason.js';
|
|
5
|
+
import { MessageClass } from '../enums/message-class.js';
|
|
6
|
+
import { WhatsappCategory } from '../enums/whatsapp-category.js';
|
|
7
|
+
import '../models.js';
|
|
8
|
+
import '../enums/address-type-row-tone.js';
|
|
9
|
+
import '../enums/address-type-row-create-request-tone.js';
|
|
10
|
+
import '../enums/address-type-row-update-request-tone.js';
|
|
11
|
+
import '../enums/approval-rule-approver-type.js';
|
|
12
|
+
import '../enums/approval-rule-condition.js';
|
|
13
|
+
import '../enums/approval-rule-effect.js';
|
|
14
|
+
import '../enums/approval-rule-create-request-approver-type.js';
|
|
15
|
+
import '../enums/approval-rule-create-request-condition.js';
|
|
16
|
+
import '../enums/approval-rule-create-request-effect.js';
|
|
17
|
+
import '../enums/approval-rule-update-request-approver-type.js';
|
|
18
|
+
import '../enums/approval-rule-update-request-condition.js';
|
|
19
|
+
import '../enums/approval-rule-update-request-effect.js';
|
|
20
|
+
import '../enums/assets-source.js';
|
|
21
|
+
import '../enums/attribute-value-bucket.js';
|
|
22
|
+
import '../enums/auth-mail-source.js';
|
|
23
|
+
import '../enums/recovery-mail-source.js';
|
|
24
|
+
import '../enums/registration-status.js';
|
|
25
|
+
import '../enums/budget-change-reason.js';
|
|
26
|
+
import '../enums/budget-movement-result-status.js';
|
|
27
|
+
import '../enums/cart-status.js';
|
|
28
|
+
import '../enums/cart-merge-strategy.js';
|
|
29
|
+
import '../enums/cart-price-snapshot-mode.js';
|
|
30
|
+
import '../enums/cart-io-format.js';
|
|
6
31
|
import '../enums/cart-export-format.js';
|
|
7
32
|
import '../enums/cart-item-type.js';
|
|
33
|
+
import '../enums/cart-vocabulary-tone.js';
|
|
34
|
+
import '../enums/cart-vocabulary-name.js';
|
|
35
|
+
import '../enums/cart-vocabulary-source.js';
|
|
36
|
+
import '../enums/cart-vocabulary-ref-name.js';
|
|
37
|
+
import '../enums/categories-rule-match.js';
|
|
38
|
+
import '../enums/category-rule-operator.js';
|
|
39
|
+
import '../enums/category-rule-match.js';
|
|
8
40
|
import '../enums/channel-status.js';
|
|
9
|
-
import '../enums/channel-
|
|
10
|
-
import '../enums/
|
|
41
|
+
import '../enums/channel-unassigned-visibility.js';
|
|
42
|
+
import '../enums/channel-unresolved-reason.js';
|
|
43
|
+
import '../enums/channel-context-source.js';
|
|
44
|
+
import '../enums/channel-inactive-behavior.js';
|
|
45
|
+
import '../enums/channel-policy-source.js';
|
|
46
|
+
import '../enums/channel-policy-tenant-default.js';
|
|
47
|
+
import '../enums/channel-unassigned-policy.js';
|
|
48
|
+
import '../enums/channel-type-tone.js';
|
|
49
|
+
import '../enums/channel-visibility-reason.js';
|
|
50
|
+
import '../enums/channel-vocabulary-tone.js';
|
|
51
|
+
import '../enums/channel-vocabulary-name.js';
|
|
52
|
+
import '../enums/channel-vocabulary-source.js';
|
|
53
|
+
import '../enums/channel-vocabulary-ref-name.js';
|
|
54
|
+
import '../enums/contact-registration-status.js';
|
|
11
55
|
import '../enums/contact-status.js';
|
|
56
|
+
import '../enums/contact-activity-kind.js';
|
|
57
|
+
import '../enums/contact-create-request-registration-status.js';
|
|
58
|
+
import '../enums/contact-event-kind-tone.js';
|
|
59
|
+
import '../enums/contact-event-kind-create-request-tone.js';
|
|
60
|
+
import '../enums/contact-event-kind-update-request-tone.js';
|
|
61
|
+
import '../enums/contact-update-request-registration-status.js';
|
|
62
|
+
import '../enums/cost-center-budget-type.js';
|
|
63
|
+
import '../enums/cost-center-restriction-type.js';
|
|
64
|
+
import '../enums/cost-center-restriction-create-request-type.js';
|
|
65
|
+
import '../enums/cost-center-restriction-update-request-type.js';
|
|
66
|
+
import '../enums/payment-fee-type.js';
|
|
67
|
+
import '../enums/payment-method-kind.js';
|
|
68
|
+
import '../enums/form-status.js';
|
|
69
|
+
import '../enums/form-submission-status.js';
|
|
70
|
+
import '../enums/form-notify-source.js';
|
|
71
|
+
import '../enums/form-submission-prune-request-status.js';
|
|
72
|
+
import '../enums/forms-vocabulary-tone.js';
|
|
73
|
+
import '../enums/forms-vocabulary-name.js';
|
|
74
|
+
import '../enums/forms-vocabulary-summary-name.js';
|
|
75
|
+
import '../enums/inventory-vocabulary-default-tone.js';
|
|
76
|
+
import '../enums/inventory-vocabulary-source.js';
|
|
12
77
|
import '../enums/cart-io-apply-mode.js';
|
|
13
78
|
import '../enums/cart-io-direction.js';
|
|
14
79
|
import '../enums/cart-io-entity.js';
|
|
15
|
-
import '../enums/
|
|
80
|
+
import '../enums/io-profile-resource-apply-mode.js';
|
|
81
|
+
import '../enums/io-profile-resource-direction.js';
|
|
82
|
+
import '../enums/lifecycle-stage-tone.js';
|
|
83
|
+
import '../enums/lifecycle-stage-create-request-tone.js';
|
|
84
|
+
import '../enums/lifecycle-stage-update-request-tone.js';
|
|
16
85
|
import '../enums/location-type.js';
|
|
17
86
|
import '../enums/market-status.js';
|
|
87
|
+
import '../enums/market-default-locale-source.js';
|
|
88
|
+
import '../enums/market-locale-fallback.js';
|
|
89
|
+
import '../enums/market-locale-granularity.js';
|
|
90
|
+
import '../enums/market-pricing-source.js';
|
|
91
|
+
import '../enums/market-tax-basis.js';
|
|
92
|
+
import '../enums/market-readiness-check-id.js';
|
|
93
|
+
import '../enums/market-readiness-severity.js';
|
|
94
|
+
import '../enums/markets-vocabulary-tone.js';
|
|
95
|
+
import '../enums/markets-vocabulary-name.js';
|
|
96
|
+
import '../enums/markets-vocabulary-source.js';
|
|
97
|
+
import '../enums/markets-vocabulary-summary-name.js';
|
|
98
|
+
import '../enums/order-fulfillment-status.js';
|
|
99
|
+
import '../enums/order-payment-status.js';
|
|
100
|
+
import '../enums/order-status.js';
|
|
101
|
+
import '../enums/order-cancellation-scope.js';
|
|
18
102
|
import '../enums/order-comment-visibility.js';
|
|
19
103
|
import '../enums/order-item-type.js';
|
|
20
|
-
import '../enums/order-list-kind.js';
|
|
21
|
-
import '../enums/order-
|
|
104
|
+
import '../enums/order-list-kind-tone.js';
|
|
105
|
+
import '../enums/order-list-kind-row-tone.js';
|
|
106
|
+
import '../enums/order-list-cart-mode.js';
|
|
107
|
+
import '../enums/order-list-vocabulary-default-tone.js';
|
|
108
|
+
import '../enums/order-list-vocabulary-name.js';
|
|
109
|
+
import '../enums/order-list-vocabulary-source.js';
|
|
110
|
+
import '../enums/order-list-vocabulary-tone.js';
|
|
111
|
+
import '../enums/order-return-status.js';
|
|
112
|
+
import '../enums/order-return-settlement.js';
|
|
113
|
+
import '../enums/order-return-refusal.js';
|
|
114
|
+
import '../enums/order-vocabulary-tone.js';
|
|
115
|
+
import '../enums/order-vocabulary-name.js';
|
|
116
|
+
import '../enums/order-vocabulary-source.js';
|
|
117
|
+
import '../enums/order-vocabulary-summary-name.js';
|
|
118
|
+
import '../enums/order-resolution-stage.js';
|
|
22
119
|
import '../enums/organization-status.js';
|
|
23
120
|
import '../enums/page-status.js';
|
|
24
|
-
import '../enums/
|
|
25
|
-
import '../enums/
|
|
121
|
+
import '../enums/pages-vocabulary-app.js';
|
|
122
|
+
import '../enums/pages-vocabulary-tone.js';
|
|
123
|
+
import '../enums/pages-vocabulary-name.js';
|
|
124
|
+
import '../enums/pages-vocabulary-source.js';
|
|
125
|
+
import '../enums/pages-vocabulary-index-app.js';
|
|
126
|
+
import '../enums/payment-dunning-stage.js';
|
|
127
|
+
import '../enums/payment-failure-code.js';
|
|
128
|
+
import '../enums/payment-status.js';
|
|
129
|
+
import '../enums/payment-term-tone.js';
|
|
130
|
+
import '../enums/payment-term-create-request-tone.js';
|
|
131
|
+
import '../enums/payment-term-update-request-tone.js';
|
|
132
|
+
import '../enums/payment-vocabulary-tone.js';
|
|
133
|
+
import '../enums/pending-approval-approver-type.js';
|
|
134
|
+
import '../enums/pending-approval-status.js';
|
|
135
|
+
import '../enums/price-ending-rule.js';
|
|
136
|
+
import '../enums/price-entries-adjust-response-rounding.js';
|
|
137
|
+
import '../enums/price-entries-adjust-response-rounding-mode.js';
|
|
138
|
+
import '../enums/price-entries-bulk-mode.js';
|
|
139
|
+
import '../enums/price-rounding-mode.js';
|
|
26
140
|
import '../enums/price-entry-type.js';
|
|
27
141
|
import '../enums/price-list-status.js';
|
|
142
|
+
import '../enums/price-list-tax-basis.js';
|
|
143
|
+
import '../enums/price-currency-source.js';
|
|
144
|
+
import '../enums/price-list-tiebreak.js';
|
|
145
|
+
import '../enums/price-tax-inclusive-default.js';
|
|
146
|
+
import '../enums/price-tax-unresolved-reason.js';
|
|
147
|
+
import '../enums/price-tax-market-source.js';
|
|
148
|
+
import '../enums/price-vocabulary-tone.js';
|
|
149
|
+
import '../enums/price-vocabulary-name.js';
|
|
150
|
+
import '../enums/price-vocabulary-source.js';
|
|
151
|
+
import '../enums/price-vocabulary-ref-name.js';
|
|
152
|
+
import '../enums/product-categories-source.js';
|
|
153
|
+
import '../enums/product-grid-column-source.js';
|
|
154
|
+
import '../enums/product-label-source.js';
|
|
155
|
+
import '../enums/product-label-attribute-source.js';
|
|
156
|
+
import '../enums/products-kind.js';
|
|
157
|
+
import '../enums/purchase-request-status.js';
|
|
158
|
+
import '../enums/purchase-request-event-name.js';
|
|
159
|
+
import '../enums/purchase-request-item-type.js';
|
|
160
|
+
import '../enums/purchase-request-item-create-request-type.js';
|
|
161
|
+
import '../enums/purchase-request-item-update-request-type.js';
|
|
162
|
+
import '../enums/reorder-point-source.js';
|
|
163
|
+
import '../enums/reservation-status.js';
|
|
164
|
+
import '../enums/price-on-request-reason.js';
|
|
165
|
+
import '../enums/price-tax-basis.js';
|
|
166
|
+
import '../enums/price-tax-basis-source.js';
|
|
167
|
+
import '../enums/role-catalog-response-source.js';
|
|
168
|
+
import '../enums/segment-rule-match.js';
|
|
169
|
+
import '../enums/segment-member-source.js';
|
|
170
|
+
import '../enums/segment-rule-operator.js';
|
|
171
|
+
import '../enums/segment-rule-preview-request-rule-match.js';
|
|
172
|
+
import '../enums/segment-rule-preview-request-target.js';
|
|
173
|
+
import '../enums/segment-rule-preview-response-rule-match.js';
|
|
174
|
+
import '../enums/segment-rule-preview-response-target.js';
|
|
175
|
+
import '../enums/segment-rules-target.js';
|
|
176
|
+
import '../enums/shipping-carrier-status.js';
|
|
28
177
|
import '../enums/shipping-method-matrix-basis.js';
|
|
29
178
|
import '../enums/shipping-method-pricing-type.js';
|
|
179
|
+
import '../enums/shipping-carrier-source.js';
|
|
180
|
+
import '../enums/shipping-rate-pricing-type.js';
|
|
181
|
+
import '../enums/shipping-tax-source.js';
|
|
182
|
+
import '../enums/shipping-free-above-basis.js';
|
|
183
|
+
import '../enums/shipping-rates-basis-matrix-basis-default.js';
|
|
184
|
+
import '../enums/shipping-service-level-create-request-tone.js';
|
|
185
|
+
import '../enums/shipping-service-level-row-tone.js';
|
|
186
|
+
import '../enums/shipping-service-level-update-request-tone.js';
|
|
187
|
+
import '../enums/shipping-tax-unresolved-reason.js';
|
|
188
|
+
import '../enums/shipping-tax-market-source.js';
|
|
189
|
+
import '../enums/shipping-tax-context-via.js';
|
|
190
|
+
import '../enums/shipping-tracking-carrier-status.js';
|
|
191
|
+
import '../enums/shipping-vocabulary-default-tone.js';
|
|
192
|
+
import '../enums/shipping-vocabulary-source.js';
|
|
193
|
+
import '../enums/shipping-vocabulary-tone.js';
|
|
194
|
+
import '../enums/shipping-weight-unit-create-request-tone.js';
|
|
195
|
+
import '../enums/shipping-weight-unit-row-tone.js';
|
|
196
|
+
import '../enums/shipping-weight-unit-update-request-tone.js';
|
|
197
|
+
import '../enums/stock-movement-type.js';
|
|
30
198
|
import '../enums/store-asset-request-visibility.js';
|
|
199
|
+
import '../enums/submit-item-type.js';
|
|
200
|
+
import '../enums/submit-result-outcome.js';
|
|
201
|
+
import '../enums/validation-failed-response-status.js';
|
|
202
|
+
import '../enums/vocabulary-default-tone.js';
|
|
203
|
+
import '../enums/vocabulary-source.js';
|
|
204
|
+
import '../enums/vocabulary-tone.js';
|
|
31
205
|
import '../enums/attribute-boolean-status.js';
|
|
32
206
|
import '../enums/attribute-datetime-status.js';
|
|
33
207
|
import '../enums/attribute-email-status.js';
|
|
@@ -69,1328 +243,2238 @@ import '../enums/execution-trigger.js';
|
|
|
69
243
|
import '../enums/health-antivirus-status.js';
|
|
70
244
|
import '../enums/health-status-status.js';
|
|
71
245
|
import '../enums/index-status.js';
|
|
72
|
-
import '../enums/message-status.js';
|
|
246
|
+
import '../enums/message-2-status.js';
|
|
247
|
+
import '../query.js';
|
|
73
248
|
|
|
74
249
|
declare class Messaging {
|
|
75
250
|
client: Client;
|
|
76
251
|
constructor(client: Client);
|
|
77
252
|
/**
|
|
78
|
-
*
|
|
253
|
+
* Filterable by `resource_type`, `resource_id` and `subject` — the last one
|
|
254
|
+
* being the human-readable name a row was recorded under (a template's key,
|
|
255
|
+
* a layout's name), which is what an operator has to hand six weeks later
|
|
256
|
+
* when the id means nothing to them.
|
|
79
257
|
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
* @
|
|
84
|
-
* @
|
|
258
|
+
* There is no write route and no delete route: an append-only log with an
|
|
259
|
+
* editor is a log that says whatever the last editor wanted.
|
|
260
|
+
*
|
|
261
|
+
* @param {ResourceType} params.resourceType -
|
|
262
|
+
* @param {string} params.resourceId -
|
|
263
|
+
* @param {string} params.subject -
|
|
264
|
+
* @param {number} params.limit -
|
|
265
|
+
* @throws {RevenexxException}
|
|
266
|
+
* @returns {Promise<{}>}
|
|
85
267
|
*/
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
268
|
+
auditIndex(params?: {
|
|
269
|
+
resourceType?: ResourceType;
|
|
270
|
+
resourceId?: string;
|
|
271
|
+
subject?: string;
|
|
272
|
+
limit?: number;
|
|
273
|
+
}): Promise<{}>;
|
|
91
274
|
/**
|
|
92
|
-
*
|
|
275
|
+
* Filterable by `resource_type`, `resource_id` and `subject` — the last one
|
|
276
|
+
* being the human-readable name a row was recorded under (a template's key,
|
|
277
|
+
* a layout's name), which is what an operator has to hand six weeks later
|
|
278
|
+
* when the id means nothing to them.
|
|
279
|
+
*
|
|
280
|
+
* There is no write route and no delete route: an append-only log with an
|
|
281
|
+
* editor is a log that says whatever the last editor wanted.
|
|
93
282
|
*
|
|
94
|
-
* @param {
|
|
95
|
-
* @param {string}
|
|
96
|
-
* @param {
|
|
97
|
-
* @
|
|
98
|
-
* @
|
|
283
|
+
* @param {ResourceType} resourceType -
|
|
284
|
+
* @param {string} resourceId -
|
|
285
|
+
* @param {string} subject -
|
|
286
|
+
* @param {number} limit -
|
|
287
|
+
* @throws {RevenexxException}
|
|
288
|
+
* @returns {Promise<{}>}
|
|
99
289
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
100
290
|
*/
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
* @param {string} params.
|
|
107
|
-
* @
|
|
108
|
-
* @
|
|
109
|
-
* @param {string[]} params.bcc - Array of target IDs to be added as BCC.
|
|
110
|
-
* @param {string[]} params.cc - Array of target IDs to be added as CC.
|
|
111
|
-
* @param {boolean} params.draft - Is message a draft
|
|
112
|
-
* @param {boolean} params.html - Is content of type HTML
|
|
113
|
-
* @param {string} params.scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
114
|
-
* @param {string[]} params.targets - List of Targets IDs.
|
|
115
|
-
* @param {string[]} params.topics - List of Topic IDs.
|
|
116
|
-
* @param {string[]} params.users - List of User IDs.
|
|
117
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
118
|
-
* @returns {Promise<Models.Message>}
|
|
119
|
-
*/
|
|
120
|
-
messagingCreateEmail(params: {
|
|
121
|
-
content: string;
|
|
122
|
-
messageId: string;
|
|
123
|
-
subject: string;
|
|
124
|
-
attachments?: string[];
|
|
125
|
-
bcc?: string[];
|
|
126
|
-
cc?: string[];
|
|
127
|
-
draft?: boolean;
|
|
128
|
-
html?: boolean;
|
|
129
|
-
scheduledAt?: string;
|
|
130
|
-
targets?: string[];
|
|
131
|
-
topics?: string[];
|
|
132
|
-
users?: string[];
|
|
133
|
-
}): Promise<Models.Message>;
|
|
134
|
-
/**
|
|
135
|
-
* Create a new email message.
|
|
136
|
-
*
|
|
137
|
-
* @param {string} content - Email Content.
|
|
138
|
-
* @param {string} messageId - Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
139
|
-
* @param {string} subject - Email Subject.
|
|
140
|
-
* @param {string[]} attachments - Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.
|
|
141
|
-
* @param {string[]} bcc - Array of target IDs to be added as BCC.
|
|
142
|
-
* @param {string[]} cc - Array of target IDs to be added as CC.
|
|
143
|
-
* @param {boolean} draft - Is message a draft
|
|
144
|
-
* @param {boolean} html - Is content of type HTML
|
|
145
|
-
* @param {string} scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
146
|
-
* @param {string[]} targets - List of Targets IDs.
|
|
147
|
-
* @param {string[]} topics - List of Topic IDs.
|
|
148
|
-
* @param {string[]} users - List of User IDs.
|
|
149
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
150
|
-
* @returns {Promise<Models.Message>}
|
|
151
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
291
|
+
auditIndex(resourceType?: ResourceType, resourceId?: string, subject?: string, limit?: number): Promise<{}>;
|
|
292
|
+
/**
|
|
293
|
+
* `?event_topic=` narrows to one topic, which is the question worth asking
|
|
294
|
+
* of this list: "what does this event actually do".
|
|
295
|
+
*
|
|
296
|
+
* @param {string} params.eventTopic -
|
|
297
|
+
* @throws {RevenexxException}
|
|
298
|
+
* @returns {Promise<{}>}
|
|
152
299
|
*/
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
*
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* @param {string
|
|
161
|
-
* @
|
|
162
|
-
* @
|
|
163
|
-
* @param {boolean} params.draft - Is message a draft
|
|
164
|
-
* @param {boolean} params.html - Is content of type HTML
|
|
165
|
-
* @param {string} params.scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
166
|
-
* @param {string} params.subject - Email Subject.
|
|
167
|
-
* @param {string[]} params.targets - List of Targets IDs.
|
|
168
|
-
* @param {string[]} params.topics - List of Topic IDs.
|
|
169
|
-
* @param {string[]} params.users - List of User IDs.
|
|
170
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
171
|
-
* @returns {Promise<Models.Message>}
|
|
172
|
-
*/
|
|
173
|
-
messagingUpdateEmail(params: {
|
|
174
|
-
messageId: string;
|
|
175
|
-
attachments?: string[];
|
|
176
|
-
bcc?: string[];
|
|
177
|
-
cc?: string[];
|
|
178
|
-
content?: string;
|
|
179
|
-
draft?: boolean;
|
|
180
|
-
html?: boolean;
|
|
181
|
-
scheduledAt?: string;
|
|
182
|
-
subject?: string;
|
|
183
|
-
targets?: string[];
|
|
184
|
-
topics?: string[];
|
|
185
|
-
users?: string[];
|
|
186
|
-
}): Promise<Models.Message>;
|
|
187
|
-
/**
|
|
188
|
-
* Update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
* @param {string} messageId - Message ID.
|
|
192
|
-
* @param {string[]} attachments - Array of compound ID strings of bucket IDs and file IDs to be attached to the email. They should be formatted as <BUCKET_ID>:<FILE_ID>.
|
|
193
|
-
* @param {string[]} bcc - Array of target IDs to be added as BCC.
|
|
194
|
-
* @param {string[]} cc - Array of target IDs to be added as CC.
|
|
195
|
-
* @param {string} content - Email Content.
|
|
196
|
-
* @param {boolean} draft - Is message a draft
|
|
197
|
-
* @param {boolean} html - Is content of type HTML
|
|
198
|
-
* @param {string} scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
199
|
-
* @param {string} subject - Email Subject.
|
|
200
|
-
* @param {string[]} targets - List of Targets IDs.
|
|
201
|
-
* @param {string[]} topics - List of Topic IDs.
|
|
202
|
-
* @param {string[]} users - List of User IDs.
|
|
203
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
204
|
-
* @returns {Promise<Models.Message>}
|
|
300
|
+
bindingIndex(params?: {
|
|
301
|
+
eventTopic?: string;
|
|
302
|
+
}): Promise<{}>;
|
|
303
|
+
/**
|
|
304
|
+
* `?event_topic=` narrows to one topic, which is the question worth asking
|
|
305
|
+
* of this list: "what does this event actually do".
|
|
306
|
+
*
|
|
307
|
+
* @param {string} eventTopic -
|
|
308
|
+
* @throws {RevenexxException}
|
|
309
|
+
* @returns {Promise<{}>}
|
|
205
310
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
206
311
|
*/
|
|
207
|
-
|
|
208
|
-
/**
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* @param {
|
|
219
|
-
* @param {
|
|
220
|
-
* @param {string} params.
|
|
221
|
-
* @param {string} params.
|
|
222
|
-
* @param {
|
|
223
|
-
* @param {
|
|
224
|
-
* @param {string} params.
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
* @
|
|
229
|
-
* @
|
|
230
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
231
|
-
* @returns {Promise<Models.Message>}
|
|
232
|
-
*/
|
|
233
|
-
messagingCreatePush(params: {
|
|
234
|
-
messageId: string;
|
|
235
|
-
action?: string;
|
|
236
|
-
badge?: number;
|
|
237
|
-
body?: string;
|
|
238
|
-
color?: string;
|
|
239
|
-
contentAvailable?: boolean;
|
|
240
|
-
critical?: boolean;
|
|
241
|
-
data?: object;
|
|
242
|
-
draft?: boolean;
|
|
243
|
-
icon?: string;
|
|
244
|
-
image?: string;
|
|
245
|
-
priority?: Priority;
|
|
246
|
-
scheduledAt?: string;
|
|
247
|
-
sound?: string;
|
|
248
|
-
tag?: string;
|
|
249
|
-
targets?: string[];
|
|
250
|
-
title?: string;
|
|
251
|
-
topics?: string[];
|
|
252
|
-
users?: string[];
|
|
253
|
-
}): Promise<Models.Message>;
|
|
254
|
-
/**
|
|
255
|
-
* Create a new push notification.
|
|
256
|
-
*
|
|
257
|
-
* @param {string} messageId - Message ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
258
|
-
* @param {string} action - Action for push notification.
|
|
259
|
-
* @param {number} badge - Badge for push notification. Available only for iOS Platform.
|
|
260
|
-
* @param {string} body - Body for push notification.
|
|
261
|
-
* @param {string} color - Color for push notification. Available only for Android Platform.
|
|
262
|
-
* @param {boolean} contentAvailable - If set to true, the notification will be delivered in the background. Available only for iOS Platform.
|
|
263
|
-
* @param {boolean} critical - If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.
|
|
264
|
-
* @param {object} data - Additional key-value pair data for push notification.
|
|
265
|
-
* @param {boolean} draft - Is message a draft
|
|
266
|
-
* @param {string} icon - Icon for push notification. Available only for Android and Web Platform.
|
|
267
|
-
* @param {string} image - Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.
|
|
268
|
-
* @param {Priority} priority - Set the notification priority. "normal" will consider device state and may not deliver notifications immediately. "high" will always attempt to immediately deliver the notification.
|
|
269
|
-
* @param {string} scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
270
|
-
* @param {string} sound - Sound for push notification. Available only for Android and iOS Platform.
|
|
271
|
-
* @param {string} tag - Tag for push notification. Available only for Android Platform.
|
|
272
|
-
* @param {string[]} targets - List of Targets IDs.
|
|
273
|
-
* @param {string} title - Title for push notification.
|
|
274
|
-
* @param {string[]} topics - List of Topic IDs.
|
|
275
|
-
* @param {string[]} users - List of User IDs.
|
|
276
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
277
|
-
* @returns {Promise<Models.Message>}
|
|
278
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
312
|
+
bindingIndex(eventTopic?: string): Promise<{}>;
|
|
313
|
+
/**
|
|
314
|
+
* `recipient` is a template, not an address: `{{ customer.email }}` is
|
|
315
|
+
* rendered against the event payload when the event arrives, which is the
|
|
316
|
+
* only way one binding can serve every customer. An event that renders it
|
|
317
|
+
* empty is skipped and logged rather than sent to nobody.
|
|
318
|
+
*
|
|
319
|
+
* `locale` is what the OPERATOR said this route speaks, and it outranks the
|
|
320
|
+
* tenant's default. Leave it null when nobody has made that decision, so
|
|
321
|
+
* that the recipient's own language is still allowed to decide.
|
|
322
|
+
*
|
|
323
|
+
* @param {string} params.channel -
|
|
324
|
+
* @param {string} params.eventTopic -
|
|
325
|
+
* @param {string} params.recipient -
|
|
326
|
+
* @param {string} params.templateKey -
|
|
327
|
+
* @param {boolean} params.enabled -
|
|
328
|
+
* @param {number} params.fallbackOrder -
|
|
329
|
+
* @param {string} params.locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
330
|
+
route speaks, and it outranks the tenant's own default
|
|
331
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
332
|
+
nobody made a language decision about silently makes one.
|
|
333
|
+
* @throws {RevenexxException}
|
|
334
|
+
* @returns {Promise<{}>}
|
|
279
335
|
*/
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
*
|
|
293
|
-
*
|
|
294
|
-
*
|
|
295
|
-
*
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* @param {string}
|
|
300
|
-
* @param {string
|
|
301
|
-
* @param {string}
|
|
302
|
-
* @param {string
|
|
303
|
-
* @param {
|
|
304
|
-
* @
|
|
305
|
-
* @
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
body?: string;
|
|
312
|
-
color?: string;
|
|
313
|
-
contentAvailable?: boolean;
|
|
314
|
-
critical?: boolean;
|
|
315
|
-
data?: object;
|
|
316
|
-
draft?: boolean;
|
|
317
|
-
icon?: string;
|
|
318
|
-
image?: string;
|
|
319
|
-
priority?: Priority;
|
|
320
|
-
scheduledAt?: string;
|
|
321
|
-
sound?: string;
|
|
322
|
-
tag?: string;
|
|
323
|
-
targets?: string[];
|
|
324
|
-
title?: string;
|
|
325
|
-
topics?: string[];
|
|
326
|
-
users?: string[];
|
|
327
|
-
}): Promise<Models.Message>;
|
|
328
|
-
/**
|
|
329
|
-
* Update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
* @param {string} messageId - Message ID.
|
|
333
|
-
* @param {string} action - Action for push notification.
|
|
334
|
-
* @param {number} badge - Badge for push notification. Available only for iOS platforms.
|
|
335
|
-
* @param {string} body - Body for push notification.
|
|
336
|
-
* @param {string} color - Color for push notification. Available only for Android platforms.
|
|
337
|
-
* @param {boolean} contentAvailable - If set to true, the notification will be delivered in the background. Available only for iOS Platform.
|
|
338
|
-
* @param {boolean} critical - If set to true, the notification will be marked as critical. This requires the app to have the critical notification entitlement. Available only for iOS Platform.
|
|
339
|
-
* @param {object} data - Additional Data for push notification.
|
|
340
|
-
* @param {boolean} draft - Is message a draft
|
|
341
|
-
* @param {string} icon - Icon for push notification. Available only for Android and Web platforms.
|
|
342
|
-
* @param {string} image - Image for push notification. Must be a compound bucket ID to file ID of a jpeg, png, or bmp image in Appwrite Storage. It should be formatted as <BUCKET_ID>:<FILE_ID>.
|
|
343
|
-
* @param {Priority} priority - Set the notification priority. "normal" will consider device battery state and may send notifications later. "high" will always attempt to immediately deliver the notification.
|
|
344
|
-
* @param {string} scheduledAt - Scheduled delivery time for message in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. DateTime value must be in future.
|
|
345
|
-
* @param {string} sound - Sound for push notification. Available only for Android and iOS platforms.
|
|
346
|
-
* @param {string} tag - Tag for push notification. Available only for Android platforms.
|
|
347
|
-
* @param {string[]} targets - List of Targets IDs.
|
|
348
|
-
* @param {string} title - Title for push notification.
|
|
349
|
-
* @param {string[]} topics - List of Topic IDs.
|
|
350
|
-
* @param {string[]} users - List of User IDs.
|
|
351
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
352
|
-
* @returns {Promise<Models.Message>}
|
|
336
|
+
bindingStore(params: {
|
|
337
|
+
channel: string;
|
|
338
|
+
eventTopic: string;
|
|
339
|
+
recipient: string;
|
|
340
|
+
templateKey: string;
|
|
341
|
+
enabled?: boolean;
|
|
342
|
+
fallbackOrder?: number;
|
|
343
|
+
locale?: string;
|
|
344
|
+
}): Promise<{}>;
|
|
345
|
+
/**
|
|
346
|
+
* `recipient` is a template, not an address: `{{ customer.email }}` is
|
|
347
|
+
* rendered against the event payload when the event arrives, which is the
|
|
348
|
+
* only way one binding can serve every customer. An event that renders it
|
|
349
|
+
* empty is skipped and logged rather than sent to nobody.
|
|
350
|
+
*
|
|
351
|
+
* `locale` is what the OPERATOR said this route speaks, and it outranks the
|
|
352
|
+
* tenant's default. Leave it null when nobody has made that decision, so
|
|
353
|
+
* that the recipient's own language is still allowed to decide.
|
|
354
|
+
*
|
|
355
|
+
* @param {string} channel -
|
|
356
|
+
* @param {string} eventTopic -
|
|
357
|
+
* @param {string} recipient -
|
|
358
|
+
* @param {string} templateKey -
|
|
359
|
+
* @param {boolean} enabled -
|
|
360
|
+
* @param {number} fallbackOrder -
|
|
361
|
+
* @param {string} locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
362
|
+
route speaks, and it outranks the tenant's own default
|
|
363
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
364
|
+
nobody made a language decision about silently makes one.
|
|
365
|
+
* @throws {RevenexxException}
|
|
366
|
+
* @returns {Promise<{}>}
|
|
353
367
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
354
368
|
*/
|
|
355
|
-
|
|
369
|
+
bindingStore(channel: string, eventTopic: string, recipient: string, templateKey: string, enabled?: boolean, fallbackOrder?: number, locale?: string): Promise<{}>;
|
|
356
370
|
/**
|
|
357
|
-
*
|
|
371
|
+
* The event it answered goes back to doing nothing. Prefer `enabled: false`
|
|
372
|
+
* when the intent is to pause rather than to forget.
|
|
358
373
|
*
|
|
359
|
-
* @param {string} params.
|
|
360
|
-
* @throws {
|
|
374
|
+
* @param {string} params.id -
|
|
375
|
+
* @throws {RevenexxException}
|
|
361
376
|
* @returns {Promise<{}>}
|
|
362
377
|
*/
|
|
363
|
-
|
|
364
|
-
|
|
378
|
+
bindingDestroy(params: {
|
|
379
|
+
id: string;
|
|
365
380
|
}): Promise<{}>;
|
|
366
381
|
/**
|
|
367
|
-
*
|
|
382
|
+
* The event it answered goes back to doing nothing. Prefer `enabled: false`
|
|
383
|
+
* when the intent is to pause rather than to forget.
|
|
368
384
|
*
|
|
369
|
-
* @param {string}
|
|
370
|
-
* @throws {
|
|
385
|
+
* @param {string} id -
|
|
386
|
+
* @throws {RevenexxException}
|
|
371
387
|
* @returns {Promise<{}>}
|
|
372
388
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
373
389
|
*/
|
|
374
|
-
|
|
390
|
+
bindingDestroy(id: string): Promise<{}>;
|
|
375
391
|
/**
|
|
376
|
-
*
|
|
377
|
-
*
|
|
392
|
+
* 404 for a binding belonging to another tenant, not 403 — an id that
|
|
393
|
+
* answered differently would say whether it exists.
|
|
378
394
|
*
|
|
379
|
-
* @param {string} params.
|
|
380
|
-
* @throws {
|
|
381
|
-
* @returns {Promise<
|
|
395
|
+
* @param {string} params.id -
|
|
396
|
+
* @throws {RevenexxException}
|
|
397
|
+
* @returns {Promise<{}>}
|
|
382
398
|
*/
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
}): Promise<
|
|
399
|
+
bindingShow(params: {
|
|
400
|
+
id: string;
|
|
401
|
+
}): Promise<{}>;
|
|
386
402
|
/**
|
|
387
|
-
*
|
|
388
|
-
*
|
|
403
|
+
* 404 for a binding belonging to another tenant, not 403 — an id that
|
|
404
|
+
* answered differently would say whether it exists.
|
|
389
405
|
*
|
|
390
|
-
* @param {string}
|
|
391
|
-
* @throws {
|
|
392
|
-
* @returns {Promise<
|
|
406
|
+
* @param {string} id -
|
|
407
|
+
* @throws {RevenexxException}
|
|
408
|
+
* @returns {Promise<{}>}
|
|
393
409
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
394
410
|
*/
|
|
395
|
-
|
|
411
|
+
bindingShow(id: string): Promise<{}>;
|
|
412
|
+
/**
|
|
413
|
+
* Every field is optional; only what is sent is written. `enabled: false`
|
|
414
|
+
* is how a binding is taken out of service without losing what it said —
|
|
415
|
+
* the alternative is deleting it and typing the payload path back in
|
|
416
|
+
* correctly from memory later.
|
|
417
|
+
*
|
|
418
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
419
|
+
*
|
|
420
|
+
* @param {string} params.id -
|
|
421
|
+
* @param {string} params.channel -
|
|
422
|
+
* @param {boolean} params.enabled -
|
|
423
|
+
* @param {string} params.eventTopic -
|
|
424
|
+
* @param {number} params.fallbackOrder -
|
|
425
|
+
* @param {string} params.locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
426
|
+
route speaks, and it outranks the tenant's own default
|
|
427
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
428
|
+
nobody made a language decision about silently makes one.
|
|
429
|
+
* @param {string} params.recipient -
|
|
430
|
+
* @param {string} params.templateKey -
|
|
431
|
+
* @throws {RevenexxException}
|
|
432
|
+
* @returns {Promise<{}>}
|
|
433
|
+
*/
|
|
434
|
+
bindingUpdatePatch(params: {
|
|
435
|
+
id: string;
|
|
436
|
+
channel?: string;
|
|
437
|
+
enabled?: boolean;
|
|
438
|
+
eventTopic?: string;
|
|
439
|
+
fallbackOrder?: number;
|
|
440
|
+
locale?: string;
|
|
441
|
+
recipient?: string;
|
|
442
|
+
templateKey?: string;
|
|
443
|
+
}): Promise<{}>;
|
|
396
444
|
/**
|
|
397
|
-
*
|
|
398
|
-
*
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
*
|
|
402
|
-
*
|
|
403
|
-
*
|
|
445
|
+
* Every field is optional; only what is sent is written. `enabled: false`
|
|
446
|
+
* is how a binding is taken out of service without losing what it said —
|
|
447
|
+
* the alternative is deleting it and typing the payload path back in
|
|
448
|
+
* correctly from memory later.
|
|
449
|
+
*
|
|
450
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
451
|
+
*
|
|
452
|
+
* @param {string} id -
|
|
453
|
+
* @param {string} channel -
|
|
454
|
+
* @param {boolean} enabled -
|
|
455
|
+
* @param {string} eventTopic -
|
|
456
|
+
* @param {number} fallbackOrder -
|
|
457
|
+
* @param {string} locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
458
|
+
route speaks, and it outranks the tenant's own default
|
|
459
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
460
|
+
nobody made a language decision about silently makes one.
|
|
461
|
+
* @param {string} recipient -
|
|
462
|
+
* @param {string} templateKey -
|
|
463
|
+
* @throws {RevenexxException}
|
|
464
|
+
* @returns {Promise<{}>}
|
|
465
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
466
|
+
*/
|
|
467
|
+
bindingUpdatePatch(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<{}>;
|
|
468
|
+
/**
|
|
469
|
+
* Every field is optional; only what is sent is written. `enabled: false`
|
|
470
|
+
* is how a binding is taken out of service without losing what it said —
|
|
471
|
+
* the alternative is deleting it and typing the payload path back in
|
|
472
|
+
* correctly from memory later.
|
|
473
|
+
*
|
|
474
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
475
|
+
*
|
|
476
|
+
* @param {string} params.id -
|
|
477
|
+
* @param {string} params.channel -
|
|
478
|
+
* @param {boolean} params.enabled -
|
|
479
|
+
* @param {string} params.eventTopic -
|
|
480
|
+
* @param {number} params.fallbackOrder -
|
|
481
|
+
* @param {string} params.locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
482
|
+
route speaks, and it outranks the tenant's own default
|
|
483
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
484
|
+
nobody made a language decision about silently makes one.
|
|
485
|
+
* @param {string} params.recipient -
|
|
486
|
+
* @param {string} params.templateKey -
|
|
487
|
+
* @throws {RevenexxException}
|
|
488
|
+
* @returns {Promise<{}>}
|
|
404
489
|
*/
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
490
|
+
bindingUpdate(params: {
|
|
491
|
+
id: string;
|
|
492
|
+
channel?: string;
|
|
493
|
+
enabled?: boolean;
|
|
494
|
+
eventTopic?: string;
|
|
495
|
+
fallbackOrder?: number;
|
|
496
|
+
locale?: string;
|
|
497
|
+
recipient?: string;
|
|
498
|
+
templateKey?: string;
|
|
499
|
+
}): Promise<{}>;
|
|
410
500
|
/**
|
|
411
|
-
*
|
|
412
|
-
*
|
|
413
|
-
*
|
|
414
|
-
*
|
|
415
|
-
*
|
|
416
|
-
*
|
|
417
|
-
*
|
|
501
|
+
* Every field is optional; only what is sent is written. `enabled: false`
|
|
502
|
+
* is how a binding is taken out of service without losing what it said —
|
|
503
|
+
* the alternative is deleting it and typing the payload path back in
|
|
504
|
+
* correctly from memory later.
|
|
505
|
+
*
|
|
506
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
507
|
+
*
|
|
508
|
+
* @param {string} id -
|
|
509
|
+
* @param {string} channel -
|
|
510
|
+
* @param {boolean} enabled -
|
|
511
|
+
* @param {string} eventTopic -
|
|
512
|
+
* @param {number} fallbackOrder -
|
|
513
|
+
* @param {string} locale - Nullable: a binding's locale is what the OPERATOR said this
|
|
514
|
+
route speaks, and it outranks the tenant's own default
|
|
515
|
+
(LocaleResolver). "No opinion" has to be expressible, or a route
|
|
516
|
+
nobody made a language decision about silently makes one.
|
|
517
|
+
* @param {string} recipient -
|
|
518
|
+
* @param {string} templateKey -
|
|
519
|
+
* @throws {RevenexxException}
|
|
520
|
+
* @returns {Promise<{}>}
|
|
418
521
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
419
522
|
*/
|
|
420
|
-
|
|
523
|
+
bindingUpdate(id: string, channel?: string, enabled?: boolean, eventTopic?: string, fallbackOrder?: number, locale?: string, recipient?: string, templateKey?: string): Promise<{}>;
|
|
421
524
|
/**
|
|
422
|
-
*
|
|
525
|
+
* Answers per channel with: which fields the chosen provider wants and
|
|
526
|
+
* which of them are SET (never their values — secrets go in and do not come
|
|
527
|
+
* back), which markets hold an override, which providers this build offers,
|
|
528
|
+
* whether the deployment has the channel switched on at all, the URL to
|
|
529
|
+
* paste into the provider's own console so bounces and opens come back, and
|
|
530
|
+
* whether callbacks are actually arriving.
|
|
423
531
|
*
|
|
424
|
-
*
|
|
425
|
-
*
|
|
426
|
-
*
|
|
427
|
-
*
|
|
428
|
-
*
|
|
532
|
+
* Admin tier on the read as well as the write: the identifiers alone —
|
|
533
|
+
* which Twilio account, which sender number — are more than a read-only
|
|
534
|
+
* operator has reason to see, and the webhook URL served here contains the
|
|
535
|
+
* tenant's callback token.
|
|
536
|
+
*
|
|
537
|
+
* @param {string} params.market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
538
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
539
|
+
still uses.
|
|
540
|
+
|
|
541
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
542
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
543
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
544
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
545
|
+
they had not.
|
|
546
|
+
* @param {string} params.markets - Set to `all` to get every market's credentials in one answer: each channel gains an
|
|
547
|
+
`overrides` object keyed by market code, holding that market's own resolved view of the
|
|
548
|
+
channel — its provider, which of that provider's fields are set, its callback URL, and
|
|
549
|
+
whether callbacks are arriving. Only markets with credentials of their OWN appear; a market
|
|
550
|
+
that inherits has nothing to add.
|
|
551
|
+
|
|
552
|
+
The channel's top-level entry is the GLOBAL one whenever this is set, and `?market=` is
|
|
553
|
+
ignored: `all` is not a market to resolve against, and honouring both would leave the
|
|
554
|
+
base entry meaning something different depending on a header.
|
|
555
|
+
|
|
556
|
+
The override entries carry no `providers` catalogue, `enabled` flag or `markets` list.
|
|
557
|
+
Those are properties of the channel, identical in every market, and repeating
|
|
558
|
+
twenty-six providers' field specifications per market would be most of the response.
|
|
559
|
+
* @throws {RevenexxException}
|
|
560
|
+
* @returns {Promise<{}>}
|
|
429
561
|
*/
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
}): Promise<Models.TargetList>;
|
|
562
|
+
channelCredentialIndex(params?: {
|
|
563
|
+
market?: string;
|
|
564
|
+
markets?: string;
|
|
565
|
+
}): Promise<{}>;
|
|
435
566
|
/**
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
*
|
|
567
|
+
* Answers per channel with: which fields the chosen provider wants and
|
|
568
|
+
* which of them are SET (never their values — secrets go in and do not come
|
|
569
|
+
* back), which markets hold an override, which providers this build offers,
|
|
570
|
+
* whether the deployment has the channel switched on at all, the URL to
|
|
571
|
+
* paste into the provider's own console so bounces and opens come back, and
|
|
572
|
+
* whether callbacks are actually arriving.
|
|
573
|
+
*
|
|
574
|
+
* Admin tier on the read as well as the write: the identifiers alone —
|
|
575
|
+
* which Twilio account, which sender number — are more than a read-only
|
|
576
|
+
* operator has reason to see, and the webhook URL served here contains the
|
|
577
|
+
* tenant's callback token.
|
|
578
|
+
*
|
|
579
|
+
* @param {string} market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
580
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
581
|
+
still uses.
|
|
582
|
+
|
|
583
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
584
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
585
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
586
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
587
|
+
they had not.
|
|
588
|
+
* @param {string} markets - Set to `all` to get every market's credentials in one answer: each channel gains an
|
|
589
|
+
`overrides` object keyed by market code, holding that market's own resolved view of the
|
|
590
|
+
channel — its provider, which of that provider's fields are set, its callback URL, and
|
|
591
|
+
whether callbacks are arriving. Only markets with credentials of their OWN appear; a market
|
|
592
|
+
that inherits has nothing to add.
|
|
593
|
+
|
|
594
|
+
The channel's top-level entry is the GLOBAL one whenever this is set, and `?market=` is
|
|
595
|
+
ignored: `all` is not a market to resolve against, and honouring both would leave the
|
|
596
|
+
base entry meaning something different depending on a header.
|
|
597
|
+
|
|
598
|
+
The override entries carry no `providers` catalogue, `enabled` flag or `markets` list.
|
|
599
|
+
Those are properties of the channel, identical in every market, and repeating
|
|
600
|
+
twenty-six providers' field specifications per market would be most of the response.
|
|
601
|
+
* @throws {RevenexxException}
|
|
602
|
+
* @returns {Promise<{}>}
|
|
443
603
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
444
604
|
*/
|
|
445
|
-
|
|
605
|
+
channelCredentialIndex(market?: string, markets?: string): Promise<{}>;
|
|
446
606
|
/**
|
|
447
|
-
*
|
|
607
|
+
* With `?market=`, only that market's override goes and the global
|
|
608
|
+
* credentials stand — the market then sends over the global provider again,
|
|
609
|
+
* which is what it did before anybody configured it. Without a market the
|
|
610
|
+
* channel goes entirely, overrides and all: a caller asking for a channel
|
|
611
|
+
* to hold no credentials means all of them.
|
|
612
|
+
*
|
|
613
|
+
* 204 whether or not anything was there. The caller wants this channel to
|
|
614
|
+
* hold no credentials, and it does.
|
|
448
615
|
*
|
|
449
|
-
* @param {string
|
|
450
|
-
* @param {string} params.
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
616
|
+
* @param {string} params.channel -
|
|
617
|
+
* @param {string} params.market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
618
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
619
|
+
still uses.
|
|
620
|
+
|
|
621
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
622
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
623
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
624
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
625
|
+
they had not.
|
|
626
|
+
* @throws {RevenexxException}
|
|
627
|
+
* @returns {Promise<{}>}
|
|
454
628
|
*/
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
}): Promise<Models.ProviderList>;
|
|
629
|
+
channelCredentialDestroy(params: {
|
|
630
|
+
channel: string;
|
|
631
|
+
market?: string;
|
|
632
|
+
}): Promise<{}>;
|
|
460
633
|
/**
|
|
461
|
-
*
|
|
634
|
+
* With `?market=`, only that market's override goes and the global
|
|
635
|
+
* credentials stand — the market then sends over the global provider again,
|
|
636
|
+
* which is what it did before anybody configured it. Without a market the
|
|
637
|
+
* channel goes entirely, overrides and all: a caller asking for a channel
|
|
638
|
+
* to hold no credentials means all of them.
|
|
462
639
|
*
|
|
463
|
-
*
|
|
464
|
-
*
|
|
465
|
-
*
|
|
466
|
-
* @
|
|
467
|
-
* @
|
|
640
|
+
* 204 whether or not anything was there. The caller wants this channel to
|
|
641
|
+
* hold no credentials, and it does.
|
|
642
|
+
*
|
|
643
|
+
* @param {string} channel -
|
|
644
|
+
* @param {string} market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
645
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
646
|
+
still uses.
|
|
647
|
+
|
|
648
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
649
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
650
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
651
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
652
|
+
they had not.
|
|
653
|
+
* @throws {RevenexxException}
|
|
654
|
+
* @returns {Promise<{}>}
|
|
468
655
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
469
656
|
*/
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
*
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
*
|
|
479
|
-
*
|
|
480
|
-
*
|
|
481
|
-
*
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
* @param {string}
|
|
505
|
-
* @
|
|
506
|
-
* @
|
|
507
|
-
* @param {string} fromEmail - Sender email address.
|
|
508
|
-
* @param {string} fromName - Sender Name.
|
|
509
|
-
* @param {boolean} isEuRegion - Set as EU region.
|
|
510
|
-
* @param {string} replyToEmail - Email set in the reply to field for the mail. Default value is sender email. Reply to email must have reply to name as well.
|
|
511
|
-
* @param {string} replyToName - Name set in the reply to field for the mail. Default value is sender name. Reply to name must have reply to email as well.
|
|
512
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
513
|
-
* @returns {Promise<Models.Provider>}
|
|
514
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
657
|
+
channelCredentialDestroy(channel: string, market?: string): Promise<{}>;
|
|
658
|
+
/**
|
|
659
|
+
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
660
|
+
* body are written, and the answer says which of them actually CHANGED, so
|
|
661
|
+
* a form that resent everything it had on screen does not report a change
|
|
662
|
+
* that did not happen.
|
|
663
|
+
*
|
|
664
|
+
* Three refusals, all 422 and all deliberate rather than ignored. A field
|
|
665
|
+
* the channel's provider does not have (`unknown_credential_field`) — a
|
|
666
|
+
* typo sitting in the bag looking like configuration fails later with a
|
|
667
|
+
* message about a MISSING field the operator can see they filled in. A
|
|
668
|
+
* field the platform issues (`managed_credential`) — ignoring it would have
|
|
669
|
+
* the caller believe they set something. A channel with nothing to
|
|
670
|
+
* configure (`channel_not_configurable`), which is push: its VAPID keypair
|
|
671
|
+
* is generated at provisioning, and pasting a new one would orphan every
|
|
672
|
+
* browser registration the tenant has collected.
|
|
673
|
+
*
|
|
674
|
+
* Switching provider is `driver`, and the fields in the same request are
|
|
675
|
+
* validated against the provider being switched TO — validating Postmark's
|
|
676
|
+
* key against Mailgun's field list is how a switch loses everything the
|
|
677
|
+
* operator just typed.
|
|
678
|
+
*
|
|
679
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
680
|
+
*
|
|
681
|
+
* @param {string} params.channel -
|
|
682
|
+
* @param {string} params.market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
683
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
684
|
+
still uses.
|
|
685
|
+
|
|
686
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
687
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
688
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
689
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
690
|
+
they had not.
|
|
691
|
+
* @param {string} params.driver -
|
|
692
|
+
* @throws {RevenexxException}
|
|
693
|
+
* @returns {Promise<{}>}
|
|
515
694
|
*/
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
*
|
|
523
|
-
*
|
|
524
|
-
*
|
|
525
|
-
*
|
|
526
|
-
*
|
|
527
|
-
*
|
|
528
|
-
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
* @param {
|
|
555
|
-
* @
|
|
556
|
-
* @
|
|
557
|
-
* @param {string} replyToName - Name set in the reply to field for the mail. Default value is sender name.
|
|
558
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
559
|
-
* @returns {Promise<Models.Provider>}
|
|
695
|
+
channelCredentialUpdatePatch(params: {
|
|
696
|
+
channel: string;
|
|
697
|
+
market?: string;
|
|
698
|
+
driver?: string;
|
|
699
|
+
}): Promise<{}>;
|
|
700
|
+
/**
|
|
701
|
+
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
702
|
+
* body are written, and the answer says which of them actually CHANGED, so
|
|
703
|
+
* a form that resent everything it had on screen does not report a change
|
|
704
|
+
* that did not happen.
|
|
705
|
+
*
|
|
706
|
+
* Three refusals, all 422 and all deliberate rather than ignored. A field
|
|
707
|
+
* the channel's provider does not have (`unknown_credential_field`) — a
|
|
708
|
+
* typo sitting in the bag looking like configuration fails later with a
|
|
709
|
+
* message about a MISSING field the operator can see they filled in. A
|
|
710
|
+
* field the platform issues (`managed_credential`) — ignoring it would have
|
|
711
|
+
* the caller believe they set something. A channel with nothing to
|
|
712
|
+
* configure (`channel_not_configurable`), which is push: its VAPID keypair
|
|
713
|
+
* is generated at provisioning, and pasting a new one would orphan every
|
|
714
|
+
* browser registration the tenant has collected.
|
|
715
|
+
*
|
|
716
|
+
* Switching provider is `driver`, and the fields in the same request are
|
|
717
|
+
* validated against the provider being switched TO — validating Postmark's
|
|
718
|
+
* key against Mailgun's field list is how a switch loses everything the
|
|
719
|
+
* operator just typed.
|
|
720
|
+
*
|
|
721
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
722
|
+
*
|
|
723
|
+
* @param {string} channel -
|
|
724
|
+
* @param {string} market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
725
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
726
|
+
still uses.
|
|
727
|
+
|
|
728
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
729
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
730
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
731
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
732
|
+
they had not.
|
|
733
|
+
* @param {string} driver -
|
|
734
|
+
* @throws {RevenexxException}
|
|
735
|
+
* @returns {Promise<{}>}
|
|
560
736
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
561
737
|
*/
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
*
|
|
565
|
-
*
|
|
566
|
-
*
|
|
567
|
-
*
|
|
568
|
-
*
|
|
569
|
-
*
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
738
|
+
channelCredentialUpdatePatch(channel: string, market?: string, driver?: string): Promise<{}>;
|
|
739
|
+
/**
|
|
740
|
+
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
741
|
+
* body are written, and the answer says which of them actually CHANGED, so
|
|
742
|
+
* a form that resent everything it had on screen does not report a change
|
|
743
|
+
* that did not happen.
|
|
744
|
+
*
|
|
745
|
+
* Three refusals, all 422 and all deliberate rather than ignored. A field
|
|
746
|
+
* the channel's provider does not have (`unknown_credential_field`) — a
|
|
747
|
+
* typo sitting in the bag looking like configuration fails later with a
|
|
748
|
+
* message about a MISSING field the operator can see they filled in. A
|
|
749
|
+
* field the platform issues (`managed_credential`) — ignoring it would have
|
|
750
|
+
* the caller believe they set something. A channel with nothing to
|
|
751
|
+
* configure (`channel_not_configurable`), which is push: its VAPID keypair
|
|
752
|
+
* is generated at provisioning, and pasting a new one would orphan every
|
|
753
|
+
* browser registration the tenant has collected.
|
|
754
|
+
*
|
|
755
|
+
* Switching provider is `driver`, and the fields in the same request are
|
|
756
|
+
* validated against the provider being switched TO — validating Postmark's
|
|
757
|
+
* key against Mailgun's field list is how a switch loses everything the
|
|
758
|
+
* operator just typed.
|
|
759
|
+
*
|
|
760
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
761
|
+
*
|
|
762
|
+
* @param {string} params.channel -
|
|
763
|
+
* @param {string} params.market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
764
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
765
|
+
still uses.
|
|
766
|
+
|
|
767
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
768
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
769
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
770
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
771
|
+
they had not.
|
|
772
|
+
* @param {string} params.driver -
|
|
773
|
+
* @throws {RevenexxException}
|
|
774
|
+
* @returns {Promise<{}>}
|
|
574
775
|
*/
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
*
|
|
587
|
-
*
|
|
588
|
-
*
|
|
589
|
-
*
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
*
|
|
776
|
+
channelCredentialUpdate(params: {
|
|
777
|
+
channel: string;
|
|
778
|
+
market?: string;
|
|
779
|
+
driver?: string;
|
|
780
|
+
}): Promise<{}>;
|
|
781
|
+
/**
|
|
782
|
+
* A PATCH in spirit whichever verb is used: only the fields present in the
|
|
783
|
+
* body are written, and the answer says which of them actually CHANGED, so
|
|
784
|
+
* a form that resent everything it had on screen does not report a change
|
|
785
|
+
* that did not happen.
|
|
786
|
+
*
|
|
787
|
+
* Three refusals, all 422 and all deliberate rather than ignored. A field
|
|
788
|
+
* the channel's provider does not have (`unknown_credential_field`) — a
|
|
789
|
+
* typo sitting in the bag looking like configuration fails later with a
|
|
790
|
+
* message about a MISSING field the operator can see they filled in. A
|
|
791
|
+
* field the platform issues (`managed_credential`) — ignoring it would have
|
|
792
|
+
* the caller believe they set something. A channel with nothing to
|
|
793
|
+
* configure (`channel_not_configurable`), which is push: its VAPID keypair
|
|
794
|
+
* is generated at provisioning, and pasting a new one would orphan every
|
|
795
|
+
* browser registration the tenant has collected.
|
|
796
|
+
*
|
|
797
|
+
* Switching provider is `driver`, and the fields in the same request are
|
|
798
|
+
* validated against the provider being switched TO — validating Postmark's
|
|
799
|
+
* key against Mailgun's field list is how a switch loses everything the
|
|
800
|
+
* operator just typed.
|
|
801
|
+
*
|
|
802
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
803
|
+
*
|
|
804
|
+
* @param {string} channel -
|
|
805
|
+
* @param {string} market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
806
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
807
|
+
still uses.
|
|
808
|
+
|
|
809
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
810
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
811
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
812
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
813
|
+
they had not.
|
|
814
|
+
* @param {string} driver -
|
|
815
|
+
* @throws {RevenexxException}
|
|
816
|
+
* @returns {Promise<{}>}
|
|
594
817
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
595
818
|
*/
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
*
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
*
|
|
602
|
-
*
|
|
603
|
-
*
|
|
604
|
-
*
|
|
605
|
-
*
|
|
606
|
-
*
|
|
607
|
-
*
|
|
819
|
+
channelCredentialUpdate(channel: string, market?: string, driver?: string): Promise<{}>;
|
|
820
|
+
/**
|
|
821
|
+
* The one thing that turns this screen from a form into a tool. Credentials
|
|
822
|
+
* that only fail at send time cost a customer their first order
|
|
823
|
+
* confirmation, and by then nobody connects the failure to the afternoon
|
|
824
|
+
* somebody pasted a key with a trailing space.
|
|
825
|
+
*
|
|
826
|
+
* **Always 200.** The answer is `{ok, message}` in the body, including when
|
|
827
|
+
* the credentials are wrong: the REQUEST was fine, the credentials are not,
|
|
828
|
+
* and a 4xx here would have the cockpit's own error handling swallow the
|
|
829
|
+
* one sentence worth reading. A channel that asks for no credentials at all
|
|
830
|
+
* (push, in-app) answers `ok: true` — "nothing to verify" is a finished
|
|
831
|
+
* check, not a failed one, and reporting it as an error painted a channel
|
|
832
|
+
* that has worked since provisioning in the same red as a wrong token.
|
|
833
|
+
*
|
|
834
|
+
* @param {string} params.channel -
|
|
835
|
+
* @param {string} params.market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
836
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
837
|
+
still uses.
|
|
838
|
+
|
|
839
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
840
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
841
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
842
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
843
|
+
they had not.
|
|
844
|
+
* @throws {RevenexxException}
|
|
845
|
+
* @returns {Promise<{}>}
|
|
608
846
|
*/
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
*
|
|
619
|
-
*
|
|
620
|
-
*
|
|
621
|
-
*
|
|
622
|
-
*
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
627
|
-
* @
|
|
847
|
+
channelCredentialVerify(params: {
|
|
848
|
+
channel: string;
|
|
849
|
+
market?: string;
|
|
850
|
+
}): Promise<{}>;
|
|
851
|
+
/**
|
|
852
|
+
* The one thing that turns this screen from a form into a tool. Credentials
|
|
853
|
+
* that only fail at send time cost a customer their first order
|
|
854
|
+
* confirmation, and by then nobody connects the failure to the afternoon
|
|
855
|
+
* somebody pasted a key with a trailing space.
|
|
856
|
+
*
|
|
857
|
+
* **Always 200.** The answer is `{ok, message}` in the body, including when
|
|
858
|
+
* the credentials are wrong: the REQUEST was fine, the credentials are not,
|
|
859
|
+
* and a 4xx here would have the cockpit's own error handling swallow the
|
|
860
|
+
* one sentence worth reading. A channel that asks for no credentials at all
|
|
861
|
+
* (push, in-app) answers `ok: true` — "nothing to verify" is a finished
|
|
862
|
+
* check, not a failed one, and reporting it as an error painted a channel
|
|
863
|
+
* that has worked since provisioning in the same red as a wrong token.
|
|
864
|
+
*
|
|
865
|
+
* @param {string} channel -
|
|
866
|
+
* @param {string} market - Which market's credentials this call is about. Absent means the GLOBAL bag — what every
|
|
867
|
+
send used before markets reached this path, and what a market with no override of its own
|
|
868
|
+
still uses.
|
|
869
|
+
|
|
870
|
+
Lowercase, opening with a letter, 63 characters at most (Baseline's market slug rule,
|
|
871
|
+
mirrored exactly). A code that does not match is refused with 422 rather than read as
|
|
872
|
+
"no market": on the write paths, silently falling back to global would have an operator
|
|
873
|
+
point every market's traffic at one market's provider while looking at a screen that said
|
|
874
|
+
they had not.
|
|
875
|
+
* @throws {RevenexxException}
|
|
876
|
+
* @returns {Promise<{}>}
|
|
628
877
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
629
878
|
*/
|
|
630
|
-
|
|
631
|
-
/**
|
|
632
|
-
*
|
|
633
|
-
*
|
|
634
|
-
*
|
|
635
|
-
*
|
|
636
|
-
*
|
|
637
|
-
*
|
|
638
|
-
* @
|
|
639
|
-
* @
|
|
640
|
-
* @param {string} params.replyToEmail - Email set in the reply to field for the mail. Default value is sender email.
|
|
641
|
-
* @param {string} params.replyToName - Name set in the reply to field for the mail. Default value is sender name.
|
|
642
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
643
|
-
* @returns {Promise<Models.Provider>}
|
|
644
|
-
*/
|
|
645
|
-
messagingCreateResendProvider(params: {
|
|
646
|
-
name: string;
|
|
647
|
-
providerId: string;
|
|
648
|
-
apiKey?: string;
|
|
649
|
-
enabled?: boolean;
|
|
650
|
-
fromEmail?: string;
|
|
651
|
-
fromName?: string;
|
|
652
|
-
replyToEmail?: string;
|
|
653
|
-
replyToName?: string;
|
|
654
|
-
}): Promise<Models.Provider>;
|
|
655
|
-
/**
|
|
656
|
-
* Create a new Resend provider.
|
|
657
|
-
*
|
|
658
|
-
* @param {string} name - Provider name.
|
|
659
|
-
* @param {string} providerId - Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
660
|
-
* @param {string} apiKey - Resend API key.
|
|
661
|
-
* @param {boolean} enabled - Set as enabled.
|
|
662
|
-
* @param {string} fromEmail - Sender email address.
|
|
663
|
-
* @param {string} fromName - Sender Name.
|
|
664
|
-
* @param {string} replyToEmail - Email set in the reply to field for the mail. Default value is sender email.
|
|
665
|
-
* @param {string} replyToName - Name set in the reply to field for the mail. Default value is sender name.
|
|
666
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
667
|
-
* @returns {Promise<Models.Provider>}
|
|
668
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
879
|
+
channelCredentialVerify(channel: string, market?: string): Promise<{}>;
|
|
880
|
+
/**
|
|
881
|
+
* Each entry says whether the channel is switched on and which provider
|
|
882
|
+
* carries it by default. A channel that is off will refuse a send, so a UI
|
|
883
|
+
* that offers a channel picker should build it from this rather than from a
|
|
884
|
+
* list of its own — a channel added to the service then appears without a
|
|
885
|
+
* release of the client.
|
|
886
|
+
*
|
|
887
|
+
* @throws {RevenexxException}
|
|
888
|
+
* @returns {Promise<{}>}
|
|
669
889
|
*/
|
|
670
|
-
|
|
890
|
+
channelIndex(): Promise<{}>;
|
|
671
891
|
/**
|
|
672
|
-
*
|
|
892
|
+
* A tenant that was never provisioned has no row and still gets an answer:
|
|
893
|
+
* an empty shape rather than a 404, so the Cockpit's panels open on
|
|
894
|
+
* editable blanks instead of an error.
|
|
895
|
+
*
|
|
896
|
+
* `meta.push_public_key` is the VAPID public key, and only the public one.
|
|
897
|
+
* A storefront cannot call `PushManager.subscribe()` without it, so it has
|
|
898
|
+
* to leave the service; the private half and every provider secret stay
|
|
899
|
+
* hidden on the model, where they are protected on every route rather than
|
|
900
|
+
* on this one.
|
|
673
901
|
*
|
|
674
|
-
* @
|
|
675
|
-
* @
|
|
676
|
-
* @param {boolean} params.enabled - Set as enabled.
|
|
677
|
-
* @param {string} params.fromEmail - Sender email address.
|
|
678
|
-
* @param {string} params.fromName - Sender Name.
|
|
679
|
-
* @param {string} params.name - Provider name.
|
|
680
|
-
* @param {string} params.replyToEmail - Email set in the Reply To field for the mail. Default value is Sender Email.
|
|
681
|
-
* @param {string} params.replyToName - Name set in the Reply To field for the mail. Default value is Sender Name.
|
|
682
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
683
|
-
* @returns {Promise<Models.Provider>}
|
|
902
|
+
* @throws {RevenexxException}
|
|
903
|
+
* @returns {Promise<{}>}
|
|
684
904
|
*/
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
*
|
|
697
|
-
*
|
|
698
|
-
*
|
|
699
|
-
*
|
|
700
|
-
*
|
|
701
|
-
*
|
|
702
|
-
*
|
|
703
|
-
*
|
|
704
|
-
*
|
|
705
|
-
* @param {string}
|
|
706
|
-
|
|
707
|
-
|
|
905
|
+
configShow(): Promise<{}>;
|
|
906
|
+
/**
|
|
907
|
+
* Reaches every message this tenant sends, including templates saved months
|
|
908
|
+
* ago — content placeholders resolve at send time, not at save time — which
|
|
909
|
+
* is why writing is admin tier while reading is not.
|
|
910
|
+
*
|
|
911
|
+
* Two refusals worth knowing about. `defaults.brand` is 422, not ignored:
|
|
912
|
+
* the letterhead moved to /v1/layouts when a tenant gained more than one of
|
|
913
|
+
* them, and a letterhead edit that appears to save and changes nothing is
|
|
914
|
+
* the worst of the three possible behaviours. A half-written `quiet_hours`
|
|
915
|
+
* is 422 as well — a tenant that typed a start and forgot the end has an
|
|
916
|
+
* opinion about when not to message people, and silently sending through
|
|
917
|
+
* the night is the one answer that is definitely wrong.
|
|
918
|
+
*
|
|
919
|
+
* Provider credentials cannot be written here. That path is
|
|
920
|
+
* /v1/channel-credentials, so the one route that handles secrets stays the
|
|
921
|
+
* one that was built for it.
|
|
922
|
+
*
|
|
923
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
924
|
+
*
|
|
925
|
+
* @param {string} params.defaultLocale - The house language — step 4 of the send path's resolution order,
|
|
926
|
+
reached only when neither the caller, the event payload nor the
|
|
927
|
+
binding said anything. A column of its own and not a key in
|
|
928
|
+
`defaults` below, because everything in that bag is merged into
|
|
929
|
+
the render model: a `locale` key there would start filling
|
|
930
|
+
`{{ locale }}` inside template bodies, which is a routing
|
|
931
|
+
decision leaking into content.
|
|
932
|
+
* @param {string[]} params.defaults - The saved modules live in here. The shape is the Cockpit's
|
|
933
|
+
contract and is not pinned down further: adding a block type
|
|
934
|
+
would otherwise be a service deploy. The one key that IS pinned
|
|
935
|
+
down is `brand`, because it moved out — and it is refused with a
|
|
936
|
+
closure rather than a `defaults.brand` rule, since a nested rule
|
|
937
|
+
makes the validator drop the parent and quietly discard every
|
|
938
|
+
other key in the bag along with it.
|
|
939
|
+
* @param {string} params.product -
|
|
940
|
+
* @param {string[]} params.quietHours -
|
|
941
|
+
* @param {string} params.supportEmail -
|
|
942
|
+
* @throws {RevenexxException}
|
|
943
|
+
* @returns {Promise<{}>}
|
|
944
|
+
*/
|
|
945
|
+
configUpdatePatch(params?: {
|
|
946
|
+
defaultLocale?: string;
|
|
947
|
+
defaults?: string[];
|
|
948
|
+
product?: string;
|
|
949
|
+
quietHours?: string[];
|
|
950
|
+
supportEmail?: string;
|
|
951
|
+
}): Promise<{}>;
|
|
952
|
+
/**
|
|
953
|
+
* Reaches every message this tenant sends, including templates saved months
|
|
954
|
+
* ago — content placeholders resolve at send time, not at save time — which
|
|
955
|
+
* is why writing is admin tier while reading is not.
|
|
956
|
+
*
|
|
957
|
+
* Two refusals worth knowing about. `defaults.brand` is 422, not ignored:
|
|
958
|
+
* the letterhead moved to /v1/layouts when a tenant gained more than one of
|
|
959
|
+
* them, and a letterhead edit that appears to save and changes nothing is
|
|
960
|
+
* the worst of the three possible behaviours. A half-written `quiet_hours`
|
|
961
|
+
* is 422 as well — a tenant that typed a start and forgot the end has an
|
|
962
|
+
* opinion about when not to message people, and silently sending through
|
|
963
|
+
* the night is the one answer that is definitely wrong.
|
|
964
|
+
*
|
|
965
|
+
* Provider credentials cannot be written here. That path is
|
|
966
|
+
* /v1/channel-credentials, so the one route that handles secrets stays the
|
|
967
|
+
* one that was built for it.
|
|
968
|
+
*
|
|
969
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
970
|
+
*
|
|
971
|
+
* @param {string} defaultLocale - The house language — step 4 of the send path's resolution order,
|
|
972
|
+
reached only when neither the caller, the event payload nor the
|
|
973
|
+
binding said anything. A column of its own and not a key in
|
|
974
|
+
`defaults` below, because everything in that bag is merged into
|
|
975
|
+
the render model: a `locale` key there would start filling
|
|
976
|
+
`{{ locale }}` inside template bodies, which is a routing
|
|
977
|
+
decision leaking into content.
|
|
978
|
+
* @param {string[]} defaults - The saved modules live in here. The shape is the Cockpit's
|
|
979
|
+
contract and is not pinned down further: adding a block type
|
|
980
|
+
would otherwise be a service deploy. The one key that IS pinned
|
|
981
|
+
down is `brand`, because it moved out — and it is refused with a
|
|
982
|
+
closure rather than a `defaults.brand` rule, since a nested rule
|
|
983
|
+
makes the validator drop the parent and quietly discard every
|
|
984
|
+
other key in the bag along with it.
|
|
985
|
+
* @param {string} product -
|
|
986
|
+
* @param {string[]} quietHours -
|
|
987
|
+
* @param {string} supportEmail -
|
|
988
|
+
* @throws {RevenexxException}
|
|
989
|
+
* @returns {Promise<{}>}
|
|
708
990
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
709
991
|
*/
|
|
710
|
-
|
|
711
|
-
/**
|
|
712
|
-
*
|
|
713
|
-
*
|
|
714
|
-
*
|
|
715
|
-
*
|
|
716
|
-
*
|
|
717
|
-
*
|
|
718
|
-
*
|
|
719
|
-
*
|
|
720
|
-
*
|
|
721
|
-
*
|
|
722
|
-
*
|
|
723
|
-
*
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
*
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
* @param {string}
|
|
745
|
-
* @param {string}
|
|
746
|
-
* @
|
|
747
|
-
* @
|
|
992
|
+
configUpdatePatch(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<{}>;
|
|
993
|
+
/**
|
|
994
|
+
* Reaches every message this tenant sends, including templates saved months
|
|
995
|
+
* ago — content placeholders resolve at send time, not at save time — which
|
|
996
|
+
* is why writing is admin tier while reading is not.
|
|
997
|
+
*
|
|
998
|
+
* Two refusals worth knowing about. `defaults.brand` is 422, not ignored:
|
|
999
|
+
* the letterhead moved to /v1/layouts when a tenant gained more than one of
|
|
1000
|
+
* them, and a letterhead edit that appears to save and changes nothing is
|
|
1001
|
+
* the worst of the three possible behaviours. A half-written `quiet_hours`
|
|
1002
|
+
* is 422 as well — a tenant that typed a start and forgot the end has an
|
|
1003
|
+
* opinion about when not to message people, and silently sending through
|
|
1004
|
+
* the night is the one answer that is definitely wrong.
|
|
1005
|
+
*
|
|
1006
|
+
* Provider credentials cannot be written here. That path is
|
|
1007
|
+
* /v1/channel-credentials, so the one route that handles secrets stays the
|
|
1008
|
+
* one that was built for it.
|
|
1009
|
+
*
|
|
1010
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
1011
|
+
*
|
|
1012
|
+
* @param {string} params.defaultLocale - The house language — step 4 of the send path's resolution order,
|
|
1013
|
+
reached only when neither the caller, the event payload nor the
|
|
1014
|
+
binding said anything. A column of its own and not a key in
|
|
1015
|
+
`defaults` below, because everything in that bag is merged into
|
|
1016
|
+
the render model: a `locale` key there would start filling
|
|
1017
|
+
`{{ locale }}` inside template bodies, which is a routing
|
|
1018
|
+
decision leaking into content.
|
|
1019
|
+
* @param {string[]} params.defaults - The saved modules live in here. The shape is the Cockpit's
|
|
1020
|
+
contract and is not pinned down further: adding a block type
|
|
1021
|
+
would otherwise be a service deploy. The one key that IS pinned
|
|
1022
|
+
down is `brand`, because it moved out — and it is refused with a
|
|
1023
|
+
closure rather than a `defaults.brand` rule, since a nested rule
|
|
1024
|
+
makes the validator drop the parent and quietly discard every
|
|
1025
|
+
other key in the bag along with it.
|
|
1026
|
+
* @param {string} params.product -
|
|
1027
|
+
* @param {string[]} params.quietHours -
|
|
1028
|
+
* @param {string} params.supportEmail -
|
|
1029
|
+
* @throws {RevenexxException}
|
|
1030
|
+
* @returns {Promise<{}>}
|
|
1031
|
+
*/
|
|
1032
|
+
configUpdate(params?: {
|
|
1033
|
+
defaultLocale?: string;
|
|
1034
|
+
defaults?: string[];
|
|
1035
|
+
product?: string;
|
|
1036
|
+
quietHours?: string[];
|
|
1037
|
+
supportEmail?: string;
|
|
1038
|
+
}): Promise<{}>;
|
|
1039
|
+
/**
|
|
1040
|
+
* Reaches every message this tenant sends, including templates saved months
|
|
1041
|
+
* ago — content placeholders resolve at send time, not at save time — which
|
|
1042
|
+
* is why writing is admin tier while reading is not.
|
|
1043
|
+
*
|
|
1044
|
+
* Two refusals worth knowing about. `defaults.brand` is 422, not ignored:
|
|
1045
|
+
* the letterhead moved to /v1/layouts when a tenant gained more than one of
|
|
1046
|
+
* them, and a letterhead edit that appears to save and changes nothing is
|
|
1047
|
+
* the worst of the three possible behaviours. A half-written `quiet_hours`
|
|
1048
|
+
* is 422 as well — a tenant that typed a start and forgot the end has an
|
|
1049
|
+
* opinion about when not to message people, and silently sending through
|
|
1050
|
+
* the night is the one answer that is definitely wrong.
|
|
1051
|
+
*
|
|
1052
|
+
* Provider credentials cannot be written here. That path is
|
|
1053
|
+
* /v1/channel-credentials, so the one route that handles secrets stays the
|
|
1054
|
+
* one that was built for it.
|
|
1055
|
+
*
|
|
1056
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
1057
|
+
*
|
|
1058
|
+
* @param {string} defaultLocale - The house language — step 4 of the send path's resolution order,
|
|
1059
|
+
reached only when neither the caller, the event payload nor the
|
|
1060
|
+
binding said anything. A column of its own and not a key in
|
|
1061
|
+
`defaults` below, because everything in that bag is merged into
|
|
1062
|
+
the render model: a `locale` key there would start filling
|
|
1063
|
+
`{{ locale }}` inside template bodies, which is a routing
|
|
1064
|
+
decision leaking into content.
|
|
1065
|
+
* @param {string[]} defaults - The saved modules live in here. The shape is the Cockpit's
|
|
1066
|
+
contract and is not pinned down further: adding a block type
|
|
1067
|
+
would otherwise be a service deploy. The one key that IS pinned
|
|
1068
|
+
down is `brand`, because it moved out — and it is refused with a
|
|
1069
|
+
closure rather than a `defaults.brand` rule, since a nested rule
|
|
1070
|
+
makes the validator drop the parent and quietly discard every
|
|
1071
|
+
other key in the bag along with it.
|
|
1072
|
+
* @param {string} product -
|
|
1073
|
+
* @param {string[]} quietHours -
|
|
1074
|
+
* @param {string} supportEmail -
|
|
1075
|
+
* @throws {RevenexxException}
|
|
1076
|
+
* @returns {Promise<{}>}
|
|
748
1077
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
749
1078
|
*/
|
|
750
|
-
|
|
1079
|
+
configUpdate(defaultLocale?: string, defaults?: string[], product?: string, quietHours?: string[], supportEmail?: string): Promise<{}>;
|
|
751
1080
|
/**
|
|
752
|
-
*
|
|
1081
|
+
* The order is the list's purpose: it is a picker, and the entry most
|
|
1082
|
+
* templates are actually on belongs at the top of it.
|
|
1083
|
+
*
|
|
1084
|
+
* Market-scoped as a browsing filter — see the parameters. `GET /layouts/{id}`
|
|
1085
|
+
* deliberately is not: somebody holding an id may read it.
|
|
753
1086
|
*
|
|
754
|
-
* @param {string} params.
|
|
755
|
-
* @
|
|
756
|
-
* @
|
|
757
|
-
* @param {string} params.fromEmail - Sender email address.
|
|
758
|
-
* @param {string} params.fromName - Sender Name.
|
|
759
|
-
* @param {string} params.name - Provider name.
|
|
760
|
-
* @param {string} params.replyToEmail - Email set in the Reply To field for the mail. Default value is Sender Email.
|
|
761
|
-
* @param {string} params.replyToName - Name set in the Reply To field for the mail. Default value is Sender Name.
|
|
762
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
763
|
-
* @returns {Promise<Models.Provider>}
|
|
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.
|
|
1088
|
+
* @throws {RevenexxException}
|
|
1089
|
+
* @returns {Promise<{}>}
|
|
764
1090
|
*/
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
*
|
|
777
|
-
*
|
|
778
|
-
* @param {string} providerId - Provider ID.
|
|
779
|
-
* @param {string} apiKey - Sendgrid API key.
|
|
780
|
-
* @param {boolean} enabled - Set as enabled.
|
|
781
|
-
* @param {string} fromEmail - Sender email address.
|
|
782
|
-
* @param {string} fromName - Sender Name.
|
|
783
|
-
* @param {string} name - Provider name.
|
|
784
|
-
* @param {string} replyToEmail - Email set in the Reply To field for the mail. Default value is Sender Email.
|
|
785
|
-
* @param {string} replyToName - Name set in the Reply To field for the mail. Default value is Sender Name.
|
|
786
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
787
|
-
* @returns {Promise<Models.Provider>}
|
|
1091
|
+
layoutIndex(params?: {
|
|
1092
|
+
markets?: string;
|
|
1093
|
+
}): Promise<{}>;
|
|
1094
|
+
/**
|
|
1095
|
+
* The order is the list's purpose: it is a picker, and the entry most
|
|
1096
|
+
* templates are actually on belongs at the top of it.
|
|
1097
|
+
*
|
|
1098
|
+
* Market-scoped as a browsing filter — see the parameters. `GET /layouts/{id}`
|
|
1099
|
+
* deliberately is not: somebody holding an id may read it.
|
|
1100
|
+
*
|
|
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.
|
|
1102
|
+
* @throws {RevenexxException}
|
|
1103
|
+
* @returns {Promise<{}>}
|
|
788
1104
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
789
1105
|
*/
|
|
790
|
-
|
|
1106
|
+
layoutIndex(markets?: string): Promise<{}>;
|
|
791
1107
|
/**
|
|
792
|
-
*
|
|
1108
|
+
* A tenant's FIRST layout becomes the default whatever the request says: a
|
|
1109
|
+
* tenant with no default cannot compile a template that does not name one.
|
|
793
1110
|
*
|
|
794
|
-
*
|
|
795
|
-
*
|
|
796
|
-
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
*
|
|
800
|
-
*
|
|
801
|
-
* @
|
|
802
|
-
|
|
803
|
-
messagingCreateTelesignProvider(params: {
|
|
804
|
-
name: string;
|
|
805
|
-
providerId: string;
|
|
806
|
-
apiKey?: string;
|
|
807
|
-
customerId?: string;
|
|
808
|
-
enabled?: boolean;
|
|
809
|
-
from?: string;
|
|
810
|
-
}): Promise<Models.Provider>;
|
|
811
|
-
/**
|
|
812
|
-
* Create a new Telesign provider.
|
|
813
|
-
*
|
|
814
|
-
* @param {string} name - Provider name.
|
|
815
|
-
* @param {string} providerId - Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
816
|
-
* @param {string} apiKey - Telesign API key.
|
|
817
|
-
* @param {string} customerId - Telesign customer ID.
|
|
818
|
-
* @param {boolean} enabled - Set as enabled.
|
|
819
|
-
* @param {string} from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
820
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
821
|
-
* @returns {Promise<Models.Provider>}
|
|
822
|
-
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1111
|
+
* The default may hold neither a validity window nor `enabled: false`, and
|
|
1112
|
+
* asking for both in one request is refused with 422
|
|
1113
|
+
* `layout_default_always_in_force`. There is no fallback behind the default
|
|
1114
|
+
* — every template that names no layout is framed by it — so a window set
|
|
1115
|
+
* today would take a tenant's whole letterhead away on a morning months
|
|
1116
|
+
* from now, with nobody left who remembers typing the date.
|
|
1117
|
+
*
|
|
1118
|
+
* @throws {RevenexxException}
|
|
1119
|
+
* @returns {Promise<{}>}
|
|
823
1120
|
*/
|
|
824
|
-
|
|
1121
|
+
layoutStore(): Promise<{}>;
|
|
825
1122
|
/**
|
|
826
|
-
*
|
|
1123
|
+
* Answers 200 with a body rather than the 204 the other resources use: the
|
|
1124
|
+
* count of reassigned templates is the part an operator needs, and a
|
|
1125
|
+
* deletion that silently moved eleven templates onto another letterhead is
|
|
1126
|
+
* one they would only discover from the next mail that went out.
|
|
827
1127
|
*
|
|
828
|
-
* @param {string} params.
|
|
829
|
-
* @
|
|
830
|
-
* @
|
|
831
|
-
* @param {boolean} params.enabled - Set as enabled.
|
|
832
|
-
* @param {string} params.from - Sender number.
|
|
833
|
-
* @param {string} params.name - Provider name.
|
|
834
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
835
|
-
* @returns {Promise<Models.Provider>}
|
|
1128
|
+
* @param {string} params.id -
|
|
1129
|
+
* @throws {RevenexxException}
|
|
1130
|
+
* @returns {Promise<{}>}
|
|
836
1131
|
*/
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
*
|
|
847
|
-
*
|
|
848
|
-
* @
|
|
849
|
-
* @param {string} apiKey - Telesign API key.
|
|
850
|
-
* @param {string} customerId - Telesign customer ID.
|
|
851
|
-
* @param {boolean} enabled - Set as enabled.
|
|
852
|
-
* @param {string} from - Sender number.
|
|
853
|
-
* @param {string} name - Provider name.
|
|
854
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
855
|
-
* @returns {Promise<Models.Provider>}
|
|
1132
|
+
layoutDestroy(params: {
|
|
1133
|
+
id: string;
|
|
1134
|
+
}): Promise<{}>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Answers 200 with a body rather than the 204 the other resources use: the
|
|
1137
|
+
* count of reassigned templates is the part an operator needs, and a
|
|
1138
|
+
* deletion that silently moved eleven templates onto another letterhead is
|
|
1139
|
+
* one they would only discover from the next mail that went out.
|
|
1140
|
+
*
|
|
1141
|
+
* @param {string} id -
|
|
1142
|
+
* @throws {RevenexxException}
|
|
1143
|
+
* @returns {Promise<{}>}
|
|
856
1144
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
857
1145
|
*/
|
|
858
|
-
|
|
1146
|
+
layoutDestroy(id: string): Promise<{}>;
|
|
859
1147
|
/**
|
|
860
|
-
*
|
|
1148
|
+
* Not market-filtered, deliberately: market scoping is a browsing concern,
|
|
1149
|
+
* and somebody holding an id may read the row. A template pinned to a
|
|
1150
|
+
* layout keeps mailing on it whatever market the reader is looking at.
|
|
861
1151
|
*
|
|
862
|
-
* @param {string} params.
|
|
863
|
-
* @
|
|
864
|
-
* @
|
|
865
|
-
* @param {boolean} params.enabled - Set as enabled.
|
|
866
|
-
* @param {string} params.from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
867
|
-
* @param {string} params.username - Textmagic username.
|
|
868
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
869
|
-
* @returns {Promise<Models.Provider>}
|
|
1152
|
+
* @param {string} params.id -
|
|
1153
|
+
* @throws {RevenexxException}
|
|
1154
|
+
* @returns {Promise<{}>}
|
|
870
1155
|
*/
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
* @param {string} name - Provider name.
|
|
883
|
-
* @param {string} providerId - Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
884
|
-
* @param {string} apiKey - Textmagic apiKey.
|
|
885
|
-
* @param {boolean} enabled - Set as enabled.
|
|
886
|
-
* @param {string} from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
887
|
-
* @param {string} username - Textmagic username.
|
|
888
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
889
|
-
* @returns {Promise<Models.Provider>}
|
|
1156
|
+
layoutShow(params: {
|
|
1157
|
+
id: string;
|
|
1158
|
+
}): Promise<{}>;
|
|
1159
|
+
/**
|
|
1160
|
+
* Not market-filtered, deliberately: market scoping is a browsing concern,
|
|
1161
|
+
* and somebody holding an id may read the row. A template pinned to a
|
|
1162
|
+
* layout keeps mailing on it whatever market the reader is looking at.
|
|
1163
|
+
*
|
|
1164
|
+
* @param {string} id -
|
|
1165
|
+
* @throws {RevenexxException}
|
|
1166
|
+
* @returns {Promise<{}>}
|
|
890
1167
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
891
1168
|
*/
|
|
892
|
-
|
|
1169
|
+
layoutShow(id: string): Promise<{}>;
|
|
893
1170
|
/**
|
|
894
|
-
*
|
|
1171
|
+
* The change reaches every template on this layout, including ones saved
|
|
1172
|
+
* months ago and never opened since — which is exactly the change nobody
|
|
1173
|
+
* remembers making when the mails start looking wrong. It is audited for
|
|
1174
|
+
* that reason, and only when something actually changed: an audit line on
|
|
1175
|
+
* every save teaches its readers to ignore the log.
|
|
1176
|
+
*
|
|
1177
|
+
* Two 422s. Clearing `is_default` on the current default is
|
|
1178
|
+
* `layout_default_required` — promoting another layout is the operation
|
|
1179
|
+
* that exists for this, and it clears this one as a side effect, which is
|
|
1180
|
+
* the only way the count stays at exactly one. Giving the default a
|
|
1181
|
+
* validity window or switching it off is `layout_default_always_in_force`,
|
|
1182
|
+
* and the check is made of the OUTCOME, so promoting a layout and dating it
|
|
1183
|
+
* in the same request is caught.
|
|
1184
|
+
*
|
|
1185
|
+
* The structural half of a layout — colours, width, font — is baked into
|
|
1186
|
+
* each template's compiled body, so templates already on it keep the old
|
|
1187
|
+
* one until they are recompiled.
|
|
895
1188
|
*
|
|
896
|
-
* @param {string} params.
|
|
897
|
-
* @
|
|
898
|
-
* @
|
|
899
|
-
* @param {string} params.from - Sender number.
|
|
900
|
-
* @param {string} params.name - Provider name.
|
|
901
|
-
* @param {string} params.username - Textmagic username.
|
|
902
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
903
|
-
* @returns {Promise<Models.Provider>}
|
|
1189
|
+
* @param {string} params.id -
|
|
1190
|
+
* @throws {RevenexxException}
|
|
1191
|
+
* @returns {Promise<{}>}
|
|
904
1192
|
*/
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
*
|
|
915
|
-
*
|
|
916
|
-
*
|
|
917
|
-
*
|
|
918
|
-
*
|
|
919
|
-
*
|
|
920
|
-
*
|
|
921
|
-
*
|
|
922
|
-
*
|
|
923
|
-
*
|
|
1193
|
+
layoutUpdate(params: {
|
|
1194
|
+
id: string;
|
|
1195
|
+
}): Promise<{}>;
|
|
1196
|
+
/**
|
|
1197
|
+
* The change reaches every template on this layout, including ones saved
|
|
1198
|
+
* months ago and never opened since — which is exactly the change nobody
|
|
1199
|
+
* remembers making when the mails start looking wrong. It is audited for
|
|
1200
|
+
* that reason, and only when something actually changed: an audit line on
|
|
1201
|
+
* every save teaches its readers to ignore the log.
|
|
1202
|
+
*
|
|
1203
|
+
* Two 422s. Clearing `is_default` on the current default is
|
|
1204
|
+
* `layout_default_required` — promoting another layout is the operation
|
|
1205
|
+
* that exists for this, and it clears this one as a side effect, which is
|
|
1206
|
+
* the only way the count stays at exactly one. Giving the default a
|
|
1207
|
+
* validity window or switching it off is `layout_default_always_in_force`,
|
|
1208
|
+
* and the check is made of the OUTCOME, so promoting a layout and dating it
|
|
1209
|
+
* in the same request is caught.
|
|
1210
|
+
*
|
|
1211
|
+
* The structural half of a layout — colours, width, font — is baked into
|
|
1212
|
+
* each template's compiled body, so templates already on it keep the old
|
|
1213
|
+
* one until they are recompiled.
|
|
1214
|
+
*
|
|
1215
|
+
* @param {string} id -
|
|
1216
|
+
* @throws {RevenexxException}
|
|
1217
|
+
* @returns {Promise<{}>}
|
|
924
1218
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
925
1219
|
*/
|
|
926
|
-
|
|
1220
|
+
layoutUpdate(id: string): Promise<{}>;
|
|
927
1221
|
/**
|
|
928
|
-
*
|
|
1222
|
+
* What the Cockpit's "start from a template" gallery is built from. These
|
|
1223
|
+
* are not the tenant's rows and cannot be edited here: provisioning clones
|
|
1224
|
+
* them into `/v1/templates`, and it is the clone that a tenant owns.
|
|
929
1225
|
*
|
|
930
|
-
* @param {string} params.
|
|
931
|
-
* @param {string} params.
|
|
932
|
-
* @
|
|
933
|
-
* @
|
|
934
|
-
* @param {boolean} params.enabled - Set as enabled.
|
|
935
|
-
* @param {string} params.from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
936
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
937
|
-
* @returns {Promise<Models.Provider>}
|
|
1226
|
+
* @param {string} params.channel -
|
|
1227
|
+
* @param {string} params.locale -
|
|
1228
|
+
* @throws {RevenexxException}
|
|
1229
|
+
* @returns {Promise<{}>}
|
|
938
1230
|
*/
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
*
|
|
949
|
-
*
|
|
950
|
-
* @
|
|
951
|
-
* @
|
|
952
|
-
* @param {string} accountSid - Twilio account secret ID.
|
|
953
|
-
* @param {string} authToken - Twilio authentication token.
|
|
954
|
-
* @param {boolean} enabled - Set as enabled.
|
|
955
|
-
* @param {string} from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
956
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
957
|
-
* @returns {Promise<Models.Provider>}
|
|
1231
|
+
libraryIndex(params?: {
|
|
1232
|
+
channel?: string;
|
|
1233
|
+
locale?: string;
|
|
1234
|
+
}): Promise<{}>;
|
|
1235
|
+
/**
|
|
1236
|
+
* What the Cockpit's "start from a template" gallery is built from. These
|
|
1237
|
+
* are not the tenant's rows and cannot be edited here: provisioning clones
|
|
1238
|
+
* them into `/v1/templates`, and it is the clone that a tenant owns.
|
|
1239
|
+
*
|
|
1240
|
+
* @param {string} channel -
|
|
1241
|
+
* @param {string} locale -
|
|
1242
|
+
* @throws {RevenexxException}
|
|
1243
|
+
* @returns {Promise<{}>}
|
|
958
1244
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
959
1245
|
*/
|
|
960
|
-
|
|
1246
|
+
libraryIndex(channel?: string, locale?: string): Promise<{}>;
|
|
961
1247
|
/**
|
|
962
|
-
*
|
|
1248
|
+
* `?channel=` and `?status=` narrow it; `?limit=` is clamped to 200 and
|
|
1249
|
+
* defaults to 50. `?channel=inapp` is the tenant's in-app inbox — the
|
|
1250
|
+
* Message row IS the inbox item, so there is no second store for it.
|
|
963
1251
|
*
|
|
964
|
-
*
|
|
965
|
-
*
|
|
966
|
-
*
|
|
967
|
-
* @param {
|
|
968
|
-
* @param {string} params.
|
|
969
|
-
* @
|
|
970
|
-
* @
|
|
971
|
-
* @returns {Promise<Models.Provider>}
|
|
1252
|
+
* Rows are subject to the deployment's retention window and to erasure
|
|
1253
|
+
* requests, so this is not an archive.
|
|
1254
|
+
*
|
|
1255
|
+
* @param {string} params.channel -
|
|
1256
|
+
* @param {string} params.status -
|
|
1257
|
+
* @throws {RevenexxException}
|
|
1258
|
+
* @returns {Promise<{}>}
|
|
972
1259
|
*/
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
*
|
|
983
|
-
*
|
|
984
|
-
*
|
|
985
|
-
* @param {string}
|
|
986
|
-
* @param {string}
|
|
987
|
-
* @
|
|
988
|
-
* @
|
|
989
|
-
* @param {string} name - Provider name.
|
|
990
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
991
|
-
* @returns {Promise<Models.Provider>}
|
|
1260
|
+
messageIndex(params?: {
|
|
1261
|
+
channel?: string;
|
|
1262
|
+
status?: string;
|
|
1263
|
+
}): Promise<{}>;
|
|
1264
|
+
/**
|
|
1265
|
+
* `?channel=` and `?status=` narrow it; `?limit=` is clamped to 200 and
|
|
1266
|
+
* defaults to 50. `?channel=inapp` is the tenant's in-app inbox — the
|
|
1267
|
+
* Message row IS the inbox item, so there is no second store for it.
|
|
1268
|
+
*
|
|
1269
|
+
* Rows are subject to the deployment's retention window and to erasure
|
|
1270
|
+
* requests, so this is not an archive.
|
|
1271
|
+
*
|
|
1272
|
+
* @param {string} channel -
|
|
1273
|
+
* @param {string} status -
|
|
1274
|
+
* @throws {RevenexxException}
|
|
1275
|
+
* @returns {Promise<{}>}
|
|
992
1276
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
993
1277
|
*/
|
|
994
|
-
|
|
1278
|
+
messageIndex(channel?: string, status?: string): Promise<{}>;
|
|
995
1279
|
/**
|
|
996
|
-
*
|
|
1280
|
+
* Carries the render model it was sent with, so "why did this mail say
|
|
1281
|
+
* * that" is answerable after the fact. That is also why the row is personal
|
|
1282
|
+
* data and why it can be erased — see POST /v1/privacy/erasures.
|
|
997
1283
|
*
|
|
998
|
-
* @param {string} params.
|
|
999
|
-
* @
|
|
1000
|
-
* @
|
|
1001
|
-
* @param {string} params.apiSecret - Vonage API secret.
|
|
1002
|
-
* @param {boolean} params.enabled - Set as enabled.
|
|
1003
|
-
* @param {string} params.from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
1004
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1005
|
-
* @returns {Promise<Models.Provider>}
|
|
1284
|
+
* @param {string} params.id -
|
|
1285
|
+
* @throws {RevenexxException}
|
|
1286
|
+
* @returns {Promise<{}>}
|
|
1006
1287
|
*/
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
*
|
|
1017
|
-
*
|
|
1018
|
-
* @param {string} name - Provider name.
|
|
1019
|
-
* @param {string} providerId - Provider ID. Choose a custom ID or generate a random ID with `ID.unique()`. Valid chars are a-z, A-Z, 0-9, period, hyphen, and underscore. Can't start with a special char. Max length is 36 chars.
|
|
1020
|
-
* @param {string} apiKey - Vonage API key.
|
|
1021
|
-
* @param {string} apiSecret - Vonage API secret.
|
|
1022
|
-
* @param {boolean} enabled - Set as enabled.
|
|
1023
|
-
* @param {string} from - Sender Phone number. Format this number with a leading '+' and a country code, e.g., +16175551212.
|
|
1024
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1025
|
-
* @returns {Promise<Models.Provider>}
|
|
1288
|
+
messageShow(params: {
|
|
1289
|
+
id: string;
|
|
1290
|
+
}): Promise<{}>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Carries the render model it was sent with, so "why did this mail say
|
|
1293
|
+
* * that" is answerable after the fact. That is also why the row is personal
|
|
1294
|
+
* data and why it can be erased — see POST /v1/privacy/erasures.
|
|
1295
|
+
*
|
|
1296
|
+
* @param {string} id -
|
|
1297
|
+
* @throws {RevenexxException}
|
|
1298
|
+
* @returns {Promise<{}>}
|
|
1026
1299
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1027
1300
|
*/
|
|
1028
|
-
|
|
1301
|
+
messageShow(id: string): Promise<{}>;
|
|
1029
1302
|
/**
|
|
1030
|
-
*
|
|
1303
|
+
* Answers with the resolved subject, HTML and text exactly as a real send
|
|
1304
|
+
* would produce them, so an editor can show a faithful preview without a
|
|
1305
|
+
* message row, a provider call or a suppression check.
|
|
1031
1306
|
*
|
|
1032
|
-
*
|
|
1033
|
-
*
|
|
1034
|
-
*
|
|
1035
|
-
*
|
|
1036
|
-
* @param {string} params.
|
|
1037
|
-
* @param {string} params.
|
|
1038
|
-
* @
|
|
1039
|
-
|
|
1307
|
+
* Takes no `market`, deliberately: rendering picks no provider, so there is
|
|
1308
|
+
* nothing here for a market to change. Nor `send_at`, `draft` or
|
|
1309
|
+
* `attachments` — all of them are properties of a dispatch, not of a render.
|
|
1310
|
+
*
|
|
1311
|
+
* @param {string} params.channel -
|
|
1312
|
+
* @param {string} params.template -
|
|
1313
|
+
* @param {object} params.data - The render model: a free map of variable name to value, resolved against the template's
|
|
1314
|
+
placeholders. Values may be strings, numbers, booleans, or nested objects and arrays —
|
|
1315
|
+
`{{ order.number }}` reads a nested one.
|
|
1316
|
+
|
|
1317
|
+
Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
1318
|
+
`variable_defaults` are merged underneath, so a placeholder an event did not carry can
|
|
1319
|
+
still resolve. Anything named here wins over all of them.
|
|
1320
|
+
* @param {string} params.locale -
|
|
1321
|
+
* @throws {RevenexxException}
|
|
1322
|
+
* @returns {Promise<{}>}
|
|
1040
1323
|
*/
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
*
|
|
1051
|
-
*
|
|
1052
|
-
*
|
|
1053
|
-
*
|
|
1054
|
-
*
|
|
1055
|
-
*
|
|
1056
|
-
* @param {string}
|
|
1057
|
-
* @param {string}
|
|
1058
|
-
* @
|
|
1059
|
-
|
|
1324
|
+
sendPreview(params: {
|
|
1325
|
+
channel: string;
|
|
1326
|
+
template: string;
|
|
1327
|
+
data?: object;
|
|
1328
|
+
locale?: string;
|
|
1329
|
+
}): Promise<{}>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Answers with the resolved subject, HTML and text exactly as a real send
|
|
1332
|
+
* would produce them, so an editor can show a faithful preview without a
|
|
1333
|
+
* message row, a provider call or a suppression check.
|
|
1334
|
+
*
|
|
1335
|
+
* Takes no `market`, deliberately: rendering picks no provider, so there is
|
|
1336
|
+
* nothing here for a market to change. Nor `send_at`, `draft` or
|
|
1337
|
+
* `attachments` — all of them are properties of a dispatch, not of a render.
|
|
1338
|
+
*
|
|
1339
|
+
* @param {string} channel -
|
|
1340
|
+
* @param {string} template -
|
|
1341
|
+
* @param {object} data - The render model: a free map of variable name to value, resolved against the template's
|
|
1342
|
+
placeholders. Values may be strings, numbers, booleans, or nested objects and arrays —
|
|
1343
|
+
`{{ order.number }}` reads a nested one.
|
|
1344
|
+
|
|
1345
|
+
Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
1346
|
+
`variable_defaults` are merged underneath, so a placeholder an event did not carry can
|
|
1347
|
+
still resolve. Anything named here wins over all of them.
|
|
1348
|
+
* @param {string} locale -
|
|
1349
|
+
* @throws {RevenexxException}
|
|
1350
|
+
* @returns {Promise<{}>}
|
|
1351
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1352
|
+
*/
|
|
1353
|
+
sendPreview(channel: string, template: string, data?: object, locale?: string): Promise<{}>;
|
|
1354
|
+
/**
|
|
1355
|
+
* Per (channel, address), because an address is channel-shaped and the rows
|
|
1356
|
+
* it has to line up with are keyed that way. Matching is done on the
|
|
1357
|
+
* normalised form on both sides, so a request for `ada@acme.test` finds a
|
|
1358
|
+
* log written for `Ada@Acme.test` — an erasure that misses on
|
|
1359
|
+
* capitalisation is an erasure that did not happen and reports success.
|
|
1360
|
+
*
|
|
1361
|
+
* Message rows and unsubscribe tokens are DELETED. Suppressions are KEPT
|
|
1362
|
+
* with the clear-text address nulled: matching runs on a keyed hash, so the
|
|
1363
|
+
* row can still block and can no longer identify. Deleting it instead is
|
|
1364
|
+
* the obvious reading of "erase everything about them", and it is the
|
|
1365
|
+
* reading that mails a dead address again next week — or mails somebody who
|
|
1366
|
+
* complained, which is how a sending domain gets blocked.
|
|
1367
|
+
*
|
|
1368
|
+
* Answers with the counts, `suppressions_kept` among them, so the design is
|
|
1369
|
+
* stated in the response rather than only in this paragraph.
|
|
1370
|
+
*
|
|
1371
|
+
* @param {string} params.address -
|
|
1372
|
+
* @param {string} params.channel - Per (channel, address), not per address: an address is
|
|
1373
|
+
channel-shaped, and the suppression and token rows it has to line
|
|
1374
|
+
up with are keyed that way.
|
|
1375
|
+
* @throws {RevenexxException}
|
|
1376
|
+
* @returns {Promise<{}>}
|
|
1377
|
+
*/
|
|
1378
|
+
erasureStore(params: {
|
|
1379
|
+
address: string;
|
|
1380
|
+
channel: string;
|
|
1381
|
+
}): Promise<{}>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Per (channel, address), because an address is channel-shaped and the rows
|
|
1384
|
+
* it has to line up with are keyed that way. Matching is done on the
|
|
1385
|
+
* normalised form on both sides, so a request for `ada@acme.test` finds a
|
|
1386
|
+
* log written for `Ada@Acme.test` — an erasure that misses on
|
|
1387
|
+
* capitalisation is an erasure that did not happen and reports success.
|
|
1388
|
+
*
|
|
1389
|
+
* Message rows and unsubscribe tokens are DELETED. Suppressions are KEPT
|
|
1390
|
+
* with the clear-text address nulled: matching runs on a keyed hash, so the
|
|
1391
|
+
* row can still block and can no longer identify. Deleting it instead is
|
|
1392
|
+
* the obvious reading of "erase everything about them", and it is the
|
|
1393
|
+
* reading that mails a dead address again next week — or mails somebody who
|
|
1394
|
+
* complained, which is how a sending domain gets blocked.
|
|
1395
|
+
*
|
|
1396
|
+
* Answers with the counts, `suppressions_kept` among them, so the design is
|
|
1397
|
+
* stated in the response rather than only in this paragraph.
|
|
1398
|
+
*
|
|
1399
|
+
* @param {string} address -
|
|
1400
|
+
* @param {string} channel - Per (channel, address), not per address: an address is
|
|
1401
|
+
channel-shaped, and the suppression and token rows it has to line
|
|
1402
|
+
up with are keyed that way.
|
|
1403
|
+
* @throws {RevenexxException}
|
|
1404
|
+
* @returns {Promise<{}>}
|
|
1060
1405
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1061
1406
|
*/
|
|
1062
|
-
|
|
1407
|
+
erasureStore(address: string, channel: string): Promise<{}>;
|
|
1063
1408
|
/**
|
|
1064
|
-
*
|
|
1409
|
+
* By endpoint and not by id, because the browser knows its endpoint and has
|
|
1410
|
+
* never seen our id — this is called from a service worker reacting to
|
|
1411
|
+
* `pushsubscriptionchange`, or from a "turn off notifications" button.
|
|
1065
1412
|
*
|
|
1066
|
-
* @param {string} params.
|
|
1067
|
-
* @throws {
|
|
1413
|
+
* @param {string} params.endpoint -
|
|
1414
|
+
* @throws {RevenexxException}
|
|
1068
1415
|
* @returns {Promise<{}>}
|
|
1069
1416
|
*/
|
|
1070
|
-
|
|
1071
|
-
|
|
1417
|
+
pushSubscriptionDestroy(params: {
|
|
1418
|
+
endpoint: string;
|
|
1072
1419
|
}): Promise<{}>;
|
|
1073
1420
|
/**
|
|
1074
|
-
*
|
|
1421
|
+
* By endpoint and not by id, because the browser knows its endpoint and has
|
|
1422
|
+
* never seen our id — this is called from a service worker reacting to
|
|
1423
|
+
* `pushsubscriptionchange`, or from a "turn off notifications" button.
|
|
1075
1424
|
*
|
|
1076
|
-
* @param {string}
|
|
1077
|
-
* @throws {
|
|
1425
|
+
* @param {string} endpoint -
|
|
1426
|
+
* @throws {RevenexxException}
|
|
1078
1427
|
* @returns {Promise<{}>}
|
|
1079
1428
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1080
1429
|
*/
|
|
1081
|
-
|
|
1430
|
+
pushSubscriptionDestroy(endpoint: string): Promise<{}>;
|
|
1082
1431
|
/**
|
|
1083
|
-
*
|
|
1432
|
+
* `subscriber_id` is required: this is not a list of everybody, and there
|
|
1433
|
+
* is no route that is. The caller is a storefront acting for one visitor
|
|
1434
|
+
* and has no business enumerating the rest.
|
|
1084
1435
|
*
|
|
1436
|
+
* The client key material is never returned — see the `$hidden` list on the
|
|
1437
|
+
* model. A registration that can be read back is a registration somebody
|
|
1438
|
+
* else can push with.
|
|
1085
1439
|
*
|
|
1086
|
-
* @param {string} params.
|
|
1087
|
-
* @throws {
|
|
1088
|
-
* @returns {Promise<
|
|
1440
|
+
* @param {string} params.subscriberId -
|
|
1441
|
+
* @throws {RevenexxException}
|
|
1442
|
+
* @returns {Promise<{}>}
|
|
1089
1443
|
*/
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
}): Promise<
|
|
1444
|
+
pushSubscriptionIndex(params: {
|
|
1445
|
+
subscriberId: string;
|
|
1446
|
+
}): Promise<{}>;
|
|
1093
1447
|
/**
|
|
1094
|
-
*
|
|
1448
|
+
* `subscriber_id` is required: this is not a list of everybody, and there
|
|
1449
|
+
* is no route that is. The caller is a storefront acting for one visitor
|
|
1450
|
+
* and has no business enumerating the rest.
|
|
1095
1451
|
*
|
|
1452
|
+
* The client key material is never returned — see the `$hidden` list on the
|
|
1453
|
+
* model. A registration that can be read back is a registration somebody
|
|
1454
|
+
* else can push with.
|
|
1096
1455
|
*
|
|
1097
|
-
* @param {string}
|
|
1098
|
-
* @throws {
|
|
1099
|
-
* @returns {Promise<
|
|
1456
|
+
* @param {string} subscriberId -
|
|
1457
|
+
* @throws {RevenexxException}
|
|
1458
|
+
* @returns {Promise<{}>}
|
|
1100
1459
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1101
1460
|
*/
|
|
1102
|
-
|
|
1461
|
+
pushSubscriptionIndex(subscriberId: string): Promise<{}>;
|
|
1103
1462
|
/**
|
|
1104
|
-
*
|
|
1463
|
+
* Send what `PushManager.subscribe()` handed back — the endpoint and the
|
|
1464
|
+
* two keys — plus the id you know that person by. The VAPID public key the
|
|
1465
|
+
* browser needs to produce it comes from `GET /v1/config`
|
|
1466
|
+
* (`meta.push_public_key`).
|
|
1467
|
+
*
|
|
1468
|
+
* **Idempotent by endpoint**, and the two statuses say which happened: 201
|
|
1469
|
+
* for a browser seen for the first time, 200 for one already registered. A
|
|
1470
|
+
* browser calls `subscribe()` on every page load and hands back the same
|
|
1471
|
+
* endpoint each time; treating that as a new device would give one laptop a
|
|
1472
|
+
* thousand rows and push to it a thousand times.
|
|
1105
1473
|
*
|
|
1106
|
-
* @param {string} params.
|
|
1107
|
-
* @param {
|
|
1108
|
-
* @param {
|
|
1109
|
-
* @
|
|
1110
|
-
* @
|
|
1474
|
+
* @param {string} params.endpoint -
|
|
1475
|
+
* @param {object} params.keys -
|
|
1476
|
+
* @param {string} params.subscriberId -
|
|
1477
|
+
* @param {string} params.userAgent -
|
|
1478
|
+
* @throws {RevenexxException}
|
|
1479
|
+
* @returns {Promise<{}>}
|
|
1111
1480
|
*/
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1481
|
+
pushSubscriptionStore(params: {
|
|
1482
|
+
endpoint: string;
|
|
1483
|
+
keys: object;
|
|
1484
|
+
subscriberId: string;
|
|
1485
|
+
userAgent?: string;
|
|
1486
|
+
}): Promise<{}>;
|
|
1117
1487
|
/**
|
|
1118
|
-
*
|
|
1119
|
-
*
|
|
1120
|
-
*
|
|
1121
|
-
*
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1124
|
-
*
|
|
1488
|
+
* Send what `PushManager.subscribe()` handed back — the endpoint and the
|
|
1489
|
+
* two keys — plus the id you know that person by. The VAPID public key the
|
|
1490
|
+
* browser needs to produce it comes from `GET /v1/config`
|
|
1491
|
+
* (`meta.push_public_key`).
|
|
1492
|
+
*
|
|
1493
|
+
* **Idempotent by endpoint**, and the two statuses say which happened: 201
|
|
1494
|
+
* for a browser seen for the first time, 200 for one already registered. A
|
|
1495
|
+
* browser calls `subscribe()` on every page load and hands back the same
|
|
1496
|
+
* endpoint each time; treating that as a new device would give one laptop a
|
|
1497
|
+
* thousand rows and push to it a thousand times.
|
|
1498
|
+
*
|
|
1499
|
+
* @param {string} endpoint -
|
|
1500
|
+
* @param {object} keys -
|
|
1501
|
+
* @param {string} subscriberId -
|
|
1502
|
+
* @param {string} userAgent -
|
|
1503
|
+
* @throws {RevenexxException}
|
|
1504
|
+
* @returns {Promise<{}>}
|
|
1125
1505
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1126
1506
|
*/
|
|
1127
|
-
|
|
1507
|
+
pushSubscriptionStore(endpoint: string, keys: object, subscriberId: string, userAgent?: string): Promise<{}>;
|
|
1508
|
+
/**
|
|
1509
|
+
* Renders a tenant template and dispatches it — now, at `send_at`, or at
|
|
1510
|
+
* the end of the tenant's quiet hours.
|
|
1511
|
+
*
|
|
1512
|
+
* The first line is deliberately a title, not a sentence about the
|
|
1513
|
+
* mechanism: Scramble takes it as the operation's `summary`, and a summary
|
|
1514
|
+
* is what an API explorer prints in its route list. The paragraph that used
|
|
1515
|
+
* to be here ran to 119 characters across two lines, which the gateway's
|
|
1516
|
+
* fragment tests reject for exactly that reason.
|
|
1517
|
+
*
|
|
1518
|
+
* Retry-safe when the caller sends an `Idempotency-Key` header. The two
|
|
1519
|
+
* answers are deliberately different:
|
|
1520
|
+
*
|
|
1521
|
+
* 201 — a message was created by THIS call
|
|
1522
|
+
* 200 — this key was already used; here is the message it produced
|
|
1523
|
+
*
|
|
1524
|
+
* A caller has to be able to tell those apart. "Your mail went out" and
|
|
1525
|
+
* "your mail had already gone out" are the same outcome and different
|
|
1526
|
+
* facts, and a client reconciling its own records needs the second one.
|
|
1527
|
+
* Same key with a different body is a 422 — see IdempotencyConflict.
|
|
1528
|
+
*
|
|
1529
|
+
* A recipient on the tenant's suppression list is not sent to, and that is
|
|
1530
|
+
* reported as a refusal rather than as a silent success.
|
|
1531
|
+
*
|
|
1532
|
+
* @param {string} params.channel -
|
|
1533
|
+
* @param {string} params.template -
|
|
1534
|
+
* @param {string} params.to -
|
|
1535
|
+
* @param {object[]} params.attachments - Files travelling with the message. Base64 content, never a URL:
|
|
1536
|
+
fetching an address that arrives in a request body would make
|
|
1537
|
+
this service a request-forwarder inside the platform network —
|
|
1538
|
+
see App\Support\Attachment.
|
|
1539
|
+
* @param {object} params.data - The render model: a free map of variable name to value, resolved against the template's
|
|
1540
|
+
placeholders. Values may be strings, numbers, booleans, or nested objects and arrays —
|
|
1541
|
+
`{{ order.number }}` reads a nested one.
|
|
1542
|
+
|
|
1543
|
+
Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
1544
|
+
`variable_defaults` are merged underneath, so a placeholder an event did not carry can
|
|
1545
|
+
still resolve. Anything named here wins over all of them.
|
|
1546
|
+
* @param {boolean} params.draft - A TEST SEND. Renders the draft instead of the published snapshot,
|
|
1547
|
+
which is the only way an author can check a correction in a real
|
|
1548
|
+
mail client before it goes live to everybody. Deliberately a flag on this route and not a route of its own:
|
|
1549
|
+
everything else about it — suppression, quiet hours, the
|
|
1550
|
+
language chain, idempotency — has to behave exactly as a real
|
|
1551
|
+
send, and a second endpoint is a second set of those rules that
|
|
1552
|
+
drifts. The one difference is which fassung is rendered.
|
|
1553
|
+
* @param {string} params.locale - The language the CALLER states — step 1 of the resolution order,
|
|
1554
|
+
ahead of anything in the payload. Absent is normal and is not
|
|
1555
|
+
"English": it means the recipient's own language decides.
|
|
1556
|
+
* @param {string} params.market - Which market this send belongs to. Absent means the GLOBAL
|
|
1557
|
+
market, which is what every send was before markets reached this
|
|
1558
|
+
path — so a caller that never heard of them keeps working and
|
|
1559
|
+
gets the credentials it always had. The caller states it; nothing here derives it. A country code on
|
|
1560
|
+
a phone number is a fact and a domain on an address is a guess,
|
|
1561
|
+
and a guess that decides which carrier carries a message would
|
|
1562
|
+
look exactly like a decision somebody made.
|
|
1563
|
+
|
|
1564
|
+
Not on `preview`: rendering picks no provider, so there is
|
|
1565
|
+
nothing there for a market to change.
|
|
1566
|
+
* @param {string} params.sendAt - Send later. A time in the past is accepted and means now — a
|
|
1567
|
+
client retrying a request it built ten minutes ago is asking for
|
|
1568
|
+
the same send, and refusing it turns a late retry into a lost
|
|
1569
|
+
message.
|
|
1570
|
+
* @throws {RevenexxException}
|
|
1571
|
+
* @returns {Promise<{}>}
|
|
1572
|
+
*/
|
|
1573
|
+
sendSend(params: {
|
|
1574
|
+
channel: string;
|
|
1575
|
+
template: string;
|
|
1576
|
+
to: string;
|
|
1577
|
+
attachments?: object[];
|
|
1578
|
+
data?: object;
|
|
1579
|
+
draft?: boolean;
|
|
1580
|
+
locale?: string;
|
|
1581
|
+
market?: string;
|
|
1582
|
+
sendAt?: string;
|
|
1583
|
+
}): Promise<{}>;
|
|
1128
1584
|
/**
|
|
1129
|
-
*
|
|
1130
|
-
*
|
|
1131
|
-
*
|
|
1132
|
-
*
|
|
1133
|
-
*
|
|
1134
|
-
*
|
|
1135
|
-
*
|
|
1585
|
+
* Renders a tenant template and dispatches it — now, at `send_at`, or at
|
|
1586
|
+
* the end of the tenant's quiet hours.
|
|
1587
|
+
*
|
|
1588
|
+
* The first line is deliberately a title, not a sentence about the
|
|
1589
|
+
* mechanism: Scramble takes it as the operation's `summary`, and a summary
|
|
1590
|
+
* is what an API explorer prints in its route list. The paragraph that used
|
|
1591
|
+
* to be here ran to 119 characters across two lines, which the gateway's
|
|
1592
|
+
* fragment tests reject for exactly that reason.
|
|
1593
|
+
*
|
|
1594
|
+
* Retry-safe when the caller sends an `Idempotency-Key` header. The two
|
|
1595
|
+
* answers are deliberately different:
|
|
1596
|
+
*
|
|
1597
|
+
* 201 — a message was created by THIS call
|
|
1598
|
+
* 200 — this key was already used; here is the message it produced
|
|
1599
|
+
*
|
|
1600
|
+
* A caller has to be able to tell those apart. "Your mail went out" and
|
|
1601
|
+
* "your mail had already gone out" are the same outcome and different
|
|
1602
|
+
* facts, and a client reconciling its own records needs the second one.
|
|
1603
|
+
* Same key with a different body is a 422 — see IdempotencyConflict.
|
|
1604
|
+
*
|
|
1605
|
+
* A recipient on the tenant's suppression list is not sent to, and that is
|
|
1606
|
+
* reported as a refusal rather than as a silent success.
|
|
1607
|
+
*
|
|
1608
|
+
* @param {string} channel -
|
|
1609
|
+
* @param {string} template -
|
|
1610
|
+
* @param {string} to -
|
|
1611
|
+
* @param {object[]} attachments - Files travelling with the message. Base64 content, never a URL:
|
|
1612
|
+
fetching an address that arrives in a request body would make
|
|
1613
|
+
this service a request-forwarder inside the platform network —
|
|
1614
|
+
see App\Support\Attachment.
|
|
1615
|
+
* @param {object} data - The render model: a free map of variable name to value, resolved against the template's
|
|
1616
|
+
placeholders. Values may be strings, numbers, booleans, or nested objects and arrays —
|
|
1617
|
+
`{{ order.number }}` reads a nested one.
|
|
1618
|
+
|
|
1619
|
+
Not the only source. A tenant's `defaults`, its layout, and the template's own
|
|
1620
|
+
`variable_defaults` are merged underneath, so a placeholder an event did not carry can
|
|
1621
|
+
still resolve. Anything named here wins over all of them.
|
|
1622
|
+
* @param {boolean} draft - A TEST SEND. Renders the draft instead of the published snapshot,
|
|
1623
|
+
which is the only way an author can check a correction in a real
|
|
1624
|
+
mail client before it goes live to everybody. Deliberately a flag on this route and not a route of its own:
|
|
1625
|
+
everything else about it — suppression, quiet hours, the
|
|
1626
|
+
language chain, idempotency — has to behave exactly as a real
|
|
1627
|
+
send, and a second endpoint is a second set of those rules that
|
|
1628
|
+
drifts. The one difference is which fassung is rendered.
|
|
1629
|
+
* @param {string} locale - The language the CALLER states — step 1 of the resolution order,
|
|
1630
|
+
ahead of anything in the payload. Absent is normal and is not
|
|
1631
|
+
"English": it means the recipient's own language decides.
|
|
1632
|
+
* @param {string} market - Which market this send belongs to. Absent means the GLOBAL
|
|
1633
|
+
market, which is what every send was before markets reached this
|
|
1634
|
+
path — so a caller that never heard of them keeps working and
|
|
1635
|
+
gets the credentials it always had. The caller states it; nothing here derives it. A country code on
|
|
1636
|
+
a phone number is a fact and a domain on an address is a guess,
|
|
1637
|
+
and a guess that decides which carrier carries a message would
|
|
1638
|
+
look exactly like a decision somebody made.
|
|
1639
|
+
|
|
1640
|
+
Not on `preview`: rendering picks no provider, so there is
|
|
1641
|
+
nothing there for a market to change.
|
|
1642
|
+
* @param {string} sendAt - Send later. A time in the past is accepted and means now — a
|
|
1643
|
+
client retrying a request it built ten minutes ago is asking for
|
|
1644
|
+
the same send, and refusing it turns a late retry into a lost
|
|
1645
|
+
message.
|
|
1646
|
+
* @throws {RevenexxException}
|
|
1647
|
+
* @returns {Promise<{}>}
|
|
1648
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1136
1649
|
*/
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1650
|
+
sendSend(channel: string, template: string, to: string, attachments?: object[], data?: object, draft?: boolean, locale?: string, market?: string, sendAt?: string): Promise<{}>;
|
|
1651
|
+
/**
|
|
1652
|
+
* Either `days` (a window ending now, default 30) or an explicit `from`/`to`
|
|
1653
|
+
* span. Both ends of the span or neither: `from` alone would be an open
|
|
1654
|
+
* range and the service would have to guess which end was meant.
|
|
1655
|
+
*
|
|
1656
|
+
* Three numbers are deliberately not the naive ones, and the `window` block
|
|
1657
|
+
* says so rather than leaving a chart to imply otherwise. The window is
|
|
1658
|
+
* CLAMPED to the tenant's retention, and `clamped_by_retention` says when
|
|
1659
|
+
* that happened — 90 days on a 30-day retention is 30 days of data wearing
|
|
1660
|
+
* a 90-day label, and the trend line it draws invents a collapse that never
|
|
1661
|
+
* happened. Opens are counted only over channels that can report them; SMS
|
|
1662
|
+
* and push have no such thing, so dividing opens by all messages would
|
|
1663
|
+
* quietly halve every open rate the moment a tenant adds a second channel.
|
|
1664
|
+
* The delivery rate is sent ÷ (sent + failed): suppressed is the service
|
|
1665
|
+
* doing what it was told, and counting it as a failure would punish a
|
|
1666
|
+
* tenant for having a working unsubscribe list.
|
|
1667
|
+
*
|
|
1668
|
+
* `previous` is the same window again immediately before this one, which is
|
|
1669
|
+
* what turns a figure into a direction. **It is null** whenever the
|
|
1670
|
+
* preceding window is not entirely inside retention: the query would answer
|
|
1671
|
+
* zero rather than fail, and zero against 1,337 renders as a triumphant
|
|
1672
|
+
* +100 % beside every tile on the screen. Show no trend rather than a
|
|
1673
|
+
* flattering one.
|
|
1674
|
+
*
|
|
1675
|
+
* Nothing here names a recipient. That is the delivery log, which is a
|
|
1676
|
+
* different endpoint with a different question.
|
|
1677
|
+
*
|
|
1678
|
+
* @param {number} params.days - Clamped and possibly shortened by retention inside the service,
|
|
1679
|
+
which reports what it actually used.
|
|
1680
|
+
* @param {string} params.from - An explicit span, for a window that does not end today. Both
|
|
1681
|
+
ends or neither: `from` alone would be an open range, and the
|
|
1682
|
+
service would have to guess which end was meant.
|
|
1683
|
+
`nullable` rather than `sometimes`, so `required_with` still
|
|
1684
|
+
runs when the OTHER end is missing. With `sometimes` an absent
|
|
1685
|
+
field is skipped entirely, and `?from=` alone sailed through to
|
|
1686
|
+
become a window nobody asked for.
|
|
1687
|
+
* @param {string} params.to - The other end of the same span, inclusive: the whole of this day
|
|
1688
|
+
is inside the window whatever time its rows carry. A span running
|
|
1689
|
+
past today ends today — there is no data ahead of now, and a
|
|
1690
|
+
window with a future edge draws the series short against an axis
|
|
1691
|
+
claiming a month nobody has lived through.
|
|
1692
|
+
* @throws {RevenexxException}
|
|
1693
|
+
* @returns {Promise<{}>}
|
|
1694
|
+
*/
|
|
1695
|
+
statsIndex(params?: {
|
|
1696
|
+
days?: number;
|
|
1697
|
+
from?: string;
|
|
1698
|
+
to?: string;
|
|
1699
|
+
}): Promise<{}>;
|
|
1142
1700
|
/**
|
|
1143
|
-
*
|
|
1144
|
-
*
|
|
1145
|
-
*
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1148
|
-
*
|
|
1149
|
-
*
|
|
1701
|
+
* Either `days` (a window ending now, default 30) or an explicit `from`/`to`
|
|
1702
|
+
* span. Both ends of the span or neither: `from` alone would be an open
|
|
1703
|
+
* range and the service would have to guess which end was meant.
|
|
1704
|
+
*
|
|
1705
|
+
* Three numbers are deliberately not the naive ones, and the `window` block
|
|
1706
|
+
* says so rather than leaving a chart to imply otherwise. The window is
|
|
1707
|
+
* CLAMPED to the tenant's retention, and `clamped_by_retention` says when
|
|
1708
|
+
* that happened — 90 days on a 30-day retention is 30 days of data wearing
|
|
1709
|
+
* a 90-day label, and the trend line it draws invents a collapse that never
|
|
1710
|
+
* happened. Opens are counted only over channels that can report them; SMS
|
|
1711
|
+
* and push have no such thing, so dividing opens by all messages would
|
|
1712
|
+
* quietly halve every open rate the moment a tenant adds a second channel.
|
|
1713
|
+
* The delivery rate is sent ÷ (sent + failed): suppressed is the service
|
|
1714
|
+
* doing what it was told, and counting it as a failure would punish a
|
|
1715
|
+
* tenant for having a working unsubscribe list.
|
|
1716
|
+
*
|
|
1717
|
+
* `previous` is the same window again immediately before this one, which is
|
|
1718
|
+
* what turns a figure into a direction. **It is null** whenever the
|
|
1719
|
+
* preceding window is not entirely inside retention: the query would answer
|
|
1720
|
+
* zero rather than fail, and zero against 1,337 renders as a triumphant
|
|
1721
|
+
* +100 % beside every tile on the screen. Show no trend rather than a
|
|
1722
|
+
* flattering one.
|
|
1723
|
+
*
|
|
1724
|
+
* Nothing here names a recipient. That is the delivery log, which is a
|
|
1725
|
+
* different endpoint with a different question.
|
|
1726
|
+
*
|
|
1727
|
+
* @param {number} days - Clamped and possibly shortened by retention inside the service,
|
|
1728
|
+
which reports what it actually used.
|
|
1729
|
+
* @param {string} from - An explicit span, for a window that does not end today. Both
|
|
1730
|
+
ends or neither: `from` alone would be an open range, and the
|
|
1731
|
+
service would have to guess which end was meant.
|
|
1732
|
+
`nullable` rather than `sometimes`, so `required_with` still
|
|
1733
|
+
runs when the OTHER end is missing. With `sometimes` an absent
|
|
1734
|
+
field is skipped entirely, and `?from=` alone sailed through to
|
|
1735
|
+
become a window nobody asked for.
|
|
1736
|
+
* @param {string} to - The other end of the same span, inclusive: the whole of this day
|
|
1737
|
+
is inside the window whatever time its rows carry. A span running
|
|
1738
|
+
past today ends today — there is no data ahead of now, and a
|
|
1739
|
+
window with a future edge draws the series short against an axis
|
|
1740
|
+
claiming a month nobody has lived through.
|
|
1741
|
+
* @throws {RevenexxException}
|
|
1742
|
+
* @returns {Promise<{}>}
|
|
1150
1743
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1151
1744
|
*/
|
|
1152
|
-
|
|
1745
|
+
statsIndex(days?: number, from?: string, to?: string): Promise<{}>;
|
|
1153
1746
|
/**
|
|
1154
|
-
*
|
|
1747
|
+
* Filterable by `channel`, `scope`, `reason` and `address`. The address
|
|
1748
|
+
* filter is looked up by FINGERPRINT rather than against the address
|
|
1749
|
+
* column, which is what makes "why did this person stop getting our mail"
|
|
1750
|
+
* answerable for somebody who has since been erased: the row has no
|
|
1751
|
+
* address left to match on, and the question is still the same question.
|
|
1155
1752
|
*
|
|
1156
|
-
* @param {string
|
|
1157
|
-
* @param {
|
|
1158
|
-
* @param {
|
|
1159
|
-
* @
|
|
1160
|
-
* @
|
|
1753
|
+
* @param {string} params.channel -
|
|
1754
|
+
* @param {Scope} params.scope -
|
|
1755
|
+
* @param {Reason} params.reason -
|
|
1756
|
+
* @param {string} params.address -
|
|
1757
|
+
* @param {number} params.limit -
|
|
1758
|
+
* @throws {RevenexxException}
|
|
1759
|
+
* @returns {Promise<{}>}
|
|
1161
1760
|
*/
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1761
|
+
suppressionIndex(params?: {
|
|
1762
|
+
channel?: string;
|
|
1763
|
+
scope?: Scope;
|
|
1764
|
+
reason?: Reason;
|
|
1765
|
+
address?: string;
|
|
1766
|
+
limit?: number;
|
|
1767
|
+
}): Promise<{}>;
|
|
1167
1768
|
/**
|
|
1168
|
-
*
|
|
1169
|
-
*
|
|
1170
|
-
*
|
|
1171
|
-
*
|
|
1172
|
-
*
|
|
1173
|
-
*
|
|
1174
|
-
* @
|
|
1769
|
+
* Filterable by `channel`, `scope`, `reason` and `address`. The address
|
|
1770
|
+
* filter is looked up by FINGERPRINT rather than against the address
|
|
1771
|
+
* column, which is what makes "why did this person stop getting our mail"
|
|
1772
|
+
* answerable for somebody who has since been erased: the row has no
|
|
1773
|
+
* address left to match on, and the question is still the same question.
|
|
1774
|
+
*
|
|
1775
|
+
* @param {string} channel -
|
|
1776
|
+
* @param {Scope} scope -
|
|
1777
|
+
* @param {Reason} reason -
|
|
1778
|
+
* @param {string} address -
|
|
1779
|
+
* @param {number} limit -
|
|
1780
|
+
* @throws {RevenexxException}
|
|
1781
|
+
* @returns {Promise<{}>}
|
|
1175
1782
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1176
1783
|
*/
|
|
1177
|
-
|
|
1784
|
+
suppressionIndex(channel?: string, scope?: Scope, reason?: Reason, address?: string, limit?: number): Promise<{}>;
|
|
1785
|
+
/**
|
|
1786
|
+
* 201 for a row this call created, 200 for an address that was already on
|
|
1787
|
+
* the list — so a client can tell whether it changed anything.
|
|
1788
|
+
*
|
|
1789
|
+
* The `scope` follows from the `reason` for every reason but `manual`, and
|
|
1790
|
+
* asking for a different one is 422 `suppression_scope_fixed` rather than
|
|
1791
|
+
* being quietly corrected: a caller who asked for `marketing` on a hard
|
|
1792
|
+
* bounce has the model wrong, and a silent upgrade to `all` would leave
|
|
1793
|
+
* them believing transactional mail still flows to an address that does not
|
|
1794
|
+
* exist.
|
|
1795
|
+
*
|
|
1796
|
+
* @param {string} params.address -
|
|
1797
|
+
* @param {string} params.channel -
|
|
1798
|
+
* @param {Reason} params.reason -
|
|
1799
|
+
* @param {string} params.expiresAt -
|
|
1800
|
+
* @param {string} params.note -
|
|
1801
|
+
* @param {Scope} params.scope -
|
|
1802
|
+
* @throws {RevenexxException}
|
|
1803
|
+
* @returns {Promise<{}>}
|
|
1804
|
+
*/
|
|
1805
|
+
suppressionStore(params: {
|
|
1806
|
+
address: string;
|
|
1807
|
+
channel: string;
|
|
1808
|
+
reason: Reason;
|
|
1809
|
+
expiresAt?: string;
|
|
1810
|
+
note?: string;
|
|
1811
|
+
scope?: Scope;
|
|
1812
|
+
}): Promise<{}>;
|
|
1178
1813
|
/**
|
|
1179
|
-
*
|
|
1814
|
+
* 201 for a row this call created, 200 for an address that was already on
|
|
1815
|
+
* the list — so a client can tell whether it changed anything.
|
|
1816
|
+
*
|
|
1817
|
+
* The `scope` follows from the `reason` for every reason but `manual`, and
|
|
1818
|
+
* asking for a different one is 422 `suppression_scope_fixed` rather than
|
|
1819
|
+
* being quietly corrected: a caller who asked for `marketing` on a hard
|
|
1820
|
+
* bounce has the model wrong, and a silent upgrade to `all` would leave
|
|
1821
|
+
* them believing transactional mail still flows to an address that does not
|
|
1822
|
+
* exist.
|
|
1823
|
+
*
|
|
1824
|
+
* @param {string} address -
|
|
1825
|
+
* @param {string} channel -
|
|
1826
|
+
* @param {Reason} reason -
|
|
1827
|
+
* @param {string} expiresAt -
|
|
1828
|
+
* @param {string} note -
|
|
1829
|
+
* @param {Scope} scope -
|
|
1830
|
+
* @throws {RevenexxException}
|
|
1831
|
+
* @returns {Promise<{}>}
|
|
1832
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1833
|
+
*/
|
|
1834
|
+
suppressionStore(address: string, channel: string, reason: Reason, expiresAt?: string, note?: string, scope?: Scope): Promise<{}>;
|
|
1835
|
+
/**
|
|
1836
|
+
* Audited, unlike most deletes in this service. Removing a row here is the
|
|
1837
|
+
* one operation that makes the service mail an address something decided
|
|
1838
|
+
* not to mail — if a complaint turns into a spam report later, "who took
|
|
1839
|
+
* * this off the list, and when" is the whole investigation.
|
|
1180
1840
|
*
|
|
1181
|
-
* @param {string} params.
|
|
1182
|
-
* @
|
|
1183
|
-
* @
|
|
1184
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1185
|
-
* @returns {Promise<Models.Topic>}
|
|
1841
|
+
* @param {string} params.id -
|
|
1842
|
+
* @throws {RevenexxException}
|
|
1843
|
+
* @returns {Promise<{}>}
|
|
1186
1844
|
*/
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
subscribe?: string[];
|
|
1191
|
-
}): Promise<Models.Topic>;
|
|
1845
|
+
suppressionDestroy(params: {
|
|
1846
|
+
id: string;
|
|
1847
|
+
}): Promise<{}>;
|
|
1192
1848
|
/**
|
|
1193
|
-
*
|
|
1849
|
+
* Audited, unlike most deletes in this service. Removing a row here is the
|
|
1850
|
+
* one operation that makes the service mail an address something decided
|
|
1851
|
+
* not to mail — if a complaint turns into a spam report later, "who took
|
|
1852
|
+
* * this off the list, and when" is the whole investigation.
|
|
1194
1853
|
*
|
|
1195
|
-
* @param {string}
|
|
1196
|
-
* @
|
|
1197
|
-
* @
|
|
1198
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1199
|
-
* @returns {Promise<Models.Topic>}
|
|
1854
|
+
* @param {string} id -
|
|
1855
|
+
* @throws {RevenexxException}
|
|
1856
|
+
* @returns {Promise<{}>}
|
|
1200
1857
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1201
1858
|
*/
|
|
1202
|
-
|
|
1859
|
+
suppressionDestroy(id: string): Promise<{}>;
|
|
1203
1860
|
/**
|
|
1204
|
-
*
|
|
1861
|
+
* `address` may be null: that is a person who has been erased
|
|
1862
|
+
* (POST /v1/privacy/erasures). The row survives as a hash, which is the
|
|
1863
|
+
* point — the clear text is gone and the address is still blocked.
|
|
1205
1864
|
*
|
|
1206
|
-
* @param {string} params.
|
|
1207
|
-
* @throws {
|
|
1865
|
+
* @param {string} params.id -
|
|
1866
|
+
* @throws {RevenexxException}
|
|
1208
1867
|
* @returns {Promise<{}>}
|
|
1209
1868
|
*/
|
|
1210
|
-
|
|
1211
|
-
|
|
1869
|
+
suppressionShow(params: {
|
|
1870
|
+
id: string;
|
|
1212
1871
|
}): Promise<{}>;
|
|
1213
1872
|
/**
|
|
1214
|
-
*
|
|
1873
|
+
* `address` may be null: that is a person who has been erased
|
|
1874
|
+
* (POST /v1/privacy/erasures). The row survives as a hash, which is the
|
|
1875
|
+
* point — the clear text is gone and the address is still blocked.
|
|
1215
1876
|
*
|
|
1216
|
-
* @param {string}
|
|
1217
|
-
* @throws {
|
|
1877
|
+
* @param {string} id -
|
|
1878
|
+
* @throws {RevenexxException}
|
|
1218
1879
|
* @returns {Promise<{}>}
|
|
1219
1880
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1220
1881
|
*/
|
|
1221
|
-
|
|
1882
|
+
suppressionShow(id: string): Promise<{}>;
|
|
1222
1883
|
/**
|
|
1223
|
-
*
|
|
1884
|
+
* `?channel=` narrows to one channel. Market-scoped as a BROWSING filter:
|
|
1885
|
+
* with `X-Revenexx-Market` the list is the global rows plus that market's,
|
|
1886
|
+
* without it the global rows only, and `?markets=all` is the unscoped read.
|
|
1887
|
+
* Never a boundary — the tenant is fixed by the credential and by row-level
|
|
1888
|
+
* security, and no value of either parameter reaches another tenant's rows.
|
|
1224
1889
|
*
|
|
1890
|
+
* @param {string} params.channel -
|
|
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.
|
|
1892
|
+
* @throws {RevenexxException}
|
|
1893
|
+
* @returns {Promise<{}>}
|
|
1894
|
+
*/
|
|
1895
|
+
templateIndex(params?: {
|
|
1896
|
+
channel?: string;
|
|
1897
|
+
markets?: string;
|
|
1898
|
+
}): Promise<{}>;
|
|
1899
|
+
/**
|
|
1900
|
+
* `?channel=` narrows to one channel. Market-scoped as a BROWSING filter:
|
|
1901
|
+
* with `X-Revenexx-Market` the list is the global rows plus that market's,
|
|
1902
|
+
* without it the global rows only, and `?markets=all` is the unscoped read.
|
|
1903
|
+
* Never a boundary — the tenant is fixed by the credential and by row-level
|
|
1904
|
+
* security, and no value of either parameter reaches another tenant's rows.
|
|
1225
1905
|
*
|
|
1226
|
-
* @param {string}
|
|
1227
|
-
* @
|
|
1228
|
-
* @
|
|
1906
|
+
* @param {string} channel -
|
|
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.
|
|
1908
|
+
* @throws {RevenexxException}
|
|
1909
|
+
* @returns {Promise<{}>}
|
|
1910
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1911
|
+
*/
|
|
1912
|
+
templateIndex(channel?: string, markets?: string): Promise<{}>;
|
|
1913
|
+
/**
|
|
1914
|
+
* Send a `design` document and the service compiles it against the
|
|
1915
|
+
* template's layout — or send `body_html` and `body_text` yourself and skip
|
|
1916
|
+
* compilation entirely.
|
|
1917
|
+
*
|
|
1918
|
+
* A design that the compiler refuses is 422 and NOTHING is written, with
|
|
1919
|
+
* `error.details` naming the offending block. That order is deliberate: a
|
|
1920
|
+
* save whose compile failed must leave the row alone, because storing the
|
|
1921
|
+
* design while keeping a stale body would hand the next send a mail that no
|
|
1922
|
+
* longer matches the document it claims to be built from, and nothing would
|
|
1923
|
+
* ever surface it. A sidecar that is down is 503 `mjml_unavailable`, which
|
|
1924
|
+
* is worth retrying; a rejected design is not.
|
|
1925
|
+
*
|
|
1926
|
+
* The row this creates is a DRAFT and sends nothing until it is published.
|
|
1927
|
+
*
|
|
1928
|
+
* @param {string} params.channel -
|
|
1929
|
+
* @param {string} params.key -
|
|
1930
|
+
* @param {string} params.bodyHtml -
|
|
1931
|
+
* @param {string} params.bodyText -
|
|
1932
|
+
* @param {string} params.contentSid - The Meta-approved template this one is sent as. Outside the
|
|
1933
|
+
24-hour service window it is the only thing WhatsApp carries.
|
|
1934
|
+
* @param {string[]} params.design - The design document (v2). Validated as "an array" and no further:
|
|
1935
|
+
the compiler is the authority on the block schema and answers with
|
|
1936
|
+
the offending block, which is a better error than anything a
|
|
1937
|
+
validation rule list could restate here.
|
|
1938
|
+
* @param {boolean} params.enabled -
|
|
1939
|
+
* @param {string} params.layoutId - Which letterhead this template is mailed on. Null (or absent) is
|
|
1940
|
+
not "no layout" — it means the tenant's default, resolved on
|
|
1941
|
+
every compile and every send, so the template keeps following
|
|
1942
|
+
that default when it changes.
|
|
1943
|
+
* @param {string} params.locale -
|
|
1944
|
+
* @param {string[]} params.markets - Which markets this template is browsed in. `[]` — the default —
|
|
1945
|
+
is global, so this is never nullable: null would be a second
|
|
1946
|
+
empty next to the one that already carries the meaning.
|
|
1947
|
+
* @param {MessageClass} params.messageClass - What messages from this template ARE. Defaulted in the column
|
|
1948
|
+
rather than here, so a client that has never heard of the field
|
|
1949
|
+
keeps sending transactional mail — which is what every template
|
|
1950
|
+
written before this field existed was.
|
|
1951
|
+
* @param {string} params.subject -
|
|
1952
|
+
* @param {boolean} params.testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
1953
|
+
a legitimate thing to write while somebody is lining two
|
|
1954
|
+
templates up back to back, and rejecting it would only make them
|
|
1955
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
1956
|
+
refused, because it is a template that can never send and looks
|
|
1957
|
+
from the list exactly like one that can.
|
|
1958
|
+
* @param {string} params.title - What the template is CALLED, as opposed to `key`, which is what
|
|
1959
|
+
it is addressed by. Without it a list has to derive a name from
|
|
1960
|
+
the key, and `order-confirmation` becomes "Order Confirmation" —
|
|
1961
|
+
passable English by accident and wrong in every other language.
|
|
1962
|
+
* @param {string} params.validFrom -
|
|
1963
|
+
* @param {string} params.validUntil -
|
|
1964
|
+
* @param {string[]} params.variableDefaults - Fallbacks for the placeholders an event did not fill — a map of
|
|
1965
|
+
variable name → string. Nullable, unlike `markets`: an empty map
|
|
1966
|
+
and no map are the same thing (nothing to fall back to), so there
|
|
1967
|
+
is no second state for a null to confuse anybody with.
|
|
1968
|
+
* @param {string[]} params.variables -
|
|
1969
|
+
* @param {WhatsappCategory} params.whatsappCategory - What a WhatsApp template is to Meta, which is what every message
|
|
1970
|
+
from it COSTS: marketing runs about five times utility, and in
|
|
1971
|
+
Germany that is roughly $0.12 against $0.025 a message. Refused
|
|
1972
|
+
rather than coerced when it is not one of Meta's four — a
|
|
1973
|
+
misspelled category that quietly became the default would be
|
|
1974
|
+
wrong on an invoice nobody reads until the quarter closes.
|
|
1975
|
+
Nullable: it is not a fact about an e-mail template, and what an
|
|
1976
|
+
unset one means is decided on read (Template::whatsappCategory).
|
|
1977
|
+
* @throws {RevenexxException}
|
|
1978
|
+
* @returns {Promise<{}>}
|
|
1229
1979
|
*/
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1980
|
+
templateStore(params: {
|
|
1981
|
+
channel: string;
|
|
1982
|
+
key: string;
|
|
1983
|
+
bodyHtml?: string;
|
|
1984
|
+
bodyText?: string;
|
|
1985
|
+
contentSid?: string;
|
|
1986
|
+
design?: string[];
|
|
1987
|
+
enabled?: boolean;
|
|
1988
|
+
layoutId?: string;
|
|
1989
|
+
locale?: string;
|
|
1990
|
+
markets?: string[];
|
|
1991
|
+
messageClass?: MessageClass;
|
|
1992
|
+
subject?: string;
|
|
1993
|
+
testMode?: boolean;
|
|
1994
|
+
title?: string;
|
|
1995
|
+
validFrom?: string;
|
|
1996
|
+
validUntil?: string;
|
|
1997
|
+
variableDefaults?: string[];
|
|
1998
|
+
variables?: string[];
|
|
1999
|
+
whatsappCategory?: WhatsappCategory;
|
|
2000
|
+
}): Promise<{}>;
|
|
1233
2001
|
/**
|
|
1234
|
-
*
|
|
2002
|
+
* Send a `design` document and the service compiles it against the
|
|
2003
|
+
* template's layout — or send `body_html` and `body_text` yourself and skip
|
|
2004
|
+
* compilation entirely.
|
|
2005
|
+
*
|
|
2006
|
+
* A design that the compiler refuses is 422 and NOTHING is written, with
|
|
2007
|
+
* `error.details` naming the offending block. That order is deliberate: a
|
|
2008
|
+
* save whose compile failed must leave the row alone, because storing the
|
|
2009
|
+
* design while keeping a stale body would hand the next send a mail that no
|
|
2010
|
+
* longer matches the document it claims to be built from, and nothing would
|
|
2011
|
+
* ever surface it. A sidecar that is down is 503 `mjml_unavailable`, which
|
|
2012
|
+
* is worth retrying; a rejected design is not.
|
|
2013
|
+
*
|
|
2014
|
+
* The row this creates is a DRAFT and sends nothing until it is published.
|
|
2015
|
+
*
|
|
2016
|
+
* @param {string} channel -
|
|
2017
|
+
* @param {string} key -
|
|
2018
|
+
* @param {string} bodyHtml -
|
|
2019
|
+
* @param {string} bodyText -
|
|
2020
|
+
* @param {string} contentSid - The Meta-approved template this one is sent as. Outside the
|
|
2021
|
+
24-hour service window it is the only thing WhatsApp carries.
|
|
2022
|
+
* @param {string[]} design - The design document (v2). Validated as "an array" and no further:
|
|
2023
|
+
the compiler is the authority on the block schema and answers with
|
|
2024
|
+
the offending block, which is a better error than anything a
|
|
2025
|
+
validation rule list could restate here.
|
|
2026
|
+
* @param {boolean} enabled -
|
|
2027
|
+
* @param {string} layoutId - Which letterhead this template is mailed on. Null (or absent) is
|
|
2028
|
+
not "no layout" — it means the tenant's default, resolved on
|
|
2029
|
+
every compile and every send, so the template keeps following
|
|
2030
|
+
that default when it changes.
|
|
2031
|
+
* @param {string} locale -
|
|
2032
|
+
* @param {string[]} markets - Which markets this template is browsed in. `[]` — the default —
|
|
2033
|
+
is global, so this is never nullable: null would be a second
|
|
2034
|
+
empty next to the one that already carries the meaning.
|
|
2035
|
+
* @param {MessageClass} messageClass - What messages from this template ARE. Defaulted in the column
|
|
2036
|
+
rather than here, so a client that has never heard of the field
|
|
2037
|
+
keeps sending transactional mail — which is what every template
|
|
2038
|
+
written before this field existed was.
|
|
2039
|
+
* @param {string} subject -
|
|
2040
|
+
* @param {boolean} testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
2041
|
+
a legitimate thing to write while somebody is lining two
|
|
2042
|
+
templates up back to back, and rejecting it would only make them
|
|
2043
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
2044
|
+
refused, because it is a template that can never send and looks
|
|
2045
|
+
from the list exactly like one that can.
|
|
2046
|
+
* @param {string} title - What the template is CALLED, as opposed to `key`, which is what
|
|
2047
|
+
it is addressed by. Without it a list has to derive a name from
|
|
2048
|
+
the key, and `order-confirmation` becomes "Order Confirmation" —
|
|
2049
|
+
passable English by accident and wrong in every other language.
|
|
2050
|
+
* @param {string} validFrom -
|
|
2051
|
+
* @param {string} validUntil -
|
|
2052
|
+
* @param {string[]} variableDefaults - Fallbacks for the placeholders an event did not fill — a map of
|
|
2053
|
+
variable name → string. Nullable, unlike `markets`: an empty map
|
|
2054
|
+
and no map are the same thing (nothing to fall back to), so there
|
|
2055
|
+
is no second state for a null to confuse anybody with.
|
|
2056
|
+
* @param {string[]} variables -
|
|
2057
|
+
* @param {WhatsappCategory} whatsappCategory - What a WhatsApp template is to Meta, which is what every message
|
|
2058
|
+
from it COSTS: marketing runs about five times utility, and in
|
|
2059
|
+
Germany that is roughly $0.12 against $0.025 a message. Refused
|
|
2060
|
+
rather than coerced when it is not one of Meta's four — a
|
|
2061
|
+
misspelled category that quietly became the default would be
|
|
2062
|
+
wrong on an invoice nobody reads until the quarter closes.
|
|
2063
|
+
Nullable: it is not a fact about an e-mail template, and what an
|
|
2064
|
+
unset one means is decided on read (Template::whatsappCategory).
|
|
2065
|
+
* @throws {RevenexxException}
|
|
2066
|
+
* @returns {Promise<{}>}
|
|
2067
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2068
|
+
*/
|
|
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<{}>;
|
|
2070
|
+
/**
|
|
2071
|
+
* Any binding still naming this template's key will find nothing when its
|
|
2072
|
+
* event next arrives. Audited under the KEY as well as the id: after the
|
|
2073
|
+
* delete the id resolves to nothing, and "deleted tmpl_01J…" is not
|
|
2074
|
+
* something an operator can act on six weeks later.
|
|
1235
2075
|
*
|
|
2076
|
+
* @param {string} params.id -
|
|
2077
|
+
* @throws {RevenexxException}
|
|
2078
|
+
* @returns {Promise<{}>}
|
|
2079
|
+
*/
|
|
2080
|
+
templateDestroy(params: {
|
|
2081
|
+
id: string;
|
|
2082
|
+
}): Promise<{}>;
|
|
2083
|
+
/**
|
|
2084
|
+
* Any binding still naming this template's key will find nothing when its
|
|
2085
|
+
* event next arrives. Audited under the KEY as well as the id: after the
|
|
2086
|
+
* delete the id resolves to nothing, and "deleted tmpl_01J…" is not
|
|
2087
|
+
* something an operator can act on six weeks later.
|
|
1236
2088
|
*
|
|
1237
|
-
* @param {string}
|
|
1238
|
-
* @throws {
|
|
1239
|
-
* @returns {Promise<
|
|
2089
|
+
* @param {string} id -
|
|
2090
|
+
* @throws {RevenexxException}
|
|
2091
|
+
* @returns {Promise<{}>}
|
|
1240
2092
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1241
2093
|
*/
|
|
1242
|
-
|
|
2094
|
+
templateDestroy(id: string): Promise<{}>;
|
|
1243
2095
|
/**
|
|
1244
|
-
*
|
|
2096
|
+
* What customers are receiving is the published snapshot; see
|
|
2097
|
+
* `GET /v1/templates/{id}/versions`, whose `meta.has_unpublished_changes`
|
|
2098
|
+
* says whether the two differ.
|
|
1245
2099
|
*
|
|
2100
|
+
* Not market-filtered, deliberately: market scoping is a browsing concern
|
|
2101
|
+
* and somebody holding an id may read the row.
|
|
1246
2102
|
*
|
|
1247
|
-
* @param {string} params.
|
|
1248
|
-
* @
|
|
1249
|
-
* @
|
|
1250
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1251
|
-
* @returns {Promise<Models.Topic>}
|
|
2103
|
+
* @param {string} params.id -
|
|
2104
|
+
* @throws {RevenexxException}
|
|
2105
|
+
* @returns {Promise<{}>}
|
|
1252
2106
|
*/
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
subscribe?: string[];
|
|
1257
|
-
}): Promise<Models.Topic>;
|
|
2107
|
+
templateShow(params: {
|
|
2108
|
+
id: string;
|
|
2109
|
+
}): Promise<{}>;
|
|
1258
2110
|
/**
|
|
1259
|
-
*
|
|
2111
|
+
* What customers are receiving is the published snapshot; see
|
|
2112
|
+
* `GET /v1/templates/{id}/versions`, whose `meta.has_unpublished_changes`
|
|
2113
|
+
* says whether the two differ.
|
|
1260
2114
|
*
|
|
2115
|
+
* Not market-filtered, deliberately: market scoping is a browsing concern
|
|
2116
|
+
* and somebody holding an id may read the row.
|
|
1261
2117
|
*
|
|
1262
|
-
* @param {string}
|
|
1263
|
-
* @
|
|
1264
|
-
* @
|
|
1265
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1266
|
-
* @returns {Promise<Models.Topic>}
|
|
2118
|
+
* @param {string} id -
|
|
2119
|
+
* @throws {RevenexxException}
|
|
2120
|
+
* @returns {Promise<{}>}
|
|
1267
2121
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1268
2122
|
*/
|
|
1269
|
-
|
|
2123
|
+
templateShow(id: string): Promise<{}>;
|
|
2124
|
+
/**
|
|
2125
|
+
* Only the fields sent are written, and the change is audited only when
|
|
2126
|
+
* something actually changed — a PATCH that resent the same values records
|
|
2127
|
+
* nothing, because an audit line on every save teaches its readers to
|
|
2128
|
+
* ignore the log.
|
|
2129
|
+
*
|
|
2130
|
+
* Moving a template to another layout recompiles it against the NEW one,
|
|
2131
|
+
* even when nothing else changed: colours, width and font come from the
|
|
2132
|
+
* layout and are already inlined, so a template that merely changed hands
|
|
2133
|
+
* would otherwise keep showing the old letterhead until somebody happened
|
|
2134
|
+
* to press save on it again.
|
|
2135
|
+
*
|
|
2136
|
+
* Changes nothing customers receive until the template is published.
|
|
2137
|
+
*
|
|
2138
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
2139
|
+
*
|
|
2140
|
+
* @param {string} params.id -
|
|
2141
|
+
* @param {string} params.bodyHtml -
|
|
2142
|
+
* @param {string} params.bodyText -
|
|
2143
|
+
* @param {string} params.contentSid -
|
|
2144
|
+
* @param {string[]} params.design -
|
|
2145
|
+
* @param {boolean} params.enabled -
|
|
2146
|
+
* @param {string} params.layoutId -
|
|
2147
|
+
* @param {string[]} params.markets -
|
|
2148
|
+
* @param {MessageClass} params.messageClass -
|
|
2149
|
+
* @param {string} params.subject -
|
|
2150
|
+
* @param {boolean} params.testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
2151
|
+
a legitimate thing to write while somebody is lining two
|
|
2152
|
+
templates up back to back, and rejecting it would only make them
|
|
2153
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
2154
|
+
refused, because it is a template that can never send and looks
|
|
2155
|
+
from the list exactly like one that can.
|
|
2156
|
+
* @param {string} params.title - Reclassifying is allowed and changes nothing that already went
|
|
2157
|
+
out: `messages.message_class` was copied onto each row at
|
|
2158
|
+
dispatch, so the log keeps saying what each message was.
|
|
2159
|
+
* @param {string} params.validFrom -
|
|
2160
|
+
* @param {string} params.validUntil -
|
|
2161
|
+
* @param {string[]} params.variableDefaults -
|
|
2162
|
+
* @param {string[]} params.variables -
|
|
2163
|
+
* @param {WhatsappCategory} params.whatsappCategory - Recategorising is allowed and takes effect on the next send: Meta
|
|
2164
|
+
move templates between categories on their own schedule, and a
|
|
2165
|
+
row that could not follow them would go on quoting a price that
|
|
2166
|
+
stopped being true.
|
|
2167
|
+
* @throws {RevenexxException}
|
|
2168
|
+
* @returns {Promise<{}>}
|
|
2169
|
+
*/
|
|
2170
|
+
templateUpdatePatch(params: {
|
|
2171
|
+
id: string;
|
|
2172
|
+
bodyHtml?: string;
|
|
2173
|
+
bodyText?: string;
|
|
2174
|
+
contentSid?: string;
|
|
2175
|
+
design?: string[];
|
|
2176
|
+
enabled?: boolean;
|
|
2177
|
+
layoutId?: string;
|
|
2178
|
+
markets?: string[];
|
|
2179
|
+
messageClass?: MessageClass;
|
|
2180
|
+
subject?: string;
|
|
2181
|
+
testMode?: boolean;
|
|
2182
|
+
title?: string;
|
|
2183
|
+
validFrom?: string;
|
|
2184
|
+
validUntil?: string;
|
|
2185
|
+
variableDefaults?: string[];
|
|
2186
|
+
variables?: string[];
|
|
2187
|
+
whatsappCategory?: WhatsappCategory;
|
|
2188
|
+
}): Promise<{}>;
|
|
1270
2189
|
/**
|
|
1271
|
-
*
|
|
1272
|
-
*
|
|
1273
|
-
*
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1276
|
-
*
|
|
1277
|
-
*
|
|
2190
|
+
* Only the fields sent are written, and the change is audited only when
|
|
2191
|
+
* something actually changed — a PATCH that resent the same values records
|
|
2192
|
+
* nothing, because an audit line on every save teaches its readers to
|
|
2193
|
+
* ignore the log.
|
|
2194
|
+
*
|
|
2195
|
+
* Moving a template to another layout recompiles it against the NEW one,
|
|
2196
|
+
* even when nothing else changed: colours, width and font come from the
|
|
2197
|
+
* layout and are already inlined, so a template that merely changed hands
|
|
2198
|
+
* would otherwise keep showing the old letterhead until somebody happened
|
|
2199
|
+
* to press save on it again.
|
|
2200
|
+
*
|
|
2201
|
+
* Changes nothing customers receive until the template is published.
|
|
2202
|
+
*
|
|
2203
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
2204
|
+
*
|
|
2205
|
+
* @param {string} id -
|
|
2206
|
+
* @param {string} bodyHtml -
|
|
2207
|
+
* @param {string} bodyText -
|
|
2208
|
+
* @param {string} contentSid -
|
|
2209
|
+
* @param {string[]} design -
|
|
2210
|
+
* @param {boolean} enabled -
|
|
2211
|
+
* @param {string} layoutId -
|
|
2212
|
+
* @param {string[]} markets -
|
|
2213
|
+
* @param {MessageClass} messageClass -
|
|
2214
|
+
* @param {string} subject -
|
|
2215
|
+
* @param {boolean} testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
2216
|
+
a legitimate thing to write while somebody is lining two
|
|
2217
|
+
templates up back to back, and rejecting it would only make them
|
|
2218
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
2219
|
+
refused, because it is a template that can never send and looks
|
|
2220
|
+
from the list exactly like one that can.
|
|
2221
|
+
* @param {string} title - Reclassifying is allowed and changes nothing that already went
|
|
2222
|
+
out: `messages.message_class` was copied onto each row at
|
|
2223
|
+
dispatch, so the log keeps saying what each message was.
|
|
2224
|
+
* @param {string} validFrom -
|
|
2225
|
+
* @param {string} validUntil -
|
|
2226
|
+
* @param {string[]} variableDefaults -
|
|
2227
|
+
* @param {string[]} variables -
|
|
2228
|
+
* @param {WhatsappCategory} whatsappCategory - Recategorising is allowed and takes effect on the next send: Meta
|
|
2229
|
+
move templates between categories on their own schedule, and a
|
|
2230
|
+
row that could not follow them would go on quoting a price that
|
|
2231
|
+
stopped being true.
|
|
2232
|
+
* @throws {RevenexxException}
|
|
2233
|
+
* @returns {Promise<{}>}
|
|
2234
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
2235
|
+
*/
|
|
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<{}>;
|
|
2237
|
+
/**
|
|
2238
|
+
* Only the fields sent are written, and the change is audited only when
|
|
2239
|
+
* something actually changed — a PATCH that resent the same values records
|
|
2240
|
+
* nothing, because an audit line on every save teaches its readers to
|
|
2241
|
+
* ignore the log.
|
|
2242
|
+
*
|
|
2243
|
+
* Moving a template to another layout recompiles it against the NEW one,
|
|
2244
|
+
* even when nothing else changed: colours, width and font come from the
|
|
2245
|
+
* layout and are already inlined, so a template that merely changed hands
|
|
2246
|
+
* would otherwise keep showing the old letterhead until somebody happened
|
|
2247
|
+
* to press save on it again.
|
|
2248
|
+
*
|
|
2249
|
+
* Changes nothing customers receive until the template is published.
|
|
2250
|
+
*
|
|
2251
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
2252
|
+
*
|
|
2253
|
+
* @param {string} params.id -
|
|
2254
|
+
* @param {string} params.bodyHtml -
|
|
2255
|
+
* @param {string} params.bodyText -
|
|
2256
|
+
* @param {string} params.contentSid -
|
|
2257
|
+
* @param {string[]} params.design -
|
|
2258
|
+
* @param {boolean} params.enabled -
|
|
2259
|
+
* @param {string} params.layoutId -
|
|
2260
|
+
* @param {string[]} params.markets -
|
|
2261
|
+
* @param {MessageClass} params.messageClass -
|
|
2262
|
+
* @param {string} params.subject -
|
|
2263
|
+
* @param {boolean} params.testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
2264
|
+
a legitimate thing to write while somebody is lining two
|
|
2265
|
+
templates up back to back, and rejecting it would only make them
|
|
2266
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
2267
|
+
refused, because it is a template that can never send and looks
|
|
2268
|
+
from the list exactly like one that can.
|
|
2269
|
+
* @param {string} params.title - Reclassifying is allowed and changes nothing that already went
|
|
2270
|
+
out: `messages.message_class` was copied onto each row at
|
|
2271
|
+
dispatch, so the log keeps saying what each message was.
|
|
2272
|
+
* @param {string} params.validFrom -
|
|
2273
|
+
* @param {string} params.validUntil -
|
|
2274
|
+
* @param {string[]} params.variableDefaults -
|
|
2275
|
+
* @param {string[]} params.variables -
|
|
2276
|
+
* @param {WhatsappCategory} params.whatsappCategory - Recategorising is allowed and takes effect on the next send: Meta
|
|
2277
|
+
move templates between categories on their own schedule, and a
|
|
2278
|
+
row that could not follow them would go on quoting a price that
|
|
2279
|
+
stopped being true.
|
|
2280
|
+
* @throws {RevenexxException}
|
|
2281
|
+
* @returns {Promise<{}>}
|
|
1278
2282
|
*/
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
2283
|
+
templateUpdate(params: {
|
|
2284
|
+
id: string;
|
|
2285
|
+
bodyHtml?: string;
|
|
2286
|
+
bodyText?: string;
|
|
2287
|
+
contentSid?: string;
|
|
2288
|
+
design?: string[];
|
|
2289
|
+
enabled?: boolean;
|
|
2290
|
+
layoutId?: string;
|
|
2291
|
+
markets?: string[];
|
|
2292
|
+
messageClass?: MessageClass;
|
|
2293
|
+
subject?: string;
|
|
2294
|
+
testMode?: boolean;
|
|
2295
|
+
title?: string;
|
|
2296
|
+
validFrom?: string;
|
|
2297
|
+
validUntil?: string;
|
|
2298
|
+
variableDefaults?: string[];
|
|
2299
|
+
variables?: string[];
|
|
2300
|
+
whatsappCategory?: WhatsappCategory;
|
|
2301
|
+
}): Promise<{}>;
|
|
1284
2302
|
/**
|
|
1285
|
-
*
|
|
1286
|
-
*
|
|
1287
|
-
*
|
|
1288
|
-
*
|
|
1289
|
-
*
|
|
1290
|
-
*
|
|
1291
|
-
*
|
|
2303
|
+
* Only the fields sent are written, and the change is audited only when
|
|
2304
|
+
* something actually changed — a PATCH that resent the same values records
|
|
2305
|
+
* nothing, because an audit line on every save teaches its readers to
|
|
2306
|
+
* ignore the log.
|
|
2307
|
+
*
|
|
2308
|
+
* Moving a template to another layout recompiles it against the NEW one,
|
|
2309
|
+
* even when nothing else changed: colours, width and font come from the
|
|
2310
|
+
* layout and are already inlined, so a template that merely changed hands
|
|
2311
|
+
* would otherwise keep showing the old letterhead until somebody happened
|
|
2312
|
+
* to press save on it again.
|
|
2313
|
+
*
|
|
2314
|
+
* Changes nothing customers receive until the template is published.
|
|
2315
|
+
*
|
|
2316
|
+
* This path answers on `PUT` and `PATCH`, both routed to the same action.
|
|
2317
|
+
*
|
|
2318
|
+
* @param {string} id -
|
|
2319
|
+
* @param {string} bodyHtml -
|
|
2320
|
+
* @param {string} bodyText -
|
|
2321
|
+
* @param {string} contentSid -
|
|
2322
|
+
* @param {string[]} design -
|
|
2323
|
+
* @param {boolean} enabled -
|
|
2324
|
+
* @param {string} layoutId -
|
|
2325
|
+
* @param {string[]} markets -
|
|
2326
|
+
* @param {MessageClass} messageClass -
|
|
2327
|
+
* @param {string} subject -
|
|
2328
|
+
* @param {boolean} testMode - When this template is in force — see App\Models\Template. `after_or_equal` and not `after`: a window of a single instant is
|
|
2329
|
+
a legitimate thing to write while somebody is lining two
|
|
2330
|
+
templates up back to back, and rejecting it would only make them
|
|
2331
|
+
add a second nobody can see. A window that runs BACKWARDS is
|
|
2332
|
+
refused, because it is a template that can never send and looks
|
|
2333
|
+
from the list exactly like one that can.
|
|
2334
|
+
* @param {string} title - Reclassifying is allowed and changes nothing that already went
|
|
2335
|
+
out: `messages.message_class` was copied onto each row at
|
|
2336
|
+
dispatch, so the log keeps saying what each message was.
|
|
2337
|
+
* @param {string} validFrom -
|
|
2338
|
+
* @param {string} validUntil -
|
|
2339
|
+
* @param {string[]} variableDefaults -
|
|
2340
|
+
* @param {string[]} variables -
|
|
2341
|
+
* @param {WhatsappCategory} whatsappCategory - Recategorising is allowed and takes effect on the next send: Meta
|
|
2342
|
+
move templates between categories on their own schedule, and a
|
|
2343
|
+
row that could not follow them would go on quoting a price that
|
|
2344
|
+
stopped being true.
|
|
2345
|
+
* @throws {RevenexxException}
|
|
2346
|
+
* @returns {Promise<{}>}
|
|
1292
2347
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1293
2348
|
*/
|
|
1294
|
-
|
|
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<{}>;
|
|
1295
2350
|
/**
|
|
1296
|
-
*
|
|
2351
|
+
* Answers 200 with the version already live when there was nothing to
|
|
2352
|
+
* publish, and 201 when a new one was written — so a client can tell
|
|
2353
|
+
* whether its press did anything without diffing the payload.
|
|
1297
2354
|
*
|
|
1298
|
-
* @param {string} params.
|
|
1299
|
-
* @param {string
|
|
1300
|
-
* @
|
|
1301
|
-
* @
|
|
1302
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1303
|
-
* @returns {Promise<Models.SubscriberList>}
|
|
2355
|
+
* @param {string} params.templateId -
|
|
2356
|
+
* @param {string} params.note -
|
|
2357
|
+
* @throws {RevenexxException}
|
|
2358
|
+
* @returns {Promise<{}>}
|
|
1304
2359
|
*/
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
total?: boolean;
|
|
1310
|
-
}): Promise<Models.SubscriberList>;
|
|
2360
|
+
templateVersionStore(params: {
|
|
2361
|
+
templateId: string;
|
|
2362
|
+
note?: string;
|
|
2363
|
+
}): Promise<{}>;
|
|
1311
2364
|
/**
|
|
1312
|
-
*
|
|
2365
|
+
* Answers 200 with the version already live when there was nothing to
|
|
2366
|
+
* publish, and 201 when a new one was written — so a client can tell
|
|
2367
|
+
* whether its press did anything without diffing the payload.
|
|
1313
2368
|
*
|
|
1314
|
-
* @param {string}
|
|
1315
|
-
* @param {string
|
|
1316
|
-
* @
|
|
1317
|
-
* @
|
|
1318
|
-
* @throws {RevenexxAPIRevenexxException}
|
|
1319
|
-
* @returns {Promise<Models.SubscriberList>}
|
|
2369
|
+
* @param {string} templateId -
|
|
2370
|
+
* @param {string} note -
|
|
2371
|
+
* @throws {RevenexxException}
|
|
2372
|
+
* @returns {Promise<{}>}
|
|
1320
2373
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1321
2374
|
*/
|
|
1322
|
-
|
|
2375
|
+
templateVersionStore(templateId: string, note?: string): Promise<{}>;
|
|
1323
2376
|
/**
|
|
1324
|
-
*
|
|
2377
|
+
* Summaries only: version, subject, message class, layout, who published it
|
|
2378
|
+
* and when, and their note. The BODIES are deliberately absent — a compiled
|
|
2379
|
+
* `body_html` runs to tens of kilobytes, and a template with forty versions
|
|
2380
|
+
* would make this a several-megabyte download that nobody scrolls to the
|
|
2381
|
+
* end of. `GET /v1/templates/{id}/versions/{version}` serves the full
|
|
2382
|
+
* snapshot for the one somebody actually opened.
|
|
1325
2383
|
*
|
|
1326
|
-
*
|
|
1327
|
-
*
|
|
1328
|
-
*
|
|
1329
|
-
*
|
|
1330
|
-
*
|
|
2384
|
+
* `meta.published_version_id` says which of them is live — a property of
|
|
2385
|
+
* the template, said once, rather than a flag repeated on every row that
|
|
2386
|
+
* two rows could then claim. `meta.has_unpublished_changes` says whether
|
|
2387
|
+
* the draft has moved on since.
|
|
2388
|
+
*
|
|
2389
|
+
* @param {string} params.templateId -
|
|
2390
|
+
* @throws {RevenexxException}
|
|
2391
|
+
* @returns {Promise<{}>}
|
|
1331
2392
|
*/
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
targetId: string;
|
|
1336
|
-
}): Promise<Models.Subscriber>;
|
|
2393
|
+
templateVersionIndex(params: {
|
|
2394
|
+
templateId: string;
|
|
2395
|
+
}): Promise<{}>;
|
|
1337
2396
|
/**
|
|
1338
|
-
*
|
|
2397
|
+
* Summaries only: version, subject, message class, layout, who published it
|
|
2398
|
+
* and when, and their note. The BODIES are deliberately absent — a compiled
|
|
2399
|
+
* `body_html` runs to tens of kilobytes, and a template with forty versions
|
|
2400
|
+
* would make this a several-megabyte download that nobody scrolls to the
|
|
2401
|
+
* end of. `GET /v1/templates/{id}/versions/{version}` serves the full
|
|
2402
|
+
* snapshot for the one somebody actually opened.
|
|
1339
2403
|
*
|
|
1340
|
-
*
|
|
1341
|
-
*
|
|
1342
|
-
*
|
|
1343
|
-
*
|
|
1344
|
-
*
|
|
2404
|
+
* `meta.published_version_id` says which of them is live — a property of
|
|
2405
|
+
* the template, said once, rather than a flag repeated on every row that
|
|
2406
|
+
* two rows could then claim. `meta.has_unpublished_changes` says whether
|
|
2407
|
+
* the draft has moved on since.
|
|
2408
|
+
*
|
|
2409
|
+
* @param {string} templateId -
|
|
2410
|
+
* @throws {RevenexxException}
|
|
2411
|
+
* @returns {Promise<{}>}
|
|
1345
2412
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1346
2413
|
*/
|
|
1347
|
-
|
|
2414
|
+
templateVersionIndex(templateId: string): Promise<{}>;
|
|
1348
2415
|
/**
|
|
1349
|
-
*
|
|
2416
|
+
* Addressed by its VERSION NUMBER — the small integer on the history row,
|
|
2417
|
+
* not the snapshot's id — because that is the number an author has in front
|
|
2418
|
+
* of them.
|
|
1350
2419
|
*
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1353
|
-
*
|
|
2420
|
+
* This is what sends actually rendered while that version was live, so it
|
|
2421
|
+
* is the thing to read when the question is "what did the mail we sent in
|
|
2422
|
+
* * March say".
|
|
2423
|
+
*
|
|
2424
|
+
* @param {string} params.templateId -
|
|
2425
|
+
* @param {string} params.version -
|
|
2426
|
+
* @throws {RevenexxException}
|
|
1354
2427
|
* @returns {Promise<{}>}
|
|
1355
2428
|
*/
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
2429
|
+
templateVersionShow(params: {
|
|
2430
|
+
templateId: string;
|
|
2431
|
+
version: string;
|
|
1359
2432
|
}): Promise<{}>;
|
|
1360
2433
|
/**
|
|
1361
|
-
*
|
|
2434
|
+
* Addressed by its VERSION NUMBER — the small integer on the history row,
|
|
2435
|
+
* not the snapshot's id — because that is the number an author has in front
|
|
2436
|
+
* of them.
|
|
2437
|
+
*
|
|
2438
|
+
* This is what sends actually rendered while that version was live, so it
|
|
2439
|
+
* is the thing to read when the question is "what did the mail we sent in
|
|
2440
|
+
* * March say".
|
|
1362
2441
|
*
|
|
1363
|
-
* @param {string}
|
|
1364
|
-
* @param {string}
|
|
1365
|
-
* @throws {
|
|
2442
|
+
* @param {string} templateId -
|
|
2443
|
+
* @param {string} version -
|
|
2444
|
+
* @throws {RevenexxException}
|
|
1366
2445
|
* @returns {Promise<{}>}
|
|
1367
2446
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1368
2447
|
*/
|
|
1369
|
-
|
|
2448
|
+
templateVersionShow(templateId: string, version: string): Promise<{}>;
|
|
1370
2449
|
/**
|
|
1371
|
-
*
|
|
2450
|
+
* `publish: true` makes it live in the same transaction — see
|
|
2451
|
+
* TemplatePublisher::restore for why that flag exists rather than asking
|
|
2452
|
+
* the caller for a second round trip.
|
|
1372
2453
|
*
|
|
1373
|
-
*
|
|
1374
|
-
* @param {string} params.
|
|
1375
|
-
* @param {
|
|
1376
|
-
* @throws {
|
|
1377
|
-
* @returns {Promise<
|
|
2454
|
+
* @param {string} params.templateId -
|
|
2455
|
+
* @param {string} params.version -
|
|
2456
|
+
* @param {boolean} params.publish -
|
|
2457
|
+
* @throws {RevenexxException}
|
|
2458
|
+
* @returns {Promise<{}>}
|
|
1378
2459
|
*/
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
2460
|
+
templateVersionRestore(params: {
|
|
2461
|
+
templateId: string;
|
|
2462
|
+
version: string;
|
|
2463
|
+
publish?: boolean;
|
|
2464
|
+
}): Promise<{}>;
|
|
1383
2465
|
/**
|
|
1384
|
-
*
|
|
2466
|
+
* `publish: true` makes it live in the same transaction — see
|
|
2467
|
+
* TemplatePublisher::restore for why that flag exists rather than asking
|
|
2468
|
+
* the caller for a second round trip.
|
|
1385
2469
|
*
|
|
1386
|
-
*
|
|
1387
|
-
* @param {string}
|
|
1388
|
-
* @param {
|
|
1389
|
-
* @throws {
|
|
1390
|
-
* @returns {Promise<
|
|
2470
|
+
* @param {string} templateId -
|
|
2471
|
+
* @param {string} version -
|
|
2472
|
+
* @param {boolean} publish -
|
|
2473
|
+
* @throws {RevenexxException}
|
|
2474
|
+
* @returns {Promise<{}>}
|
|
1391
2475
|
* @deprecated Use the object parameter style method for a better developer experience.
|
|
1392
2476
|
*/
|
|
1393
|
-
|
|
2477
|
+
templateVersionRestore(templateId: string, version: string, publish?: boolean): Promise<{}>;
|
|
1394
2478
|
}
|
|
1395
2479
|
|
|
1396
2480
|
export { Messaging };
|