tuix-subscription-service-client 0.0.1 → 0.0.3

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.
Files changed (54) hide show
  1. package/.openapi-generator/FILES +22 -0
  2. package/apis/ClientApi.js +262 -0
  3. package/apis/ClientApi.js.map +1 -1
  4. package/apis/ClientApi.ts +431 -0
  5. package/docs/APIKeyDTO.md +40 -0
  6. package/docs/AccountDTO.md +34 -0
  7. package/docs/ApplicationDTO.md +42 -0
  8. package/docs/ApplicationWithApplicationCountDTO.md +44 -0
  9. package/docs/ClientApi.md +655 -0
  10. package/docs/CreateAPIKeyRequestDTO.md +34 -0
  11. package/docs/CreateAPIKeyResponseDTO.md +42 -0
  12. package/docs/CreateAccountDTO.md +36 -0
  13. package/docs/CreateApplicationDTO.md +36 -0
  14. package/docs/GetAPIKeysResponseDTO.md +42 -0
  15. package/docs/PaginatedApplicationsDTO.md +42 -0
  16. package/docs/UpdateApplicationDTO.md +36 -0
  17. package/models/APIKeyDTO.js +55 -0
  18. package/models/APIKeyDTO.js.map +1 -0
  19. package/models/APIKeyDTO.ts +89 -0
  20. package/models/AccountDTO.js +49 -0
  21. package/models/AccountDTO.js.map +1 -0
  22. package/models/AccountDTO.ts +65 -0
  23. package/models/ApplicationDTO.js +57 -0
  24. package/models/ApplicationDTO.js.map +1 -0
  25. package/models/ApplicationDTO.ts +97 -0
  26. package/models/ApplicationWithApplicationCountDTO.js +59 -0
  27. package/models/ApplicationWithApplicationCountDTO.js.map +1 -0
  28. package/models/ApplicationWithApplicationCountDTO.ts +105 -0
  29. package/models/CreateAPIKeyRequestDTO.js +51 -0
  30. package/models/CreateAPIKeyRequestDTO.js.map +1 -0
  31. package/models/CreateAPIKeyRequestDTO.ts +66 -0
  32. package/models/CreateAPIKeyResponseDTO.js +57 -0
  33. package/models/CreateAPIKeyResponseDTO.js.map +1 -0
  34. package/models/CreateAPIKeyResponseDTO.ts +97 -0
  35. package/models/CreateAccountDTO.js +55 -0
  36. package/models/CreateAccountDTO.js.map +1 -0
  37. package/models/CreateAccountDTO.ts +75 -0
  38. package/models/CreateApplicationDTO.js +55 -0
  39. package/models/CreateApplicationDTO.js.map +1 -0
  40. package/models/CreateApplicationDTO.ts +75 -0
  41. package/models/GetAPIKeysResponseDTO.js +58 -0
  42. package/models/GetAPIKeysResponseDTO.js.map +1 -0
  43. package/models/GetAPIKeysResponseDTO.ts +105 -0
  44. package/models/PaginatedApplicationsDTO.js +68 -0
  45. package/models/PaginatedApplicationsDTO.js.map +1 -0
  46. package/models/PaginatedApplicationsDTO.ts +110 -0
  47. package/models/UpdateApplicationDTO.js +51 -0
  48. package/models/UpdateApplicationDTO.js.map +1 -0
  49. package/models/UpdateApplicationDTO.ts +73 -0
  50. package/models/index.js +11 -0
  51. package/models/index.js.map +1 -1
  52. package/models/index.ts +11 -0
  53. package/package.json +1 -1
  54. package/tsconfig.build.tsbuildinfo +1 -1
package/apis/ClientApi.ts CHANGED
@@ -15,42 +15,308 @@
15
15
 
16
16
  import * as runtime from '../runtime';
