waldur-js-client 7.9.7-dev.1 → 7.9.7-dev.3

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.
package/dist/sdk.gen.js CHANGED
@@ -21212,133 +21212,6 @@ export const notificationMessagesEnable = (options) => {
21212
21212
  ...options
21213
21213
  });
21214
21214
  };
21215
- export const onboardingCountryConfigsList = (options) => {
21216
- return (options?.client ?? _heyApiClient).get({
21217
- security: [
21218
- {
21219
- name: 'Authorization',
21220
- type: 'apiKey'
21221
- },
21222
- {
21223
- scheme: 'bearer',
21224
- type: 'http'
21225
- }
21226
- ],
21227
- url: '/api/onboarding-country-configs/',
21228
- ...options
21229
- });
21230
- };
21231
- /**
21232
- * Get number of items in the collection matching the request parameters.
21233
- */
21234
- export const onboardingCountryConfigsCount = (options) => {
21235
- return (options?.client ?? _heyApiClient).head({
21236
- security: [
21237
- {
21238
- name: 'Authorization',
21239
- type: 'apiKey'
21240
- },
21241
- {
21242
- scheme: 'bearer',
21243
- type: 'http'
21244
- }
21245
- ],
21246
- url: '/api/onboarding-country-configs/',
21247
- ...options
21248
- });
21249
- };
21250
- export const onboardingCountryConfigsCreate = (options) => {
21251
- return (options.client ?? _heyApiClient).post({
21252
- security: [
21253
- {
21254
- name: 'Authorization',
21255
- type: 'apiKey'
21256
- },
21257
- {
21258
- scheme: 'bearer',
21259
- type: 'http'
21260
- }
21261
- ],
21262
- url: '/api/onboarding-country-configs/',
21263
- ...options,
21264
- headers: {
21265
- 'Content-Type': 'application/json',
21266
- ...options.headers
21267
- }
21268
- });
21269
- };
21270
- export const onboardingCountryConfigsDestroy = (options) => {
21271
- return (options.client ?? _heyApiClient).delete({
21272
- security: [
21273
- {
21274
- name: 'Authorization',
21275
- type: 'apiKey'
21276
- },
21277
- {
21278
- scheme: 'bearer',
21279
- type: 'http'
21280
- }
21281
- ],
21282
- url: '/api/onboarding-country-configs/{uuid}/',
21283
- ...options
21284
- });
21285
- };
21286
- export const onboardingCountryConfigsRetrieve = (options) => {
21287
- return (options.client ?? _heyApiClient).get({
21288
- security: [
21289
- {
21290
- name: 'Authorization',
21291
- type: 'apiKey'
21292
- },
21293
- {
21294
- scheme: 'bearer',
21295
- type: 'http'
21296
- }
21297
- ],
21298
- url: '/api/onboarding-country-configs/{uuid}/',
21299
- ...options
21300
- });
21301
- };
21302
- export const onboardingCountryConfigsPartialUpdate = (options) => {
21303
- return (options.client ?? _heyApiClient).patch({
21304
- security: [
21305
- {
21306
- name: 'Authorization',
21307
- type: 'apiKey'
21308
- },
21309
- {
21310
- scheme: 'bearer',
21311
- type: 'http'
21312
- }
21313
- ],
21314
- url: '/api/onboarding-country-configs/{uuid}/',
21315
- ...options,
21316
- headers: {
21317
- 'Content-Type': 'application/json',
21318
- ...options.headers
21319
- }
21320
- });
21321
- };
21322
- export const onboardingCountryConfigsUpdate = (options) => {
21323
- return (options.client ?? _heyApiClient).put({
21324
- security: [
21325
- {
21326
- name: 'Authorization',
21327
- type: 'apiKey'
21328
- },
21329
- {
21330
- scheme: 'bearer',
21331
- type: 'http'
21332
- }
21333
- ],
21334
- url: '/api/onboarding-country-configs/{uuid}/',
21335
- ...options,
21336
- headers: {
21337
- 'Content-Type': 'application/json',
21338
- ...options.headers
21339
- }
21340
- });
21341
- };
21342
21215
  export const onboardingJustificationsList = (options) => {
21343
21216
  return (options?.client ?? _heyApiClient).get({
21344
21217
  security: [
@@ -21721,7 +21594,7 @@ export const onboardingVerificationsCount = (options) => {
21721
21594
  });
21722
21595
  };
21723
21596
  export const onboardingVerificationsCreate = (options) => {
21724
- return (options.client ?? _heyApiClient).post({
21597
+ return (options?.client ?? _heyApiClient).post({
21725
21598
  security: [
21726
21599
  {
21727
21600
  name: 'Authorization',
@@ -21736,7 +21609,7 @@ export const onboardingVerificationsCreate = (options) => {
21736
21609
  ...options,
21737
21610
  headers: {
21738
21611
  'Content-Type': 'application/json',
21739
- ...options.headers
21612
+ ...options?.headers
21740
21613
  }
21741
21614
  });
21742
21615
  };
@@ -21813,7 +21686,7 @@ export const onboardingVerificationsUpdate = (options) => {
21813
21686
  });
21814
21687
  };
21815
21688
  /**
21816
- * Get checklist with questions and existing answers.
21689
+ * Get checklist with questions and existing answers. Supports both customer and intent checklists via checklist_type parameter.
21817
21690
  */
21818
21691
  export const onboardingVerificationsChecklistRetrieve = (options) => {
21819
21692
  return (options.client ?? _heyApiClient).get({
@@ -21832,7 +21705,7 @@ export const onboardingVerificationsChecklistRetrieve = (options) => {
21832
21705
  });
21833
21706
  };
21834
21707
  /**
21835
- * Get checklist completion status.
21708
+ * Get checklist completion status. Supports both customer and intent checklists via checklist_type parameter.
21836
21709
  */
21837
21710
  export const onboardingVerificationsCompletionStatusRetrieve = (options) => {
21838
21711
  return (options.client ?? _heyApiClient).get({
@@ -21893,7 +21766,7 @@ export const onboardingVerificationsRunValidation = (options) => {
21893
21766
  });
21894
21767
  };
21895
21768
  /**
21896
- * Submit checklist answers.
21769
+ * Submit answers to checklist questions. Automatically detects which checklist (customer or intent) each question belongs to.
21897
21770
  */
21898
21771
  export const onboardingVerificationsSubmitAnswers = (options) => {
21899
21772
  return (options.client ?? _heyApiClient).post({
@@ -21915,6 +21788,44 @@ export const onboardingVerificationsSubmitAnswers = (options) => {
21915
21788
  }
21916
21789
  });
21917
21790
  };
21791
+ /**
21792
+ * Get available onboarding checklists (customer and intent) for preview. This endpoint allows users to see checklist questions before creating a verification. Supports checklist_type parameter to filter by customer or intent checklists. Includes questions with onboarding metadata (field mappings).
21793
+ */
21794
+ export const onboardingVerificationsAvailableChecklistsRetrieve = (options) => {
21795
+ return (options?.client ?? _heyApiClient).get({
21796
+ security: [
21797
+ {
21798
+ name: 'Authorization',
21799
+ type: 'apiKey'
21800
+ },
21801
+ {
21802
+ scheme: 'bearer',
21803
+ type: 'http'
21804
+ }
21805
+ ],
21806
+ url: '/api/onboarding-verifications/available_checklists/',
21807
+ ...options
21808
+ });
21809
+ };
21810
+ /**
21811
+ * Get number of items in the collection matching the request parameters.
21812
+ */
21813
+ export const onboardingVerificationsAvailableChecklistsCount = (options) => {
21814
+ return (options?.client ?? _heyApiClient).head({
21815
+ security: [
21816
+ {
21817
+ name: 'Authorization',
21818
+ type: 'apiKey'
21819
+ },
21820
+ {
21821
+ scheme: 'bearer',
21822
+ type: 'http'
21823
+ }
21824
+ ],
21825
+ url: '/api/onboarding-verifications/available_checklists/',
21826
+ ...options
21827
+ });
21828
+ };
21918
21829
  /**
21919
21830
  * Get checklist template for creating new objects.
21920
21831
  */
@@ -21954,10 +21865,10 @@ export const onboardingVerificationsChecklistTemplateCount = (options) => {
21954
21865
  });
21955
21866
  };
21956
21867
  /**
21957
- * Start company validation process by creating a verification record. If a checklist is configured for the country, use checklist endpoints to submit additional answers. Then call run_validation to perform automatic validation.
21868
+ * Start company validation process by creating a verification record. User selects validation_method (e.g., 'ariregister', 'wirtschaftscompass'). Checklists are used for intent and customer data collection. Then call run_validation to perform automatic validation or create manual justification.
21958
21869
  */
21959
21870
  export const onboardingVerificationsStartVerification = (options) => {
21960
- return (options.client ?? _heyApiClient).post({
21871
+ return (options?.client ?? _heyApiClient).post({
21961
21872
  security: [
21962
21873
  {
21963
21874
  name: 'Authorization',
@@ -21972,7 +21883,7 @@ export const onboardingVerificationsStartVerification = (options) => {
21972
21883
  ...options,
21973
21884
  headers: {
21974
21885
  'Content-Type': 'application/json',
21975
- ...options.headers
21886
+ ...options?.headers
21976
21887
  }
21977
21888
  });
21978
21889
  };
@@ -31153,6 +31064,60 @@ export const query = (options) => {
31153
31064
  }
31154
31065
  });
31155
31066
  };
31067
+ /**
31068
+ * Purge RabbitMQ subscription queues
31069
+ * Purges messages from specified RabbitMQ subscription queues.
31070
+ *
31071
+ * Accepts either:
31072
+ * - `vhost` and `queue_name`: Purge a specific queue
31073
+ * - `vhost` and `queue_pattern`: Purge queues matching pattern (e.g., '*_resource')
31074
+ * - `purge_all_subscription_queues`: Purge all subscription queues across all vhosts
31075
+ *
31076
+ * Requires staff permissions (more restrictive than viewing).
31077
+ */
31078
+ export const rabbitmqStatsDestroy = (options) => {
31079
+ return (options?.client ?? _heyApiClient).delete({
31080
+ security: [
31081
+ {
31082
+ name: 'Authorization',
31083
+ type: 'apiKey'
31084
+ },
31085
+ {
31086
+ scheme: 'bearer',
31087
+ type: 'http'
31088
+ }
31089
+ ],
31090
+ url: '/api/rabbitmq-stats/',
31091
+ ...options
31092
+ });
31093
+ };
31094
+ /**
31095
+ * Get RabbitMQ subscription queue statistics
31096
+ * Provides statistics about RabbitMQ subscription queues.
31097
+ *
31098
+ * Returns information about all vhosts with their subscription queues, including:
31099
+ * - Queue names and message counts
31100
+ * - Waldur user and subscription information linked to each vhost
31101
+ * - Total message counts per vhost and across all vhosts
31102
+ *
31103
+ * Requires support user permissions.
31104
+ */
31105
+ export const rabbitmqStatsRetrieve = (options) => {
31106
+ return (options?.client ?? _heyApiClient).get({
31107
+ security: [
31108
+ {
31109
+ name: 'Authorization',
31110
+ type: 'apiKey'
31111
+ },
31112
+ {
31113
+ scheme: 'bearer',
31114
+ type: 'http'
31115
+ }
31116
+ ],
31117
+ url: '/api/rabbitmq-stats/',
31118
+ ...options
31119
+ });
31120
+ };
31156
31121
  export const rabbitmqUserStatsList = (options) => {
31157
31122
  return (options?.client ?? _heyApiClient).get({
31158
31123
  security: [