@drxsuperapp/sdk 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +6 -0
- package/deploy.log +150 -0
- package/dist/api.d.ts +6 -0
- package/docs/ApiExamplesGet200ResponseInner.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
package/deploy.log
CHANGED
|
@@ -355,3 +355,153 @@ npm error command failed
|
|
|
355
355
|
npm error command sh -c npm run build
|
|
356
356
|
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_13_36_082Z-debug-0.log
|
|
357
357
|
❌ NPM publish failed
|
|
358
|
+
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
359
|
+
* branch master -> FETCH_HEAD
|
|
360
|
+
Already up to date.
|
|
361
|
+
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
362
|
+
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
363
|
+
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
364
|
+
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
|
|
365
|
+
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
|
|
366
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_get_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
367
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
368
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
369
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
370
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
371
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
372
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
|
|
373
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
|
|
374
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
375
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
376
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
377
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
|
|
378
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
379
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
380
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
381
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
382
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
383
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
384
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
385
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
|
|
386
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
|
|
387
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
|
|
388
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
|
|
389
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
|
|
390
|
+
[main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
|
|
391
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
|
|
392
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
|
|
393
|
+
################################################################################
|
|
394
|
+
# Thanks for using OpenAPI Generator. #
|
|
395
|
+
# Please consider donation to help us maintain this project 🙏 #
|
|
396
|
+
# https://opencollective.com/openapi_generator/donate #
|
|
397
|
+
################################################################################
|
|
398
|
+
✅ SDK generated
|
|
399
|
+
From https://gitlab.com/drxsuperapp/drx-sdk
|
|
400
|
+
* branch master -> FETCH_HEAD
|
|
401
|
+
Already up to date.
|
|
402
|
+
[main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
|
|
403
|
+
[main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
|
|
404
|
+
[main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
|
|
405
|
+
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Hint: Environment variable 'TS_POST_PROCESS_FILE' (optional) not defined. E.g. to format the source code, please try 'export TS_POST_PROCESS_FILE="/usr/local/bin/prettier --write"' (Linux/Mac)
|
|
406
|
+
[main] INFO o.o.c.l.AbstractTypeScriptClientCodegen - Note: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).
|
|
407
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_get_200_response_inner. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_get_200_response_inner=NewModel,ModelA=NewModelA in CLI).
|
|
408
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples_post_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples_post_request=NewModel,ModelA=NewModelA in CLI).
|
|
409
|
+
[main] INFO o.o.codegen.InlineModelResolver - Inline schema created as _api_examples__id__put_request. To have complete control of the model name, set the `title` field or use the modelNameMapping option (e.g. --model-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI) or inlineSchemaNameMapping option (--inline-schema-name-mappings _api_examples__id__put_request=NewModel,ModelA=NewModelA in CLI).
|
|
410
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
411
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
412
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
|
|
413
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
|
|
414
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
|
|
415
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
|
|
416
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
|
|
417
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
|
|
418
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
|
|
419
|
+
[main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
|
|
420
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
421
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
|
|
422
|
+
[main] INFO o.o.codegen.utils.URLPathUtils - 'host' (OAS 2.0) or 'servers' (OAS 3.0) not defined in the spec. Default to [http://localhost] for server URL [http://localhost/]
|
|
423
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
|
|
424
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
|
|
425
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
|
|
426
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
|
|
427
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
|
|
428
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
|
|
429
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
|
|
430
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
|
|
431
|
+
[main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
|
|
432
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
|
|
433
|
+
[main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
|
|
434
|
+
################################################################################
|
|
435
|
+
# Thanks for using OpenAPI Generator. #
|
|
436
|
+
# Please consider donation to help us maintain this project 🙏 #
|
|
437
|
+
# https://opencollective.com/openapi_generator/donate #
|
|
438
|
+
################################################################################
|
|
439
|
+
✅ SDK generated
|
|
440
|
+
[master 404c096] VPS: Generated API SDK
|
|
441
|
+
3 files changed, 49 insertions(+)
|
|
442
|
+
To https://gitlab.com/drxsuperapp/drx-sdk.git
|
|
443
|
+
8c04480..404c096 master -> master
|
|
444
|
+
✅ Changes committed and pushed
|
|
445
|
+
npm error Git working directory not clean.
|
|
446
|
+
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_25_39_210Z-debug-0.log
|
|
447
|
+
Everything up-to-date
|
|
448
|
+
✅ Version bumped
|
|
449
|
+
|
|
450
|
+
> @drxsuperapp/sdk@1.0.0 prepublishOnly
|
|
451
|
+
> npm run build
|
|
452
|
+
|
|
453
|
+
|
|
454
|
+
> @drxsuperapp/sdk@1.0.0 build
|
|
455
|
+
> tsc
|
|
456
|
+
|
|
457
|
+
npm notice
|
|
458
|
+
npm notice 📦 @drxsuperapp/sdk@1.0.0
|
|
459
|
+
npm notice Tarball Contents
|
|
460
|
+
npm notice 1.0kB .openapi-generator-ignore
|
|
461
|
+
npm notice 206B .openapi-generator/FILES
|
|
462
|
+
npm notice 7B .openapi-generator/VERSION
|
|
463
|
+
npm notice 20.0kB api.ts
|
|
464
|
+
npm notice 1.8kB base.ts
|
|
465
|
+
npm notice 4.8kB common.ts
|
|
466
|
+
npm notice 3.5kB configuration.ts
|
|
467
|
+
npm notice 39.4kB deploy.log
|
|
468
|
+
npm notice 8.8kB dist/api.d.ts
|
|
469
|
+
npm notice 16.5kB dist/api.js
|
|
470
|
+
npm notice 1.4kB dist/base.d.ts
|
|
471
|
+
npm notice 1.3kB dist/base.js
|
|
472
|
+
npm notice 1.9kB dist/common.d.ts
|
|
473
|
+
npm notice 4.2kB dist/common.js
|
|
474
|
+
npm notice 2.8kB dist/configuration.d.ts
|
|
475
|
+
npm notice 2.7kB dist/configuration.js
|
|
476
|
+
npm notice 402B dist/index.d.ts
|
|
477
|
+
npm notice 444B dist/index.js
|
|
478
|
+
npm notice 696B docs/ApiExamplesGet200ResponseInner.md
|
|
479
|
+
npm notice 573B docs/ApiExamplesIdPutRequest.md
|
|
480
|
+
npm notice 548B docs/ApiExamplesPostRequest.md
|
|
481
|
+
npm notice 6.3kB docs/ExampleApi.md
|
|
482
|
+
npm notice 287B ecosystem.config.js
|
|
483
|
+
npm notice 1.8kB git_push.sh
|
|
484
|
+
npm notice 607B hooks.json
|
|
485
|
+
npm notice 448B index.ts
|
|
486
|
+
npm notice 154B openapitools.json
|
|
487
|
+
npm notice 675B package.json
|
|
488
|
+
npm notice 385B tsconfig.json
|
|
489
|
+
npm notice 1.8kB workflow.sh
|
|
490
|
+
npm notice Tarball Details
|
|
491
|
+
npm notice name: @drxsuperapp/sdk
|
|
492
|
+
npm notice version: 1.0.0
|
|
493
|
+
npm notice filename: drxsuperapp-sdk-1.0.0.tgz
|
|
494
|
+
npm notice package size: 16.2 kB
|
|
495
|
+
npm notice unpacked size: 125.6 kB
|
|
496
|
+
npm notice shasum: 7faf2416d4302259580a6c7cd36fae1e1307d24f
|
|
497
|
+
npm notice integrity: sha512-GErVZaLiS/FhM[...]Pj5XzstJ5Niqg==
|
|
498
|
+
npm notice total files: 30
|
|
499
|
+
npm notice
|
|
500
|
+
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
|
|
501
|
+
npm error code E403
|
|
502
|
+
npm error 403 403 Forbidden - PUT https://registry.npmjs.org/@drxsuperapp%2fsdk - You cannot publish over the previously published versions: 1.0.0.
|
|
503
|
+
npm error 403 In most cases, you or one of your dependencies are requesting
|
|
504
|
+
npm error 403 a package version that is forbidden by your security policy, or
|
|
505
|
+
npm error 403 on a server you do not have access to.
|
|
506
|
+
npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_25_40_348Z-debug-0.log
|
|
507
|
+
❌ NPM publish failed
|
package/dist/api.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**email** | **string** | | [default to undefined]
|
|
11
|
+
**wkwkwkwk** | **string** | | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: ApiExamplesGet200ResponseInner = {
|
|
|
18
19
|
id,
|
|
19
20
|
name,
|
|
20
21
|
email,
|
|
22
|
+
wkwkwkwk,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|