17
17
  import type {
18
+ AccountDTO,
19
+ ApplicationDTO,
20
+ CreateAPIKeyRequestDTO,
21
+ CreateAPIKeyResponseDTO,
22
+ CreateAccountDTO,
23
+ CreateApplicationDTO,
18
24
  CreateSubscriptionDTO,
19
25
  ErrorDTO,
26
+ GetAPIKeysResponseDTO,
27
+ PaginatedApplicationsDTO,
20
28
  SendNewsletterDTO,
21
29
  SubscriptionDTO,
22
30
  SubscriptionsSentResponseDTO,
31
+ UpdateApplicationDTO,
23
32
  } from '../models/index';
24
33
  import {
34
+ AccountDTOFromJSON,
35
+ AccountDTOToJSON,
36
+ ApplicationDTOFromJSON,
37
+ ApplicationDTOToJSON,
38
+ CreateAPIKeyRequestDTOFromJSON,
39
+ CreateAPIKeyRequestDTOToJSON,
40
+ CreateAPIKeyResponseDTOFromJSON,
41
+ CreateAPIKeyResponseDTOToJSON,
42
+ CreateAccountDTOFromJSON,
43
+ CreateAccountDTOToJSON,
44
+ CreateApplicationDTOFromJSON,
45
+ CreateApplicationDTOToJSON,
25
46
  CreateSubscriptionDTOFromJSON,
26
47
  CreateSubscriptionDTOToJSON,
27
48
  ErrorDTOFromJSON,
28
49
  ErrorDTOToJSON,
50
+ GetAPIKeysResponseDTOFromJSON,
51
+ GetAPIKeysResponseDTOToJSON,
52
+ PaginatedApplicationsDTOFromJSON,
53
+ PaginatedApplicationsDTOToJSON,
29
54
  SendNewsletterDTOFromJSON,
30
55
  SendNewsletterDTOToJSON,
31
56
  SubscriptionDTOFromJSON,
32
57
  SubscriptionDTOToJSON,
33
58
  SubscriptionsSentResponseDTOFromJSON,
34
59
  SubscriptionsSentResponseDTOToJSON,
60
+ UpdateApplicationDTOFromJSON,
61
+ UpdateApplicationDTOToJSON,
35
62
  } from '../models/index';
36
63
 
64
+ export interface ApiKeysGetRequest {
65
+ page?: number;
66
+ pageSize?: number;
67
+ }
68
+
69
+ export interface ApiKeysIdDeleteRequest {
70
+ id: string;
71
+ }
72
+
73
+ export interface ApiKeysPostRequest {
74
+ createAPIKeyRequestDTO: CreateAPIKeyRequestDTO;
75
+ }
76
+
77
+ export interface CreateAccountRequest {
78
+ createAccountDTO: CreateAccountDTO;
79
+ }
80
+
81
+ export interface CreateApplicationRequest {
82
+ createApplicationDTO: CreateApplicationDTO;
83
+ }
84
+
37
85
  export interface CreateSubscriptionRequest {
38
86
  createSubscriptionDTO: CreateSubscriptionDTO;
39
87
  }
40
88
 
89
+ export interface DeleteApplicationRequest {
90
+ applicationId: string;
91
+ }
92
+
41
93
  export interface DeleteSubscriptionRequest {
42
94
  id: string;
43
95
  }
44
96
 
97
+ export interface GetApplicationByIDRequest {
98
+ applicationId: string;
99
+ }
100
+
101
+ export interface GetApplicationsRequest {
102
+ page?: number;
103
+ pageSize?: number;
104
+ }
105
+
45
106
  export interface SendNewsletterRequest {
46
107
  sendNewsletterDTO: SendNewsletterDTO;
47
108
  }
48
109
 
110
+ export interface UpdateApplicationRequest {
111
+ applicationId: string;
112
+ updateApplicationDTO: UpdateApplicationDTO;
113
+ }
114
+
49
115
  /**
50
116
  *
51
117
  */
