@etohq/types 2.0.0 → 2.0.2
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/dist/api-key/common/api-key.d.ts +1 -1
- package/dist/api-key/common/api-key.d.ts.map +1 -1
- package/dist/bundles.d.ts +0 -1
- package/dist/bundles.d.ts.map +1 -1
- package/dist/bundles.js +1 -2
- package/dist/bundles.js.map +1 -1
- package/dist/index.d.ts +1 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/dist/notification/common.d.ts +1 -2
- package/dist/notification/common.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/user/common.d.ts +1 -1
- package/dist/user/common.d.ts.map +1 -1
- package/dist/workflows-sdk/common.d.ts +1 -1
- package/dist/workflows-sdk/common.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/http/access-link/index.d.ts +0 -4
- package/dist/http/access-link/index.d.ts.map +0 -1
- package/dist/http/access-link/index.js +0 -20
- package/dist/http/access-link/index.js.map +0 -1
- package/dist/http/access-link/invitation.d.ts +0 -144
- package/dist/http/access-link/invitation.d.ts.map +0 -1
- package/dist/http/access-link/invitation.js +0 -7
- package/dist/http/access-link/invitation.js.map +0 -1
- package/dist/http/access-link/payloads.d.ts +0 -104
- package/dist/http/access-link/payloads.d.ts.map +0 -1
- package/dist/http/access-link/payloads.js +0 -3
- package/dist/http/access-link/payloads.js.map +0 -1
- package/dist/http/access-link/queries.d.ts +0 -110
- package/dist/http/access-link/queries.d.ts.map +0 -1
- package/dist/http/access-link/queries.js +0 -3
- package/dist/http/access-link/queries.js.map +0 -1
- package/dist/http/access-link/responses.d.ts +0 -169
- package/dist/http/access-link/responses.d.ts.map +0 -1
- package/dist/http/access-link/responses.js +0 -3
- package/dist/http/access-link/responses.js.map +0 -1
- package/dist/http/ambassador/admin/index.d.ts +0 -4
- package/dist/http/ambassador/admin/index.d.ts.map +0 -1
- package/dist/http/ambassador/admin/index.js +0 -20
- package/dist/http/ambassador/admin/index.js.map +0 -1
- package/dist/http/ambassador/admin/payloads.d.ts +0 -97
- package/dist/http/ambassador/admin/payloads.d.ts.map +0 -1
- package/dist/http/ambassador/admin/payloads.js +0 -3
- package/dist/http/ambassador/admin/payloads.js.map +0 -1
- package/dist/http/ambassador/admin/queries.d.ts +0 -120
- package/dist/http/ambassador/admin/queries.d.ts.map +0 -1
- package/dist/http/ambassador/admin/queries.js +0 -3
- package/dist/http/ambassador/admin/queries.js.map +0 -1
- package/dist/http/ambassador/admin/responses.d.ts +0 -171
- package/dist/http/ambassador/admin/responses.d.ts.map +0 -1
- package/dist/http/ambassador/admin/responses.js +0 -3
- package/dist/http/ambassador/admin/responses.js.map +0 -1
- package/dist/http/ambassador/index.d.ts +0 -2
- package/dist/http/ambassador/index.d.ts.map +0 -1
- package/dist/http/ambassador/index.js +0 -18
- package/dist/http/ambassador/index.js.map +0 -1
- package/dist/http/api-key/admin/index.d.ts +0 -4
- package/dist/http/api-key/admin/index.d.ts.map +0 -1
- package/dist/http/api-key/admin/index.js +0 -20
- package/dist/http/api-key/admin/index.js.map +0 -1
- package/dist/http/api-key/admin/payloads.d.ts +0 -21
- package/dist/http/api-key/admin/payloads.d.ts.map +0 -1
- package/dist/http/api-key/admin/payloads.js +0 -3
- package/dist/http/api-key/admin/payloads.js.map +0 -1
- package/dist/http/api-key/admin/queries.d.ts +0 -41
- package/dist/http/api-key/admin/queries.d.ts.map +0 -1
- package/dist/http/api-key/admin/queries.js +0 -18
- package/dist/http/api-key/admin/queries.js.map +0 -1
- package/dist/http/api-key/admin/responses.d.ts +0 -67
- package/dist/http/api-key/admin/responses.d.ts.map +0 -1
- package/dist/http/api-key/admin/responses.js +0 -3
- package/dist/http/api-key/admin/responses.js.map +0 -1
- package/dist/http/api-key/index.d.ts +0 -2
- package/dist/http/api-key/index.d.ts.map +0 -1
- package/dist/http/api-key/index.js +0 -18
- package/dist/http/api-key/index.js.map +0 -1
- package/dist/http/auth/index.d.ts +0 -2
- package/dist/http/auth/index.d.ts.map +0 -1
- package/dist/http/auth/index.js +0 -18
- package/dist/http/auth/index.js.map +0 -1
- package/dist/http/auth/payloads.d.ts +0 -10
- package/dist/http/auth/payloads.d.ts.map +0 -1
- package/dist/http/auth/payloads.js +0 -3
- package/dist/http/auth/payloads.js.map +0 -1
- package/dist/http/common/additional_data.d.ts +0 -15
- package/dist/http/common/additional_data.d.ts.map +0 -1
- package/dist/http/common/additional_data.js +0 -3
- package/dist/http/common/additional_data.js.map +0 -1
- package/dist/http/common/index.d.ts +0 -4
- package/dist/http/common/index.d.ts.map +0 -1
- package/dist/http/common/index.js +0 -20
- package/dist/http/common/index.js.map +0 -1
- package/dist/http/common/request.d.ts +0 -71
- package/dist/http/common/request.d.ts.map +0 -1
- package/dist/http/common/request.js +0 -3
- package/dist/http/common/request.js.map +0 -1
- package/dist/http/common/response.d.ts +0 -73
- package/dist/http/common/response.d.ts.map +0 -1
- package/dist/http/common/response.js +0 -3
- package/dist/http/common/response.js.map +0 -1
- package/dist/http/currency/common.d.ts +0 -48
- package/dist/http/currency/common.d.ts.map +0 -1
- package/dist/http/currency/common.js +0 -3
- package/dist/http/currency/common.js.map +0 -1
- package/dist/http/currency/index.d.ts +0 -2
- package/dist/http/currency/index.d.ts.map +0 -1
- package/dist/http/currency/index.js +0 -18
- package/dist/http/currency/index.js.map +0 -1
- package/dist/http/encore/dal-validator.d.ts +0 -187
- package/dist/http/encore/dal-validator.d.ts.map +0 -1
- package/dist/http/encore/dal-validator.js +0 -9
- package/dist/http/encore/dal-validator.js.map +0 -1
- package/dist/http/encore/encore.d.ts +0 -199
- package/dist/http/encore/encore.d.ts.map +0 -1
- package/dist/http/encore/encore.js +0 -16
- package/dist/http/encore/encore.js.map +0 -1
- package/dist/http/encore/index.d.ts +0 -3
- package/dist/http/encore/index.d.ts.map +0 -1
- package/dist/http/encore/index.js +0 -3
- package/dist/http/encore/index.js.map +0 -1
- package/dist/http/file/admin/entities.d.ts +0 -4
- package/dist/http/file/admin/entities.d.ts.map +0 -1
- package/dist/http/file/admin/entities.js +0 -3
- package/dist/http/file/admin/entities.js.map +0 -1
- package/dist/http/file/admin/index.d.ts +0 -4
- package/dist/http/file/admin/index.d.ts.map +0 -1
- package/dist/http/file/admin/index.js +0 -20
- package/dist/http/file/admin/index.js.map +0 -1
- package/dist/http/file/admin/payloads.d.ts +0 -21
- package/dist/http/file/admin/payloads.d.ts.map +0 -1
- package/dist/http/file/admin/payloads.js +0 -3
- package/dist/http/file/admin/payloads.js.map +0 -1
- package/dist/http/file/admin/responses.d.ts +0 -43
- package/dist/http/file/admin/responses.d.ts.map +0 -1
- package/dist/http/file/admin/responses.js +0 -3
- package/dist/http/file/admin/responses.js.map +0 -1
- package/dist/http/file/common.d.ts +0 -28
- package/dist/http/file/common.d.ts.map +0 -1
- package/dist/http/file/common.js +0 -3
- package/dist/http/file/common.js.map +0 -1
- package/dist/http/file/index.d.ts +0 -3
- package/dist/http/file/index.d.ts.map +0 -1
- package/dist/http/file/index.js +0 -19
- package/dist/http/file/index.js.map +0 -1
- package/dist/http/file/store.d.ts +0 -4
- package/dist/http/file/store.d.ts.map +0 -1
- package/dist/http/file/store.js +0 -3
- package/dist/http/file/store.js.map +0 -1
- package/dist/http/index.d.ts +0 -12
- package/dist/http/index.d.ts.map +0 -1
- package/dist/http/index.js +0 -28
- package/dist/http/index.js.map +0 -1
- package/dist/http/invite/admin/entities.d.ts +0 -35
- package/dist/http/invite/admin/entities.d.ts.map +0 -1
- package/dist/http/invite/admin/entities.js +0 -3
- package/dist/http/invite/admin/entities.js.map +0 -1
- package/dist/http/invite/admin/index.d.ts +0 -5
- package/dist/http/invite/admin/index.d.ts.map +0 -1
- package/dist/http/invite/admin/index.js +0 -21
- package/dist/http/invite/admin/index.js.map +0 -1
- package/dist/http/invite/admin/payloads.d.ts +0 -25
- package/dist/http/invite/admin/payloads.d.ts.map +0 -1
- package/dist/http/invite/admin/payloads.js +0 -3
- package/dist/http/invite/admin/payloads.js.map +0 -1
- package/dist/http/invite/admin/queries.d.ts +0 -11
- package/dist/http/invite/admin/queries.d.ts.map +0 -1
- package/dist/http/invite/admin/queries.js +0 -3
- package/dist/http/invite/admin/queries.js.map +0 -1
- package/dist/http/invite/admin/responses.d.ts +0 -28
- package/dist/http/invite/admin/responses.d.ts.map +0 -1
- package/dist/http/invite/admin/responses.js +0 -3
- package/dist/http/invite/admin/responses.js.map +0 -1
- package/dist/http/invite/index.d.ts +0 -2
- package/dist/http/invite/index.d.ts.map +0 -1
- package/dist/http/invite/index.js +0 -18
- package/dist/http/invite/index.js.map +0 -1
- package/dist/http/locale/admin/entities.d.ts +0 -4
- package/dist/http/locale/admin/entities.d.ts.map +0 -1
- package/dist/http/locale/admin/entities.js +0 -3
- package/dist/http/locale/admin/entities.js.map +0 -1
- package/dist/http/locale/admin/index.d.ts +0 -4
- package/dist/http/locale/admin/index.d.ts.map +0 -1
- package/dist/http/locale/admin/index.js +0 -20
- package/dist/http/locale/admin/index.js.map +0 -1
- package/dist/http/locale/admin/queries.d.ts +0 -18
- package/dist/http/locale/admin/queries.d.ts.map +0 -1
- package/dist/http/locale/admin/queries.js +0 -3
- package/dist/http/locale/admin/queries.js.map +0 -1
- package/dist/http/locale/admin/responses.d.ts +0 -16
- package/dist/http/locale/admin/responses.d.ts.map +0 -1
- package/dist/http/locale/admin/responses.js +0 -3
- package/dist/http/locale/admin/responses.js.map +0 -1
- package/dist/http/locale/common.d.ts +0 -29
- package/dist/http/locale/common.d.ts.map +0 -1
- package/dist/http/locale/common.js +0 -3
- package/dist/http/locale/common.js.map +0 -1
- package/dist/http/locale/index.d.ts +0 -4
- package/dist/http/locale/index.d.ts.map +0 -1
- package/dist/http/locale/index.js +0 -20
- package/dist/http/locale/index.js.map +0 -1
- package/dist/http/locale/store/entities.d.ts +0 -4
- package/dist/http/locale/store/entities.d.ts.map +0 -1
- package/dist/http/locale/store/entities.js +0 -3
- package/dist/http/locale/store/entities.js.map +0 -1
- package/dist/http/locale/store/index.d.ts +0 -3
- package/dist/http/locale/store/index.d.ts.map +0 -1
- package/dist/http/locale/store/index.js +0 -19
- package/dist/http/locale/store/index.js.map +0 -1
- package/dist/http/locale/store/responses.d.ts +0 -8
- package/dist/http/locale/store/responses.d.ts.map +0 -1
- package/dist/http/locale/store/responses.js +0 -3
- package/dist/http/locale/store/responses.js.map +0 -1
- package/dist/http/notification/admin/entities.d.ts +0 -68
- package/dist/http/notification/admin/entities.d.ts.map +0 -1
- package/dist/http/notification/admin/entities.js +0 -3
- package/dist/http/notification/admin/entities.js.map +0 -1
- package/dist/http/notification/admin/index.d.ts +0 -4
- package/dist/http/notification/admin/index.d.ts.map +0 -1
- package/dist/http/notification/admin/index.js +0 -20
- package/dist/http/notification/admin/index.js.map +0 -1
- package/dist/http/notification/admin/queries.d.ts +0 -19
- package/dist/http/notification/admin/queries.d.ts.map +0 -1
- package/dist/http/notification/admin/queries.js +0 -3
- package/dist/http/notification/admin/queries.js.map +0 -1
- package/dist/http/notification/admin/responses.d.ts +0 -16
- package/dist/http/notification/admin/responses.d.ts.map +0 -1
- package/dist/http/notification/admin/responses.js +0 -3
- package/dist/http/notification/admin/responses.js.map +0 -1
- package/dist/http/notification/index.d.ts +0 -2
- package/dist/http/notification/index.d.ts.map +0 -1
- package/dist/http/notification/index.js +0 -18
- package/dist/http/notification/index.js.map +0 -1
- package/dist/http/payment/admin/entities.d.ts +0 -46
- package/dist/http/payment/admin/entities.d.ts.map +0 -1
- package/dist/http/payment/admin/entities.js +0 -3
- package/dist/http/payment/admin/entities.js.map +0 -1
- package/dist/http/payment/admin/index.d.ts +0 -5
- package/dist/http/payment/admin/index.d.ts.map +0 -1
- package/dist/http/payment/admin/index.js +0 -21
- package/dist/http/payment/admin/index.js.map +0 -1
- package/dist/http/payment/admin/payloads.d.ts +0 -40
- package/dist/http/payment/admin/payloads.d.ts.map +0 -1
- package/dist/http/payment/admin/payloads.js +0 -3
- package/dist/http/payment/admin/payloads.js.map +0 -1
- package/dist/http/payment/admin/queries.d.ts +0 -55
- package/dist/http/payment/admin/queries.d.ts.map +0 -1
- package/dist/http/payment/admin/queries.js +0 -3
- package/dist/http/payment/admin/queries.js.map +0 -1
- package/dist/http/payment/admin/responses.d.ts +0 -48
- package/dist/http/payment/admin/responses.d.ts.map +0 -1
- package/dist/http/payment/admin/responses.js +0 -3
- package/dist/http/payment/admin/responses.js.map +0 -1
- package/dist/http/payment/common.d.ts +0 -369
- package/dist/http/payment/common.d.ts.map +0 -1
- package/dist/http/payment/common.js +0 -3
- package/dist/http/payment/common.js.map +0 -1
- package/dist/http/payment/index.d.ts +0 -2
- package/dist/http/payment/index.d.ts.map +0 -1
- package/dist/http/payment/index.js +0 -18
- package/dist/http/payment/index.js.map +0 -1
- package/dist/http/plugins/admin/responses.d.ts +0 -13
- package/dist/http/plugins/admin/responses.d.ts.map +0 -1
- package/dist/http/plugins/admin/responses.js +0 -3
- package/dist/http/plugins/admin/responses.js.map +0 -1
- package/dist/http/plugins/index.d.ts +0 -2
- package/dist/http/plugins/index.d.ts.map +0 -1
- package/dist/http/plugins/index.js +0 -18
- package/dist/http/plugins/index.js.map +0 -1
- package/dist/http/refund-reason/admin/entities.d.ts +0 -4
- package/dist/http/refund-reason/admin/entities.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/entities.js +0 -3
- package/dist/http/refund-reason/admin/entities.js.map +0 -1
- package/dist/http/refund-reason/admin/index.d.ts +0 -5
- package/dist/http/refund-reason/admin/index.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/index.js +0 -21
- package/dist/http/refund-reason/admin/index.js.map +0 -1
- package/dist/http/refund-reason/admin/payloads.d.ts +0 -30
- package/dist/http/refund-reason/admin/payloads.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/payloads.js +0 -3
- package/dist/http/refund-reason/admin/payloads.js.map +0 -1
- package/dist/http/refund-reason/admin/queries.d.ts +0 -8
- package/dist/http/refund-reason/admin/queries.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/queries.js +0 -3
- package/dist/http/refund-reason/admin/queries.js.map +0 -1
- package/dist/http/refund-reason/admin/responses.d.ts +0 -18
- package/dist/http/refund-reason/admin/responses.d.ts.map +0 -1
- package/dist/http/refund-reason/admin/responses.js +0 -3
- package/dist/http/refund-reason/admin/responses.js.map +0 -1
- package/dist/http/refund-reason/common.d.ts +0 -65
- package/dist/http/refund-reason/common.d.ts.map +0 -1
- package/dist/http/refund-reason/common.js +0 -3
- package/dist/http/refund-reason/common.js.map +0 -1
- package/dist/http/refund-reason/index.d.ts +0 -2
- package/dist/http/refund-reason/index.d.ts.map +0 -1
- package/dist/http/refund-reason/index.js +0 -18
- package/dist/http/refund-reason/index.js.map +0 -1
- package/dist/http/translations/admin/entities.d.ts +0 -81
- package/dist/http/translations/admin/entities.d.ts.map +0 -1
- package/dist/http/translations/admin/entities.js +0 -3
- package/dist/http/translations/admin/entities.js.map +0 -1
- package/dist/http/translations/admin/index.d.ts +0 -5
- package/dist/http/translations/admin/index.d.ts.map +0 -1
- package/dist/http/translations/admin/index.js +0 -21
- package/dist/http/translations/admin/index.js.map +0 -1
- package/dist/http/translations/admin/payloads.d.ts +0 -90
- package/dist/http/translations/admin/payloads.d.ts.map +0 -1
- package/dist/http/translations/admin/payloads.js +0 -3
- package/dist/http/translations/admin/payloads.js.map +0 -1
- package/dist/http/translations/admin/queries.d.ts +0 -85
- package/dist/http/translations/admin/queries.d.ts.map +0 -1
- package/dist/http/translations/admin/queries.js +0 -6
- package/dist/http/translations/admin/queries.js.map +0 -1
- package/dist/http/translations/admin/responses.d.ts +0 -152
- package/dist/http/translations/admin/responses.d.ts.map +0 -1
- package/dist/http/translations/admin/responses.js +0 -3
- package/dist/http/translations/admin/responses.js.map +0 -1
- package/dist/http/translations/index.d.ts +0 -2
- package/dist/http/translations/index.d.ts.map +0 -1
- package/dist/http/translations/index.js +0 -18
- package/dist/http/translations/index.js.map +0 -1
- package/dist/http/user/admin/entities.d.ts +0 -39
- package/dist/http/user/admin/entities.d.ts.map +0 -1
- package/dist/http/user/admin/entities.js +0 -3
- package/dist/http/user/admin/entities.js.map +0 -1
- package/dist/http/user/admin/index.d.ts +0 -5
- package/dist/http/user/admin/index.d.ts.map +0 -1
- package/dist/http/user/admin/index.js +0 -21
- package/dist/http/user/admin/index.js.map +0 -1
- package/dist/http/user/admin/payloads.d.ts +0 -25
- package/dist/http/user/admin/payloads.d.ts.map +0 -1
- package/dist/http/user/admin/payloads.js +0 -3
- package/dist/http/user/admin/payloads.js.map +0 -1
- package/dist/http/user/admin/queries.d.ts +0 -38
- package/dist/http/user/admin/queries.d.ts.map +0 -1
- package/dist/http/user/admin/queries.js +0 -19
- package/dist/http/user/admin/queries.js.map +0 -1
- package/dist/http/user/admin/responses.d.ts +0 -18
- package/dist/http/user/admin/responses.d.ts.map +0 -1
- package/dist/http/user/admin/responses.js +0 -3
- package/dist/http/user/admin/responses.js.map +0 -1
- package/dist/http/user/index.d.ts +0 -2
- package/dist/http/user/index.d.ts.map +0 -1
- package/dist/http/user/index.js +0 -18
- package/dist/http/user/index.js.map +0 -1
- package/dist/http/view-configuration/admin/columns.d.ts +0 -72
- package/dist/http/view-configuration/admin/columns.d.ts.map +0 -1
- package/dist/http/view-configuration/admin/columns.js +0 -3
- package/dist/http/view-configuration/admin/columns.js.map +0 -1
- package/dist/http/view-configuration/admin/index.d.ts +0 -5
- package/dist/http/view-configuration/admin/index.d.ts.map +0 -1
- package/dist/http/view-configuration/admin/index.js +0 -21
- package/dist/http/view-configuration/admin/index.js.map +0 -1
- package/dist/http/view-configuration/admin/payloads.d.ts +0 -103
- package/dist/http/view-configuration/admin/payloads.d.ts.map +0 -1
- package/dist/http/view-configuration/admin/payloads.js +0 -3
- package/dist/http/view-configuration/admin/payloads.js.map +0 -1
- package/dist/http/view-configuration/admin/queries.d.ts +0 -35
- package/dist/http/view-configuration/admin/queries.d.ts.map +0 -1
- package/dist/http/view-configuration/admin/queries.js +0 -6
- package/dist/http/view-configuration/admin/queries.js.map +0 -1
- package/dist/http/view-configuration/admin/responses.d.ts +0 -78
- package/dist/http/view-configuration/admin/responses.d.ts.map +0 -1
- package/dist/http/view-configuration/admin/responses.js +0 -3
- package/dist/http/view-configuration/admin/responses.js.map +0 -1
- package/dist/http/view-configuration/index.d.ts +0 -2
- package/dist/http/view-configuration/index.d.ts.map +0 -1
- package/dist/http/view-configuration/index.js +0 -18
- package/dist/http/view-configuration/index.js.map +0 -1
- package/dist/http/workflow-execution/admin/entities.d.ts +0 -202
- package/dist/http/workflow-execution/admin/entities.d.ts.map +0 -1
- package/dist/http/workflow-execution/admin/entities.js +0 -3
- package/dist/http/workflow-execution/admin/entities.js.map +0 -1
- package/dist/http/workflow-execution/admin/index.d.ts +0 -4
- package/dist/http/workflow-execution/admin/index.d.ts.map +0 -1
- package/dist/http/workflow-execution/admin/index.js +0 -20
- package/dist/http/workflow-execution/admin/index.js.map +0 -1
- package/dist/http/workflow-execution/admin/queries.d.ts +0 -16
- package/dist/http/workflow-execution/admin/queries.d.ts.map +0 -1
- package/dist/http/workflow-execution/admin/queries.js +0 -3
- package/dist/http/workflow-execution/admin/queries.js.map +0 -1
- package/dist/http/workflow-execution/admin/responses.d.ts +0 -19
- package/dist/http/workflow-execution/admin/responses.d.ts.map +0 -1
- package/dist/http/workflow-execution/admin/responses.js +0 -3
- package/dist/http/workflow-execution/admin/responses.js.map +0 -1
- package/dist/http/workflow-execution/index.d.ts +0 -2
- package/dist/http/workflow-execution/index.d.ts.map +0 -1
- package/dist/http/workflow-execution/index.js +0 -18
- package/dist/http/workflow-execution/index.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/queries.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DeleteResponse, PaginatedResponse } from "../../common";
|
|
2
|
-
import { AdminRefundReason } from "./entities";
|
|
3
|
-
export interface AdminRefundReasonResponse {
|
|
4
|
-
/**
|
|
5
|
-
* The refund reason's details.
|
|
6
|
-
*/
|
|
7
|
-
refund_reason: AdminRefundReason;
|
|
8
|
-
}
|
|
9
|
-
export interface AdminRefundReasonListResponse extends PaginatedResponse<{
|
|
10
|
-
/**
|
|
11
|
-
* The list of refund reasons.
|
|
12
|
-
*/
|
|
13
|
-
refund_reasons: AdminRefundReason[];
|
|
14
|
-
}> {
|
|
15
|
-
}
|
|
16
|
-
export interface AdminRefundReasonDeleteResponse extends DeleteResponse<"refund_reason"> {
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAA;AAE9C,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,aAAa,EAAE,iBAAiB,CAAA;CACjC;AAED,MAAM,WAAW,6BACf,SAAQ,iBAAiB,CAAC;IACxB;;OAEG;IACH,cAAc,EAAE,iBAAiB,EAAE,CAAA;CACpC,CAAC;CAAG;AAEP,MAAM,WAAW,+BACf,SAAQ,cAAc,CAAC,eAAe,CAAC;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/refund-reason/admin/responses.ts"],"names":[],"mappings":""}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { OperatorMap } from "../encore";
|
|
2
|
-
import { FindParams } from "../common";
|
|
3
|
-
export interface BaseRefundReason {
|
|
4
|
-
/**
|
|
5
|
-
* The refund reason's ID.
|
|
6
|
-
*/
|
|
7
|
-
id: string;
|
|
8
|
-
/**
|
|
9
|
-
* The refund reason's label.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* "Refund"
|
|
13
|
-
*/
|
|
14
|
-
label: string;
|
|
15
|
-
/**
|
|
16
|
-
* The refund reason's code.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* "refund"
|
|
20
|
-
*/
|
|
21
|
-
code: string;
|
|
22
|
-
/**
|
|
23
|
-
* The refund reason's description.
|
|
24
|
-
*/
|
|
25
|
-
description?: string | null;
|
|
26
|
-
/**
|
|
27
|
-
* Custom key-value pairs that can be added to the refund reason.
|
|
28
|
-
*/
|
|
29
|
-
metadata?: Record<string, any> | null;
|
|
30
|
-
/**
|
|
31
|
-
* The date that the refund reason was created.
|
|
32
|
-
*/
|
|
33
|
-
created_at: string;
|
|
34
|
-
/**
|
|
35
|
-
* The date that the refund reason was updated.
|
|
36
|
-
*/
|
|
37
|
-
updated_at: string;
|
|
38
|
-
}
|
|
39
|
-
export interface BaseRefundReasonListParams extends FindParams {
|
|
40
|
-
/**
|
|
41
|
-
* A search term to search for refund reasons by label or description.
|
|
42
|
-
*/
|
|
43
|
-
q?: string;
|
|
44
|
-
/**
|
|
45
|
-
* Filter by refund reason ID(s).
|
|
46
|
-
*/
|
|
47
|
-
id?: string | string[];
|
|
48
|
-
/**
|
|
49
|
-
* Filter by parent refund reason ID(s).
|
|
50
|
-
*/
|
|
51
|
-
parent_refund_reason_id?: string | OperatorMap<string | string[]>;
|
|
52
|
-
/**
|
|
53
|
-
* Filter by creation date.
|
|
54
|
-
*/
|
|
55
|
-
created_at?: OperatorMap<string>;
|
|
56
|
-
/**
|
|
57
|
-
* Filter by update date.
|
|
58
|
-
*/
|
|
59
|
-
updated_at?: OperatorMap<string>;
|
|
60
|
-
/**
|
|
61
|
-
* Apply filters on the refund reason's deletion date.
|
|
62
|
-
*/
|
|
63
|
-
deleted_at?: OperatorMap<string>;
|
|
64
|
-
}
|
|
65
|
-
//# sourceMappingURL=common.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/http/refund-reason/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAEtC,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAEtB;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,GAAG,MAAM,EAAE,CAAC,CAAA;IAEjE;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAEhC;;OAEG;IACH,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;CACjC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/http/refund-reason/common.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/refund-reason/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./admin"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/http/refund-reason/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
export interface AdminTranslation {
|
|
2
|
-
/**
|
|
3
|
-
* The ID of the translation.
|
|
4
|
-
*/
|
|
5
|
-
id: string;
|
|
6
|
-
/**
|
|
7
|
-
* The ID of the entity being translated.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* "prod_123"
|
|
11
|
-
*/
|
|
12
|
-
reference_id: string;
|
|
13
|
-
/**
|
|
14
|
-
* The name of the table that the translation belongs to.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* "product"
|
|
18
|
-
*/
|
|
19
|
-
reference: string;
|
|
20
|
-
/**
|
|
21
|
-
* The BCP 47 language tag code for this translation.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* "en-US"
|
|
25
|
-
*/
|
|
26
|
-
locale_code: string;
|
|
27
|
-
/**
|
|
28
|
-
* The translations of the resource.
|
|
29
|
-
* The object's keys are the field names of the data model, and its value is the translated value.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* {
|
|
33
|
-
* "title": "Product Title",
|
|
34
|
-
* "description": "Product Description",
|
|
35
|
-
* }
|
|
36
|
-
*/
|
|
37
|
-
translations: Record<string, unknown>;
|
|
38
|
-
/**
|
|
39
|
-
* The date and time the translation was created.
|
|
40
|
-
*/
|
|
41
|
-
created_at: Date | string;
|
|
42
|
-
/**
|
|
43
|
-
* The date and time the translation was last updated.
|
|
44
|
-
*/
|
|
45
|
-
updated_at: Date | string;
|
|
46
|
-
/**
|
|
47
|
-
* The date and time the translation was deleted.
|
|
48
|
-
*/
|
|
49
|
-
deleted_at: Date | string | null;
|
|
50
|
-
}
|
|
51
|
-
export interface AdminTranslationSettings {
|
|
52
|
-
/**
|
|
53
|
-
* The ID of the settings.
|
|
54
|
-
*/
|
|
55
|
-
id: string;
|
|
56
|
-
/**
|
|
57
|
-
* The date and time the settings were created.
|
|
58
|
-
*/
|
|
59
|
-
created_at: Date | string;
|
|
60
|
-
/**
|
|
61
|
-
* The date and time the settings were last updated.
|
|
62
|
-
*/
|
|
63
|
-
updated_at: Date | string;
|
|
64
|
-
/**
|
|
65
|
-
* The date and time the settings were deleted.
|
|
66
|
-
*/
|
|
67
|
-
deleted_at: Date | string | null;
|
|
68
|
-
/**
|
|
69
|
-
* The entity type.
|
|
70
|
-
*/
|
|
71
|
-
entity_type: string;
|
|
72
|
-
/**
|
|
73
|
-
* The translatable fields.
|
|
74
|
-
*/
|
|
75
|
-
fields: string[];
|
|
76
|
-
/**
|
|
77
|
-
* Whether the entity translatable status is enabled.
|
|
78
|
-
*/
|
|
79
|
-
is_active: boolean;
|
|
80
|
-
}
|
|
81
|
-
//# sourceMappingURL=entities.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/entities.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;;;;OAKG;IACH,YAAY,EAAE,MAAM,CAAA;IAEpB;;;;;OAKG;IACH,SAAS,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,WAAW,EAAE,MAAM,CAAA;IAEnB;;;;;;;;;OASG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAErC;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IAEzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;CACjC;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,CAAA;IACzB;;OAEG;IACH,UAAU,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAChC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,SAAS,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entities.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/entities.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,YAAY,CAAA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./queries"), exports);
|
|
18
|
-
__exportStar(require("./responses"), exports);
|
|
19
|
-
__exportStar(require("./entities"), exports);
|
|
20
|
-
__exportStar(require("./payloads"), exports);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,8CAA2B;AAC3B,6CAA0B;AAC1B,6CAA0B"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
interface AdminCreateTranslation {
|
|
2
|
-
/**
|
|
3
|
-
* The ID of the entity being translated.
|
|
4
|
-
*/
|
|
5
|
-
reference_id: string;
|
|
6
|
-
/**
|
|
7
|
-
* The type of entity being translated (e.g., "product", "product_variant").
|
|
8
|
-
*/
|
|
9
|
-
reference: string;
|
|
10
|
-
/**
|
|
11
|
-
* The BCP 47 language tag code for this translation (e.g., "en-US", "fr-FR").
|
|
12
|
-
*/
|
|
13
|
-
locale_code: string;
|
|
14
|
-
/**
|
|
15
|
-
* The translated fields as key-value pairs.
|
|
16
|
-
*/
|
|
17
|
-
translations: Record<string, unknown>;
|
|
18
|
-
}
|
|
19
|
-
interface AdminUpdateTranslation {
|
|
20
|
-
/**
|
|
21
|
-
* The ID of the translation.
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
* The translated fields as key-value pairs.
|
|
26
|
-
*/
|
|
27
|
-
translations: Record<string, unknown>;
|
|
28
|
-
}
|
|
29
|
-
export interface AdminBatchTranslations {
|
|
30
|
-
/**
|
|
31
|
-
* The translations to create.
|
|
32
|
-
*/
|
|
33
|
-
create?: AdminCreateTranslation[];
|
|
34
|
-
/**
|
|
35
|
-
* The translations to update.
|
|
36
|
-
*/
|
|
37
|
-
update?: AdminUpdateTranslation[];
|
|
38
|
-
/**
|
|
39
|
-
* The translations to delete.
|
|
40
|
-
*/
|
|
41
|
-
delete?: string[];
|
|
42
|
-
}
|
|
43
|
-
interface AdminCreateTranslationSettings {
|
|
44
|
-
/**
|
|
45
|
-
* The entity type (e.g., "product", "product_variant").
|
|
46
|
-
*/
|
|
47
|
-
entity_type: string;
|
|
48
|
-
/**
|
|
49
|
-
* The translatable fields for this entity type.
|
|
50
|
-
*/
|
|
51
|
-
fields: string[];
|
|
52
|
-
/**
|
|
53
|
-
* Whether the entity translatable status is enabled.
|
|
54
|
-
*/
|
|
55
|
-
is_active?: boolean;
|
|
56
|
-
}
|
|
57
|
-
interface AdminUpdateTranslationSettings {
|
|
58
|
-
/**
|
|
59
|
-
* The ID of the settings.
|
|
60
|
-
*/
|
|
61
|
-
id: string;
|
|
62
|
-
/**
|
|
63
|
-
* The entity type (e.g., "product", "product_variant").
|
|
64
|
-
*/
|
|
65
|
-
entity_type?: string;
|
|
66
|
-
/**
|
|
67
|
-
* The translatable fields for this entity type.
|
|
68
|
-
*/
|
|
69
|
-
fields?: string[];
|
|
70
|
-
/**
|
|
71
|
-
* Whether the entity translatable status is enabled.
|
|
72
|
-
*/
|
|
73
|
-
is_active?: boolean;
|
|
74
|
-
}
|
|
75
|
-
export interface AdminBatchTranslationSettings {
|
|
76
|
-
/**
|
|
77
|
-
* The translation settings to create.
|
|
78
|
-
*/
|
|
79
|
-
create?: AdminCreateTranslationSettings[];
|
|
80
|
-
/**
|
|
81
|
-
* The translation settings to update.
|
|
82
|
-
*/
|
|
83
|
-
update?: AdminUpdateTranslationSettings[];
|
|
84
|
-
/**
|
|
85
|
-
* The translation settings to delete (IDs).
|
|
86
|
-
*/
|
|
87
|
-
delete?: string[];
|
|
88
|
-
}
|
|
89
|
-
export {};
|
|
90
|
-
//# sourceMappingURL=payloads.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payloads.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,UAAU,sBAAsB;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACtC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,sBAAsB,EAAE,CAAA;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,UAAU,8BAA8B;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAA;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,UAAU,8BAA8B;IACtC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,6BAA6B;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,8BAA8B,EAAE,CAAA;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/payloads.ts"],"names":[],"mappings":""}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { FindParams } from "../../common/request";
|
|
2
|
-
import { BaseFilterable } from "../../encore";
|
|
3
|
-
export interface AdminTranslationsListParams extends FindParams, BaseFilterable<AdminTranslationsListParams> {
|
|
4
|
-
/**
|
|
5
|
-
* Query or keywords to search the translations searchable fields.
|
|
6
|
-
*/
|
|
7
|
-
q?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Filter by entity ID.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* "prod_123"
|
|
13
|
-
*/
|
|
14
|
-
reference_id?: string | string[];
|
|
15
|
-
/**
|
|
16
|
-
* Filter by the table of the resource being translated.
|
|
17
|
-
*
|
|
18
|
-
* @example
|
|
19
|
-
* "product"
|
|
20
|
-
*/
|
|
21
|
-
reference?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Filter by locale code in BCP 47 format.
|
|
24
|
-
*
|
|
25
|
-
* @example
|
|
26
|
-
* "en-US"
|
|
27
|
-
*/
|
|
28
|
-
locale_code?: string | string[];
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Request body for translation statistics endpoint.
|
|
32
|
-
*/
|
|
33
|
-
export interface AdminTranslationStatisticsParams {
|
|
34
|
-
/**
|
|
35
|
-
* The locales to check translations for.
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ["en-US", "fr-FR"]
|
|
39
|
-
*/
|
|
40
|
-
locales: string[];
|
|
41
|
-
/**
|
|
42
|
-
* The entity types to get statistics for.
|
|
43
|
-
*
|
|
44
|
-
* @example
|
|
45
|
-
* ["product", "product_variant"]
|
|
46
|
-
*/
|
|
47
|
-
entity_types: string[];
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Query parameters for translation settings endpoint.
|
|
51
|
-
*/
|
|
52
|
-
export interface AdminTranslationSettingsParams {
|
|
53
|
-
/**
|
|
54
|
-
* The entity type to get the settings for (e.g., "product").
|
|
55
|
-
*/
|
|
56
|
-
entity_type?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Whether to get the settings for active/inactive entities only.
|
|
59
|
-
*/
|
|
60
|
-
is_active?: boolean;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Query parameters for translation entities endpoint.
|
|
64
|
-
*/
|
|
65
|
-
export interface AdminTranslationEntitiesParams extends FindParams {
|
|
66
|
-
/**
|
|
67
|
-
* The entity type to retrieve (e.g., "product", "product_variant").
|
|
68
|
-
* This determines which table to query and which translatable fields to return.
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* "product"
|
|
72
|
-
*/
|
|
73
|
-
type: string;
|
|
74
|
-
/**
|
|
75
|
-
* Filter by entity ID(s). Can be a single ID or an array of IDs.
|
|
76
|
-
*
|
|
77
|
-
* @example
|
|
78
|
-
* "prod_123"
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* ["prod_123", "prod_456"]
|
|
82
|
-
*/
|
|
83
|
-
id?: string | string[];
|
|
84
|
-
}
|
|
85
|
-
//# sourceMappingURL=queries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/queries.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,MAAM,WAAW,2BACf,SAAQ,UAAU,EAChB,cAAc,CAAC,2BAA2B,CAAC;IAC7C;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAA;IACV;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAChC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;OAKG;IACH,OAAO,EAAE,MAAM,EAAE,CAAA;IAEjB;;;;;OAKG;IACH,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,8BAA+B,SAAQ,UAAU;IAChE;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAA;IAEZ;;;;;;;;OAQG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;CACvB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// NOTE: Keep all query/request types in `src/http/**` import scope.
|
|
3
|
-
// Encore's TS parser can fail to resolve or generate schemas when request
|
|
4
|
-
// types reach outside the HTTP tree.
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
//# sourceMappingURL=queries.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/queries.ts"],"names":[],"mappings":";AAAA,oEAAoE;AACpE,0EAA0E;AAC1E,qCAAqC"}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import type { PaginatedResponse } from "../../common/response";
|
|
2
|
-
import { AdminTranslation, AdminTranslationSettings } from "./entities";
|
|
3
|
-
export interface AdminTranslationsResponse {
|
|
4
|
-
/**
|
|
5
|
-
* The list of translations.
|
|
6
|
-
*/
|
|
7
|
-
translation: AdminTranslation;
|
|
8
|
-
}
|
|
9
|
-
export type AdminTranslationsListResponse = PaginatedResponse<{
|
|
10
|
-
/**
|
|
11
|
-
* The list of translations.
|
|
12
|
-
*/
|
|
13
|
-
translations: AdminTranslation[];
|
|
14
|
-
}>;
|
|
15
|
-
export interface AdminTranslationsBatchResponse {
|
|
16
|
-
/**
|
|
17
|
-
* The created translations.
|
|
18
|
-
*/
|
|
19
|
-
created: AdminTranslation[];
|
|
20
|
-
/**
|
|
21
|
-
* The updated translations.
|
|
22
|
-
*/
|
|
23
|
-
updated: AdminTranslation[];
|
|
24
|
-
/**
|
|
25
|
-
* The deleted translations.
|
|
26
|
-
*/
|
|
27
|
-
deleted: {
|
|
28
|
-
/**
|
|
29
|
-
* The IDs of the deleted translations.
|
|
30
|
-
*/
|
|
31
|
-
ids: string[];
|
|
32
|
-
/**
|
|
33
|
-
* The name of the deleted object.
|
|
34
|
-
*/
|
|
35
|
-
object: "translation";
|
|
36
|
-
/**
|
|
37
|
-
* Whether the translations were deleted successfully.
|
|
38
|
-
*/
|
|
39
|
-
deleted: boolean;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* Statistics for a specific locale.
|
|
44
|
-
*/
|
|
45
|
-
export interface AdminTranslationLocaleStatistics {
|
|
46
|
-
/**
|
|
47
|
-
* Expected number of translated fields.
|
|
48
|
-
*/
|
|
49
|
-
expected: number;
|
|
50
|
-
/**
|
|
51
|
-
* Actual number of translated fields. This doesn't count
|
|
52
|
-
* translations that are null or empty.
|
|
53
|
-
*/
|
|
54
|
-
translated: number;
|
|
55
|
-
/**
|
|
56
|
-
* Number of missing translations for expected translatable
|
|
57
|
-
* fields.
|
|
58
|
-
*/
|
|
59
|
-
missing: number;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Statistics for an entity type.
|
|
63
|
-
*/
|
|
64
|
-
export interface AdminTranslationEntityStatistics extends AdminTranslationLocaleStatistics {
|
|
65
|
-
/**
|
|
66
|
-
* Breakdown of statistics by locale.
|
|
67
|
-
*/
|
|
68
|
-
by_locale: Record<string, AdminTranslationLocaleStatistics>;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Response for translation statistics endpoint.
|
|
72
|
-
*/
|
|
73
|
-
export interface AdminTranslationStatisticsResponse {
|
|
74
|
-
/**
|
|
75
|
-
* Statistics by entity type.
|
|
76
|
-
*/
|
|
77
|
-
statistics: Record<string, AdminTranslationEntityStatistics>;
|
|
78
|
-
}
|
|
79
|
-
/**
|
|
80
|
-
* Response for translation settings endpoint.
|
|
81
|
-
*/
|
|
82
|
-
export interface AdminTranslationSettingsResponse {
|
|
83
|
-
/**
|
|
84
|
-
* A mapping of entity types to their tranlsation settings.
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* {
|
|
88
|
-
* "product": {
|
|
89
|
-
* "id": "trset_123",
|
|
90
|
-
* "fields": ["title", "description", "subtitle", "status"],
|
|
91
|
-
* "is_active": true,
|
|
92
|
-
* "inactive_fields": []
|
|
93
|
-
* },
|
|
94
|
-
* "product_variant": {
|
|
95
|
-
* "id": "trset_456",
|
|
96
|
-
* "fields": ["title", "material"],
|
|
97
|
-
* "is_active": false,
|
|
98
|
-
* "inactive_fields": []
|
|
99
|
-
* }
|
|
100
|
-
* }
|
|
101
|
-
*/
|
|
102
|
-
translation_settings: Record<string, Pick<AdminTranslationSettings, "id" | "fields" | "is_active"> & {
|
|
103
|
-
inactive_fields: string[];
|
|
104
|
-
}>;
|
|
105
|
-
}
|
|
106
|
-
export interface AdminBatchTranslationSettingsResponse {
|
|
107
|
-
/**
|
|
108
|
-
* The created settings.
|
|
109
|
-
*/
|
|
110
|
-
created: AdminTranslationSettings[];
|
|
111
|
-
/**
|
|
112
|
-
* The updated settings.
|
|
113
|
-
*/
|
|
114
|
-
updated: AdminTranslationSettings[];
|
|
115
|
-
/**
|
|
116
|
-
* The deleted settings.
|
|
117
|
-
*/
|
|
118
|
-
deleted: {
|
|
119
|
-
ids: string[];
|
|
120
|
-
object: "translation_settings";
|
|
121
|
-
deleted: boolean;
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Response for translation entities endpoint.
|
|
126
|
-
* Returns paginated entities with only their translatable fields and all their translations.
|
|
127
|
-
*/
|
|
128
|
-
export interface AdminTranslationEntitiesResponse {
|
|
129
|
-
/**
|
|
130
|
-
* The list of entities with their translatable fields.
|
|
131
|
-
* Each entity contains only the fields configured as translatable
|
|
132
|
-
* for that entity type in the translation settings, plus all
|
|
133
|
-
* translations for all locales.
|
|
134
|
-
*/
|
|
135
|
-
data: (Record<string, unknown> & {
|
|
136
|
-
id: string;
|
|
137
|
-
translations: AdminTranslation[];
|
|
138
|
-
})[];
|
|
139
|
-
/**
|
|
140
|
-
* The total count of entities.
|
|
141
|
-
*/
|
|
142
|
-
count: number;
|
|
143
|
-
/**
|
|
144
|
-
* The offset of the current page.
|
|
145
|
-
*/
|
|
146
|
-
offset: number;
|
|
147
|
-
/**
|
|
148
|
-
* The limit of items per page.
|
|
149
|
-
*/
|
|
150
|
-
limit: number;
|
|
151
|
-
}
|
|
152
|
-
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../../../src/http/translations/admin/responses.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAEvE,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,WAAW,EAAE,gBAAgB,CAAA;CAC9B;AAED,MAAM,MAAM,6BAA6B,GAAG,iBAAiB,CAAC;IAC5D;;OAEG;IACH,YAAY,EAAE,gBAAgB,EAAE,CAAA;CACjC,CAAC,CAAA;AAEF,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B;;OAEG;IACH,OAAO,EAAE,gBAAgB,EAAE,CAAA;IAC3B;;OAEG;IACH,OAAO,EAAE;QACP;;WAEG;QACH,GAAG,EAAE,MAAM,EAAE,CAAA;QACb;;WAEG;QACH,MAAM,EAAE,aAAa,CAAA;QACrB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAA;IAChB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAA;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,gCACf,SAAQ,gCAAgC;IACxC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;CAC5D;AAED;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,gCAAgC,CAAC,CAAA;CAC7D;AAED;;GAEG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;;;;;;;;;;;;;;OAkBG;IACH,oBAAoB,EAAE,MAAM,CAC1B,MAAM,EACN,IAAI,CAAC,wBAAwB,EAAE,IAAI,GAAG,QAAQ,GAAG,WAAW,CAAC,GAAG;QAC9D,eAAe,EAAE,MAAM,EAAE,CAAA;KAC1B,CACF,CAAA;CACF;AAED,MAAM,WAAW,qCAAqC;IACpD;;OAEG;IACH,OAAO,EAAE,wBAAwB,EAAE,CAAA;IACnC;;OAEG;IACH,OAAO,EAAE,wBAAwB,EAAE,CAAA;IACnC;;OAEG;IACH,OAAO,EAAE;QACP,GAAG,EAAE,MAAM,EAAE,CAAA;QACb,MAAM,EAAE,sBAAsB,CAAA;QAC9B,OAAO,EAAE,OAAO,CAAA;KACjB,CAAA;CACF;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;;;;OAKG;IACH,IAAI,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;QAC/B,EAAE,EAAE,MAAM,CAAA;QACV,YAAY,EAAE,gBAAgB,EAAE,CAAA;KACjC,CAAC,EAAE,CAAA;IAEJ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;CACd"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../../../src/http/translations/admin/responses.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/http/translations/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|