@gymspace/sdk 1.5.0 → 1.5.1

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.
@@ -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/types/whatsapp-templates.types.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/enums.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/@gymspace/shared/src/types.ts","../node_modules/@gymspace/shared/src/interfaces.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/activity-notification.schema.ts","../node_modules/@gymspace/shared/src/schemas/index.ts","../node_modules/@gymspace/shared/src/utils/rolehelpers.ts","../node_modules/@gymspace/shared/src/utils/phone.utils.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":[[71],[62,63],[59,60,62,64,65,70],[60,62],[70],[62],[59,60,62,65,66,67,68,69],[59,60,61],[49,50],[48],[50],[53,54,55],[50,51,52,54,56,57,58,76,77,78],[52,57],[72],[73,74,75],[48,52],[47,80,81],[80,81,82,144,145,148],[126],[84],[79],[79,80],[84,85,88,90,93,95,97,99,101,103,106,108,110,114,116,118,120,122,127,129,132,134,136,138,146,147],[80],[125],[80,86,134],[80,86,110],[80,86],[86,106],[80,84,85,86],[80,82],[80,86,132],[80,86,103],[80,86,95],[79,80,86],[80,86,138],[80,86,99],[86,101],[86,108],[80,86,90],[87,89,91,92,94,96,98,100,102,104,105,107,109,111,112,113,115,117,119,121,123,124,125,126,128,130,131,133,135,137,139,140,141,142,143],[80,86,97],[86,114],[80,86,88],[80,86,127],[80,86,116],[79,80,86,93],[80,86,118],[80,84,86],[80,86,120],[80,86,136],[80,86,122],[80,86,129],[80,82,83,144],[82]],"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":"1c9800fbae1b443d77672e6d3e715df7280479b7c41f08cb790e750f01b50d90","impliedFormat":99},{"version":"2104e766ef99748f59eb9008126d10beaef834d63118ecf4662b08fa76dfc2fc","impliedFormat":1},{"version":"f491bcc731fa1b33993f00ed3085bc5a3a4c52550640e9a23f349ce1a420aaa5","impliedFormat":1},{"version":"fc9bcbf3b64acf475a5db18721091be02ff415f483b83e8bfc930dcd6b014895","impliedFormat":1},{"version":"1d9ee375bf6d0f80fe6067aa20b09427713003bcf52d0d3e36e1a364e19a56b2","impliedFormat":1},{"version":"99b93c395004525f631681b6693dae37da97437bbb54207f35550717da2de302","impliedFormat":1},{"version":"f56e30360a441fc374b3cbe77c18a37f8a9b83b3eb79407945c3a52912a887e7","impliedFormat":1},{"version":"6eaa6752bfbf13ec1b4d847cfac7eb307d9616554e6108b31a1efe1d57732264","impliedFormat":1},{"version":"dcd768b31a77e38cc7dc147cbd1d80183ab3db2fca03939ec89d9ae8b13581f4","impliedFormat":1},{"version":"27bc4e2e091355feffae8d0f6b09251c9e1340fcd9e5f4a64adaad9e0d80bec8","impliedFormat":1},{"version":"d0413e7a90fb0fc5ef18a5ef421be648b48c7be896cdd097cf11fa0259c6edc5","impliedFormat":1},{"version":"5d43729825004f65a169ceb8cb72c4a2902571ab455c380b733f79a29764a6d2","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":"c149009ab43269d9008846f8067d0c39ce765dcbe1ad13d6c2b5d13e8fdcdc90","impliedFormat":1},{"version":"03495e88baade461c24c2363c1e7f7e777a7ae13b749186c0726207d05bf3c0d","impliedFormat":1},{"version":"c934cb299bc6f46910e61a6655ed654f00036817c3474499cb6c4ebc72c2fddc","impliedFormat":1},{"version":"85811096c3c92262d2c378eed49a4d4174dadd284a4c808e4ba7d0c89f09e9b0","impliedFormat":1},{"version":"f6a6a8feaadbd2e902a7549f8f6e21c9d0ee75981a6bcf154b8afe339b0c012c","impliedFormat":1},"522237c3836c6a7c5e7afd0b1971a78ae2083d2ecdbb4c99c5b36ce3bb73505b","122f963f839dffe02992f3c29c4f9d22c8be0bf865bd4015498e9a55b718d2ef","3bd152eea19b75a31bf64fcf8e484d1113e308cd85a99f6041d7aec00837c07f","358f0833c081a5ba5dd957d18530f507688c922f08054c12a78e0d42534a3bbc","ea6eb004e021c23a2d4c2090a3086234217e2d33361e62e9737ec34e3ef719e8","149cf742da9555355188424cd94735ae7bfce96f65093bad92a680208b079e6e","5fc81afdf7085284bdd04bb7b3de97769515daa5d8b2a4cecb1d4c2300b4a510","7139b14c9ed9355eb3842276a44bac7e4bcd1f7d323323ddcf8c8ef5ba8b2fb1","208b5844b05691a047c1a4bccb514a247428c1083cf5964733f0562337e3ed80","e09640323c7636a9c8536247f83740a4af504cfba28aaeec1f554276fdbdf79b","5b6f03eb11b2db1fe4b79d097fa2e12812ffbdab81780c61015c450ec822c4ae","db0c5964a56ddaed5f25597cc06a05c2c4f8c8e785a0d450cb81386d9766b8eb","62eb992c4944eb724c9bc4a531f8c954a7aa94301b52f172cc69b335b738588c","2b949dc19987d2217953b362864780adabb1318bf2c6be5a76ca6a59220c7bf3","58e5f7be56dc310c730db38ab7df7bc1e17742bd54e55356f70def71cf45a847","c478bbdc874295b06acf9e4bf60b2a435157d1eb6f262109459c3ee7292867f3","61ec2be27c14fb6dd017426ccad9573d4195dece4182782fd36e9e584b9ba599","e980f13a6ed4125a5d9548b689c8bdc3abb89fd0e53814719471d93342ec35a8","3caa6231ff6fb326b46c622f7160201b613704084ec83cb1b2733e50bfcf9048","74a6de5ba612b3489841fdde08d026b3b34410eea1088331a1076a77292acfa9","e7a9219ee898f35f559c031adc14f12a23232d1615196b64679665bc31aaeb09","a2659947000309025232a493a24559d02d894cdfa8c3781b03b89d7b6024503c","3d1029733b77f2d20a88c2a7c9fa2eef4117e02183a64adbb9e396fde58082a2","e2ec568b04b0f45098e9f41f9a4c4b79845086e1e97140c82d812eade0149535","0ec42fefa04cdc68782cefe6753d79a951bfaf0e3562d681b152b6a138abc607","0671d70b6dcbf8c5773b2da7a2fb191ff83b90c12b9c7da6bae3ba6bd94beed6","8d5e02343427bb0f8cd07e25f13fea96f16fda4d20c4bd0bb4eb5cb950fdfb85","8ca018e6dd4960711bcfc9a62bd4dba80794d7d436a61631339054042fdcd7a1","0318a89ce8ab11333f2110b24f21182b5cbe337d633e86c2f2c8be2371d876fd","5f627cd620351e3e4ed705f0abd6d84d289dd8141a781060954f074f93036634","1e525ef71bc144624a89607587dfba06abe4d9510155eea9e9e46b6b44094600","d3caa284f02d917e299c2cab4f537f6524c1db83e8c49ad61e222b185f338f8f","3e0f95e42eac290d1e264b67de09fa4f7b97715936d58b5f1a574b78bd1138cc","33253a790da4c3c4ca6fac42efe83f1f78f55d2a5d66a84a98ef2c24b92b12f8","5f9aba8441b8062079051597e04350eefb274a7dd93680f7a4a1ebd7f0248d59","426227bd53276130b79d2349ab70472df1bd5da5f108a1bdaa237d1a90c6af4d","f24fd0fade0ab2694b1038b1484505f61715660a5392dc8e414b5294f21dafde","f1ae7e612f0c9eeb7048ac5f1aff7f41530ac9e16c09f07222ce0ffc53a701d7","98b2be0257b290cd82d28207558424ccca1cbebd2f67b9d68205a2d9e3311785","738fccb61792698f202ad9902216584de09511cdd603349a1a164de9b89518f5","0829af84d3368bd182c2c56a3277720a159e3296666a4a4b17e6ee945e3395d3","63aa5ef7c1fad8d6758f25e968e57a4973582866fa08a3429761597653eb39f2","5a323df23f74a335e727b2273b69b49a93c877c930a91d59c219dd69a8361ace","05b2c94345341a306f1635d9cc7f42e2af5df9d9a5f9d8399e1560e774566e50","6ac3496933bea2ed5aa344ce23d763219b5118f3b35df3b5f671513a4323df67","49ac3ac2280c77813ab79de1943f256014ce0a4d977d5c7b9da645b5a9126c7e","21259e4ae26bc1386e6969a3072d6ec31dc52ad81a07b151d66d9cb9ab81cb37","51bebf61fbc48fc20666609c19f96a2ea65bcffc4971d2c0c8d5f87e94dfa59b","aa3739ab80ddd103e094a807e4a94bd9c15afc4a05f23ac79f81770b968ac5a7","2faa34a7608af115c11431fc15842c10bbf8eb7b7be6f593f17d56c3622f4bf0","407658a55dd33cb86ab116fddf7e0ec138be2372d8053bd2bdd59f1d6768abc6","038353dc059db1b2aee89acea285136ae3e6980b7a00dfa055749a8c9c69446d","4ed6a5342d4b3c2ee3362fd92bf0d6accb987c61fc80390ea5a97aa7662a34a5","7de4f8be457ffdffe588d67d670f6045f3fa1f7b58943afcaec4a089ff6fc698","92ffda4b78c4ea27a9da946ad796803b7d1bbea5c50a515936212e3110d805bb","2df2a1cab9b187e3b04023e6f4efac8f9fd8ce350374b4b64c6cd6f9cd30a415","92993add08cef6c9b4022dc996971fa7a19f9db3cff8505801ab4b84b3763b5b","78be2b57be63cdcf2ee702b1b83b47bbad2e10e775d894be94cb762fe69e5555","5373e92103b4bac997c1c5a56fb20c33db307d23d7222a87e1c1d412aa778c89","a9507fd60c9bc85b529ad7fc61d0bb21d4b16dd91c0a522e08a00e5bd56471dc","f44eb61ba2b51021075d1895f65a610ebd4882c9ca13bfc5861c2a89750a5d7d","a8f115257802c52b66411b0f4fda408e46c12428e9d16fab24122b4ff42f6fa6","fb3f1cc0a373e662def2b5f0df965532c96842b3cdd3c3ddee5e889bbdaf5d4f","641868ca28d751af1921ce8f01cf8920786c7871e62d7af32b8b578708ebbd2d","3cf00f4865bf9824efe9bb20a4433777058b2cd742b31930c80a3192e75ead43","61ced83f9f7a85586fc6419d7467894a8e1888ff32d146fefd98f3cb21706575","630a65d71ba7571e9880f174146ef544d2818cbcf85440869823a3c69bb13438","0f397304d0d60d06be9e49ff7d18dbfc4a3fa5b3f5d72e08d77c1bf1601bf4f6","b82acc1280799436b0202f139b2ea08676898d871f8c37f2ac1b304c8e28335b","6581f800df7e785c8aab229f06bef765ad781f0bb353091a0f23375694c7891e","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981","2889a5f3b6a7d9cd1dd50870cfd7d33b44fd5fb2b65a007e7324e4fcbf731981"],"root":[[80,151]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":99,"outDir":"./","rootDir":"../src","skipLibCheck":true,"target":7,"tsBuildInfoFile":"./.tsbuildinfo"},"referencedMap":[[72,1],[64,2],[71,3],[65,4],[68,5],[61,1],[63,6],[70,7],[62,8],[51,9],[49,10],[54,11],[56,12],[79,13],[58,14],[75,15],[73,15],[74,15],[76,16],[57,17],[82,18],[149,19],[147,20],[85,21],[132,22],[99,23],[148,24],[118,25],[146,26],[120,25],[129,25],[135,27],[112,28],[126,29],[107,30],[87,31],[86,32],[133,33],[104,34],[96,35],[92,36],[141,37],[139,37],[143,37],[142,37],[140,37],[100,38],[102,39],[109,40],[91,41],[113,29],[144,42],[105,36],[98,43],[115,44],[89,45],[128,46],[117,47],[111,28],[94,48],[119,49],[125,29],[124,50],[121,51],[137,52],[123,53],[131,54],[130,54],[145,55],[80,22],[83,56]],"affectedFilesPendingEmit":[[82,49],[81,49],[149,49],[134,49],[147,49],[106,49],[85,49],[132,49],[110,49],[103,49],[95,49],[150,49],[138,49],[99,49],[101,49],[108,49],[90,49],[148,49],[151,49],[97,49],[114,49],[88,49],[127,49],[116,49],[93,49],[118,49],[146,49],[84,49],[120,49],[136,49],[122,49],[129,49],[135,49],[112,49],[126,49],[107,49],[87,49],[86,49],[133,49],[104,49],[96,49],[92,49],[141,49],[139,49],[143,49],[142,49],[140,49],[100,49],[102,49],[109,49],[91,49],[113,49],[144,49],[105,49],[98,49],[115,49],[89,49],[128,49],[117,49],[111,49],[94,49],[119,49],[125,49],[124,49],[121,49],[137,49],[123,49],[131,49],[130,49],[145,49],[80,49],[83,49]],"emitSignatures":[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,150,151],"version":"5.9.3"}
package/dist/index.d.mts CHANGED
@@ -417,6 +417,30 @@ interface OrganizationAdminDetails {
417
417
  createdAt: Date;
418
418
  updatedAt: Date;
419
419
  }
