@drxsuperapp/sdk 1.1.0 → 1.1.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.
package/api.ts CHANGED
@@ -53,6 +53,12 @@ export interface ApiExamplesGet200ResponseInner {
53
53
  * @memberof ApiExamplesGet200ResponseInner
54
54
  */
55
55
  'wkwkwkwk': string;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof ApiExamplesGet200ResponseInner
60
+ */
61
+ 'wkwkwkwk2': string;
56
62
  }
57
63
  /**
58
64
  *
package/deploy.log CHANGED
@@ -1,10 +1,3 @@
1
- 🚀 START: Thu Jun 5 09:00:56 UTC 2025
2
- Already on 'master'
3
- Your branch is up to date with 'origin/master'.
4
- HEAD is now at ca72431 init
5
- From https://gitlab.com/drxsuperapp/drx-sdk
6
- * branch master -> FETCH_HEAD
7
- Already up to date.
8
1
  [main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
9
2
  [main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
10
3
  [main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
@@ -43,465 +36,29 @@ Already up to date.
43
36
  # https://opencollective.com/openapi_generator/donate #
44
37
  ################################################################################
45
38
  ✅ SDK generated
46
- From https://gitlab.com/drxsuperapp/drx-sdk
47
- * branch master -> FETCH_HEAD
48
- Already up to date.
49
- [main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
50
- [main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
51
- [main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
52
- [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)
53
- [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).
54
- [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).
55
- [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).
56
- [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).
57
- [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/]
58
- [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/]
59
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
60
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
61
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
62
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
63
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
64
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
65
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
66
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
67
- [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/]
68
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
69
- [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/]
70
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
71
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
72
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
73
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
74
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
75
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
76
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
77
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
78
- [main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
79
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
80
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
81
- ################################################################################
82
- # Thanks for using OpenAPI Generator. #
83
- # Please consider donation to help us maintain this project 🙏 #
84
- # https://opencollective.com/openapi_generator/donate #
85
- ################################################################################
86
- ✅ SDK generated
87
- [master 2e7e263] VPS: Generated API SDK
88
- 2 files changed, 68 insertions(+)
89
- create mode 100644 package.json
90
- To https://gitlab.com/drxsuperapp/drx-sdk.git
91
- 59ff01e..2e7e263 master -> master
92
- ✅ Changes committed and pushed
93
- npm error Git working directory not clean.
94
- npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_05_36_696Z-debug-0.log
95
- Everything up-to-date
96
- ✅ Version bumped
97
-
98
- > @drx/sdk@1.0.0 prepublishOnly
99
- > npm run build
100
-
101
-
102
- > @drx/sdk@1.0.0 build
103
- > tsc
39
+ On branch master
40
+ Your branch is up to date with 'origin/master'.
104
41
 
105
- sh: 1: tsc: not found
106
- npm error code 127
107
- npm error path /root/drx-sdk
108
- npm error command failed
109
- npm error command sh -c npm run build
110
- npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_05_37_942Z-debug-0.log
111
- ❌ NPM publish failed
112
- From https://gitlab.com/drxsuperapp/drx-sdk
113
- * branch master -> FETCH_HEAD
114
- Already up to date.
115
- [main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
116
- [main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
117
- [main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
118
- [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)
119
- [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).
120
- [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).
121
- [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).
122
- [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).
123
- [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/]
124
- [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/]
125
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
126
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
127
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
128
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
129
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
130
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
131
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
132
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
133
- [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/]
134
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
135
- [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/]
136
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
137
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
138
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
139
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
140
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
141
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
142
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
143
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
144
- [main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
145
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
146
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
147
- ################################################################################
148
- # Thanks for using OpenAPI Generator. #
149
- # Please consider donation to help us maintain this project 🙏 #
150
- # https://opencollective.com/openapi_generator/donate #
151
- ################################################################################
152
- ✅ SDK generated
153
- From https://gitlab.com/drxsuperapp/drx-sdk
154
- * branch master -> FETCH_HEAD
155
- Already up to date.
156
- [main] INFO o.o.codegen.DefaultGenerator - Generating with dryRun=false
157
- [main] INFO o.o.codegen.DefaultGenerator - OpenAPI Generator: typescript-axios (client)
158
- [main] INFO o.o.codegen.DefaultGenerator - Generator 'typescript-axios' is considered stable.
159
- [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)
160
- [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).
161
- [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).
162
- [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).
163
- [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).
164
- [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/]
165
- [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/]
166
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesGet200ResponseInner.md
167
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesIdPutRequest.md
168
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ApiExamplesPostRequest.md
169
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples. Renamed to auto-generated operationId: apiExamplesGet
170
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: post /api/examples. Renamed to auto-generated operationId: apiExamplesPost
171
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdGet
172
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdPut
173
- [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/examples/{id}. Renamed to auto-generated operationId: apiExamplesIdDelete
174
- [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/]
175
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./docs/ExampleApi.md
176
- [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/]
177
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./index.ts
178
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./base.ts
179
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./common.ts
180
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./api.ts
181
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./configuration.ts
182
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./git_push.sh
183
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.gitignore
184
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.npmignore
185
- [main] INFO o.o.codegen.TemplateManager - Skipped /root/drx-sdk/./.openapi-generator-ignore (Skipped by supportingFiles options supplied by user.)
186
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/VERSION
187
- [main] INFO o.o.codegen.TemplateManager - writing file /root/drx-sdk/./.openapi-generator/FILES
188
- ################################################################################
189
- # Thanks for using OpenAPI Generator. #
190
- # Please consider donation to help us maintain this project 🙏 #
191
- # https://opencollective.com/openapi_generator/donate #
192
- ################################################################################
193
- ✅ SDK generated
194
- [master 5306192] VPS: Generated API SDK
195
- 1 file changed, 41 insertions(+)
196
- To https://gitlab.com/drxsuperapp/drx-sdk.git
197
- fce4117..5306192 master -> master
198
- ✅ Changes committed and pushed
199
- npm error Git working directory not clean.
200
- npm error A complete log of this run can be found in: /root/.npm/_logs/2025-06-05T09_13_34_387Z-debug-0.log
42
+ nothing to commit, working tree clean
201
43
  Everything up-to-date
202
- ✅ Version bumped
203
-
204
- > @drx/sdk@1.0.0 prepublishOnly
205
- > npm run build
206
-
207
-
208
- > @drx/sdk@1.0.0 build
209
- > tsc
210
-
211
- Version 5.8.3
212
- tsc: The TypeScript Compiler - Version 5.8.3
213
-
214
- COMMON COMMANDS
215
-
216
- tsc
217
- Compiles the current project (tsconfig.json in the working directory.)
218
-
219
- tsc app.ts util.ts
220
- Ignoring tsconfig.json, compiles the specified files with default compiler options.
221
-
222
- tsc -b
223
- Build a composite project in the working directory.
224
-
225
- tsc --init
226
- Creates a tsconfig.json with the recommended settings in the working directory.
227
-
228
- tsc -p ./path/to/tsconfig.json
229
- Compiles the TypeScript project located at the specified path.
230
-
231
- tsc --help --all
232
- An expanded version of this information, showing all possible compiler options
233
-
234
- tsc --noEmit
235
- tsc --target esnext
236
- Compiles the current project, with additional settings.
237
-
238
- COMMAND LINE FLAGS
239
-
240
- --help, -h
241
- Print this message.
242
-
243
- --watch, -w
244
- Watch input files.
245
-
246
- --all
247
- Show all compiler options.
248
-
249
- --version, -v
250
- Print the compiler's version.
251
-
252
- --init
253
- Initializes a TypeScript project and creates a tsconfig.json file.
254
-
255
- --project, -p
256
- Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.
257
-
258
- --showConfig
259
- Print the final configuration instead of building.
260
-
261
- --build, -b
262
- Build one or more projects and their dependencies, if out of date
263
-
264
- COMMON COMPILER OPTIONS
265
-
266
- --pretty
267
- Enable color and formatting in TypeScript's output to make compiler errors easier to read.
268
- type: boolean
269
- default: true
270
-
271
- --declaration, -d
272
- Generate .d.ts files from TypeScript and JavaScript files in your project.
273
- type: boolean
274
- default: `false`, unless `composite` is set
275
-
276
- --declarationMap
277
- Create sourcemaps for d.ts files.
278
- type: boolean
279
- default: false
280
-
281
- --emitDeclarationOnly
282
- Only output d.ts files and not JavaScript files.
283
- type: boolean
284
- default: false
285
-
286
- --sourceMap
287
- Create source map files for emitted JavaScript files.
288
- type: boolean
289
- default: false
290
-
291
- --noEmit
292
- Disable emitting files from a compilation.
293
- type: boolean
294
- default: false
295
-
296
- --target, -t
297
- Set the JavaScript language version for emitted JavaScript and include compatible library declarations.
298
- one of: es5, es6/es2015, es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext
299
- default: es5
300
-
301
- --module, -m
302
- Specify what module code is generated.
303
- one of: none, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, node18, nodenext, preserve
304
- default: undefined
305
-
306
- --lib
307
- Specify a set of bundled library declaration files that describe the target runtime environment.
308
- one or more: es5, es6/es2015, es7/es2016, es2017, es2018, es2019, es2020, es2021, es2022, es2023, es2024, esnext, dom, dom.iterable, dom.asynciterable, webworker, webworker.importscripts, webworker.iterable, webworker.asynciterable, scripthost, es2015.core, es2015.collection, es2015.generator, es2015.iterable, es2015.promise, es2015.proxy, es2015.reflect, es2015.symbol, es2015.symbol.wellknown, es2016.array.include, es2016.intl, es2017.arraybuffer, es2017.date, es2017.object, es2017.sharedmemory, es2017.string, es2017.intl, es2017.typedarrays, es2018.asyncgenerator, es2018.asynciterable/esnext.asynciterable, es2018.intl, es2018.promise, es2018.regexp, es2019.array, es2019.object, es2019.string, es2019.symbol/esnext.symbol, es2019.intl, es2020.bigint/esnext.bigint, es2020.date, es2020.promise, es2020.sharedmemory, es2020.string, es2020.symbol.wellknown, es2020.intl, es2020.number, es2021.promise, es2021.string, es2021.weakref/esnext.weakref, es2021.intl, es2022.array, es2022.error, es2022.intl, es2022.object, es2022.string, es2022.regexp, es2023.array, es2023.collection, es2023.intl, es2024.arraybuffer, es2024.collection, es2024.object/esnext.object, es2024.promise, es2024.regexp/esnext.regexp, es2024.sharedmemory, es2024.string/esnext.string, esnext.array, esnext.collection, esnext.intl, esnext.disposable, esnext.promise, esnext.decorators, esnext.iterator, esnext.float16, decorators, decorators.legacy
309
- default: undefined
310
-
311
- --allowJs
312
- Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files.
313
- type: boolean
314
- default: false
315
-
316
- --checkJs
317
- Enable error reporting in type-checked JavaScript files.
318
- type: boolean
319
- default: false
320
-
321
- --jsx
322
- Specify what JSX code is generated.
323
- one of: preserve, react, react-native, react-jsx, react-jsxdev
324
- default: undefined
325
-
326
- --outFile
327
- Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output.
328
-
329
- --outDir
330
- Specify an output folder for all emitted files.
331
-
332
- --removeComments
333
- Disable emitting comments.
334
- type: boolean
335
- default: false
336
-
337
- --strict
338
- Enable all strict type-checking options.
339
- type: boolean
340
- default: false
341
-
342
- --types
343
- Specify type package names to be included without being referenced in a source file.
344
-
345
- --esModuleInterop
346
- Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility.
347
- type: boolean
348
- default: false
349
-
350
- You can learn about all of the compiler options at https://aka.ms/tsc
351
-
352
- npm error code 1
353
- npm error path /root/drx-sdk
354
- npm error command failed
355
- npm error command sh -c npm run build
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
- ❌ 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
44
  ✅ 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
45
+ v1.1.1
46
+ remote:
47
+ remote: Project 'drxsuperapp/drx-sdk' was moved to 'drx-super/drx-sdk'.
48
+ remote:
49
+ remote: Please update your Git remote:
50
+ remote:
51
+ remote: git remote set-url origin https://gitlab.com/drx-super/drx-sdk.git
52
+ remote:
53
+ remote:
54
+ To https://gitlab.com/drxsuperapp/drx-sdk.git
55
+ dfc42a2..362615b master -> master
448
56
  ✅ Version bumped
449
57
 
450
- > @drxsuperapp/sdk@1.0.0 prepublishOnly
58
+ > @drxsuperapp/sdk@1.1.1 prepublishOnly
451
59
  > npm run build
452
60
 
453
61
 
454
- > @drxsuperapp/sdk@1.0.0 build
62
+ > @drxsuperapp/sdk@1.1.1 build
455
63
  > tsc
456
64
 
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
@@ -43,6 +43,12 @@ export interface ApiExamplesGet200ResponseInner {
43
43
  * @memberof ApiExamplesGet200ResponseInner
44
44
  */
