Update api spec (#218)

* YOYO NEW API SPEC!

* fix

* update test ignore list

* Generated new lib

* bump v

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-02-29 11:34:48 +11:00
committed by GitHub
parent e39fc8bd99
commit cd8b791b49
58 changed files with 6479 additions and 720 deletions

View File

@ -0,0 +1,16 @@
import { payments } from '../../src/index.js';
async function example() {
const response = await payments.create_user_subscription({
body: { modeling_app: 'free' },
});
if ('error_code' in response) throw response;
return response;
}
describe('Testing payments.create_user_subscription', () => {
it('should be truthy or throw', async () => {
expect(await example()).toBeTruthy();
});
});