@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.
Files changed (45) hide show
  1. package/dist/api/endpoints/infobip/types.d.ts +6 -1
  2. package/dist/api/errors/types.d.ts +1 -1
  3. package/dist/api/index.cjs +158 -100
  4. package/dist/api/index.cjs.map +1 -1
  5. package/dist/api/index.js +60 -2
  6. package/dist/api/index.js.map +1 -1
  7. package/dist/auth/index.cjs +12 -4196
  8. package/dist/auth/index.cjs.map +1 -1
  9. package/dist/auth/index.js +10 -6
  10. package/dist/auth/index.js.map +1 -1
  11. package/dist/auth/schemas.d.ts +20 -21
  12. package/dist/db/database.types.d.ts +1 -1
  13. package/dist/db/features-config.types.d.ts +2 -2
  14. package/dist/db/index.cjs.map +1 -1
  15. package/dist/db/index.js.map +1 -1
  16. package/dist/db/replica.types.d.ts +2 -2
  17. package/dist/errors/index.cjs +158 -100
  18. package/dist/errors/index.cjs.map +1 -1
  19. package/dist/errors/index.js +60 -2
  20. package/dist/errors/index.js.map +1 -1
  21. package/dist/errors/types.d.ts +47 -6
  22. package/dist/http/constants.d.ts +265 -0
  23. package/dist/index.cjs +761 -4344
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.ts +4 -0
  26. package/dist/index.js +600 -7
  27. package/dist/index.js.map +1 -1
  28. package/dist/locale/types.d.ts +109 -0
  29. package/dist/notifications/enums.d.ts +0 -1
  30. package/dist/notifications/index.cjs +155 -4201
  31. package/dist/notifications/index.cjs.map +1 -1
  32. package/dist/notifications/index.d.ts +11 -0
  33. package/dist/notifications/index.js +133 -1
  34. package/dist/notifications/index.js.map +1 -1
  35. package/dist/notifications/schemas.d.ts +13 -3
  36. package/dist/notifications/types.d.ts +66 -24
  37. package/dist/notifications/webhooks.schemas.d.ts +278 -0
  38. package/dist/payments/base-error/types.d.ts +1 -1
  39. package/dist/payments/gateways/provider/types.d.ts +1 -1
  40. package/dist/payments/gateways/routings/types.d.ts +1 -1
  41. package/dist/payments/provider/adapter/types.d.ts +1 -1
  42. package/dist/payments/provider/core/types.d.ts +1 -1
  43. package/dist/payments/provider/payment-provider/types.d.ts +1 -1
  44. package/dist/payments/transaction/types.d.ts +1 -1
  45. 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 '@plyaz/config';
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 '@plyaz/config';
12
+ import type { HTTP_STATUS } from '../../http/constants';
13
13
  /**
14
14
  * ===== Type Aliases =====
15
15
  * Re-exported from centralized location for backwards compatibility