45
45
  'wkwkwkwk': string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof ApiExamplesGet200ResponseInner
50
+ */
51
+ 'wkwkwkwk2': string;
46
52
  }
47
53
  /**
48
54
  *
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **name** | **string** | | [default to undefined]
10
10
  **email** | **string** | | [default to undefined]
11
11
  **wkwkwkwk** | **string** | | [default to undefined]
12
+ **wkwkwkwk2** | **string** | | [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: ApiExamplesGet200ResponseInner = {
20
21
  name,
21
22
  email,
22
23
  wkwkwkwk,
24
+ wkwkwkwk2,
23
25
  };
24
26
  ```
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {
package/workflow.sh CHANGED
@@ -20,19 +20,27 @@ fi
20
20
  cd /root/drx-sdk || exit 1
21
21
 
22
22
  # Step 1: Reset and pull latest code
23
+ git pull
24
+ git push
25
+ git fetch
23
26
  git checkout master >> "$LOGFILE" 2>&1
24
27
  git reset --hard HEAD >> "$LOGFILE" 2>&1
25
28
  git pull origin master >> "$LOGFILE" 2>&1
26
29
 
27
30
  rm -rf apis models >> "$LOGFILE" 2>&1
28
-
31
+ rm deploy.log
29
32
  # Step 2: Generate SDK
33
+ [ -f .gitignore ] && cp .gitignore .gitignore.backup
34
+
30
35
  openapi-generator-cli generate \
31
36
  -i https://master-api.drxasia.com/swagger.json \
32
37
  -g typescript-axios \
33
38
  -o ./ \
34
39
  --auth "Authorization:Basic%20Z2FtYnVsbHM6OGQxbUZKcWJmZTVybVJ6" >> "$LOGFILE" 2>&1
35
40
 
41
+ # Restore .gitignore
42
+ [ -f .gitignore.backup ] && mv .gitignore.backup .gitignore
43
+
36
44
  if [ $? -ne 0 ]; then
37
45
  echo "❌ SDK generation failed at $(date)" >> "$LOGFILE"
38
46
  exit 1