@faiber/faiber-payment 0.24.1 → 1.0.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/README.md +23 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/contracts.types.d.ts +9 -8
- package/dist/contracts.types.d.ts.map +1 -1
- package/dist/index.d.ts +46 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +36 -4
- package/dist/index.js.map +1 -1
- package/dist/operations.d.ts +153 -137
- package/dist/operations.d.ts.map +1 -1
- package/dist/operations.js +125 -105
- package/dist/operations.js.map +1 -1
- package/dist/operations.types.d.ts +45 -402
- package/dist/operations.types.d.ts.map +1 -1
- package/dist/types.d.ts +207 -35
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -3
- package/provenance.json +27 -0
package/README.md
CHANGED
|
@@ -25,23 +25,32 @@ const api = new PaymentApi(client);
|
|
|
25
25
|
const gateways = await api.gateways.list();
|
|
26
26
|
const payment = await api.createPayment({
|
|
27
27
|
amount: 4900,
|
|
28
|
-
|
|
28
|
+
service_name: "my-service",
|
|
29
|
+
service_model: "order",
|
|
30
|
+
service_id: "order-42",
|
|
31
|
+
queue_name: "my_service_queue",
|
|
32
|
+
callback_url: "https://merchant.example/payment-result",
|
|
33
|
+
idempotency_key: "my-service:order-42",
|
|
29
34
|
});
|
|
30
35
|
```
|
|
31
36
|
|
|
32
37
|
## Complete capability
|
|
33
38
|
|
|
34
|
-
This package exposes
|
|
39
|
+
This package exposes 36 registered operations from the payments service. Common workflows have concise methods on `api`; every registered backend route is also available as a named function on `api.operations`. Generated operation input, query, response, path, verb, and permission contracts are exported from `operations.types`.
|
|
35
40
|
|
|
36
41
|
| Area | Operations | HTTP methods |
|
|
37
42
|
|---|---:|---|
|
|
38
|
-
| `
|
|
43
|
+
| `asset-checkout` | 1 | `GET` |
|
|
44
|
+
| `fitness` | 3 | `GET`, `POST` |
|
|
45
|
+
| `gateway` | 7 | `DELETE`, `GET`, `PATCH`, `POST` |
|
|
39
46
|
| `integration` | 2 | `GET` |
|
|
40
47
|
| `payment` | 1 | `POST` |
|
|
41
48
|
| `payment-web` | 3 | `GET`, `POST` |
|
|
42
|
-
| `
|
|
49
|
+
| `product-plans` | 3 | `GET`, `POST` |
|
|
50
|
+
| `router` | 5 | `GET` |
|
|
43
51
|
| `session` | 1 | `GET` |
|
|
44
52
|
| `settings` | 2 | `GET`, `PATCH` |
|
|
53
|
+
| `shop-checkout` | 3 | `GET`, `POST` |
|
|
45
54
|
| `transaction` | 5 | `GET`, `POST` |
|
|
46
55
|
|
|
47
56
|
Browser callback and verification routes are exposed in `api.operations`; callers should preserve the provider query parameters returned by the payment service.
|
|
@@ -73,3 +82,13 @@ Use `@faiber/faiber-ts-sdk` when one application needs multiple Faiber services
|
|
|
73
82
|
`operations.gatewaySetupCheckPost()` performs a read-only live-provider check with `admin:gateway:read`. Product-specific payment operations cover 2done, fitness and storefront checkout. Internal endpoints require their product's trusted server credential; an end-user token alone does not grant access.
|
|
74
83
|
|
|
75
84
|
`operations.assetCheckoutReceiptGet(purchaseId, options)` accepts `x-asset-payment-token` through `options.headers` and returns a **raw** verified receipt with `purchaseId`, `transaction`, integer IRR `amount`, `providerVerified` and `status` (`pending`, `accepted`, or `rejected`). Other product receipt operations retain their service envelopes. Payment creation uses stable product-specific idempotency keys; retry fitness checkout through `fitnessRetryPost` rather than creating an unrelated transaction.
|
|
85
|
+
|
|
86
|
+
### Gateway and transaction administration
|
|
87
|
+
|
|
88
|
+
Gateway identifiers are integers. `gateways.list({ status: "active", "page[number]": 1, "page[size]": 20 })` returns `data.data` and `data.meta`. Gateway create/update supports `sandbox`; nullable response fields are always present. The `options` response is opaque stored provider configuration and may contain encrypted values: do not populate editable credential fields from it or log it. Delete returns the removed gateway record, not a boolean result. Gateway calls require the corresponding `admin:gateway:read`, `create`, `update`, or `delete` permission.
|
|
89
|
+
|
|
90
|
+
`transactions.list()` returns a nested `data.transactions` page, filtered aggregate summaries, service names and gateway options. Transaction records use `uuid`; they declare no `currency` field. `transactions.show(uuid)` and `transactionStatus(uuid)` return status only. Administration requires `admin:transaction:read`, and verify/reject requires `admin:transaction:verify` plus an authenticated verifier. Verification may contact a payment provider; inspect its `successful` result rather than equating HTTP200 with a successful payment.
|
|
91
|
+
|
|
92
|
+
`gatewayOptions()` returns `{ providers, statuses }` label/value arrays. `dailyIncomeFor({ days: 7 })` returns UTC date/amount points, including zero dates; the backend clamps the day window to1–90. No count field is returned. `createPayment()` accepts an optional `idempotency_key`; trusted product, fitness, Asset and storefront purchases must use their dedicated server-authorized checkout contracts. Generic creation is not an authorization bypass for those purchases.
|
|
93
|
+
|
|
94
|
+
Payment navigation operations return text/HTML, not JSON envelopes. Provider callbacks accept `Authority`, `transid` or `paymentNumber` in the query for both GET and POST. A callback may return303 with a `Location` header for a configured allowed HTTPS origin; otherwise it returns the payment result page. In Node, pass `maxRedirects: 0` and a `validateStatus` that accepts303 to inspect that response. A result page with HTTP200 can describe a failed payment. These routes may contact the real provider and are not read-only health checks.
|
package/dist/.tsbuildinfo
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"fileNames":["../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es5.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.d.ts","../../../../../../../faiber-ts-sdk/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../../../../../faiber-ts-sdk/node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/realtime.d.ts","../../core/dist/index.d.ts","../src/contracts.types.ts","../src/types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66,67],[60,61,64],[60],[68],[68,69,70,71,72],[68,71],[68,69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2343ec253c90c370449755739733f5f429f58cffdb51a50977bb4a042012fa8f","impliedFormat":99},{"version":"6cc1f17dc5454eb1112cfb4a2e2ddc93de8c3f9016c8db7bdf0328caac374ffa","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"74d1d74d5dadbbb70e8e294d3419c58885629a9fc95141cbf158a3febb523300","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"fdd1b5a8a2b98f82c94e4dc4e3b207ca81766b656d23acd3c7458fffd9af21dd","impliedFormat":99},{"version":"d96211ce64fc8953abfc4acfe4b0f7ad7dda94c13915f1f1b8d6b2aeb61d28ae","signature":"a90f4845f3527e662ea1dce550888a75a7d957eace9abd1a16b0abc18c78bcde","impliedFormat":99},{"version":"a076d2c97c08bd4ef5661e5355daa30180fabc1cdac566e0f1d3087cda197d2c","impliedFormat":99},{"version":"59fede3963122ea1d80a54fababceab528db0e418a3f61546954078ead74f504","signature":"982cec74b1b8ab43ca78c207ef4a679aca61ab030ca0fb1dddf7bf5346435fb6","impliedFormat":99},{"version":"1656a30fe73dca96dfce468ef3b6c62e4351d73e0decee1b0ffd394c5b3b1ea3","signature":"64ae2f28627c385bb2602d76f03b4a25611d6949fc5cc86a8899f6f4acd8b102","impliedFormat":99},{"version":"6f77d4c0847e9b8d6f7c18b7b7992dcd698dd0a6a2f2922fe9c343771fbba99d","signature":"ddce1ed4c3ce5b764fb520d95084b46d9e594a95a07d646e6e17fb0d2344c73d","impliedFormat":99}],"root":[[69,73]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[68,3],[66,4],[65,4],[61,5],[69,6],[73,7],[72,8],[71,9],[70,6]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
1
|
+
{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../../node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../../core/dist/types.d.ts","../../core/dist/env.d.ts","../../core/dist/auth.d.ts","../../core/dist/client.d.ts","../../core/dist/resource.d.ts","../../core/dist/openapi.d.ts","../../core/dist/realtime.d.ts","../../core/dist/summary-access.d.ts","../../core/dist/index.d.ts","../src/types.ts","../src/contracts.types.ts","../src/operations.types.ts","../src/operations.ts","../src/index.ts"],"fileIdsList":[[61],[60,61],[60,61,62,63,64,65,66,67,68],[60,61,64],[60],[70],[69,70,71,72,73],[69,72],[69,70,71],[69]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"2e80ee7a49e8ac312cc11b77f1475804bee36b3b2bc896bead8b6e1266befb43","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"2368a31d44ccc59758e3b3c682fee74e820b08fad98623905a85092018c06e3b","impliedFormat":99},{"version":"61806e75fc22177d65d9b33c90c4b88e4370abd4dd88d8196ca0fc87d7702fe9","impliedFormat":99},{"version":"82065c5512d8d6f81b26cf13ea9ecd3e558be9560f7b5c62260858219ecd87f7","impliedFormat":99},{"version":"ed17ed1b2bcf384c88bc6cec6b427989b98db99fc7ad35a50605501a463bbc53","impliedFormat":99},{"version":"82bf4efcca8ab8764a91ac126c0af605ab6717ee94b2316461b5fa388b27e165","impliedFormat":99},{"version":"e8345259c97aa6b8a84b27963fff00e79b7f45852b0024fffc52c9a7949007ac","impliedFormat":99},{"version":"3f5eeb0a84713ccf640b9a6af4629e006f59d7629abc3fc95af2efb062fd0b83","impliedFormat":99},{"version":"ac62f6b0f2e963ea9a251ee8384e64cebe0fe4acd32ca177d838d7c5a7ad2b43","impliedFormat":99},{"version":"967088f3793139562bc3fd0e5db990a8bc2885f7444a1f10ea6a5a6479fa6d40","impliedFormat":99},{"version":"6756b343720142c0f4f0c62b8194eefdea2d1774da6f7902bee9e39d4e81c9d4","impliedFormat":99},{"version":"cd9a57df50bf2e8ea26cc10fdda63908f97a66c64492710c552951483812f2ee","signature":"e142847779de3603b114f3cf09a10088dcc50cce8ae536e932d4b12de76c6e34","impliedFormat":99},{"version":"795eb1a1a592c669223d3aaec2f663dd82689a590f71cc104b7bcde2099d19eb","signature":"a590595cc9ffc649da198a8aa8000a75860e89b4c048023cf22cc192f6533571","impliedFormat":99},{"version":"15db1318ff221a0af6bbcc4232a48299836b67492e46095ca1a509ca0ae6079c","signature":"6ac6432ec68cbc24245de4d36c537b95e9860717264f48e356664ecb2f7f60ed","impliedFormat":99},{"version":"1ce86476d0fb15e2257618ef9b162dd0a14371895a469f998e9e93b07aa9f43d","signature":"6f9ea81671fc1704ee7db9d3ab2ce311388f05712d98ce6a9698eb9b63b3002a","impliedFormat":99},{"version":"c17b741892a6f7c76e2ed345a8f471959708ddb119ddb3670eb18ad7466887a5","signature":"6d81e3c2881261aa8c2a198c53b5ee50db10f431918fb7a3a37bf6f535415e8a","impliedFormat":99}],"root":[[70,74]],"options":{"composite":true,"declaration":true,"declarationMap":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./","rootDir":"../src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9,"tsBuildInfoFile":"./.tsbuildinfo","verbatimModuleSyntax":true},"referencedMap":[[63,1],[64,2],[62,1],[69,3],[66,4],[65,4],[61,5],[71,6],[74,7],[73,8],[72,9],[70,10]],"latestChangedDtsFile":"./index.d.ts","version":"5.9.3"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/** Wire models reviewed against the pinned service handlers and repositories. */
|
|
2
|
-
import type {
|
|
2
|
+
import type { GatewayProvider, PaymentEnvelope } from './types.js';
|
|
3
|
+
export type PaymentGatewayCheckReason = 'missing_production_credentials' | 'manual_provider_verification_required' | 'credential_verified' | 'provider_rejected' | 'verification_unavailable';
|
|
3
4
|
export interface PaymentGatewayCheck {
|
|
4
5
|
id: number;
|
|
5
|
-
provider:
|
|
6
|
+
provider: GatewayProvider;
|
|
6
7
|
configured: boolean;
|
|
7
8
|
providerVerified: boolean;
|
|
8
|
-
reason:
|
|
9
|
+
reason: PaymentGatewayCheckReason;
|
|
9
10
|
}
|
|
10
11
|
export interface PaymentSetupCheck {
|
|
11
12
|
configured: boolean;
|
|
@@ -13,7 +14,7 @@ export interface PaymentSetupCheck {
|
|
|
13
14
|
providers: PaymentGatewayCheck[];
|
|
14
15
|
checkedAt: string;
|
|
15
16
|
}
|
|
16
|
-
export type PaymentSetupResponse =
|
|
17
|
+
export type PaymentSetupResponse = PaymentEnvelope<PaymentSetupCheck>;
|
|
17
18
|
export type PaymentReceiptStatus = 'pending' | 'accepted' | 'rejected' | 'cancelled';
|
|
18
19
|
export interface ProductPaymentReceipt {
|
|
19
20
|
uuid: string;
|
|
@@ -23,18 +24,18 @@ export interface ProductPaymentReceipt {
|
|
|
23
24
|
service_model_type: string | null;
|
|
24
25
|
service_model_id: string | null;
|
|
25
26
|
}
|
|
26
|
-
export type ProductPaymentReceiptResponse =
|
|
27
|
+
export type ProductPaymentReceiptResponse = PaymentEnvelope<ProductPaymentReceipt>;
|
|
27
28
|
export interface ProductPaymentAvailability {
|
|
28
29
|
available: boolean;
|
|
29
30
|
sandbox: boolean;
|
|
30
31
|
}
|
|
31
|
-
export type ProductPaymentAvailabilityResponse =
|
|
32
|
+
export type ProductPaymentAvailabilityResponse = PaymentEnvelope<ProductPaymentAvailability>;
|
|
32
33
|
export interface VerifiedAssetPurchaseReceipt {
|
|
33
34
|
purchaseId: string;
|
|
34
35
|
transaction: string;
|
|
35
36
|
amount: number;
|
|
36
37
|
currency: 'IRR';
|
|
37
|
-
kind:
|
|
38
|
+
kind: 'topup' | 'subscription' | 'plan' | 'points_pack';
|
|
38
39
|
providerVerified: boolean;
|
|
39
40
|
status: 'pending' | 'accepted' | 'rejected';
|
|
40
41
|
}
|
|
@@ -47,7 +48,7 @@ export interface ShopPaymentReceipt {
|
|
|
47
48
|
status: PaymentReceiptStatus | null;
|
|
48
49
|
providerVerified: true;
|
|
49
50
|
}
|
|
50
|
-
export type ShopPaymentReceiptResponse =
|
|
51
|
+
export type ShopPaymentReceiptResponse = PaymentEnvelope<ShopPaymentReceipt>;
|
|
51
52
|
export interface ShopPaymentReadiness {
|
|
52
53
|
configured: boolean;
|
|
53
54
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.types.d.ts","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"contracts.types.d.ts","sourceRoot":"","sources":["../src/contracts.types.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACnE,MAAM,MAAM,yBAAyB,GAAG,gCAAgC,GAAG,uCAAuC,GAAG,qBAAqB,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAC9L,MAAM,WAAW,mBAAmB;IAAG,EAAE,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,eAAe,CAAC;IAAC,UAAU,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,yBAAyB,CAAA;CAAE;AACjK,MAAM,WAAW,iBAAiB;IAAG,UAAU,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,mBAAmB,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;AAC1I,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AACtE,MAAM,MAAM,oBAAoB,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,WAAW,CAAC;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
|
@@ -1,21 +1,52 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { CreateGatewayInput, CreatePaymentInput, CreatePaymentResponse,
|
|
3
|
-
import type * as O from "./operations.types.js";
|
|
1
|
+
import { ServiceApi, type RequestOptions } from "@faiber/sdk-core";
|
|
2
|
+
import type { CreateGatewayInput, CreatePaymentInput, CreatePaymentResponse, GatewayListResponse, GatewayOptionsResponse, GatewayResponse, TransactionListResponse, TransactionResponse, UpdateGatewayInput, GatewayListQuery, TransactionListQuery, DailyIncomeQuery, UpdatePaymentSettingsInput } from "./types.js";
|
|
4
3
|
import { PaymentOperations } from "./operations.js";
|
|
4
|
+
/** Gateway CRUD retains the deleted record envelope returned by Payment. All methods retain Axios metadata/cancellation and reject with AxiosError. */
|
|
5
|
+
export declare class PaymentGatewaysApi extends ServiceApi {
|
|
6
|
+
/** List by status with bracketed pagination; requires admin:gateway:read. */
|
|
7
|
+
list(params?: GatewayListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<GatewayListResponse, any, {}, any>>;
|
|
8
|
+
/** Read an integer gateway ID; requires admin:gateway:read. Missing ID returns404. */
|
|
9
|
+
show(id: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<GatewayResponse, any, {}, any>>;
|
|
10
|
+
/** Create provider configuration; requires admin:gateway:create. Invalid provider returns422. */
|
|
11
|
+
create(data: CreateGatewayInput, options?: RequestOptions<CreateGatewayInput>): Promise<import("axios").AxiosResponse<GatewayResponse, CreateGatewayInput, {}, any>>;
|
|
12
|
+
/** Patch configured fields; requires admin:gateway:update. Null optional fields do not clear stored values. */
|
|
13
|
+
update(id: number, data: UpdateGatewayInput, options?: RequestOptions<UpdateGatewayInput>): Promise<import("axios").AxiosResponse<GatewayResponse, UpdateGatewayInput, {}, any>>;
|
|
14
|
+
/** Hard-delete and return the gateway record; requires admin:gateway:delete. Missing ID returns404. */
|
|
15
|
+
delete(id: number, options?: RequestOptions): Promise<import("axios").AxiosResponse<GatewayResponse, any, {}, any>>;
|
|
16
|
+
}
|
|
17
|
+
/** Transaction administration list and UUID status lookup; every call retains Axios metadata and cancellation. */
|
|
18
|
+
export declare class PaymentTransactionsApi extends ServiceApi {
|
|
19
|
+
/** Filter transactions and summaries; bracket pagination defaults 1/20 and size clamps 1..100. Requires admin:transaction:read; errors use AxiosError. */
|
|
20
|
+
list(params?: TransactionListQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<TransactionListResponse, any, {}, any>>;
|
|
21
|
+
/** Read status only by transaction UUID; no local permission gate. Missing UUID returns 404; errors use AxiosError. */
|
|
22
|
+
show(uuid: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TransactionResponse, any, {}, any>>;
|
|
23
|
+
}
|
|
5
24
|
export declare class PaymentApi extends ServiceApi {
|
|
6
25
|
readonly operations: PaymentOperations;
|
|
7
|
-
readonly gateways:
|
|
8
|
-
readonly transactions:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
26
|
+
readonly gateways: PaymentGatewaysApi;
|
|
27
|
+
readonly transactions: PaymentTransactionsApi;
|
|
28
|
+
/** Create a positive-amount payment link with optional body idempotency_key; returns transaction UUID and redirect URL. Product reservations use their trusted checkout routes. Errors include 409 conflict, 422 validation and 502 provider failure; Asset may require x-asset-payment-token. */
|
|
29
|
+
createPayment(data: CreatePaymentInput, options?: RequestOptions<CreatePaymentInput>): Promise<import("axios").AxiosResponse<CreatePaymentResponse, CreatePaymentInput, {}, any>>;
|
|
30
|
+
/** Read provider/status label arrays; requires admin:gateway:read. Returns full Axios response; permission failures reject with AxiosError. */
|
|
31
|
+
gatewayOptions(options?: RequestOptions): Promise<import("axios").AxiosResponse<GatewayOptionsResponse, any, {}, any>>;
|
|
32
|
+
/** Accepted income per UTC date, zero-filled; backend defaults30 days and clamps1–90. Requires admin:transaction:read. */
|
|
33
|
+
dailyIncome(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").DailyIncomeResponse, unknown, {}, any>>;
|
|
34
|
+
/** Read the chart with an explicit day window; retains Axios metadata and cancellation. */
|
|
35
|
+
dailyIncomeFor(params: DailyIncomeQuery, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").DailyIncomeResponse, unknown, {}, any>>;
|
|
36
|
+
/** Read configured fallback URL (default https://faiber.ir); requires admin:gateway:read. Returns full Axios response; errors use AxiosError. */
|
|
37
|
+
settings(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").PaymentSettingsResponse, unknown, {}, any>>;
|
|
38
|
+
/** Save absolute HTTP(S) fallback URL without credentials; requires admin:gateway:update. Invalid URL returns 422; returns normalized URL with Axios metadata. */
|
|
39
|
+
updateSettings(data: UpdatePaymentSettingsInput, options?: RequestOptions<UpdatePaymentSettingsInput>): Promise<import("axios").AxiosResponse<import("./types.js").PaymentSettingsResponse, UpdatePaymentSettingsInput, {}, any>>;
|
|
40
|
+
/** Read status only by UUID; no local permission gate. Missing transaction returns 404; returns full Axios response and rejects with AxiosError. */
|
|
41
|
+
transactionStatus(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<TransactionResponse, unknown, {}, any>>;
|
|
42
|
+
/** Read newest-first verification records by UUID; requires admin:transaction:read. Missing transaction returns 404; errors use AxiosError. */
|
|
43
|
+
verificationLogs(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").PaymentVerificationLogsResponse, unknown, {}, any>>;
|
|
44
|
+
/** Verify stored transaction UUID with its provider and record verifier; requires authenticated admin:transaction:verify. HTTP 200 may report successful:false. Returns full Axios response; missing records return 404. */
|
|
45
|
+
verifyTransaction(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").VerifyPaymentResponse, unknown, {}, any>>;
|
|
46
|
+
/** Reject pending transaction UUID and emit result with verifier; requires authenticated admin:transaction:verify. Other states return 409; returns full Axios response and errors use AxiosError. */
|
|
47
|
+
rejectTransaction(id: string, options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").VerifyPaymentResponse, unknown, {}, any>>;
|
|
48
|
+
/** Read HTTP integration metadata and SDK snippets; declared IDP permission admin:integration:read, with ingress enforcement required. Returns full Axios response; errors use AxiosError. */
|
|
49
|
+
integrationDocs(options?: RequestOptions): Promise<import("axios").AxiosResponse<import("./types.js").PaymentIntegrationDocsResponse, unknown, {}, any>>;
|
|
19
50
|
}
|
|
20
51
|
export * from "./types.js";
|
|
21
52
|
export * from "@faiber/sdk-core";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,sBAAsB,EAAE,eAAe,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,0BAA0B,EAAE,MAAM,YAAY,CAAC;AACtT,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,uJAAuJ;AACvJ,qBAAa,kBAAmB,SAAQ,UAAU;IAC9C,6EAA6E;IAC7E,IAAI,CAAC,MAAM,CAAC,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc;IACxD,sFAAsF;IACtF,IAAI,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IACzC,iGAAiG;IACjG,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,CAAC,kBAAkB,CAAC;IAC7E,+GAA+G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AAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IACtD,sMAAsM;IACtM,iBAAiB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc;IACtD,8LAA8L;IAC9L,eAAe,CAAC,OAAO,CAAC,EAAE,cAAc;CAC3C;AACD,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,50 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ServiceApi } from "@faiber/sdk-core";
|
|
2
2
|
import { PaymentOperations } from "./operations.js";
|
|
3
|
+
/** Gateway CRUD retains the deleted record envelope returned by Payment. All methods retain Axios metadata/cancellation and reject with AxiosError. */
|
|
4
|
+
export class PaymentGatewaysApi extends ServiceApi {
|
|
5
|
+
/** List by status with bracketed pagination; requires admin:gateway:read. */
|
|
6
|
+
list(params, options) { return this.client.get("/api/v1/gateways", params, options); }
|
|
7
|
+
/** Read an integer gateway ID; requires admin:gateway:read. Missing ID returns404. */
|
|
8
|
+
show(id, options) { return this.client.get(`/api/v1/gateways/${encodeURIComponent(id)}`, undefined, options); }
|
|
9
|
+
/** Create provider configuration; requires admin:gateway:create. Invalid provider returns422. */
|
|
10
|
+
create(data, options) { return this.client.post("/api/v1/gateways", data, options); }
|
|
11
|
+
/** Patch configured fields; requires admin:gateway:update. Null optional fields do not clear stored values. */
|
|
12
|
+
update(id, data, options) { return this.client.patch(`/api/v1/gateways/${encodeURIComponent(id)}`, data, options); }
|
|
13
|
+
/** Hard-delete and return the gateway record; requires admin:gateway:delete. Missing ID returns404. */
|
|
14
|
+
delete(id, options) { return this.client.delete(`/api/v1/gateways/${encodeURIComponent(id)}`, options); }
|
|
15
|
+
}
|
|
16
|
+
/** Transaction administration list and UUID status lookup; every call retains Axios metadata and cancellation. */
|
|
17
|
+
export class PaymentTransactionsApi extends ServiceApi {
|
|
18
|
+
/** Filter transactions and summaries; bracket pagination defaults 1/20 and size clamps 1..100. Requires admin:transaction:read; errors use AxiosError. */
|
|
19
|
+
list(params, options) { return this.client.get("/api/v1/transactions", params, options); }
|
|
20
|
+
/** Read status only by transaction UUID; no local permission gate. Missing UUID returns 404; errors use AxiosError. */
|
|
21
|
+
show(uuid, options) { return this.client.get(`/api/v1/transactions/${encodeURIComponent(uuid)}`, undefined, options); }
|
|
22
|
+
}
|
|
3
23
|
export class PaymentApi extends ServiceApi {
|
|
4
24
|
operations = new PaymentOperations(this.client);
|
|
5
|
-
gateways = new
|
|
6
|
-
transactions = new
|
|
25
|
+
gateways = new PaymentGatewaysApi(this.client);
|
|
26
|
+
transactions = new PaymentTransactionsApi(this.client);
|
|
27
|
+
/** Create a positive-amount payment link with optional body idempotency_key; returns transaction UUID and redirect URL. Product reservations use their trusted checkout routes. Errors include 409 conflict, 422 validation and 502 provider failure; Asset may require x-asset-payment-token. */
|
|
7
28
|
createPayment(data, options) { return this.client.post("/api/v1/payment", data, options); }
|
|
29
|
+
/** Read provider/status label arrays; requires admin:gateway:read. Returns full Axios response; permission failures reject with AxiosError. */
|
|
8
30
|
gatewayOptions(options) { return this.client.get("/api/v1/gateways/options", undefined, options); }
|
|
9
|
-
|
|
31
|
+
/** Accepted income per UTC date, zero-filled; backend defaults30 days and clamps1–90. Requires admin:transaction:read. */
|
|
32
|
+
dailyIncome(options) { return this.operations.transactionDailyIncomeGet(undefined, options); }
|
|
33
|
+
/** Read the chart with an explicit day window; retains Axios metadata and cancellation. */
|
|
34
|
+
dailyIncomeFor(params, options) { return this.operations.transactionDailyIncomeGet(params, options); }
|
|
35
|
+
/** Read configured fallback URL (default https://faiber.ir); requires admin:gateway:read. Returns full Axios response; errors use AxiosError. */
|
|
10
36
|
settings(options) { return this.operations.settingsShowGet(options); }
|
|
37
|
+
/** Save absolute HTTP(S) fallback URL without credentials; requires admin:gateway:update. Invalid URL returns 422; returns normalized URL with Axios metadata. */
|
|
11
38
|
updateSettings(data, options) { return this.operations.settingsUpdatePatch(data, options); }
|
|
39
|
+
/** Read status only by UUID; no local permission gate. Missing transaction returns 404; returns full Axios response and rejects with AxiosError. */
|
|
12
40
|
transactionStatus(id, options) { return this.operations.routerShowStatusGet(id, options); }
|
|
41
|
+
/** Read newest-first verification records by UUID; requires admin:transaction:read. Missing transaction returns 404; errors use AxiosError. */
|
|
13
42
|
verificationLogs(id, options) { return this.operations.transactionVerificationLogsGet(id, options); }
|
|
43
|
+
/** Verify stored transaction UUID with its provider and record verifier; requires authenticated admin:transaction:verify. HTTP 200 may report successful:false. Returns full Axios response; missing records return 404. */
|
|
14
44
|
verifyTransaction(id, options) { return this.operations.transactionVerifyPaymentPost(id, options); }
|
|
45
|
+
/** Reject pending transaction UUID and emit result with verifier; requires authenticated admin:transaction:verify. Other states return 409; returns full Axios response and errors use AxiosError. */
|
|
15
46
|
rejectTransaction(id, options) { return this.operations.transactionRejectPaymentPost(id, options); }
|
|
47
|
+
/** Read HTTP integration metadata and SDK snippets; declared IDP permission admin:integration:read, with ingress enforcement required. Returns full Axios response; errors use AxiosError. */
|
|
16
48
|
integrationDocs(options) { return this.operations.integrationIntegrationDocsShowGet(options); }
|
|
17
49
|
}
|
|
18
50
|
export * from "./types.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,uJAAuJ;AACvJ,MAAM,OAAO,kBAAmB,SAAQ,UAAU;IAC9C,6EAA6E;IAC7E,IAAI,CAAC,MAAyB,EAAE,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