powersync 0.1.0

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 (221) hide show
  1. package/README.md +339 -0
  2. package/bin/dev.cmd +3 -0
  3. package/bin/dev.js +9 -0
  4. package/bin/run.cmd +3 -0
  5. package/bin/run.js +8 -0
  6. package/dist/commands/init.d.ts +7 -0
  7. package/dist/commands/init.js +49 -0
  8. package/dist/commands/instance/config.d.ts +6 -0
  9. package/dist/commands/instance/config.js +23 -0
  10. package/dist/commands/instance/create.d.ts +16 -0
  11. package/dist/commands/instance/create.js +163 -0
  12. package/dist/commands/instance/deploy.d.ts +15 -0
  13. package/dist/commands/instance/deploy.js +142 -0
  14. package/dist/commands/instance/destroy.d.ts +9 -0
  15. package/dist/commands/instance/destroy.js +42 -0
  16. package/dist/commands/instance/schema.d.ts +6 -0
  17. package/dist/commands/instance/schema.js +20 -0
  18. package/dist/commands/instance/set.d.ts +9 -0
  19. package/dist/commands/instance/set.js +31 -0
  20. package/dist/commands/instance/status.d.ts +6 -0
  21. package/dist/commands/instance/status.js +21 -0
  22. package/dist/commands/instance/stop.d.ts +9 -0
  23. package/dist/commands/instance/stop.js +42 -0
  24. package/dist/commands/instance/sync-rules/deploy.d.ts +10 -0
  25. package/dist/commands/instance/sync-rules/deploy.js +49 -0
  26. package/dist/commands/instance/sync-rules/generate-schema.d.ts +10 -0
  27. package/dist/commands/instance/sync-rules/generate-schema.js +55 -0
  28. package/dist/commands/instance/sync-rules/validate.d.ts +9 -0
  29. package/dist/commands/instance/sync-rules/validate.js +29 -0
  30. package/dist/commands/instances.d.ts +6 -0
  31. package/dist/commands/instances.js +20 -0
  32. package/dist/constants.d.ts +11 -0
  33. package/dist/constants.js +8 -0
  34. package/dist/index.d.ts +1 -0
  35. package/dist/index.js +1 -0
  36. package/dist/powersync-sdk/accounts/api.d.ts +717 -0
  37. package/dist/powersync-sdk/accounts/api.js +182 -0
  38. package/dist/powersync-sdk/accounts/client.d.ts +1096 -0
  39. package/dist/powersync-sdk/accounts/client.js +124 -0
  40. package/dist/powersync-sdk/accounts/codecs.d.ts +32 -0
  41. package/dist/powersync-sdk/accounts/codecs.js +93 -0
  42. package/dist/powersync-sdk/accounts/index.d.ts +4 -0
  43. package/dist/powersync-sdk/accounts/index.js +4 -0
  44. package/dist/powersync-sdk/accounts/models.d.ts +260 -0
  45. package/dist/powersync-sdk/accounts/models.js +96 -0
  46. package/dist/powersync-sdk/accounts/routes.d.ts +44 -0
  47. package/dist/powersync-sdk/accounts/routes.js +45 -0
  48. package/dist/powersync-sdk/accounts/source.d.ts +76 -0
  49. package/dist/powersync-sdk/accounts/source.js +32 -0
  50. package/dist/powersync-sdk/errors/errors.d.ts +62 -0
  51. package/dist/powersync-sdk/errors/errors.js +115 -0
  52. package/dist/powersync-sdk/errors/index.d.ts +2 -0
  53. package/dist/powersync-sdk/errors/index.js +2 -0
  54. package/dist/powersync-sdk/errors/utils.d.ts +4 -0
  55. package/dist/powersync-sdk/errors/utils.js +18 -0
  56. package/dist/powersync-sdk/fetch-clients/codecs.d.ts +4 -0
  57. package/dist/powersync-sdk/fetch-clients/codecs.js +34 -0
  58. package/dist/powersync-sdk/fetch-clients/decoders.d.ts +3 -0
  59. package/dist/powersync-sdk/fetch-clients/decoders.js +35 -0
  60. package/dist/powersync-sdk/fetch-clients/definitions.d.ts +97 -0
  61. package/dist/powersync-sdk/fetch-clients/definitions.js +22 -0
  62. package/dist/powersync-sdk/fetch-clients/errors.d.ts +7 -0
  63. package/dist/powersync-sdk/fetch-clients/errors.js +19 -0
  64. package/dist/powersync-sdk/fetch-clients/index.d.ts +5 -0
  65. package/dist/powersync-sdk/fetch-clients/index.js +5 -0
  66. package/dist/powersync-sdk/fetch-clients/node-client.d.ts +9 -0
  67. package/dist/powersync-sdk/fetch-clients/node-client.js +107 -0
  68. package/dist/powersync-sdk/fetch-clients/request.d.ts +11 -0
  69. package/dist/powersync-sdk/fetch-clients/request.js +138 -0
  70. package/dist/powersync-sdk/fetch-clients/streaming.d.ts +65 -0
  71. package/dist/powersync-sdk/fetch-clients/streaming.js +99 -0
  72. package/dist/powersync-sdk/fetch-clients/utils.d.ts +13 -0
  73. package/dist/powersync-sdk/fetch-clients/utils.js +43 -0
  74. package/dist/powersync-sdk/fetch-clients/web-client.d.ts +14 -0
  75. package/dist/powersync-sdk/fetch-clients/web-client.js +56 -0
  76. package/dist/powersync-sdk/json/index.d.ts +4 -0
  77. package/dist/powersync-sdk/json/index.js +3 -0
  78. package/dist/powersync-sdk/json/json.d.ts +5 -0
  79. package/dist/powersync-sdk/json/json.js +35 -0
  80. package/dist/powersync-sdk/json/json_container.d.ts +18 -0
  81. package/dist/powersync-sdk/json/json_container.js +28 -0
  82. package/dist/powersync-sdk/json/json_stringify.d.ts +36 -0
  83. package/dist/powersync-sdk/json/json_stringify.js +162 -0
  84. package/dist/powersync-sdk/powersync/client.d.ts +449 -0
  85. package/dist/powersync-sdk/powersync/client.js +53 -0
  86. package/dist/powersync-sdk/powersync/config/HostedConfig.d.ts +327 -0
  87. package/dist/powersync-sdk/powersync/config/HostedConfig.js +92 -0
  88. package/dist/powersync-sdk/powersync/config/PowerSyncConfig.d.ts +211 -0
  89. package/dist/powersync-sdk/powersync/config/PowerSyncConfig.js +97 -0
  90. package/dist/powersync-sdk/powersync/config/normalize.d.ts +32 -0
  91. package/dist/powersync-sdk/powersync/config/normalize.js +85 -0
  92. package/dist/powersync-sdk/powersync/definitions.d.ts +149 -0
  93. package/dist/powersync-sdk/powersync/definitions.js +97 -0
  94. package/dist/powersync-sdk/powersync/index.d.ts +8 -0
  95. package/dist/powersync-sdk/powersync/index.js +8 -0
  96. package/dist/powersync-sdk/powersync/internal_routes.d.ts +247 -0
  97. package/dist/powersync-sdk/powersync/internal_routes.js +69 -0
  98. package/dist/powersync-sdk/powersync/routes.d.ts +779 -0
  99. package/dist/powersync-sdk/powersync/routes.js +191 -0
  100. package/dist/powersync-sdk/sdk-clients/endpoints.d.ts +31 -0
  101. package/dist/powersync-sdk/sdk-clients/endpoints.js +48 -0
  102. package/dist/powersync-sdk/sdk-clients/index.d.ts +3 -0
  103. package/dist/powersync-sdk/sdk-clients/index.js +3 -0
  104. package/dist/powersync-sdk/sdk-clients/pagination.d.ts +14 -0
  105. package/dist/powersync-sdk/sdk-clients/pagination.js +21 -0
  106. package/dist/powersync-sdk/sdk-clients/sdk-client.d.ts +17 -0
  107. package/dist/powersync-sdk/sdk-clients/sdk-client.js +30 -0
  108. package/dist/powersync-sdk/streaming/bson/buffer-array.d.ts +31 -0
  109. package/dist/powersync-sdk/streaming/bson/buffer-array.js +79 -0
  110. package/dist/powersync-sdk/streaming/bson/constants.d.ts +2 -0
  111. package/dist/powersync-sdk/streaming/bson/constants.js +1 -0
  112. package/dist/powersync-sdk/streaming/bson/decoder.d.ts +10 -0
  113. package/dist/powersync-sdk/streaming/bson/decoder.js +62 -0
  114. package/dist/powersync-sdk/streaming/bson/encoder.d.ts +10 -0
  115. package/dist/powersync-sdk/streaming/bson/encoder.js +23 -0
  116. package/dist/powersync-sdk/streaming/bson/header.d.ts +11 -0
  117. package/dist/powersync-sdk/streaming/bson/header.js +52 -0
  118. package/dist/powersync-sdk/streaming/bson/index.d.ts +5 -0
  119. package/dist/powersync-sdk/streaming/bson/index.js +5 -0
  120. package/dist/powersync-sdk/streaming/core/backpressure.d.ts +15 -0
  121. package/dist/powersync-sdk/streaming/core/backpressure.js +34 -0
  122. package/dist/powersync-sdk/streaming/core/cross-stream.d.ts +6 -0
  123. package/dist/powersync-sdk/streaming/core/cross-stream.js +17 -0
  124. package/dist/powersync-sdk/streaming/core/index.d.ts +4 -0
  125. package/dist/powersync-sdk/streaming/core/index.js +4 -0
  126. package/dist/powersync-sdk/streaming/core/node-utils.d.ts +7 -0
  127. package/dist/powersync-sdk/streaming/core/node-utils.js +11 -0
  128. package/dist/powersync-sdk/streaming/core/transformers.d.ts +41 -0
  129. package/dist/powersync-sdk/streaming/core/transformers.js +70 -0
  130. package/dist/powersync-sdk/streaming/core/utils.d.ts +36 -0
  131. package/dist/powersync-sdk/streaming/core/utils.js +66 -0
  132. package/dist/powersync-sdk/streaming/index.d.ts +3 -0
  133. package/dist/powersync-sdk/streaming/index.js +3 -0
  134. package/dist/powersync-sdk/streaming/web.d.ts +4 -0
  135. package/dist/powersync-sdk/streaming/web.js +4 -0
  136. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/binaryreader.d.ts +2 -0
  137. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/binaryreader.js +36 -0
  138. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/binarywriter.d.ts +2 -0
  139. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/binarywriter.js +58 -0
  140. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/geometry.d.ts +18 -0
  141. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/geometry.js +348 -0
  142. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/geometrycollection.d.ts +11 -0
  143. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/geometrycollection.js +118 -0
  144. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/linestring.d.ts +11 -0
  145. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/linestring.js +131 -0
  146. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multilinestring.d.ts +11 -0
  147. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multilinestring.js +134 -0
  148. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multipoint.d.ts +11 -0
  149. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multipoint.js +122 -0
  150. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multipolygon.d.ts +11 -0
  151. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/multipolygon.js +158 -0
  152. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/point.d.ts +14 -0
  153. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/point.js +165 -0
  154. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/polygon.d.ts +11 -0
  155. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/polygon.js +207 -0
  156. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/types.d.ts +30 -0
  157. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/types.js +29 -0
  158. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/wktparser.d.ts +2 -0
  159. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/wktparser.js +111 -0
  160. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/wkx.d.ts +9 -0
  161. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/wkx.js +9 -0
  162. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/zigzag.d.ts +5 -0
  163. package/dist/powersync-sdk/sync-rules/@syncpoint/wkx/zigzag.js +9 -0
  164. package/dist/powersync-sdk/sync-rules/DartSchemaGenerator.d.ts +12 -0
  165. package/dist/powersync-sdk/sync-rules/DartSchemaGenerator.js +35 -0
  166. package/dist/powersync-sdk/sync-rules/ExpressionType.d.ts +33 -0
  167. package/dist/powersync-sdk/sync-rules/ExpressionType.js +62 -0
  168. package/dist/powersync-sdk/sync-rules/IdSequence.d.ts +4 -0
  169. package/dist/powersync-sdk/sync-rules/IdSequence.js +7 -0
  170. package/dist/powersync-sdk/sync-rules/JsSchemaGenerator.d.ts +12 -0
  171. package/dist/powersync-sdk/sync-rules/JsSchemaGenerator.js +38 -0
  172. package/dist/powersync-sdk/sync-rules/SchemaGenerator.d.ts +14 -0
  173. package/dist/powersync-sdk/sync-rules/SchemaGenerator.js +24 -0
  174. package/dist/powersync-sdk/sync-rules/SourceTableInterface.d.ts +5 -0
  175. package/dist/powersync-sdk/sync-rules/SourceTableInterface.js +1 -0
  176. package/dist/powersync-sdk/sync-rules/SqlBucketDescriptor.d.ts +37 -0
  177. package/dist/powersync-sdk/sync-rules/SqlBucketDescriptor.js +116 -0
  178. package/dist/powersync-sdk/sync-rules/SqlDataQuery.d.ts +39 -0
  179. package/dist/powersync-sdk/sync-rules/SqlDataQuery.js +245 -0
  180. package/dist/powersync-sdk/sync-rules/SqlParameterQuery.d.ts +43 -0
  181. package/dist/powersync-sdk/sync-rules/SqlParameterQuery.js +254 -0
  182. package/dist/powersync-sdk/sync-rules/SqlSyncRules.d.ts +52 -0
  183. package/dist/powersync-sdk/sync-rules/SqlSyncRules.js +252 -0
  184. package/dist/powersync-sdk/sync-rules/StaticSchema.d.ts +26 -0
  185. package/dist/powersync-sdk/sync-rules/StaticSchema.js +71 -0
  186. package/dist/powersync-sdk/sync-rules/StaticSqlParameterQuery.d.ts +24 -0
  187. package/dist/powersync-sdk/sync-rules/StaticSqlParameterQuery.js +71 -0
  188. package/dist/powersync-sdk/sync-rules/TablePattern.d.ts +17 -0
  189. package/dist/powersync-sdk/sync-rules/TablePattern.js +56 -0
  190. package/dist/powersync-sdk/sync-rules/TableQuerySchema.d.ts +9 -0
  191. package/dist/powersync-sdk/sync-rules/TableQuerySchema.js +41 -0
  192. package/dist/powersync-sdk/sync-rules/errors.d.ts +22 -0
  193. package/dist/powersync-sdk/sync-rules/errors.js +60 -0
  194. package/dist/powersync-sdk/sync-rules/generators.d.ts +6 -0
  195. package/dist/powersync-sdk/sync-rules/generators.js +6 -0
  196. package/dist/powersync-sdk/sync-rules/index.d.ts +17 -0
  197. package/dist/powersync-sdk/sync-rules/index.js +17 -0
  198. package/dist/powersync-sdk/sync-rules/json_schema.d.ts +3 -0
  199. package/dist/powersync-sdk/sync-rules/json_schema.js +50 -0
  200. package/dist/powersync-sdk/sync-rules/sql_filters.d.ts +91 -0
  201. package/dist/powersync-sdk/sync-rules/sql_filters.js +491 -0
  202. package/dist/powersync-sdk/sync-rules/sql_functions.d.ts +53 -0
  203. package/dist/powersync-sdk/sync-rules/sql_functions.js +755 -0
  204. package/dist/powersync-sdk/sync-rules/sql_support.d.ts +22 -0
  205. package/dist/powersync-sdk/sync-rules/sql_support.js +208 -0
  206. package/dist/powersync-sdk/sync-rules/types.d.ts +174 -0
  207. package/dist/powersync-sdk/sync-rules/types.js +9 -0
  208. package/dist/powersync-sdk/sync-rules/utils.d.ts +45 -0
  209. package/dist/powersync-sdk/sync-rules/utils.js +163 -0
  210. package/dist/service/accounts.client.d.ts +26 -0
  211. package/dist/service/accounts.client.js +26 -0
  212. package/dist/service/powersync.client.d.ts +269 -0
  213. package/dist/service/powersync.client.js +135 -0
  214. package/dist/service/types.d.ts +69 -0
  215. package/dist/service/types.js +1 -0
  216. package/dist/service/utils.d.ts +5 -0
  217. package/dist/service/utils.js +7 -0
  218. package/dist/utils.d.ts +6 -0
  219. package/dist/utils.js +52 -0
  220. package/oclif.manifest.json +514 -0
  221. package/package.json +81 -0
