@drxsuperapp/sdk 1.1.412 → 1.1.414

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.
@@ -222,4 +222,44 @@ export class CategoryManagementApi extends runtime.BaseAPI {
222
222
  return await response.value();
223
223
  }
224
224
 
225
+ /**
226
+ * Get All Categories (Public)
227
+ * Get All Categories (Public)
228
+ */
229
+ async apiPublicCategoryGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCategoryGet200Response>> {
230
+ const queryParameters: any = {};
231
+
232
+ const headerParameters: runtime.HTTPHeaders = {};
233
+
234
+ if (this.configuration && this.configuration.apiKey) {
235
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
236
+ }
237
+
238
+ if (this.configuration && this.configuration.accessToken) {
239
+ const token = this.configuration.accessToken;
240
+ const tokenString = await token("BearerAuth", []);
241
+
242
+ if (tokenString) {
243
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
244
+ }
245
+ }
246
+ const response = await this.request({
247
+ path: `/api/public/category`,
248
+ method: 'GET',
249
+ headers: headerParameters,
250
+ query: queryParameters,
251
+ }, initOverrides);
252
+
253
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiCategoryGet200ResponseFromJSON(jsonValue));
254
+ }
255
+
256
+ /**
257
+ * Get All Categories (Public)
258
+ * Get All Categories (Public)
259
+ */
260
+ async apiPublicCategoryGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryGet200Response> {
261
+ const response = await this.apiPublicCategoryGetRaw(initOverrides);
262
+ return await response.value();
263
+ }
264
+
225
265
  }
package/deploy.log CHANGED
@@ -757,6 +757,7 @@
757
757
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/feature/{id}. Renamed to auto-generated operationId: apiFeatureIdDelete
758
758
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/category. Renamed to auto-generated operationId: apiCategoryGet
759
759
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: put /api/category. Renamed to auto-generated operationId: apiCategoryPut
760
+ [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/public/category. Renamed to auto-generated operationId: apiPublicCategoryGet
760
761
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: get /api/category/{id}. Renamed to auto-generated operationId: apiCategoryIdGet
761
762
  [main] WARN o.o.codegen.DefaultCodegen - Empty operationId found for path: delete /api/category/{id}. Renamed to auto-generated operationId: apiCategoryIdDelete
762
763
  [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/]
@@ -823,21 +824,20 @@
823
824
  # https://opencollective.com/openapi_generator/donate #
824
825
  ################################################################################
825
826
  ✅ SDK generated
826
- On branch master
827
- Your branch is up to date with 'origin/master'.
828
-
829
- nothing to commit, working tree clean
830
- Everything up-to-date
827
+ [master 6eb0af6] VPS: Generated API SDK
828
+ 1 file changed, 40 insertions(+)
829
+ To https://gitlab.com/drx-super/drx-sdk.git
830
+ 7bc20e6..6eb0af6 master -> master
831
831
  ✅ Changes committed and pushed
832
- v1.1.412
832
+ v1.1.414
833
833
  To https://gitlab.com/drx-super/drx-sdk.git
834
- a508531..4b5108d master -> master
834
+ 6eb0af6..41bfc22 master -> master
835
835
  ✅ Version bumped
836
836
 
837
- > @drxsuperapp/sdk@1.1.412 prepublishOnly
837
+ > @drxsuperapp/sdk@1.1.414 prepublishOnly
838
838
  > npm run build
839
839
 
840
840
 
841
- > @drxsuperapp/sdk@1.1.412 build
841
+ > @drxsuperapp/sdk@1.1.414 build
842
842
  > tsc
843
843
 
@@ -64,4 +64,14 @@ export declare class CategoryManagementApi extends runtime.BaseAPI {
64
64
  * Create or Update Category
65
65
  */
66
66
  apiCategoryPut(requestParameters?: ApiCategoryPutOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryPut200Response>;
67
+ /**
68
+ * Get All Categories (Public)
69
+ * Get All Categories (Public)
70
+ */
71
+ apiPublicCategoryGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiCategoryGet200Response>>;
72
+ /**
73
+ * Get All Categories (Public)
74
+ * Get All Categories (Public)
75
+ */
76
+ apiPublicCategoryGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiCategoryGet200Response>;
67
77
  }
@@ -157,4 +157,37 @@ export class CategoryManagementApi extends runtime.BaseAPI {
157
157
  const response = await this.apiCategoryPutRaw(requestParameters, initOverrides);
158
158
  return await response.value();
159
159
  }
160
+ /**
161
+ * Get All Categories (Public)
162
+ * Get All Categories (Public)
163
+ */
164
+ async apiPublicCategoryGetRaw(initOverrides) {
165
+ const queryParameters = {};
166
+ const headerParameters = {};
167
+ if (this.configuration && this.configuration.apiKey) {
168
+ headerParameters["x-api-key"] = await this.configuration.apiKey("x-api-key"); // ApiKeyAuth authentication
169
+ }
170
+ if (this.configuration && this.configuration.accessToken) {
171
+ const token = this.configuration.accessToken;
172
+ const tokenString = await token("BearerAuth", []);
173
+ if (tokenString) {
174
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
175
+ }
176
+ }
177
+ const response = await this.request({
178
+ path: `/api/public/category`,
179
+ method: 'GET',
180
+ headers: headerParameters,
181
+ query: queryParameters,
182
+ }, initOverrides);
183
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiCategoryGet200ResponseFromJSON(jsonValue));
184
+ }
185
+ /**
186
+ * Get All Categories (Public)
187
+ * Get All Categories (Public)
188
+ */
189
+ async apiPublicCategoryGet(initOverrides) {
190
+ const response = await this.apiPublicCategoryGetRaw(initOverrides);
191
+ return await response.value();
192
+ }
160
193
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.412",
3
+ "version": "1.1.414",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {