@phonepe-pg/pg-sdk-node 2.0.4 → 2.0.5

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 (231) hide show
  1. package/dist/{src/common → common}/constants/Headers.js +2 -2
  2. package/dist/version.d.ts +1 -0
  3. package/dist/version.js +4 -0
  4. package/package.json +4 -4
  5. /package/dist/{src/Env.d.ts → Env.d.ts} +0 -0
  6. /package/dist/{src/Env.js → Env.js} +0 -0
  7. /package/dist/{src/EnvConfig.d.ts → EnvConfig.d.ts} +0 -0
  8. /package/dist/{src/EnvConfig.js → EnvConfig.js} +0 -0
  9. /package/dist/{src/common → common}/BaseClient.d.ts +0 -0
  10. /package/dist/{src/common → common}/BaseClient.js +0 -0
  11. /package/dist/{src/common → common}/CommonUtils.d.ts +0 -0
  12. /package/dist/{src/common → common}/CommonUtils.js +0 -0
  13. /package/dist/{src/common → common}/configs/CredentialConfig.d.ts +0 -0
  14. /package/dist/{src/common → common}/configs/CredentialConfig.js +0 -0
  15. /package/dist/{src/common → common}/configs/index.d.ts +0 -0
  16. /package/dist/{src/common → common}/configs/index.js +0 -0
  17. /package/dist/{src/common → common}/constants/BaseUrl.d.ts +0 -0
  18. /package/dist/{src/common → common}/constants/BaseUrl.js +0 -0
  19. /package/dist/{src/common → common}/constants/Headers.d.ts +0 -0
  20. /package/dist/{src/common → common}/events/Constants.d.ts +0 -0
  21. /package/dist/{src/common → common}/events/Constants.js +0 -0
  22. /package/dist/{src/common → common}/events/EventQueueHandler.d.ts +0 -0
  23. /package/dist/{src/common → common}/events/EventQueueHandler.js +0 -0
  24. /package/dist/{src/common → common}/events/builders/BaseEventBuilder.d.ts +0 -0
  25. /package/dist/{src/common → common}/events/builders/BaseEventBuilder.js +0 -0
  26. /package/dist/{src/common → common}/events/builders/EventBuillder.d.ts +0 -0
  27. /package/dist/{src/common → common}/events/builders/EventBuillder.js +0 -0
  28. /package/dist/{src/common → common}/events/builders/EventDataBuilder.d.ts +0 -0
  29. /package/dist/{src/common → common}/events/builders/EventDataBuilder.js +0 -0
  30. /package/dist/{src/common → common}/events/models/BaseEvent.d.ts +0 -0
  31. /package/dist/{src/common → common}/events/models/BaseEvent.js +0 -0
  32. /package/dist/{src/common → common}/events/models/BulkEvent.d.ts +0 -0
  33. /package/dist/{src/common → common}/events/models/BulkEvent.js +0 -0
  34. /package/dist/{src/common → common}/events/models/EventData.d.ts +0 -0
  35. /package/dist/{src/common → common}/events/models/EventData.js +0 -0
  36. /package/dist/{src/common → common}/events/models/enums/EventState.d.ts +0 -0
  37. /package/dist/{src/common → common}/events/models/enums/EventState.js +0 -0
  38. /package/dist/{src/common → common}/events/models/enums/EventType.d.ts +0 -0
  39. /package/dist/{src/common → common}/events/models/enums/EventType.js +0 -0
  40. /package/dist/{src/common → common}/events/models/enums/FlowType.d.ts +0 -0
  41. /package/dist/{src/common → common}/events/models/enums/FlowType.js +0 -0
  42. /package/dist/{src/common → common}/events/publisher/DefaultEventPublisher.d.ts +0 -0
  43. /package/dist/{src/common → common}/events/publisher/DefaultEventPublisher.js +0 -0
  44. /package/dist/{src/common → common}/events/publisher/EventPublisher.d.ts +0 -0
  45. /package/dist/{src/common → common}/events/publisher/EventPublisher.js +0 -0
  46. /package/dist/{src/common → common}/events/publisher/EventPublisherFactory.d.ts +0 -0
  47. /package/dist/{src/common → common}/events/publisher/EventPublisherFactory.js +0 -0
  48. /package/dist/{src/common → common}/events/publisher/QueuedEventPublisher.d.ts +0 -0
  49. /package/dist/{src/common → common}/events/publisher/QueuedEventPublisher.js +0 -0
  50. /package/dist/{src/common → common}/exception/Constants.d.ts +0 -0
  51. /package/dist/{src/common → common}/exception/Constants.js +0 -0
  52. /package/dist/{src/common → common}/exception/Exceptions.d.ts +0 -0
  53. /package/dist/{src/common → common}/exception/Exceptions.js +0 -0
  54. /package/dist/{src/common → common}/exception/index.d.ts +0 -0
  55. /package/dist/{src/common → common}/exception/index.js +0 -0
  56. /package/dist/{src/common → common}/http/HttpCommand.d.ts +0 -0
  57. /package/dist/{src/common → common}/http/HttpCommand.js +0 -0
  58. /package/dist/{src/common → common}/http/HttpMethodType.d.ts +0 -0
  59. /package/dist/{src/common → common}/http/HttpMethodType.js +0 -0
  60. /package/dist/{src/common → common}/http/PhonePeResponse.d.ts +0 -0
  61. /package/dist/{src/common → common}/http/PhonePeResponse.js +0 -0
  62. /package/dist/{src/common → common}/http/index.d.ts +0 -0
  63. /package/dist/{src/common → common}/http/index.js +0 -0
  64. /package/dist/{src/common → common}/index.d.ts +0 -0
  65. /package/dist/{src/common → common}/index.js +0 -0
  66. /package/dist/{src/common → common}/models/MetaInfo.d.ts +0 -0
  67. /package/dist/{src/common → common}/models/MetaInfo.js +0 -0
  68. /package/dist/{src/common → common}/models/PaymentFlow.d.ts +0 -0
  69. /package/dist/{src/common → common}/models/PaymentFlow.js +0 -0
  70. /package/dist/{src/common → common}/models/PaymentFlowType.d.ts +0 -0
  71. /package/dist/{src/common → common}/models/PaymentFlowType.js +0 -0
  72. /package/dist/{src/common → common}/models/PgV2InstrumentType.d.ts +0 -0
  73. /package/dist/{src/common → common}/models/PgV2InstrumentType.js +0 -0
  74. /package/dist/{src/common → common}/models/index.d.ts +0 -0
  75. /package/dist/{src/common → common}/models/index.js +0 -0
  76. /package/dist/{src/common → common}/models/request/AccountConstraint.d.ts +0 -0
  77. /package/dist/{src/common → common}/models/request/AccountConstraint.js +0 -0
  78. /package/dist/{src/common → common}/models/request/DeviceContext.d.ts +0 -0
  79. /package/dist/{src/common → common}/models/request/DeviceContext.js +0 -0
  80. /package/dist/{src/common → common}/models/request/InstrumentConstraint.d.ts +0 -0
  81. /package/dist/{src/common → common}/models/request/InstrumentConstraint.js +0 -0
  82. /package/dist/{src/common → common}/models/request/PaymentInstrumentType.d.ts +0 -0
  83. /package/dist/{src/common → common}/models/request/PaymentInstrumentType.js +0 -0
  84. /package/dist/{src/common → common}/models/request/RefundRequest.d.ts +0 -0
  85. /package/dist/{src/common → common}/models/request/RefundRequest.js +0 -0
  86. /package/dist/{src/common → common}/models/request/index.d.ts +0 -0
  87. /package/dist/{src/common → common}/models/request/index.js +0 -0
  88. /package/dist/{src/common → common}/models/request/instruments/BillingAddress.d.ts +0 -0
  89. /package/dist/{src/common → common}/models/request/instruments/BillingAddress.js +0 -0
  90. /package/dist/{src/common → common}/models/request/instruments/CardPayRequestBuilder.d.ts +0 -0
  91. /package/dist/{src/common → common}/models/request/instruments/CardPayRequestBuilder.js +0 -0
  92. /package/dist/{src/common → common}/models/request/instruments/CardPaymentV2Instrument.d.ts +0 -0
  93. /package/dist/{src/common → common}/models/request/instruments/CardPaymentV2Instrument.js +0 -0
  94. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentDetails.d.ts +0 -0
  95. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentDetails.js +0 -0
  96. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentDetailsType.d.ts +0 -0
  97. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentDetailsType.js +0 -0
  98. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentV2Instrument.d.ts +0 -0
  99. /package/dist/{src/common → common}/models/request/instruments/CollectPaymentV2Instrument.js +0 -0
  100. /package/dist/{src/common → common}/models/request/instruments/Expiry.d.ts +0 -0
  101. /package/dist/{src/common → common}/models/request/instruments/Expiry.js +0 -0
  102. /package/dist/{src/common → common}/models/request/instruments/IntentPaymentV2Instrument.d.ts +0 -0
  103. /package/dist/{src/common → common}/models/request/instruments/IntentPaymentV2Instrument.js +0 -0
  104. /package/dist/{src/common → common}/models/request/instruments/NetBankingPayRequestBuilder.d.ts +0 -0
  105. /package/dist/{src/common → common}/models/request/instruments/NetBankingPayRequestBuilder.js +0 -0
  106. /package/dist/{src/common → common}/models/request/instruments/NetBankingPaymentV2Instrument.d.ts +0 -0
  107. /package/dist/{src/common → common}/models/request/instruments/NetBankingPaymentV2Instrument.js +0 -0
  108. /package/dist/{src/common → common}/models/request/instruments/NewCardDetails.d.ts +0 -0
  109. /package/dist/{src/common → common}/models/request/instruments/NewCardDetails.js +0 -0
  110. /package/dist/{src/common → common}/models/request/instruments/PaymentV2Instrument.d.ts +0 -0
  111. /package/dist/{src/common → common}/models/request/instruments/PaymentV2Instrument.js +0 -0
  112. /package/dist/{src/common → common}/models/request/instruments/PhoneNumberCollectPaymentDetails.d.ts +0 -0
  113. /package/dist/{src/common → common}/models/request/instruments/PhoneNumberCollectPaymentDetails.js +0 -0
  114. /package/dist/{src/common → common}/models/request/instruments/TokenDetails.d.ts +0 -0
  115. /package/dist/{src/common → common}/models/request/instruments/TokenDetails.js +0 -0
  116. /package/dist/{src/common → common}/models/request/instruments/TokenPayRequestBuilder.d.ts +0 -0
  117. /package/dist/{src/common → common}/models/request/instruments/TokenPayRequestBuilder.js +0 -0
  118. /package/dist/{src/common → common}/models/request/instruments/TokenPaymentV2Instrument.d.ts +0 -0
  119. /package/dist/{src/common → common}/models/request/instruments/TokenPaymentV2Instrument.js +0 -0
  120. /package/dist/{src/common → common}/models/request/instruments/UpiCollectPayViaPhoneNumberRequestBuilder.d.ts +0 -0
  121. /package/dist/{src/common → common}/models/request/instruments/UpiCollectPayViaPhoneNumberRequestBuilder.js +0 -0
  122. /package/dist/{src/common → common}/models/request/instruments/UpiCollectPayViaVpaRequestBuilder.d.ts +0 -0
  123. /package/dist/{src/common → common}/models/request/instruments/UpiCollectPayViaVpaRequestBuilder.js +0 -0
  124. /package/dist/{src/common → common}/models/request/instruments/UpiIntentPayRequestBuilder.d.ts +0 -0
  125. /package/dist/{src/common → common}/models/request/instruments/UpiIntentPayRequestBuilder.js +0 -0
  126. /package/dist/{src/common → common}/models/request/instruments/UpiQrPaymentV2Instrument.d.ts +0 -0
  127. /package/dist/{src/common → common}/models/request/instruments/UpiQrPaymentV2Instrument.js +0 -0
  128. /package/dist/{src/common → common}/models/request/instruments/UpiQrRequestBuilder.d.ts +0 -0
  129. /package/dist/{src/common → common}/models/request/instruments/UpiQrRequestBuilder.js +0 -0
  130. /package/dist/{src/common → common}/models/request/instruments/VpaCollectPaymentDetails.d.ts +0 -0
  131. /package/dist/{src/common → common}/models/request/instruments/VpaCollectPaymentDetails.js +0 -0
  132. /package/dist/{src/common → common}/models/request/instruments/index.d.ts +0 -0
  133. /package/dist/{src/common → common}/models/request/instruments/index.js +0 -0
  134. /package/dist/{src/common → common}/models/response/CallbackData.d.ts +0 -0
  135. /package/dist/{src/common → common}/models/response/CallbackData.js +0 -0
  136. /package/dist/{src/common → common}/models/response/CallbackResponse.d.ts +0 -0
  137. /package/dist/{src/common → common}/models/response/CallbackResponse.js +0 -0
  138. /package/dist/{src/common → common}/models/response/CallbackType.d.ts +0 -0
  139. /package/dist/{src/common → common}/models/response/CallbackType.js +0 -0
  140. /package/dist/{src/common → common}/models/response/InstrumentCombo.d.ts +0 -0
  141. /package/dist/{src/common → common}/models/response/InstrumentCombo.js +0 -0
  142. /package/dist/{src/common → common}/models/response/OrderStatusResponse.d.ts +0 -0
  143. /package/dist/{src/common → common}/models/response/OrderStatusResponse.js +0 -0
  144. /package/dist/{src/common → common}/models/response/PaymentDetail.d.ts +0 -0
  145. /package/dist/{src/common → common}/models/response/PaymentDetail.js +0 -0
  146. /package/dist/{src/common → common}/models/response/PaymentRefundDetail.d.ts +0 -0
  147. /package/dist/{src/common → common}/models/response/PaymentRefundDetail.js +0 -0
  148. /package/dist/{src/common → common}/models/response/RefundResponse.d.ts +0 -0
  149. /package/dist/{src/common → common}/models/response/RefundResponse.js +0 -0
  150. /package/dist/{src/common → common}/models/response/RefundStatusResponse.d.ts +0 -0
  151. /package/dist/{src/common → common}/models/response/RefundStatusResponse.js +0 -0
  152. /package/dist/{src/common → common}/models/response/index.d.ts +0 -0
  153. /package/dist/{src/common → common}/models/response/index.js +0 -0
  154. /package/dist/{src/common → common}/models/response/paymentinstruments/AccountInstrumentV2.d.ts +0 -0
  155. /package/dist/{src/common → common}/models/response/paymentinstruments/AccountInstrumentV2.js +0 -0
  156. /package/dist/{src/common → common}/models/response/paymentinstruments/CreditCardPaymentInstrumentV2.d.ts +0 -0
  157. /package/dist/{src/common → common}/models/response/paymentinstruments/CreditCardPaymentInstrumentV2.js +0 -0
  158. /package/dist/{src/common → common}/models/response/paymentinstruments/DebitCardPaymentInstrumentV2.d.ts +0 -0
  159. /package/dist/{src/common → common}/models/response/paymentinstruments/DebitCardPaymentInstrumentV2.js +0 -0
  160. /package/dist/{src/common → common}/models/response/paymentinstruments/EgvPaymentInstrumentV2.d.ts +0 -0
  161. /package/dist/{src/common → common}/models/response/paymentinstruments/EgvPaymentInstrumentV2.js +0 -0
  162. /package/dist/{src/common → common}/models/response/paymentinstruments/NetbankingPaymentInstrumentV2.d.ts +0 -0
  163. /package/dist/{src/common → common}/models/response/paymentinstruments/NetbankingPaymentInstrumentV2.js +0 -0
  164. /package/dist/{src/common → common}/models/response/paymentinstruments/PaymentInstrumentType.d.ts +0 -0
  165. /package/dist/{src/common → common}/models/response/paymentinstruments/PaymentInstrumentType.js +0 -0
  166. /package/dist/{src/common → common}/models/response/paymentinstruments/PaymentInstrumentV2.d.ts +0 -0
  167. /package/dist/{src/common → common}/models/response/paymentinstruments/PaymentInstrumentV2.js +0 -0
  168. /package/dist/{src/common → common}/models/response/paymentinstruments/WalletPaymentInstrumentV2.d.ts +0 -0
  169. /package/dist/{src/common → common}/models/response/paymentinstruments/WalletPaymentInstrumentV2.js +0 -0
  170. /package/dist/{src/common → common}/models/response/paymentinstruments/index.d.ts +0 -0
  171. /package/dist/{src/common → common}/models/response/paymentinstruments/index.js +0 -0
  172. /package/dist/{src/common → common}/models/response/rails/PaymentRail.d.ts +0 -0
  173. /package/dist/{src/common → common}/models/response/rails/PaymentRail.js +0 -0
  174. /package/dist/{src/common → common}/models/response/rails/PgPaymentRail.d.ts +0 -0
  175. /package/dist/{src/common → common}/models/response/rails/PgPaymentRail.js +0 -0
  176. /package/dist/{src/common → common}/models/response/rails/PpiEgvPaymentRail.d.ts +0 -0
  177. /package/dist/{src/common → common}/models/response/rails/PpiEgvPaymentRail.js +0 -0
  178. /package/dist/{src/common → common}/models/response/rails/PpiWalletPaymentRail.d.ts +0 -0
  179. /package/dist/{src/common → common}/models/response/rails/PpiWalletPaymentRail.js +0 -0
  180. /package/dist/{src/common → common}/models/response/rails/UpiPaymentRail.d.ts +0 -0
  181. /package/dist/{src/common → common}/models/response/rails/UpiPaymentRail.js +0 -0
  182. /package/dist/{src/common → common}/models/response/rails/index.d.ts +0 -0
  183. /package/dist/{src/common → common}/models/response/rails/index.js +0 -0
  184. /package/dist/{src/common → common}/tokenhandler/OAuthRequest.d.ts +0 -0
  185. /package/dist/{src/common → common}/tokenhandler/OAuthRequest.js +0 -0
  186. /package/dist/{src/common → common}/tokenhandler/OAuthResponse.d.ts +0 -0
  187. /package/dist/{src/common → common}/tokenhandler/OAuthResponse.js +0 -0
  188. /package/dist/{src/common → common}/tokenhandler/TokenConstants.d.ts +0 -0
  189. /package/dist/{src/common → common}/tokenhandler/TokenConstants.js +0 -0
  190. /package/dist/{src/common → common}/tokenhandler/TokenService.d.ts +0 -0
  191. /package/dist/{src/common → common}/tokenhandler/TokenService.js +0 -0
  192. /package/dist/{src/common → common}/tokenhandler/index.d.ts +0 -0
  193. /package/dist/{src/common → common}/tokenhandler/index.js +0 -0
  194. /package/dist/{src/index.d.ts → index.d.ts} +0 -0
  195. /package/dist/{src/index.js → index.js} +0 -0
  196. /package/dist/{src/payments → payments}/v2/CustomCheckoutClient.d.ts +0 -0
  197. /package/dist/{src/payments → payments}/v2/CustomCheckoutClient.js +0 -0
  198. /package/dist/{src/payments → payments}/v2/StandardCheckoutClient.d.ts +0 -0
  199. /package/dist/{src/payments → payments}/v2/StandardCheckoutClient.js +0 -0
  200. /package/dist/{src/payments → payments}/v2/customcheckout/Constants.d.ts +0 -0
  201. /package/dist/{src/payments → payments}/v2/customcheckout/Constants.js +0 -0
  202. /package/dist/{src/payments → payments}/v2/index.d.ts +0 -0
  203. /package/dist/{src/payments → payments}/v2/index.js +0 -0
  204. /package/dist/{src/payments → payments}/v2/models/index.d.ts +0 -0
  205. /package/dist/{src/payments → payments}/v2/models/index.js +0 -0
  206. /package/dist/{src/payments → payments}/v2/models/request/CreateSdkOrderRequest.d.ts +0 -0
  207. /package/dist/{src/payments → payments}/v2/models/request/CreateSdkOrderRequest.js +0 -0
  208. /package/dist/{src/payments → payments}/v2/models/request/CustomCheckoutPayRequest.d.ts +0 -0
  209. /package/dist/{src/payments → payments}/v2/models/request/CustomCheckoutPayRequest.js +0 -0
  210. /package/dist/{src/payments → payments}/v2/models/request/MerchantUrls.d.ts +0 -0
  211. /package/dist/{src/payments → payments}/v2/models/request/MerchantUrls.js +0 -0
  212. /package/dist/{src/payments → payments}/v2/models/request/PgCheckoutPaymentFlow.d.ts +0 -0
  213. /package/dist/{src/payments → payments}/v2/models/request/PgCheckoutPaymentFlow.js +0 -0
  214. /package/dist/{src/payments → payments}/v2/models/request/PgPaymentFlow.d.ts +0 -0
  215. /package/dist/{src/payments → payments}/v2/models/request/PgPaymentFlow.js +0 -0
  216. /package/dist/{src/payments → payments}/v2/models/request/PrefillUserLoginDetails.d.ts +0 -0
  217. /package/dist/{src/payments → payments}/v2/models/request/PrefillUserLoginDetails.js +0 -0
  218. /package/dist/{src/payments → payments}/v2/models/request/StandardCheckoutPayRequest.d.ts +0 -0
  219. /package/dist/{src/payments → payments}/v2/models/request/StandardCheckoutPayRequest.js +0 -0
  220. /package/dist/{src/payments → payments}/v2/models/request/index.d.ts +0 -0
  221. /package/dist/{src/payments → payments}/v2/models/request/index.js +0 -0
  222. /package/dist/{src/payments → payments}/v2/models/response/CreateSdkOrderResponse.d.ts +0 -0
  223. /package/dist/{src/payments → payments}/v2/models/response/CreateSdkOrderResponse.js +0 -0
  224. /package/dist/{src/payments → payments}/v2/models/response/CustomCheckoutPayResponse.d.ts +0 -0
  225. /package/dist/{src/payments → payments}/v2/models/response/CustomCheckoutPayResponse.js +0 -0
  226. /package/dist/{src/payments → payments}/v2/models/response/StandardCheckoutPayResponse.d.ts +0 -0
  227. /package/dist/{src/payments → payments}/v2/models/response/StandardCheckoutPayResponse.js +0 -0
  228. /package/dist/{src/payments → payments}/v2/models/response/index.d.ts +0 -0
  229. /package/dist/{src/payments → payments}/v2/models/response/index.js +0 -0
  230. /package/dist/{src/payments → payments}/v2/standardcheckout/Constants.d.ts +0 -0
  231. /package/dist/{src/payments → payments}/v2/standardcheckout/Constants.js +0 -0
