@plyaz/types 1.13.16 → 1.14.0
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/endpoints/infobip/types.d.ts +6 -1
- package/dist/api/errors/types.d.ts +1 -1
- package/dist/api/index.cjs +158 -100
- package/dist/api/index.cjs.map +1 -1
- package/dist/api/index.js +60 -2
- package/dist/api/index.js.map +1 -1
- package/dist/auth/index.cjs +12 -4196
- package/dist/auth/index.cjs.map +1 -1
- package/dist/auth/index.js +10 -6
- package/dist/auth/index.js.map +1 -1
- package/dist/auth/schemas.d.ts +20 -21
- package/dist/db/database.types.d.ts +1 -1
- package/dist/db/features-config.types.d.ts +2 -2
- package/dist/db/index.cjs.map +1 -1
- package/dist/db/index.js.map +1 -1
- package/dist/db/replica.types.d.ts +2 -2
- package/dist/errors/index.cjs +158 -100
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.js +60 -2
- package/dist/errors/index.js.map +1 -1
- package/dist/errors/types.d.ts +47 -6
- package/dist/http/constants.d.ts +265 -0
- package/dist/index.cjs +761 -4344
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +600 -7
- package/dist/index.js.map +1 -1
- package/dist/locale/types.d.ts +109 -0
- package/dist/notifications/enums.d.ts +0 -1
- package/dist/notifications/index.cjs +155 -4201
- package/dist/notifications/index.cjs.map +1 -1
- package/dist/notifications/index.d.ts +11 -0
- package/dist/notifications/index.js +133 -1
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/schemas.d.ts +13 -3
- package/dist/notifications/types.d.ts +66 -24
- package/dist/notifications/webhooks.schemas.d.ts +278 -0
- package/dist/payments/base-error/types.d.ts +1 -1
- package/dist/payments/gateways/provider/types.d.ts +1 -1
- package/dist/payments/gateways/routings/types.d.ts +1 -1
- package/dist/payments/provider/adapter/types.d.ts +1 -1
- package/dist/payments/provider/core/types.d.ts +1 -1
- package/dist/payments/provider/payment-provider/types.d.ts +1 -1
- package/dist/payments/transaction/types.d.ts +1 -1
- package/package.json +4 -5
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* All types are generated from official Infobip OpenAPI specifications.
|
|
10
10
|
*/
|
|
11
|
-
import type { HTTP_STATUS } from '
|
|
11
|
+
import type { HTTP_STATUS } from '../../../http/constants';
|
|
12
12
|
import type { operations as EmailOperations, components as EmailComponents } from './generated/email.generated';
|
|
13
13
|
/**
|
|
14
14
|
* Standard Infobip API error response structure
|
|
@@ -226,6 +226,11 @@ export type InfobipEmailStatus = EmailComponents['schemas']['34438aa163eb13a2a06
|
|
|
226
226
|
* Email attachment
|
|
227
227
|
*/
|
|
228
228
|
export type InfobipEmailAttachment = EmailComponents['schemas']['39bb6975d36d214ea076d974c69ec0b82edda805f4c6bf36a3f6f7d154c98fa0.Attachment'];
|
|
229
|
+
/**
|
|
230
|
+
* Email binary attachment (base64-encoded content)
|
|
231
|
+
* Used when sending emails with attachments
|
|
232
|
+
*/
|
|
233
|
+
export type InfobipEmailMediaBinaryAttachment = EmailComponents['schemas']['34438aa163eb13a2a06ad96ae98170e41cc2ee8902e8b7655aba73ceb0bb23f1.EmailMediaBinaryAttachment'];
|
|
229
234
|
/**
|
|
230
235
|
* Email delivery report
|
|
231
236
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type { ResponseError } from 'fetchff';
|
|
10
10
|
import type { ErrorDetail, BasePackageErrorOptions, INTERNAL_STATUS_CODES, PackageErrorLike } from '../../errors';
|
|
11
11
|
import type { ApiClientInstance } from '..';
|
|
12
|
-
import type { HTTP_STATUS } from '
|
|
12
|
+
import type { HTTP_STATUS } from '../../http/constants';
|
|
13
13
|
/**
|
|
14
14
|
* ===== Type Aliases =====
|
|
15
15
|
* Re-exported from centralized location for backwards compatibility
|