@ayasofyazilim/saas 0.0.18 → 0.0.20

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.
@@ -1,50 +1,47 @@
1
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
- import type { OpenAPIConfig } from './core/OpenAPI';
3
- import { Interceptors } from './core/OpenAPI';
4
- import { FetchHttpRequest } from './core/FetchHttpRequest';
5
-
6
- import { AbpApiDefinitionService } from './services.gen';
7
- import { AbpApplicationConfigurationService } from './services.gen';
8
- import { AbpApplicationLocalizationService } from './services.gen';
9
- import { ProjectService } from './services.gen';
10
- import { ProjectSectionService } from './services.gen';
11
- import { ProjectSectionRelationService } from './services.gen';
12
-
13
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
14
-
15
- export class ProjectServiceClient {
16
-
17
- public readonly abpApiDefinition: AbpApiDefinitionService;
18
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
19
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
20
- public readonly project: ProjectService;
21
- public readonly projectSection: ProjectSectionService;
22
- public readonly projectSectionRelation: ProjectSectionRelationService;
23
-
24
- public readonly request: BaseHttpRequest;
25
-
26
- constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
27
- this.request = new HttpRequest({
28
- BASE: config?.BASE ?? '',
29
- VERSION: config?.VERSION ?? '1',
30
- WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
31
- CREDENTIALS: config?.CREDENTIALS ?? 'include',
32
- TOKEN: config?.TOKEN,
33
- USERNAME: config?.USERNAME,
34
- PASSWORD: config?.PASSWORD,
35
- HEADERS: config?.HEADERS,
36
- ENCODE_PATH: config?.ENCODE_PATH,
37
- interceptors: {
38
- request: config?.interceptors?.request ?? new Interceptors(),
39
- response: config?.interceptors?.response ?? new Interceptors(),
40
- },
41
- });
42
-
43
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
44
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
45
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
46
- this.project = new ProjectService(this.request);
47
- this.projectSection = new ProjectSectionService(this.request);
48
- this.projectSectionRelation = new ProjectSectionRelationService(this.request);
49
- }
50
- }
1
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
2
+ import type { OpenAPIConfig } from './core/OpenAPI';
3
+ import { Interceptors } from './core/OpenAPI';
4
+ import { FetchHttpRequest } from './core/FetchHttpRequest';
5
+
6
+ import { AbpApiDefinitionService } from './services.gen';
7
+ import { AbpApplicationConfigurationService } from './services.gen';
8
+ import { AbpApplicationLocalizationService } from './services.gen';
9
+ import { ProjectService } from './services.gen';
10
+ import { ProjectPublicService } from './services.gen';
11
+
12
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
13
+
14
+ export class ProjectServiceClient {
15
+
16
+ public readonly abpApiDefinition: AbpApiDefinitionService;
17
+ public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
18
+ public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
19
+ public readonly project: ProjectService;
20
+ public readonly projectPublic: ProjectPublicService;
21
+
22
+ public readonly request: BaseHttpRequest;
23
+
24
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
25
+ this.request = new HttpRequest({
26
+ BASE: config?.BASE ?? '',
27
+ VERSION: config?.VERSION ?? '1',
28
+ WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
29
+ CREDENTIALS: config?.CREDENTIALS ?? 'include',
30
+ TOKEN: config?.TOKEN,
31
+ USERNAME: config?.USERNAME,
32
+ PASSWORD: config?.PASSWORD,
33
+ HEADERS: config?.HEADERS,
34
+ ENCODE_PATH: config?.ENCODE_PATH,
35
+ interceptors: {
36
+ request: config?.interceptors?.request ?? new Interceptors(),
37
+ response: config?.interceptors?.response ?? new Interceptors(),
38
+ },
39
+ });
40
+
41
+ this.abpApiDefinition = new AbpApiDefinitionService(this.request);
42
+ this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
43
+ this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
44
+ this.project = new ProjectService(this.request);
45
+ this.projectPublic = new ProjectPublicService(this.request);
46
+ }
47
+ }
@@ -1,44 +1,8 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
- export const $UpwithCrowd_ProjectService_ProjectSectionRelations_CreateUpdateProjectSectionRelationDto = {
3
+ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto = {
4
4
  type: 'object',
5
5
  properties: {
6
- id: {
7
- type: 'string',
8
- format: 'uuid'
9
- },
10
- creationTime: {
11
- type: 'string',
12
- format: 'date-time'
13
- },
14
- creatorId: {
15
- type: 'string',
16
- format: 'uuid',
17
- nullable: true
18
- },
19
- lastModificationTime: {
20
- type: 'string',
21
- format: 'date-time',
22
- nullable: true
23
- },
24
- lastModifierId: {
25
- type: 'string',
26
- format: 'uuid',
27
- nullable: true
28
- },
29
- isDeleted: {
30
- type: 'boolean'
31
- },
32
- deleterId: {
33
- type: 'string',
34
- format: 'uuid',
35
- nullable: true
36
- },
37
- deletionTime: {
38
- type: 'string',
39
- format: 'date-time',
40
- nullable: true
41
- },
42
6
  projectId: {
43
7
  type: 'string',
44
8
  format: 'uuid'
@@ -149,44 +113,39 @@ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionR
149
113
  additionalProperties: false
150
114
  } as const;
151
115
 
152
- export const $UpwithCrowd_ProjectService_ProjectSections_CreateUpdateProjectSectionDto = {
116
+ export const $UpwithCrowd_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto = {
153
117
  type: 'object',
154
118
  properties: {
155
119
  id: {
156
120
  type: 'string',
157
121
  format: 'uuid'
158
122
  },
159
- creationTime: {
160
- type: 'string',
161
- format: 'date-time'
162
- },
163
- creatorId: {
164
- type: 'string',
165
- format: 'uuid',
166
- nullable: true
167
- },
168
- lastModificationTime: {
123
+ projectId: {
169
124
  type: 'string',
170
- format: 'date-time',
171
- nullable: true
125
+ format: 'uuid'
172
126
  },
173
- lastModifierId: {
127
+ projectSectionId: {
174
128
  type: 'string',
175
- format: 'uuid',
176
- nullable: true
177
- },
178
- isDeleted: {
179
- type: 'boolean'
129
+ format: 'uuid'
180
130
  },
181
- deleterId: {
131
+ value: {
182
132
  type: 'string',
183
- format: 'uuid',
184
133
  nullable: true
185
134
  },
186
- deletionTime: {
135
+ order: {
136
+ type: 'integer',
137
+ format: 'int32'
138
+ }
139
+ },
140
+ additionalProperties: false
141
+ } as const;
142
+
143
+ export const $UpwithCrowd_ProjectService_ProjectSections_CreateProjectSectionDto = {
144
+ type: 'object',
145
+ properties: {
146
+ projectId: {
187
147
  type: 'string',
188
- format: 'date-time',
189
- nullable: true
148
+ format: 'uuid'
190
149
  },
191
150
  name: {
192
151
  type: 'string',
@@ -250,6 +209,35 @@ export const $UpwithCrowd_ProjectService_ProjectSections_ProjectSectionDto = {
250
209
  },
251
210
  isOptional: {
252
211
  type: 'boolean'
212
+ },
213
+ projectId: {
214
+ type: 'string',
215
+ format: 'uuid',
216
+ nullable: true
217
+ }
218
+ },
219
+ additionalProperties: false
220
+ } as const;
221
+
222
+ export const $UpwithCrowd_ProjectService_ProjectSections_UpdateProjectSectionDto = {
223
+ required: ['id'],
224
+ type: 'object',
225
+ properties: {
226
+ id: {
227
+ type: 'string',
228
+ format: 'uuid'
229
+ },
230
+ name: {
231
+ type: 'string',
232
+ nullable: true
233
+ },
234
+ isDefault: {
235
+ type: 'boolean',
236
+ nullable: true
237
+ },
238
+ isOptional: {
239
+ type: 'boolean',
240
+ nullable: true
253
241
  }
254
242
  },
255
243
  additionalProperties: false
@@ -348,6 +336,11 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDetailDto = {
348
336
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
349
337
  type: 'integer',
350
338
  format: 'int32'
339
+ },
340
+ type: {
341
+ enum: [0, 1, 2, 3],
342
+ type: 'integer',
343
+ format: 'int32'
351
344
  }
352
345
  },
353
346
  additionalProperties: false
@@ -480,17 +473,28 @@ export const $UpwithCrowd_ProjectService_Projects_ProjectDto = {
480
473
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
481
474
  type: 'integer',
482
475
  format: 'int32'
476
+ },
477
+ type: {
478
+ enum: [0, 1, 2, 3],
479
+ type: 'integer',
480
+ format: 'int32'
483
481
  }
484
482
  },
485
483
  additionalProperties: false
486
484
  } as const;
487
485
 
488
- export const $UpwithCrowd_ProjectService_Projects_ProjectStatusEnums = {
486
+ export const $UpwithCrowd_ProjectService_Projects_ProjectStatusCode = {
489
487
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
490
488
  type: 'integer',
491
489
  format: 'int32'
492
490
  } as const;
493
491
 
492
+ export const $UpwithCrowd_ProjectService_Projects_ProjectTypeCode = {
493
+ enum: [0, 1, 2, 3],
494
+ type: 'integer',
495
+ format: 'int32'
496
+ } as const;
497
+
494
498
  export const $UpwithCrowd_ProjectService_ProjectsDto_CreateProjectDto = {
495
499
  type: 'object',
496
500
  properties: {
@@ -547,6 +551,11 @@ export const $UpwithCrowd_ProjectService_ProjectsDto_CreateProjectDto = {
547
551
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
548
552
  type: 'integer',
549
553
  format: 'int32'
554
+ },
555
+ type: {
556
+ enum: [0, 1, 2, 3],
557
+ type: 'integer',
558
+ format: 'int32'
550
559
  }
551
560
  },
552
561
  additionalProperties: false
@@ -612,146 +621,11 @@ export const $UpwithCrowd_ProjectService_ProjectsDto_UpdateProjectDto = {
612
621
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
613
622
  type: 'integer',
614
623
  format: 'int32'
615
- }
616
- },
617
- additionalProperties: false
618
- } as const;
619
-
620
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto__UpwithCrowd_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
621
- type: 'object',
622
- properties: {
623
- items: {
624
- type: 'array',
625
- items: {
626
- type: 'object',
627
- properties: {
628
- id: {
629
- type: 'string',
630
- format: 'uuid'
631
- },
632
- creationTime: {
633
- type: 'string',
634
- format: 'date-time'
635
- },
636
- creatorId: {
637
- type: 'string',
638
- format: 'uuid',
639
- nullable: true
640
- },
641
- lastModificationTime: {
642
- type: 'string',
643
- format: 'date-time',
644
- nullable: true
645
- },
646
- lastModifierId: {
647
- type: 'string',
648
- format: 'uuid',
649
- nullable: true
650
- },
651
- isDeleted: {
652
- type: 'boolean'
653
- },
654
- deleterId: {
655
- type: 'string',
656
- format: 'uuid',
657
- nullable: true
658
- },
659
- deletionTime: {
660
- type: 'string',
661
- format: 'date-time',
662
- nullable: true
663
- },
664
- projectId: {
665
- type: 'string',
666
- format: 'uuid'
667
- },
668
- projectSectionId: {
669
- type: 'string',
670
- format: 'uuid'
671
- },
672
- value: {
673
- type: 'string',
674
- nullable: true
675
- },
676
- order: {
677
- type: 'integer',
678
- format: 'int32'
679
- }
680
- },
681
- additionalProperties: false
682
- },
683
- nullable: true
684
- },
685
- totalCount: {
686
- type: 'integer',
687
- format: 'int64'
688
- }
689
- },
690
- additionalProperties: false
691
- } as const;
692
-
693
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectService_ProjectSections_ProjectSectionDto__UpwithCrowd_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
694
- type: 'object',
695
- properties: {
696
- items: {
697
- type: 'array',
698
- items: {
699
- type: 'object',
700
- properties: {
701
- id: {
702
- type: 'string',
703
- format: 'uuid'
704
- },
705
- creationTime: {
706
- type: 'string',
707
- format: 'date-time'
708
- },
709
- creatorId: {
710
- type: 'string',
711
- format: 'uuid',
712
- nullable: true
713
- },
714
- lastModificationTime: {
715
- type: 'string',
716
- format: 'date-time',
717
- nullable: true
718
- },
719
- lastModifierId: {
720
- type: 'string',
721
- format: 'uuid',
722
- nullable: true
723
- },
724
- isDeleted: {
725
- type: 'boolean'
726
- },
727
- deleterId: {
728
- type: 'string',
729
- format: 'uuid',
730
- nullable: true
731
- },
732
- deletionTime: {
733
- type: 'string',
734
- format: 'date-time',
735
- nullable: true
736
- },
737
- name: {
738
- type: 'string',
739
- nullable: true
740
- },
741
- isDefault: {
742
- type: 'boolean'
743
- },
744
- isOptional: {
745
- type: 'boolean'
746
- }
747
- },
748
- additionalProperties: false
749
- },
750
- nullable: true
751
624
  },
752
- totalCount: {
625
+ type: {
626
+ enum: [0, 1, 2, 3],
753
627
  type: 'integer',
754
- format: 'int64'
628
+ format: 'int32'
755
629
  }
756
630
  },
757
631
  additionalProperties: false
@@ -852,6 +726,11 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UpwithCrowd_ProjectSer
852
726
  enum: [0, 1, 2, 3, 4, 5, 6, 7],
853
727
  type: 'integer',
854
728
  format: 'int32'
729
+ },
730
+ type: {
731
+ enum: [0, 1, 2, 3],
732
+ type: 'integer',
733
+ format: 'int32'
855
734
  }
856
735
  },
857
736
  additionalProperties: false
@@ -941,10 +820,6 @@ export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfi
941
820
  type: 'string',
942
821
  nullable: true,
943
822
  readOnly: true
944
- },
945
- flagIcon: {
946
- type: 'string',
947
- nullable: true
948
823
  }
949
824
  },
950
825
  additionalProperties: false
@@ -1164,6 +1039,10 @@ export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfi
1164
1039
  type: 'string'
1165
1040
  },
1166
1041
  nullable: true
1042
+ },
1043
+ sessionId: {
1044
+ type: 'string',
1045
+ nullable: true
1167
1046
  }
1168
1047
  },