420
+ interface MyOrganization {
421
+ id: string;
422
+ name: string;
423
+ organizationCode: string;
424
+ country: string;
425
+ currency: string;
426
+ timezone: string;
427
+ isOwner: boolean;
428
+ gyms: Array<{
429
+ id: string;
430
+ name: string;
431
+ }>;
432
+ createdAt: Date;
433
+ }
434
+ interface SwitchOrganizationDto {
435
+ organizationId: string;
436
+ }
437
+ interface SwitchOrganizationResponse {
438
+ success: boolean;
439
+ message: string;
440
+ organizationId: string;
441
+ defaultGymId: string;
442
+ defaultGymName: string;
443
+ }
420
444
 
421
445
  declare class OrganizationsResource extends BaseResource {
422
446
  private basePath;
@@ -425,6 +449,8 @@ declare class OrganizationsResource extends BaseResource {
425
449
  getOrganizationStats(id: string, options?: RequestOptions): Promise<OrganizationStats>;
426
450
  listOrganizations(options?: RequestOptions): Promise<OrganizationWithDetails[]>;
427
451
  getOrganizationForAdmin(id: string, options?: RequestOptions): Promise<OrganizationAdminDetails>;
452
+ getMyOrganizations(options?: RequestOptions): Promise<MyOrganization[]>;
453
+ switchOrganization(data: SwitchOrganizationDto, options?: RequestOptions): Promise<SwitchOrganizationResponse>;
428
454
  }
429
455
 
430
456
  interface CreateGymDto {
@@ -3851,4 +3877,4 @@ declare class NetworkError extends GymSpaceError {
3851
3877
  constructor(message?: string);
3852
3878
  }
3853
3879
 
3854
- export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, 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, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, 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 SendCatalogMessageDto, type SendCatalogMessageResponse, 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 };
3880
+ export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, 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, type MyOrganization, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, 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 SendCatalogMessageDto, type SendCatalogMessageResponse, 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 SwitchOrganizationDto, type SwitchOrganizationResponse, 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 };
package/dist/index.d.ts CHANGED
@@ -417,6 +417,30 @@ interface OrganizationAdminDetails {
417
417
  createdAt: Date;
418
418
  updatedAt: Date;
419
419
  }
