@vrplatform/api 1.3.1-stage.2287 → 1.3.1-stage.2296

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 (171) hide show
  1. package/build/main/{services/api/client.js → client.js} +27 -44
  2. package/build/main/client.js.map +1 -0
  3. package/build/main/error.d.ts +22 -0
  4. package/build/main/{services/api/error.js → error.js} +8 -12
  5. package/build/main/error.js.map +1 -0
  6. package/build/main/generated/openapi-fetch.d.ts +224 -0
  7. package/build/main/generated/openapi-fetch.js +14 -0
  8. package/build/main/generated/openapi-fetch.js.map +1 -0
  9. package/build/{module/services/api → main}/generated/v1.d.ts +185 -1168
  10. package/build/main/{services/api/generated → generated}/v1.js.map +1 -1
  11. package/build/main/index.d.ts +6 -14
  12. package/build/main/index.js +3 -19
  13. package/build/main/index.js.map +1 -1
  14. package/build/main/tsconfig.main.tsbuildinfo +1 -1
  15. package/build/main/types.d.ts +61 -0
  16. package/build/main/types.js.map +1 -0
  17. package/build/module/client.js +66 -0
  18. package/build/module/client.js.map +1 -0
  19. package/build/module/error.d.ts +22 -0
  20. package/build/module/{services/api/error.js → error.js} +8 -12
  21. package/build/module/error.js.map +1 -0
  22. package/build/module/generated/openapi-fetch.d.ts +224 -0
  23. package/build/module/generated/openapi-fetch.js +2 -0
  24. package/build/module/generated/openapi-fetch.js.map +1 -0
  25. package/build/{main/services/api → module}/generated/v1.d.ts +185 -1168
  26. package/build/module/{services/api/generated → generated}/v1.js.map +1 -1
  27. package/build/module/index.d.ts +6 -14
  28. package/build/module/index.js +3 -6
  29. package/build/module/index.js.map +1 -1
  30. package/build/module/tsconfig.esm.tsbuildinfo +1 -1
  31. package/build/module/types.d.ts +61 -0
  32. package/build/module/types.js.map +1 -0
  33. package/package.json +7 -39
  34. package/src/client.ts +99 -0
  35. package/src/error.ts +71 -0
  36. package/src/generated/openapi-fetch.ts +433 -0
  37. package/src/{services/api/generated → generated}/v1.ts +185 -1168
  38. package/src/index.ts +7 -49
  39. package/src/types.ts +98 -0
  40. package/build/main/analytics/client.d.ts +0 -16
  41. package/build/main/analytics/client.js +0 -81
  42. package/build/main/analytics/client.js.map +0 -1
  43. package/build/main/analytics/index.d.ts +0 -2
  44. package/build/main/analytics/index.js +0 -19
  45. package/build/main/analytics/index.js.map +0 -1
  46. package/build/main/analytics/types.d.ts +0 -77
  47. package/build/main/analytics/types.js.map +0 -1
  48. package/build/main/service-client.d.ts +0 -15
  49. package/build/main/service-client.js +0 -90
  50. package/build/main/service-client.js.map +0 -1
  51. package/build/main/services/analytics/client.d.ts +0 -16
  52. package/build/main/services/analytics/client.js +0 -33
  53. package/build/main/services/analytics/client.js.map +0 -1
  54. package/build/main/services/analytics/generated/v1.d.ts +0 -359
  55. package/build/main/services/analytics/generated/v1.js.map +0 -1
  56. package/build/main/services/api/client.js.map +0 -1
  57. package/build/main/services/api/error.d.ts +0 -22
  58. package/build/main/services/api/error.js.map +0 -1
  59. package/build/main/services/api/generated/v1.js +0 -7
  60. package/build/main/services/api/index.d.ts +0 -6
  61. package/build/main/services/api/index.js +0 -20
  62. package/build/main/services/api/index.js.map +0 -1
  63. package/build/main/services/api/types.d.ts +0 -128
  64. package/build/main/services/api/types.js +0 -3
  65. package/build/main/services/api/types.js.map +0 -1
  66. package/build/main/services/cache/client.d.ts +0 -16
  67. package/build/main/services/cache/client.js +0 -33
  68. package/build/main/services/cache/client.js.map +0 -1
  69. package/build/main/services/cache/generated/v1.d.ts +0 -1009
  70. package/build/main/services/cache/generated/v1.js +0 -7
  71. package/build/main/services/cache/generated/v1.js.map +0 -1
  72. package/build/main/services/cache/index.d.ts +0 -2
  73. package/build/main/services/cache/index.js +0 -18
  74. package/build/main/services/cache/index.js.map +0 -1
  75. package/build/main/services/control-plane/client.d.ts +0 -17
  76. package/build/main/services/control-plane/client.js +0 -33
  77. package/build/main/services/control-plane/client.js.map +0 -1
  78. package/build/main/services/control-plane/generated/v1.d.ts +0 -2123
  79. package/build/main/services/control-plane/generated/v1.js +0 -7
  80. package/build/main/services/control-plane/generated/v1.js.map +0 -1
  81. package/build/main/services/control-plane/index.d.ts +0 -2
  82. package/build/main/services/control-plane/index.js +0 -18
  83. package/build/main/services/control-plane/index.js.map +0 -1
  84. package/build/main/services/ingest/client.d.ts +0 -16
  85. package/build/main/services/ingest/client.js +0 -33
  86. package/build/main/services/ingest/client.js.map +0 -1
  87. package/build/main/services/ingest/generated/v1.d.ts +0 -1920
  88. package/build/main/services/ingest/generated/v1.js +0 -7
  89. package/build/main/services/ingest/generated/v1.js.map +0 -1
  90. package/build/main/services/ingest/index.d.ts +0 -2
  91. package/build/main/services/ingest/index.js +0 -18
  92. package/build/main/services/ingest/index.js.map +0 -1
  93. package/build/module/analytics/client.d.ts +0 -16
  94. package/build/module/analytics/client.js +0 -39
  95. package/build/module/analytics/client.js.map +0 -1
  96. package/build/module/analytics/index.d.ts +0 -2
  97. package/build/module/analytics/index.js +0 -3
  98. package/build/module/analytics/index.js.map +0 -1
  99. package/build/module/analytics/types.d.ts +0 -77
  100. package/build/module/analytics/types.js.map +0 -1
  101. package/build/module/service-client.d.ts +0 -15
  102. package/build/module/service-client.js +0 -51
  103. package/build/module/service-client.js.map +0 -1
  104. package/build/module/services/analytics/client.d.ts +0 -16
  105. package/build/module/services/analytics/client.js +0 -24
  106. package/build/module/services/analytics/client.js.map +0 -1
  107. package/build/module/services/analytics/generated/v1.d.ts +0 -359
  108. package/build/module/services/analytics/generated/v1.js.map +0 -1
  109. package/build/module/services/api/client.js +0 -83
  110. package/build/module/services/api/client.js.map +0 -1
  111. package/build/module/services/api/error.d.ts +0 -22
  112. package/build/module/services/api/error.js.map +0 -1
  113. package/build/module/services/api/generated/v1.js +0 -6
  114. package/build/module/services/api/index.d.ts +0 -6
  115. package/build/module/services/api/index.js +0 -4
  116. package/build/module/services/api/index.js.map +0 -1
  117. package/build/module/services/api/types.d.ts +0 -128
  118. package/build/module/services/api/types.js +0 -2
  119. package/build/module/services/api/types.js.map +0 -1
  120. package/build/module/services/cache/client.d.ts +0 -16
  121. package/build/module/services/cache/client.js +0 -24
  122. package/build/module/services/cache/client.js.map +0 -1
  123. package/build/module/services/cache/generated/v1.d.ts +0 -1009
  124. package/build/module/services/cache/generated/v1.js +0 -6
  125. package/build/module/services/cache/generated/v1.js.map +0 -1
  126. package/build/module/services/cache/index.d.ts +0 -2
  127. package/build/module/services/cache/index.js +0 -2
  128. package/build/module/services/cache/index.js.map +0 -1
  129. package/build/module/services/control-plane/client.d.ts +0 -17
  130. package/build/module/services/control-plane/client.js +0 -24
  131. package/build/module/services/control-plane/client.js.map +0 -1
  132. package/build/module/services/control-plane/generated/v1.d.ts +0 -2123
  133. package/build/module/services/control-plane/generated/v1.js +0 -6
  134. package/build/module/services/control-plane/generated/v1.js.map +0 -1
  135. package/build/module/services/control-plane/index.d.ts +0 -2
  136. package/build/module/services/control-plane/index.js +0 -2
  137. package/build/module/services/control-plane/index.js.map +0 -1
  138. package/build/module/services/ingest/client.d.ts +0 -16
  139. package/build/module/services/ingest/client.js +0 -24
  140. package/build/module/services/ingest/client.js.map +0 -1
  141. package/build/module/services/ingest/generated/v1.d.ts +0 -1920
  142. package/build/module/services/ingest/generated/v1.js +0 -6
  143. package/build/module/services/ingest/generated/v1.js.map +0 -1
  144. package/build/module/services/ingest/index.d.ts +0 -2
  145. package/build/module/services/ingest/index.js +0 -2
  146. package/build/module/services/ingest/index.js.map +0 -1
  147. package/src/analytics/client.ts +0 -81
  148. package/src/analytics/index.ts +0 -2
  149. package/src/analytics/types.ts +0 -83
  150. package/src/service-client.ts +0 -80
  151. package/src/services/analytics/client.ts +0 -44
  152. package/src/services/analytics/generated/v1.ts +0 -360
  153. package/src/services/api/client.ts +0 -146
  154. package/src/services/api/error.ts +0 -82
  155. package/src/services/api/index.ts +0 -8
  156. package/src/services/api/types.ts +0 -212
  157. package/src/services/cache/client.ts +0 -44
  158. package/src/services/cache/generated/v1.ts +0 -1010
  159. package/src/services/cache/index.ts +0 -2
  160. package/src/services/control-plane/client.ts +0 -46
  161. package/src/services/control-plane/generated/v1.ts +0 -2124
  162. package/src/services/control-plane/index.ts +0 -2
  163. package/src/services/ingest/client.ts +0 -44
  164. package/src/services/ingest/generated/v1.ts +0 -1921
  165. package/src/services/ingest/index.ts +0 -2
  166. /package/build/main/{services/api/client.d.ts → client.d.ts} +0 -0
  167. /package/build/main/{services/analytics/generated → generated}/v1.js +0 -0
  168. /package/build/main/{analytics/types.js → types.js} +0 -0
  169. /package/build/module/{services/api/client.d.ts → client.d.ts} +0 -0
  170. /package/build/module/{services/analytics/generated → generated}/v1.js +0 -0
  171. /package/build/module/{analytics/types.js → types.js} +0 -0
@@ -278,23 +278,6 @@ export interface paths {
278
278
  patch?: never;
279
279
  trace?: never;
280
280
  };
