@gymspace/sdk 1.2.14 → 1.2.16

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 CHANGED
@@ -1 +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.ts","../node_modules/@gymspace/shared/src/interfaces.ts","../node_modules/@gymspace/shared/src/constants.ts","../node_modules/@gymspace/shared/src/utils/rolehelpers.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/resources/public-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/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":[[48,49,50,51,52],[48,49],[48],[47,54,55],[54,55,56,110,111,114],[98],[58],[53,54],[58,59,62,64,67,69,71,73,75,77,80,82,86,88,90,92,94,99,101,104,106,108,112,113],[54],[97],[54,60,106],[54,60],[60,80],[54,58,59,60],[54,56],[54,60,104],[54,60,77],[54,60,69],[53,54,60],[54,60,73],[60,75],[60,82],[54,60,64],[61,63,65,66,68,70,72,74,76,78,79,81,83,84,85,87,89,91,93,95,96,97,98,100,102,103,105,107,109],[54,60,71],[60,86],[54,60,62],[54,60,99],[54,60,88],[53,54,60,67],[54,60,90],[54,58,60],[54,60,92],[54,60,108],[54,60,94],[54,60,101],[54,56,57,110],[53],[56]],"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":"59447ec0c087e949aff08c7427138b630052186656ac3a59bacbf9f4f1edc51a","impliedFormat":1},{"version":"4f3dedee1045f028eb497abd7852dce698154d84bd522d8f8f0ce6746a79c82d","impliedFormat":1},{"version":"5d43729825004f65a169ceb8cb72c4a2902571ab455c380b733f79a29764a6d2","impliedFormat":1},{"version":"832b4064c21b686fc8d772ab2da33bbac48b90812cf1473a961b8f0c3c9c7902","impliedFormat":1},{"version":"c934cb299bc6f46910e61a6655ed654f00036817c3474499cb6c4ebc72c2fddc","impliedFormat":1},{"version":"404ab034c2979575815205824be53db9591fa4395ca07b1e781147379ffa0862","impliedFormat":1},"de5d423a7d7a14ed12522b42b44d13092b78d34680c316843b3fcad988b70747","122f963f839dffe02992f3c29c4f9d22c8be0bf865bd4015498e9a55b718d2ef","b60bddfd2d4c219fc03f7cdd24fc31f417ce33d496d4aab5dda1a6be04f0f1a8","358f0833c081a5ba5dd957d18530f507688c922f08054c12a78e0d42534a3bbc","1f4b35f3ef5469339a539c3f9e1200317bc89280c1dcb516bc2f5e85c946c69a","149cf742da9555355188424cd94735ae7bfce96f65093bad92a680208b079e6e","5fc81afdf7085284bdd04bb7b3de97769515daa5d8b2a4cecb1d4c2300b4a510","ddcce7fd9825940c4ac822754bc8ca63086567722579b89617fe8e30c8016a43","e1f06446f9832d772b1171202840aa54d56411c7470f3e1b7736e3b95210bd0e","c15d9e507818d695186b1aec0270d313a5138af35222d30cd41f95c117065056","0e29c01962ead885f81ff7a94811f6d7eca471e86321031f360f6a0a57dddb78","db0c5964a56ddaed5f25597cc06a05c2c4f8c8e785a0d450cb81386d9766b8eb","62eb992c4944eb724c9bc4a531f8c954a7aa94301b52f172cc69b335b738588c","2b949dc19987d2217953b362864780adabb1318bf2c6be5a76ca6a59220c7bf3","58e5f7be56dc310c730db38ab7df7bc1e17742bd54e55356f70def71cf45a847","a9d21cb24c9a6f8b77eb9aae76b5854fa341880764ef1e655d1fad649c87f4cd","61ec2be27c14fb6dd017426ccad9573d4195dece4182782fd36e9e584b9ba599","e980f13a6ed4125a5d9548b689c8bdc3abb89fd0e53814719471d93342ec35a8","3caa6231ff6fb326b46c622f7160201b613704084ec83cb1b2733e50bfcf9048","fa483fe77f090f64a539327ee6f1fabbae3256214dcba778f94c2dabdccf9697","e7a9219ee898f35f559c031adc14f12a23232d1615196b64679665bc31aaeb09","a2659947000309025232a493a24559d02d894cdfa8c3781b03b89d7b6024503c","3d1029733b77f2d20a88c2a7c9fa2eef4117e02183a64adbb9e396fde58082a2","e2ec568b04b0f45098e9f41f9a4c4b79845086e1e97140c82d812eade0149535","0ec42fefa04cdc68782cefe6753d79a951bfaf0e3562d681b152b6a138abc607","ec85197fef597394a4c9d6d8ac026e3fb9d035af736c92cd0629ec51dec13c3a","8d5e02343427bb0f8cd07e25f13fea96f16fda4d20c4bd0bb4eb5cb950fdfb85","8ca018e6dd4960711bcfc9a62bd4dba80794d7d436a61631339054042fdcd7a1","0318a89ce8ab11333f2110b24f21182b5cbe337d633e86c2f2c8be2371d876fd","5f627cd620351e3e4ed705f0abd6d84d289dd8141a781060954f074f93036634","b3ec36923f326647ea8de2f0299b8d9247db09501df1807a688ce09a61eb5652","33253a790da4c3c4ca6fac42efe83f1f78f55d2a5d66a84a98ef2c24b92b12f8","91b1382fbc682fa8d5856a1c1db4d910c8fe410289c367512a0c522ec6ce869e","84615e2a24d394d7e4dcbce62e2fdbc5b6a6320b4cae035083decd8faf93f0f2","b22c287d224b16fae8ae3d8f716c03e4ef2f8898d8da7ea731440dd152c52925","f1ae7e612f0c9eeb7048ac5f1aff7f41530ac9e16c09f07222ce0ffc53a701d7","98b2be0257b290cd82d28207558424ccca1cbebd2f67b9d68205a2d9e3311785","738fccb61792698f202ad9902216584de09511cdd603349a1a164de9b89518f5","f81a07114fdf317c63b63299df9599f2a4f3dae2d1109d661eb3752847c8d489","63aa5ef7c1fad8d6758f25e968e57a4973582866fa08a3429761597653eb39f2","5a323df23f74a335e727b2273b69b49a93c877c930a91d59c219dd69a8361ace","05b2c94345341a306f1635d9cc7f42e2af5df9d9a5f9d8399e1560e774566e50","6ac3496933bea2ed5aa344ce23d763219b5118f3b35df3b5f671513a4323df67","194e8e036145c3b8774659076042c8556ed4aaef0c97ff937d5ab520fb20942e","21259e4ae26bc1386e6969a3072d6ec31dc52ad81a07b151d66d9cb9ab81cb37","51bebf61fbc48fc20666609c19f96a2ea65bcffc4971d2c0c8d5f87e94dfa59b","aa3739ab80ddd103e094a807e4a94bd9c15afc4a05f23ac79f81770b968ac5a7","e9a6a6067866d93271655e066539ae22687dad13aa6f864ffec2e0f06de10600","6d0f299b4c433721a61c81e7d71cd06cb5768e4f1c8879cc1c8466dc83eea7ce","038353dc059db1b2aee89acea285136ae3e6980b7a00dfa055749a8c9c69446d","889a66113c27df496466f645a872a72fba86c345ea2c6f464a5a4b54b6057bbd","7de4f8be457ffdffe588d67d670f6045f3fa1f7b58943afcaec4a089ff6fc698","123474e911e509fde6548d2a7a328f204f30d742fbac1aaaa8449655033b2fc9","a442edfb09e9d8cd13a32d55897c3b9515d2daa28aa53e29e472da023dafa0d1","92993add08cef6c9b4022dc996971fa7a19f9db3cff8505801ab4b84b3763b5b","78be2b57be63cdcf2ee702b1b83b47bbad2e10e775d894be94cb762fe69e5555","a5571f2eff5202a13a006a5598cd9dcd9446a1b23baaaade2049598356f0da05","b559ec2de3e82f9cfae8f3014d14cd3ada199346e743d1a433451d8a0bc2f04b","630a65d71ba7571e9880f174146ef544d2818cbcf85440869823a3c69bb13438","0f397304d0d60d06be9e49ff7d18dbfc4a3fa5b3f5d72e08d77c1bf1601bf4f6","2ac869fb55a4c3b797a66bc32d1b7cfa709146cb0afc8c6414c44ab608d67c5a","6581f800df7e785c8aab229f06bef765ad781f0bb353091a0f23375694c7891e","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981"],"root":[[54,117]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[53,1],[50,2],[49,3],[56,4],[115,5],[113,6],[59,7],[73,8],[114,9],[90,10],[112,11],[92,10],[101,10],[107,12],[98,13],[81,14],[61,15],[60,16],[105,17],[78,18],[70,19],[66,20],[74,21],[76,22],[83,23],[65,24],[85,13],[110,25],[79,20],[72,26],[87,27],[63,28],[100,29],[89,30],[84,13],[68,31],[91,32],[97,13],[96,33],[93,34],[109,35],[95,36],[103,37],[102,37],[111,38],[54,39],[57,40]],"affectedFilesPendingEmit":[[56,49],[55,49],[115,49],[106,49],[113,49],[80,49],[59,49],[104,49],[77,49],[69,49],[116,49],[73,49],[75,49],[82,49],[64,49],[114,49],[117,49],[71,49],[86,49],[62,49],[99,49],[88,49],[67,49],[90,49],[112,49],[58,49],[92,49],[108,49],[94,49],[101,49],[107,49],[98,49],[81,49],[61,49],[60,49],[105,49],[78,49],[70,49],[66,49],[74,49],[76,49],[83,49],[65,49],[85,49],[110,49],[79,49],[72,49],[87,49],[63,49],[100,49],[89,49],[84,49],[68,49],[91,49],[97,49],[96,49],[93,49],[109,49],[95,49],[103,49],[102,49],[111,49],[54,49],[57,49]],"emitSignatures":[54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,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],"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.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.ts","../node_modules/@gymspace/shared/src/interfaces.ts","../node_modules/@gymspace/shared/src/constants.ts","../node_modules/@gymspace/shared/src/utils/rolehelpers.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/resources/public-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":[[48,49,50,51,52],[48,49],[48],[47,54,55],[54,55,56,116,117,120],[98],[58],[53,54],[58,59,62,64,67,69,71,73,75,77,80,82,86,88,90,92,94,99,101,104,106,108,110,118,119],[54],[97],[54,60,106],[54,60],[60,80],[54,58,59,60],[54,56],[54,60,104],[54,60,77],[54,60,69],[53,54,60],[54,60,110],[54,60,73],[60,75],[60,82],[54,60,64],[61,63,65,66,68,70,72,74,76,78,79,81,83,84,85,87,89,91,93,95,96,97,98,100,102,103,105,107,109,111,112,113,114,115],[54,60,71],[60,86],[54,60,62],[54,60,99],[54,60,88],[53,54,60,67],[54,60,90],[54,58,60],[54,60,92],[54,60,108],[54,60,94],[54,60,101],[54,56,57,116],[53],[56]],"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":"59447ec0c087e949aff08c7427138b630052186656ac3a59bacbf9f4f1edc51a","impliedFormat":1},{"version":"4f3dedee1045f028eb497abd7852dce698154d84bd522d8f8f0ce6746a79c82d","impliedFormat":1},{"version":"5d43729825004f65a169ceb8cb72c4a2902571ab455c380b733f79a29764a6d2","impliedFormat":1},{"version":"832b4064c21b686fc8d772ab2da33bbac48b90812cf1473a961b8f0c3c9c7902","impliedFormat":1},{"version":"c934cb299bc6f46910e61a6655ed654f00036817c3474499cb6c4ebc72c2fddc","impliedFormat":1},{"version":"404ab034c2979575815205824be53db9591fa4395ca07b1e781147379ffa0862","impliedFormat":1},"de5d423a7d7a14ed12522b42b44d13092b78d34680c316843b3fcad988b70747","122f963f839dffe02992f3c29c4f9d22c8be0bf865bd4015498e9a55b718d2ef",{"version":"c55dfaa6f9ae2a356940eaededb32a1cc2c96f5e46e9686f00392d5a81234935","signature":"693e22be90337e8a59bf7e5d589d7706f28676520da456e602a3ab9c0fe7913d"},{"version":"358f0833c081a5ba5dd957d18530f507688c922f08054c12a78e0d42534a3bbc","signature":"b674d1fdd1783b6da247d177f47836aeb9c4679c143a0e173dba14e2d34a851e"},"1f4b35f3ef5469339a539c3f9e1200317bc89280c1dcb516bc2f5e85c946c69a","149cf742da9555355188424cd94735ae7bfce96f65093bad92a680208b079e6e",{"version":"5fc81afdf7085284bdd04bb7b3de97769515daa5d8b2a4cecb1d4c2300b4a510","signature":"1378a19ac5538773c2ecd0b96a8b5e411ce1314821cc0e1b4b6a8bb892722e8b"},{"version":"ddcce7fd9825940c4ac822754bc8ca63086567722579b89617fe8e30c8016a43","signature":"b49f043468712680884e7fc65bb4f0a52c90ed0a4a63c2a51a7bb200049ef71c"},"e1f06446f9832d772b1171202840aa54d56411c7470f3e1b7736e3b95210bd0e",{"version":"c15d9e507818d695186b1aec0270d313a5138af35222d30cd41f95c117065056","signature":"e4ac4146ef550d04675b1daa597b3e4307b2f17cc69fb50ee3655c7064e4edf4"},"0e29c01962ead885f81ff7a94811f6d7eca471e86321031f360f6a0a57dddb78",{"version":"db0c5964a56ddaed5f25597cc06a05c2c4f8c8e785a0d450cb81386d9766b8eb","signature":"a31002cf73a5632a35a4e800e2cc3bcd0ce530ce36089c175c40323341e29ed9"},{"version":"62eb992c4944eb724c9bc4a531f8c954a7aa94301b52f172cc69b335b738588c","signature":"91c1dd0e99f95f31ff69a2c5e044dd9b379ae022a8b6e7ddc3dad4e1ebbdf587"},"2b949dc19987d2217953b362864780adabb1318bf2c6be5a76ca6a59220c7bf3",{"version":"58e5f7be56dc310c730db38ab7df7bc1e17742bd54e55356f70def71cf45a847","signature":"8d781549596f73d40fe6da38fbcd04b9a9c6f24e87928e673fb5ccaa8dfd0c8c"},{"version":"c478bbdc874295b06acf9e4bf60b2a435157d1eb6f262109459c3ee7292867f3","signature":"d6d7b46a0eaca8de018082a4942a0a6f8ddc85efe5561ba2e276a23429523c6c"},{"version":"61ec2be27c14fb6dd017426ccad9573d4195dece4182782fd36e9e584b9ba599","signature":"9c91a9c7de2fc73de2410762888d2c2acdca283f015d615c26bba7c1279efcbd"},"e980f13a6ed4125a5d9548b689c8bdc3abb89fd0e53814719471d93342ec35a8",{"version":"3caa6231ff6fb326b46c622f7160201b613704084ec83cb1b2733e50bfcf9048","signature":"101654020d9a19d4921a952b8a181430131267b3540782feb5e0152b72e68a33"},"fa483fe77f090f64a539327ee6f1fabbae3256214dcba778f94c2dabdccf9697",{"version":"e7a9219ee898f35f559c031adc14f12a23232d1615196b64679665bc31aaeb09","signature":"ee22fcbcf8e69841490ec9200ee816a90bec387ffebb188508d63d105de054ee"},"a2659947000309025232a493a24559d02d894cdfa8c3781b03b89d7b6024503c",{"version":"3d1029733b77f2d20a88c2a7c9fa2eef4117e02183a64adbb9e396fde58082a2","signature":"baf94619bcba8ffef86033f0dd8a1013564376161788cacf1f04ef87c13a99de"},"e2ec568b04b0f45098e9f41f9a4c4b79845086e1e97140c82d812eade0149535",{"version":"0ec42fefa04cdc68782cefe6753d79a951bfaf0e3562d681b152b6a138abc607","signature":"7904b16ed4a4ecec52010f78e704f7b5382f133e1055d18c1b0f50b0dd1b84bc"},{"version":"ec85197fef597394a4c9d6d8ac026e3fb9d035af736c92cd0629ec51dec13c3a","signature":"c2dae2078b3a141fa78d7cba328c3362abc3b4b2b2e727684015386219b63174"},"8d5e02343427bb0f8cd07e25f13fea96f16fda4d20c4bd0bb4eb5cb950fdfb85",{"version":"8ca018e6dd4960711bcfc9a62bd4dba80794d7d436a61631339054042fdcd7a1","signature":"6856cd056e8e67ca0c9f69a3ecd5b65c94e56dc41d16a005c1b126f4d31da9fa"},"0318a89ce8ab11333f2110b24f21182b5cbe337d633e86c2f2c8be2371d876fd",{"version":"5f627cd620351e3e4ed705f0abd6d84d289dd8141a781060954f074f93036634","signature":"38d8e3353ac5e37089162adf6d5dd75d31fb031790cf74b975b5efc2cd1cb323"},{"version":"b3ec36923f326647ea8de2f0299b8d9247db09501df1807a688ce09a61eb5652","signature":"df1ddcd1fdceb0e3647d1aab513f1086110d9038c3fb75ce68819500f71b7299"},{"version":"33253a790da4c3c4ca6fac42efe83f1f78f55d2a5d66a84a98ef2c24b92b12f8","signature":"e7ab7d94cbae45a92a4825aa27199c061da1a36fb05eaa2b8addd112e0a8008c"},"91b1382fbc682fa8d5856a1c1db4d910c8fe410289c367512a0c522ec6ce869e",{"version":"84615e2a24d394d7e4dcbce62e2fdbc5b6a6320b4cae035083decd8faf93f0f2","signature":"2fd85b4fc42d596748973bff2f3e28a449cd2b97cea3471d15fb793b87366fe0"},"b22c287d224b16fae8ae3d8f716c03e4ef2f8898d8da7ea731440dd152c52925",{"version":"f1ae7e612f0c9eeb7048ac5f1aff7f41530ac9e16c09f07222ce0ffc53a701d7","signature":"b588c79ad81da487269aae9acf2d6281393ea57c0a2fa9b0c575af1b24993195"},"98b2be0257b290cd82d28207558424ccca1cbebd2f67b9d68205a2d9e3311785",{"version":"738fccb61792698f202ad9902216584de09511cdd603349a1a164de9b89518f5","signature":"42946e6e6ba4988b211e69c1ac5f59b6b71f0ccb0230f0f810a8b13a3b3478c3"},"f81a07114fdf317c63b63299df9599f2a4f3dae2d1109d661eb3752847c8d489",{"version":"63aa5ef7c1fad8d6758f25e968e57a4973582866fa08a3429761597653eb39f2","signature":"90868a9dbee7b9bc070954b4ad33a82a92c88eaa7a268c47f7e9ea026b3b6701"},"5a323df23f74a335e727b2273b69b49a93c877c930a91d59c219dd69a8361ace",{"version":"05b2c94345341a306f1635d9cc7f42e2af5df9d9a5f9d8399e1560e774566e50","signature":"83445828a83032381e84a79907ce961202d2483f6104a933c6ff95adaeda4859"},{"version":"6ac3496933bea2ed5aa344ce23d763219b5118f3b35df3b5f671513a4323df67","signature":"c430c5bf72f9e78e0ff461b1b3e0fce9d1970af9b9b4e925194ca762b2235ce8"},{"version":"194e8e036145c3b8774659076042c8556ed4aaef0c97ff937d5ab520fb20942e","signature":"f0620c0d524993d1a17d7bb974ba3682db69b14d0ad033a24d9514aca989e42d"},{"version":"21259e4ae26bc1386e6969a3072d6ec31dc52ad81a07b151d66d9cb9ab81cb37","signature":"8d026131ea0de6e2f510a61159b47dab65731fe7a37a23586d7dc2b4e3841b80"},"51bebf61fbc48fc20666609c19f96a2ea65bcffc4971d2c0c8d5f87e94dfa59b",{"version":"aa3739ab80ddd103e094a807e4a94bd9c15afc4a05f23ac79f81770b968ac5a7","signature":"ae71a61ac559d8d085a97eb76c42d914513b10da2209de06e3ecd1671cf39e74"},"e9a6a6067866d93271655e066539ae22687dad13aa6f864ffec2e0f06de10600",{"version":"6d0f299b4c433721a61c81e7d71cd06cb5768e4f1c8879cc1c8466dc83eea7ce","signature":"915312f18887a59517f8260a044b83283a7385dd3fd59eff840f76bc5be3239d"},{"version":"038353dc059db1b2aee89acea285136ae3e6980b7a00dfa055749a8c9c69446d","signature":"b7709a3dec1646716743c48607c957deec7a1fb605c0d4af2b316d5eff245d99"},"889a66113c27df496466f645a872a72fba86c345ea2c6f464a5a4b54b6057bbd",{"version":"7de4f8be457ffdffe588d67d670f6045f3fa1f7b58943afcaec4a089ff6fc698","signature":"830ba4766289f1457accd84b667a6c2396c813438aca3a99ece50f725486e2e4"},"123474e911e509fde6548d2a7a328f204f30d742fbac1aaaa8449655033b2fc9",{"version":"a442edfb09e9d8cd13a32d55897c3b9515d2daa28aa53e29e472da023dafa0d1","signature":"6729bc8eb3af7e9bcdd36159522af8083ec731185c19f96c963195916fc5c869"},"92993add08cef6c9b4022dc996971fa7a19f9db3cff8505801ab4b84b3763b5b",{"version":"78be2b57be63cdcf2ee702b1b83b47bbad2e10e775d894be94cb762fe69e5555","signature":"afb2e6e85790c7855b55f3a58f8d860b9a1d7a0b3a34d94328f4143c3e4b4e91"},{"version":"cb0b85ba023b9bdf4464180304a709079bcaad9309e561540022e38f19de7123","signature":"3990f27ccea8c36c8423b5f2e083c54b77d4b9793d90cac4414a56380d6da656"},{"version":"34842b9d1e0ce2278f226fa92d882cd50add495e37c4451455cc66d9d3e0bdc5","signature":"496f84951b51ac8981cb0c6f1219e720360e03d19ba289ba43af39d369fd90ba"},{"version":"7e35a852af57d522f8bdc7652d787a76ad64fad4371c9adfde09fed8781df8dd","signature":"c0c455809d35c829b55806c97ffe2ac2eddd2ff0b099cd3317c5385b297f0590"},{"version":"a8f115257802c52b66411b0f4fda408e46c12428e9d16fab24122b4ff42f6fa6","signature":"f87eb054e1ab71f99472e12cb77886cc56cb911df7852d6bbbc8ecf765901069"},{"version":"fb3f1cc0a373e662def2b5f0df965532c96842b3cdd3c3ddee5e889bbdaf5d4f","signature":"3d083dd91ce180f84e68dd2ef7f1c6363b799670b805b02d002e6c05aa1b426c"},{"version":"6480752c95da8289637aa03a458baff8e382a890aa54e4b044c923ef6eb45223","signature":"d996c12ce493e99109de6ad9dee4f89885826461063edf244bfbdcbff5fbdbc4"},"dd934df1abe843413c6d7e49945c2cbe4699828ff6f077b2d3693434221ddf18",{"version":"923ae51e7358cd4263b95abeb9fccbcb6ebac6c7d3ca1adbfb1d752e225bbf26","signature":"bb1528ab8c9285f494c98ad39ca8dee78e0d3de850635ce140e718c377229ba4"},{"version":"630a65d71ba7571e9880f174146ef544d2818cbcf85440869823a3c69bb13438","signature":"6b94342f15fdb0fc1797b6322f198de8ef39ed5c9981c98a2510effe9079798a"},{"version":"0f397304d0d60d06be9e49ff7d18dbfc4a3fa5b3f5d72e08d77c1bf1601bf4f6","signature":"3c7a720fbf1bfe2f28bf9777d68d540e1aebff592052e5a9a53b9b5697e77b1c"},{"version":"9188220a07df8beb48087f7840fe3be7cc6d4f2bda433cea9a63129711e09c04","signature":"945e7ceea6e790cc2a1aa6d1cc37dd3cfcb028aa33d33c1d11871521dff06c1d"},{"version":"6581f800df7e785c8aab229f06bef765ad781f0bb353091a0f23375694c7891e","signature":"3f52bbda210e42393521dce75b4398bbe385344d4559b1e4f0a0e65f10f11d5d"},"2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981"],"root":[[54,123]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[53,1],[50,2],[49,3],[56,4],[121,5],[119,6],[59,7],[73,8],[120,9],[90,10],[118,11],[92,10],[101,10],[107,12],[98,13],[81,14],[61,15],[60,16],[105,17],[78,18],[70,19],[66,20],[113,21],[111,21],[115,21],[114,21],[112,21],[74,22],[76,23],[83,24],[65,25],[85,13],[116,26],[79,20],[72,27],[87,28],[63,29],[100,30],[89,31],[84,13],[68,32],[91,33],[97,13],[96,34],[93,35],[109,36],[95,37],[103,38],[102,38],[117,39],[54,40],[57,41]],"semanticDiagnosticsPerFile":[[111,[{"start":1188,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type '{ limit?: number; offset?: number; }' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type '{ limit?: number; offset?: number; }' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type '{ limit?: number; offset?: number; }' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]},{"start":1900,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionHistoryFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionHistoryFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionHistoryFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]}]],[112,[{"start":994,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionRuleFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionRuleFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionRuleFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]},{"start":1424,"length":7,"messageText":"Expected 1-2 arguments, but got 3.","category":1,"code":2554},{"start":2073,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionHistoryFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionHistoryFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionHistoryFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]}]],[113,[{"start":1059,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]},{"start":1390,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]},{"start":2682,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]}]],[115,[{"start":964,"length":6,"code":2345,"category":1,"messageText":{"messageText":"Argument of type 'CommissionRuleFiltersDto' is not assignable to parameter of type 'PaginationParams & Record<string, any>'.","category":1,"code":2345,"next":[{"messageText":"Property 'page' is missing in type 'CommissionRuleFiltersDto' but required in type 'PaginationParams'.","category":1,"code":2741,"canonicalHead":{"code":2322,"messageText":"Type 'CommissionRuleFiltersDto' is not assignable to type 'PaginationParams'."}}]},"relatedInformation":[{"file":"../node_modules/@gymspace/shared/src/types.ts","start":1923,"length":4,"messageText":"'page' is declared here.","category":3,"code":2728}]},{"start":1404,"length":7,"messageText":"Expected 1-2 arguments, but got 3.","category":1,"code":2554}]]],"affectedFilesPendingEmit":[56,[55,49],121,[106,49],119,[80,49],[59,49],[104,49],[77,49],69,[122,49],110,[73,49],[75,49],[82,49],[64,49],120,[123,49],[71,49],[86,49],[62,49],[99,49],[88,49],[67,49],[90,49],118,[58,49],[92,49],[108,49],[94,49],[101,49],107,98,81,61,60,105,78,70,66,113,111,115,114,112,74,76,83,65,85,116,79,72,87,63,100,89,84,68,91,97,96,93,109,95,103,102,117,[54,49],57],"emitSignatures":[54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,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],"version":"5.9.3"}
package/dist/index.d.mts CHANGED
@@ -658,6 +658,13 @@ declare class RolesResource extends BaseResource {
658
658
  getAvailablePermissions(options?: RequestOptions): Promise<PermissionsGroup>;
659
659
  }
