@gymspace/sdk 1.2.21 → 1.3.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/.tsbuildinfo +1 -0
- package/dist/index.d.mts +253 -19
- package/dist/index.d.ts +253 -19
- package/dist/index.js +62 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +61 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/models/activities.ts +5 -7
- package/src/models/bulk-messaging.ts +1 -0
- package/src/models/catalog.ts +236 -0
- package/src/models/index.ts +1 -0
- package/src/models/products.ts +4 -0
- package/src/models/subscriptions.ts +2 -1
- package/src/resources/admin-catalog.ts +46 -0
- package/src/resources/index.ts +1 -0
- package/src/resources/public-catalog.ts +45 -44
- package/src/resources/subscription-plans.ts +6 -0
- package/src/sdk.ts +3 -0
|
@@ -0,0 +1 @@
|
|
|
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.dom.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.decorators.d.ts","../../../node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/axios/index.d.ts","../node_modules/@gymspace/shared/src/enums.ts","../node_modules/@gymspace/shared/src/types/whatsapp-templates.types.ts","../node_modules/@gymspace/shared/src/types.ts","../node_modules/@gymspace/shared/src/interfaces.ts","../node_modules/@gymspace/shared/src/constants/template-codes.constants.ts","../node_modules/@gymspace/shared/src/constants/bulk-message-variables.ts","../node_modules/@gymspace/shared/src/constants.ts","../node_modules/@gymspace/shared/src/utils/rolehelpers.ts","../node_modules/@gymspace/shared/src/events/whatsapp.events.ts","../node_modules/@gymspace/shared/src/events/bulk-messaging.events.ts","../node_modules/@gymspace/shared/src/events/activity.events.ts","../node_modules/@gymspace/shared/src/events/index.ts","../../../node_modules/zod/v3/helpers/typealiases.d.cts","../../../node_modules/zod/v3/helpers/util.d.cts","../../../node_modules/zod/v3/index.d.cts","../../../node_modules/zod/v3/zoderror.d.cts","../../../node_modules/zod/v3/locales/en.d.cts","../../../node_modules/zod/v3/errors.d.cts","../../../node_modules/zod/v3/helpers/parseutil.d.cts","../../../node_modules/zod/v3/helpers/enumutil.d.cts","../../../node_modules/zod/v3/helpers/errorutil.d.cts","../../../node_modules/zod/v3/helpers/partialutil.d.cts","../../../node_modules/zod/v3/standard-schema.d.cts","../../../node_modules/zod/v3/types.d.cts","../../../node_modules/zod/v3/external.d.cts","../../../node_modules/zod/index.d.cts","../node_modules/@gymspace/shared/src/schemas/ai-template.schema.ts","../node_modules/@gymspace/shared/src/schemas/bulk-message.schema.ts","../node_modules/@gymspace/shared/src/schemas/index.ts","../node_modules/@gymspace/shared/src/index.ts","../src/types.ts","../src/errors.ts","../src/client.ts","../src/utils/agent-fetch.ts","../src/models/subscriptions.ts","../src/models/auth.ts","../src/resources/base.ts","../src/resources/auth.ts","../src/models/organizations.ts","../src/resources/organizations.ts","../src/models/gyms.ts","../src/resources/gyms.ts","../src/resources/collaborators.ts","../src/models/roles.ts","../src/resources/roles.ts","../src/models/clients.ts","../src/resources/clients.ts","../src/models/membership-plans.ts","../src/resources/membership-plans.ts","../src/models/contracts.ts","../src/resources/contracts.ts","../src/models/dashboard.ts","../src/resources/dashboard.ts","../src/models/check-ins.ts","../src/resources/check-ins.ts","../src/resources/invitations.ts","../src/models/assets.ts","../src/resources/assets.ts","../src/models/files.ts","../src/resources/files.ts","../src/models/catalog.ts","../src/resources/public-catalog.ts","../src/resources/admin-catalog.ts","../src/resources/health.ts","../src/models/onboarding.ts","../src/resources/onboarding.ts","../src/models/products.ts","../src/resources/products.ts","../src/models/sales.ts","../src/resources/sales.ts","../src/models/suppliers.ts","../src/resources/suppliers.ts","../src/models/users.ts","../src/resources/users.ts","../src/resources/subscriptions.ts","../src/resources/subscription-plans.ts","../src/resources/admin-subscription-management.ts","../src/models/payment-methods.ts","../src/resources/payment-methods.ts","../src/models/whatsapp.ts","../src/resources/whatsapp.ts","../src/resources/whatsapp-templates.ts","../src/models/bulk-messaging.ts","../src/resources/bulk-messaging.ts","../src/models/activities.ts","../src/resources/activities.ts","../src/models/tags.ts","../src/resources/tags.ts","../src/models/commissions.ts","../src/resources/commission-config.ts","../src/resources/commission-rules.ts","../src/resources/commission-calculations.ts","../src/resources/commission-reports.ts","../src/resources/commission-promotions.ts","../src/resources/index.ts","../src/sdk.ts","../src/models/subscription-plans.ts","../src/models/admin-subscription-management.ts","../src/models/index.ts","../src/index.ts","../src/models/collaborators.ts","../src/models/invitations.ts"],"fileIdsList":[[72],[63,64],[60,61,63,65,66,71],[61,63],[71],[63],[60,61,63,66,67,68,69,70],[60,61,62],[52,53],[49],[56,57,58],[48,50,51,53,54,55,57,59,76],[48,50],[73],[74,75],[48,49],[47,78,79],[78,79,80,142,143,146],[124],[82],[77],[77,78],[82,83,86,88,91,93,95,97,99,101,104,106,108,112,114,116,118,120,125,127,130,132,134,136,144,145],[78],[123],[78,84,132],[78,84,108],[78,84],[84,104],[78,82,83,84],[78,80],[78,84,130],[78,84,101],[78,84,93],[77,78,84],[78,84,136],[78,84,97],[84,99],[84,106],[78,84,88],[85,87,89,90,92,94,96,98,100,102,103,105,107,109,110,111,113,115,117,119,121,122,123,124,126,128,129,131,133,135,137,138,139,140,141],[78,84,95],[84,112],[78,84,86],[78,84,125],[78,84,114],[77,78,84,91],[78,84,116],[78,82,84],[78,84,118],[78,84,134],[78,84,120],[78,84,127],[78,80,81,142],[80]],"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":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","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":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"7584239b853f690c6629ae8bb683ded6ff33104e7835778bbca5ee1b1d9a0a91","impliedFormat":99},{"version":"67b5766e4f99991e9c69258f2a6f157c0c42cba3e2f4d3a0395b105298d529d3","impliedFormat":1},{"version":"e88e48e9e12171b0e3c661c53b8f1f496fd8922b164593d86701dfc2ccf79dcf","impliedFormat":1},{"version":"2c160a58d0e3862445307085f71241f435303952c58692c1fb8fc67424f8b466","impliedFormat":1},{"version":"5d43729825004f65a169ceb8cb72c4a2902571ab455c380b733f79a29764a6d2","impliedFormat":1},{"version":"81e06c7efa25551f23a6c038f510fa74b017d35547df3e752a5a915dd8c5df7d","impliedFormat":1},{"version":"458dff79e03638415b03438ab46b70dd5b6a37c3a41d11ea40b93edb1d738fe3","impliedFormat":1},{"version":"461620e6ed189f7066d20fac474f5ce6bb0dbba625c5d8a260557468c93bdfe6","impliedFormat":1},{"version":"c934cb299bc6f46910e61a6655ed654f00036817c3474499cb6c4ebc72c2fddc","impliedFormat":1},{"version":"f56e30360a441fc374b3cbe77c18a37f8a9b83b3eb79407945c3a52912a887e7","impliedFormat":1},{"version":"e08f569e7171570ace98567ff5f964a7bcb4b39e88b96a909d685e9048739d10","impliedFormat":1},{"version":"dcd768b31a77e38cc7dc147cbd1d80183ab3db2fca03939ec89d9ae8b13581f4","impliedFormat":1},{"version":"27bc4e2e091355feffae8d0f6b09251c9e1340fcd9e5f4a64adaad9e0d80bec8","impliedFormat":1},{"version":"d3cfde44f8089768ebb08098c96d01ca260b88bccf238d55eee93f1c620ff5a5","impliedFormat":1},{"version":"293eadad9dead44c6fd1db6de552663c33f215c55a1bfa2802a1bceed88ff0ec","impliedFormat":1},{"version":"833e92c058d033cde3f29a6c7603f517001d1ddd8020bc94d2067a3bc69b2a8e","impliedFormat":1},{"version":"08b2fae7b0f553ad9f79faec864b179fc58bc172e295a70943e8585dd85f600c","impliedFormat":1},{"version":"f12edf1672a94c578eca32216839604f1e1c16b40a1896198deabf99c882b340","impliedFormat":1},{"version":"e3498cf5e428e6c6b9e97bd88736f26d6cf147dedbfa5a8ad3ed8e05e059af8a","impliedFormat":1},{"version":"dba3f34531fd9b1b6e072928b6f885aa4d28dd6789cbd0e93563d43f4b62da53","impliedFormat":1},{"version":"f672c876c1a04a223cf2023b3d91e8a52bb1544c576b81bf64a8fec82be9969c","impliedFormat":1},{"version":"e4b03ddcf8563b1c0aee782a185286ed85a255ce8a30df8453aade2188bbc904","impliedFormat":1},{"version":"2329d90062487e1eaca87b5e06abcbbeeecf80a82f65f949fd332cfcf824b87b","impliedFormat":1},{"version":"25b3f581e12ede11e5739f57a86e8668fbc0124f6649506def306cad2c59d262","impliedFormat":1},{"version":"4fdb529707247a1a917a4626bfb6a293d52cd8ee57ccf03830ec91d39d606d6d","impliedFormat":1},{"version":"a9ebb67d6bbead6044b43714b50dcb77b8f7541ffe803046fdec1714c1eba206","impliedFormat":1},{"version":"5780b706cece027f0d4444fbb4e1af62dc51e19da7c3d3719f67b22b033859b9","impliedFormat":1},{"version":"c0e0824bf7c079f44b7434e78666c33130c0c6f2f4f54bee5119e619c6d15bc3","impliedFormat":1},{"version":"c9d892f7136d7492da48218a0b102cec47a705da60a8b1b54ea6fab550ad5334","impliedFormat":1},{"version":"21ca67df17a3e99d5178bcc3769a703adc1e6c2338318259aaaab4dfe1394933","impliedFormat":1},{"version":"1aead7b85ac2bc7ba405a17b6a901c7192e8eb52cdbe84781093cab1f48c2b74","impliedFormat":1},"de5d423a7d7a14ed12522b42b44d13092b78d34680c316843b3fcad988b70747","122f963f839dffe02992f3c29c4f9d22c8be0bf865bd4015498e9a55b718d2ef","b1a149cca677086760e404839028e0c7137b7b9b5f7f02a2ca853b59bbac13a7","358f0833c081a5ba5dd957d18530f507688c922f08054c12a78e0d42534a3bbc","ea6eb004e021c23a2d4c2090a3086234217e2d33361e62e9737ec34e3ef719e8","149cf742da9555355188424cd94735ae7bfce96f65093bad92a680208b079e6e","5fc81afdf7085284bdd04bb7b3de97769515daa5d8b2a4cecb1d4c2300b4a510","ddcce7fd9825940c4ac822754bc8ca63086567722579b89617fe8e30c8016a43","e1f06446f9832d772b1171202840aa54d56411c7470f3e1b7736e3b95210bd0e","c15d9e507818d695186b1aec0270d313a5138af35222d30cd41f95c117065056","0e29c01962ead885f81ff7a94811f6d7eca471e86321031f360f6a0a57dddb78","db0c5964a56ddaed5f25597cc06a05c2c4f8c8e785a0d450cb81386d9766b8eb","62eb992c4944eb724c9bc4a531f8c954a7aa94301b52f172cc69b335b738588c","2b949dc19987d2217953b362864780adabb1318bf2c6be5a76ca6a59220c7bf3","58e5f7be56dc310c730db38ab7df7bc1e17742bd54e55356f70def71cf45a847","c478bbdc874295b06acf9e4bf60b2a435157d1eb6f262109459c3ee7292867f3","61ec2be27c14fb6dd017426ccad9573d4195dece4182782fd36e9e584b9ba599","e980f13a6ed4125a5d9548b689c8bdc3abb89fd0e53814719471d93342ec35a8","3caa6231ff6fb326b46c622f7160201b613704084ec83cb1b2733e50bfcf9048","74a6de5ba612b3489841fdde08d026b3b34410eea1088331a1076a77292acfa9","e7a9219ee898f35f559c031adc14f12a23232d1615196b64679665bc31aaeb09","a2659947000309025232a493a24559d02d894cdfa8c3781b03b89d7b6024503c","3d1029733b77f2d20a88c2a7c9fa2eef4117e02183a64adbb9e396fde58082a2","e2ec568b04b0f45098e9f41f9a4c4b79845086e1e97140c82d812eade0149535","0ec42fefa04cdc68782cefe6753d79a951bfaf0e3562d681b152b6a138abc607","0671d70b6dcbf8c5773b2da7a2fb191ff83b90c12b9c7da6bae3ba6bd94beed6","8d5e02343427bb0f8cd07e25f13fea96f16fda4d20c4bd0bb4eb5cb950fdfb85","8ca018e6dd4960711bcfc9a62bd4dba80794d7d436a61631339054042fdcd7a1","0318a89ce8ab11333f2110b24f21182b5cbe337d633e86c2f2c8be2371d876fd","5f627cd620351e3e4ed705f0abd6d84d289dd8141a781060954f074f93036634","1e525ef71bc144624a89607587dfba06abe4d9510155eea9e9e46b6b44094600","d3caa284f02d917e299c2cab4f537f6524c1db83e8c49ad61e222b185f338f8f","e7b2f293469dd95f8ac81adec27544ae301e13f35defe5a69756321eeb275fc1","33253a790da4c3c4ca6fac42efe83f1f78f55d2a5d66a84a98ef2c24b92b12f8","91b1382fbc682fa8d5856a1c1db4d910c8fe410289c367512a0c522ec6ce869e","84615e2a24d394d7e4dcbce62e2fdbc5b6a6320b4cae035083decd8faf93f0f2","b22c287d224b16fae8ae3d8f716c03e4ef2f8898d8da7ea731440dd152c52925","f1ae7e612f0c9eeb7048ac5f1aff7f41530ac9e16c09f07222ce0ffc53a701d7","98b2be0257b290cd82d28207558424ccca1cbebd2f67b9d68205a2d9e3311785","738fccb61792698f202ad9902216584de09511cdd603349a1a164de9b89518f5","f81a07114fdf317c63b63299df9599f2a4f3dae2d1109d661eb3752847c8d489","63aa5ef7c1fad8d6758f25e968e57a4973582866fa08a3429761597653eb39f2","5a323df23f74a335e727b2273b69b49a93c877c930a91d59c219dd69a8361ace","05b2c94345341a306f1635d9cc7f42e2af5df9d9a5f9d8399e1560e774566e50","6ac3496933bea2ed5aa344ce23d763219b5118f3b35df3b5f671513a4323df67","49ac3ac2280c77813ab79de1943f256014ce0a4d977d5c7b9da645b5a9126c7e","21259e4ae26bc1386e6969a3072d6ec31dc52ad81a07b151d66d9cb9ab81cb37","51bebf61fbc48fc20666609c19f96a2ea65bcffc4971d2c0c8d5f87e94dfa59b","aa3739ab80ddd103e094a807e4a94bd9c15afc4a05f23ac79f81770b968ac5a7","e9a6a6067866d93271655e066539ae22687dad13aa6f864ffec2e0f06de10600","6d0f299b4c433721a61c81e7d71cd06cb5768e4f1c8879cc1c8466dc83eea7ce","038353dc059db1b2aee89acea285136ae3e6980b7a00dfa055749a8c9c69446d","4ed6a5342d4b3c2ee3362fd92bf0d6accb987c61fc80390ea5a97aa7662a34a5","7de4f8be457ffdffe588d67d670f6045f3fa1f7b58943afcaec4a089ff6fc698","4a4d3ca432267ee2c3328ccd9bc9cce63926aab43efc211f12f2861a0128fe0b","a442edfb09e9d8cd13a32d55897c3b9515d2daa28aa53e29e472da023dafa0d1","92993add08cef6c9b4022dc996971fa7a19f9db3cff8505801ab4b84b3763b5b","78be2b57be63cdcf2ee702b1b83b47bbad2e10e775d894be94cb762fe69e5555","5373e92103b4bac997c1c5a56fb20c33db307d23d7222a87e1c1d412aa778c89","a9507fd60c9bc85b529ad7fc61d0bb21d4b16dd91c0a522e08a00e5bd56471dc","f44eb61ba2b51021075d1895f65a610ebd4882c9ca13bfc5861c2a89750a5d7d","a8f115257802c52b66411b0f4fda408e46c12428e9d16fab24122b4ff42f6fa6","fb3f1cc0a373e662def2b5f0df965532c96842b3cdd3c3ddee5e889bbdaf5d4f","641868ca28d751af1921ce8f01cf8920786c7871e62d7af32b8b578708ebbd2d","3cf00f4865bf9824efe9bb20a4433777058b2cd742b31930c80a3192e75ead43","61ced83f9f7a85586fc6419d7467894a8e1888ff32d146fefd98f3cb21706575","630a65d71ba7571e9880f174146ef544d2818cbcf85440869823a3c69bb13438","0f397304d0d60d06be9e49ff7d18dbfc4a3fa5b3f5d72e08d77c1bf1601bf4f6","c5ca64d66de1620fe27d791be77387b62b242e6813d793ec5b5187bc943d5cea","6581f800df7e785c8aab229f06bef765ad781f0bb353091a0f23375694c7891e","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981"],"root":[[78,149]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[73,1],[65,2],[72,3],[66,4],[69,5],[62,1],[64,6],[71,7],[63,8],[54,9],[52,10],[59,11],[77,12],[51,13],[74,14],[75,14],[76,15],[50,16],[80,17],[147,18],[145,19],[83,20],[130,21],[97,22],[146,23],[116,24],[144,25],[118,24],[127,24],[133,26],[110,27],[124,28],[105,29],[85,30],[84,31],[131,32],[102,33],[94,34],[90,35],[139,36],[137,36],[141,36],[140,36],[138,36],[98,37],[100,38],[107,39],[89,40],[111,28],[142,41],[103,35],[96,42],[113,43],[87,44],[126,45],[115,46],[109,27],[92,47],[117,48],[123,28],[122,49],[119,50],[135,51],[121,52],[129,53],[128,53],[143,54],[78,21],[81,55]],"affectedFilesPendingEmit":[[80,49],[79,49],[147,49],[132,49],[145,49],[104,49],[83,49],[130,49],[108,49],[101,49],[93,49],[148,49],[136,49],[97,49],[99,49],[106,49],[88,49],[146,49],[149,49],[95,49],[112,49],[86,49],[125,49],[114,49],[91,49],[116,49],[144,49],[82,49],[118,49],[134,49],[120,49],[127,49],[133,49],[110,49],[124,49],[105,49],[85,49],[84,49],[131,49],[102,49],[94,49],[90,49],[139,49],[137,49],[141,49],[140,49],[138,49],[98,49],[100,49],[107,49],[89,49],[111,49],[142,49],[103,49],[96,49],[113,49],[87,49],[126,49],[115,49],[109,49],[92,49],[117,49],[123,49],[122,49],[119,49],[135,49],[121,49],[129,49],[128,49],[143,49],[78,49],[81,49]],"emitSignatures":[78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],"version":"5.9.3"}
|
package/dist/index.d.mts
CHANGED
|
@@ -247,6 +247,7 @@ interface Subscription {
|
|
|
247
247
|
startDate: Date;
|
|
248
248
|
endDate: Date;
|
|
249
249
|
isActive: boolean;
|
|
250
|
+
isTrial?: boolean;
|
|
250
251
|
}
|
|
251
252
|
interface AvailablePlanDto {
|
|
252
253
|
id: string;
|
|
@@ -1480,17 +1481,111 @@ declare class FilesResource extends BaseResource {
|
|
|
1480
1481
|
render(id: string): Promise<Blob>;
|
|
1481
1482
|
}
|
|
1482
1483
|
|
|
1483
|
-
|
|
1484
|
+
/**
|
|
1485
|
+
* Hero section of the catalog
|
|
1486
|
+
*/
|
|
1487
|
+
interface CatalogHeroSection {
|
|
1488
|
+
logo: string | null;
|
|
1489
|
+
banner: string | null;
|
|
1490
|
+
heroMessage: string | null;
|
|
1491
|
+
ctaButtonText: string;
|
|
1492
|
+
whatsappUrl: string | null;
|
|
1493
|
+
}
|
|
1494
|
+
/**
|
|
1495
|
+
* Activity/class offered by the gym
|
|
1496
|
+
*/
|
|
1497
|
+
interface CatalogActivity {
|
|
1498
|
+
id: string;
|
|
1499
|
+
name: string;
|
|
1500
|
+
description: string | null;
|
|
1501
|
+
startTime: string;
|
|
1502
|
+
duration: number;
|
|
1503
|
+
days: string[];
|
|
1504
|
+
imageUrl: string | null;
|
|
1505
|
+
}
|
|
1506
|
+
/**
|
|
1507
|
+
* Membership plan offered by the gym
|
|
1508
|
+
*/
|
|
1509
|
+
interface CatalogPlan {
|
|
1510
|
+
id: string;
|
|
1511
|
+
name: string;
|
|
1512
|
+
description: string | null;
|
|
1513
|
+
price: number;
|
|
1514
|
+
currency: string;
|
|
1515
|
+
duration: string;
|
|
1516
|
+
features: any;
|
|
1517
|
+
whatsappUrl: string | null;
|
|
1518
|
+
}
|
|
1519
|
+
/**
|
|
1520
|
+
* Social media links
|
|
1521
|
+
*/
|
|
1522
|
+
interface CatalogSocialMedia {
|
|
1523
|
+
instagram: string | null;
|
|
1524
|
+
facebook: string | null;
|
|
1525
|
+
tiktok: string | null;
|
|
1526
|
+
whatsapp: string | null;
|
|
1527
|
+
}
|
|
1528
|
+
/**
|
|
1529
|
+
* Gym location information
|
|
1530
|
+
*/
|
|
1531
|
+
interface CatalogLocation {
|
|
1532
|
+
address: string | null;
|
|
1533
|
+
city: string | null;
|
|
1534
|
+
state: string | null;
|
|
1535
|
+
latitude: number | null;
|
|
1536
|
+
longitude: number | null;
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* Formatted schedule for a day
|
|
1540
|
+
*/
|
|
1541
|
+
interface FormattedSchedule {
|
|
1542
|
+
day: string;
|
|
1543
|
+
hours: string;
|
|
1544
|
+
}
|
|
1545
|
+
/**
|
|
1546
|
+
* Complete catalog response
|
|
1547
|
+
*/
|
|
1548
|
+
interface CatalogResponse {
|
|
1549
|
+
gym: {
|
|
1550
|
+
id: string;
|
|
1551
|
+
name: string;
|
|
1552
|
+
slug: string;
|
|
1553
|
+
description: string | null;
|
|
1554
|
+
phone: string | null;
|
|
1555
|
+
email: string | null;
|
|
1556
|
+
currency: string;
|
|
1557
|
+
};
|
|
1558
|
+
hero: CatalogHeroSection;
|
|
1559
|
+
plans: CatalogPlan[];
|
|
1560
|
+
activities: CatalogActivity[];
|
|
1561
|
+
schedule: FormattedSchedule[];
|
|
1562
|
+
socialMedia: CatalogSocialMedia;
|
|
1563
|
+
location: CatalogLocation;
|
|
1564
|
+
}
|
|
1565
|
+
/**
|
|
1566
|
+
* City with gym count
|
|
1567
|
+
*/
|
|
1568
|
+
interface CityWithGyms {
|
|
1569
|
+
city: string;
|
|
1570
|
+
state: string;
|
|
1571
|
+
count: number;
|
|
1572
|
+
}
|
|
1573
|
+
/**
|
|
1574
|
+
* Search catalog parameters
|
|
1575
|
+
*/
|
|
1576
|
+
interface SearchCatalogParams {
|
|
1484
1577
|
search?: string;
|
|
1485
1578
|
city?: string;
|
|
1486
1579
|
state?: string;
|
|
1487
1580
|
latitude?: string;
|
|
1488
1581
|
longitude?: string;
|
|
1489
1582
|
radius?: string;
|
|
1583
|
+
limit?: number;
|
|
1584
|
+
offset?: number;
|
|
1490
1585
|
}
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1586
|
+
/**
|
|
1587
|
+
* Catalog gym in search results
|
|
1588
|
+
*/
|
|
1494
1589
|
interface CatalogGym {
|
|
1495
1590
|
id: string;
|
|
1496
1591
|
name: string;
|
|
@@ -1503,17 +1598,146 @@ interface CatalogGym {
|
|
|
1503
1598
|
amenities?: any;
|
|
1504
1599
|
settings?: any;
|
|
1505
1600
|
}
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1601
|
+
/**
|
|
1602
|
+
* Search catalog response
|
|
1603
|
+
*/
|
|
1604
|
+
interface SearchCatalogResponse {
|
|
1605
|
+
gyms: CatalogGym[];
|
|
1606
|
+
pagination: {
|
|
1607
|
+
total: number;
|
|
1608
|
+
limit: number;
|
|
1609
|
+
offset: number;
|
|
1610
|
+
};
|
|
1510
1611
|
}
|
|
1612
|
+
/**
|
|
1613
|
+
* Lead gender enum
|
|
1614
|
+
*/
|
|
1615
|
+
declare enum LeadGender {
|
|
1616
|
+
MALE = "male",
|
|
1617
|
+
FEMALE = "female",
|
|
1618
|
+
OTHER = "other"
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
* Create lead DTO
|
|
1622
|
+
*/
|
|
1623
|
+
interface CreateLeadDto {
|
|
1624
|
+
fullName: string;
|
|
1625
|
+
age: number;
|
|
1626
|
+
phone: string;
|
|
1627
|
+
gender: LeadGender;
|
|
1628
|
+
objective: string;
|
|
1629
|
+
}
|
|
1630
|
+
/**
|
|
1631
|
+
* Catalog lead entity
|
|
1632
|
+
*/
|
|
1633
|
+
interface CatalogLead {
|
|
1634
|
+
id: string;
|
|
1635
|
+
catalogId: string;
|
|
1636
|
+
fullName: string;
|
|
1637
|
+
age: number;
|
|
1638
|
+
phone: string;
|
|
1639
|
+
gender: string;
|
|
1640
|
+
objective: string;
|
|
1641
|
+
source: string;
|
|
1642
|
+
ipAddress: string | null;
|
|
1643
|
+
userAgent: string | null;
|
|
1644
|
+
isContacted: boolean;
|
|
1645
|
+
contactedAt: string | null;
|
|
1646
|
+
createdAt: string;
|
|
1647
|
+
updatedAt: string;
|
|
1648
|
+
}
|
|
1649
|
+
/**
|
|
1650
|
+
* Lead filters for querying
|
|
1651
|
+
*/
|
|
1652
|
+
interface LeadFiltersDto {
|
|
1653
|
+
startDate?: string;
|
|
1654
|
+
endDate?: string;
|
|
1655
|
+
isContacted?: boolean;
|
|
1656
|
+
limit?: number;
|
|
1657
|
+
offset?: number;
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* Lead submission response
|
|
1661
|
+
*/
|
|
1662
|
+
interface LeadSubmissionResponse {
|
|
1663
|
+
message: string;
|
|
1664
|
+
}
|
|
1665
|
+
/**
|
|
1666
|
+
* Gym catalog configuration
|
|
1667
|
+
*/
|
|
1668
|
+
interface GymCatalog {
|
|
1669
|
+
id: string;
|
|
1670
|
+
gymId: string;
|
|
1671
|
+
slug: string;
|
|
1672
|
+
logo: string | null;
|
|
1673
|
+
banner: string | null;
|
|
1674
|
+
logoFileId: string | null;
|
|
1675
|
+
bannerFileId: string | null;
|
|
1676
|
+
heroMessage: string | null;
|
|
1677
|
+
ctaButtonText: string;
|
|
1678
|
+
createdAt: string;
|
|
1679
|
+
updatedAt: string;
|
|
1680
|
+
}
|
|
1681
|
+
/**
|
|
1682
|
+
* Update catalog configuration DTO
|
|
1683
|
+
*/
|
|
1684
|
+
interface UpdateCatalogConfigDto {
|
|
1685
|
+
slug?: string;
|
|
1686
|
+
heroMessage?: string;
|
|
1687
|
+
ctaButtonText?: string;
|
|
1688
|
+
logoFileId?: string;
|
|
1689
|
+
bannerFileId?: string;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Public Catalog Resource
|
|
1694
|
+
* Handles public-facing catalog operations (no authentication required)
|
|
1695
|
+
*/
|
|
1511
1696
|
declare class PublicCatalogResource extends BaseResource {
|
|
1512
1697
|
private basePath;
|
|
1513
|
-
|
|
1514
|
-
|
|
1698
|
+
/**
|
|
1699
|
+
* Search gyms in the public catalog
|
|
1700
|
+
*/
|
|
1701
|
+
searchCatalog(params?: SearchCatalogParams, options?: RequestOptions): Promise<SearchCatalogResponse>;
|
|
1702
|
+
/**
|
|
1703
|
+
* Get featured gyms
|
|
1704
|
+
*/
|
|
1705
|
+
getFeaturedGyms(limit?: number, options?: RequestOptions): Promise<CatalogGym[]>;
|
|
1706
|
+
/**
|
|
1707
|
+
* Get list of cities with available gyms
|
|
1708
|
+
*/
|
|
1515
1709
|
getCitiesWithGyms(options?: RequestOptions): Promise<CityWithGyms[]>;
|
|
1516
|
-
|
|
1710
|
+
/**
|
|
1711
|
+
* Get complete catalog details by gym slug
|
|
1712
|
+
*/
|
|
1713
|
+
getCatalogBySlug(slug: string, options?: RequestOptions): Promise<CatalogResponse>;
|
|
1714
|
+
/**
|
|
1715
|
+
* Submit a lead form for a specific gym
|
|
1716
|
+
*/
|
|
1717
|
+
submitLead(slug: string, data: CreateLeadDto, options?: RequestOptions): Promise<LeadSubmissionResponse>;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* Admin Catalog Resource
|
|
1722
|
+
* Handles catalog administration operations (requires authentication and CATALOG permissions)
|
|
1723
|
+
*/
|
|
1724
|
+
declare class AdminCatalogResource extends BaseResource {
|
|
1725
|
+
private basePath;
|
|
1726
|
+
/**
|
|
1727
|
+
* Get catalog configuration for the current gym
|
|
1728
|
+
* Requires: CATALOG_READ permission
|
|
1729
|
+
*/
|
|
1730
|
+
getCatalogConfig(options?: RequestOptions): Promise<GymCatalog>;
|
|
1731
|
+
/**
|
|
1732
|
+
* Update catalog configuration
|
|
1733
|
+
* Requires: CATALOG_UPDATE permission
|
|
1734
|
+
*/
|
|
1735
|
+
updateCatalogConfig(data: UpdateCatalogConfigDto, options?: RequestOptions): Promise<GymCatalog>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Get catalog leads with optional filtering
|
|
1738
|
+
* Requires: CATALOG_READ permission
|
|
1739
|
+
*/
|
|
1740
|
+
getLeads(filters?: LeadFiltersDto, options?: RequestOptions): Promise<CatalogLead[]>;
|
|
1517
1741
|
}
|
|
1518
1742
|
|
|
1519
1743
|
interface HealthResponse {
|
|
@@ -1739,6 +1963,7 @@ interface CreateProductDto {
|
|
|
1739
1963
|
price: number;
|
|
1740
1964
|
stock?: number;
|
|
1741
1965
|
categoryId?: string;
|
|
1966
|
+
categoryIds?: string[];
|
|
1742
1967
|
imageId?: string;
|
|
1743
1968
|
status?: 'active' | 'inactive';
|
|
1744
1969
|
}
|
|
@@ -1747,6 +1972,7 @@ interface CreateServiceDto {
|
|
|
1747
1972
|
description?: string;
|
|
1748
1973
|
price: number;
|
|
1749
1974
|
categoryId?: string;
|
|
1975
|
+
categoryIds?: string[];
|
|
1750
1976
|
imageId?: string;
|
|
1751
1977
|
}
|
|
1752
1978
|
interface UpdateProductDto {
|
|
@@ -1755,6 +1981,7 @@ interface UpdateProductDto {
|
|
|
1755
1981
|
price?: number;
|
|
1756
1982
|
stock?: number;
|
|
1757
1983
|
categoryId?: string;
|
|
1984
|
+
categoryIds?: string[];
|
|
1758
1985
|
imageId?: string;
|
|
1759
1986
|
status?: 'active' | 'inactive';
|
|
1760
1987
|
}
|
|
@@ -1781,6 +2008,7 @@ interface Product {
|
|
|
1781
2008
|
createdAt: string;
|
|
1782
2009
|
updatedAt: string;
|
|
1783
2010
|
category?: ProductCategory;
|
|
2011
|
+
categories?: ProductCategory[];
|
|
1784
2012
|
image?: {
|
|
1785
2013
|
id: string;
|
|
1786
2014
|
filename: string;
|
|
@@ -2137,6 +2365,7 @@ declare class SubscriptionsResource extends BaseResource {
|
|
|
2137
2365
|
interface SubscriptionPlanDto {
|
|
2138
2366
|
id: string;
|
|
2139
2367
|
name: string;
|
|
2368
|
+
planType?: string;
|
|
2140
2369
|
price: {
|
|
2141
2370
|
PEN?: {
|
|
2142
2371
|
currency: 'PEN';
|
|
@@ -2164,6 +2393,7 @@ interface SubscriptionPlanDto {
|
|
|
2164
2393
|
features: Record<string, any>;
|
|
2165
2394
|
description?: string;
|
|
2166
2395
|
isActive: boolean;
|
|
2396
|
+
isVisibleToPublic: boolean;
|
|
2167
2397
|
createdAt: Date;
|
|
2168
2398
|
updatedAt: Date;
|
|
2169
2399
|
activeSubscriptions?: number;
|
|
@@ -2178,6 +2408,7 @@ interface PricingDto {
|
|
|
2178
2408
|
}
|
|
2179
2409
|
interface CreateSubscriptionPlanDto {
|
|
2180
2410
|
name: string;
|
|
2411
|
+
planType?: string;
|
|
2181
2412
|
price: PricingDto;
|
|
2182
2413
|
billingFrequency: string;
|
|
2183
2414
|
duration?: number;
|
|
@@ -2188,9 +2419,11 @@ interface CreateSubscriptionPlanDto {
|
|
|
2188
2419
|
features: Record<string, any>;
|
|
2189
2420
|
description?: string;
|
|
2190
2421
|
isActive?: boolean;
|
|
2422
|
+
isVisibleToPublic?: boolean;
|
|
2191
2423
|
}
|
|
2192
2424
|
interface UpdateSubscriptionPlanDto {
|
|
2193
2425
|
name?: string;
|
|
2426
|
+
planType?: string;
|
|
2194
2427
|
price?: PricingDto;
|
|
2195
2428
|
billingFrequency?: string;
|
|
2196
2429
|
duration?: number;
|
|
@@ -2201,6 +2434,7 @@ interface UpdateSubscriptionPlanDto {
|
|
|
2201
2434
|
features?: Record<string, any>;
|
|
2202
2435
|
description?: string;
|
|
2203
2436
|
isActive?: boolean;
|
|
2437
|
+
isVisibleToPublic?: boolean;
|
|
2204
2438
|
}
|
|
2205
2439
|
declare class SubscriptionPlansResource extends BaseResource {
|
|
2206
2440
|
private basePath;
|
|
@@ -2557,6 +2791,7 @@ interface BulkTemplate {
|
|
|
2557
2791
|
description?: string;
|
|
2558
2792
|
tags: string[];
|
|
2559
2793
|
isActive: boolean;
|
|
2794
|
+
isHide: boolean;
|
|
2560
2795
|
usageCount: number;
|
|
2561
2796
|
lastUsedAt?: Date;
|
|
2562
2797
|
createdByUserId: string;
|
|
@@ -2728,24 +2963,22 @@ interface SearchActivitiesParams {
|
|
|
2728
2963
|
isActive?: boolean;
|
|
2729
2964
|
}
|
|
2730
2965
|
interface CreateActivityNotificationDto {
|
|
2731
|
-
|
|
2732
|
-
customMessage?: string;
|
|
2966
|
+
message: string;
|
|
2733
2967
|
advanceTimeMinutes: number;
|
|
2968
|
+
isActive?: boolean;
|
|
2734
2969
|
}
|
|
2735
2970
|
interface UpdateActivityNotificationDto {
|
|
2736
|
-
|
|
2737
|
-
customMessage?: string;
|
|
2971
|
+
message?: string;
|
|
2738
2972
|
advanceTimeMinutes?: number;
|
|
2739
2973
|
isActive?: boolean;
|
|
2740
2974
|
}
|
|
2741
2975
|
interface ActivityNotification {
|
|
2742
2976
|
id: string;
|
|
2743
2977
|
activityId: string;
|
|
2744
|
-
templateId
|
|
2745
|
-
customMessage?: string;
|
|
2978
|
+
templateId: string;
|
|
2746
2979
|
advanceTimeMinutes: number;
|
|
2747
2980
|
isActive: boolean;
|
|
2748
|
-
template
|
|
2981
|
+
template: {
|
|
2749
2982
|
id: string;
|
|
2750
2983
|
name: string;
|
|
2751
2984
|
message: string;
|
|
@@ -3443,6 +3676,7 @@ declare class GymSpaceSdk {
|
|
|
3443
3676
|
assets: AssetsResource;
|
|
3444
3677
|
files: FilesResource;
|
|
3445
3678
|
publicCatalog: PublicCatalogResource;
|
|
3679
|
+
adminCatalog: AdminCatalogResource;
|
|
3446
3680
|
health: HealthResource;
|
|
3447
3681
|
onboarding: OnboardingResource;
|
|
3448
3682
|
products: ProductsResource;
|
|
@@ -3532,4 +3766,4 @@ declare class NetworkError extends GymSpaceError {
|
|
|
3532
3766
|
constructor(message?: string);
|
|
3533
3767
|
}
|
|
3534
3768
|
|
|
3535
|
-
export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotification, type ActivityPlanRestriction, type ActivityStats, type ActivityStatsParams, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, type AssignTagsDto, type AssignTagsResponse, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BulkLogsResponse, type BulkLogsResponseDto, type BulkMessageLog, type BulkMessageLogDto, type BulkMessageResult, type BulkMessageResultDto, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, type CatalogGym, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInDetail, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, type CheckInsList, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientStat, type ClientStats, type ClientTag, type ClientTagsResponse, ClientsResource, type CollaboratorReportDto, type CollaboratorRoleDto, CollaboratorsResource, type CommissionCalculationDto, CommissionCalculationsResource, CommissionChangeType, type CommissionComparisonDto, type CommissionConfigDto, CommissionConfigResource, CommissionEntityType, type CommissionFiltersDto, type CommissionHistoryDto, type CommissionHistoryFiltersDto, CommissionPromotionsResource, CommissionReportsResource, type CommissionRuleDto, type CommissionRuleFiltersDto, CommissionRuleType, CommissionRulesResource, type CommissionSimulationDto, CommissionStatus, type CommissionSummaryDto, type CommissionSummaryReportDto, type CompleteGuidedSetupData, type ConfigureFeaturesData, type ConnectionStatusResponse, type Contact, type Contract, type ContractLifecycleEvent, type ContractSettings, ContractsResource, type ContractsRevenue, type CreateActivityDto, type CreateActivityNotificationDto, type CreateBulkTemplateDto, type CreateCheckInDto, type CreateClientDto, type CreateCommissionConfigDto, type CreateCommissionRuleDto, type CreateContractDto, type CreateGymDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreateProductCategoryDto, type CreateProductDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CreateTagDto, type CreateTemplateDto, type CreateWhatsAppConfigDto, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type DeleteActivityParams, type DeleteTagResponse, type DisconnectResponse, type EligibleClient, type EligibleClientsResponse, type ExpiringContract, type FileResponseDto, FilesResource, type FreezeContractDto, type GenerateAIMessageDto, type GenerateAIMessageParams, type GenerateAIMessageResponse, type GenerateAIMessageResponseDto, type GetBulkLogsQueryDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetContractsParams, type
|
|
3769
|
+
export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotification, type ActivityPlanRestriction, type ActivityStats, type ActivityStatsParams, AdminCatalogResource, AdminSubscriptionManagementResource, type AdminSubscriptionStatusDto, type AffiliateOrganizationDto, type Amenities, ApiClient, type ApiResponse, type AssetResponseDto, AssetsResource, type AssignTagsDto, type AssignTagsResponse, AuthResource, AuthenticationError, AuthorizationError, type AvailablePlanDto, type BulkLogsResponse, type BulkLogsResponseDto, type BulkMessageLog, type BulkMessageLogDto, type BulkMessageResult, type BulkMessageResultDto, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, type CatalogActivity, type CatalogGym, type CatalogHeroSection, type CatalogLead, type CatalogLocation, type CatalogPlan, type CatalogResponse, type CatalogSocialMedia, type ChangePasswordDto, type ChangePasswordResponseDto, type CheckIn, type CheckInDetail, type CheckInListResponse, type CheckInStats, type CheckInSystemFeatures, type CheckIns, type CheckInsList, CheckInsResource, type CheckLimitResponse, type CityWithGyms, type Client, type ClientCheckInHistory, type ClientManagementFeatures, type ClientStat, type ClientStats, type ClientTag, type ClientTagsResponse, ClientsResource, type CollaboratorReportDto, type CollaboratorRoleDto, CollaboratorsResource, type CommissionCalculationDto, CommissionCalculationsResource, CommissionChangeType, type CommissionComparisonDto, type CommissionConfigDto, CommissionConfigResource, CommissionEntityType, type CommissionFiltersDto, type CommissionHistoryDto, type CommissionHistoryFiltersDto, CommissionPromotionsResource, CommissionReportsResource, type CommissionRuleDto, type CommissionRuleFiltersDto, CommissionRuleType, CommissionRulesResource, type CommissionSimulationDto, CommissionStatus, type CommissionSummaryDto, type CommissionSummaryReportDto, type CompleteGuidedSetupData, type ConfigureFeaturesData, type ConnectionStatusResponse, type Contact, type Contract, type ContractLifecycleEvent, type ContractSettings, ContractsResource, type ContractsRevenue, type CreateActivityDto, type CreateActivityNotificationDto, type CreateBulkTemplateDto, type CreateCheckInDto, type CreateClientDto, type CreateCommissionConfigDto, type CreateCommissionRuleDto, type CreateContractDto, type CreateGymDto, type CreateLeadDto, type CreateMembershipPlanDto, type CreatePaymentMethodDto, type CreateProductCategoryDto, type CreateProductDto, type CreateSaleDto, type CreateServiceDto, type CreateSubscriptionPlanDto, type CreateSupplierDto, type CreateTagDto, type CreateTemplateDto, type CreateWhatsAppConfigDto, type CurrentSessionResponse, type CurrentlyInGymResponse, type CustomerSalesReport, DashboardResource, type DashboardStats, type DateRangeParams, type DaySchedule, type Debts, type DeleteActivityParams, type DeleteTagResponse, type DisconnectResponse, type EligibleClient, type EligibleClientsResponse, type ExpiringContract, type FileResponseDto, FilesResource, type FormattedSchedule, type FreezeContractDto, type GenerateAIMessageDto, type GenerateAIMessageParams, type GenerateAIMessageResponse, type GenerateAIMessageResponseDto, type GetBulkLogsQueryDto, type GetCheckInStatsParams, type GetClientCheckInHistoryParams, type GetContractsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type GetTagClientsParams, type Gym, type GymAmenities, type GymCatalog, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InventorySettings, type InvitationValidationResponse, InvitationsResource, type LeadFiltersDto, LeadGender, type LeadSubmissionResponse, type ListContactsResponse, type LoginDto, type LoginResponseDto, type MembershipManagementFeatures, type MembershipPlan, type MembershipPlanStats, MembershipPlansResource, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingResource, type OnboardingResponse, type OnboardingStatus, OnboardingStep, type Organization, type OrganizationAdminDetails, type OrganizationStats, type OrganizationWithDetails, OrganizationsResource, type PaginatedCommissionResult, type PaginatedResponse, type PaginatedResponseDto, type PaginationParams, type PaginationQueryDto, type PaySaleDto, type PaymentMethod, type PaymentMethodStats, PaymentMethodsResource, type PermissionsGroup, type PreviewTemplateResponse, type PriceDto, type PricingDto, type Product, type ProductCategory, ProductsResource, type PromotionReportDto, type PromotionReportFiltersDto, PublicCatalogResource, type ReactivateContractDto, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RejectedClient, type RejectedClientDto, type RemoveTagsDto, type RemoveTagsResponse, type RenewContractDto, type ReorderCommissionRulesDto, type ReportFiltersDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, type ResumeContractDto, RolesResource, type RuleCriteria, type RuleReportDto, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchActivitiesParams, type SearchCatalogParams, type SearchCatalogResponse, type SearchCheckInsParams, type SearchClientsParams, type SearchPaymentMethodsParams, type SearchProductsParams, type SearchSalesParams, type SearchSuppliersParams, type SearchTagsParams, type SearchTemplatesDto, type SearchWhatsAppMessagesDto, type SendBulkMessagesDto, type SendWhatsAppMessageDto, type SentActivityNotification, type SimulateCommissionDto, type SocialMedia, type StartOnboardingData, type StartOnboardingResponse, type StockMovement, type Subscription, type SubscriptionHistoryDto, type SubscriptionPlan, type SubscriptionPlanDto, SubscriptionPlansResource, type SubscriptionStatusDto, SubscriptionsResource, type Supplier, SuppliersResource, type SuppliersStats, type SuspendContractDto, type Tag, type TagClientsResponse, type TagStatsResponse, type TagWithAssignment, TagsResource, type TimeSlot, type TopSellingProduct, type UpdateActivityDto, type UpdateActivityNotificationDto, type UpdateBulkTemplateDto, type UpdateCatalogConfigDto, type UpdateClientDto, type UpdateCommissionConfigDto, type UpdateCommissionRuleDto, type UpdateGymContractSettingsDto, type UpdateGymDto, type UpdateGymInventorySettingsDto, type UpdateGymScheduleDto, type UpdateGymSettingsData, type UpdateGymSocialMediaDto, type UpdateMembershipPlanDto, type UpdateOrganizationDto, type UpdatePaymentMethodDto, type UpdatePaymentStatusDto, type UpdateProductCategoryDto, type UpdateProductDto, type UpdateProfileDto, type UpdateSaleDto, type UpdateStockDto, type UpdateSubscriptionPlanDto, type UpdateSupplierDto, type UpdateTagDto, type UpdateTemplateDto, type UpdateWhatsAppConfigDto, type UpgradeSubscriptionDto, type UploadAssetDto, type UploadFileDto, type UserProfileDto, UsersResource, ValidationError, type VerifyEmailDto, type VerifyResetCodeDto, type VerifyResetCodeResponseDto, type WeeklySchedule, type WhatsAppConfig, type WhatsAppMessage, WhatsAppResource, type WhatsAppTemplate, WhatsAppTemplatesResource };
|