@@ -16,13 +16,13 @@
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.Headers = void 0;
19
- const package_json_1 = require("../../../package.json");
19
+ const version_1 = require("../../version");
20
20
  class Headers {
21
21
  }
22
22
  exports.Headers = Headers;
23
23
  Headers.INTEGRATION = 'API';
24
24
  Headers.API_VERSION = 'V2';
25
- Headers.SDK_VERSION = package_json_1.version;
25
+ Headers.SDK_VERSION = version_1.version;
26
26
  Headers.SDK_TYPE = 'BACKEND_NODE_SDK';
27
27
  Headers.SOURCE = 'x-source';
28
28
  Headers.SOURCE_VERSION = 'x-source-version';
@@ -0,0 +1 @@
1
+ export declare const version = "2.0.5";
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.version = void 0;
4
+ exports.version = '2.0.5';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@phonepe-pg/pg-sdk-node",
3
- "version": "2.0.4",
4
- "main": "dist/src/index.js",
5
- "types": "dist/src/index.d.ts",
3
+ "version": "2.0.5",
4
+ "main": "dist/index.js",
5
+ "types": "dist/index.d.ts",
6
6
  "files": [
7
- "dist/src",
7
+ "dist",
8
8
  "README.md",
9
9
  "LICENSE"
10
10
  ],
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes