@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
@@ -279,23 +279,6 @@ export interface paths {
279
279
  patch?: never;
280
280
  trace?: never;
281
281
  };
282
- "/auth/embed/session": {
283
- parameters: {
284
- query?: never;
285
- header?: never;
286
- path?: never;
287
- cookie?: never;
288
- };
289
- get?: never;
290
- put?: never;
291
- /** @description Issue a short-lived embedded session for a provider user. */
292
- post: operations["postAuthEmbedSession"];
293
- delete?: never;
294
- options?: never;
295
- head?: never;
296
- patch?: never;
297
- trace?: never;
298
- };
299
282
  "/bank-accounts/batch": {
300
283
  parameters: {
301
284
  query?: never;
@@ -615,11 +598,10 @@ export interface paths {
615
598
  path?: never;
616
599
  cookie?: never;
617
600
  };
618
- /** @description Sync connection by uniqueRef and type */
619
- get: operations["syncConnection"];
601
+ get?: never;
620
602
  put?: never;
621
603
  /** @description Sync connection by uniqueRef and type */
622
- post: operations["syncConnectionPost"];
604
+ post: operations["syncConnection"];
623
605
  delete?: never;
624
606
  options?: never;
625
607
  head?: never;
@@ -1025,23 +1007,6 @@ export interface paths {
1025
1007
  patch?: never;
1026
1008
  trace?: never;
1027
1009
  };
1028
- "/internal/tenants/{tenantId}/database": {
1029
- parameters: {
1030
- query?: never;
1031
- header?: never;
1032
- path?: never;
1033
- cookie?: never;
1034
- };
1035
- /** @description Resolve the database routing key for a tenant. */
1036
- get: operations["getInternalTenantsByTenantIdDatabase"];
1037
- put?: never;
1038
- post?: never;
1039
- delete?: never;
1040
- options?: never;
1041
- head?: never;
1042
- patch?: never;
1043
- trace?: never;
1044
- };
1045
1010
  "/internal/transit": {
1046
1011
  parameters: {
1047
1012
  query?: never;
@@ -3051,41 +3016,6 @@ export interface paths {
3051
3016
  patch?: never;
3052
3017
  trace?: never;
3053
3018
  };
3054
- "/teams/{tenantId}/features": {
3055
- parameters: {
3056
- query?: never;
3057
- header?: never;
3058
- path?: never;
3059
- cookie?: never;
3060
- };
3061
- /** @description List feature flags for one team. */
3062
- get: operations["getTeamsByTenantIdFeatures"];
3063
- put?: never;
3064
- post?: never;
3065
- delete?: never;
3066
- options?: never;
3067
- head?: never;
3068
- patch?: never;
3069
- trace?: never;
3070
- };
3071
- "/teams/{tenantId}/features/{featureId}": {
3072
- parameters: {
3073
- query?: never;
3074
- header?: never;
3075
- path?: never;
3076
- cookie?: never;
3077
- };
3078
- /** @description Get one feature flag for one team. */
3079
- get: operations["getTeamsByTenantIdFeaturesByFeatureId"];
3080
- /** @description Set one feature flag for one team. */
3081
- put: operations["putTeamsByTenantIdFeaturesByFeatureId"];
3082
- post?: never;
3083
- delete?: never;
3084
- options?: never;
3085
- head?: never;
3086
- patch?: never;
3087
- trace?: never;
3088
- };
3089
3019
  "/transaction-attachments": {
3090
3020
  parameters: {
3091
3021
  query?: never;
@@ -3675,7 +3605,7 @@ export interface operations {
3675
3605
  path?: never;
3676
3606
  cookie?: never;
3677
3607
  };
3678
- requestBody: {
3608
+ requestBody?: {
3679
3609
  content: {
3680
3610
  "application/json": {
3681
3611
  name: string;
@@ -4179,7 +4109,7 @@ export interface operations {
4179
4109
  };
4180
4110
  cookie?: never;
4181
4111
  };
4182
- requestBody: {
4112
+ requestBody?: {
4183
4113
  content: {
4184
4114
  "application/json": {
4185
4115
  name?: string;
@@ -4388,7 +4318,7 @@ export interface operations {
4388
4318
  };
4389
4319
  cookie?: never;
4390
4320
  };
4391
- requestBody: {
4321
+ requestBody?: {
4392
4322
  content: {
4393
4323
  "application/json": Record<string, never>;
4394
4324
  };
@@ -4497,7 +4427,7 @@ export interface operations {
4497
4427
  };
4498
4428
  cookie?: never;
4499
4429
  };
4500
- requestBody: {
4430
+ requestBody?: {
4501
4431
  content: {
4502
4432
  "application/json": {
4503
4433
  startingBalanceDate?: string | null;
@@ -4884,7 +4814,7 @@ export interface operations {
4884
4814
  };
4885
4815
  cookie?: never;
4886
4816
  };
4887
- requestBody: {
4817
+ requestBody?: {
4888
4818
  content: {
4889
4819
  "application/json": {
4890
4820
  /** Format: uuid */
@@ -5084,7 +5014,7 @@ export interface operations {
5084
5014
  };
5085
5015
  cookie?: never;
5086
5016
  };
5087
- requestBody: {
5017
+ requestBody?: {
5088
5018
  content: {
5089
5019
  "application/json": {
5090
5020
  /** Format: uuid */
@@ -5283,7 +5213,7 @@ export interface operations {
5283
5213
  };
5284
5214
  cookie?: never;
5285
5215
  };
5286
- requestBody: {
5216
+ requestBody?: {
5287
5217
  content: {
5288
5218
  "application/json": Record<string, never>;
5289
5219
  };
@@ -6972,101 +6902,6 @@ export interface operations {
6972
6902
  };
6973
6903
  };
6974
6904
  };
6975
- postAuthEmbedSession: {
6976
- parameters: {
6977
- query?: never;
6978
- header?: never;
6979
- path?: never;
6980
- cookie?: never;
6981
- };
6982
- requestBody: {
6983
- content: {
6984
- "application/json": {
6985
- sub: string;
6986
- /** Format: uuid */
6987
- tenantId: string;
6988
- };
6989
- };
6990
- };
6991
- responses: {
6992
- /** @description Issued embedded session */
6993
- 200: {
6994
- headers: {
6995
- [name: string]: unknown;
6996
- };
6997
- content: {
6998
- "application/json": {
6999
- accessToken: string;
7000
- expiresAt: string;
7001
- /** Format: uuid */
7002
- tenantId: string;
7003
- /** Format: uuid */
7004
- userId: string;
7005
- };
7006
- };
7007
- };
7008
- /** @description Bad request */
7009
- 400: {
7010
- headers: {
7011
- [name: string]: unknown;
7012
- };
7013
- content: {
7014
- "application/json": {
7015
- code: string;
7016
- message: string;
7017
- };
7018
- };
7019
- };
7020
- /** @description Unauthorized */
7021
- 401: {
7022
- headers: {
7023
- [name: string]: unknown;
7024
- };
7025
- content: {
7026
- "application/json": {
7027
- code: string;
7028
- message: string;
7029
- };
7030
- };
7031
- };
7032
- /** @description Forbidden */
7033
- 403: {
7034
- headers: {
7035
- [name: string]: unknown;
7036
- };
7037
- content: {
7038
- "application/json": {
7039
- code: string;
7040
- message: string;
7041
- };
7042
- };
7043
- };
7044
- /** @description Not found */
7045
- 404: {
7046
- headers: {
7047
- [name: string]: unknown;
7048
- };
7049
- content: {
7050
- "application/json": {
7051
- code: string;
7052
- message: string;
7053
- };
7054
- };
7055
- };
7056
- /** @description Internal server error */
7057
- 500: {
7058
- headers: {
7059
- [name: string]: unknown;
7060
- };
7061
- content: {
7062
- "application/json": {
7063
- code: string;
7064
- message: string;
7065
- };
7066
- };
7067
- };
7068
- };
7069
- };
7070
6905
  batchBankAccounts: {
7071
6906
  parameters: {
7072
6907
  query?: never;
@@ -7074,7 +6909,7 @@ export interface operations {
7074
6909
  path?: never;
7075
6910
  cookie?: never;
7076
6911
  };
7077
- requestBody: {
6912
+ requestBody?: {
7078
6913
  content: {
7079
6914
  "application/json": {
7080
6915
  /** Format: uuid */
@@ -7213,7 +7048,7 @@ export interface operations {
7213
7048
  };
7214
7049
  cookie?: never;
7215
7050
  };
7216
- requestBody: {
7051
+ requestBody?: {
7217
7052
  content: {
7218
7053
  "application/json": {
7219
7054
  /** @enum {string} */
@@ -7652,7 +7487,7 @@ export interface operations {
7652
7487
  path?: never;
7653
7488
  cookie?: never;
7654
7489
  };
7655
- requestBody: {
7490
+ requestBody?: {
7656
7491
  content: {
7657
7492
  "application/json": {
7658
7493
  /** Format: uuid */
@@ -8190,7 +8025,7 @@ export interface operations {
8190
8025
  };
8191
8026
  cookie?: never;
8192
8027
  };
8193
- requestBody: {
8028
+ requestBody?: {
8194
8029
  content: {
8195
8030
  "application/json": {
8196
8031
  reconciledTransactionIds?: string[] | null;
@@ -8523,7 +8358,7 @@ export interface operations {
8523
8358
  path?: never;
8524
8359
  cookie?: never;
8525
8360
  };
8526
- requestBody: {
8361
+ requestBody?: {
8527
8362
  content: {
8528
8363
  "application/json": {
8529
8364
  name: string;
@@ -8775,7 +8610,7 @@ export interface operations {
8775
8610
  path?: never;
8776
8611
  cookie?: never;
8777
8612
  };
8778
- requestBody: {
8613
+ requestBody?: {
8779
8614
  content: {
8780
8615
  "application/json": {
8781
8616
  name: string;
@@ -9194,7 +9029,7 @@ export interface operations {
9194
9029
  };
9195
9030
  cookie?: never;
9196
9031
  };
9197
- requestBody: {
9032
+ requestBody?: {
9198
9033
  content: {
9199
9034
  "application/json": {
9200
9035
  name?: string;
@@ -9450,7 +9285,7 @@ export interface operations {
9450
9285
  };
9451
9286
  cookie?: never;
9452
9287
  };
9453
- requestBody: {
9288
+ requestBody?: {
9454
9289
  content: {
9455
9290
  "application/json": Record<string, never>;
9456
9291
  };
@@ -9559,7 +9394,7 @@ export interface operations {
9559
9394
  };
9560
9395
  cookie?: never;
9561
9396
  };
9562
- requestBody: {
9397
+ requestBody?: {
9563
9398
  content: {
9564
9399
  "application/json": {
9565
9400
  bankRecordIds: string[];
@@ -9962,7 +9797,7 @@ export interface operations {
9962
9797
  path?: never;
9963
9798
  cookie?: never;
9964
9799
  };
9965
- requestBody: {
9800
+ requestBody?: {
9966
9801
  content: {
9967
9802
  "application/json": {
9968
9803
  listingId: string;
@@ -10090,7 +9925,7 @@ export interface operations {
10090
9925
  path?: never;
10091
9926
  cookie?: never;
10092
9927
  };
10093
- requestBody: {
9928
+ requestBody?: {
10094
9929
  content: {
10095
9930
  "application/json": Record<string, never>;
10096
9931
  };
@@ -10361,7 +10196,7 @@ export interface operations {
10361
10196
  path?: never;
10362
10197
  cookie?: never;
10363
10198
  };
10364
- requestBody: {
10199
+ requestBody?: {
10365
10200
  content: {
10366
10201
  "application/json": {
10367
10202
  name?: string;
@@ -10504,7 +10339,7 @@ export interface operations {
10504
10339
  path?: never;
10505
10340
  cookie?: never;
10506
10341
  };
10507
- requestBody: {
10342
+ requestBody?: {
10508
10343
  content: {
10509
10344
  "application/json": {
10510
10345
  isInitial?: boolean;
@@ -10637,7 +10472,7 @@ export interface operations {
10637
10472
  path?: never;
10638
10473
  cookie?: never;
10639
10474
  };
10640
- requestBody: {
10475
+ requestBody?: {
10641
10476
  content: {
10642
10477
  "application/json": {
10643
10478
  appId: string;
@@ -10890,7 +10725,7 @@ export interface operations {
10890
10725
  };
10891
10726
  cookie?: never;
10892
10727
  };
10893
- requestBody: {
10728
+ requestBody?: {
10894
10729
  content: {
10895
10730
  "application/json": Record<string, never>;
10896
10731
  };
@@ -10991,149 +10826,6 @@ export interface operations {
10991
10826
  };
10992
10827
  };
10993
10828
  syncConnection: {
10994
- parameters: {
10995
- query: {
10996
- uniqueRef: string;
10997
- type: "reservation" | "listing" | "payout";
10998
- };
10999
- header?: never;
11000
- path: {
11001
- id: string;
11002
- };
11003
- cookie?: never;
11004
- };
11005
- requestBody?: never;
11006
- responses: {
11007
- /** @description Successful response */
11008
- 200: {
11009
- headers: {
11010
- [name: string]: unknown;
11011
- };
11012
- content: {
11013
- "application/json": ({
11014
- /** Format: uuid */
11015
- id: string;
11016
- /** @constant */
11017
- status: "completed";
11018
- message: string;
11019
- /** @constant */
11020
- type: "reservation";
11021
- /** Format: uuid */
11022
- reservationId: string;
11023
- } | {
11024
- /** Format: uuid */
11025
- id: string;
11026
- /** @constant */
11027
- status: "completed";
11028
- message: string;
11029
- /** @constant */
11030
- type: "listing";
11031
- /** Format: uuid */
11032
- listingId: string;
11033
- } | {
11034
- /** Format: uuid */
11035
- id: string;
11036
- /** @constant */
11037
- status: "completed";
11038
- message: string;
11039
- /** @constant */
11040
- type: "payout";
11041
- /** Format: uuid */
11042
- paymentId: string;
11043
- }) | {
11044
- /** Format: uuid */
11045
- id: string;
11046
- /** @constant */
11047
- status: "failed";
11048
- message: string;
11049
- /** @enum {string} */
11050
- type: "reservation" | "listing" | "payout";
11051
- };
11052
- };
11053
- };
11054
- /** @description Bad request */
11055
- 400: {
11056
- headers: {
11057
- [name: string]: unknown;
11058
- };
11059
- content: {
11060
- "application/json": {
11061
- code: string;
11062
- message: string;
11063
- issues?: {
11064
- message: string;
11065
- }[];
11066
- context?: unknown;
11067
- };
11068
- };
11069
- };
11070
- /** @description Unauthorized */
11071
- 401: {
11072
- headers: {
11073
- [name: string]: unknown;
11074
- };
11075
- content: {
11076
- "application/json": {
11077
- code: string;
11078
- message: string;
11079
- issues?: {
11080
- message: string;
11081
- }[];
11082
- context?: unknown;
11083
- };
11084
- };
11085
- };
11086
- /** @description Forbidden */
11087
- 403: {
11088
- headers: {
11089
- [name: string]: unknown;
11090
- };
11091
- content: {
11092
- "application/json": {
11093
- code: string;
11094
- message: string;
11095
- issues?: {
11096
- message: string;
11097
- }[];
11098
- context?: unknown;
11099
- };
11100
- };
11101
- };
11102
- /** @description Not found */
11103
- 404: {
11104
- headers: {
11105
- [name: string]: unknown;
11106
- };
11107
- content: {
11108
- "application/json": {
11109
- code: string;
11110
- message: string;
11111
- issues?: {
11112
- message: string;
11113
- }[];
11114
- context?: unknown;
11115
- };
11116
- };
11117
- };
11118
- /** @description Internal server error */
11119
- 500: {
11120
- headers: {
11121
- [name: string]: unknown;
11122
- };
11123
- content: {
11124
- "application/json": {
11125
- code: string;
11126
- message: string;
11127
- issues?: {
11128
- message: string;
11129
- }[];
11130
- context?: unknown;
11131
- };
11132
- };
11133
- };
11134
- };
11135
- };
11136
- syncConnectionPost: {
11137
10829
  parameters: {
11138
10830
  query?: never;
11139
10831
  header?: never;
@@ -11142,7 +10834,7 @@ export interface operations {
11142
10834
  };
11143
10835
  cookie?: never;
11144
10836
  };
11145
- requestBody: {
10837
+ requestBody?: {
11146
10838
  content: {
11147
10839
  "application/json": {
11148
10840
  uniqueRef: string;
@@ -11158,45 +10850,7 @@ export interface operations {
11158
10850
  [name: string]: unknown;
11159
10851
  };
11160
10852
  content: {
11161
- "application/json": (({
11162
- /** Format: uuid */
11163
- id: string;
11164
- /** @constant */
11165
- status: "completed";
11166
- message: string;
11167
- /** @constant */
11168
- type: "reservation";
11169
- /** Format: uuid */
11170
- reservationId: string;
11171
- } | {
11172
- /** Format: uuid */
11173
- id: string;
11174
- /** @constant */
11175
- status: "completed";
11176
- message: string;
11177
- /** @constant */
11178
- type: "listing";
11179
- /** Format: uuid */
11180
- listingId: string;
11181
- } | {
11182
- /** Format: uuid */
11183
- id: string;
11184
- /** @constant */
11185
- status: "completed";
11186
- message: string;
11187
- /** @constant */
11188
- type: "payout";
11189
- /** Format: uuid */
11190
- paymentId: string;
11191
- }) | {
11192
- /** Format: uuid */
11193
- id: string;
11194
- /** @constant */
11195
- status: "failed";
11196
- message: string;
11197
- /** @enum {string} */
11198
- type: "reservation" | "listing" | "payout";
11199
- }) | (({
10853
+ "application/json": ({
11200
10854
  /** Format: uuid */
11201
10855
  id: string;
11202
10856
  /** @constant */
@@ -11234,7 +10888,7 @@ export interface operations {
11234
10888
  message: string;
11235
10889
  /** @enum {string} */
11236
10890
  type: "reservation" | "listing" | "payout";
11237
- })[];
10891
+ };
11238
10892
  };
11239
10893
  };
11240
10894
  /** @description Bad request */
@@ -11497,7 +11151,7 @@ export interface operations {
11497
11151
  path?: never;
11498
11152
  cookie?: never;
11499
11153
  };
11500
- requestBody: {
11154
+ requestBody?: {
11501
11155
  content: {
11502
11156
  "application/json": {
11503
11157
  address?: {
@@ -11675,7 +11329,7 @@ export interface operations {
11675
11329
  path?: never;
11676
11330
  cookie?: never;
11677
11331
  };
11678
- requestBody: {
11332
+ requestBody?: {
11679
11333
  content: {
11680
11334
  "application/json": {
11681
11335
  /** Format: uuid */
@@ -12088,7 +11742,7 @@ export interface operations {
12088
11742
  };
12089
11743
  cookie?: never;
12090
11744
  };
12091
- requestBody: {
11745
+ requestBody?: {
12092
11746
  content: {
12093
11747
  "application/json": {
12094
11748
  address?: {
@@ -12270,7 +11924,7 @@ export interface operations {
12270
11924
  };
12271
11925
  cookie?: never;
12272
11926
  };
12273
- requestBody: {
11927
+ requestBody?: {
12274
11928
  content: {
12275
11929
  "application/json": Record<string, never>;
12276
11930
  };
@@ -12379,7 +12033,7 @@ export interface operations {
12379
12033
  };
12380
12034
  cookie?: never;
12381
12035
  };
12382
- requestBody: {
12036
+ requestBody?: {
12383
12037
  content: {
12384
12038
  "application/json": {
12385
12039
  /** @default true */
@@ -12490,7 +12144,7 @@ export interface operations {
12490
12144
  };
12491
12145
  cookie?: never;
12492
12146
  };
12493
- requestBody: {
12147
+ requestBody?: {
12494
12148
  content: {
12495
12149
  "application/json": Record<string, never>;
12496
12150
  };
@@ -12597,7 +12251,7 @@ export interface operations {
12597
12251
  path?: never;
12598
12252
  cookie?: never;
12599
12253
  };
12600
- requestBody: {
12254
+ requestBody?: {
12601
12255
  content: {
12602
12256
  "application/json": {
12603
12257
  fileData?: string;
@@ -13202,7 +12856,7 @@ export interface operations {
13202
12856
  };
13203
12857
  cookie?: never;
13204
12858
  };
13205
- requestBody: {
12859
+ requestBody?: {
13206
12860
  content: {
13207
12861
  "application/json": {
13208
12862
  /** @enum {string} */
@@ -13484,7 +13138,7 @@ export interface operations {
13484
13138
  };
13485
13139
  cookie?: never;
13486
13140
  };
13487
- requestBody: {
13141
+ requestBody?: {
13488
13142
  content: {
13489
13143
  "application/json": {
13490
13144
  /** Format: uuid */
@@ -14101,7 +13755,7 @@ export interface operations {
14101
13755
  };
14102
13756
  cookie?: never;
14103
13757
  };
14104
- requestBody: {
13758
+ requestBody?: {
14105
13759
  content: {
14106
13760
  "application/json": {
14107
13761
  value: ((string | number | boolean | null) | (string | number | boolean | null)[] | {
@@ -14467,7 +14121,7 @@ export interface operations {
14467
14121
  path?: never;
14468
14122
  cookie?: never;
14469
14123
  };
14470
- requestBody: {
14124
+ requestBody?: {
14471
14125
  content: {
14472
14126
  "application/json": {
14473
14127
  bookingChannelIds: string[];
@@ -14588,7 +14242,7 @@ export interface operations {
14588
14242
  path?: never;
14589
14243
  cookie?: never;
14590
14244
  };
14591
- requestBody: {
14245
+ requestBody?: {
14592
14246
  content: {
14593
14247
  "application/json": {
14594
14248
  /** Format: uuid */
@@ -14708,7 +14362,7 @@ export interface operations {
14708
14362
  path?: never;
14709
14363
  cookie?: never;
14710
14364
  };
14711
- requestBody: {
14365
+ requestBody?: {
14712
14366
  content: {
14713
14367
  "application/json": {
14714
14368
  uniqueRef: string;
@@ -15075,7 +14729,7 @@ export interface operations {
15075
14729
  };
15076
14730
  cookie?: never;
15077
14731
  };
15078
- requestBody: {
14732
+ requestBody?: {
15079
14733
  content: {
15080
14734
  "application/json": Record<string, never>;
15081
14735
  };
@@ -15192,7 +14846,7 @@ export interface operations {
15192
14846
  };
15193
14847
  cookie?: never;
15194
14848
  };
15195
- requestBody: {
14849
+ requestBody?: {
15196
14850
  content: {
15197
14851
  "application/json": {
15198
14852
  comment: string | null;
@@ -15315,7 +14969,7 @@ export interface operations {
15315
14969
  };
15316
14970
  cookie?: never;
15317
14971
  };
15318
- requestBody: {
14972
+ requestBody?: {
15319
14973
  content: {
15320
14974
  "application/json": {
15321
14975
  candidateId: string | null;
@@ -15424,114 +15078,6 @@ export interface operations {
15424
15078
  };
15425
15079
  };
15426
15080
  };
15427
- getInternalTenantsByTenantIdDatabase: {
15428
- parameters: {
15429
- query?: never;
15430
- header?: never;
15431
- path: {
15432
- tenantId: string;
15433
- };
15434
- cookie?: never;
15435
- };
15436
- requestBody?: never;
15437
- responses: {
15438
- /** @description Successful response */
15439
- 200: {
15440
- headers: {
15441
- [name: string]: unknown;
15442
- };
15443
- content: {
15444
- "application/json": {
15445
- /** @enum {string} */
15446
- dbKey: "us" | "eu" | "ap" | "crunchy";
15447
- /** @enum {string} */
15448
- dataRegion: "us" | "eu" | "ap";
15449
- ledgerPlaneKey: string;
15450
- };
15451
- };
15452
- };
15453
- /** @description Bad request */
15454
- 400: {
15455
- headers: {
15456
- [name: string]: unknown;
15457
- };
15458
- content: {
15459
- "application/json": {
15460
- code: string;
15461
- message: string;
15462
- issues?: {
15463
- message: string;
15464
- }[];
15465
- context?: unknown;
15466
- };
15467
- };
15468
- };
15469
- /** @description Unauthorized */
15470
- 401: {
15471
- headers: {
15472
- [name: string]: unknown;
15473
- };
15474
- content: {
15475
- "application/json": {
15476
- code: string;
15477
- message: string;
15478
- issues?: {
15479
- message: string;
15480
- }[];
15481
- context?: unknown;
15482
- };
15483
- };
15484
- };
15485
- /** @description Forbidden */
15486
- 403: {
15487
- headers: {
15488
- [name: string]: unknown;
15489
- };
15490
- content: {
15491
- "application/json": {
15492
- code: string;
15493
- message: string;
15494
- issues?: {
15495
- message: string;
15496
- }[];
15497
- context?: unknown;
15498
- };
15499
- };
15500
- };
15501
- /** @description Not found */
15502
- 404: {
15503
- headers: {
15504
- [name: string]: unknown;
15505
- };
15506
- content: {
15507
- "application/json": {
15508
- code: string;
15509
- message: string;
15510
- issues?: {
15511
- message: string;
15512
- }[];
15513
- context?: unknown;
15514
- };
15515
- };
15516
- };
15517
- /** @description Internal server error */
15518
- 500: {
15519
- headers: {
15520
- [name: string]: unknown;
15521
- };
15522
- content: {
15523
- "application/json": {
15524
- code: string;
15525
- message: string;
15526
- issues?: {
15527
- message: string;
15528
- }[];
15529
- context?: unknown;
15530
- };
15531
- };
15532
- };
15533
- };
15534
- };
15535
15081
  postInternalTransit: {
15536
15082
  parameters: {
15537
15083
  query: {
@@ -16185,7 +15731,7 @@ export interface operations {
16185
15731
  path?: never;
16186
15732
  cookie?: never;
16187
15733
  };
16188
- requestBody: {
15734
+ requestBody?: {
16189
15735
  content: {
16190
15736
  "application/json": {
16191
15737
  name?: string | null;
@@ -16441,7 +15987,7 @@ export interface operations {
16441
15987
  path?: never;
16442
15988
  cookie?: never;
16443
15989
  };
16444
- requestBody: {
15990
+ requestBody?: {
16445
15991
  content: {
16446
15992
  "application/json": {
16447
15993
  /** Format: uuid */
@@ -16983,7 +16529,7 @@ export interface operations {
16983
16529
  path?: never;
16984
16530
  cookie?: never;
16985
16531
  };
16986
- requestBody: {
16532
+ requestBody?: {
16987
16533
  content: {
16988
16534
  "application/json": {
16989
16535
  /** Format: uuid */
@@ -17234,7 +16780,7 @@ export interface operations {
17234
16780
  };
17235
16781
  cookie?: never;
17236
16782
  };
17237
- requestBody: {
16783
+ requestBody?: {
17238
16784
  content: {
17239
16785
  "application/json": {
17240
16786
  /** Format: uuid */
@@ -17371,7 +16917,7 @@ export interface operations {
17371
16917
  };
17372
16918
  cookie?: never;
17373
16919
  };
17374
- requestBody: {
16920
+ requestBody?: {
17375
16921
  content: {
17376
16922
  "application/json": Record<string, never>;
17377
16923
  };
@@ -17692,7 +17238,7 @@ export interface operations {
17692
17238
  };
17693
17239
  cookie?: never;
17694
17240
  };
17695
- requestBody: {
17241
+ requestBody?: {
17696
17242
  content: {
17697
17243
  "application/json": {
17698
17244
  name?: string | null;
@@ -17953,7 +17499,7 @@ export interface operations {
17953
17499
  };
17954
17500
  cookie?: never;
17955
17501
  };
17956
- requestBody: {
17502
+ requestBody?: {
17957
17503
  content: {
17958
17504
  "application/json": Record<string, never>;
17959
17505
  };
@@ -18172,7 +17718,7 @@ export interface operations {
18172
17718
  };
18173
17719
  cookie?: never;
18174
17720
  };
18175
- requestBody: {
17721
+ requestBody?: {
18176
17722
  content: {
18177
17723
  "application/json": {
18178
17724
  /** @description Value in cents (100 = 1€) */
@@ -20435,7 +19981,7 @@ export interface operations {
20435
19981
  path?: never;
20436
19982
  cookie?: never;
20437
19983
  };
20438
- requestBody: {
19984
+ requestBody?: {
20439
19985
  content: {
20440
19986
  "application/json": {
20441
19987
  connectionId: string;
@@ -20590,7 +20136,7 @@ export interface operations {
20590
20136
  path?: never;
20591
20137
  cookie?: never;
20592
20138
  };
20593
- requestBody: {
20139
+ requestBody?: {
20594
20140
  content: {
20595
20141
  "application/json": {
20596
20142
  connectionId?: string | null;
@@ -20702,7 +20248,7 @@ export interface operations {
20702
20248
  path?: never;
20703
20249
  cookie?: never;
20704
20250
  };
20705
- requestBody: {
20251
+ requestBody?: {
20706
20252
  content: {
20707
20253
  "application/json": {
20708
20254
  environment?: ("sandbox" | "production") | null;
@@ -21152,7 +20698,7 @@ export interface operations {
21152
20698
  path?: never;
21153
20699
  cookie?: never;
21154
20700
  };
21155
- requestBody: {
20701
+ requestBody?: {
21156
20702
  content: {
21157
20703
  "application/json": {
21158
20704
  name: string;
@@ -21291,7 +20837,7 @@ export interface operations {
21291
20837
  };
21292
20838
  cookie?: never;
21293
20839
  };
21294
- requestBody: {
20840
+ requestBody?: {
21295
20841
  content: {
21296
20842
  "application/json": {
21297
20843
  name?: string;
@@ -21432,7 +20978,7 @@ export interface operations {
21432
20978
  };
21433
20979
  cookie?: never;
21434
20980
  };
21435
- requestBody: {
20981
+ requestBody?: {
21436
20982
  content: {
21437
20983
  "application/json": Record<string, never>;
21438
20984
  };
@@ -21745,7 +21291,7 @@ export interface operations {
21745
21291
  path?: never;
21746
21292
  cookie?: never;
21747
21293
  };
21748
- requestBody: {
21294
+ requestBody?: {
21749
21295
  content: {
21750
21296
  "application/json": {
21751
21297
  uniqueRef?: string | null;
@@ -22102,7 +21648,7 @@ export interface operations {
22102
21648
  path?: never;
22103
21649
  cookie?: never;
22104
21650
  };
22105
- requestBody: {
21651
+ requestBody?: {
22106
21652
  content: {
22107
21653
  "application/json": {
22108
21654
  /** Format: uuid */
@@ -22233,7 +21779,7 @@ export interface operations {
22233
21779
  };
22234
21780
  cookie?: never;
22235
21781
  };
22236
- requestBody: {
21782
+ requestBody?: {
22237
21783
  content: {
22238
21784
  "application/json": {
22239
21785
  /** Format: uuid */
@@ -22364,7 +21910,7 @@ export interface operations {
22364
21910
  };
22365
21911
  cookie?: never;
22366
21912
  };
22367
- requestBody: {
21913
+ requestBody?: {
22368
21914
  content: {
22369
21915
  "application/json": Record<string, never>;
22370
21916
  };
@@ -22471,7 +22017,7 @@ export interface operations {
22471
22017
  path?: never;
22472
22018
  cookie?: never;
22473
22019
  };
22474
- requestBody: {
22020
+ requestBody?: {
22475
22021
  content: {
22476
22022
  "application/json": {
22477
22023
  uniqueRef?: string | null;
@@ -22913,7 +22459,7 @@ export interface operations {
22913
22459
  };
22914
22460
  cookie?: never;
22915
22461
  };
22916
- requestBody: {
22462
+ requestBody?: {
22917
22463
  content: {
22918
22464
  "application/json": {
22919
22465
  uniqueRef?: string | null;
@@ -23139,7 +22685,7 @@ export interface operations {
23139
22685
  };
23140
22686
  cookie?: never;
23141
22687
  };
23142
- requestBody: {
22688
+ requestBody?: {
23143
22689
  content: {
23144
22690
  "application/json": Record<string, never>;
23145
22691
  };
@@ -27634,7 +27180,7 @@ export interface operations {
27634
27180
  path?: never;
27635
27181
  cookie?: never;
27636
27182
  };
27637
- requestBody: {
27183
+ requestBody?: {
27638
27184
  content: {
27639
27185
  "application/json": {
27640
27186
  currency?: string | null;
@@ -28130,7 +27676,7 @@ export interface operations {
28130
27676
  path?: never;
28131
27677
  cookie?: never;
28132
27678
  };
28133
- requestBody: {
27679
+ requestBody?: {
28134
27680
  content: {
28135
27681
  "application/json": {
28136
27682
  /** Format: uuid */
@@ -28432,7 +27978,7 @@ export interface operations {
28432
27978
  path?: never;
28433
27979
  cookie?: never;
28434
27980
  };
28435
- requestBody: {
27981
+ requestBody?: {
28436
27982
  content: {
28437
27983
  "application/json": {
28438
27984
  /**
@@ -28693,7 +28239,7 @@ export interface operations {
28693
28239
  path?: never;
28694
28240
  cookie?: never;
28695
28241
  };
28696
- requestBody: {
28242
+ requestBody?: {
28697
28243
  content: {
28698
28244
  "application/json": {
28699
28245
  type: string;
@@ -28938,7 +28484,7 @@ export interface operations {
28938
28484
  };
28939
28485
  cookie?: never;
28940
28486
  };
28941
- requestBody: {
28487
+ requestBody?: {
28942
28488
  content: {
28943
28489
  "application/json": {
28944
28490
  description?: string | null;
@@ -29530,7 +29076,7 @@ export interface operations {
29530
29076
  };
29531
29077
  cookie?: never;
29532
29078
  };
29533
- requestBody: {
29079
+ requestBody?: {
29534
29080
  content: {
29535
29081
  "application/json": {
29536
29082
  currency?: string | null;
@@ -30105,7 +29651,7 @@ export interface operations {
30105
29651
  };
30106
29652
  cookie?: never;
30107
29653
  };
30108
- requestBody: {
29654
+ requestBody?: {
30109
29655
  content: {
30110
29656
  "application/json": Record<string, never>;
30111
29657
  };
@@ -30214,7 +29760,7 @@ export interface operations {
30214
29760
  };
30215
29761
  cookie?: never;
30216
29762
  };
30217
- requestBody: {
29763
+ requestBody?: {
30218
29764
  content: {
30219
29765
  "application/json": {
30220
29766
  /** @enum {string} */
@@ -30328,7 +29874,7 @@ export interface operations {
30328
29874
  };
30329
29875
  cookie?: never;
30330
29876
  };
30331
- requestBody: {
29877
+ requestBody?: {
30332
29878
  content: {
30333
29879
  "application/json": {
30334
29880
  id?: string | null;
@@ -30793,7 +30339,7 @@ export interface operations {
30793
30339
  };
30794
30340
  cookie?: never;
30795
30341
  };
30796
- requestBody: {
30342
+ requestBody?: {
30797
30343
  content: {
30798
30344
  "application/json": {
30799
30345
  description?: string | null;
@@ -31257,7 +30803,7 @@ export interface operations {
31257
30803
  };
31258
30804
  cookie?: never;
31259
30805
  };
31260
- requestBody: {
30806
+ requestBody?: {
31261
30807
  content: {
31262
30808
  "application/json": Record<string, never>;
31263
30809
  };
@@ -32084,7 +31630,7 @@ export interface operations {
32084
31630
  path?: never;
32085
31631
  cookie?: never;
32086
31632
  };
32087
- requestBody: {
31633
+ requestBody?: {
32088
31634
  content: {
32089
31635
  "application/json": {
32090
31636
  /**
@@ -32368,42 +31914,17 @@ export interface operations {
32368
31914
  name: string;
32369
31915
  locked?: boolean | null;
32370
31916
  visible?: ("all" | "manager") | null;
32371
- /** @constant */
32372
- type: "field";
31917
+ /** @enum {string} */
31918
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
32373
31919
  value: string;
32374
31920
  } | {
32375
31921
  id?: string | null;
32376
31922
  name: string;
32377
31923
  locked?: boolean | null;
32378
31924
  visible?: ("all" | "manager") | null;
32379
- /** @constant */
31925
+ /** @enum {string} */
32380
31926
  type: "accounts";
32381
31927
  value: string[];
32382
- } | {
32383
- id?: string | null;
32384
- name: string;
32385
- locked?: boolean | null;
32386
- visible?: ("all" | "manager") | null;
32387
- /** @constant */
32388
- type: "subTotal";
32389
- value: string;
32390
- } | {
32391
- id?: string | null;
32392
- name: string;
32393
- locked?: boolean | null;
32394
- visible?: ("all" | "manager") | null;
32395
- /** @constant */
32396
- type: "formula.currency";
32397
- value: string;
32398
- } | {
32399
- id?: string | null;
32400
- name: string;
32401
- locked?: boolean | null;
32402
- visible?: ("all" | "manager") | null;
32403
- /** @constant */
32404
- type: "formula.percentage";
32405
- value: string;
32406
- decimals?: (0 | 1 | 2 | 3) | null;
32407
31928
  })[];
32408
31929
  }[];
32409
31930
  otherSections: {
@@ -32416,7 +31937,7 @@ export interface operations {
32416
31937
  name: string;
32417
31938
  locked?: boolean | null;
32418
31939
  visible?: ("all" | "manager") | null;
32419
- /** @constant */
31940
+ /** @enum {string} */
32420
31941
  type: "field";
32421
31942
  value: string;
32422
31943
  } | {
@@ -32424,7 +31945,7 @@ export interface operations {
32424
31945
  name: string;
32425
31946
  locked?: boolean | null;
32426
31947
  visible?: ("all" | "manager") | null;
32427
- /** @constant */
31948
+ /** @enum {string} */
32428
31949
  type: "accounts";
32429
31950
  value: string[];
32430
31951
  })[];
@@ -32453,7 +31974,7 @@ export interface operations {
32453
31974
  name: string;
32454
31975
  locked?: boolean | null;
32455
31976
  visible?: ("all" | "manager") | null;
32456
- /** @constant */
31977
+ /** @enum {string} */
32457
31978
  type: "field";
32458
31979
  value: string;
32459
31980
  } | {
@@ -32461,7 +31982,7 @@ export interface operations {
32461
31982
  name: string;
32462
31983
  locked?: boolean | null;
32463
31984
  visible?: ("all" | "manager") | null;
32464
- /** @constant */
31985
+ /** @enum {string} */
32465
31986
  type: "accounts";
32466
31987
  value: string[];
32467
31988
  })[];
@@ -33004,42 +32525,17 @@ export interface operations {
33004
32525
  name: string;
33005
32526
  locked?: boolean | null;
33006
32527
  visible?: ("all" | "manager") | null;
33007
- /** @constant */
33008
- type: "field";
32528
+ /** @enum {string} */
32529
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33009
32530
  value: string;
33010
32531
  } | {
33011
32532
  id?: string | null;
33012
32533
  name: string;
33013
32534
  locked?: boolean | null;
33014
32535
  visible?: ("all" | "manager") | null;
33015
- /** @constant */
32536
+ /** @enum {string} */
33016
32537
  type: "accounts";
33017
32538
  value: string[];
33018
- } | {
33019
- id?: string | null;
33020
- name: string;
33021
- locked?: boolean | null;
33022
- visible?: ("all" | "manager") | null;
33023
- /** @constant */
33024
- type: "subTotal";
33025
- value: string;
33026
- } | {
33027
- id?: string | null;
33028
- name: string;
33029
- locked?: boolean | null;
33030
- visible?: ("all" | "manager") | null;
33031
- /** @constant */
33032
- type: "formula.currency";
33033
- value: string;
33034
- } | {
33035
- id?: string | null;
33036
- name: string;
33037
- locked?: boolean | null;
33038
- visible?: ("all" | "manager") | null;
33039
- /** @constant */
33040
- type: "formula.percentage";
33041
- value: string;
33042
- decimals?: (0 | 1 | 2 | 3) | null;
33043
32539
  })[];
33044
32540
  }[];
33045
32541
  otherSections: {
@@ -33052,7 +32548,7 @@ export interface operations {
33052
32548
  name: string;
33053
32549
  locked?: boolean | null;
33054
32550
  visible?: ("all" | "manager") | null;
33055
- /** @constant */
32551
+ /** @enum {string} */
33056
32552
  type: "field";
33057
32553
  value: string;
33058
32554
  } | {
@@ -33060,7 +32556,7 @@ export interface operations {
33060
32556
  name: string;
33061
32557
  locked?: boolean | null;
33062
32558
  visible?: ("all" | "manager") | null;
33063
- /** @constant */
32559
+ /** @enum {string} */
33064
32560
  type: "accounts";
33065
32561
  value: string[];
33066
32562
  })[];
@@ -33089,7 +32585,7 @@ export interface operations {
33089
32585
  name: string;
33090
32586
  locked?: boolean | null;
33091
32587
  visible?: ("all" | "manager") | null;
33092
- /** @constant */
32588
+ /** @enum {string} */
33093
32589
  type: "field";
33094
32590
  value: string;
33095
32591
  } | {
@@ -33097,7 +32593,7 @@ export interface operations {
33097
32593
  name: string;
33098
32594
  locked?: boolean | null;
33099
32595
  visible?: ("all" | "manager") | null;
33100
- /** @constant */
32596
+ /** @enum {string} */
33101
32597
  type: "accounts";
33102
32598
  value: string[];
33103
32599
  })[];
@@ -33479,8 +32975,6 @@ export interface operations {
33479
32975
  getStatementsCsv: {
33480
32976
  parameters: {
33481
32977
  query?: {
33482
- limit?: number;
33483
- page?: number;
33484
32978
  periodIds?: string;
33485
32979
  /** @description Year in format YYYY */
33486
32980
  year?: number;
@@ -33600,8 +33094,6 @@ export interface operations {
33600
33094
  getStatementsCsvDetailed: {
33601
33095
  parameters: {
33602
33096
  query?: {
33603
- limit?: number;
33604
- page?: number;
33605
33097
  periodIds?: string;
33606
33098
  /** @description Year in format YYYY */
33607
33099
  year?: number;
@@ -33757,42 +33249,17 @@ export interface operations {
33757
33249
  name: string;
33758
33250
  locked?: boolean | null;
33759
33251
  visible?: ("all" | "manager") | null;
33760
- /** @constant */
33761
- type: "field";
33252
+ /** @enum {string} */
33253
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33762
33254
  value: string;
33763
33255
  } | {
33764
33256
  id?: string | null;
33765
33257
  name: string;
33766
33258
  locked?: boolean | null;
33767
33259
  visible?: ("all" | "manager") | null;
33768
- /** @constant */
33260
+ /** @enum {string} */
33769
33261
  type: "accounts";
33770
33262
  value: string[];
33771
- } | {
33772
- id?: string | null;
33773
- name: string;
33774
- locked?: boolean | null;
33775
- visible?: ("all" | "manager") | null;
33776
- /** @constant */
33777
- type: "subTotal";
33778
- value: string;
33779
- } | {
33780
- id?: string | null;
33781
- name: string;
33782
- locked?: boolean | null;
33783
- visible?: ("all" | "manager") | null;
33784
- /** @constant */
33785
- type: "formula.currency";
33786
- value: string;
33787
- } | {
33788
- id?: string | null;
33789
- name: string;
33790
- locked?: boolean | null;
33791
- visible?: ("all" | "manager") | null;
33792
- /** @constant */
33793
- type: "formula.percentage";
33794
- value: string;
33795
- decimals?: (0 | 1 | 2 | 3) | null;
33796
33263
  })[];
33797
33264
  }[];
33798
33265
  otherSections: {
@@ -33805,7 +33272,7 @@ export interface operations {
33805
33272
  name: string;
33806
33273
  locked?: boolean | null;
33807
33274
  visible?: ("all" | "manager") | null;
33808
- /** @constant */
33275
+ /** @enum {string} */
33809
33276
  type: "field";
33810
33277
  value: string;
33811
33278
  } | {
@@ -33813,7 +33280,7 @@ export interface operations {
33813
33280
  name: string;
33814
33281
  locked?: boolean | null;
33815
33282
  visible?: ("all" | "manager") | null;
33816
- /** @constant */
33283
+ /** @enum {string} */
33817
33284
  type: "accounts";
33818
33285
  value: string[];
33819
33286
  })[];
@@ -33842,7 +33309,7 @@ export interface operations {
33842
33309
  name: string;
33843
33310
  locked?: boolean | null;
33844
33311
  visible?: ("all" | "manager") | null;
33845
- /** @constant */
33312
+ /** @enum {string} */
33846
33313
  type: "field";
33847
33314
  value: string;
33848
33315
  } | {
@@ -33850,7 +33317,7 @@ export interface operations {
33850
33317
  name: string;
33851
33318
  locked?: boolean | null;
33852
33319
  visible?: ("all" | "manager") | null;
33853
- /** @constant */
33320
+ /** @enum {string} */
33854
33321
  type: "accounts";
33855
33322
  value: string[];
33856
33323
  })[];
@@ -33957,7 +33424,7 @@ export interface operations {
33957
33424
  path?: never;
33958
33425
  cookie?: never;
33959
33426
  };
33960
- requestBody: {
33427
+ requestBody?: {
33961
33428
  content: {
33962
33429
  "application/json": {
33963
33430
  name: string;
@@ -33976,42 +33443,17 @@ export interface operations {
33976
33443
  name: string;
33977
33444
  locked?: boolean | null;
33978
33445
  visible?: ("all" | "manager") | null;
33979
- /** @constant */
33980
- type: "field";
33446
+ /** @enum {string} */
33447
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
33981
33448
  value: string;
33982
33449
  } | {
33983
33450
  id?: string | null;
33984
33451
  name: string;
33985
33452
  locked?: boolean | null;
33986
33453
  visible?: ("all" | "manager") | null;
33987
- /** @constant */
33454
+ /** @enum {string} */
33988
33455
  type: "accounts";
33989
33456
  value: string[];
33990
- } | {
33991
- id?: string | null;
33992
- name: string;
33993
- locked?: boolean | null;
33994
- visible?: ("all" | "manager") | null;
33995
- /** @constant */
33996
- type: "subTotal";
33997
- value: string;
33998
- } | {
33999
- id?: string | null;
34000
- name: string;
34001
- locked?: boolean | null;
34002
- visible?: ("all" | "manager") | null;
34003
- /** @constant */
34004
- type: "formula.currency";
34005
- value: string;
34006
- } | {
34007
- id?: string | null;
34008
- name: string;
34009
- locked?: boolean | null;
34010
- visible?: ("all" | "manager") | null;
34011
- /** @constant */
34012
- type: "formula.percentage";
34013
- value: string;
34014
- decimals?: (0 | 1 | 2 | 3) | null;
34015
33457
  })[];
34016
33458
  }[];
34017
33459
  otherSections: {
@@ -34024,7 +33466,7 @@ export interface operations {
34024
33466
  name: string;
34025
33467
  locked?: boolean | null;
34026
33468
  visible?: ("all" | "manager") | null;
34027
- /** @constant */
33469
+ /** @enum {string} */
34028
33470
  type: "field";
34029
33471
  value: string;
34030
33472
  } | {
@@ -34032,7 +33474,7 @@ export interface operations {
34032
33474
  name: string;
34033
33475
  locked?: boolean | null;
34034
33476
  visible?: ("all" | "manager") | null;
34035
- /** @constant */
33477
+ /** @enum {string} */
34036
33478
  type: "accounts";
34037
33479
  value: string[];
34038
33480
  })[];
@@ -34063,42 +33505,17 @@ export interface operations {
34063
33505
  name: string;
34064
33506
  locked?: boolean | null;
34065
33507
  visible?: ("all" | "manager") | null;
34066
- /** @constant */
34067
- type: "field";
33508
+ /** @enum {string} */
33509
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34068
33510
  value: string;
34069
33511
  } | {
34070
33512
  id?: string | null;
34071
33513
  name: string;
34072
33514
  locked?: boolean | null;
34073
33515
  visible?: ("all" | "manager") | null;
34074
- /** @constant */
33516
+ /** @enum {string} */
34075
33517
  type: "accounts";
34076
33518
  value: string[];
34077
- } | {
34078
- id?: string | null;
34079
- name: string;
34080
- locked?: boolean | null;
34081
- visible?: ("all" | "manager") | null;
34082
- /** @constant */
34083
- type: "subTotal";
34084
- value: string;
34085
- } | {
34086
- id?: string | null;
34087
- name: string;
34088
- locked?: boolean | null;
34089
- visible?: ("all" | "manager") | null;
34090
- /** @constant */
34091
- type: "formula.currency";
34092
- value: string;
34093
- } | {
34094
- id?: string | null;
34095
- name: string;
34096
- locked?: boolean | null;
34097
- visible?: ("all" | "manager") | null;
34098
- /** @constant */
34099
- type: "formula.percentage";
34100
- value: string;
34101
- decimals?: (0 | 1 | 2 | 3) | null;
34102
33519
  })[];
34103
33520
  }[];
34104
33521
  otherSections: {
@@ -34111,7 +33528,7 @@ export interface operations {
34111
33528
  name: string;
34112
33529
  locked?: boolean | null;
34113
33530
  visible?: ("all" | "manager") | null;
34114
- /** @constant */
33531
+ /** @enum {string} */
34115
33532
  type: "field";
34116
33533
  value: string;
34117
33534
  } | {
@@ -34119,7 +33536,7 @@ export interface operations {
34119
33536
  name: string;
34120
33537
  locked?: boolean | null;
34121
33538
  visible?: ("all" | "manager") | null;
34122
- /** @constant */
33539
+ /** @enum {string} */
34123
33540
  type: "accounts";
34124
33541
  value: string[];
34125
33542
  })[];
@@ -34148,7 +33565,7 @@ export interface operations {
34148
33565
  name: string;
34149
33566
  locked?: boolean | null;
34150
33567
  visible?: ("all" | "manager") | null;
34151
- /** @constant */
33568
+ /** @enum {string} */
34152
33569
  type: "field";
34153
33570
  value: string;
34154
33571
  } | {
@@ -34156,7 +33573,7 @@ export interface operations {
34156
33573
  name: string;
34157
33574
  locked?: boolean | null;
34158
33575
  visible?: ("all" | "manager") | null;
34159
- /** @constant */
33576
+ /** @enum {string} */
34160
33577
  type: "accounts";
34161
33578
  value: string[];
34162
33579
  })[];
@@ -34279,42 +33696,17 @@ export interface operations {
34279
33696
  name: string;
34280
33697
  locked?: boolean | null;
34281
33698
  visible?: ("all" | "manager") | null;
34282
- /** @constant */
34283
- type: "field";
33699
+ /** @enum {string} */
33700
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34284
33701
  value: string;
34285
33702
  } | {
34286
33703
  id?: string | null;
34287
33704
  name: string;
34288
33705
  locked?: boolean | null;
34289
33706
  visible?: ("all" | "manager") | null;
34290
- /** @constant */
33707
+ /** @enum {string} */
34291
33708
  type: "accounts";
34292
33709
  value: string[];
34293
- } | {
34294
- id?: string | null;
34295
- name: string;
34296
- locked?: boolean | null;
34297
- visible?: ("all" | "manager") | null;
34298
- /** @constant */
34299
- type: "subTotal";
34300
- value: string;
34301
- } | {
34302
- id?: string | null;
34303
- name: string;
34304
- locked?: boolean | null;
34305
- visible?: ("all" | "manager") | null;
34306
- /** @constant */
34307
- type: "formula.currency";
34308
- value: string;
34309
- } | {
34310
- id?: string | null;
34311
- name: string;
34312
- locked?: boolean | null;
34313
- visible?: ("all" | "manager") | null;
34314
- /** @constant */
34315
- type: "formula.percentage";
34316
- value: string;
34317
- decimals?: (0 | 1 | 2 | 3) | null;
34318
33710
  })[];
34319
33711
  }[];
34320
33712
  otherSections: {
@@ -34327,7 +33719,7 @@ export interface operations {
34327
33719
  name: string;
34328
33720
  locked?: boolean | null;
34329
33721
  visible?: ("all" | "manager") | null;
34330
- /** @constant */
33722
+ /** @enum {string} */
34331
33723
  type: "field";
34332
33724
  value: string;
34333
33725
  } | {
@@ -34335,7 +33727,7 @@ export interface operations {
34335
33727
  name: string;
34336
33728
  locked?: boolean | null;
34337
33729
  visible?: ("all" | "manager") | null;
34338
- /** @constant */
33730
+ /** @enum {string} */
34339
33731
  type: "accounts";
34340
33732
  value: string[];
34341
33733
  })[];
@@ -34364,7 +33756,7 @@ export interface operations {
34364
33756
  name: string;
34365
33757
  locked?: boolean | null;
34366
33758
  visible?: ("all" | "manager") | null;
34367
- /** @constant */
33759
+ /** @enum {string} */
34368
33760
  type: "field";
34369
33761
  value: string;
34370
33762
  } | {
@@ -34372,7 +33764,7 @@ export interface operations {
34372
33764
  name: string;
34373
33765
  locked?: boolean | null;
34374
33766
  visible?: ("all" | "manager") | null;
34375
- /** @constant */
33767
+ /** @enum {string} */
34376
33768
  type: "accounts";
34377
33769
  value: string[];
34378
33770
  })[];
@@ -34471,7 +33863,7 @@ export interface operations {
34471
33863
  };
34472
33864
  cookie?: never;
34473
33865
  };
34474
- requestBody: {
33866
+ requestBody?: {
34475
33867
  content: {
34476
33868
  "application/json": {
34477
33869
  name?: string;
@@ -34490,42 +33882,17 @@ export interface operations {
34490
33882
  name: string;
34491
33883
  locked?: boolean | null;
34492
33884
  visible?: ("all" | "manager") | null;
34493
- /** @constant */
34494
- type: "field";
33885
+ /** @enum {string} */
33886
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34495
33887
  value: string;
34496
33888
  } | {
34497
33889
  id?: string | null;
34498
33890
  name: string;
34499
33891
  locked?: boolean | null;
34500
33892
  visible?: ("all" | "manager") | null;
34501
- /** @constant */
33893
+ /** @enum {string} */
34502
33894
  type: "accounts";
34503
33895
  value: string[];
34504
- } | {
34505
- id?: string | null;
34506
- name: string;
34507
- locked?: boolean | null;
34508
- visible?: ("all" | "manager") | null;
34509
- /** @constant */
34510
- type: "subTotal";
34511
- value: string;
34512
- } | {
34513
- id?: string | null;
34514
- name: string;
34515
- locked?: boolean | null;
34516
- visible?: ("all" | "manager") | null;
34517
- /** @constant */
34518
- type: "formula.currency";
34519
- value: string;
34520
- } | {
34521
- id?: string | null;
34522
- name: string;
34523
- locked?: boolean | null;
34524
- visible?: ("all" | "manager") | null;
34525
- /** @constant */
34526
- type: "formula.percentage";
34527
- value: string;
34528
- decimals?: (0 | 1 | 2 | 3) | null;
34529
33896
  })[];
34530
33897
  }[];
34531
33898
  otherSections?: {
@@ -34538,7 +33905,7 @@ export interface operations {
34538
33905
  name: string;
34539
33906
  locked?: boolean | null;
34540
33907
  visible?: ("all" | "manager") | null;
34541
- /** @constant */
33908
+ /** @enum {string} */
34542
33909
  type: "field";
34543
33910
  value: string;
34544
33911
  } | {
@@ -34546,7 +33913,7 @@ export interface operations {
34546
33913
  name: string;
34547
33914
  locked?: boolean | null;
34548
33915
  visible?: ("all" | "manager") | null;
34549
- /** @constant */
33916
+ /** @enum {string} */
34550
33917
  type: "accounts";
34551
33918
  value: string[];
34552
33919
  })[];
@@ -34577,42 +33944,17 @@ export interface operations {
34577
33944
  name: string;
34578
33945
  locked?: boolean | null;
34579
33946
  visible?: ("all" | "manager") | null;
34580
- /** @constant */
34581
- type: "field";
33947
+ /** @enum {string} */
33948
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
34582
33949
  value: string;
34583
33950
  } | {
34584
33951
  id?: string | null;
34585
33952
  name: string;
34586
33953
  locked?: boolean | null;
34587
33954
  visible?: ("all" | "manager") | null;
34588
- /** @constant */
33955
+ /** @enum {string} */
34589
33956
  type: "accounts";
34590
33957
  value: string[];
34591
- } | {
34592
- id?: string | null;
34593
- name: string;
34594
- locked?: boolean | null;
34595
- visible?: ("all" | "manager") | null;
34596
- /** @constant */
34597
- type: "subTotal";
34598
- value: string;
34599
- } | {
34600
- id?: string | null;
34601
- name: string;
34602
- locked?: boolean | null;
34603
- visible?: ("all" | "manager") | null;
34604
- /** @constant */
34605
- type: "formula.currency";
34606
- value: string;
34607
- } | {
34608
- id?: string | null;
34609
- name: string;
34610
- locked?: boolean | null;
34611
- visible?: ("all" | "manager") | null;
34612
- /** @constant */
34613
- type: "formula.percentage";
34614
- value: string;
34615
- decimals?: (0 | 1 | 2 | 3) | null;
34616
33958
  })[];
34617
33959
  }[];
34618
33960
  otherSections: {
@@ -34625,7 +33967,7 @@ export interface operations {
34625
33967
  name: string;
34626
33968
  locked?: boolean | null;
34627
33969
  visible?: ("all" | "manager") | null;
34628
- /** @constant */
33970
+ /** @enum {string} */
34629
33971
  type: "field";
34630
33972
  value: string;
34631
33973
  } | {
@@ -34633,7 +33975,7 @@ export interface operations {
34633
33975
  name: string;
34634
33976
  locked?: boolean | null;
34635
33977
  visible?: ("all" | "manager") | null;
34636
- /** @constant */
33978
+ /** @enum {string} */
34637
33979
  type: "accounts";
34638
33980
  value: string[];
34639
33981
  })[];
@@ -34662,7 +34004,7 @@ export interface operations {
34662
34004
  name: string;
34663
34005
  locked?: boolean | null;
34664
34006
  visible?: ("all" | "manager") | null;
34665
- /** @constant */
34007
+ /** @enum {string} */
34666
34008
  type: "field";
34667
34009
  value: string;
34668
34010
  } | {
@@ -34670,7 +34012,7 @@ export interface operations {
34670
34012
  name: string;
34671
34013
  locked?: boolean | null;
34672
34014
  visible?: ("all" | "manager") | null;
34673
- /** @constant */
34015
+ /** @enum {string} */
34674
34016
  type: "accounts";
34675
34017
  value: string[];
34676
34018
  })[];
@@ -34769,7 +34111,7 @@ export interface operations {
34769
34111
  };
34770
34112
  cookie?: never;
34771
34113
  };
34772
- requestBody: {
34114
+ requestBody?: {
34773
34115
  content: {
34774
34116
  "application/json": Record<string, never>;
34775
34117
  };
@@ -34875,7 +34217,7 @@ export interface operations {
34875
34217
  path?: never;
34876
34218
  cookie?: never;
34877
34219
  };
34878
- requestBody: {
34220
+ requestBody?: {
34879
34221
  content: {
34880
34222
  "application/json": {
34881
34223
  date?: string | null;
@@ -35849,42 +35191,17 @@ export interface operations {
35849
35191
  name: string;
35850
35192
  locked?: boolean | null;
35851
35193
  visible?: ("all" | "manager") | null;
35852
- /** @constant */
35853
- type: "field";
35194
+ /** @enum {string} */
35195
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
35854
35196
  value: string;
35855
35197
  } | {
35856
35198
  id?: string | null;
35857
35199
  name: string;
35858
35200
  locked?: boolean | null;
35859
35201
  visible?: ("all" | "manager") | null;
35860
- /** @constant */
35202
+ /** @enum {string} */
35861
35203
  type: "accounts";
35862
35204
  value: string[];
35863
- } | {
35864
- id?: string | null;
35865
- name: string;
35866
- locked?: boolean | null;
35867
- visible?: ("all" | "manager") | null;
35868
- /** @constant */
35869
- type: "subTotal";
35870
- value: string;
35871
- } | {
35872
- id?: string | null;
35873
- name: string;
35874
- locked?: boolean | null;
35875
- visible?: ("all" | "manager") | null;
35876
- /** @constant */
35877
- type: "formula.currency";
35878
- value: string;
35879
- } | {
35880
- id?: string | null;
35881
- name: string;
35882
- locked?: boolean | null;
35883
- visible?: ("all" | "manager") | null;
35884
- /** @constant */
35885
- type: "formula.percentage";
35886
- value: string;
35887
- decimals?: (0 | 1 | 2 | 3) | null;
35888
35205
  })[];
35889
35206
  }[];
35890
35207
  otherSections: {
@@ -35897,7 +35214,7 @@ export interface operations {
35897
35214
  name: string;
35898
35215
  locked?: boolean | null;
35899
35216
  visible?: ("all" | "manager") | null;
35900
- /** @constant */
35217
+ /** @enum {string} */
35901
35218
  type: "field";
35902
35219
  value: string;
35903
35220
  } | {
@@ -35905,7 +35222,7 @@ export interface operations {
35905
35222
  name: string;
35906
35223
  locked?: boolean | null;
35907
35224
  visible?: ("all" | "manager") | null;
35908
- /** @constant */
35225
+ /** @enum {string} */
35909
35226
  type: "accounts";
35910
35227
  value: string[];
35911
35228
  })[];
@@ -35934,7 +35251,7 @@ export interface operations {
35934
35251
  name: string;
35935
35252
  locked?: boolean | null;
35936
35253
  visible?: ("all" | "manager") | null;
35937
- /** @constant */
35254
+ /** @enum {string} */
35938
35255
  type: "field";
35939
35256
  value: string;
35940
35257
  } | {
@@ -35942,7 +35259,7 @@ export interface operations {
35942
35259
  name: string;
35943
35260
  locked?: boolean | null;
35944
35261
  visible?: ("all" | "manager") | null;
35945
- /** @constant */
35262
+ /** @enum {string} */
35946
35263
  type: "accounts";
35947
35264
  value: string[];
35948
35265
  })[];
@@ -36219,7 +35536,7 @@ export interface operations {
36219
35536
  };
36220
35537
  cookie?: never;
36221
35538
  };
36222
- requestBody: {
35539
+ requestBody?: {
36223
35540
  content: {
36224
35541
  "application/json": {
36225
35542
  /** @enum {string} */
@@ -36490,42 +35807,17 @@ export interface operations {
36490
35807
  name: string;
36491
35808
  locked?: boolean | null;
36492
35809
  visible?: ("all" | "manager") | null;
36493
- /** @constant */
36494
- type: "field";
35810
+ /** @enum {string} */
35811
+ type: "subTotal" | "field" | "formula.percentage" | "formula.currency";
36495
35812
  value: string;
36496
35813
  } | {
36497
35814
  id?: string | null;
36498
35815
  name: string;
36499
35816
  locked?: boolean | null;
36500
35817
  visible?: ("all" | "manager") | null;
36501
- /** @constant */
35818
+ /** @enum {string} */
36502
35819
  type: "accounts";
36503
35820
  value: string[];
36504
- } | {
36505
- id?: string | null;
36506
- name: string;
36507
- locked?: boolean | null;
36508
- visible?: ("all" | "manager") | null;
36509
- /** @constant */
36510
- type: "subTotal";
36511
- value: string;
36512
- } | {
36513
- id?: string | null;
36514
- name: string;
36515
- locked?: boolean | null;
36516
- visible?: ("all" | "manager") | null;
36517
- /** @constant */
36518
- type: "formula.currency";
36519
- value: string;
36520
- } | {
36521
- id?: string | null;
36522
- name: string;
36523
- locked?: boolean | null;
36524
- visible?: ("all" | "manager") | null;
36525
- /** @constant */
36526
- type: "formula.percentage";
36527
- value: string;
36528
- decimals?: (0 | 1 | 2 | 3) | null;
36529
35821
  })[];
36530
35822
  }[];
36531
35823
  otherSections: {
@@ -36538,7 +35830,7 @@ export interface operations {
36538
35830
  name: string;
36539
35831
  locked?: boolean | null;
36540
35832
  visible?: ("all" | "manager") | null;
36541
- /** @constant */
35833
+ /** @enum {string} */
36542
35834
  type: "field";
36543
35835
  value: string;
36544
35836
  } | {
@@ -36546,7 +35838,7 @@ export interface operations {
36546
35838
  name: string;
36547
35839
  locked?: boolean | null;
36548
35840
  visible?: ("all" | "manager") | null;
36549
- /** @constant */
35841
+ /** @enum {string} */
36550
35842
  type: "accounts";
36551
35843
  value: string[];
36552
35844
  })[];
@@ -36575,7 +35867,7 @@ export interface operations {
36575
35867
  name: string;
36576
35868
  locked?: boolean | null;
36577
35869
  visible?: ("all" | "manager") | null;
36578
- /** @constant */
35870
+ /** @enum {string} */
36579
35871
  type: "field";
36580
35872
  value: string;
36581
35873
  } | {
@@ -36583,7 +35875,7 @@ export interface operations {
36583
35875
  name: string;
36584
35876
  locked?: boolean | null;
36585
35877
  visible?: ("all" | "manager") | null;
36586
- /** @constant */
35878
+ /** @enum {string} */
36587
35879
  type: "accounts";
36588
35880
  value: string[];
36589
35881
  })[];
@@ -36863,7 +36155,7 @@ export interface operations {
36863
36155
  };
36864
36156
  cookie?: never;
36865
36157
  };
36866
- requestBody: {
36158
+ requestBody?: {
36867
36159
  content: {
36868
36160
  "application/json": Record<string, never>;
36869
36161
  };
@@ -36971,7 +36263,7 @@ export interface operations {
36971
36263
  };
36972
36264
  cookie?: never;
36973
36265
  };
36974
- requestBody: {
36266
+ requestBody?: {
36975
36267
  content: {
36976
36268
  "application/json": {
36977
36269
  date?: string | null;
@@ -37088,7 +36380,7 @@ export interface operations {
37088
36380
  };
37089
36381
  cookie?: never;
37090
36382
  };
37091
- requestBody: {
36383
+ requestBody?: {
37092
36384
  content: {
37093
36385
  "application/json": Record<string, never>;
37094
36386
  };
@@ -37197,7 +36489,7 @@ export interface operations {
37197
36489
  path?: never;
37198
36490
  cookie?: never;
37199
36491
  };
37200
- requestBody: {
36492
+ requestBody?: {
37201
36493
  content: {
37202
36494
  "application/json": {
37203
36495
  /** @enum {string} */
@@ -37444,7 +36736,7 @@ export interface operations {
37444
36736
  path?: never;
37445
36737
  cookie?: never;
37446
36738
  };
37447
- requestBody: {
36739
+ requestBody?: {
37448
36740
  content: {
37449
36741
  "application/json": {
37450
36742
  /** Format: uuid */
@@ -37589,7 +36881,7 @@ export interface operations {
37589
36881
  path?: never;
37590
36882
  cookie?: never;
37591
36883
  };
37592
- requestBody: {
36884
+ requestBody?: {
37593
36885
  content: {
37594
36886
  "application/json": {
37595
36887
  /** Format: uuid */
@@ -37719,7 +37011,7 @@ export interface operations {
37719
37011
  };
37720
37012
  cookie?: never;
37721
37013
  };
37722
- requestBody: {
37014
+ requestBody?: {
37723
37015
  content: {
37724
37016
  "application/json": {
37725
37017
  params?: {
@@ -37977,7 +37269,7 @@ export interface operations {
37977
37269
  };
37978
37270
  cookie?: never;
37979
37271
  };
37980
- requestBody: {
37272
+ requestBody?: {
37981
37273
  content: {
37982
37274
  "application/json": {
37983
37275
  /** @enum {string} */
@@ -38122,7 +37414,7 @@ export interface operations {
38122
37414
  };
38123
37415
  cookie?: never;
38124
37416
  };
38125
- requestBody: {
37417
+ requestBody?: {
38126
37418
  content: {
38127
37419
  "application/json": Record<string, never>;
38128
37420
  };
@@ -38463,7 +37755,7 @@ export interface operations {
38463
37755
  path?: never;
38464
37756
  cookie?: never;
38465
37757
  };
38466
- requestBody: {
37758
+ requestBody?: {
38467
37759
  content: {
38468
37760
  "application/json": {
38469
37761
  defaultCurrency?: string | null;
@@ -39099,7 +38391,7 @@ export interface operations {
39099
38391
  path?: never;
39100
38392
  cookie?: never;
39101
38393
  };
39102
- requestBody: {
38394
+ requestBody?: {
39103
38395
  content: {
39104
38396
  "application/json": {
39105
38397
  /** Format: uuid */
@@ -39326,7 +38618,7 @@ export interface operations {
39326
38618
  path?: never;
39327
38619
  cookie?: never;
39328
38620
  };
39329
- requestBody: {
38621
+ requestBody?: {
39330
38622
  content: {
39331
38623
  "application/json": {
39332
38624
  /** Format: uuid */
@@ -39789,7 +39081,7 @@ export interface operations {
39789
39081
  path?: never;
39790
39082
  cookie?: never;
39791
39083
  };
39792
- requestBody: {
39084
+ requestBody?: {
39793
39085
  content: {
39794
39086
  "application/json": {
39795
39087
  /** @enum {string} */
@@ -40017,7 +39309,7 @@ export interface operations {
40017
39309
  path?: never;
40018
39310
  cookie?: never;
40019
39311
  };
40020
- requestBody: {
39312
+ requestBody?: {
40021
39313
  content: {
40022
39314
  "application/json": {
40023
39315
  /** @description Value in cents (100 = 1€) */
@@ -40258,7 +39550,7 @@ export interface operations {
40258
39550
  path?: never;
40259
39551
  cookie?: never;
40260
39552
  };
40261
- requestBody: {
39553
+ requestBody?: {
40262
39554
  content: {
40263
39555
  "application/json": {
40264
39556
  accountId?: string | null;
@@ -40640,7 +39932,7 @@ export interface operations {
40640
39932
  path?: never;
40641
39933
  cookie?: never;
40642
39934
  };
40643
- requestBody: {
39935
+ requestBody?: {
40644
39936
  content: {
40645
39937
  "application/json": {
40646
39938
  accountId?: string | null;
@@ -40873,7 +40165,7 @@ export interface operations {
40873
40165
  path?: never;
40874
40166
  cookie?: never;
40875
40167
  };
40876
- requestBody: {
40168
+ requestBody?: {
40877
40169
  content: {
40878
40170
  "application/json": {
40879
40171
  accountId?: string | null;
@@ -41101,7 +40393,7 @@ export interface operations {
41101
40393
  path?: never;
41102
40394
  cookie?: never;
41103
40395
  };
41104
- requestBody: {
40396
+ requestBody?: {
41105
40397
  content: {
41106
40398
  "application/json": {
41107
40399
  /** @description Value in cents (100 = 1€) */
@@ -41437,7 +40729,7 @@ export interface operations {
41437
40729
  };
41438
40730
  cookie?: never;
41439
40731
  };
41440
- requestBody: {
40732
+ requestBody?: {
41441
40733
  content: {
41442
40734
  "application/json": {
41443
40735
  defaultCurrency?: string | null;
@@ -41726,7 +41018,7 @@ export interface operations {
41726
41018
  };
41727
41019
  cookie?: never;
41728
41020
  };
41729
- requestBody: {
41021
+ requestBody?: {
41730
41022
  content: {
41731
41023
  "application/json": Record<string, never>;
41732
41024
  };
@@ -41834,7 +41126,7 @@ export interface operations {
41834
41126
  };
41835
41127
  cookie?: never;
41836
41128
  };
41837
- requestBody: {
41129
+ requestBody?: {
41838
41130
  content: {
41839
41131
  "application/json": {
41840
41132
  booksClosedAt: string | null;
@@ -41946,7 +41238,7 @@ export interface operations {
41946
41238
  };
41947
41239
  cookie?: never;
41948
41240
  };
41949
- requestBody: {
41241
+ requestBody?: {
41950
41242
  content: {
41951
41243
  "application/json": Record<string, never>;
41952
41244
  };
@@ -42054,7 +41346,7 @@ export interface operations {
42054
41346
  };
42055
41347
  cookie?: never;
42056
41348
  };
42057
- requestBody: {
41349
+ requestBody?: {
42058
41350
  content: {
42059
41351
  "application/json": {
42060
41352
  taxRateCountryOverwrite?: string | null;
@@ -42625,281 +41917,6 @@ export interface operations {
42625
41917
  };
42626
41918
  };
42627
41919
  };
42628
- getTeamsByTenantIdFeatures: {
42629
- parameters: {
42630
- query?: never;
42631
- header?: never;
42632
- path: {
42633
- tenantId: string;
42634
- };
42635
- cookie?: never;
42636
- };
42637
- requestBody?: never;
42638
- responses: {
42639
- /** @description Team feature flags */
42640
- 200: {
42641
- headers: {
42642
- [name: string]: unknown;
42643
- };
42644
- content: {
42645
- "application/json": {
42646
- /** Format: uuid */
42647
- tenantId: string;
42648
- /** Format: uuid */
42649
- featureId: string;
42650
- enabled: boolean;
42651
- status: ("all" | "disabled" | "partially") | null;
42652
- }[];
42653
- };
42654
- };
42655
- /** @description Bad request */
42656
- 400: {
42657
- headers: {
42658
- [name: string]: unknown;
42659
- };
42660
- content: {
42661
- "application/json": {
42662
- code: string;
42663
- message: string;
42664
- };
42665
- };
42666
- };
42667
- /** @description Unauthorized */
42668
- 401: {
42669
- headers: {
42670
- [name: string]: unknown;
42671
- };
42672
- content: {
42673
- "application/json": {
42674
- code: string;
42675
- message: string;
42676
- };
42677
- };
42678
- };
42679
- /** @description Forbidden */
42680
- 403: {
42681
- headers: {
42682
- [name: string]: unknown;
42683
- };
42684
- content: {
42685
- "application/json": {
42686
- code: string;
42687
- message: string;
42688
- };
42689
- };
42690
- };
42691
- /** @description Not found */
42692
- 404: {
42693
- headers: {
42694
- [name: string]: unknown;
42695
- };
42696
- content: {
42697
- "application/json": {
42698
- code: string;
42699
- message: string;
42700
- };
42701
- };
42702
- };
42703
- /** @description Internal server error */
42704
- 500: {
42705
- headers: {
42706
- [name: string]: unknown;
42707
- };
42708
- content: {
42709
- "application/json": {
42710
- code: string;
42711
- message: string;
42712
- };
42713
- };
42714
- };
42715
- };
42716
- };
42717
- getTeamsByTenantIdFeaturesByFeatureId: {
42718
- parameters: {
42719
- query?: never;
42720
- header?: never;
42721
- path: {
42722
- tenantId: string;
42723
- featureId: string;
42724
- };
42725
- cookie?: never;
42726
- };
42727
- requestBody?: never;
42728
- responses: {
42729
- /** @description Team feature flag */
42730
- 200: {
42731
- headers: {
42732
- [name: string]: unknown;
42733
- };
42734
- content: {
42735
- "application/json": {
42736
- /** Format: uuid */
42737
- tenantId: string;
42738
- /** Format: uuid */
42739
- featureId: string;
42740
- enabled: boolean;
42741
- status: ("all" | "disabled" | "partially") | null;
42742
- };
42743
- };
42744
- };
42745
- /** @description Bad request */
42746
- 400: {
42747
- headers: {
42748
- [name: string]: unknown;
42749
- };
42750
- content: {
42751
- "application/json": {
42752
- code: string;
42753
- message: string;
42754
- };
42755
- };
42756
- };
42757
- /** @description Unauthorized */
42758
- 401: {
42759
- headers: {
42760
- [name: string]: unknown;
42761
- };
42762
- content: {
42763
- "application/json": {
42764
- code: string;
42765
- message: string;
42766
- };
42767
- };
42768
- };
42769
- /** @description Forbidden */
42770
- 403: {
42771
- headers: {
42772
- [name: string]: unknown;
42773
- };
42774
- content: {
42775
- "application/json": {
42776
- code: string;
42777
- message: string;
42778
- };
42779
- };
42780
- };
42781
- /** @description Not found */
42782
- 404: {
42783
- headers: {
42784
- [name: string]: unknown;
42785
- };
42786
- content: {
42787
- "application/json": {
42788
- code: string;
42789
- message: string;
42790
- };
42791
- };
42792
- };
42793
- /** @description Internal server error */
42794
- 500: {
42795
- headers: {
42796
- [name: string]: unknown;
42797
- };
42798
- content: {
42799
- "application/json": {
42800
- code: string;
42801
- message: string;
42802
- };
42803
- };
42804
- };
42805
- };
42806
- };
42807
- putTeamsByTenantIdFeaturesByFeatureId: {
42808
- parameters: {
42809
- query?: never;
42810
- header?: never;
42811
- path: {
42812
- tenantId: string;
42813
- featureId: string;
42814
- };
42815
- cookie?: never;
42816
- };
42817
- requestBody: {
42818
- content: {
42819
- "application/json": {
42820
- status: ("all" | "disabled" | "partially") | null;
42821
- };
42822
- };
42823
- };
42824
- responses: {
42825
- /** @description Updated team feature flag */
42826
- 200: {
42827
- headers: {
42828
- [name: string]: unknown;
42829
- };
42830
- content: {
42831
- "application/json": {
42832
- /** Format: uuid */
42833
- tenantId: string;
42834
- /** Format: uuid */
42835
- featureId: string;
42836
- enabled: boolean;
42837
- status: ("all" | "disabled" | "partially") | null;
42838
- };
42839
- };
42840
- };
42841
- /** @description Bad request */
42842
- 400: {
42843
- headers: {
42844
- [name: string]: unknown;
42845
- };
42846
- content: {
42847
- "application/json": {
42848
- code: string;
42849
- message: string;
42850
- };
42851
- };
42852
- };
42853
- /** @description Unauthorized */
42854
- 401: {
42855
- headers: {
42856
- [name: string]: unknown;
42857
- };
42858
- content: {
42859
- "application/json": {
42860
- code: string;
42861
- message: string;
42862
- };
42863
- };
42864
- };
42865
- /** @description Forbidden */
42866
- 403: {
42867
- headers: {
42868
- [name: string]: unknown;
42869
- };
42870
- content: {
42871
- "application/json": {
42872
- code: string;
42873
- message: string;
42874
- };
42875
- };
42876
- };
42877
- /** @description Not found */
42878
- 404: {
42879
- headers: {
42880
- [name: string]: unknown;
42881
- };
42882
- content: {
42883
- "application/json": {
42884
- code: string;
42885
- message: string;
42886
- };
42887
- };
42888
- };
42889
- /** @description Internal server error */
42890
- 500: {
42891
- headers: {
42892
- [name: string]: unknown;
42893
- };
42894
- content: {
42895
- "application/json": {
42896
- code: string;
42897
- message: string;
42898
- };
42899
- };
42900
- };
42901
- };
42902
- };
42903
41920
  postTransactionAttachments: {
42904
41921
  parameters: {
42905
41922
  query?: never;
@@ -43019,7 +42036,7 @@ export interface operations {
43019
42036
  };
43020
42037
  cookie?: never;
43021
42038
  };
43022
- requestBody: {
42039
+ requestBody?: {
43023
42040
  content: {
43024
42041
  "application/json": Record<string, never>;
43025
42042
  };
@@ -43128,7 +42145,7 @@ export interface operations {
43128
42145
  };
43129
42146
  cookie?: never;
43130
42147
  };
43131
- requestBody: {
42148
+ requestBody?: {
43132
42149
  content: {
43133
42150
  "application/json": {
43134
42151
  isOwnerAccessible: boolean;
@@ -43731,7 +42748,7 @@ export interface operations {
43731
42748
  path?: never;
43732
42749
  cookie?: never;
43733
42750
  };
43734
- requestBody: {
42751
+ requestBody?: {
43735
42752
  content: {
43736
42753
  "application/json": {
43737
42754
  description?: string;
@@ -44140,7 +43157,7 @@ export interface operations {
44140
43157
  path?: never;
44141
43158
  cookie?: never;
44142
43159
  };
44143
- requestBody: {
43160
+ requestBody?: {
44144
43161
  content: {
44145
43162
  "application/json": {
44146
43163
  /** Format: uuid */
@@ -44850,7 +43867,7 @@ export interface operations {
44850
43867
  path?: never;
44851
43868
  cookie?: never;
44852
43869
  };
44853
- requestBody: {
43870
+ requestBody?: {
44854
43871
  content: {
44855
43872
  "application/json": {
44856
43873
  ids?: string[];
@@ -45083,7 +44100,7 @@ export interface operations {
45083
44100
  };
45084
44101
  cookie?: never;
45085
44102
  };
45086
- requestBody: {
44103
+ requestBody?: {
45087
44104
  content: {
45088
44105
  "application/json": {
45089
44106
  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;
@@ -45604,7 +44621,7 @@ export interface operations {
45604
44621
  path?: never;
45605
44622
  cookie?: never;
45606
44623
  };
45607
- requestBody: {
44624
+ requestBody?: {
45608
44625
  content: {
45609
44626
  "application/json": {
45610
44627
  uniqueRef: string;
@@ -45904,7 +44921,7 @@ export interface operations {
45904
44921
  path?: never;
45905
44922
  cookie?: never;
45906
44923
  };
45907
- requestBody: {
44924
+ requestBody?: {
45908
44925
  content: {
45909
44926
  "application/json": {
45910
44927
  date: string;
@@ -46291,7 +45308,7 @@ export interface operations {
46291
45308
  };
46292
45309
  cookie?: never;
46293
45310
  };
46294
- requestBody: {
45311
+ requestBody?: {
46295
45312
  content: {
46296
45313
  "application/json": {
46297
45314
  uniqueRef?: string;
@@ -46596,7 +45613,7 @@ export interface operations {
46596
45613
  };
46597
45614
  cookie?: never;
46598
45615
  };
46599
- requestBody: {
45616
+ requestBody?: {
46600
45617
  content: {
46601
45618
  "application/json": Record<string, never>;
46602
45619
  };
@@ -46705,7 +45722,7 @@ export interface operations {
46705
45722
  };
46706
45723
  cookie?: never;
46707
45724
  };
46708
- requestBody: {
45725
+ requestBody?: {
46709
45726
  content: {
46710
45727
  "application/json": {
46711
45728
  dates: string[] | null;
@@ -47524,7 +46541,7 @@ export interface operations {
47524
46541
  };
47525
46542
  cookie?: never;
47526
46543
  };
47527
- requestBody: {
46544
+ requestBody?: {
47528
46545
  content: {
47529
46546
  "application/json": {
47530
46547
  description?: string;
@@ -47998,7 +47015,7 @@ export interface operations {
47998
47015
  };
47999
47016
  cookie?: never;
48000
47017
  };
48001
- requestBody: {
47018
+ requestBody?: {
48002
47019
  content: {
48003
47020
  "application/json": Record<string, never>;
48004
47021
  };
@@ -48108,7 +47125,7 @@ export interface operations {
48108
47125
  };
48109
47126
  cookie?: never;
48110
47127
  };
48111
- requestBody: {
47128
+ requestBody?: {
48112
47129
  content: {
48113
47130
  "application/json": {
48114
47131
  recurringTemplateId?: string | null;
@@ -48476,7 +47493,7 @@ export interface operations {
48476
47493
  };
48477
47494
  cookie?: never;
48478
47495
  };
48479
- requestBody: {
47496
+ requestBody?: {
48480
47497
  content: {
48481
47498
  "application/json": {
48482
47499
  description: string;