1169
1048
  additionalProperties: false
@@ -1580,10 +1459,6 @@ export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocal
1580
1459
  type: 'string',
1581
1460
  nullable: true,
1582
1461
  readOnly: true
1583
- },
1584
- flagIcon: {
1585
- type: 'string',
1586
- nullable: true
1587
1462
  }
1588
1463
  },
1589
1464
  additionalProperties: false
@@ -1737,6 +1612,77 @@ export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocal
1737
1612
  additionalProperties: false
1738
1613
  },
1739
1614
  nullable: true
1615
+ },
1616
+ currentCulture: {
1617
+ type: 'object',
1618
+ properties: {
1619
+ displayName: {
1620
+ type: 'string',
1621
+ nullable: true
1622
+ },
1623
+ englishName: {
1624
+ type: 'string',
1625
+ nullable: true
1626
+ },
1627
+ threeLetterIsoLanguageName: {
1628
+ type: 'string',
1629
+ nullable: true
1630
+ },
1631
+ twoLetterIsoLanguageName: {
1632
+ type: 'string',
1633
+ nullable: true
1634
+ },
1635
+ isRightToLeft: {
1636
+ type: 'boolean'
1637
+ },
1638
+ cultureName: {
1639
+ type: 'string',
1640
+ nullable: true
1641
+ },
1642
+ name: {
1643
+ type: 'string',
1644
+ nullable: true
1645
+ },
1646
+ nativeName: {
1647
+ type: 'string',
1648
+ nullable: true
1649
+ },
1650
+ dateTimeFormat: {
1651
+ type: 'object',
1652
+ properties: {
1653
+ calendarAlgorithmType: {
1654
+ type: 'string',
1655
+ nullable: true
1656
+ },
1657
+ dateTimeFormatLong: {
1658
+ type: 'string',
1659
+ nullable: true
1660
+ },
1661
+ shortDatePattern: {
1662
+ type: 'string',
1663
+ nullable: true
1664
+ },
1665
+ fullDateTimePattern: {
1666
+ type: 'string',
1667
+ nullable: true
1668
+ },
1669
+ dateSeparator: {
1670
+ type: 'string',
1671
+ nullable: true
1672
+ },
1673
+ shortTimePattern: {
1674
+ type: 'string',
1675
+ nullable: true
1676
+ },
1677
+ longTimePattern: {
1678
+ type: 'string',
1679
+ nullable: true
1680
+ }
1681
+ },
1682
+ additionalProperties: false
1683
+ }
1684
+ },
1685
+ additionalProperties: false
1740
1686
  }
1741
1687
  },
1742
1688
  additionalProperties: false
@@ -1927,6 +1873,10 @@ export const $Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto =
1927
1873
  type: 'string'
1928
1874
  },
1929
1875
  nullable: true
1876
+ },
1877
+ sessionId: {
1878
+ type: 'string',
1879
+ nullable: true
1930
1880
  }
1931
1881
  },
1932
1882
  additionalProperties: false
@@ -4522,10 +4472,6 @@ export const $Volo_Abp_Localization_LanguageInfo = {
4522
4472
  type: 'string',
4523
4473
  nullable: true,
4524
4474
  readOnly: true
4525
- },
4526
- flagIcon: {
4527
- type: 'string',
4528
- nullable: true
4529
4475
  }
4530
4476
  },
4531
4477
  additionalProperties: false