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:
committed by
GitHub
parent
e39fc8bd99
commit
cd8b791b49
16
__tests__/gen/payments-create_user_subscription.test.ts
Normal file
16
__tests__/gen/payments-create_user_subscription.test.ts
Normal 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();
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user