281
- "/auth/embed/session": {
282
- parameters: {
283
- query?: never;
284
- header?: never;
285
- path?: never;
286
- cookie?: never;
287
- };
288
- get?: never;
289
- put?: never;
290
- /** @description Issue a short-lived embedded session for a provider user. */
291
- post: operations["postAuthEmbedSession"];
292
- delete?: never;
293
- options?: never;
294
- head?: never;
295
- patch?: never;
296
- trace?: never;
297
- };
298
281
  "/bank-accounts/batch": {
299
282
  parameters: {
300
283
  query?: never;
@@ -614,11 +597,10 @@ export interface paths {
614
597
  path?: never;
615
598
  cookie?: never;
616
599
  };
617
- /** @description Sync connection by uniqueRef and type */
618
- get: operations["syncConnection"];
600
+ get?: never;
619
601
  put?: never;
620
602
  /** @description Sync connection by uniqueRef and type */
621
- post: operations["syncConnectionPost"];
603
+ post: operations["syncConnection"];
622
604
  delete?: never;
623
605
  options?: never;
624
606
  head?: never;
@@ -1024,23 +1006,6 @@ export interface paths {
1024
1006
  patch?: never;
1025
1007
  trace?: never;
1026
1008
  };
1027
- "/internal/tenants/{tenantId}/database": {
1028
- parameters: {
1029
- query?: never;
1030
- header?: never;
1031
- path?: never;
1032
- cookie?: never;
1033
- };
1034
- /** @description Resolve the database routing key for a tenant. */
1035
- get: operations["getInternalTenantsByTenantIdDatabase"];
1036
- put?: never;
1037
- post?: never;
1038
- delete?: never;
1039
- options?: never;
1040
- head?: never;
1041
- patch?: never;
1042
- trace?: never;
1043
- };
1044
1009
  "/internal/transit": {
1045
1010
  parameters: {
1046
1011
  query?: never;
@@ -3050,41 +3015,6 @@ export interface paths {
3050
3015
  patch?: never;
3051
3016
  trace?: never;
3052
3017
  };
3053
- "/teams/{tenantId}/features": {
3054
- parameters: {
3055
- query?: never;
3056
- header?: never;
3057
- path?: never;
3058
- cookie?: never;
3059
- };
3060
- /** @description List feature flags for one team. */
3061
- get: operations["getTeamsByTenantIdFeatures"];
3062
- put?: never;
3063
- post?: never;
3064
- delete?: never;
3065
- options?: never;
3066
- head?: never;
3067
- patch?: never;
3068
- trace?: never;
3069
- };
3070
- "/teams/{tenantId}/features/{featureId}": {
3071
- parameters: {
3072
- query?: never;
3073
- header?: never;
3074
- path?: never;
3075
- cookie?: never;
3076
- };
3077
- /** @description Get one feature flag for one team. */
3078
- get: operations["getTeamsByTenantIdFeaturesByFeatureId"];
3079
- /** @description Set one feature flag for one team. */
3080
- put: operations["putTeamsByTenantIdFeaturesByFeatureId"];
3081
- post?: never;
3082
- delete?: never;
3083
- options?: never;
3084
- head?: never;
3085
- patch?: never;
3086
- trace?: never;
3087
- };
3088
3018
  "/transaction-attachments": {
3089
3019
  parameters: {
3090
3020
  query?: never;
@@ -3674,7 +3604,7 @@ export interface operations {
3674
3604
  path?: never;
3675
3605
  cookie?: never;
3676
3606
  };
3677
- requestBody: {
3607
+ requestBody?: {
3678
3608
  content: {
3679
3609
  "application/json": {
3680
3610
  name: string;
@@ -4178,7 +4108,7 @@ export interface operations {
4178
4108
  };
4179
4109
  cookie?: never;
4180
4110
  };
4181
- requestBody: {
4111
+ requestBody?: {
4182
4112
  content: {
4183
4113
  "application/json": {
4184
4114
  name?: string;
@@ -4387,7 +4317,7 @@ export interface operations {
4387
4317
  };
4388
4318
  cookie?: never;
4389
4319
  };
4390
- requestBody: {
4320
+ requestBody?: {
4391
4321
  content: {
4392
4322
  "application/json": Record<string, never>;
4393
4323
  };
@@ -4496,7 +4426,7 @@ export interface operations {
4496
4426
  };
4497
4427
  cookie?: never;
4498
4428
  };
4499
- requestBody: {
4429
+ requestBody?: {
4500
4430
  content: {
4501
4431
  "application/json": {
4502
4432
  startingBalanceDate?: string | null;
@@ -4883,7 +4813,7 @@ export interface operations {
4883
4813
  };
4884
4814
  cookie?: never;
4885
4815
  };
4886
- requestBody: {
4816
+ requestBody?: {
4887
4817
  content: {
4888
4818
  "application/json": {
4889
4819
  /** Format: uuid */
@@ -5083,7 +5013,7 @@ export interface operations {
5083
5013
  };
5084
5014
  cookie?: never;
5085
5015
  };
5086
- requestBody: {
5016
+ requestBody?: {
5087
5017
  content: {
5088
5018
  "application/json": {
5089
5019
  /** Format: uuid */
@@ -5282,7 +5212,7 @@ export interface operations {
5282
5212
  };
5283
5213
  cookie?: never;
5284
5214
  };
5285
- requestBody: {
5215
+ requestBody?: {
5286
5216
  content: {
5287
5217
  "application/json": Record<string, never>;
5288
5218
  };
@@ -6971,101 +6901,6 @@ export interface operations {
6971
6901
  };
6972
6902
  };
6973
6903
  };
6974
- postAuthEmbedSession: {
6975
- parameters: {
6976
- query?: never;
6977
- header?: never;
6978
- path?: never;
6979
- cookie?: never;
6980
- };
6981
- requestBody: {
6982
- content: {
6983
- "application/json": {
6984
- sub: string;
6985
- /** Format: uuid */
6986
- tenantId: string;
6987
- };
6988
- };
6989
- };
6990
- responses: {
6991
- /** @description Issued embedded session */
6992
- 200: {
6993
- headers: {
6994
- [name: string]: unknown;
6995
- };
6996
- content: {
6997
- "application/json": {
6998
- accessToken: string;
6999
- expiresAt: string;
7000
- /** Format: uuid */
7001
- tenantId: string;
7002
- /** Format: uuid */
7003
- userId: string;
7004
- };
7005
- };
7006
- };
7007
- /** @description Bad request */
7008
- 400: {
7009
- headers: {
7010
- [name: string]: unknown;
7011
- };
7012
- content: {
7013
- "application/json": {
7014
- code: string;
7015
- message: string;
7016
- };
7017
- };
7018
- };
7019
- /** @description Unauthorized */
7020
- 401: {
7021
- headers: {
7022
- [name: string]: unknown;
7023
- };
7024
- content: {
7025
- "application/json": {
7026
- code: string;
7027
- message: string;
7028
- };
7029
- };
7030
- };
7031
- /** @description Forbidden */
7032
- 403: {
7033
- headers: {
7034
- [name: string]: unknown;
7035
- };
7036
- content: {
7037
- "application/json": {
7038
- code: string;
7039
- message: string;
7040
- };
7041
- };
7042
- };
7043
- /** @description Not found */
7044
- 404: {
7045
- headers: {
7046
- [name: string]: unknown;
7047
- };
7048
- content: {
7049
- "application/json": {
7050
- code: string;
7051
- message: string;
7052
- };
7053
- };
7054
- };
7055
- /** @description Internal server error */
7056
- 500: {
7057
- headers: {
7058
- [name: string]: unknown;
7059
- };
7060
- content: {
7061
- "application/json": {
7062
- code: string;
7063
- message: string;
7064
- };
7065
- };
7066
- };
7067
- };
7068
- };
7069
6904
  batchBankAccounts: {
7070
6905
  parameters: {
7071
6906
  query?: never;
@@ -7073,7 +6908,7 @@ export interface operations {
7073
6908
  path?: never;
7074
6909
  cookie?: never;
7075
6910
  };
7076
- requestBody: {
6911
+ requestBody?: {
7077
6912
  content: {
7078
6913
  "application/json": {
7079
6914
  /** Format: uuid */
@@ -7212,7 +7047,7 @@ export interface operations {
7212
7047
  };
7213
7048
  cookie?: never;
7214
7049
  };
7215
- requestBody: {
7050
+ requestBody?: {
7216
7051
  content: {
7217
7052
  "application/json": {
7218
7053
  /** @enum {string} */
@@ -7651,7 +7486,7 @@ export interface operations {
7651
7486
  path?: never;
7652
7487
  cookie?: never;
7653
7488
  };
7654
- requestBody: {
7489
+ requestBody?: {
7655
7490
  content: {
7656
7491
  "application/json": {
7657
7492
  /** Format: uuid */
@@ -8189,7 +8024,7 @@ export interface operations {
8189
8024
  };
8190
8025
  cookie?: never;
8191
8026
  };
8192
- requestBody: {
8027
+ requestBody?: {
8193
8028
  content: {
8194
8029
  "application/json": {
8195
8030
  reconciledTransactionIds?: string[] | null;
@@ -8522,7 +8357,7 @@ export interface operations {
8522
8357
  path?: never;
8523
8358
  cookie?: never;
8524
8359
  };
8525
- requestBody: {
8360
+ requestBody?: {
8526
8361
  content: {
8527
8362
  "application/json": {
8528
8363
  name: string;
@@ -8774,7 +8609,7 @@ export interface operations {
8774
8609
  path?: never;
8775
8610
  cookie?: never;
8776
8611
  };
8777
- requestBody: {
8612
+ requestBody?: {
8778
8613
  content: {
8779
8614
  "application/json": {
8780
8615
  name: string;
@@ -9193,7 +9028,7 @@ export interface operations {
9193
9028
  };
9194
9029
  cookie?: never;
9195
9030
  };
9196
- requestBody: {
9031
+ requestBody?: {
9197
9032
  content: {
9198
9033
  "application/json": {
9199
9034
  name?: string;
@@ -9449,7 +9284,7 @@ export interface operations {
9449
9284
  };
9450
9285
  cookie?: never;
9451
9286
  };
9452
- requestBody: {
9287
+ requestBody?: {
9453
9288
  content: {
9454
9289
  "application/json": Record<string, never>;
9455
9290
  };
@@ -9558,7 +9393,7 @@ export interface operations {
9558
9393
  };
9559
9394
  cookie?: never;
9560
9395
  };
9561
- requestBody: {
9396
+ requestBody?: {
9562
9397
  content: {
9563
9398
  "application/json": {
9564
9399
  bankRecordIds: string[];
@@ -9961,7 +9796,7 @@ export interface operations {
9961
9796
  path?: never;
9962
9797
  cookie?: never;
9963
9798
  };
9964
- requestBody: {
9799
+ requestBody?: {
9965
9800
  content: {
9966
9801
  "application/json": {
9967
9802
  listingId: string;
@@ -10089,7 +9924,7 @@ export interface operations {
10089
9924
  path?: never;
10090
9925
  cookie?: never;
10091
9926
  };
10092
- requestBody: {
9927
+ requestBody?: {
10093
9928
  content: {
10094
9929
  "application/json": Record<string, never>;
10095
9930
  };
@@ -10360,7 +10195,7 @@ export interface operations {
10360
10195
  path?: never;
10361
10196
  cookie?: never;
10362
10197
  };
10363
- requestBody: {
10198
+ requestBody?: {
10364
10199
  content: {
10365
10200
  "application/json": {
10366
10201
  name?: string;
@@ -10503,7 +10338,7 @@ export interface operations {
10503
10338
  path?: never;
10504
10339
  cookie?: never;
10505
10340
  };
10506
- requestBody: {
10341
+ requestBody?: {
10507
10342
  content: {
10508
10343
  "application/json": {
10509
10344
  isInitial?: boolean;
@@ -10636,7 +10471,7 @@ export interface operations {
10636
10471
  path?: never;
10637
10472
  cookie?: never;
10638
10473
  };
10639
- requestBody: {
10474
+ requestBody?: {
10640
10475
  content: {
10641
10476
  "application/json": {
10642
10477
  appId: string;
@@ -10889,7 +10724,7 @@ export interface operations {
10889
10724
  };
10890
10725
  cookie?: never;
10891
10726
  };
10892
- requestBody: {
10727
+ requestBody?: {
10893
10728
  content: {
10894
10729
  "application/json": Record<string, never>;
10895
10730
  };
@@ -10990,149 +10825,6 @@ export interface operations {
10990
10825
  };
10991
10826
  };
10992
10827
  syncConnection: {
10993
- parameters: {
10994
- query: {
10995
- uniqueRef: string;
10996
- type: "reservation" | "listing" | "payout";
10997
- };
10998
- header?: never;
10999
- path: {
11000
- id: string;
11001
- };
11002
- cookie?: never;
11003
- };
11004
- requestBody?: never;
11005
- responses: {
11006
- /** @description Successful response */
11007
- 200: {
11008
- headers: {
11009
- [name: string]: unknown;
11010
- };
11011
- content: {
11012
- "application/json": ({
11013
- /** Format: uuid */
11014
- id: string;
11015
- /** @constant */
11016
- status: "completed";
11017
- message: string;
11018
- /** @constant */
11019
- type: "reservation";
11020
- /** Format: uuid */
11021
- reservationId: string;
11022
- } | {
11023
- /** Format: uuid */
11024
- id: string;
11025
- /** @constant */
11026
- status: "completed";
11027
- message: string;
11028
- /** @constant */
11029
- type: "listing";
11030
- /** Format: uuid */
11031
- listingId: string;
11032
- } | {
11033
- /** Format: uuid */
11034
- id: string;
11035
- /** @constant */
11036
- status: "completed";
11037
- message: string;
11038
- /** @constant */
11039
- type: "payout";
11040
- /** Format: uuid */
11041
- paymentId: string;
11042
- }) | {
11043
- /** Format: uuid */
11044
- id: string;
11045
- /** @constant */
11046
- status: "failed";
11047
- message: string;
11048
- /** @enum {string} */
11049
- type: "reservation" | "listing" | "payout";
11050
- };
11051
- };
11052
- };
11053
- /** @description Bad request */
11054
- 400: {
11055
- headers: {
11056
- [name: string]: unknown;
11057
- };
11058
- content: {
11059
- "application/json": {
11060
- code: string;
11061
- message: string;
11062
- issues?: {
11063
- message: string;
11064
- }[];
11065
- context?: unknown;
11066
- };
11067
- };
11068
- };
11069
- /** @description Unauthorized */
11070
- 401: {
11071
- headers: {
11072
- [name: string]: unknown;
11073
- };
11074
- content: {
11075
- "application/json": {
11076
- code: string;
11077
- message: string;
11078
- issues?: {
11079
- message: string;
11080
- }[];
11081
- context?: unknown;
11082
- };
11083
- };
11084
- };
11085
- /** @description Forbidden */
11086
- 403: {
11087
- headers: {
11088
- [name: string]: unknown;
11089
- };
11090
- content: {
11091
- "application/json": {
11092
- code: string;
11093
- message: string;
11094
- issues?: {
11095
- message: string;
11096
- }[];
11097
- context?: unknown;
11098
- };
11099
- };
11100
- };
11101
- /** @description Not found */
11102
- 404: {
11103
- headers: {
11104
- [name: string]: unknown;
11105
- };
11106
- content: {
11107
- "application/json": {
11108
- code: string;
11109
- message: string;
11110
- issues?: {
11111
- message: string;
11112
- }[];
11113
- context?: unknown;
11114
- };
11115
- };
11116
- };
11117
- /** @description Internal server error */
11118
- 500: {
11119
- headers: {
11120
- [name: string]: unknown;
11121
- };
11122
- content: {
11123
- "application/json": {
11124
- code: string;
11125
- message: string;
11126
- issues?: {
11127
- message: string;
11128
- }[];
11129
- context?: unknown;
11130
- };
11131
- };
11132
- };
11133
- };
11134
- };
11135
- syncConnectionPost: {
11136
10828
  parameters: {
11137
10829
  query?: never;
11138
10830
  header?: never;
@@ -11141,7 +10833,7 @@ export interface operations {
11141
10833
  };
11142
10834
  cookie?: never;
11143
10835
  };
11144
- requestBody: {
10836
+ requestBody?: {
11145
10837
  content: {
11146
10838
  "application/json": {
11147
10839
  uniqueRef: string;
@@ -11157,45 +10849,7 @@ export interface operations {
11157
10849
  [name: string]: unknown;
11158
10850
  };
11159
10851
  content: {
11160
- "application/json": (({
11161
- /** Format: uuid */
11162
- id: string;
11163
- /** @constant */
11164
- status: "completed";
11165
- message: string;
11166
- /** @constant */
11167
- type: "reservation";
11168
- /** Format: uuid */
11169
- reservationId: string;
11170
- } | {
11171
- /** Format: uuid */
11172
- id: string;
11173
- /** @constant */
11174
- status: "completed";
11175
- message: string;
11176
- /** @constant */
11177
- type: "listing";
11178
- /** Format: uuid */
11179
- listingId: string;
11180
- } | {
11181
- /** Format: uuid */
11182
- id: string;
11183
- /** @constant */
11184
- status: "completed";
11185
- message: string;
11186
- /** @constant */
11187
- type: "payout";
11188
- /** Format: uuid */
11189
- paymentId: string;
11190
- }) | {
11191
- /** Format: uuid */
11192
- id: string;
11193
- /** @constant */
11194
- status: "failed";
11195
- message: string;
11196
- /** @enum {string} */
11197
- type: "reservation" | "listing" | "payout";
11198
- }) | (({
10852
+ "application/json": ({
11199
10853
  /** Format: uuid */
11200
10854
  id: string;
11201
10855
  /** @constant */
@@ -11233,7 +10887,7 @@ export interface operations {
11233
10887
  message: string;
11234
10888
  /** @enum {string} */
11235
10889
  type: "reservation" | "listing" | "payout";
11236
- })[];
10890
+ };
11237
10891
  };
11238
10892
  };
11239
10893
  /** @description Bad request */
@@ -11496,7 +11150,7 @@ export interface operations {
11496
11150
  path?: never;
11497
11151
  cookie?: never;
11498
11152
  };
11499
- requestBody: {
11153
+ requestBody?: {
11500
11154
  content: {
11501
11155
  "application/json": {
11502
11156
  address?: {
@@ -11674,7 +11328,7 @@ export interface operations {
11674
11328
  path?: never;
11675
11329
  cookie?: never;
11676
11330
  };
11677
- requestBody: {
11331
+ requestBody?: {
11678
11332
  content: {
11679
11333
  "application/json": {
11680
11334
  /** Format: uuid */
@@ -12087,7 +11741,7 @@ export interface operations {
12087
11741
  };
12088
11742
  cookie?: never;
12089
11743
  };
12090
- requestBody: {
11744
+ requestBody?: {
12091
11745
  content: {
12092
11746
  "application/json": {
12093
11747
  address?: {
@@ -12269,7 +11923,7 @@ export interface operations {
12269
11923
  };
12270
11924
  cookie?: never;
12271
11925
  };
12272
- requestBody: {
11926
+ requestBody?: {
12273
11927
  content: {
12274
11928
  "application/json": Record<string, never>;
12275
11929
  };
@@ -12378,7 +12032,7 @@ export interface operations {
12378
12032
  };
12379
12033
  cookie?: never;
12380
12034
  };
12381
- requestBody: {
12035
+ requestBody?: {
12382
12036
  content: {
12383
12037
  "application/json": {
12384
12038
  /** @default true */
@@ -12489,7 +12143,7 @@ export interface operations {
12489
12143
  };
12490
12144
  cookie?: never;
12491
12145
  };
12492
- requestBody: {
12146
+ requestBody?: {
12493
12147
  content: {
12494
12148
  "application/json": Record<string, never>;
12495
12149
  };
@@ -12596,7 +12250,7 @@ export interface operations {
12596
12250
  path?: never;
12597
12251
  cookie?: never;
12598
12252
  };
12599
- requestBody: {
12253
+ requestBody?: {
12600
12254
  content: {
12601
12255
  "application/json": {
12602
12256
  fileData?: string;
@@ -13201,7 +12855,7 @@ export interface operations {
13201
12855
  };
13202
12856
  cookie?: never;
13203
12857
  };
13204
- requestBody: {
12858
+ requestBody?: {
13205
12859
  content: {
13206
12860
  "application/json": {
13207
12861
  /** @enum {string} */
@@ -13483,7 +13137,7 @@ export interface operations {
13483
13137
  };
13484
13138
  cookie?: never;
13485
13139
  };
13486
- requestBody: {
13140
+ requestBody?: {
13487
13141
  content: {
13488
13142
  "application/json": {
13489
13143
  /** Format: uuid */
@@ -14100,7 +13754,7 @@ export interface operations {
14100
13754
  };
14101
13755
  cookie?: never;
14102
13756
  };
14103
- requestBody: {
13757
+ requestBody?: {
14104
13758
  content: {
14105
13759
  "application/json": {
14106
13760
  value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
@@ -14466,7 +14120,7 @@ export interface operations {
14466
14120
  path?: never;
14467
14121
  cookie?: never;
14468
14122
  };
14469
- requestBody: {
14123
+ requestBody?: {
14470
14124
  content: {
14471
14125
  "application/json": {
14472
14126
  bookingChannelIds: string[];
@@ -14587,7 +14241,7 @@ export interface operations {
14587
14241
  path?: never;
14588
14242
  cookie?: never;
14589
14243
  };
14590
- requestBody: {
14244
+ requestBody?: {
14591
14245
  content: {
14592
14246
  "application/json": {
14593
14247
  /** Format: uuid */
@@ -14707,7 +14361,7 @@ export interface operations {
14707
14361
  path?: never;
14708
14362
  cookie?: never;
14709
14363
  };
14710
- requestBody: {
14364
+ requestBody?: {
14711
14365
  content: {
14712
14366
  "application/json": {
14713
14367
  uniqueRef: string;
@@ -15074,7 +14728,7 @@ export interface operations {
15074
14728
  };
15075
14729
  cookie?: never;
15076
14730
  };
15077
- requestBody: {
14731
+ requestBody?: {
15078
14732
  content: {
15079
14733
  "application/json": Record<string, never>;
15080
14734
  };
@@ -15191,7 +14845,7 @@ export interface operations {
15191
14845
  };
15192
14846
  cookie?: never;
15193
14847
  };
15194
- requestBody: {
14848
+ requestBody?: {
15195
14849
  content: {
15196
14850
  "application/json": {
15197
14851
  comment: string | null;
@@ -15314,7 +14968,7 @@ export interface operations {
15314
14968
  };
15315
14969
  cookie?: never;
15316
14970
  };
15317
- requestBody: {
14971
+ requestBody?: {
15318
14972
  content: {
15319
14973
  "application/json": {
15320
14974
  candidateId: string | null;
@@ -15423,114 +15077,6 @@ export interface operations {
15423
15077
  };
15424
15078
  };
15425
15079
  };
15426
- getInternalTenantsByTenantIdDatabase: {
15427
- parameters: {
15428
- query?: never;
15429
- header?: never;
15430
- path: {
15431
- tenantId: string;
15432
- };
15433
- cookie?: never;
15434
- };
15435
- requestBody?: never;
15436
- responses: {
15437
- /** @description Successful response */
15438
- 200: {
15439
- headers: {
15440
- [name: string]: unknown;
15441
- };
15442
- content: {
15443
- "application/json": {
15444
- /** @enum {string} */
15445
- dbKey: "us" | "eu" | "ap" | "crunchy";
15446
- /** @enum {string} */
15447
- dataRegion: "us" | "eu" | "ap";
15448
- ledgerPlaneKey: string;
15449
- };
15450
- };
15451
- };
15452
- /** @description Bad request */
15453
- 400: {
15454
- headers: {
15455
- [name: string]: unknown;
15456
- };
15457
- content: {
15458
- "application/json": {
15459
- code: string;
15460
- message: string;
15461
- issues?: {
15462
- message: string;
15463
- }[];
15464
- context?: unknown;
15465
- };
15466
- };
15467
- };
15468
- /** @description Unauthorized */
15469
- 401: {
15470
- headers: {
15471
- [name: string]: unknown;
15472
- };
15473
- content: {
15474
- "application/json": {
15475
- code: string;
15476
- message: string;
15477
- issues?: {
15478
- message: string;
15479
- }[];
15480
- context?: unknown;
15481
- };
15482
- };
15483
- };
15484
- /** @description Forbidden */
15485
- 403: {
15486
- headers: {
15487
- [name: string]: unknown;
15488
- };
15489
- content: {
15490
- "application/json": {
15491
- code: string;
15492
- message: string;
15493
- issues?: {
15494
- message: string;
15495
- }[];
15496
- context?: unknown;
15497
- };
15498
- };
15499
- };
15500
- /** @description Not found */
15501
- 404: {
15502
- headers: {
15503
- [name: string]: unknown;
15504
- };
15505
- content: {
15506
- "application/json": {
15507
- code: string;
15508
- message: string;
15509
- issues?: {
15510
- message: string;
15511
- }[];
15512
- context?: unknown;
15513
- };
15514
- };
15515
- };
15516
- /** @description Internal server error */
15517
- 500: {
15518
- headers: {
15519
- [name: string]: unknown;
15520
- };
15521
- content: {
15522
- "application/json": {
15523
- code: string;
15524
- message: string;
15525
- issues?: {
15526
- message: string;
15527
- }[];
15528
- context?: unknown;
15529
- };
15530
- };
15531
- };
15532
- };
15533
- };
15534
15080
  postInternalTransit: {
15535
15081
  parameters: {
15536
15082
  query: {
@@ -16184,7 +15730,7 @@ export interface operations {
16184
15730
  path?: never;
16185
15731
  cookie?: never;
16186
15732
  };
16187
- requestBody: {
15733
+ requestBody?: {
16188
15734
  content: {
16189
15735
  "application/json": {
16190
15736
  name?: string | null;
@@ -16440,7 +15986,7 @@ export interface operations {
16440
15986
  path?: never;
16441
15987
  cookie?: never;
16442
15988
  };
16443
- requestBody: {
15989
+ requestBody?: {
16444
15990
  content: {
16445
15991
  "application/json": {
16446
15992
  /** Format: uuid */
@@ -16982,7 +16528,7 @@ export interface operations {
16982
16528
  path?: never;
16983
16529
  cookie?: never;
16984
16530
  };
16985
- requestBody: {
16531
+ requestBody?: {
16986
16532
  content: {
16987
16533
  "application/json": {
16988
16534
  /** Format: uuid */
@@ -17233,7 +16779,7 @@ export interface operations {
17233
16779
  };
17234
16780
  cookie?: never;
17235
16781
  };
17236
- requestBody: {
16782
+ requestBody?: {
17237
16783
  content: {
17238
16784
  "application/json": {
17239
16785
  /** Format: uuid */
@@ -17370,7 +16916,7 @@ export interface operations {
17370
16916
  };
17371
16917
  cookie?: never;
17372
16918
  };
17373
- requestBody: {
16919
+ requestBody?: {
17374
16920
  content: {
17375
16921
  "application/json": Record<string, never>;
17376
16922
  };
@@ -17691,7 +17237,7 @@ export interface operations {
17691
17237
  };
17692
17238
  cookie?: never;
17693
17239
  };
17694
- requestBody: {
17240
+ requestBody?: {
17695
17241
  content: {
17696
17242
  "application/json": {
17697
17243
  name?: string | null;
@@ -17952,7 +17498,7 @@ export interface operations {
17952
17498
  };
17953
17499
  cookie?: never;
17954
17500
  };
17955
- requestBody: {
17501
+ requestBody?: {
17956
17502
  content: {
17957
17503
  "application/json": Record<string, never>;
17958
17504
  };
@@ -18171,7 +17717,7 @@ export interface operations {
18171
17717
  };
18172
17718
  cookie?: never;
18173
17719
  };
18174
- requestBody: {
17720
+ requestBody?: {
18175
17721
  content: {
18176
17722
  "application/json": {
18177
17723
  /** @description Value in cents (100 = 1€) */
@@ -20434,7 +19980,7 @@ export interface operations {
20434
19980
  path?: never;
20435
19981
  cookie?: never;
20436
19982
  };
20437
- requestBody: {
19983
+ requestBody?: {
20438
19984
  content: {
20439
19985
  "application/json": {
20440
19986
  connectionId: string;
@@ -20589,7 +20135,7 @@ export interface operations {
20589
20135
  path?: never;
20590
20136
  cookie?: never;
20591
20137
  };
20592
- requestBody: {
20138
+ requestBody?: {
20593
20139
  content: {
20594
20140
  "application/json": {
20595
20141
  connectionId?: string | null;
@@ -20701,7 +20247,7 @@ export interface operations {
20701
20247
  path?: never;
20702
20248
  cookie?: never;
20703
20249
  };
20704
- requestBody: {
20250
+ requestBody?: {
20705
20251
  content: {
20706
20252
  "application/json": {
20707
20253
  environment?: ("sandbox" | "production") | null;
@@ -21151,7 +20697,7 @@ export interface operations {
21151
20697
  path?: never;
21152
20698
  cookie?: never;
21153
20699
  };
21154
- requestBody: {
20700
+ requestBody?: {
21155
20701
  content: {
21156
20702
  "application/json": {
21157
20703
  name: string;
@@ -21290,7 +20836,7 @@ export interface operations {
21290
20836
  };
21291
20837
  cookie?: never;
21292
20838
  };
21293
- requestBody: {
20839
+ requestBody?: {
21294
20840
  content: {
21295
20841
  "application/json": {
21296
20842
  name?: string;
@@ -21431,7 +20977,7 @@ export interface operations {
21431
20977
  };
21432
20978
  cookie?: never;
21433
20979
  };
21434
- requestBody: {
20980
+ requestBody?: {
21435
20981
  content: {
21436
20982
  "application/json": Record<string, never>;
21437
20983
  };
@@ -21744,7 +21290,7 @@ export interface operations {
21744
21290
  path?: never;
21745
21291
  cookie?: never;
21746
21292
  };
21747
- requestBody: {
21293
+ requestBody?: {
21748
21294
  content: {
21749
21295
  "application/json": {
21750
21296
  uniqueRef?: string | null;
@@ -22101,7 +21647,7 @@ export interface operations {
22101
21647
  path?: never;
22102
21648
  cookie?: never;
22103
21649
  };
22104
- requestBody: {
21650
+ requestBody?: {
22105
21651
  content: {
22106
21652
  "application/json": {
22107
21653
  /** Format: uuid */
@@ -22232,7 +21778,7 @@ export interface operations {
22232
21778
  };
22233
21779
  cookie?: never;
22234
21780
  };
22235
- requestBody: {
21781
+ requestBody?: {
22236
21782
  content: {
22237
21783
  "application/json": {
22238
21784
  /** Format: uuid */
@@ -22363,7 +21909,7 @@ export interface operations {
22363
21909
  };
22364
21910
  cookie?: never;
22365
21911
  };
22366
- requestBody: {
21912
+ requestBody?: {
22367
21913
  content: {
22368
21914
  "application/json": Record<string, never>;
22369
21915
  };
@@ -22470,7 +22016,7 @@ export interface operations {
22470
22016
  path?: never;
22471
22017
  cookie?: never;
22472
22018
  };
22473
- requestBody: {
22019
+ requestBody?: {
22474
22020
  content: {
22475
22021
  "application/json": {
22476
22022
  uniqueRef?: string | null;
@@ -22912,7 +22458,7 @@ export interface operations {
22912
22458
  };
22913
22459
  cookie?: never;
22914
22460
  };
22915
- requestBody: {
22461
+ requestBody?: {
22916
22462
  content: {
22917
22463
  "application/json": {
22918
22464
  uniqueRef?: string | null;
@@ -23138,7 +22684,7 @@ export interface operations {
23138
22684
  };
23139
22685
  cookie?: never;
23140
22686
  };
23141
- requestBody: {
22687
+ requestBody?: {
23142
22688
  content: {
23143
22689
  "application/json": Record<string, never>;
23144
22690
  };
@@ -27633,7 +27179,7 @@ export interface operations {
27633
27179
  path?: never;
27634
27180
  cookie?: never;
27635
27181
  };
27636
- requestBody: {
27182
+ requestBody?: {
27637
27183
  content: {
27638
27184
  "application/json": {
27639
27185
  currency?: string | null;
@@ -28129,7 +27675,7 @@ export interface operations {
28129
27675
  path?: never;
28130
27676
  cookie?: never;
28131
27677
  };
28132
- requestBody: {
27678
+ requestBody?: {
28133
27679
  content: {
28134
27680
  "application/json": {
28135
27681
  /** Format: uuid */
@@ -28431,7 +27977,7 @@ export interface operations {
28431
27977
  path?: never;
28432
27978
  cookie?: never;
28433
27979
  };
28434
- requestBody: {
27980
+ requestBody?: {
28435
27981
  content: {
28436
27982
  "application/json": {
28437
27983
  /**
@@ -28692,7 +28238,7 @@ export interface operations {
28692
28238
  path?: never;
28693
28239
  cookie?: never;
28694
28240
  };
28695
- requestBody: {
28241
+ requestBody?: {
28696
28242
  content: {
28697
28243
  "application/json": {
28698
28244
  type: string;
@@ -28937,7 +28483,7 @@ export interface operations {
28937
28483
  };
28938
28484
  cookie?: never;
28939
28485
  };
28940
- requestBody: {
28486
+ requestBody?: {
28941
28487
  content: {
28942
28488
  "application/json": {
28943
28489
  description?: string | null;
@@ -29529,7 +29075,7 @@ export interface operations {
29529
29075
  };
29530
29076
  cookie?: never;
29531
29077
  };
29532
- requestBody: {
29078
+ requestBody?: {
29533
29079
  content: {
29534
29080
  "application/json": {
29535
29081
  currency?: string | null;
@@ -30104,7 +29650,7 @@ export interface operations {
30104
29650
  };
30105
29651
  cookie?: never;
30106
29652
  };
30107
- requestBody: {
29653
+ requestBody?: {
30108
29654
  content: {
30109
29655
  "application/json": Record<string, never>;
30110
29656
  };
@@ -30213,7 +29759,7 @@ export interface operations {
30213
29759
  };
30214
29760
  cookie?: never;
30215
29761
  };
30216
- requestBody: {
29762
+ requestBody?: {
30217
29763
  content: {
30218
29764
  "application/json": {
30219
29765
  /** @enum {string} */
@@ -30327,7 +29873,7 @@ export interface operations {
30327
29873
  };
30328
29874
  cookie?: never;
30329
29875
  };
30330
- requestBody: {
29876
+ requestBody?: {
30331
29877
  content: {
30332
29878
  "application/json": {
30333
29879
  id?: string | null;
@@ -30792,7 +30338,7 @@ export interface operations {
30792
30338
  };
30793
30339
  cookie?: never;
30794
30340
  };
30795
- requestBody: {
30341
+ requestBody?: {
30796
30342
  content: {
30797
30343
  "application/json": {
30798
30344
  description?: string | null;
@@ -31256,7 +30802,7 @@ export interface operations {
31256
30802
  };
31257
30803
  cookie?: never;
31258
30804
  };
31259
- requestBody: {
30805
+ requestBody?: {
31260
30806
  content: {
31261
30807
  "application/json": Record<string, never>;
31262
30808
  };
@@ -32083,7 +31629,7 @@ export interface operations {
32083
31629
  path?: never;
32084
31630
  cookie?: never;
32085
31631
  };
32086
- requestBody: {
31632
+ requestBody?: {
32087
31633
  content: {
32088
31634
  "application/json": {
32089
31635
  /**
@@ -32367,42 +31913,17 @@ export interface operations {
32367
31913
  name: string;
32368
31914
  locked?: boolean | null;
32369
31915
  visible?: ("all" | "manager") | null;
32370
- /** @constant */
32371
- type: "field";
31916
+ /** @enum {string} */
31917
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
32372
31918
  value: string;
32373
31919
  } | {
32374
31920
  id?: string | null;
32375
31921
  name: string;
32376
31922
  locked?: boolean | null;
32377
31923
  visible?: ("all" | "manager") | null;
32378
- /** @constant */
31924
+ /** @enum {string} */
32379
31925
  type: "accounts";
32380
31926
  value: string[];
32381
- } | {
32382
- id?: string | null;
32383
- name: string;
32384
- locked?: boolean | null;
32385
- visible?: ("all" | "manager") | null;
32386
- /** @constant */
32387
- type: "subTotal";
32388
- value: string;
32389
- } | {
32390
- id?: string | null;
32391
- name: string;
32392
- locked?: boolean | null;
32393
- visible?: ("all" | "manager") | null;
32394
- /** @constant */
32395
- type: "formula.currency";
32396
- value: string;
32397
- } | {
32398
- id?: string | null;
32399
- name: string;
32400
- locked?: boolean | null;
32401
- visible?: ("all" | "manager") | null;
32402
- /** @constant */
32403
- type: "formula.percentage";
32404
- value: string;
32405
- decimals?: (0 | 1 | 2 | 3) | null;
32406
31927
  })[];
32407
31928
  }[];
32408
31929
  otherSections: {
@@ -32415,7 +31936,7 @@ export interface operations {
32415
31936
  name: string;
32416
31937
  locked?: boolean | null;
32417
31938
  visible?: ("all" | "manager") | null;
32418
- /** @constant */
31939
+ /** @enum {string} */
32419
31940
  type: "field";
32420
31941
  value: string;
32421
31942
  } | {
@@ -32423,7 +31944,7 @@ export interface operations {
32423
31944
  name: string;
32424
31945
  locked?: boolean | null;
32425
31946
  visible?: ("all" | "manager") | null;
32426
- /** @constant */
31947
+ /** @enum {string} */
32427
31948
  type: "accounts";
32428
31949
  value: string[];
32429
31950
  })[];
@@ -32452,7 +31973,7 @@ export interface operations {
32452
31973
  name: string;
32453
31974
  locked?: boolean | null;
32454
31975
  visible?: ("all" | "manager") | null;
32455
- /** @constant */
31976
+ /** @enum {string} */
32456
31977
  type: "field";
32457
31978
  value: string;
32458
31979
  } | {
@@ -32460,7 +31981,7 @@ export interface operations {
32460
31981
  name: string;
32461
31982
  locked?: boolean | null;
32462
31983
  visible?: ("all" | "manager") | null;
32463
- /** @constant */
31984
+ /** @enum {string} */
32464
31985
  type: "accounts";
32465
31986
  value: string[];
32466
31987
  })[];
@@ -33003,42 +32524,17 @@ export interface operations {
33003
32524
  name: string;
33004
32525
  locked?: boolean | null;
33005
32526
  visible?: ("all" | "manager") | null;
33006
- /** @constant */
33007
- type: "field";
32527
+ /** @enum {string} */
32528
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33008
32529
  value: string;
33009
32530
  } | {
33010
32531
  id?: string | null;
33011
32532
  name: string;
33012
32533
  locked?: boolean | null;
33013
32534
  visible?: ("all" | "manager") | null;
33014
- /** @constant */
32535
+ /** @enum {string} */
33015
32536
  type: "accounts";
33016
32537
  value: string[];
33017
- } | {
33018
- id?: string | null;
33019
- name: string;
33020
- locked?: boolean | null;
33021
- visible?: ("all" | "manager") | null;
33022
- /** @constant */
33023
- type: "subTotal";
33024
- value: string;
33025
- } | {
33026
- id?: string | null;
33027
- name: string;
33028
- locked?: boolean | null;
33029
- visible?: ("all" | "manager") | null;
33030
- /** @constant */
33031
- type: "formula.currency";
33032
- value: string;
33033
- } | {
33034
- id?: string | null;
33035
- name: string;
33036
- locked?: boolean | null;
33037
- visible?: ("all" | "manager") | null;
33038
- /** @constant */
33039
- type: "formula.percentage";
33040
- value: string;
33041
- decimals?: (0 | 1 | 2 | 3) | null;
33042
32538
  })[];
33043
32539
  }[];
33044
32540
  otherSections: {
@@ -33051,7 +32547,7 @@ export interface operations {
33051
32547
  name: string;
33052
32548
  locked?: boolean | null;
33053
32549
  visible?: ("all" | "manager") | null;
33054
- /** @constant */
32550
+ /** @enum {string} */
33055
32551
  type: "field";
33056
32552
  value: string;
33057
32553
  } | {
@@ -33059,7 +32555,7 @@ export interface operations {
33059
32555
  name: string;
33060
32556
  locked?: boolean | null;
33061
32557
  visible?: ("all" | "manager") | null;
33062
- /** @constant */
32558
+ /** @enum {string} */
33063
32559
  type: "accounts";
33064
32560
  value: string[];
33065
32561
  })[];
@@ -33088,7 +32584,7 @@ export interface operations {
33088
32584
  name: string;
33089
32585
  locked?: boolean | null;
33090
32586
  visible?: ("all" | "manager") | null;
33091
- /** @constant */
32587
+ /** @enum {string} */
33092
32588
  type: "field";
33093
32589
  value: string;
33094
32590
  } | {
@@ -33096,7 +32592,7 @@ export interface operations {
33096
32592
  name: string;
33097
32593
  locked?: boolean | null;
33098
32594
  visible?: ("all" | "manager") | null;
33099
- /** @constant */
32595
+ /** @enum {string} */
33100
32596
  type: "accounts";
33101
32597
  value: string[];
33102
32598
  })[];
@@ -33478,8 +32974,6 @@ export interface operations {
33478
32974
  getStatementsCsv: {
33479
32975
  parameters: {
33480
32976
  query?: {
33481
- limit?: number;
33482
- page?: number;
33483
32977
  periodIds?: string;
33484
32978
  /** @description Year in format YYYY */
33485
32979
  year?: number;
@@ -33599,8 +33093,6 @@ export interface operations {
33599
33093
  getStatementsCsvDetailed: {
33600
33094
  parameters: {
33601
33095
  query?: {
33602
- limit?: number;
33603
- page?: number;
33604
33096
  periodIds?: string;
33605
33097
  /** @description Year in format YYYY */
33606
33098
  year?: number;
@@ -33756,42 +33248,17 @@ export interface operations {
33756
33248
  name: string;
33757
33249
  locked?: boolean | null;
33758
33250
  visible?: ("all" | "manager") | null;
33759
- /** @constant */
33760
- type: "field";
33251
+ /** @enum {string} */
33252
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33761
33253
  value: string;
33762
33254
  } | {
33763
33255
  id?: string | null;
33764
33256
  name: string;
33765
33257
  locked?: boolean | null;
33766
33258
  visible?: ("all" | "manager") | null;
33767
- /** @constant */
33259
+ /** @enum {string} */
33768
33260
  type: "accounts";
33769
33261
  value: string[];
33770
- } | {
33771
- id?: string | null;
33772
- name: string;
33773
- locked?: boolean | null;
33774
- visible?: ("all" | "manager") | null;
33775
- /** @constant */
33776
- type: "subTotal";
33777
- value: string;
33778
- } | {
33779
- id?: string | null;
33780
- name: string;
33781
- locked?: boolean | null;
33782
- visible?: ("all" | "manager") | null;
33783
- /** @constant */
33784
- type: "formula.currency";
33785
- value: string;
33786
- } | {
33787
- id?: string | null;
33788
- name: string;
33789
- locked?: boolean | null;
33790
- visible?: ("all" | "manager") | null;
33791
- /** @constant */
33792
- type: "formula.percentage";
33793
- value: string;
33794
- decimals?: (0 | 1 | 2 | 3) | null;
33795
33262
  })[];
33796
33263
  }[];
33797
33264
  otherSections: {
@@ -33804,7 +33271,7 @@ export interface operations {
33804
33271
  name: string;
33805
33272
  locked?: boolean | null;
33806
33273
  visible?: ("all" | "manager") | null;
33807
- /** @constant */
33274
+ /** @enum {string} */
33808
33275
  type: "field";
33809
33276
  value: string;
33810
33277
  } | {
@@ -33812,7 +33279,7 @@ export interface operations {
33812
33279
  name: string;
33813
33280
  locked?: boolean | null;
33814
33281
  visible?: ("all" | "manager") | null;
33815
- /** @constant */
33282
+ /** @enum {string} */
33816
33283
  type: "accounts";
33817
33284
  value: string[];
33818
33285
  })[];
@@ -33841,7 +33308,7 @@ export interface operations {
33841
33308
  name: string;
33842
33309
  locked?: boolean | null;
33843
33310
  visible?: ("all" | "manager") | null;
33844
- /** @constant */
33311
+ /** @enum {string} */
33845
33312
  type: "field";
33846
33313
  value: string;
33847
33314
  } | {
@@ -33849,7 +33316,7 @@ export interface operations {
33849
33316
  name: string;
33850
33317
  locked?: boolean | null;
33851
33318
  visible?: ("all" | "manager") | null;
33852
- /** @constant */
33319
+ /** @enum {string} */
33853
33320
  type: "accounts";
33854
33321
  value: string[];
33855
33322
  })[];
@@ -33956,7 +33423,7 @@ export interface operations {
33956
33423
  path?: never;
33957
33424
  cookie?: never;
33958
33425
  };
33959
- requestBody: {
33426
+ requestBody?: {
33960
33427
  content: {
33961
33428
  "application/json": {
33962
33429
  name: string;
@@ -33975,42 +33442,17 @@ export interface operations {
33975
33442
  name: string;
33976
33443
  locked?: boolean | null;
33977
33444
  visible?: ("all" | "manager") | null;
33978
- /** @constant */
33979
- type: "field";
33445
+ /** @enum {string} */
33446
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33980
33447
  value: string;
33981
33448
  } | {
33982
33449
  id?: string | null;
33983
33450
  name: string;
33984
33451
  locked?: boolean | null;
33985
33452
  visible?: ("all" | "manager") | null;
33986
- /** @constant */
33453
+ /** @enum {string} */
33987
33454
  type: "accounts";
33988
33455
  value: string[];
33989
- } | {
33990
- id?: string | null;
33991
- name: string;
33992
- locked?: boolean | null;
33993
- visible?: ("all" | "manager") | null;
33994
- /** @constant */
33995
- type: "subTotal";
33996
- value: string;
33997
- } | {
33998
- id?: string | null;
33999
- name: string;
34000
- locked?: boolean | null;
34001
- visible?: ("all" | "manager") | null;
34002
- /** @constant */
34003
- type: "formula.currency";
34004
- value: string;
34005
- } | {
34006
- id?: string | null;
34007
- name: string;
34008
- locked?: boolean | null;
34009
- visible?: ("all" | "manager") | null;
34010
- /** @constant */
34011
- type: "formula.percentage";
34012
- value: string;
34013
- decimals?: (0 | 1 | 2 | 3) | null;
34014
33456
  })[];
34015
33457
  }[];
34016
33458
  otherSections: {
@@ -34023,7 +33465,7 @@ export interface operations {
34023
33465
  name: string;
34024
33466
  locked?: boolean | null;
34025
33467
  visible?: ("all" | "manager") | null;
34026
- /** @constant */
33468
+ /** @enum {string} */
34027
33469
  type: "field";
34028
33470
  value: string;
34029
33471
  } | {
@@ -34031,7 +33473,7 @@ export interface operations {
34031
33473
  name: string;
34032
33474
  locked?: boolean | null;
34033
33475
  visible?: ("all" | "manager") | null;
34034
- /** @constant */
33476
+ /** @enum {string} */
34035
33477
  type: "accounts";
34036
33478
  value: string[];
34037
33479
  })[];
@@ -34062,42 +33504,17 @@ export interface operations {
34062
33504
  name: string;
34063
33505
  locked?: boolean | null;
34064
33506
  visible?: ("all" | "manager") | null;
34065
- /** @constant */
34066
- type: "field";
33507
+ /** @enum {string} */
33508
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34067
33509
  value: string;
34068
33510
  } | {
34069
33511
  id?: string | null;
34070
33512
  name: string;
34071
33513
  locked?: boolean | null;
34072
33514
  visible?: ("all" | "manager") | null;
34073
- /** @constant */
33515
+ /** @enum {string} */
34074
33516
  type: "accounts";
34075
33517
  value: string[];
34076
- } | {
34077
- id?: string | null;
34078
- name: string;
34079
- locked?: boolean | null;
34080
- visible?: ("all" | "manager") | null;
34081
- /** @constant */
34082
- type: "subTotal";
34083
- value: string;
34084
- } | {
34085
- id?: string | null;
34086
- name: string;
34087
- locked?: boolean | null;
34088
- visible?: ("all" | "manager") | null;
34089
- /** @constant */
34090
- type: "formula.currency";
34091
- value: string;
34092
- } | {
34093
- id?: string | null;
34094
- name: string;
34095
- locked?: boolean | null;
34096
- visible?: ("all" | "manager") | null;
34097
- /** @constant */
34098
- type: "formula.percentage";
34099
- value: string;
34100
- decimals?: (0 | 1 | 2 | 3) | null;
34101
33518
  })[];
34102
33519
  }[];
34103
33520
  otherSections: {
@@ -34110,7 +33527,7 @@ export interface operations {
34110
33527
  name: string;
34111
33528
  locked?: boolean | null;
34112
33529
  visible?: ("all" | "manager") | null;
34113
- /** @constant */
33530
+ /** @enum {string} */
34114
33531
  type: "field";
34115
33532
  value: string;
34116
33533
  } | {
@@ -34118,7 +33535,7 @@ export interface operations {
34118
33535
  name: string;
34119
33536
  locked?: boolean | null;
34120
33537
  visible?: ("all" | "manager") | null;
34121
- /** @constant */
33538
+ /** @enum {string} */
34122
33539
  type: "accounts";
34123
33540
  value: string[];
34124
33541
  })[];
@@ -34147,7 +33564,7 @@ export interface operations {
34147
33564
  name: string;
34148
33565
  locked?: boolean | null;
34149
33566
  visible?: ("all" | "manager") | null;
34150
- /** @constant */
33567
+ /** @enum {string} */
34151
33568
  type: "field";
34152
33569
  value: string;
34153
33570
  } | {
@@ -34155,7 +33572,7 @@ export interface operations {
34155
33572
  name: string;
34156
33573
  locked?: boolean | null;
34157
33574
  visible?: ("all" | "manager") | null;
34158
- /** @constant */
33575
+ /** @enum {string} */
34159
33576
  type: "accounts";
34160
33577
  value: string[];
34161
33578
  })[];
@@ -34278,42 +33695,17 @@ export interface operations {
34278
33695
  name: string;
34279
33696
  locked?: boolean | null;
34280
33697
  visible?: ("all" | "manager") | null;
34281
- /** @constant */
34282
- type: "field";
33698
+ /** @enum {string} */
33699
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34283
33700
  value: string;
34284
33701
  } | {
34285
33702
  id?: string | null;
34286
33703
  name: string;
34287
33704
  locked?: boolean | null;
34288
33705
  visible?: ("all" | "manager") | null;
34289
- /** @constant */
33706
+ /** @enum {string} */
34290
33707
  type: "accounts";
34291
33708
  value: string[];
34292
- } | {
34293
- id?: string | null;
34294
- name: string;
34295
- locked?: boolean | null;
34296
- visible?: ("all" | "manager") | null;
34297
- /** @constant */
34298
- type: "subTotal";
34299
- value: string;
34300
- } | {
34301
- id?: string | null;
34302
- name: string;
34303
- locked?: boolean | null;
34304
- visible?: ("all" | "manager") | null;
34305
- /** @constant */
34306
- type: "formula.currency";
34307
- value: string;
34308
- } | {
34309
- id?: string | null;
34310
- name: string;
34311
- locked?: boolean | null;
34312
- visible?: ("all" | "manager") | null;
34313
- /** @constant */
34314
- type: "formula.percentage";
34315
- value: string;
34316
- decimals?: (0 | 1 | 2 | 3) | null;
34317
33709
  })[];
34318
33710
  }[];
34319
33711
  otherSections: {
@@ -34326,7 +33718,7 @@ export interface operations {
34326
33718
  name: string;
34327
33719
  locked?: boolean | null;
34328
33720
  visible?: ("all" | "manager") | null;
34329
- /** @constant */
33721
+ /** @enum {string} */
34330
33722
  type: "field";
34331
33723
  value: string;
34332
33724
  } | {
@@ -34334,7 +33726,7 @@ export interface operations {
34334
33726
  name: string;
34335
33727
  locked?: boolean | null;
34336
33728
  visible?: ("all" | "manager") | null;
34337
- /** @constant */
33729
+ /** @enum {string} */
34338
33730
  type: "accounts";
34339
33731
  value: string[];
34340
33732
  })[];
@@ -34363,7 +33755,7 @@ export interface operations {
34363
33755
  name: string;
34364
33756
  locked?: boolean | null;
34365
33757
  visible?: ("all" | "manager") | null;
34366
- /** @constant */
33758
+ /** @enum {string} */
34367
33759
  type: "field";
34368
33760
  value: string;
34369
33761
  } | {
@@ -34371,7 +33763,7 @@ export interface operations {
34371
33763
  name: string;
34372
33764
  locked?: boolean | null;
34373
33765
  visible?: ("all" | "manager") | null;
34374
- /** @constant */
33766
+ /** @enum {string} */
34375
33767
  type: "accounts";
34376
33768
  value: string[];
34377
33769
  })[];
@@ -34470,7 +33862,7 @@ export interface operations {
34470
33862
  };
34471
33863
  cookie?: never;
34472
33864
  };
34473
- requestBody: {
33865
+ requestBody?: {
34474
33866
  content: {
34475
33867
  "application/json": {
34476
33868
  name?: string;
@@ -34489,42 +33881,17 @@ export interface operations {
34489
33881
  name: string;
34490
33882
  locked?: boolean | null;
34491
33883
  visible?: ("all" | "manager") | null;
34492
- /** @constant */
34493
- type: "field";
33884
+ /** @enum {string} */
33885
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34494
33886
  value: string;
34495
33887
  } | {
34496
33888
  id?: string | null;
34497
33889
  name: string;
34498
33890
  locked?: boolean | null;
34499
33891
  visible?: ("all" | "manager") | null;
34500
- /** @constant */
33892
+ /** @enum {string} */
34501
33893
  type: "accounts";
34502
33894
  value: string[];
34503
- } | {
34504
- id?: string | null;
34505
- name: string;
34506
- locked?: boolean | null;
34507
- visible?: ("all" | "manager") | null;
34508
- /** @constant */
34509
- type: "subTotal";
34510
- value: string;
34511
- } | {
34512
- id?: string | null;
34513
- name: string;
34514
- locked?: boolean | null;
34515
- visible?: ("all" | "manager") | null;
34516
- /** @constant */
34517
- type: "formula.currency";
34518
- value: string;
34519
- } | {
34520
- id?: string | null;
34521
- name: string;
34522
- locked?: boolean | null;
34523
- visible?: ("all" | "manager") | null;
34524
- /** @constant */
34525
- type: "formula.percentage";
34526
- value: string;
34527
- decimals?: (0 | 1 | 2 | 3) | null;
34528
33895
  })[];
34529
33896
  }[];
34530
33897
  otherSections?: {
@@ -34537,7 +33904,7 @@ export interface operations {
34537
33904
  name: string;
34538
33905
  locked?: boolean | null;
34539
33906
  visible?: ("all" | "manager") | null;
34540
- /** @constant */
33907
+ /** @enum {string} */
34541
33908
  type: "field";
34542
33909
  value: string;
34543
33910
  } | {
@@ -34545,7 +33912,7 @@ export interface operations {
34545
33912
  name: string;
34546
33913
  locked?: boolean | null;
34547
33914
  visible?: ("all" | "manager") | null;
34548
- /** @constant */
33915
+ /** @enum {string} */
34549
33916
  type: "accounts";
34550
33917
  value: string[];
34551
33918
  })[];
@@ -34576,42 +33943,17 @@ export interface operations {
34576
33943
  name: string;
34577
33944
  locked?: boolean | null;
34578
33945
  visible?: ("all" | "manager") | null;
34579
- /** @constant */
34580
- type: "field";
33946
+ /** @enum {string} */
33947
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34581
33948
  value: string;
34582
33949
  } | {
34583
33950
  id?: string | null;
34584
33951
  name: string;
34585
33952
  locked?: boolean | null;
34586
33953
  visible?: ("all" | "manager") | null;
34587
- /** @constant */
33954
+ /** @enum {string} */
34588
33955
  type: "accounts";
34589
33956
  value: string[];
34590
- } | {
34591
- id?: string | null;
34592
- name: string;
34593
- locked?: boolean | null;
34594
- visible?: ("all" | "manager") | null;
34595
- /** @constant */
34596
- type: "subTotal";
34597
- value: string;
34598
- } | {
34599
- id?: string | null;
34600
- name: string;
34601
- locked?: boolean | null;
34602
- visible?: ("all" | "manager") | null;
34603
- /** @constant */
34604
- type: "formula.currency";
34605
- value: string;
34606
- } | {
34607
- id?: string | null;
34608
- name: string;
34609
- locked?: boolean | null;
34610
- visible?: ("all" | "manager") | null;
34611
- /** @constant */
34612
- type: "formula.percentage";
34613
- value: string;
34614
- decimals?: (0 | 1 | 2 | 3) | null;
34615
33957
  })[];
34616
33958
  }[];
34617
33959
  otherSections: {
@@ -34624,7 +33966,7 @@ export interface operations {
34624
33966
  name: string;
34625
33967
  locked?: boolean | null;
34626
33968
  visible?: ("all" | "manager") | null;
34627
- /** @constant */
33969
+ /** @enum {string} */
34628
33970
  type: "field";
34629
33971
  value: string;
34630
33972
  } | {
@@ -34632,7 +33974,7 @@ export interface operations {
34632
33974
  name: string;
34633
33975
  locked?: boolean | null;
34634
33976
  visible?: ("all" | "manager") | null;
34635
- /** @constant */
33977
+ /** @enum {string} */
34636
33978
  type: "accounts";
34637
33979
  value: string[];
34638
33980
  })[];
@@ -34661,7 +34003,7 @@ export interface operations {
34661
34003
  name: string;
34662
34004
  locked?: boolean | null;
34663
34005
  visible?: ("all" | "manager") | null;
34664
- /** @constant */
34006
+ /** @enum {string} */
34665
34007
  type: "field";
34666
34008
  value: string;
34667
34009
  } | {
@@ -34669,7 +34011,7 @@ export interface operations {
34669
34011
  name: string;
34670
34012
  locked?: boolean | null;
34671
34013
  visible?: ("all" | "manager") | null;
34672
- /** @constant */
34014
+ /** @enum {string} */
34673
34015
  type: "accounts";
34674
34016
  value: string[];
34675
34017
  })[];
@@ -34768,7 +34110,7 @@ export interface operations {
34768
34110
  };
34769
34111
  cookie?: never;
34770
34112
  };
34771
- requestBody: {
34113
+ requestBody?: {
34772
34114
  content: {
34773
34115
  "application/json": Record<string, never>;
34774
34116
  };
@@ -34874,7 +34216,7 @@ export interface operations {
34874
34216
  path?: never;
34875
34217
  cookie?: never;
34876
34218
  };
34877
- requestBody: {
34219
+ requestBody?: {
34878
34220
  content: {
34879
34221
  "application/json": {
34880
34222
  date?: string | null;
@@ -35848,42 +35190,17 @@ export interface operations {
35848
35190
  name: string;
35849
35191
  locked?: boolean | null;
35850
35192
  visible?: ("all" | "manager") | null;
35851
- /** @constant */
35852
- type: "field";
35193
+ /** @enum {string} */
35194
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
35853
35195
  value: string;
35854
35196
  } | {
35855
35197
  id?: string | null;
35856
35198
  name: string;
35857
35199
  locked?: boolean | null;
35858
35200
  visible?: ("all" | "manager") | null;
35859
- /** @constant */
35201
+ /** @enum {string} */
35860
35202
  type: "accounts";
35861
35203
  value: string[];
35862
- } | {
35863
- id?: string | null;
35864
- name: string;
35865
- locked?: boolean | null;
35866
- visible?: ("all" | "manager") | null;
35867
- /** @constant */
35868
- type: "subTotal";
35869
- value: string;
35870
- } | {
35871
- id?: string | null;
35872
- name: string;
35873
- locked?: boolean | null;
35874
- visible?: ("all" | "manager") | null;
35875
- /** @constant */
35876
- type: "formula.currency";
35877
- value: string;
35878
- } | {
35879
- id?: string | null;
35880
- name: string;
35881
- locked?: boolean | null;
35882
- visible?: ("all" | "manager") | null;
35883
- /** @constant */
35884
- type: "formula.percentage";
35885
- value: string;
35886
- decimals?: (0 | 1 | 2 | 3) | null;
35887
35204
  })[];
35888
35205
  }[];
35889
35206
  otherSections: {
@@ -35896,7 +35213,7 @@ export interface operations {
35896
35213
  name: string;
35897
35214
  locked?: boolean | null;
35898
35215
  visible?: ("all" | "manager") | null;
35899
- /** @constant */
35216
+ /** @enum {string} */
35900
35217
  type: "field";
35901
35218
  value: string;
35902
35219
  } | {
@@ -35904,7 +35221,7 @@ export interface operations {
35904
35221
  name: string;
35905
35222
  locked?: boolean | null;
35906
35223
  visible?: ("all" | "manager") | null;
35907
- /** @constant */
35224
+ /** @enum {string} */
35908
35225
  type: "accounts";
35909
35226
  value: string[];
35910
35227
  })[];
@@ -35933,7 +35250,7 @@ export interface operations {
35933
35250
  name: string;
35934
35251
  locked?: boolean | null;
35935
35252
  visible?: ("all" | "manager") | null;
35936
- /** @constant */
35253
+ /** @enum {string} */
35937
35254
  type: "field";
35938
35255
  value: string;
35939
35256
  } | {
@@ -35941,7 +35258,7 @@ export interface operations {
35941
35258
  name: string;
35942
35259
  locked?: boolean | null;
35943
35260
  visible?: ("all" | "manager") | null;
35944
- /** @constant */
35261
+ /** @enum {string} */
35945
35262
  type: "accounts";
35946
35263
  value: string[];
35947
35264
  })[];
@@ -36218,7 +35535,7 @@ export interface operations {
36218
35535
  };
36219
35536
  cookie?: never;
36220
35537
  };
36221
- requestBody: {
35538
+ requestBody?: {
36222
35539
  content: {
36223
35540
  "application/json": {
36224
35541
  /** @enum {string} */
@@ -36489,42 +35806,17 @@ export interface operations {
36489
35806
  name: string;
36490
35807
  locked?: boolean | null;
36491
35808
  visible?: ("all" | "manager") | null;
36492
- /** @constant */
36493
- type: "field";
35809
+ /** @enum {string} */
35810
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
36494
35811
  value: string;
36495
35812
  } | {
36496
35813
  id?: string | null;
36497
35814
  name: string;
36498
35815
  locked?: boolean | null;
36499
35816
  visible?: ("all" | "manager") | null;
36500
- /** @constant */
35817
+ /** @enum {string} */
36501
35818
  type: "accounts";
36502
35819
  value: string[];
36503
- } | {
36504
- id?: string | null;
36505
- name: string;
36506
- locked?: boolean | null;
36507
- visible?: ("all" | "manager") | null;
36508
- /** @constant */
36509
- type: "subTotal";
36510
- value: string;
36511
- } | {
36512
- id?: string | null;
36513
- name: string;
36514
- locked?: boolean | null;
36515
- visible?: ("all" | "manager") | null;
36516
- /** @constant */
36517
- type: "formula.currency";
36518
- value: string;
36519
- } | {
36520
- id?: string | null;
36521
- name: string;
36522
- locked?: boolean | null;
36523
- visible?: ("all" | "manager") | null;
36524
- /** @constant */
36525
- type: "formula.percentage";
36526
- value: string;
36527
- decimals?: (0 | 1 | 2 | 3) | null;
36528
35820
  })[];
36529
35821
  }[];
36530
35822
  otherSections: {
@@ -36537,7 +35829,7 @@ export interface operations {
36537
35829
  name: string;
36538
35830
  locked?: boolean | null;
36539
35831
  visible?: ("all" | "manager") | null;
36540
- /** @constant */
35832
+ /** @enum {string} */
36541
35833
  type: "field";
36542
35834
  value: string;
36543
35835
  } | {
@@ -36545,7 +35837,7 @@ export interface operations {
36545
35837
  name: string;
36546
35838
  locked?: boolean | null;
36547
35839
  visible?: ("all" | "manager") | null;
36548
- /** @constant */
35840
+ /** @enum {string} */
36549
35841
  type: "accounts";
36550
35842
  value: string[];
36551
35843
  })[];
@@ -36574,7 +35866,7 @@ export interface operations {
36574
35866
  name: string;
36575
35867
  locked?: boolean | null;
36576
35868
  visible?: ("all" | "manager") | null;
36577
- /** @constant */
35869
+ /** @enum {string} */
36578
35870
  type: "field";
36579
35871
  value: string;
36580
35872
  } | {
@@ -36582,7 +35874,7 @@ export interface operations {
36582
35874
  name: string;
36583
35875
  locked?: boolean | null;
36584
35876
  visible?: ("all" | "manager") | null;
36585
- /** @constant */
35877
+ /** @enum {string} */
36586
35878
  type: "accounts";
36587
35879
  value: string[];
36588
35880
  })[];
@@ -36862,7 +36154,7 @@ export interface operations {
36862
36154
  };
36863
36155
  cookie?: never;
36864
36156
  };
36865
- requestBody: {
36157
+ requestBody?: {
36866
36158
  content: {
36867
36159
  "application/json": Record<string, never>;
36868
36160
  };
@@ -36970,7 +36262,7 @@ export interface operations {
36970
36262
  };
36971
36263
  cookie?: never;
36972
36264
  };
36973
- requestBody: {
36265
+ requestBody?: {
36974
36266
  content: {
36975
36267
  "application/json": {
36976
36268
  date?: string | null;
@@ -37087,7 +36379,7 @@ export interface operations {
37087
36379
  };
37088
36380
  cookie?: never;
37089
36381
  };
37090
- requestBody: {
36382
+ requestBody?: {
37091
36383
  content: {
37092
36384
  "application/json": Record<string, never>;
37093
36385
  };
@@ -37196,7 +36488,7 @@ export interface operations {
37196
36488
  path?: never;
37197
36489
  cookie?: never;
37198
36490
  };
37199
- requestBody: {
36491
+ requestBody?: {
37200
36492
  content: {
37201
36493
  "application/json": {
37202
36494
  /** @enum {string} */
@@ -37443,7 +36735,7 @@ export interface operations {
37443
36735
  path?: never;
37444
36736
  cookie?: never;
37445
36737
  };
37446
- requestBody: {
36738
+ requestBody?: {
37447
36739
  content: {
37448
36740
  "application/json": {
37449
36741
  /** Format: uuid */
@@ -37588,7 +36880,7 @@ export interface operations {
37588
36880
  path?: never;
37589
36881
  cookie?: never;
37590
36882
  };
37591
- requestBody: {
36883
+ requestBody?: {
37592
36884
  content: {
37593
36885
  "application/json": {
37594
36886
  /** Format: uuid */
@@ -37718,7 +37010,7 @@ export interface operations {
37718
37010
  };
37719
37011
  cookie?: never;
37720
37012
  };
37721
- requestBody: {
37013
+ requestBody?: {
37722
37014
  content: {
37723
37015
  "application/json": {
37724
37016
  params?: {
@@ -37976,7 +37268,7 @@ export interface operations {
37976
37268
  };
37977
37269
  cookie?: never;
37978
37270
  };
37979
- requestBody: {
37271
+ requestBody?: {
37980
37272
  content: {
37981
37273
  "application/json": {
37982
37274
  /** @enum {string} */
@@ -38121,7 +37413,7 @@ export interface operations {
38121
37413
  };
38122
37414
  cookie?: never;
38123
37415
  };
38124
- requestBody: {
37416
+ requestBody?: {
38125
37417
  content: {
38126
37418
  "application/json": Record<string, never>;
38127
37419
  };
@@ -38462,7 +37754,7 @@ export interface operations {
38462
37754
  path?: never;
38463
37755
  cookie?: never;
38464
37756
  };
38465
- requestBody: {
37757
+ requestBody?: {
38466
37758
  content: {
38467
37759
  "application/json": {
38468
37760
  defaultCurrency?: string | null;
@@ -39098,7 +38390,7 @@ export interface operations {
39098
38390
  path?: never;
39099
38391
  cookie?: never;
39100
38392
  };
39101
- requestBody: {
38393
+ requestBody?: {
39102
38394
  content: {
39103
38395
  "application/json": {
39104
38396
  /** Format: uuid */
@@ -39325,7 +38617,7 @@ export interface operations {
39325
38617
  path?: never;
39326
38618
  cookie?: never;
39327
38619
  };
39328
- requestBody: {
38620
+ requestBody?: {
39329
38621
  content: {
39330
38622
  "application/json": {
39331
38623
  /** Format: uuid */
@@ -39788,7 +39080,7 @@ export interface operations {
39788
39080
  path?: never;
39789
39081
  cookie?: never;
39790
39082
  };
39791
- requestBody: {
39083
+ requestBody?: {
39792
39084
  content: {
39793
39085
  "application/json": {
39794
39086
  /** @enum {string} */
@@ -40016,7 +39308,7 @@ export interface operations {
40016
39308
  path?: never;
40017
39309
  cookie?: never;
40018
39310
  };
40019
- requestBody: {
39311
+ requestBody?: {
40020
39312
  content: {
40021
39313
  "application/json": {
40022
39314
  /** @description Value in cents (100 = 1€) */
@@ -40257,7 +39549,7 @@ export interface operations {
40257
39549
  path?: never;
40258
39550
  cookie?: never;
40259
39551
  };
40260
- requestBody: {
39552
+ requestBody?: {
40261
39553
  content: {
40262
39554
  "application/json": {
40263
39555
  accountId?: string | null;
@@ -40639,7 +39931,7 @@ export interface operations {
40639
39931
  path?: never;
40640
39932
  cookie?: never;
40641
39933
  };
40642
- requestBody: {
39934
+ requestBody?: {
40643
39935
  content: {
40644
39936
  "application/json": {
40645
39937
  accountId?: string | null;
@@ -40872,7 +40164,7 @@ export interface operations {
40872
40164
  path?: never;
40873
40165
  cookie?: never;
40874
40166
  };
40875
- requestBody: {
40167
+ requestBody?: {
40876
40168
  content: {
40877
40169
  "application/json": {
40878
40170
  accountId?: string | null;
@@ -41100,7 +40392,7 @@ export interface operations {
41100
40392
  path?: never;
41101
40393
  cookie?: never;
41102
40394
  };
41103
- requestBody: {
40395
+ requestBody?: {
41104
40396
  content: {
41105
40397
  "application/json": {
41106
40398
  /** @description Value in cents (100 = 1€) */
@@ -41436,7 +40728,7 @@ export interface operations {
41436
40728
  };
41437
40729
  cookie?: never;
41438
40730
  };
41439
- requestBody: {
40731
+ requestBody?: {
41440
40732
  content: {
41441
40733
  "application/json": {
41442
40734
  defaultCurrency?: string | null;
@@ -41725,7 +41017,7 @@ export interface operations {
41725
41017
  };
41726
41018
  cookie?: never;
41727
41019
  };
41728
- requestBody: {
41020
+ requestBody?: {
41729
41021
  content: {
41730
41022
  "application/json": Record<string, never>;
41731
41023
  };
@@ -41833,7 +41125,7 @@ export interface operations {
41833
41125
  };
41834
41126
  cookie?: never;
41835
41127
  };
41836
- requestBody: {
41128
+ requestBody?: {
41837
41129
  content: {
41838
41130
  "application/json": {
41839
41131
  booksClosedAt: string | null;
@@ -41945,7 +41237,7 @@ export interface operations {
41945
41237
  };
41946
41238
  cookie?: never;
41947
41239
  };
41948
- requestBody: {
41240
+ requestBody?: {
41949
41241
  content: {
41950
41242
  "application/json": Record<string, never>;
41951
41243
  };
@@ -42053,7 +41345,7 @@ export interface operations {
42053
41345
  };
42054
41346
  cookie?: never;
42055
41347
  };
42056
- requestBody: {
41348
+ requestBody?: {
42057
41349
  content: {
42058
41350
  "application/json": {
42059
41351
  taxRateCountryOverwrite?: string | null;
@@ -42624,281 +41916,6 @@ export interface operations {
42624
41916
  };
42625
41917
  };
42626
41918
  };
42627
- getTeamsByTenantIdFeatures: {
42628
- parameters: {
42629
- query?: never;
42630
- header?: never;
42631
- path: {
42632
- tenantId: string;
42633
- };
42634
- cookie?: never;
42635
- };
42636
- requestBody?: never;
42637
- responses: {
42638
- /** @description Team feature flags */
42639
- 200: {
42640
- headers: {
42641
- [name: string]: unknown;
42642
- };
42643
- content: {
42644
- "application/json": {
42645
- /** Format: uuid */
42646
- tenantId: string;
42647
- /** Format: uuid */
42648
- featureId: string;
42649
- enabled: boolean;
42650
- status: ("all" | "disabled" | "partially") | null;
42651
- }[];
42652
- };
42653
- };
42654
- /** @description Bad request */
42655
- 400: {
42656
- headers: {
42657
- [name: string]: unknown;
42658
- };
42659
- content: {
42660
- "application/json": {
42661
- code: string;
42662
- message: string;
42663
- };
42664
- };
42665
- };
42666
- /** @description Unauthorized */
42667
- 401: {
42668
- headers: {
42669
- [name: string]: unknown;
42670
- };
42671
- content: {
42672
- "application/json": {
42673
- code: string;
42674
- message: string;
42675
- };
42676
- };
42677
- };
42678
- /** @description Forbidden */
42679
- 403: {
42680
- headers: {
42681
- [name: string]: unknown;
42682
- };
42683
- content: {
42684
- "application/json": {
42685
- code: string;
42686
- message: string;
42687
- };
42688
- };
42689
- };
42690
- /** @description Not found */
42691
- 404: {
42692
- headers: {
42693
- [name: string]: unknown;
42694
- };
42695
- content: {
42696
- "application/json": {
42697
- code: string;
42698
- message: string;
42699
- };
42700
- };
42701
- };
42702
- /** @description Internal server error */
42703
- 500: {
42704
- headers: {
42705
- [name: string]: unknown;
42706
- };
42707
- content: {
42708
- "application/json": {
42709
- code: string;
42710
- message: string;
42711
- };
42712
- };
42713
- };
42714
- };
42715
- };
42716
- getTeamsByTenantIdFeaturesByFeatureId: {
42717
- parameters: {
42718
- query?: never;
42719
- header?: never;
42720
- path: {
42721
- tenantId: string;
42722
- featureId: string;
42723
- };
42724
- cookie?: never;
42725
- };
42726
- requestBody?: never;
42727
- responses: {
42728
- /** @description Team feature flag */
42729
- 200: {
42730
- headers: {
42731
- [name: string]: unknown;
42732
- };
42733
- content: {
42734
- "application/json": {
42735
- /** Format: uuid */
42736
- tenantId: string;
42737
- /** Format: uuid */
42738
- featureId: string;
42739
- enabled: boolean;
42740
- status: ("all" | "disabled" | "partially") | null;
42741
- };
42742
- };
42743
- };
42744
- /** @description Bad request */
42745
- 400: {
42746
- headers: {
42747
- [name: string]: unknown;
42748
- };
42749
- content: {
42750
- "application/json": {
42751
- code: string;
42752
- message: string;
42753
- };
42754
- };
42755
- };
42756
- /** @description Unauthorized */
42757
- 401: {
42758
- headers: {
42759
- [name: string]: unknown;
42760
- };
42761
- content: {
42762
- "application/json": {
42763
- code: string;
42764
- message: string;
42765
- };
42766
- };
42767
- };
42768
- /** @description Forbidden */
42769
- 403: {
42770
- headers: {
42771
- [name: string]: unknown;
42772
- };
42773
- content: {
42774
- "application/json": {
42775
- code: string;
42776
- message: string;
42777
- };
42778
- };
42779
- };
42780
- /** @description Not found */
42781
- 404: {
42782
- headers: {
42783
- [name: string]: unknown;
42784
- };
42785
- content: {
42786
- "application/json": {
42787
- code: string;
42788
- message: string;
42789
- };
42790
- };
42791
- };
42792
- /** @description Internal server error */
42793
- 500: {
42794
- headers: {
42795
- [name: string]: unknown;
42796
- };
42797
- content: {
42798
- "application/json": {
42799
- code: string;
42800
- message: string;
42801
- };
42802
- };
42803
- };
42804
- };
42805
- };
42806
- putTeamsByTenantIdFeaturesByFeatureId: {
42807
- parameters: {
42808
- query?: never;
42809
- header?: never;
42810
- path: {
42811
- tenantId: string;
42812
- featureId: string;
42813
- };
42814
- cookie?: never;
42815
- };
42816
- requestBody: {
42817
- content: {
42818
- "application/json": {
42819
- status: ("all" | "disabled" | "partially") | null;
42820
- };
42821
- };
42822
- };
42823
- responses: {
42824
- /** @description Updated team feature flag */
42825
- 200: {
42826
- headers: {
42827
- [name: string]: unknown;
42828
- };
42829
- content: {
42830
- "application/json": {
42831
- /** Format: uuid */
42832
- tenantId: string;
42833
- /** Format: uuid */
42834
- featureId: string;
42835
- enabled: boolean;
42836
- status: ("all" | "disabled" | "partially") | null;
42837
- };
42838
- };
42839
- };
42840
- /** @description Bad request */
42841
- 400: {
42842
- headers: {
42843
- [name: string]: unknown;
42844
- };
42845
- content: {
42846
- "application/json": {
42847
- code: string;
42848
- message: string;
42849
- };
42850
- };
42851
- };
42852
- /** @description Unauthorized */
42853
- 401: {
42854
- headers: {
42855
- [name: string]: unknown;
42856
- };
42857
- content: {
42858
- "application/json": {
42859
- code: string;
42860
- message: string;
42861
- };
42862
- };
42863
- };
42864
- /** @description Forbidden */
42865
- 403: {
42866
- headers: {
42867
- [name: string]: unknown;
42868
- };
42869
- content: {
42870
- "application/json": {
42871
- code: string;
42872
- message: string;
42873
- };
42874
- };
42875
- };
42876
- /** @description Not found */
42877
- 404: {
42878
- headers: {
42879
- [name: string]: unknown;
42880
- };
42881
- content: {
42882
- "application/json": {
42883
- code: string;
42884
- message: string;
42885
- };
42886
- };
42887
- };
42888
- /** @description Internal server error */
42889
- 500: {
42890
- headers: {
42891
- [name: string]: unknown;
42892
- };
42893
- content: {
42894
- "application/json": {
42895
- code: string;
42896
- message: string;
42897
- };
42898
- };
42899
- };
42900
- };
42901
- };
42902
41919
  postTransactionAttachments: {
42903
41920
  parameters: {
42904
41921
  query?: never;
@@ -43018,7 +42035,7 @@ export interface operations {
43018
42035
  };
43019
42036
  cookie?: never;
43020
42037
  };
43021
- requestBody: {
42038
+ requestBody?: {
43022
42039
  content: {
43023
42040
  "application/json": Record<string, never>;
43024
42041
  };
@@ -43127,7 +42144,7 @@ export interface operations {
43127
42144
  };
43128
42145
  cookie?: never;
43129
42146
  };
43130
- requestBody: {
42147
+ requestBody?: {
43131
42148
  content: {
43132
42149
  "application/json": {
43133
42150
  isOwnerAccessible: boolean;
@@ -43730,7 +42747,7 @@ export interface operations {
43730
42747
  path?: never;
43731
42748
  cookie?: never;
43732
42749
  };
43733
- requestBody: {
42750
+ requestBody?: {
43734
42751
  content: {
43735
42752
  "application/json": {
43736
42753
  description?: string;
@@ -44139,7 +43156,7 @@ export interface operations {
44139
43156
  path?: never;
44140
43157
  cookie?: never;
44141
43158
  };
44142
- requestBody: {
43159
+ requestBody?: {
44143
43160
  content: {
44144
43161
  "application/json": {
44145
43162
  /** Format: uuid */
@@ -44849,7 +43866,7 @@ export interface operations {
44849
43866
  path?: never;
44850
43867
  cookie?: never;
44851
43868
  };
44852
- requestBody: {
43869
+ requestBody?: {
44853
43870
  content: {
44854
43871
  "application/json": {
44855
43872
  ids?: string[];
@@ -45082,7 +44099,7 @@ export interface operations {
45082
44099
  };
45083
44100
  cookie?: never;
45084
44101
  };
45085
- requestBody: {
44102
+ requestBody?: {
45086
44103
  content: {
45087
44104
  "application/json": {
45088
44105
  accountAssignment?: ("accountsPayable" | "accountsReceivable" | "cancellationRevenue" | "deferredRevenue" | "deposit_channelFee" | "deposit_coHostPayout" | "deposit_merchantFee" | "openingBalance" | "deposit_reserve" | "deposit_vat" | "dueToFromTrust" | "expense_markup" | "expense_reimbursement" | "expense_salesTax" | "payout_bankAccount" | "payout_distribution") | null;
@@ -45603,7 +44620,7 @@ export interface operations {
45603
44620
  path?: never;
45604
44621
  cookie?: never;
45605
44622
  };
45606
- requestBody: {
44623
+ requestBody?: {
45607
44624
  content: {
45608
44625
  "application/json": {
45609
44626
  uniqueRef: string;
@@ -45903,7 +44920,7 @@ export interface operations {
45903
44920
  path?: never;
45904
44921
  cookie?: never;
45905
44922
  };
45906
- requestBody: {
44923
+ requestBody?: {
45907
44924
  content: {
45908
44925
  "application/json": {
45909
44926
  date: string;
@@ -46290,7 +45307,7 @@ export interface operations {
46290
45307
  };
46291
45308
  cookie?: never;
46292
45309
  };
46293
- requestBody: {
45310
+ requestBody?: {
46294
45311
  content: {
46295
45312
  "application/json": {
46296
45313
  uniqueRef?: string;
@@ -46595,7 +45612,7 @@ export interface operations {
46595
45612
  };
46596
45613
  cookie?: never;
46597
45614
  };
46598
- requestBody: {
45615
+ requestBody?: {
46599
45616
  content: {
46600
45617
  "application/json": Record<string, never>;
46601
45618
  };
@@ -46704,7 +45721,7 @@ export interface operations {
46704
45721
  };
46705
45722
  cookie?: never;
46706
45723
  };
46707
- requestBody: {
45724
+ requestBody?: {
46708
45725
  content: {
46709
45726
  "application/json": {
46710
45727
  dates: string[] | null;
@@ -47523,7 +46540,7 @@ export interface operations {
47523
46540
  };
47524
46541
  cookie?: never;
47525
46542
  };
47526
- requestBody: {
46543
+ requestBody?: {
47527
46544
  content: {
47528
46545
  "application/json": {
47529
46546
  description?: string;
@@ -47997,7 +47014,7 @@ export interface operations {
47997
47014
  };
47998
47015
  cookie?: never;
47999
47016
  };
48000
- requestBody: {
47017
+ requestBody?: {
48001
47018
  content: {
48002
47019
  "application/json": Record<string, never>;
48003
47020
  };
@@ -48107,7 +47124,7 @@ export interface operations {
48107
47124
  };
48108
47125
  cookie?: never;
48109
47126
  };
48110
- requestBody: {
47127
+ requestBody?: {
48111
47128
  content: {
48112
47129
  "application/json": {
48113
47130
  recurringTemplateId?: string | null;
@@ -48475,7 +47492,7 @@ export interface operations {
48475
47492
  };
48476
47493
  cookie?: never;
48477
47494
  };
48478
- requestBody: {
47495
+ requestBody?: {
48479
47496
  content: {
48480
47497
  "application/json": {
48481
47498
  description: string;