52
118
  export class ClientApi extends runtime.BaseAPI {
53
119
 
120
+ /**
121
+ * Retrieve all API keys associated with the authenticated user\'s account with pagination.
122
+ * Get all API keys for the authenticated user
123
+ */
124
+ async apiKeysGetRaw(requestParameters: ApiKeysGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAPIKeysResponseDTO>> {
125
+ const queryParameters: any = {};
126
+
127
+ if (requestParameters['page'] != null) {
128
+ queryParameters['page'] = requestParameters['page'];
129
+ }
130
+
131
+ if (requestParameters['pageSize'] != null) {
132
+ queryParameters['page_size'] = requestParameters['pageSize'];
133
+ }
134
+
135
+ const headerParameters: runtime.HTTPHeaders = {};
136
+
137
+
138
+ let urlPath = `/api-keys`;
139
+
140
+ const response = await this.request({
141
+ path: urlPath,
142
+ method: 'GET',
143
+ headers: headerParameters,
144
+ query: queryParameters,
145
+ }, initOverrides);
146
+
147
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetAPIKeysResponseDTOFromJSON(jsonValue));
148
+ }
149
+
150
+ /**
151
+ * Retrieve all API keys associated with the authenticated user\'s account with pagination.
152
+ * Get all API keys for the authenticated user
153
+ */
154
+ async apiKeysGet(requestParameters: ApiKeysGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAPIKeysResponseDTO> {
155
+ const response = await this.apiKeysGetRaw(requestParameters, initOverrides);
156
+ return await response.value();
157
+ }
158
+
159
+ /**
160
+ * Delete a specific API key belonging to the authenticated user.
161
+ * Delete an API key
162
+ */
163
+ async apiKeysIdDeleteRaw(requestParameters: ApiKeysIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
164
+ if (requestParameters['id'] == null) {
165
+ throw new runtime.RequiredError(
166
+ 'id',
167
+ 'Required parameter "id" was null or undefined when calling apiKeysIdDelete().'
168
+ );
169
+ }
170
+
171
+ const queryParameters: any = {};
172
+
173
+ const headerParameters: runtime.HTTPHeaders = {};
174
+
175
+
176
+ let urlPath = `/api-keys/{id}`;
177
+ urlPath = urlPath.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id'])));
178
+
179
+ const response = await this.request({
180
+ path: urlPath,
181
+ method: 'DELETE',
182
+ headers: headerParameters,
183
+ query: queryParameters,
184
+ }, initOverrides);
185
+
186
+ return new runtime.VoidApiResponse(response);
187
+ }
188
+
189
+ /**
190
+ * Delete a specific API key belonging to the authenticated user.
191
+ * Delete an API key
192
+ */
193
+ async apiKeysIdDelete(requestParameters: ApiKeysIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
194
+ await this.apiKeysIdDeleteRaw(requestParameters, initOverrides);
195
+ }
196
+
197
+ /**
198
+ * Create a new API key for accessing the RAG service.
199
+ * Create a new API key
200
+ */
201
+ async apiKeysPostRaw(requestParameters: ApiKeysPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAPIKeyResponseDTO>> {
202
+ if (requestParameters['createAPIKeyRequestDTO'] == null) {
203
+ throw new runtime.RequiredError(
204
+ 'createAPIKeyRequestDTO',
205
+ 'Required parameter "createAPIKeyRequestDTO" was null or undefined when calling apiKeysPost().'
206
+ );
207
+ }
208
+
209
+ const queryParameters: any = {};
210
+
211
+ const headerParameters: runtime.HTTPHeaders = {};
212
+
213
+ headerParameters['Content-Type'] = 'application/json';
214
+
215
+
216
+ let urlPath = `/api-keys`;
217
+
218
+ const response = await this.request({
219
+ path: urlPath,
220
+ method: 'POST',
221
+ headers: headerParameters,
222
+ query: queryParameters,
223
+ body: CreateAPIKeyRequestDTOToJSON(requestParameters['createAPIKeyRequestDTO']),
224
+ }, initOverrides);
225
+
226
+ return new runtime.JSONApiResponse(response, (jsonValue) => CreateAPIKeyResponseDTOFromJSON(jsonValue));
227
+ }
228
+
229
+ /**
230
+ * Create a new API key for accessing the RAG service.
231
+ * Create a new API key
232
+ */
233
+ async apiKeysPost(requestParameters: ApiKeysPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAPIKeyResponseDTO> {
234
+ const response = await this.apiKeysPostRaw(requestParameters, initOverrides);
235
+ return await response.value();
236
+ }
237
+
238
+ /**
239
+ * Create an account
240
+ * Creates a new account
241
+ */
242
+ async createAccountRaw(requestParameters: CreateAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountDTO>> {
243
+ if (requestParameters['createAccountDTO'] == null) {
244
+ throw new runtime.RequiredError(
245
+ 'createAccountDTO',
246
+ 'Required parameter "createAccountDTO" was null or undefined when calling createAccount().'
247
+ );
248
+ }
249
+
250
+ const queryParameters: any = {};
251
+
252
+ const headerParameters: runtime.HTTPHeaders = {};
253
+
254
+ headerParameters['Content-Type'] = 'application/json';
255
+
256
+
257
+ let urlPath = `/accounts`;
258
+
259
+ const response = await this.request({
260
+ path: urlPath,
261
+ method: 'POST',
262
+ headers: headerParameters,
263
+ query: queryParameters,
264
+ body: CreateAccountDTOToJSON(requestParameters['createAccountDTO']),
265
+ }, initOverrides);
266
+
267
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountDTOFromJSON(jsonValue));
268
+ }
269
+
270
+ /**
271
+ * Create an account
272
+ * Creates a new account
273
+ */
274
+ async createAccount(requestParameters: CreateAccountRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountDTO> {
275
+ const response = await this.createAccountRaw(requestParameters, initOverrides);
276
+ return await response.value();
277
+ }
278
+
279
+ /**
280
+ * Create a new application for the authenticated account
281
+ * Create a new application
282
+ */
283
+ async createApplicationRaw(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationDTO>> {
284
+ if (requestParameters['createApplicationDTO'] == null) {
285
+ throw new runtime.RequiredError(
286
+ 'createApplicationDTO',
287
+ 'Required parameter "createApplicationDTO" was null or undefined when calling createApplication().'
288
+ );
289
+ }
290
+
291
+ const queryParameters: any = {};
292
+
293
+ const headerParameters: runtime.HTTPHeaders = {};
294
+
295
+ headerParameters['Content-Type'] = 'application/json';
296
+
297
+
298
+ let urlPath = `/applications`;
299
+
300
+ const response = await this.request({
301
+ path: urlPath,
302
+ method: 'POST',
303
+ headers: headerParameters,
304
+ query: queryParameters,
305
+ body: CreateApplicationDTOToJSON(requestParameters['createApplicationDTO']),
306
+ }, initOverrides);
307
+
308
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationDTOFromJSON(jsonValue));
309
+ }
310
+
311
+ /**
312
+ * Create a new application for the authenticated account
313
+ * Create a new application
314
+ */
315
+ async createApplication(requestParameters: CreateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationDTO> {
316
+ const response = await this.createApplicationRaw(requestParameters, initOverrides);
317
+ return await response.value();
318
+ }
319
+
54
320
  /**
55
321
  * Create a new subscription
56
322
  * Create a new subscription
@@ -92,6 +358,44 @@ export class ClientApi extends runtime.BaseAPI {
92
358
  return await response.value();
93
359
  }
94
360
 
361
+ /**
362
+ * Delete an application belonging to the authenticated account
363
+ * Delete an application
364
+ */
365
+ async deleteApplicationRaw(requestParameters: DeleteApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
366
+ if (requestParameters['applicationId'] == null) {
367
+ throw new runtime.RequiredError(
368
+ 'applicationId',
369
+ 'Required parameter "applicationId" was null or undefined when calling deleteApplication().'
370
+ );
371
+ }
372
+
373
+ const queryParameters: any = {};
374
+
375
+ const headerParameters: runtime.HTTPHeaders = {};
376
+
377
+
378
+ let urlPath = `/applications/{applicationId}`;
379
+ urlPath = urlPath.replace(`{${"applicationId"}}`, encodeURIComponent(String(requestParameters['applicationId'])));
380
+
381
+ const response = await this.request({
382
+ path: urlPath,
383
+ method: 'DELETE',
384
+ headers: headerParameters,
385
+ query: queryParameters,
386
+ }, initOverrides);
387
+
388
+ return new runtime.VoidApiResponse(response);
389
+ }
390
+
391
+ /**
392
+ * Delete an application belonging to the authenticated account
393
+ * Delete an application
394
+ */
395
+ async deleteApplication(requestParameters: DeleteApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
396
+ await this.deleteApplicationRaw(requestParameters, initOverrides);
397
+ }
398
+
95
399
  /**
96
400
  * Delete a subscription
97
401
  * Delete a subscription
@@ -130,6 +434,84 @@ export class ClientApi extends runtime.BaseAPI {
130
434
  await this.deleteSubscriptionRaw(requestParameters, initOverrides);
131
435
  }
132
436
 
437
+ /**
438
+ * Get a specific application belonging to the authenticated account
439
+ * Get an application by applicationId
440
+ */
441
+ async getApplicationByIDRaw(requestParameters: GetApplicationByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationDTO>> {
442
+ if (requestParameters['applicationId'] == null) {
443
+ throw new runtime.RequiredError(
444
+ 'applicationId',
445
+ 'Required parameter "applicationId" was null or undefined when calling getApplicationByID().'
446
+ );
447
+ }
448
+
449
+ const queryParameters: any = {};
450
+
451
+ const headerParameters: runtime.HTTPHeaders = {};
452
+
453
+
454
+ let urlPath = `/applications/{applicationId}`;
455
+ urlPath = urlPath.replace(`{${"applicationId"}}`, encodeURIComponent(String(requestParameters['applicationId'])));
456
+
457
+ const response = await this.request({
458
+ path: urlPath,
459
+ method: 'GET',
460
+ headers: headerParameters,
461
+ query: queryParameters,
462
+ }, initOverrides);
463
+
464
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationDTOFromJSON(jsonValue));
465
+ }
466
+
467
+ /**
468
+ * Get a specific application belonging to the authenticated account
469
+ * Get an application by applicationId
470
+ */
471
+ async getApplicationByID(requestParameters: GetApplicationByIDRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationDTO> {
472
+ const response = await this.getApplicationByIDRaw(requestParameters, initOverrides);
473
+ return await response.value();
474
+ }
475
+
476
+ /**
477
+ * Get all applications belonging to the authenticated account
478
+ * Get all applications for the account
479
+ */
480
+ async getApplicationsRaw(requestParameters: GetApplicationsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedApplicationsDTO>> {
481
+ const queryParameters: any = {};
482
+
483
+ if (requestParameters['page'] != null) {
484
+ queryParameters['page'] = requestParameters['page'];
485
+ }
486
+
487
+ if (requestParameters['pageSize'] != null) {
488
+ queryParameters['pageSize'] = requestParameters['pageSize'];
489
+ }
490
+
491
+ const headerParameters: runtime.HTTPHeaders = {};
492
+
493
+
494
+ let urlPath = `/applications`;
495
+
496
+ const response = await this.request({
497
+ path: urlPath,
498
+ method: 'GET',
499
+ headers: headerParameters,
500
+ query: queryParameters,
501
+ }, initOverrides);
502
+
503
+ return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedApplicationsDTOFromJSON(jsonValue));
504
+ }
505
+
506
+ /**
507
+ * Get all applications belonging to the authenticated account
508
+ * Get all applications for the account
509
+ */
510
+ async getApplications(requestParameters: GetApplicationsRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedApplicationsDTO> {
511
+ const response = await this.getApplicationsRaw(requestParameters, initOverrides);
512
+ return await response.value();
513
+ }
514
+
133
515
  /**
134
516
  * Get all subscriptions
135
517
  * Get all subscriptions
@@ -202,4 +584,53 @@ export class ClientApi extends runtime.BaseAPI {
202
584
  return await response.value();
203
585
  }
204
586
 
587
+ /**
588
+ * Update an application belonging to the authenticated account
589
+ * Update an application
590
+ */
591
+ async updateApplicationRaw(requestParameters: UpdateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApplicationDTO>> {
592
+ if (requestParameters['applicationId'] == null) {
593
+ throw new runtime.RequiredError(
594
+ 'applicationId',
595
+ 'Required parameter "applicationId" was null or undefined when calling updateApplication().'
596
+ );
597
+ }
598
+
599
+ if (requestParameters['updateApplicationDTO'] == null) {
600
+ throw new runtime.RequiredError(
601
+ 'updateApplicationDTO',
602
+ 'Required parameter "updateApplicationDTO" was null or undefined when calling updateApplication().'
603
+ );
604
+ }
605
+
606
+ const queryParameters: any = {};
607
+
608
+ const headerParameters: runtime.HTTPHeaders = {};
609
+
610
+ headerParameters['Content-Type'] = 'application/json';
611
+
612
+
613
+ let urlPath = `/applications/{applicationId}`;
614
+ urlPath = urlPath.replace(`{${"applicationId"}}`, encodeURIComponent(String(requestParameters['applicationId'])));
615
+
616
+ const response = await this.request({
617
+ path: urlPath,
618
+ method: 'PATCH',
619
+ headers: headerParameters,
620
+ query: queryParameters,
621
+ body: UpdateApplicationDTOToJSON(requestParameters['updateApplicationDTO']),
622
+ }, initOverrides);
623
+
624
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApplicationDTOFromJSON(jsonValue));
625
+ }
626
+
627
+ /**
628
+ * Update an application belonging to the authenticated account
629
+ * Update an application
630
+ */
631
+ async updateApplication(requestParameters: UpdateApplicationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApplicationDTO> {
632
+ const response = await this.updateApplicationRaw(requestParameters, initOverrides);
633
+ return await response.value();
634
+ }
635
+
205
636
  }
@@ -0,0 +1,40 @@
1
+
2
+ # APIKeyDTO
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `apiKeyToDisplay` | string
10
+ `createdAt` | string
11
+ `id` | string
12
+ `name` | string
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import type { APIKeyDTO } from ''
18
+
19
+ // TODO: Update the object below with actual values
20
+ const example = {
21
+ "apiKeyToDisplay": null,
22
+ "createdAt": null,
23
+ "id": null,
24
+ "name": null,
25
+ } satisfies APIKeyDTO
26
+
27
+ console.log(example)
28
+
29
+ // Convert the instance to a JSON string
30
+ const exampleJSON: string = JSON.stringify(example)
31
+ console.log(exampleJSON)
32
+
33
+ // Parse the JSON string back to an object
34
+ const exampleParsed = JSON.parse(exampleJSON) as APIKeyDTO
35
+ console.log(exampleParsed)
36
+ ```
37
+
38
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
39
+
40
+
@@ -0,0 +1,34 @@
1
+
2
+ # AccountDTO
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { AccountDTO } from ''
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "id": null,
19
+ } satisfies AccountDTO
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as AccountDTO
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,42 @@
1
+
2
+ # ApplicationDTO
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `accountId` | string
10
+ `createdAt` | string
11
+ `description` | string
12
+ `id` | string
13
+ `name` | string
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { ApplicationDTO } from ''
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "accountId": null,
23
+ "createdAt": null,
24
+ "description": null,
25
+ "id": null,
26
+ "name": null,
27
+ } satisfies ApplicationDTO
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as ApplicationDTO
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,44 @@
1
+
2
+ # ApplicationWithApplicationCountDTO
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `accountId` | string
10
+ `createdAt` | string
11
+ `description` | string
12
+ `id` | string
13
+ `name` | string
14
+ `subscriptionCount` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { ApplicationWithApplicationCountDTO } from ''
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "accountId": null,
24
+ "createdAt": null,
25
+ "description": null,
26
+ "id": null,
27
+ "name": null,
28
+ "subscriptionCount": null,
29
+ } satisfies ApplicationWithApplicationCountDTO
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as ApplicationWithApplicationCountDTO
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+