@@ -0,0 +1,1096 @@
1
+ import { NetworkClient } from '../fetch-clients/definitions.js';
2
+ import { SDKClient } from '../sdk-clients/sdk-client.js';
3
+ import * as types from './index.js';
4
+ export declare class AccountsV5Client<C extends NetworkClient> extends SDKClient<C> {
5
+ acceptInvite: import("../sdk-clients/endpoints.js").Endpoint<{
6
+ id: string;
7
+ }, {
8
+ success: boolean;
9
+ }, C>;
10
+ completeSignup: import("../sdk-clients/endpoints.js").Endpoint<{
11
+ name: string;
12
+ id: string;
13
+ password: string;
14
+ phone_number?: string | undefined;
15
+ }, {
16
+ org_id: string;
17
+ email: string;
18
+ name?: string | undefined;
19
+ phone_number?: string | undefined;
20
+ onboarding_token?: string | undefined;
21
+ signup_complete?: boolean | undefined;
22
+ } & {
23
+ id: string;
24
+ }, C>;
25
+ createApp: import("../sdk-clients/endpoints.js").Endpoint<{
26
+ source: {
27
+ type: import("./source.js").SourceType.GitHub;
28
+ properties: {
29
+ repo: string;
30
+ owner: string;
31
+ };
32
+ } | {
33
+ type: import("./source.js").SourceType.Internal;
34
+ properties: {
35
+ id: string;
36
+ };
37
+ } | {
38
+ type: import("./source.js").SourceType.AzureDevops;
39
+ properties: {
40
+ repo: string;
41
+ organization: string;
42
+ project: string;
43
+ };
44
+ };
45
+ name: string;
46
+ org_id: string;
47
+ default_region: string;
48
+ vcs_mode: string;
49
+ auth_scope_id?: string | undefined;
50
+ features?: types.ProjectFeatureFlags[] | undefined;
51
+ }, {
52
+ name: string;
53
+ region: string;
54
+ org_id: string;
55
+ features: types.ProjectFeatureFlags[];
56
+ source?: {
57
+ type: import("./source.js").SourceType.GitHub;
58
+ properties: {
59
+ repo: string;
60
+ owner: string;
61
+ };
62
+ } | {
63
+ type: import("./source.js").SourceType.Internal;
64
+ properties: {
65
+ id: string;
66
+ };
67
+ } | {
68
+ type: import("./source.js").SourceType.AzureDevops;
69
+ properties: {
70
+ repo: string;
71
+ organization: string;
72
+ project: string;
73
+ };
74
+ } | undefined;
75
+ auth_scope_id?: string | undefined;
76
+ vcs_mode?: types.VCS_MODE | undefined;
77
+ } & {
78
+ id: string;
79
+ }, C>;
80
+ createInvite: import("../sdk-clients/endpoints.js").Endpoint<{
81
+ org_id: string;
82
+ email: string;
83
+ requested_role_ids: string[];
84
+ metadata?: {
85
+ role_names: string[];
86
+ } | undefined;
87
+ }, {
88
+ metadata: {
89
+ email?: string | undefined;
90
+ role_names?: string[] | undefined;
91
+ org_name?: string | undefined;
92
+ user_name?: string | undefined;
93
+ };
94
+ org_id: string;
95
+ status: types.DeveloperInviteStatus;
96
+ requested_role_ids: string[];
97
+ responded_at: string;
98
+ user_id: string;
99
+ } & {
100
+ id: string;
101
+ }, C>;
102
+ createOrg: import("../sdk-clients/endpoints.js").Endpoint<{
103
+ name: string;
104
+ }, {
105
+ label: string;
106
+ locked?: boolean | undefined;
107
+ business_customer_code?: string | undefined;
108
+ business_customer_region?: types.BUSINESS_REGION | undefined;
109
+ pre_signup_trial_expiry?: string | undefined;
110
+ trial?: boolean | undefined;
111
+ trial_expiry?: string | undefined;
112
+ } & {
113
+ id: string;
114
+ }, C>;
115
+ createUser: import("../sdk-clients/endpoints.js").Endpoint<Omit<{
116
+ org_id: string;
117
+ email: string;
118
+ name?: string | undefined;
119
+ phone_number?: string | undefined;
120
+ onboarding_token?: string | undefined;
121
+ signup_complete?: boolean | undefined;
122
+ }, "signup_complete">, {
123
+ org_id: string;
124
+ email: string;
125
+ name?: string | undefined;
126
+ phone_number?: string | undefined;
127
+ onboarding_token?: string | undefined;
128
+ signup_complete?: boolean | undefined;
129
+ } & {
130
+ id: string;
131
+ }, C>;
132
+ declineInvite: import("../sdk-clients/endpoints.js").Endpoint<{
133
+ id: string;
134
+ }, {
135
+ success: boolean;
136
+ }, C>;
137
+ deleteApp: import("../sdk-clients/endpoints.js").Endpoint<{
138
+ id: string;
139
+ }, {
140
+ success: boolean;
141
+ }, C>;
142
+ deleteUser: import("../sdk-clients/endpoints.js").Endpoint<{
143
+ id: string;
144
+ }, {
145
+ success: boolean;
146
+ }, C>;
147
+ destroyInvite: import("../sdk-clients/endpoints.js").Endpoint<{
148
+ id: string;
149
+ }, {
150
+ metadata: {
151
+ email?: string | undefined;
152
+ role_names?: string[] | undefined;
153
+ org_name?: string | undefined;
154
+ user_name?: string | undefined;
155
+ };
156
+ org_id: string;
157
+ status: types.DeveloperInviteStatus;
158
+ requested_role_ids: string[];
159
+ responded_at: string;
160
+ user_id: string;
161
+ } & {
162
+ id: string;
163
+ }, C>;
164
+ downgradeOrg: import("../sdk-clients/endpoints.js").Endpoint<{
165
+ org_id: string;
166
+ trial_duration: number;
167
+ }, {
168
+ label: string;
169
+ locked?: boolean | undefined;
170
+ business_customer_code?: string | undefined;
171
+ business_customer_region?: types.BUSINESS_REGION | undefined;
172
+ pre_signup_trial_expiry?: string | undefined;
173
+ trial?: boolean | undefined;
174
+ trial_expiry?: string | undefined;
175
+ } & {
176
+ id: string;
177
+ }, C>;
178
+ getApp: import("../sdk-clients/endpoints.js").Endpoint<{
179
+ id: string;
180
+ }, {
181
+ name: string;
182
+ region: string;
183
+ org_id: string;
184
+ features: types.ProjectFeatureFlags[];
185
+ source?: {
186
+ type: import("./source.js").SourceType.GitHub;
187
+ properties: {
188
+ repo: string;
189
+ owner: string;
190
+ };
191
+ } | {
192
+ type: import("./source.js").SourceType.Internal;
193
+ properties: {
194
+ id: string;
195
+ };
196
+ } | {
197
+ type: import("./source.js").SourceType.AzureDevops;
198
+ properties: {
199
+ repo: string;
200
+ organization: string;
201
+ project: string;
202
+ };
203
+ } | undefined;
204
+ auth_scope_id?: string | undefined;
205
+ vcs_mode?: types.VCS_MODE | undefined;
206
+ } & {
207
+ id: string;
208
+ }, C>;
209
+ getOrg: import("../sdk-clients/endpoints.js").Endpoint<{
210
+ id: string;
211
+ }, {
212
+ label: string;
213
+ locked?: boolean | undefined;
214
+ business_customer_code?: string | undefined;
215
+ business_customer_region?: types.BUSINESS_REGION | undefined;
216
+ pre_signup_trial_expiry?: string | undefined;
217
+ trial?: boolean | undefined;
218
+ trial_expiry?: string | undefined;
219
+ } & {
220
+ id: string;
221
+ }, C>;
222
+ /**
223
+ * Get token for use with SensitiveProfileAccountsV5Client.
224
+ * Currently, this allows for managing MFA configurations.
225
+ */
226
+ getSensitiveAccessToken: import("../sdk-clients/endpoints.js").Endpoint<{
227
+ password?: string | undefined;
228
+ factor_id?: string | undefined;
229
+ otp_attempt?: string | undefined;
230
+ }, {
231
+ token: string;
232
+ }, C>;
233
+ getTrialUser: import("../sdk-clients/endpoints.js").Endpoint<void, {
234
+ org_id: string;
235
+ email: string;
236
+ name?: string | undefined;
237
+ phone_number?: string | undefined;
238
+ onboarding_token?: string | undefined;
239
+ signup_complete?: boolean | undefined;
240
+ } & {
241
+ id: string;
242
+ } & {
243
+ onboarding_token?: string | undefined;
244
+ }, C>;
245
+ getUser: import("../sdk-clients/endpoints.js").Endpoint<{
246
+ id: string;
247
+ }, {
248
+ org_id: string;
249
+ email: string;
250
+ name?: string | undefined;
251
+ phone_number?: string | undefined;
252
+ onboarding_token?: string | undefined;
253
+ signup_complete?: boolean | undefined;
254
+ } & {
255
+ id: string;
256
+ }, C>;
257
+ getUserInvites: ((params: {
258
+ cursor?: string | undefined;
259
+ limit?: number | undefined;
260
+ } & {
261
+ metadata?: {
262
+ email?: string | undefined;
263
+ role_names?: string[] | undefined;
264
+ org_name?: string | undefined;
265
+ user_name?: string | undefined;
266
+ } | {
267
+ exists: boolean;
268
+ } | {
269
+ email?: string | undefined;
270
+ role_names?: string[] | undefined;
271
+ org_name?: string | undefined;
272
+ user_name?: string | undefined;
273
+ }[] | undefined;
274
+ org_id?: string | string[] | {
275
+ exists: boolean;
276
+ } | undefined;
277
+ status?: types.DeveloperInviteStatus | {
278
+ exists: boolean;
279
+ } | types.DeveloperInviteStatus[] | undefined;
280
+ requested_role_ids?: string[] | {
281
+ exists: boolean;
282
+ } | string[][] | undefined;
283
+ responded_at?: string | string[] | {
284
+ exists: boolean;
285
+ } | undefined;
286
+ user_id?: string | string[] | {
287
+ exists: boolean;
288
+ } | undefined;
289
+ id?: string | string[] | {
290
+ exists: boolean;
291
+ } | undefined;
292
+ }) => Promise<{
293
+ total: number;
294
+ count: number;
295
+ cursor: string;
296
+ more: boolean;
297
+ } & {
298
+ objects: ({
299
+ metadata: {
300
+ email?: string | undefined;
301
+ role_names?: string[] | undefined;
302
+ org_name?: string | undefined;
303
+ user_name?: string | undefined;
304
+ };
305
+ org_id: string;
306
+ status: types.DeveloperInviteStatus;
307
+ requested_role_ids: string[];
308
+ responded_at: string;
309
+ user_id: string;
310
+ } & {
311
+ id: string;
312
+ })[];
313
+ }>) & {
314
+ paginate: (params: {
315
+ cursor?: string | undefined;
316
+ limit?: number | undefined;
317
+ } & {
318
+ metadata?: {
319
+ email?: string | undefined;
320
+ role_names?: string[] | undefined;
321
+ org_name?: string | undefined;
322
+ user_name?: string | undefined;
323
+ } | {
324
+ exists: boolean;
325
+ } | {
326
+ email?: string | undefined;
327
+ role_names?: string[] | undefined;
328
+ org_name?: string | undefined;
329
+ user_name?: string | undefined;
330
+ }[] | undefined;
331
+ org_id?: string | string[] | {
332
+ exists: boolean;
333
+ } | undefined;
334
+ status?: types.DeveloperInviteStatus | {
335
+ exists: boolean;
336
+ } | types.DeveloperInviteStatus[] | undefined;
337
+ requested_role_ids?: string[] | {
338
+ exists: boolean;
339
+ } | string[][] | undefined;
340
+ responded_at?: string | string[] | {
341
+ exists: boolean;
342
+ } | undefined;
343
+ user_id?: string | string[] | {
344
+ exists: boolean;
345
+ } | undefined;
346
+ id?: string | string[] | {
347
+ exists: boolean;
348
+ } | undefined;
349
+ }) => AsyncGenerator<{
350
+ total: number;
351
+ count: number;
352
+ cursor: string;
353
+ more: boolean;
354
+ } & {
355
+ objects: ({
356
+ metadata: {
357
+ email?: string | undefined;
358
+ role_names?: string[] | undefined;
359
+ org_name?: string | undefined;
360
+ user_name?: string | undefined;
361
+ };
362
+ org_id: string;
363
+ status: types.DeveloperInviteStatus;
364
+ requested_role_ids: string[];
365
+ responded_at: string;
366
+ user_id: string;
367
+ } & {
368
+ id: string;
369
+ })[];
370
+ }, void, unknown>;
371
+ };
372
+ getUserPreferredMFAFactor: import("../sdk-clients/endpoints.js").Endpoint<void, {
373
+ factor?: {
374
+ id: string;
375
+ state: types.MFAFactorState;
376
+ created_at: string;
377
+ deleted_at: string;
378
+ factor_type: types.MFAFactor;
379
+ sms_otp_mobile_number: string;
380
+ totp_factor_sid: string;
381
+ updated_at: string;
382
+ } | undefined;
383
+ }, C>;
384
+ /**
385
+ * @deprecated
386
+ */
387
+ giveUserAccess: import("../sdk-clients/endpoints.js").Endpoint<{
388
+ type: types.UserOrgAccess;
389
+ org_id: string;
390
+ user_id: string;
391
+ }, {
392
+ success: boolean;
393
+ }, C>;
394
+ listApps: ((params: {
395
+ cursor?: string | undefined;
396
+ limit?: number | undefined;
397
+ } & {
398
+ id?: string | string[] | {
399
+ exists: boolean;
400
+ } | undefined;
401
+ name?: string | string[] | {
402
+ exists: boolean;
403
+ } | undefined;
404
+ org_id?: string | string[] | {
405
+ exists: boolean;
406
+ } | undefined;
407
+ }) => Promise<{
408
+ total: number;
409
+ count: number;
410
+ cursor: string;
411
+ more: boolean;
412
+ } & {
413
+ objects: ({
414
+ name: string;
415
+ region: string;
416
+ org_id: string;
417
+ features: types.ProjectFeatureFlags[];
418
+ source?: {
419
+ type: import("./source.js").SourceType.GitHub;
420
+ properties: {
421
+ repo: string;
422
+ owner: string;
423
+ };
424
+ } | {
425
+ type: import("./source.js").SourceType.Internal;
426
+ properties: {
427
+ id: string;
428
+ };
429
+ } | {
430
+ type: import("./source.js").SourceType.AzureDevops;
431
+ properties: {
432
+ repo: string;
433
+ organization: string;
434
+ project: string;
435
+ };
436
+ } | undefined;
437
+ auth_scope_id?: string | undefined;
438
+ vcs_mode?: types.VCS_MODE | undefined;
439
+ } & {
440
+ id: string;
441
+ })[];
442
+ }>) & {
443
+ paginate: (params: {
444
+ cursor?: string | undefined;
445
+ limit?: number | undefined;
446
+ } & {
447
+ id?: string | string[] | {
448
+ exists: boolean;
449
+ } | undefined;
450
+ name?: string | string[] | {
451
+ exists: boolean;
452
+ } | undefined;
453
+ org_id?: string | string[] | {
454
+ exists: boolean;
455
+ } | undefined;
456
+ }) => AsyncGenerator<{
457
+ total: number;
458
+ count: number;
459
+ cursor: string;
460
+ more: boolean;
461
+ } & {
462
+ objects: ({
463
+ name: string;
464
+ region: string;
465
+ org_id: string;
466
+ features: types.ProjectFeatureFlags[];
467
+ source?: {
468
+ type: import("./source.js").SourceType.GitHub;
469
+ properties: {
470
+ repo: string;
471
+ owner: string;
472
+ };
473
+ } | {
474
+ type: import("./source.js").SourceType.Internal;
475
+ properties: {
476
+ id: string;
477
+ };
478
+ } | {
479
+ type: import("./source.js").SourceType.AzureDevops;
480
+ properties: {
481
+ repo: string;
482
+ organization: string;
483
+ project: string;
484
+ };
485
+ } | undefined;
486
+ auth_scope_id?: string | undefined;
487
+ vcs_mode?: types.VCS_MODE | undefined;
488
+ } & {
489
+ id: string;
490
+ })[];
491
+ }, void, unknown>;
492
+ };
493
+ listDeveloperInvites: ((params: {
494
+ cursor?: string | undefined;
495
+ limit?: number | undefined;
496
+ } & {
497
+ org_id?: string | string[] | {
498
+ exists: boolean;
499
+ } | undefined;
500
+ email?: string | string[] | {
501
+ exists: boolean;
502
+ } | undefined;
503
+ name?: string | (string | undefined)[] | {
504
+ exists: boolean;
505
+ } | undefined;
506
+ phone_number?: string | (string | undefined)[] | {
507
+ exists: boolean;
508
+ } | undefined;
509
+ onboarding_token?: string | (string | undefined)[] | {
510
+ exists: boolean;
511
+ } | undefined;
512
+ signup_complete?: boolean | {
513
+ exists: boolean;
514
+ } | (boolean | undefined)[] | undefined;
515
+ id?: string | string[] | {
516
+ exists: boolean;
517
+ } | undefined;
518
+ }) => Promise<{
519
+ total: number;
520
+ count: number;
521
+ cursor: string;
522
+ more: boolean;
523
+ } & {
524
+ objects: ({
525
+ metadata: {
526
+ email?: string | undefined;
527
+ role_names?: string[] | undefined;
528
+ org_name?: string | undefined;
529
+ user_name?: string | undefined;
530
+ };
531
+ org_id: string;
532
+ status: types.DeveloperInviteStatus;
533
+ requested_role_ids: string[];
534
+ responded_at: string;
535
+ user_id: string;
536
+ } & {
537
+ id: string;
538
+ })[];
539
+ }>) & {
540
+ paginate: (params: {
541
+ cursor?: string | undefined;
542
+ limit?: number | undefined;
543
+ } & {
544
+ org_id?: string | string[] | {
545
+ exists: boolean;
546
+ } | undefined;
547
+ email?: string | string[] | {
548
+ exists: boolean;
549
+ } | undefined;
550
+ name?: string | (string | undefined)[] | {
551
+ exists: boolean;
552
+ } | undefined;
553
+ phone_number?: string | (string | undefined)[] | {
554
+ exists: boolean;
555
+ } | undefined;
556
+ onboarding_token?: string | (string | undefined)[] | {
557
+ exists: boolean;
558
+ } | undefined;
559
+ signup_complete?: boolean | {
560
+ exists: boolean;
561
+ } | (boolean | undefined)[] | undefined;
562
+ id?: string | string[] | {
563
+ exists: boolean;
564
+ } | undefined;
565
+ }) => AsyncGenerator<{
566
+ total: number;
567
+ count: number;
568
+ cursor: string;
569
+ more: boolean;
570
+ } & {
571
+ objects: ({
572
+ metadata: {
573
+ email?: string | undefined;
574
+ role_names?: string[] | undefined;
575
+ org_name?: string | undefined;
576
+ user_name?: string | undefined;
577
+ };
578
+ org_id: string;
579
+ status: types.DeveloperInviteStatus;
580
+ requested_role_ids: string[];
581
+ responded_at: string;
582
+ user_id: string;
583
+ } & {
584
+ id: string;
585
+ })[];
586
+ }, void, unknown>;
587
+ };
588
+ listMFAFactors: import("../sdk-clients/endpoints.js").Endpoint<void, {
589
+ backup_codes_viewed: boolean;
590
+ factors: {
591
+ id: string;
592
+ state: types.MFAFactorState;
593
+ created_at: string;
594
+ deleted_at: string;
595
+ factor_type: types.MFAFactor;
596
+ sms_otp_mobile_number: string;
597
+ totp_factor_sid: string;
598
+ updated_at: string;
599
+ }[];
600
+ preferred_factor_id?: string | undefined;
601
+ }, C>;
602
+ listOrgs: ((params: {
603
+ cursor?: string | undefined;
604
+ limit?: number | undefined;
605
+ } & {
606
+ label?: string | string[] | {
607
+ exists: boolean;
608
+ } | undefined;
609
+ locked?: boolean | {
610
+ exists: boolean;
611
+ } | (boolean | undefined)[] | undefined;
612
+ business_customer_code?: string | (string | undefined)[] | {
613
+ exists: boolean;
614
+ } | undefined;
615
+ business_customer_region?: types.BUSINESS_REGION | {
616
+ exists: boolean;
617
+ } | (types.BUSINESS_REGION | undefined)[] | undefined;
618
+ pre_signup_trial_expiry?: string | (string | undefined)[] | {
619
+ exists: boolean;
620
+ } | undefined;
621
+ trial?: boolean | {
622
+ exists: boolean;
623
+ } | (boolean | undefined)[] | undefined;
624
+ trial_expiry?: string | (string | undefined)[] | {
625
+ exists: boolean;
626
+ } | undefined;
627
+ id?: string | string[] | {
628
+ exists: boolean;
629
+ } | undefined;
630
+ }) => Promise<{
631
+ total: number;
632
+ count: number;
633
+ cursor: string;
634
+ more: boolean;
635
+ } & {
636
+ objects: ({
637
+ label: string;
638
+ locked?: boolean | undefined;
639
+ business_customer_code?: string | undefined;
640
+ business_customer_region?: types.BUSINESS_REGION | undefined;
641
+ pre_signup_trial_expiry?: string | undefined;
642
+ trial?: boolean | undefined;
643
+ trial_expiry?: string | undefined;
644
+ } & {
645
+ id: string;
646
+ })[];
647
+ }>) & {
648
+ paginate: (params: {
649
+ cursor?: string | undefined;
650
+ limit?: number | undefined;
651
+ } & {
652
+ label?: string | string[] | {
653
+ exists: boolean;
654
+ } | undefined;
655
+ locked?: boolean | {
656
+ exists: boolean;
657
+ } | (boolean | undefined)[] | undefined;
658
+ business_customer_code?: string | (string | undefined)[] | {
659
+ exists: boolean;
660
+ } | undefined;
661
+ business_customer_region?: types.BUSINESS_REGION | {
662
+ exists: boolean;
663
+ } | (types.BUSINESS_REGION | undefined)[] | undefined;
664
+ pre_signup_trial_expiry?: string | (string | undefined)[] | {
665
+ exists: boolean;
666
+ } | undefined;
667
+ trial?: boolean | {
668
+ exists: boolean;
669
+ } | (boolean | undefined)[] | undefined;
670
+ trial_expiry?: string | (string | undefined)[] | {
671
+ exists: boolean;
672
+ } | undefined;
673
+ id?: string | string[] | {
674
+ exists: boolean;
675
+ } | undefined;
676
+ }) => AsyncGenerator<{
677
+ total: number;
678
+ count: number;
679
+ cursor: string;
680
+ more: boolean;
681
+ } & {
682
+ objects: ({
683
+ label: string;
684
+ locked?: boolean | undefined;
685
+ business_customer_code?: string | undefined;
686
+ business_customer_region?: types.BUSINESS_REGION | undefined;
687
+ pre_signup_trial_expiry?: string | undefined;
688
+ trial?: boolean | undefined;
689
+ trial_expiry?: string | undefined;
690
+ } & {
691
+ id: string;
692
+ })[];
693
+ }, void, unknown>;
694
+ };
695
+ listUsers: ((params: {
696
+ cursor?: string | undefined;
697
+ limit?: number | undefined;
698
+ } & {
699
+ org_id?: string | string[] | {
700
+ exists: boolean;
701
+ } | undefined;
702
+ email?: string | string[] | {
703
+ exists: boolean;
704
+ } | undefined;
705
+ name?: string | (string | undefined)[] | {
706
+ exists: boolean;
707
+ } | undefined;
708
+ phone_number?: string | (string | undefined)[] | {
709
+ exists: boolean;
710
+ } | undefined;
711
+ onboarding_token?: string | (string | undefined)[] | {
712
+ exists: boolean;
713
+ } | undefined;
714
+ signup_complete?: boolean | {
715
+ exists: boolean;
716
+ } | (boolean | undefined)[] | undefined;
717
+ id?: string | string[] | {
718
+ exists: boolean;
719
+ } | undefined;
720
+ }) => Promise<{
721
+ total: number;
722
+ count: number;
723
+ cursor: string;
724
+ more: boolean;
725
+ } & {
726
+ objects: ({
727
+ org_id: string;
728
+ email: string;
729
+ name?: string | undefined;
730
+ phone_number?: string | undefined;
731
+ onboarding_token?: string | undefined;
732
+ signup_complete?: boolean | undefined;
733
+ } & {
734
+ id: string;
735
+ })[];
736
+ }>) & {
737
+ paginate: (params: {
738
+ cursor?: string | undefined;
739
+ limit?: number | undefined;
740
+ } & {
741
+ org_id?: string | string[] | {
742
+ exists: boolean;
743
+ } | undefined;
744
+ email?: string | string[] | {
745
+ exists: boolean;
746
+ } | undefined;
747
+ name?: string | (string | undefined)[] | {
748
+ exists: boolean;
749
+ } | undefined;
750
+ phone_number?: string | (string | undefined)[] | {
751
+ exists: boolean;
752
+ } | undefined;
753
+ onboarding_token?: string | (string | undefined)[] | {
754
+ exists: boolean;
755
+ } | undefined;
756
+ signup_complete?: boolean | {
757
+ exists: boolean;
758
+ } | (boolean | undefined)[] | undefined;
759
+ id?: string | string[] | {
760
+ exists: boolean;
761
+ } | undefined;
762
+ }) => AsyncGenerator<{
763
+ total: number;
764
+ count: number;
765
+ cursor: string;
766
+ more: boolean;
767
+ } & {
768
+ objects: ({
769
+ org_id: string;
770
+ email: string;
771
+ name?: string | undefined;
772
+ phone_number?: string | undefined;
773
+ onboarding_token?: string | undefined;
774
+ signup_complete?: boolean | undefined;
775
+ } & {
776
+ id: string;
777
+ })[];
778
+ }, void, unknown>;
779
+ };
780
+ provisionUserToken: import("../sdk-clients/endpoints.js").Endpoint<void, {
781
+ token: string;
782
+ }, C>;
783
+ searchApps: ((params: {
784
+ cursor?: string | undefined;
785
+ limit?: number | undefined;
786
+ } & {
787
+ search: string;
788
+ }) => Promise<{
789
+ total: number;
790
+ count: number;
791
+ cursor: string;
792
+ more: boolean;
793
+ } & {
794
+ objects: ({
795
+ name: string;
796
+ region: string;
797
+ org_id: string;
798
+ features: types.ProjectFeatureFlags[];
799
+ source?: {
800
+ type: import("./source.js").SourceType.GitHub;
801
+ properties: {
802
+ repo: string;
803
+ owner: string;
804
+ };
805
+ } | {
806
+ type: import("./source.js").SourceType.Internal;
807
+ properties: {
808
+ id: string;
809
+ };
810
+ } | {
811
+ type: import("./source.js").SourceType.AzureDevops;
812
+ properties: {
813
+ repo: string;
814
+ organization: string;
815
+ project: string;
816
+ };
817
+ } | undefined;
818
+ auth_scope_id?: string | undefined;
819
+ vcs_mode?: types.VCS_MODE | undefined;
820
+ } & {
821
+ id: string;
822
+ })[];
823
+ }>) & {
824
+ paginate: (params: {
825
+ cursor?: string | undefined;
826
+ limit?: number | undefined;
827
+ } & {
828
+ search: string;
829
+ }) => AsyncGenerator<{
830
+ total: number;
831
+ count: number;
832
+ cursor: string;
833
+ more: boolean;
834
+ } & {
835
+ objects: ({
836
+ name: string;
837
+ region: string;
838
+ org_id: string;
839
+ features: types.ProjectFeatureFlags[];
840
+ source?: {
841
+ type: import("./source.js").SourceType.GitHub;
842
+ properties: {
843
+ repo: string;
844
+ owner: string;
845
+ };
846
+ } | {
847
+ type: import("./source.js").SourceType.Internal;
848
+ properties: {
849
+ id: string;
850
+ };
851
+ } | {
852
+ type: import("./source.js").SourceType.AzureDevops;
853
+ properties: {
854
+ repo: string;
855
+ organization: string;
856
+ project: string;
857
+ };
858
+ } | undefined;
859
+ auth_scope_id?: string | undefined;
860
+ vcs_mode?: types.VCS_MODE | undefined;
861
+ } & {
862
+ id: string;
863
+ })[];
864
+ }, void, unknown>;
865
+ };
866
+ searchOrgs: ((params: {
867
+ cursor?: string | undefined;
868
+ limit?: number | undefined;
869
+ } & {
870
+ search: string;
871
+ }) => Promise<{
872
+ total: number;
873
+ count: number;
874
+ cursor: string;
875
+ more: boolean;
876
+ } & {
877
+ objects: ({
878
+ label: string;
879
+ locked?: boolean | undefined;
880
+ business_customer_code?: string | undefined;
881
+ business_customer_region?: types.BUSINESS_REGION | undefined;
882
+ pre_signup_trial_expiry?: string | undefined;
883
+ trial?: boolean | undefined;
884
+ trial_expiry?: string | undefined;
885
+ } & {
886
+ id: string;
887
+ })[];
888
+ }>) & {
889
+ paginate: (params: {
890
+ cursor?: string | undefined;
891
+ limit?: number | undefined;
892
+ } & {
893
+ search: string;
894
+ }) => AsyncGenerator<{
895
+ total: number;
896
+ count: number;
897
+ cursor: string;
898
+ more: boolean;
899
+ } & {
900
+ objects: ({
901
+ label: string;
902
+ locked?: boolean | undefined;
903
+ business_customer_code?: string | undefined;
904
+ business_customer_region?: types.BUSINESS_REGION | undefined;
905
+ pre_signup_trial_expiry?: string | undefined;
906
+ trial?: boolean | undefined;
907
+ trial_expiry?: string | undefined;
908
+ } & {
909
+ id: string;
910
+ })[];
911
+ }, void, unknown>;
912
+ };
913
+ searchUsers: ((params: {
914
+ cursor?: string | undefined;
915
+ limit?: number | undefined;
916
+ } & {
917
+ search: string;
918
+ }) => Promise<{
919
+ total: number;
920
+ count: number;
921
+ cursor: string;
922
+ more: boolean;
923
+ } & {
924
+ objects: ({
925
+ org_id: string;
926
+ email: string;
927
+ name?: string | undefined;
928
+ phone_number?: string | undefined;
929
+ onboarding_token?: string | undefined;
930
+ signup_complete?: boolean | undefined;
931
+ } & {
932
+ id: string;
933
+ })[];
934
+ }>) & {
935
+ paginate: (params: {
936
+ cursor?: string | undefined;
937
+ limit?: number | undefined;
938
+ } & {
939
+ search: string;
940
+ }) => AsyncGenerator<{
941
+ total: number;
942
+ count: number;
943
+ cursor: string;
944
+ more: boolean;
945
+ } & {
946
+ objects: ({
947
+ org_id: string;
948
+ email: string;
949
+ name?: string | undefined;
950
+ phone_number?: string | undefined;
951
+ onboarding_token?: string | undefined;
952
+ signup_complete?: boolean | undefined;
953
+ } & {
954
+ id: string;
955
+ })[];
956
+ }, void, unknown>;
957
+ };
958
+ sendMFASMS: import("../sdk-clients/endpoints.js").Endpoint<{
959
+ factor_id: string;
960
+ }, {
961
+ sent: boolean;
962
+ }, C>;
963
+ startTrial: import("../sdk-clients/endpoints.js").Endpoint<{
964
+ email: string;
965
+ features?: types.ProjectFeatureFlags[] | undefined;
966
+ user_id?: string | undefined;
967
+ trial_duration?: number | undefined;
968
+ }, void, C>;
969
+ updateApp: import("../sdk-clients/endpoints.js").Endpoint<{
970
+ id: string;
971
+ source?: {
972
+ type: import("./source.js").SourceType.GitHub;
973
+ properties: {
974
+ repo: string;
975
+ owner: string;
976
+ };
977
+ } | {
978
+ type: import("./source.js").SourceType.Internal;
979
+ properties: {
980
+ id: string;
981
+ };
982
+ } | {
983
+ type: import("./source.js").SourceType.AzureDevops;
984
+ properties: {
985
+ repo: string;
986
+ organization: string;
987
+ project: string;
988
+ };
989
+ } | undefined;
990
+ name?: string | undefined;
991
+ auth_scope_id?: string | undefined;
992
+ vcs_mode?: types.VCS_MODE | undefined;
993
+ }, {
994
+ name: string;
995
+ region: string;
996
+ org_id: string;
997
+ features: types.ProjectFeatureFlags[];
998
+ source?: {
999
+ type: import("./source.js").SourceType.GitHub;
1000
+ properties: {
1001
+ repo: string;
1002
+ owner: string;
1003
+ };
1004
+ } | {
1005
+ type: import("./source.js").SourceType.Internal;
1006
+ properties: {
1007
+ id: string;
1008
+ };
1009
+ } | {
1010
+ type: import("./source.js").SourceType.AzureDevops;
1011
+ properties: {
1012
+ repo: string;
1013
+ organization: string;
1014
+ project: string;
1015
+ };
1016
+ } | undefined;
1017
+ auth_scope_id?: string | undefined;
1018
+ vcs_mode?: types.VCS_MODE | undefined;
1019
+ } & {
1020
+ id: string;
1021
+ }, C>;
1022
+ updateInvite: import("../sdk-clients/endpoints.js").Endpoint<{
1023
+ id: string;
1024
+ requested_role_ids: string[];
1025
+ }, {
1026
+ metadata: {
1027
+ email?: string | undefined;
1028
+ role_names?: string[] | undefined;
1029
+ org_name?: string | undefined;
1030
+ user_name?: string | undefined;
1031
+ };
1032
+ org_id: string;
1033
+ status: types.DeveloperInviteStatus;
1034
+ requested_role_ids: string[];
1035
+ responded_at: string;
1036
+ user_id: string;
1037
+ } & {
1038
+ id: string;
1039
+ }, C>;
1040
+ updateOrg: import("../sdk-clients/endpoints.js").Endpoint<{
1041
+ id: string;
1042
+ locked?: boolean | undefined;
1043
+ label?: string | undefined;
1044
+ }, {
1045
+ label: string;
1046
+ locked?: boolean | undefined;
1047
+ business_customer_code?: string | undefined;
1048
+ business_customer_region?: types.BUSINESS_REGION | undefined;
1049
+ pre_signup_trial_expiry?: string | undefined;
1050
+ trial?: boolean | undefined;
1051
+ trial_expiry?: string | undefined;
1052
+ } & {
1053
+ id: string;
1054
+ }, C>;
1055
+ updateOrgBilling: import("../sdk-clients/endpoints.js").Endpoint<{
1056
+ id: string;
1057
+ business_customer_code?: string | undefined;
1058
+ business_customer_region?: types.BUSINESS_REGION | undefined;
1059
+ }, {
1060
+ label: string;
1061
+ locked?: boolean | undefined;
1062
+ business_customer_code?: string | undefined;
1063
+ business_customer_region?: types.BUSINESS_REGION | undefined;
1064
+ pre_signup_trial_expiry?: string | undefined;
1065
+ trial?: boolean | undefined;
1066
+ trial_expiry?: string | undefined;
1067
+ } & {
1068
+ id: string;
1069
+ }, C>;
1070
+ updateUser: import("../sdk-clients/endpoints.js").Endpoint<{
1071
+ id: string;
1072
+ name?: string | undefined;
1073
+ }, {
1074
+ org_id: string;
1075
+ email: string;
1076
+ name?: string | undefined;
1077
+ phone_number?: string | undefined;
1078
+ onboarding_token?: string | undefined;
1079
+ signup_complete?: boolean | undefined;
1080
+ } & {
1081
+ id: string;
1082
+ }, C>;
1083
+ upgradeOrg: import("../sdk-clients/endpoints.js").Endpoint<{
1084
+ org_id: string;
1085
+ }, {
1086
+ label: string;
1087
+ locked?: boolean | undefined;
1088
+ business_customer_code?: string | undefined;
1089
+ business_customer_region?: types.BUSINESS_REGION | undefined;
1090
+ pre_signup_trial_expiry?: string | undefined;
1091
+ trial?: boolean | undefined;
1092
+ trial_expiry?: string | undefined;
1093
+ } & {
1094
+ id: string;
1095
+ }, C>;
1096
+ }