420
+ interface MyOrganization {
421
+ id: string;
422
+ name: string;
423
+ organizationCode: string;
424
+ country: string;
425
+ currency: string;
426
+ timezone: string;
427
+ isOwner: boolean;
428
+ gyms: Array<{
429
+ id: string;
430
+ name: string;
431
+ }>;
432
+ createdAt: Date;
433
+ }
434
+ interface SwitchOrganizationDto {
435
+ organizationId: string;
436
+ }
437
+ interface SwitchOrganizationResponse {
438
+ success: boolean;
439
+ message: string;
440
+ organizationId: string;
441
+ defaultGymId: string;
442
+ defaultGymName: string;
443
+ }
420
444
 
421
445
  declare class OrganizationsResource extends BaseResource {
422
446
  private basePath;
@@ -425,6 +449,8 @@ declare class OrganizationsResource extends BaseResource {
425
449
  getOrganizationStats(id: string, options?: RequestOptions): Promise<OrganizationStats>;
426
450
  listOrganizations(options?: RequestOptions): Promise<OrganizationWithDetails[]>;
427
451
  getOrganizationForAdmin(id: string, options?: RequestOptions): Promise<OrganizationAdminDetails>;
452
+ getMyOrganizations(options?: RequestOptions): Promise<MyOrganization[]>;
453
+ switchOrganization(data: SwitchOrganizationDto, options?: RequestOptions): Promise<SwitchOrganizationResponse>;
428
454
  }
429
455
 
430
456
  interface CreateGymDto {
@@ -3851,4 +3877,4 @@ declare class NetworkError extends GymSpaceError {
3851
3877
  constructor(message?: string);
3852
3878
  }
3853
3879
 
3854
- export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, 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, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, 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 SendCatalogMessageDto, type SendCatalogMessageResponse, 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 };
3880
+ export { type ActivateRenewalDto, ActivitiesResource, type Activity, type ActivityNotificationDto, 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, type MyOrganization, NetworkError, type NewClients, NotFoundError, type NotificationSettings, OnboardingCacheStatus, OnboardingResource, type OnboardingResponse, type OnboardingStatus, type OnboardingStatusResponse, 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 SendCatalogMessageDto, type SendCatalogMessageResponse, 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 SwitchOrganizationDto, type SwitchOrganizationResponse, 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 };
package/dist/index.js CHANGED
@@ -308,7 +308,11 @@ var AuthResource = class extends BaseResource {
308
308
  return this.client.post(`${this.basePath}/login`, data, options);
309
309
  }
310
310
  async refreshToken(refreshToken, options) {
311
- return this.client.post(`${this.basePath}/refresh`, { refresh_token: refreshToken }, options);
311
+ return this.client.post(
312
+ `${this.basePath}/refresh`,
313
+ { refresh_token: refreshToken },
314
+ options
315
+ );
312
316
  }
313
317
  async verifyEmail(data, options) {
314
318
  return this.client.post(`${this.basePath}/verify-email`, data, options);
@@ -389,7 +393,21 @@ var OrganizationsResource = class extends BaseResource {
389
393
  return this.client.get(`${this.basePath}/list`, void 0, options);
390
394
  }
391
395
  async getOrganizationForAdmin(id, options) {
392
- return this.client.get(`${this.basePath}/admin/${id}`, void 0, options);
396
+ return this.client.get(
397
+ `${this.basePath}/admin/${id}`,
398
+ void 0,
399
+ options
400
+ );
401
+ }
402
+ async getMyOrganizations(options) {
403
+ return this.client.get(
404
+ `${this.basePath}/my-organizations`,
405
+ void 0,
406
+ options
407
+ );
408
+ }
409
+ async switchOrganization(data, options) {
410
+ return this.client.post(`${this.basePath}/switch`, data, options);
393
411
  }
394
412
  };
395
413