@ayasofyazilim/saas 0.0.37 → 0.0.38

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 (77) hide show
  1. package/AccountService/AccountServiceClient.ts +65 -65
  2. package/AccountService/index.ts +8 -8
  3. package/AccountService/schemas.gen.ts +5103 -5103
  4. package/AccountService/services.gen.ts +1452 -1452
  5. package/AccountService/types.gen.ts +9896 -9896
  6. package/AdministrationService/AdministrationServiceClient.ts +74 -74
  7. package/AdministrationService/index.ts +8 -8
  8. package/AdministrationService/schemas.gen.ts +5897 -5897
  9. package/AdministrationService/services.gen.ts +1332 -1332
  10. package/AdministrationService/types.gen.ts +9024 -9024
  11. package/BackerService/index.ts +8 -8
  12. package/BackerService/schemas.gen.ts +12444 -12444
  13. package/BackerService/services.gen.ts +866 -866
  14. package/CRMService/CRMServiceClient.ts +71 -71
  15. package/CRMService/core/ApiError.ts +20 -20
  16. package/CRMService/core/ApiRequestOptions.ts +12 -12
  17. package/CRMService/core/ApiResult.ts +6 -6
  18. package/CRMService/core/BaseHttpRequest.ts +9 -9
  19. package/CRMService/core/CancelablePromise.ts +125 -125
  20. package/CRMService/core/FetchHttpRequest.ts +21 -21
  21. package/CRMService/core/OpenAPI.ts +55 -55
  22. package/CRMService/core/request.ts +340 -340
  23. package/CRMService/index.ts +8 -8
  24. package/CRMService/schemas.gen.ts +15920 -15920
  25. package/CRMService/services.gen.ts +2052 -2052
  26. package/CRMService/types.gen.ts +4106 -4106
  27. package/ContractService/ContractServiceClient.ts +53 -53
  28. package/ContractService/core/ApiError.ts +20 -20
  29. package/ContractService/core/ApiRequestOptions.ts +12 -12
  30. package/ContractService/core/ApiResult.ts +6 -6
  31. package/ContractService/core/BaseHttpRequest.ts +9 -9
  32. package/ContractService/core/CancelablePromise.ts +125 -125
  33. package/ContractService/core/FetchHttpRequest.ts +21 -21
  34. package/ContractService/core/OpenAPI.ts +55 -55
  35. package/ContractService/core/request.ts +340 -340
  36. package/ContractService/index.ts +8 -8
  37. package/ContractService/schemas.gen.ts +10943 -10943
  38. package/ContractService/services.gen.ts +1720 -1720
  39. package/ContractService/types.gen.ts +3691 -3691
  40. package/FundraiserService/FundraiserServiceClient.ts +47 -47
  41. package/FundraiserService/core/ApiError.ts +20 -20
  42. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  43. package/FundraiserService/core/ApiResult.ts +6 -6
  44. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  45. package/FundraiserService/core/CancelablePromise.ts +125 -125
  46. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  47. package/FundraiserService/core/OpenAPI.ts +55 -55
  48. package/FundraiserService/core/request.ts +340 -340
  49. package/FundraiserService/schemas.gen.ts +11548 -11548
  50. package/IdentityService/IdentityServiceClient.ts +77 -77
  51. package/IdentityService/index.ts +8 -8
  52. package/IdentityService/schemas.gen.ts +6573 -6573
  53. package/IdentityService/services.gen.ts +2839 -2839
  54. package/IdentityService/types.gen.ts +17446 -17446
  55. package/ProjectService/index.ts +8 -8
  56. package/ProjectService/schemas.gen.ts +5147 -5147
  57. package/SaasService/index.ts +8 -8
  58. package/SaasService/schemas.gen.ts +5278 -5278
  59. package/SaasService/services.gen.ts +1325 -1325
  60. package/SaasService/types.gen.ts +9052 -9052
  61. package/SettingService/SettingServiceClient.ts +62 -62
  62. package/SettingService/index.ts +8 -8
  63. package/TravellerService/TravellerServiceClient.ts +56 -56
  64. package/TravellerService/core/ApiError.ts +20 -20
  65. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  66. package/TravellerService/core/ApiResult.ts +6 -6
  67. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  68. package/TravellerService/core/CancelablePromise.ts +125 -125
  69. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  70. package/TravellerService/core/OpenAPI.ts +55 -55
  71. package/TravellerService/core/request.ts +340 -340
  72. package/TravellerService/index.ts +8 -8
  73. package/TravellerService/schemas.gen.ts +6204 -7980
  74. package/TravellerService/services.gen.ts +695 -709
  75. package/TravellerService/types.gen.ts +1808 -1850
  76. package/generator.mjs +4 -8
  77. package/package.json +1 -1
package/generator.mjs CHANGED
@@ -47,36 +47,32 @@ var initial_api_list = [
47
47
  {
48
48
  input: "swagger-json/Setting",
49
49
  output: "Setting",
50
- port: 44335,
51
50
  dereference: true,
52
51
  },
53
52
  {
54
53
  input: "swagger-json/CRM",
55
54
  output: "CRM",
56
- port: 44335,
57
55
  dereference: true,
58
56
  },
59
57
  {
60
58
  input: "swagger-json/Contract",
61
59
  output: "Contract",
62
- port: 44335,
63
60
  dereference: true,
64
61
  },
65
62
  {
66
63
  input: "swagger-json/Traveller",
67
64
  output: "Traveller",
68
- port: 44335,
69
65
  dereference: true,
70
66
  },
71
67
  ];
72
68
 
73
69
  function clean_URL(url) {
74
- return url.replace(/\/\//g, "/").replace(/:\//g, "://");
70
+ return url.replace(/\/\//g,"/").replace(/:\//g,"://");
75
71
  }
76
72
 
77
73
  function getCircularReplacer() {
78
74
  const ancestors = [];
79
- return function (key, value) {
75
+ return function (key,value) {
80
76
  if (typeof value !== "object" || value === null) {
81
77
  return value;
82
78
  }
@@ -108,7 +104,7 @@ async function generateApi(api_list) {
108
104
  temp_swagger = `temp_${api.output}_swagger.json`;
109
105
  fs.writeFileSync(
110
106
  temp_swagger,
111
- JSON.stringify(swaggerText, getCircularReplacer()),
107
+ JSON.stringify(swaggerText,getCircularReplacer()),
112
108
  );
113
109
 
114
110
  await createClient({
@@ -153,7 +149,7 @@ async function generateApi(api_list) {
153
149
  const args = process.argv.filter((val) => val.startsWith("--"));
154
150
  const isAll = args.filter((val) => val === "--all").length > 0;
155
151
  const hasFilter = args.filter((val) => val.startsWith("--filter")).length > 0;
156
- const knownArgs = ["--all", "--filter"];
152
+ const knownArgs = ["--all","--filter"];
157
153
  const unknownArgs = args.filter(
158
154
  (val) =>
159
155
  !knownArgs.includes(val) && !knownArgs.includes(val.split("=").at(0)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "main": "generator.mjs",
6
6
  "bin": {