@vibexp/api-client 0.91.0 → 0.93.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.
- package/dist/axios/index.d.ts +2 -2
- package/dist/axios/index.js +1 -1
- package/dist/axios/sdk.gen.d.ts +95 -1
- package/dist/axios/sdk.gen.js +204 -0
- package/dist/axios/types.gen.d.ts +484 -13
- package/dist/schema.d.ts +790 -15
- package/package.json +1 -1
package/dist/axios/sdk.gen.js
CHANGED
|
@@ -3936,6 +3936,210 @@ export const listAdminInstanceEmailSettingsAudit = (options) => (options?.client
|
|
|
3936
3936
|
url: '/api/v1/admin/settings/email/audit',
|
|
3937
3937
|
...options
|
|
3938
3938
|
});
|
|
3939
|
+
/**
|
|
3940
|
+
* Reset the instance search ranking settings to the built-in defaults
|
|
3941
|
+
*
|
|
3942
|
+
* Removes the stored instance search ranking defaults, so the built-in defaults
|
|
3943
|
+
* apply from the next request, and appends one entry (`action: delete`) to
|
|
3944
|
+
* the `search` audit log. Idempotent: with nothing stored it is still a
|
|
3945
|
+
* 204 and writes no audit entry.
|
|
3946
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3947
|
+
*
|
|
3948
|
+
*/
|
|
3949
|
+
export const resetAdminSearchSettings = (options) => (options?.client ?? client).delete({
|
|
3950
|
+
security: [{
|
|
3951
|
+
key: 'ApiKeyAuth',
|
|
3952
|
+
scheme: 'bearer',
|
|
3953
|
+
type: 'http'
|
|
3954
|
+
}, {
|
|
3955
|
+
in: 'cookie',
|
|
3956
|
+
name: 'vx_session',
|
|
3957
|
+
type: 'apiKey'
|
|
3958
|
+
}],
|
|
3959
|
+
url: '/api/v1/admin/settings/search',
|
|
3960
|
+
...options
|
|
3961
|
+
});
|
|
3962
|
+
/**
|
|
3963
|
+
* Get the instance search ranking settings
|
|
3964
|
+
*
|
|
3965
|
+
* Returns the instance search ranking defaults in effect, where they come from
|
|
3966
|
+
* (`instance` or `default`), the built-in defaults, the hard bounds for
|
|
3967
|
+
* form validation, how many teams store settings of their own and the
|
|
3968
|
+
* stored row's `version`. Always 200: with nothing stored, `source` is
|
|
3969
|
+
* `default` and `values` equal `built_in_defaults`.
|
|
3970
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3971
|
+
*
|
|
3972
|
+
*/
|
|
3973
|
+
export const getAdminSearchSettings = (options) => (options?.client ?? client).get({
|
|
3974
|
+
responseType: 'json',
|
|
3975
|
+
security: [{
|
|
3976
|
+
key: 'ApiKeyAuth',
|
|
3977
|
+
scheme: 'bearer',
|
|
3978
|
+
type: 'http'
|
|
3979
|
+
}, {
|
|
3980
|
+
in: 'cookie',
|
|
3981
|
+
name: 'vx_session',
|
|
3982
|
+
type: 'apiKey'
|
|
3983
|
+
}],
|
|
3984
|
+
url: '/api/v1/admin/settings/search',
|
|
3985
|
+
...options
|
|
3986
|
+
});
|
|
3987
|
+
/**
|
|
3988
|
+
* Replace the instance search ranking settings
|
|
3989
|
+
*
|
|
3990
|
+
* Validates and stores a whole replacement of the instance search ranking
|
|
3991
|
+
* defaults, taking effect on the next request with no restart, and appends
|
|
3992
|
+
* one entry (`action: upsert`) to the `search` audit log in the same
|
|
3993
|
+
* transaction. Pass `expected_version` to reject the save with 409 when
|
|
3994
|
+
* someone else changed the settings since they were read. A body that
|
|
3995
|
+
* omits a value field, sends one as null, or carries an unknown field is
|
|
3996
|
+
* rejected with 400.
|
|
3997
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
3998
|
+
*
|
|
3999
|
+
*/
|
|
4000
|
+
export const updateAdminSearchSettings = (options) => (options.client ?? client).put({
|
|
4001
|
+
responseType: 'json',
|
|
4002
|
+
security: [{
|
|
4003
|
+
key: 'ApiKeyAuth',
|
|
4004
|
+
scheme: 'bearer',
|
|
4005
|
+
type: 'http'
|
|
4006
|
+
}, {
|
|
4007
|
+
in: 'cookie',
|
|
4008
|
+
name: 'vx_session',
|
|
4009
|
+
type: 'apiKey'
|
|
4010
|
+
}],
|
|
4011
|
+
url: '/api/v1/admin/settings/search',
|
|
4012
|
+
...options,
|
|
4013
|
+
headers: {
|
|
4014
|
+
'Content-Type': 'application/json',
|
|
4015
|
+
...options.headers
|
|
4016
|
+
}
|
|
4017
|
+
});
|
|
4018
|
+
/**
|
|
4019
|
+
* List the instance search ranking settings audit log
|
|
4020
|
+
*
|
|
4021
|
+
* Returns one page of the instance search ranking settings' audit log (setting
|
|
4022
|
+
* `search`), newest first, with each actor's display name resolved.
|
|
4023
|
+
* Pass the previous page's `next_cursor` to continue.
|
|
4024
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
4025
|
+
*
|
|
4026
|
+
*/
|
|
4027
|
+
export const listAdminSearchSettingsAudit = (options) => (options?.client ?? client).get({
|
|
4028
|
+
responseType: 'json',
|
|
4029
|
+
security: [{
|
|
4030
|
+
key: 'ApiKeyAuth',
|
|
4031
|
+
scheme: 'bearer',
|
|
4032
|
+
type: 'http'
|
|
4033
|
+
}, {
|
|
4034
|
+
in: 'cookie',
|
|
4035
|
+
name: 'vx_session',
|
|
4036
|
+
type: 'apiKey'
|
|
4037
|
+
}],
|
|
4038
|
+
url: '/api/v1/admin/settings/search/audit',
|
|
4039
|
+
...options
|
|
4040
|
+
});
|
|
4041
|
+
/**
|
|
4042
|
+
* Reset the instance AI summary settings to the built-in defaults
|
|
4043
|
+
*
|
|
4044
|
+
* Removes the stored instance AI summary defaults and budgets, so the built-in defaults
|
|
4045
|
+
* apply from the next request, and appends one entry (`action: delete`) to
|
|
4046
|
+
* the `ai_summary` audit log. Idempotent: with nothing stored it is still a
|
|
4047
|
+
* 204 and writes no audit entry.
|
|
4048
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
4049
|
+
*
|
|
4050
|
+
*/
|
|
4051
|
+
export const resetAdminAiSummarySettings = (options) => (options?.client ?? client).delete({
|
|
4052
|
+
security: [{
|
|
4053
|
+
key: 'ApiKeyAuth',
|
|
4054
|
+
scheme: 'bearer',
|
|
4055
|
+
type: 'http'
|
|
4056
|
+
}, {
|
|
4057
|
+
in: 'cookie',
|
|
4058
|
+
name: 'vx_session',
|
|
4059
|
+
type: 'apiKey'
|
|
4060
|
+
}],
|
|
4061
|
+
url: '/api/v1/admin/settings/ai-summary',
|
|
4062
|
+
...options
|
|
4063
|
+
});
|
|
4064
|
+
/**
|
|
4065
|
+
* Get the instance AI summary settings
|
|
4066
|
+
*
|
|
4067
|
+
* Returns the instance AI summary defaults and budgets in effect, where they come from
|
|
4068
|
+
* (`instance` or `default`), the built-in defaults, the hard bounds for
|
|
4069
|
+
* form validation, how many teams store settings of their own and the
|
|
4070
|
+
* stored row's `version`. Always 200: with nothing stored, `source` is
|
|
4071
|
+
* `default` and `values` equal `built_in_defaults`.
|
|
4072
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
4073
|
+
*
|
|
4074
|
+
*/
|
|
4075
|
+
export const getAdminAiSummarySettings = (options) => (options?.client ?? client).get({
|
|
4076
|
+
responseType: 'json',
|
|
4077
|
+
security: [{
|
|
4078
|
+
key: 'ApiKeyAuth',
|
|
4079
|
+
scheme: 'bearer',
|
|
4080
|
+
type: 'http'
|
|
4081
|
+
}, {
|
|
4082
|
+
in: 'cookie',
|
|
4083
|
+
name: 'vx_session',
|
|
4084
|
+
type: 'apiKey'
|
|
4085
|
+
}],
|
|
4086
|
+
url: '/api/v1/admin/settings/ai-summary',
|
|
4087
|
+
...options
|
|
4088
|
+
});
|
|
4089
|
+
/**
|
|
4090
|
+
* Replace the instance AI summary settings
|
|
4091
|
+
*
|
|
4092
|
+
* Validates and stores a whole replacement of the instance AI summary
|
|
4093
|
+
* defaults and budgets, taking effect on the next request with no restart, and appends
|
|
4094
|
+
* one entry (`action: upsert`) to the `ai_summary` audit log in the same
|
|
4095
|
+
* transaction. Pass `expected_version` to reject the save with 409 when
|
|
4096
|
+
* someone else changed the settings since they were read. A body that
|
|
4097
|
+
* omits a value field, sends one as null, or carries an unknown field is
|
|
4098
|
+
* rejected with 400.
|
|
4099
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
4100
|
+
*
|
|
4101
|
+
*/
|
|
4102
|
+
export const updateAdminAiSummarySettings = (options) => (options.client ?? client).put({
|
|
4103
|
+
responseType: 'json',
|
|
4104
|
+
security: [{
|
|
4105
|
+
key: 'ApiKeyAuth',
|
|
4106
|
+
scheme: 'bearer',
|
|
4107
|
+
type: 'http'
|
|
4108
|
+
}, {
|
|
4109
|
+
in: 'cookie',
|
|
4110
|
+
name: 'vx_session',
|
|
4111
|
+
type: 'apiKey'
|
|
4112
|
+
}],
|
|
4113
|
+
url: '/api/v1/admin/settings/ai-summary',
|
|
4114
|
+
...options,
|
|
4115
|
+
headers: {
|
|
4116
|
+
'Content-Type': 'application/json',
|
|
4117
|
+
...options.headers
|
|
4118
|
+
}
|
|
4119
|
+
});
|
|
4120
|
+
/**
|
|
4121
|
+
* List the instance AI summary settings audit log
|
|
4122
|
+
*
|
|
4123
|
+
* Returns one page of the instance AI summary settings' audit log (setting
|
|
4124
|
+
* `ai_summary`), newest first, with each actor's display name resolved.
|
|
4125
|
+
* Pass the previous page's `next_cursor` to continue.
|
|
4126
|
+
* Instance-admin only; non-admin and unauthenticated requests receive 404.
|
|
4127
|
+
*
|
|
4128
|
+
*/
|
|
4129
|
+
export const listAdminAiSummarySettingsAudit = (options) => (options?.client ?? client).get({
|
|
4130
|
+
responseType: 'json',
|
|
4131
|
+
security: [{
|
|
4132
|
+
key: 'ApiKeyAuth',
|
|
4133
|
+
scheme: 'bearer',
|
|
4134
|
+
type: 'http'
|
|
4135
|
+
}, {
|
|
4136
|
+
in: 'cookie',
|
|
4137
|
+
name: 'vx_session',
|
|
4138
|
+
type: 'apiKey'
|
|
4139
|
+
}],
|
|
4140
|
+
url: '/api/v1/admin/settings/ai-summary/audit',
|
|
4141
|
+
...options
|
|
4142
|
+
});
|
|
3939
4143
|
/**
|
|
3940
4144
|
* List a resource's comments
|
|
3941
4145
|
*
|