660
660
 
661
+ interface ClientTag {
662
+ tag: {
663
+ id: string;
664
+ name: string;
665
+ color: string;
666
+ };
667
+ }
661
668
  interface CreateClientDto {
662
669
  name: string;
663
670
  email?: string;
@@ -736,6 +743,7 @@ interface Client {
736
743
  name: string;
737
744
  };
738
745
  }>;
746
+ clientTags?: ClientTag[];
739
747
  _count?: {
740
748
  evaluations: number;
741
749
  checkIns: number;
@@ -790,6 +798,9 @@ interface SearchClientsParams {
790
798
  includeContractStatus?: boolean;
791
799
  notCheckedInToday?: boolean;
792
800
  checkedInToday?: boolean;
801
+ tagIds?: string[];
802
+ tagOperator?: 'and' | 'or';
803
+ includeTags?: boolean;
793
804
  }
794
805
 
795
806
  declare class ClientsResource extends BaseResource {
@@ -3017,6 +3028,421 @@ declare class TagsResource extends BaseResource {
3017
3028
  getClientTags(clientId: string, options?: RequestOptions): Promise<ClientTagsResponse>;
3018
3029
  }
3019
3030
 
3031
+ declare enum CommissionRuleType {
3032
+ PLAN = "PLAN",
3033
+ AMOUNT = "AMOUNT",
3034
+ PROMOTION = "PROMOTION"
3035
+ }
3036
+ declare enum CommissionStatus {
3037
+ PENDING = "PENDING",
3038
+ CONFIRMED = "CONFIRMED",
3039
+ PAID = "PAID",
3040
+ REVERSED = "REVERSED"
3041
+ }
3042
+ declare enum CommissionChangeType {
3043
+ CREATED = "CREATED",
3044
+ UPDATED = "UPDATED",
3045
+ DELETED = "DELETED"
3046
+ }
3047
+ declare enum CommissionEntityType {
3048
+ CONFIG = "CONFIG",
3049
+ RULE = "RULE"
3050
+ }
3051
+ interface RuleCriteria {
3052
+ planId?: string;
3053
+ minAmount?: number;
3054
+ maxAmount?: number;
3055
+ planIds?: string[];
3056
+ }
3057
+ interface CommissionConfigDto {
3058
+ id: string;
3059
+ gymId: string;
3060
+ defaultPercentage: number;
3061
+ reversalPeriodDays: number;
3062
+ minimumContractDays: number;
3063
+ isActive: boolean;
3064
+ createdAt: string;
3065
+ updatedAt: string;
3066
+ }
3067
+ interface CreateCommissionConfigDto {
3068
+ defaultPercentage: number;
3069
+ reversalPeriodDays: number;
3070
+ minimumContractDays: number;
3071
+ isActive: boolean;
3072
+ }
3073
+ interface UpdateCommissionConfigDto {
3074
+ defaultPercentage?: number;
3075
+ reversalPeriodDays?: number;
3076
+ minimumContractDays?: number;
3077
+ isActive?: boolean;
3078
+ }
3079
+ interface CommissionRuleDto {
3080
+ id: string;
3081
+ gymId: string;
3082
+ name: string;
3083
+ type: CommissionRuleType;
3084
+ percentage: number;
3085
+ priority: number;
3086
+ criteria: RuleCriteria;
3087
+ startDate?: string;
3088
+ endDate?: string;
3089
+ description?: string;
3090
+ isActive: boolean;
3091
+ createdAt: string;
3092
+ updatedAt: string;
3093
+ usageCount: number;
3094
+ }
3095
+ interface CreateCommissionRuleDto {
3096
+ name: string;
3097
+ type: CommissionRuleType;
3098
+ percentage: number;
3099
+ criteria?: RuleCriteria;
3100
+ startDate?: string;
3101
+ endDate?: string;
3102
+ description?: string;
3103
+ }
3104
+ interface UpdateCommissionRuleDto {
3105
+ name?: string;
3106
+ percentage?: number;
3107
+ criteria?: RuleCriteria;
3108
+ startDate?: string;
3109
+ endDate?: string;
3110
+ description?: string;
3111
+ isActive?: boolean;
3112
+ }
3113
+ interface CommissionRuleFiltersDto {
3114
+ type?: CommissionRuleType;
3115
+ isActive?: boolean;
3116
+ search?: string;
3117
+ page: number;
3118
+ limit: number;
3119
+ }
3120
+ interface CommissionCalculationDto {
3121
+ id: string;
3122
+ gymId: string;
3123
+ contractId: string;
3124
+ collaboratorId: string;
3125
+ ruleId: string | null;
3126
+ percentage: number;
3127
+ baseAmount: number;
3128
+ amount: number;
3129
+ status: CommissionStatus;
3130
+ saleDate: string;
3131
+ createdAt: string;
3132
+ updatedAt: string;
3133
+ }
3134
+ interface CommissionFiltersDto {
3135
+ status?: CommissionStatus;
3136
+ collaboratorId?: string;
3137
+ startDate?: string;
3138
+ endDate?: string;
3139
+ page: number;
3140
+ limit: number;
3141
+ }
3142
+ interface CommissionSummaryDto {
3143
+ period: {
3144
+ start: string;
3145
+ end: string;
3146
+ };
3147
+ totals: {
3148
+ totalCommissions: number;
3149
+ totalContracts: number;
3150
+ averageCommission: number;
3151
+ totalPaid: number;
3152
+ totalPending: number;
3153
+ };
3154
+ byStatus: {
3155
+ status: CommissionStatus;
3156
+ count: number;
3157
+ total: number;
3158
+ }[];
3159
+ }
3160
+ interface SimulateCommissionDto {
3161
+ collaboratorId: string;
3162
+ planId: string;
3163
+ baseAmount: number;
3164
+ saleDate: string;
3165
+ }
3166
+ interface CommissionSimulationDto {
3167
+ percentage: number;
3168
+ baseAmount: number;
3169
+ amount: number;
3170
+ appliedRule: {
3171
+ id: string;
3172
+ name: string;
3173
+ type: CommissionRuleType;
3174
+ percentage: number;
3175
+ } | null;
3176
+ isDefault: boolean;
3177
+ }
3178
+ interface CommissionComparisonDto {
3179
+ scenarios: CommissionSimulationDto[];
3180
+ bestScenario: {
3181
+ index: number;
3182
+ amount: number;
3183
+ difference: number;
3184
+ };
3185
+ }
3186
+ interface ReportFiltersDto {
3187
+ startDate?: string;
3188
+ endDate?: string;
3189
+ period?: 'week' | 'month' | 'quarter' | 'year';
3190
+ ruleId?: string;
3191
+ collaboratorId?: string;
3192
+ limit?: number;
3193
+ offset?: number;
3194
+ }
3195
+ interface CommissionSummaryReportDto {
3196
+ period: {
3197
+ start: string;
3198
+ end: string;
3199
+ };
3200
+ totals: {
3201
+ totalCommissions: number;
3202
+ totalContracts: number;
3203
+ averageCommission: number;
3204
+ totalPaid: number;
3205
+ totalPending: number;
3206
+ };
3207
+ byStatus: {
3208
+ status: string;
3209
+ count: number;
3210
+ total: number;
3211
+ }[];
3212
+ byRule: {
3213
+ ruleId: string;
3214
+ ruleName: string;
3215
+ ruleType: string;
3216
+ contractsCount: number;
3217
+ totalCommissions: number;
3218
+ averageCommission: number;
3219
+ }[];
3220
+ byCollaborator: {
3221
+ collaboratorId: string;
3222
+ collaboratorName: string;
3223
+ contractsCount: number;
3224
+ totalCommissions: number;
3225
+ averageCommission: number;
3226
+ }[];
3227
+ trend: {
3228
+ date: string;
3229
+ commissions: number;
3230
+ contracts: number;
3231
+ }[];
3232
+ }
3233
+ interface RuleReportDto {
3234
+ ruleId: string;
3235
+ ruleName: string;
3236
+ ruleType: string;
3237
+ percentage: number;
3238
+ contractsCount: number;
3239
+ totalCommissions: number;
3240
+ averageCommission: number;
3241
+ minCommission: number;
3242
+ maxCommission: number;
3243
+ effectiveness: {
3244
+ usageRate: number;
3245
+ conversionImpact: number;
3246
+ roi: number;
3247
+ };
3248
+ }
3249
+ interface CollaboratorReportDto {
3250
+ collaboratorId: string;
3251
+ collaboratorName: string;
3252
+ roleName: string;
3253
+ contractsCount: number;
3254
+ totalCommissions: number;
3255
+ averageCommission: number;
3256
+ totalPaid: number;
3257
+ totalPending: number;
3258
+ performance: {
3259
+ rank: number;
3260
+ percentile: number;
3261
+ comparisonWithAverage: number;
3262
+ };
3263
+ rulesUsed: {
3264
+ ruleId: string;
3265
+ ruleName: string;
3266
+ count: number;
3267
+ total: number;
3268
+ }[];
3269
+ }
3270
+ interface PromotionReportFiltersDto {
3271
+ promotionId?: string;
3272
+ status?: 'active' | 'scheduled' | 'expired';
3273
+ startDate?: string;
3274
+ endDate?: string;
3275
+ }
3276
+ interface PromotionReportDto {
3277
+ promotionId: string;
3278
+ promotionName: string;
3279
+ percentage: number;
3280
+ startDate: string;
3281
+ endDate: string;
3282
+ status: string;
3283
+ impact: {
3284
+ contractsCreated: number;
3285
+ totalCommissions: number;
3286
+ averageCommission: number;
3287
+ comparisonWithNormal: {
3288
+ normalCommissions: number;
3289
+ promotionalCommissions: number;
3290
+ additionalCost: number;
3291
+ percentageIncrease: number;
3292
+ };
3293
+ salesIncrease: {
3294
+ contractsBeforePromotion: number;
3295
+ contractsDuringPromotion: number;
3296
+ percentageIncrease: number;
3297
+ };
3298
+ roi: {
3299
+ additionalRevenue: number;
3300
+ additionalCost: number;
3301
+ netBenefit: number;
3302
+ roiPercentage: number;
3303
+ };
3304
+ };
3305
+ }
3306
+ interface CommissionHistoryFiltersDto {
3307
+ entityType?: CommissionEntityType;
3308
+ changeType?: CommissionChangeType;
3309
+ startDate?: string;
3310
+ endDate?: string;
3311
+ page: number;
3312
+ limit: number;
3313
+ }
3314
+ interface CommissionHistoryDto {
3315
+ id: string;
3316
+ configId: string | null;
3317
+ ruleId: string | null;
3318
+ changeType: CommissionChangeType;
3319
+ entityType: CommissionEntityType;
3320
+ previousValue: any;
3321
+ newValue: any;
3322
+ changedBy: {
3323
+ id: string;
3324
+ name: string;
3325
+ email: string;
3326
+ };
3327
+ changedAt: string;
3328
+ reason: string | null;
3329
+ impact: string | null;
3330
+ }
3331
+ interface PaginatedCommissionResult<T> {
3332
+ items: T[];
3333
+ total: number;
3334
+ limit: number;
3335
+ offset: number;
3336
+ }
3337
+
3338
+ declare class CommissionConfigResource extends BaseResource {
3339
+ private basePath;
3340
+ createConfig(data: CreateCommissionConfigDto, options?: RequestOptions): Promise<CommissionConfigDto>;
3341
+ getActiveConfig(options?: RequestOptions): Promise<CommissionConfigDto>;
3342
+ getConfig(id: string, options?: RequestOptions): Promise<CommissionConfigDto>;
3343
+ listConfigs(params?: {
3344
+ page: number;
3345
+ limit: number;
3346
+ }, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionConfigDto>>;
3347
+ updateConfig(id: string, data: UpdateCommissionConfigDto, options?: RequestOptions): Promise<CommissionConfigDto>;
3348
+ deactivateConfig(id: string, options?: RequestOptions): Promise<CommissionConfigDto>;
3349
+ getConfigHistory(id: string, params?: CommissionHistoryFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionHistoryDto>>;
3350
+ validateConfig(data: CreateCommissionConfigDto, options?: RequestOptions): Promise<{
3351
+ valid: boolean;
3352
+ errors?: string[];
3353
+ }>;
3354
+ }
3355
+
3356
+ declare class CommissionRulesResource extends BaseResource {
3357
+ private basePath;
3358
+ createRule(data: CreateCommissionRuleDto, options?: RequestOptions): Promise<CommissionRuleDto>;
3359
+ getRule(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3360
+ listRules(params?: CommissionRuleFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionRuleDto>>;
3361
+ updateRule(id: string, data: UpdateCommissionRuleDto, options?: RequestOptions): Promise<CommissionRuleDto>;
3362
+ deleteRule(id: string, options?: RequestOptions): Promise<{
3363
+ success: boolean;
3364
+ }>;
3365
+ activateRule(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3366
+ deactivateRule(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3367
+ getRuleHistory(id: string, params?: CommissionHistoryFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionHistoryDto>>;
3368
+ validateRule(data: CreateCommissionRuleDto, options?: RequestOptions): Promise<{
3369
+ valid: boolean;
3370
+ errors?: string[];
3371
+ conflicts?: CommissionRuleDto[];
3372
+ }>;
3373
+ getMyRules(options?: RequestOptions): Promise<CommissionRuleDto[]>;
3374
+ getApplicableRule(params: {
3375
+ collaboratorId: string;
3376
+ planId?: string;
3377
+ amount?: number;
3378
+ promotionId?: string;
3379
+ }, options?: RequestOptions): Promise<CommissionRuleDto | null>;
3380
+ }
3381
+
3382
+ declare class CommissionCalculationsResource extends BaseResource {
3383
+ private basePath;
3384
+ createCalculation(data: {
3385
+ contractId: string;
3386
+ collaboratorId: string;
3387
+ }, options?: RequestOptions): Promise<CommissionCalculationDto>;
3388
+ getCalculation(id: string, options?: RequestOptions): Promise<CommissionCalculationDto>;
3389
+ getCalculations(params?: CommissionFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionCalculationDto>>;
3390
+ getCollaboratorCalculations(collaboratorId: string, params?: CommissionFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionCalculationDto>>;
3391
+ confirmCalculation(id: string, data: {
3392
+ note?: string;
3393
+ }, options?: RequestOptions): Promise<CommissionCalculationDto>;
3394
+ reverseCalculation(id: string, data: {
3395
+ reason: string;
3396
+ }, options?: RequestOptions): Promise<CommissionCalculationDto>;
3397
+ markAsPaid(id: string, data: {
3398
+ paidDate: string;
3399
+ note?: string;
3400
+ }, options?: RequestOptions): Promise<CommissionCalculationDto>;
3401
+ simulate(data: SimulateCommissionDto, options?: RequestOptions): Promise<CommissionSimulationDto>;
3402
+ getMyCommissions(params?: CommissionFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionCalculationDto>>;
3403
+ getMyCommissionsSummary(options?: RequestOptions): Promise<CommissionSummaryDto>;
3404
+ }
3405
+
3406
+ declare class CommissionReportsResource extends BaseResource {
3407
+ private basePath;
3408
+ getSummary(params?: ReportFiltersDto, options?: RequestOptions): Promise<CommissionSummaryReportDto>;
3409
+ getByRule(params?: ReportFiltersDto, options?: RequestOptions): Promise<RuleReportDto[]>;
3410
+ getByCollaborator(params?: ReportFiltersDto, options?: RequestOptions): Promise<CollaboratorReportDto[]>;
3411
+ getPromotionAnalytics(params?: PromotionReportFiltersDto, options?: RequestOptions): Promise<PromotionReportDto[]>;
3412
+ exportToCSV(params?: ReportFiltersDto, options?: RequestOptions): Promise<Blob>;
3413
+ getTrends(params?: ReportFiltersDto, options?: RequestOptions): Promise<{
3414
+ date: string;
3415
+ commissions: number;
3416
+ contracts: number;
3417
+ }[]>;
3418
+ getTopPerformers(params?: ReportFiltersDto & {
3419
+ limit?: number;
3420
+ }, options?: RequestOptions): Promise<CollaboratorReportDto[]>;
3421
+ }
3422
+
3423
+ declare class CommissionPromotionsResource extends BaseResource {
3424
+ private basePath;
3425
+ createPromotion(data: CreateCommissionRuleDto, options?: RequestOptions): Promise<CommissionRuleDto>;
3426
+ getPromotion(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3427
+ listPromotions(params?: CommissionRuleFiltersDto, options?: RequestOptions): Promise<PaginatedResponseDto<CommissionRuleDto>>;
3428
+ updatePromotion(id: string, data: UpdateCommissionRuleDto, options?: RequestOptions): Promise<CommissionRuleDto>;
3429
+ deletePromotion(id: string, options?: RequestOptions): Promise<{
3430
+ success: boolean;
3431
+ }>;
3432
+ activatePromotion(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3433
+ deactivatePromotion(id: string, options?: RequestOptions): Promise<CommissionRuleDto>;
3434
+ validatePromotion(data: CreateCommissionRuleDto, options?: RequestOptions): Promise<{
3435
+ valid: boolean;
3436
+ errors?: string[];
3437
+ conflicts?: CommissionRuleDto[];
3438
+ }>;
3439
+ estimateImpact(id: string, options?: RequestOptions): Promise<{
3440
+ estimatedContracts: number;
3441
+ estimatedCommissions: number;
3442
+ estimatedCost: number;
3443
+ }>;
3444
+ }
3445
+
3020
3446
  declare class GymSpaceSdk {
3021
3447
  client: ApiClient;
3022
3448
  private expoFetch?;
@@ -3049,6 +3475,11 @@ declare class GymSpaceSdk {
3049
3475
  bulkMessaging: BulkMessagingResource;
3050
3476
  activities: ActivitiesResource;
3051
3477
  tags: TagsResource;
3478
+ commissionConfig: CommissionConfigResource;
3479
+ commissionRules: CommissionRulesResource;
3480
+ commissionCalculations: CommissionCalculationsResource;
3481
+ commissionReports: CommissionReportsResource;
3482
+ commissionPromotions: CommissionPromotionsResource;
3052
3483
  constructor(config: GymSpaceConfig);
3053
3484
  /**
3054
3485
  * Set the authentication token
@@ -3118,4 +3549,4 @@ declare class NetworkError extends GymSpaceError {
3118
3549
  constructor(message?: string);
3119
3550
  }
3120
3551
 
3121
- 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, type BulkMessageVariable, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, CancellationReason, 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 ClientTagsResponse, ClientsResource, type CollaboratorRoleDto, CollaboratorsResource, 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 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 GetFeaturedGymsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type GetTagClientsParams, type Gym, type GymAmenities, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InventorySettings, type InvitationValidationResponse, InvitationsResource, 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 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, PublicCatalogResource, type ReactivateContractDto, type ReadyResponse, type RegisterCollaboratorDto, type RegisterOwnerDto, type RejectedClient, type RejectedClientDto, type RemoveTagsDto, type RemoveTagsResponse, type RenewContractDto, type RequestOptions, type RequestPasswordResetDto, type RequestPasswordResetResponseDto, type ResendResetCodeDto, type ResendResetCodeResponseDto, type ResendVerificationDto, type ResetPasswordDto, type ResetPasswordResponseDto, type ResumeContractDto, RolesResource, type Sale, type SaleItem, type SaleItemDto, SalesResource, type SalesRevenue, type SalesStats, type SearchActivitiesParams, type SearchCatalogParams, 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 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, SuspensionType, type Tag, type TagClientsResponse, type TagStatsResponse, type TagWithAssignment, TagsResource, type TimeSlot, type TopSellingProduct, type UpdateActivityDto, type UpdateActivityNotificationDto, type UpdateBulkTemplateDto, type UpdateClientDto, 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 };
3552
+ 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, type BulkMessageVariable, BulkMessagingResource, type BulkTemplate, type BusinessHours, type CancelContractDto, type CancelSubscriptionDto, type CancellationAnalytics, CancellationReason, 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 GetFeaturedGymsParams, type GetGymInvitationsParams, type GetMembershipPlansParams, type GetTagClientsParams, type Gym, type GymAmenities, type GymSchedule, type GymSettings, type GymSocialMedia, type GymSpaceConfig, GymSpaceError, GymSpaceSdk, type GymStats, GymsResource, HealthResource, type HealthResponse, type InitializeConnectionResponse, type InventorySettings, type InvitationValidationResponse, InvitationsResource, 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 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 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, SuspensionType, type Tag, type TagClientsResponse, type TagStatsResponse, type TagWithAssignment, TagsResource, type TimeSlot, type TopSellingProduct, type UpdateActivityDto, type UpdateActivityNotificationDto, type UpdateBulkTemplateDto, 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 };