@rundit-sdk/embed 0.3.7-rc.23 → 0.3.7-rc.24
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/index.js +2 -0
- package/openapi.json +98 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -900,6 +900,8 @@ function createRequester(options) {
|
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
902
|
|
|
903
|
+
|
|
904
|
+
|
|
903
905
|
function createProfilesNamespace(request) {
|
|
904
906
|
return {
|
|
905
907
|
getConfig: (query = {}, init = {}) => request({ method: "GET", path: "/profiles/config", pathParams: undefined, query: query, body: undefined, signal: init.signal }),
|
package/openapi.json
CHANGED
|
@@ -3142,6 +3142,104 @@
|
|
|
3142
3142
|
"companyId"
|
|
3143
3143
|
]
|
|
3144
3144
|
},
|
|
3145
|
+
"SdkPrepareProfileAvatarUploadDto": {
|
|
3146
|
+
"type": "object",
|
|
3147
|
+
"properties": {
|
|
3148
|
+
"companyId": {
|
|
3149
|
+
"type": "integer",
|
|
3150
|
+
"minimum": 1,
|
|
3151
|
+
"description": "Company context for this directory entry. Must match an existing association; profiles cannot be moved to another company."
|
|
3152
|
+
},
|
|
3153
|
+
"filename": {
|
|
3154
|
+
"type": "string",
|
|
3155
|
+
"description": "Original image filename.",
|
|
3156
|
+
"minLength": 1,
|
|
3157
|
+
"maxLength": 255
|
|
3158
|
+
},
|
|
3159
|
+
"filetype": {
|
|
3160
|
+
"type": "string",
|
|
3161
|
+
"enum": [
|
|
3162
|
+
"image/jpeg",
|
|
3163
|
+
"image/png",
|
|
3164
|
+
"image/webp"
|
|
3165
|
+
],
|
|
3166
|
+
"description": "Image MIME type. SVG and animated formats are not supported."
|
|
3167
|
+
},
|
|
3168
|
+
"filesize": {
|
|
3169
|
+
"type": "integer",
|
|
3170
|
+
"minimum": 1,
|
|
3171
|
+
"maximum": 5242880,
|
|
3172
|
+
"description": "Exact file size in bytes; maximum 5 MiB."
|
|
3173
|
+
}
|
|
3174
|
+
},
|
|
3175
|
+
"required": [
|
|
3176
|
+
"companyId",
|
|
3177
|
+
"filename",
|
|
3178
|
+
"filetype",
|
|
3179
|
+
"filesize"
|
|
3180
|
+
]
|
|
3181
|
+
},
|
|
3182
|
+
"SdkProfileAvatarUploadDto": {
|
|
3183
|
+
"type": "object",
|
|
3184
|
+
"properties": {
|
|
3185
|
+
"fileUuid": {
|
|
3186
|
+
"type": "string",
|
|
3187
|
+
"format": "uuid"
|
|
3188
|
+
},
|
|
3189
|
+
"uploadUrl": {
|
|
3190
|
+
"type": "string",
|
|
3191
|
+
"description": "Short-lived upload URL. Treat it as a credential; do not persist or log it."
|
|
3192
|
+
},
|
|
3193
|
+
"httpMethod": {
|
|
3194
|
+
"type": "string",
|
|
3195
|
+
"enum": [
|
|
3196
|
+
"PUT"
|
|
3197
|
+
],
|
|
3198
|
+
"description": "Send raw image bytes using this HTTP method, outside the MCP JSON payload."
|
|
3199
|
+
},
|
|
3200
|
+
"headers": {
|
|
3201
|
+
"type": "object",
|
|
3202
|
+
"additionalProperties": {
|
|
3203
|
+
"type": "string"
|
|
3204
|
+
},
|
|
3205
|
+
"description": "Include these headers on the upload. Do not forward the Rundit API key. If-None-Match prevents overwriting an uploaded object."
|
|
3206
|
+
},
|
|
3207
|
+
"expiresIn": {
|
|
3208
|
+
"type": "integer",
|
|
3209
|
+
"description": "Upload URL lifetime in seconds. Obtain a fresh upload if it expires."
|
|
3210
|
+
},
|
|
3211
|
+
"maxBytes": {
|
|
3212
|
+
"type": "integer"
|
|
3213
|
+
}
|
|
3214
|
+
},
|
|
3215
|
+
"required": [
|
|
3216
|
+
"fileUuid",
|
|
3217
|
+
"uploadUrl",
|
|
3218
|
+
"httpMethod",
|
|
3219
|
+
"headers",
|
|
3220
|
+
"expiresIn",
|
|
3221
|
+
"maxBytes"
|
|
3222
|
+
]
|
|
3223
|
+
},
|
|
3224
|
+
"SdkCompleteProfileAvatarUploadDto": {
|
|
3225
|
+
"type": "object",
|
|
3226
|
+
"properties": {
|
|
3227
|
+
"companyId": {
|
|
3228
|
+
"type": "integer",
|
|
3229
|
+
"minimum": 1,
|
|
3230
|
+
"description": "Company context for this directory entry. Must match an existing association; profiles cannot be moved to another company."
|
|
3231
|
+
},
|
|
3232
|
+
"fileUuid": {
|
|
3233
|
+
"type": "string",
|
|
3234
|
+
"format": "uuid",
|
|
3235
|
+
"description": "File UUID returned by prepareAvatarUpload."
|
|
3236
|
+
}
|
|
3237
|
+
},
|
|
3238
|
+
"required": [
|
|
3239
|
+
"companyId",
|
|
3240
|
+
"fileUuid"
|
|
3241
|
+
]
|
|
3242
|
+
},
|
|
3145
3243
|
"GetBatchDashboardBodyDto": {
|
|
3146
3244
|
"type": "object",
|
|
3147
3245
|
"properties": {
|