modal 0.7.3-dev.0 → 0.7.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/index.cjs +848 -9
- package/dist/index.d.cts +80 -0
- package/dist/index.d.ts +80 -0
- package/dist/index.js +848 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3009,6 +3009,371 @@ var AppClientDisconnectRequest = {
|
|
|
3009
3009
|
return message;
|
|
3010
3010
|
}
|
|
3011
3011
|
};
|
|
3012
|
+
function createBaseAppCountLogsRequest() {
|
|
3013
|
+
return {
|
|
3014
|
+
appId: "",
|
|
3015
|
+
taskId: "",
|
|
3016
|
+
functionId: "",
|
|
3017
|
+
functionCallId: "",
|
|
3018
|
+
sandboxId: "",
|
|
3019
|
+
searchText: "",
|
|
3020
|
+
since: void 0,
|
|
3021
|
+
until: void 0,
|
|
3022
|
+
bucketSecs: 0,
|
|
3023
|
+
source: 0
|
|
3024
|
+
};
|
|
3025
|
+
}
|
|
3026
|
+
var AppCountLogsRequest = {
|
|
3027
|
+
encode(message, writer = new BinaryWriter()) {
|
|
3028
|
+
if (message.appId !== "") {
|
|
3029
|
+
writer.uint32(10).string(message.appId);
|
|
3030
|
+
}
|
|
3031
|
+
if (message.taskId !== "") {
|
|
3032
|
+
writer.uint32(18).string(message.taskId);
|
|
3033
|
+
}
|
|
3034
|
+
if (message.functionId !== "") {
|
|
3035
|
+
writer.uint32(26).string(message.functionId);
|
|
3036
|
+
}
|
|
3037
|
+
if (message.functionCallId !== "") {
|
|
3038
|
+
writer.uint32(34).string(message.functionCallId);
|
|
3039
|
+
}
|
|
3040
|
+
if (message.sandboxId !== "") {
|
|
3041
|
+
writer.uint32(42).string(message.sandboxId);
|
|
3042
|
+
}
|
|
3043
|
+
if (message.searchText !== "") {
|
|
3044
|
+
writer.uint32(50).string(message.searchText);
|
|
3045
|
+
}
|
|
3046
|
+
if (message.since !== void 0) {
|
|
3047
|
+
Timestamp.encode(toTimestamp(message.since), writer.uint32(58).fork()).join();
|
|
3048
|
+
}
|
|
3049
|
+
if (message.until !== void 0) {
|
|
3050
|
+
Timestamp.encode(toTimestamp(message.until), writer.uint32(66).fork()).join();
|
|
3051
|
+
}
|
|
3052
|
+
if (message.bucketSecs !== 0) {
|
|
3053
|
+
writer.uint32(72).uint32(message.bucketSecs);
|
|
3054
|
+
}
|
|
3055
|
+
if (message.source !== 0) {
|
|
3056
|
+
writer.uint32(80).int32(message.source);
|
|
3057
|
+
}
|
|
3058
|
+
return writer;
|
|
3059
|
+
},
|
|
3060
|
+
decode(input, length) {
|
|
3061
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3062
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3063
|
+
const message = createBaseAppCountLogsRequest();
|
|
3064
|
+
while (reader.pos < end) {
|
|
3065
|
+
const tag = reader.uint32();
|
|
3066
|
+
switch (tag >>> 3) {
|
|
3067
|
+
case 1: {
|
|
3068
|
+
if (tag !== 10) {
|
|
3069
|
+
break;
|
|
3070
|
+
}
|
|
3071
|
+
message.appId = reader.string();
|
|
3072
|
+
continue;
|
|
3073
|
+
}
|
|
3074
|
+
case 2: {
|
|
3075
|
+
if (tag !== 18) {
|
|
3076
|
+
break;
|
|
3077
|
+
}
|
|
3078
|
+
message.taskId = reader.string();
|
|
3079
|
+
continue;
|
|
3080
|
+
}
|
|
3081
|
+
case 3: {
|
|
3082
|
+
if (tag !== 26) {
|
|
3083
|
+
break;
|
|
3084
|
+
}
|
|
3085
|
+
message.functionId = reader.string();
|
|
3086
|
+
continue;
|
|
3087
|
+
}
|
|
3088
|
+
case 4: {
|
|
3089
|
+
if (tag !== 34) {
|
|
3090
|
+
break;
|
|
3091
|
+
}
|
|
3092
|
+
message.functionCallId = reader.string();
|
|
3093
|
+
continue;
|
|
3094
|
+
}
|
|
3095
|
+
case 5: {
|
|
3096
|
+
if (tag !== 42) {
|
|
3097
|
+
break;
|
|
3098
|
+
}
|
|
3099
|
+
message.sandboxId = reader.string();
|
|
3100
|
+
continue;
|
|
3101
|
+
}
|
|
3102
|
+
case 6: {
|
|
3103
|
+
if (tag !== 50) {
|
|
3104
|
+
break;
|
|
3105
|
+
}
|
|
3106
|
+
message.searchText = reader.string();
|
|
3107
|
+
continue;
|
|
3108
|
+
}
|
|
3109
|
+
case 7: {
|
|
3110
|
+
if (tag !== 58) {
|
|
3111
|
+
break;
|
|
3112
|
+
}
|
|
3113
|
+
message.since = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3114
|
+
continue;
|
|
3115
|
+
}
|
|
3116
|
+
case 8: {
|
|
3117
|
+
if (tag !== 66) {
|
|
3118
|
+
break;
|
|
3119
|
+
}
|
|
3120
|
+
message.until = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3121
|
+
continue;
|
|
3122
|
+
}
|
|
3123
|
+
case 9: {
|
|
3124
|
+
if (tag !== 72) {
|
|
3125
|
+
break;
|
|
3126
|
+
}
|
|
3127
|
+
message.bucketSecs = reader.uint32();
|
|
3128
|
+
continue;
|
|
3129
|
+
}
|
|
3130
|
+
case 10: {
|
|
3131
|
+
if (tag !== 80) {
|
|
3132
|
+
break;
|
|
3133
|
+
}
|
|
3134
|
+
message.source = reader.int32();
|
|
3135
|
+
continue;
|
|
3136
|
+
}
|
|
3137
|
+
}
|
|
3138
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3139
|
+
break;
|
|
3140
|
+
}
|
|
3141
|
+
reader.skip(tag & 7);
|
|
3142
|
+
}
|
|
3143
|
+
return message;
|
|
3144
|
+
},
|
|
3145
|
+
fromJSON(object) {
|
|
3146
|
+
return {
|
|
3147
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
3148
|
+
taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
3149
|
+
functionId: isSet4(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
3150
|
+
functionCallId: isSet4(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
3151
|
+
sandboxId: isSet4(object.sandboxId) ? globalThis.String(object.sandboxId) : "",
|
|
3152
|
+
searchText: isSet4(object.searchText) ? globalThis.String(object.searchText) : "",
|
|
3153
|
+
since: isSet4(object.since) ? fromJsonTimestamp(object.since) : void 0,
|
|
3154
|
+
until: isSet4(object.until) ? fromJsonTimestamp(object.until) : void 0,
|
|
3155
|
+
bucketSecs: isSet4(object.bucketSecs) ? globalThis.Number(object.bucketSecs) : 0,
|
|
3156
|
+
source: isSet4(object.source) ? fileDescriptorFromJSON(object.source) : 0
|
|
3157
|
+
};
|
|
3158
|
+
},
|
|
3159
|
+
toJSON(message) {
|
|
3160
|
+
const obj = {};
|
|
3161
|
+
if (message.appId !== "") {
|
|
3162
|
+
obj.appId = message.appId;
|
|
3163
|
+
}
|
|
3164
|
+
if (message.taskId !== "") {
|
|
3165
|
+
obj.taskId = message.taskId;
|
|
3166
|
+
}
|
|
3167
|
+
if (message.functionId !== "") {
|
|
3168
|
+
obj.functionId = message.functionId;
|
|
3169
|
+
}
|
|
3170
|
+
if (message.functionCallId !== "") {
|
|
3171
|
+
obj.functionCallId = message.functionCallId;
|
|
3172
|
+
}
|
|
3173
|
+
if (message.sandboxId !== "") {
|
|
3174
|
+
obj.sandboxId = message.sandboxId;
|
|
3175
|
+
}
|
|
3176
|
+
if (message.searchText !== "") {
|
|
3177
|
+
obj.searchText = message.searchText;
|
|
3178
|
+
}
|
|
3179
|
+
if (message.since !== void 0) {
|
|
3180
|
+
obj.since = message.since.toISOString();
|
|
3181
|
+
}
|
|
3182
|
+
if (message.until !== void 0) {
|
|
3183
|
+
obj.until = message.until.toISOString();
|
|
3184
|
+
}
|
|
3185
|
+
if (message.bucketSecs !== 0) {
|
|
3186
|
+
obj.bucketSecs = Math.round(message.bucketSecs);
|
|
3187
|
+
}
|
|
3188
|
+
if (message.source !== 0) {
|
|
3189
|
+
obj.source = fileDescriptorToJSON(message.source);
|
|
3190
|
+
}
|
|
3191
|
+
return obj;
|
|
3192
|
+
},
|
|
3193
|
+
create(base) {
|
|
3194
|
+
return AppCountLogsRequest.fromPartial(base ?? {});
|
|
3195
|
+
},
|
|
3196
|
+
fromPartial(object) {
|
|
3197
|
+
const message = createBaseAppCountLogsRequest();
|
|
3198
|
+
message.appId = object.appId ?? "";
|
|
3199
|
+
message.taskId = object.taskId ?? "";
|
|
3200
|
+
message.functionId = object.functionId ?? "";
|
|
3201
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
3202
|
+
message.sandboxId = object.sandboxId ?? "";
|
|
3203
|
+
message.searchText = object.searchText ?? "";
|
|
3204
|
+
message.since = object.since ?? void 0;
|
|
3205
|
+
message.until = object.until ?? void 0;
|
|
3206
|
+
message.bucketSecs = object.bucketSecs ?? 0;
|
|
3207
|
+
message.source = object.source ?? 0;
|
|
3208
|
+
return message;
|
|
3209
|
+
}
|
|
3210
|
+
};
|
|
3211
|
+
function createBaseAppCountLogsResponse() {
|
|
3212
|
+
return { appId: "", buckets: [] };
|
|
3213
|
+
}
|
|
3214
|
+
var AppCountLogsResponse = {
|
|
3215
|
+
encode(message, writer = new BinaryWriter()) {
|
|
3216
|
+
if (message.appId !== "") {
|
|
3217
|
+
writer.uint32(10).string(message.appId);
|
|
3218
|
+
}
|
|
3219
|
+
for (const v of message.buckets) {
|
|
3220
|
+
AppCountLogsResponse_LogBucket.encode(v, writer.uint32(18).fork()).join();
|
|
3221
|
+
}
|
|
3222
|
+
return writer;
|
|
3223
|
+
},
|
|
3224
|
+
decode(input, length) {
|
|
3225
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3226
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3227
|
+
const message = createBaseAppCountLogsResponse();
|
|
3228
|
+
while (reader.pos < end) {
|
|
3229
|
+
const tag = reader.uint32();
|
|
3230
|
+
switch (tag >>> 3) {
|
|
3231
|
+
case 1: {
|
|
3232
|
+
if (tag !== 10) {
|
|
3233
|
+
break;
|
|
3234
|
+
}
|
|
3235
|
+
message.appId = reader.string();
|
|
3236
|
+
continue;
|
|
3237
|
+
}
|
|
3238
|
+
case 2: {
|
|
3239
|
+
if (tag !== 18) {
|
|
3240
|
+
break;
|
|
3241
|
+
}
|
|
3242
|
+
message.buckets.push(AppCountLogsResponse_LogBucket.decode(reader, reader.uint32()));
|
|
3243
|
+
continue;
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3247
|
+
break;
|
|
3248
|
+
}
|
|
3249
|
+
reader.skip(tag & 7);
|
|
3250
|
+
}
|
|
3251
|
+
return message;
|
|
3252
|
+
},
|
|
3253
|
+
fromJSON(object) {
|
|
3254
|
+
return {
|
|
3255
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
3256
|
+
buckets: globalThis.Array.isArray(object?.buckets) ? object.buckets.map((e) => AppCountLogsResponse_LogBucket.fromJSON(e)) : []
|
|
3257
|
+
};
|
|
3258
|
+
},
|
|
3259
|
+
toJSON(message) {
|
|
3260
|
+
const obj = {};
|
|
3261
|
+
if (message.appId !== "") {
|
|
3262
|
+
obj.appId = message.appId;
|
|
3263
|
+
}
|
|
3264
|
+
if (message.buckets?.length) {
|
|
3265
|
+
obj.buckets = message.buckets.map((e) => AppCountLogsResponse_LogBucket.toJSON(e));
|
|
3266
|
+
}
|
|
3267
|
+
return obj;
|
|
3268
|
+
},
|
|
3269
|
+
create(base) {
|
|
3270
|
+
return AppCountLogsResponse.fromPartial(base ?? {});
|
|
3271
|
+
},
|
|
3272
|
+
fromPartial(object) {
|
|
3273
|
+
const message = createBaseAppCountLogsResponse();
|
|
3274
|
+
message.appId = object.appId ?? "";
|
|
3275
|
+
message.buckets = object.buckets?.map((e) => AppCountLogsResponse_LogBucket.fromPartial(e)) || [];
|
|
3276
|
+
return message;
|
|
3277
|
+
}
|
|
3278
|
+
};
|
|
3279
|
+
function createBaseAppCountLogsResponse_LogBucket() {
|
|
3280
|
+
return { bucketStartAt: void 0, stdoutLogs: 0, stderrLogs: 0, systemLogs: 0 };
|
|
3281
|
+
}
|
|
3282
|
+
var AppCountLogsResponse_LogBucket = {
|
|
3283
|
+
encode(message, writer = new BinaryWriter()) {
|
|
3284
|
+
if (message.bucketStartAt !== void 0) {
|
|
3285
|
+
Timestamp.encode(toTimestamp(message.bucketStartAt), writer.uint32(10).fork()).join();
|
|
3286
|
+
}
|
|
3287
|
+
if (message.stdoutLogs !== 0) {
|
|
3288
|
+
writer.uint32(16).uint64(message.stdoutLogs);
|
|
3289
|
+
}
|
|
3290
|
+
if (message.stderrLogs !== 0) {
|
|
3291
|
+
writer.uint32(24).uint64(message.stderrLogs);
|
|
3292
|
+
}
|
|
3293
|
+
if (message.systemLogs !== 0) {
|
|
3294
|
+
writer.uint32(32).uint64(message.systemLogs);
|
|
3295
|
+
}
|
|
3296
|
+
return writer;
|
|
3297
|
+
},
|
|
3298
|
+
decode(input, length) {
|
|
3299
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
3300
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
3301
|
+
const message = createBaseAppCountLogsResponse_LogBucket();
|
|
3302
|
+
while (reader.pos < end) {
|
|
3303
|
+
const tag = reader.uint32();
|
|
3304
|
+
switch (tag >>> 3) {
|
|
3305
|
+
case 1: {
|
|
3306
|
+
if (tag !== 10) {
|
|
3307
|
+
break;
|
|
3308
|
+
}
|
|
3309
|
+
message.bucketStartAt = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
3310
|
+
continue;
|
|
3311
|
+
}
|
|
3312
|
+
case 2: {
|
|
3313
|
+
if (tag !== 16) {
|
|
3314
|
+
break;
|
|
3315
|
+
}
|
|
3316
|
+
message.stdoutLogs = longToNumber2(reader.uint64());
|
|
3317
|
+
continue;
|
|
3318
|
+
}
|
|
3319
|
+
case 3: {
|
|
3320
|
+
if (tag !== 24) {
|
|
3321
|
+
break;
|
|
3322
|
+
}
|
|
3323
|
+
message.stderrLogs = longToNumber2(reader.uint64());
|
|
3324
|
+
continue;
|
|
3325
|
+
}
|
|
3326
|
+
case 4: {
|
|
3327
|
+
if (tag !== 32) {
|
|
3328
|
+
break;
|
|
3329
|
+
}
|
|
3330
|
+
message.systemLogs = longToNumber2(reader.uint64());
|
|
3331
|
+
continue;
|
|
3332
|
+
}
|
|
3333
|
+
}
|
|
3334
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3335
|
+
break;
|
|
3336
|
+
}
|
|
3337
|
+
reader.skip(tag & 7);
|
|
3338
|
+
}
|
|
3339
|
+
return message;
|
|
3340
|
+
},
|
|
3341
|
+
fromJSON(object) {
|
|
3342
|
+
return {
|
|
3343
|
+
bucketStartAt: isSet4(object.bucketStartAt) ? fromJsonTimestamp(object.bucketStartAt) : void 0,
|
|
3344
|
+
stdoutLogs: isSet4(object.stdoutLogs) ? globalThis.Number(object.stdoutLogs) : 0,
|
|
3345
|
+
stderrLogs: isSet4(object.stderrLogs) ? globalThis.Number(object.stderrLogs) : 0,
|
|
3346
|
+
systemLogs: isSet4(object.systemLogs) ? globalThis.Number(object.systemLogs) : 0
|
|
3347
|
+
};
|
|
3348
|
+
},
|
|
3349
|
+
toJSON(message) {
|
|
3350
|
+
const obj = {};
|
|
3351
|
+
if (message.bucketStartAt !== void 0) {
|
|
3352
|
+
obj.bucketStartAt = message.bucketStartAt.toISOString();
|
|
3353
|
+
}
|
|
3354
|
+
if (message.stdoutLogs !== 0) {
|
|
3355
|
+
obj.stdoutLogs = Math.round(message.stdoutLogs);
|
|
3356
|
+
}
|
|
3357
|
+
if (message.stderrLogs !== 0) {
|
|
3358
|
+
obj.stderrLogs = Math.round(message.stderrLogs);
|
|
3359
|
+
}
|
|
3360
|
+
if (message.systemLogs !== 0) {
|
|
3361
|
+
obj.systemLogs = Math.round(message.systemLogs);
|
|
3362
|
+
}
|
|
3363
|
+
return obj;
|
|
3364
|
+
},
|
|
3365
|
+
create(base) {
|
|
3366
|
+
return AppCountLogsResponse_LogBucket.fromPartial(base ?? {});
|
|
3367
|
+
},
|
|
3368
|
+
fromPartial(object) {
|
|
3369
|
+
const message = createBaseAppCountLogsResponse_LogBucket();
|
|
3370
|
+
message.bucketStartAt = object.bucketStartAt ?? void 0;
|
|
3371
|
+
message.stdoutLogs = object.stdoutLogs ?? 0;
|
|
3372
|
+
message.stderrLogs = object.stderrLogs ?? 0;
|
|
3373
|
+
message.systemLogs = object.systemLogs ?? 0;
|
|
3374
|
+
return message;
|
|
3375
|
+
}
|
|
3376
|
+
};
|
|
3012
3377
|
function createBaseAppCreateRequest() {
|
|
3013
3378
|
return { clientId: "", description: "", environmentName: "", appState: 0, tags: {} };
|
|
3014
3379
|
}
|
|
@@ -3757,6 +4122,258 @@ var AppDeploymentHistoryResponse = {
|
|
|
3757
4122
|
return message;
|
|
3758
4123
|
}
|
|
3759
4124
|
};
|
|
4125
|
+
function createBaseAppFetchLogsRequest() {
|
|
4126
|
+
return {
|
|
4127
|
+
appId: "",
|
|
4128
|
+
since: void 0,
|
|
4129
|
+
until: void 0,
|
|
4130
|
+
limit: 0,
|
|
4131
|
+
source: 0,
|
|
4132
|
+
functionId: "",
|
|
4133
|
+
functionCallId: "",
|
|
4134
|
+
taskId: "",
|
|
4135
|
+
sandboxId: "",
|
|
4136
|
+
searchText: ""
|
|
4137
|
+
};
|
|
4138
|
+
}
|
|
4139
|
+
var AppFetchLogsRequest = {
|
|
4140
|
+
encode(message, writer = new BinaryWriter()) {
|
|
4141
|
+
if (message.appId !== "") {
|
|
4142
|
+
writer.uint32(10).string(message.appId);
|
|
4143
|
+
}
|
|
4144
|
+
if (message.since !== void 0) {
|
|
4145
|
+
Timestamp.encode(toTimestamp(message.since), writer.uint32(18).fork()).join();
|
|
4146
|
+
}
|
|
4147
|
+
if (message.until !== void 0) {
|
|
4148
|
+
Timestamp.encode(toTimestamp(message.until), writer.uint32(26).fork()).join();
|
|
4149
|
+
}
|
|
4150
|
+
if (message.limit !== 0) {
|
|
4151
|
+
writer.uint32(32).uint32(message.limit);
|
|
4152
|
+
}
|
|
4153
|
+
if (message.source !== 0) {
|
|
4154
|
+
writer.uint32(40).int32(message.source);
|
|
4155
|
+
}
|
|
4156
|
+
if (message.functionId !== "") {
|
|
4157
|
+
writer.uint32(50).string(message.functionId);
|
|
4158
|
+
}
|
|
4159
|
+
if (message.functionCallId !== "") {
|
|
4160
|
+
writer.uint32(58).string(message.functionCallId);
|
|
4161
|
+
}
|
|
4162
|
+
if (message.taskId !== "") {
|
|
4163
|
+
writer.uint32(66).string(message.taskId);
|
|
4164
|
+
}
|
|
4165
|
+
if (message.sandboxId !== "") {
|
|
4166
|
+
writer.uint32(74).string(message.sandboxId);
|
|
4167
|
+
}
|
|
4168
|
+
if (message.searchText !== "") {
|
|
4169
|
+
writer.uint32(82).string(message.searchText);
|
|
4170
|
+
}
|
|
4171
|
+
return writer;
|
|
4172
|
+
},
|
|
4173
|
+
decode(input, length) {
|
|
4174
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4175
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4176
|
+
const message = createBaseAppFetchLogsRequest();
|
|
4177
|
+
while (reader.pos < end) {
|
|
4178
|
+
const tag = reader.uint32();
|
|
4179
|
+
switch (tag >>> 3) {
|
|
4180
|
+
case 1: {
|
|
4181
|
+
if (tag !== 10) {
|
|
4182
|
+
break;
|
|
4183
|
+
}
|
|
4184
|
+
message.appId = reader.string();
|
|
4185
|
+
continue;
|
|
4186
|
+
}
|
|
4187
|
+
case 2: {
|
|
4188
|
+
if (tag !== 18) {
|
|
4189
|
+
break;
|
|
4190
|
+
}
|
|
4191
|
+
message.since = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
4192
|
+
continue;
|
|
4193
|
+
}
|
|
4194
|
+
case 3: {
|
|
4195
|
+
if (tag !== 26) {
|
|
4196
|
+
break;
|
|
4197
|
+
}
|
|
4198
|
+
message.until = fromTimestamp(Timestamp.decode(reader, reader.uint32()));
|
|
4199
|
+
continue;
|
|
4200
|
+
}
|
|
4201
|
+
case 4: {
|
|
4202
|
+
if (tag !== 32) {
|
|
4203
|
+
break;
|
|
4204
|
+
}
|
|
4205
|
+
message.limit = reader.uint32();
|
|
4206
|
+
continue;
|
|
4207
|
+
}
|
|
4208
|
+
case 5: {
|
|
4209
|
+
if (tag !== 40) {
|
|
4210
|
+
break;
|
|
4211
|
+
}
|
|
4212
|
+
message.source = reader.int32();
|
|
4213
|
+
continue;
|
|
4214
|
+
}
|
|
4215
|
+
case 6: {
|
|
4216
|
+
if (tag !== 50) {
|
|
4217
|
+
break;
|
|
4218
|
+
}
|
|
4219
|
+
message.functionId = reader.string();
|
|
4220
|
+
continue;
|
|
4221
|
+
}
|
|
4222
|
+
case 7: {
|
|
4223
|
+
if (tag !== 58) {
|
|
4224
|
+
break;
|
|
4225
|
+
}
|
|
4226
|
+
message.functionCallId = reader.string();
|
|
4227
|
+
continue;
|
|
4228
|
+
}
|
|
4229
|
+
case 8: {
|
|
4230
|
+
if (tag !== 66) {
|
|
4231
|
+
break;
|
|
4232
|
+
}
|
|
4233
|
+
message.taskId = reader.string();
|
|
4234
|
+
continue;
|
|
4235
|
+
}
|
|
4236
|
+
case 9: {
|
|
4237
|
+
if (tag !== 74) {
|
|
4238
|
+
break;
|
|
4239
|
+
}
|
|
4240
|
+
message.sandboxId = reader.string();
|
|
4241
|
+
continue;
|
|
4242
|
+
}
|
|
4243
|
+
case 10: {
|
|
4244
|
+
if (tag !== 82) {
|
|
4245
|
+
break;
|
|
4246
|
+
}
|
|
4247
|
+
message.searchText = reader.string();
|
|
4248
|
+
continue;
|
|
4249
|
+
}
|
|
4250
|
+
}
|
|
4251
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4252
|
+
break;
|
|
4253
|
+
}
|
|
4254
|
+
reader.skip(tag & 7);
|
|
4255
|
+
}
|
|
4256
|
+
return message;
|
|
4257
|
+
},
|
|
4258
|
+
fromJSON(object) {
|
|
4259
|
+
return {
|
|
4260
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
4261
|
+
since: isSet4(object.since) ? fromJsonTimestamp(object.since) : void 0,
|
|
4262
|
+
until: isSet4(object.until) ? fromJsonTimestamp(object.until) : void 0,
|
|
4263
|
+
limit: isSet4(object.limit) ? globalThis.Number(object.limit) : 0,
|
|
4264
|
+
source: isSet4(object.source) ? fileDescriptorFromJSON(object.source) : 0,
|
|
4265
|
+
functionId: isSet4(object.functionId) ? globalThis.String(object.functionId) : "",
|
|
4266
|
+
functionCallId: isSet4(object.functionCallId) ? globalThis.String(object.functionCallId) : "",
|
|
4267
|
+
taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
4268
|
+
sandboxId: isSet4(object.sandboxId) ? globalThis.String(object.sandboxId) : "",
|
|
4269
|
+
searchText: isSet4(object.searchText) ? globalThis.String(object.searchText) : ""
|
|
4270
|
+
};
|
|
4271
|
+
},
|
|
4272
|
+
toJSON(message) {
|
|
4273
|
+
const obj = {};
|
|
4274
|
+
if (message.appId !== "") {
|
|
4275
|
+
obj.appId = message.appId;
|
|
4276
|
+
}
|
|
4277
|
+
if (message.since !== void 0) {
|
|
4278
|
+
obj.since = message.since.toISOString();
|
|
4279
|
+
}
|
|
4280
|
+
if (message.until !== void 0) {
|
|
4281
|
+
obj.until = message.until.toISOString();
|
|
4282
|
+
}
|
|
4283
|
+
if (message.limit !== 0) {
|
|
4284
|
+
obj.limit = Math.round(message.limit);
|
|
4285
|
+
}
|
|
4286
|
+
if (message.source !== 0) {
|
|
4287
|
+
obj.source = fileDescriptorToJSON(message.source);
|
|
4288
|
+
}
|
|
4289
|
+
if (message.functionId !== "") {
|
|
4290
|
+
obj.functionId = message.functionId;
|
|
4291
|
+
}
|
|
4292
|
+
if (message.functionCallId !== "") {
|
|
4293
|
+
obj.functionCallId = message.functionCallId;
|
|
4294
|
+
}
|
|
4295
|
+
if (message.taskId !== "") {
|
|
4296
|
+
obj.taskId = message.taskId;
|
|
4297
|
+
}
|
|
4298
|
+
if (message.sandboxId !== "") {
|
|
4299
|
+
obj.sandboxId = message.sandboxId;
|
|
4300
|
+
}
|
|
4301
|
+
if (message.searchText !== "") {
|
|
4302
|
+
obj.searchText = message.searchText;
|
|
4303
|
+
}
|
|
4304
|
+
return obj;
|
|
4305
|
+
},
|
|
4306
|
+
create(base) {
|
|
4307
|
+
return AppFetchLogsRequest.fromPartial(base ?? {});
|
|
4308
|
+
},
|
|
4309
|
+
fromPartial(object) {
|
|
4310
|
+
const message = createBaseAppFetchLogsRequest();
|
|
4311
|
+
message.appId = object.appId ?? "";
|
|
4312
|
+
message.since = object.since ?? void 0;
|
|
4313
|
+
message.until = object.until ?? void 0;
|
|
4314
|
+
message.limit = object.limit ?? 0;
|
|
4315
|
+
message.source = object.source ?? 0;
|
|
4316
|
+
message.functionId = object.functionId ?? "";
|
|
4317
|
+
message.functionCallId = object.functionCallId ?? "";
|
|
4318
|
+
message.taskId = object.taskId ?? "";
|
|
4319
|
+
message.sandboxId = object.sandboxId ?? "";
|
|
4320
|
+
message.searchText = object.searchText ?? "";
|
|
4321
|
+
return message;
|
|
4322
|
+
}
|
|
4323
|
+
};
|
|
4324
|
+
function createBaseAppFetchLogsResponse() {
|
|
4325
|
+
return { batches: [] };
|
|
4326
|
+
}
|
|
4327
|
+
var AppFetchLogsResponse = {
|
|
4328
|
+
encode(message, writer = new BinaryWriter()) {
|
|
4329
|
+
for (const v of message.batches) {
|
|
4330
|
+
TaskLogsBatch.encode(v, writer.uint32(10).fork()).join();
|
|
4331
|
+
}
|
|
4332
|
+
return writer;
|
|
4333
|
+
},
|
|
4334
|
+
decode(input, length) {
|
|
4335
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
4336
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
4337
|
+
const message = createBaseAppFetchLogsResponse();
|
|
4338
|
+
while (reader.pos < end) {
|
|
4339
|
+
const tag = reader.uint32();
|
|
4340
|
+
switch (tag >>> 3) {
|
|
4341
|
+
case 1: {
|
|
4342
|
+
if (tag !== 10) {
|
|
4343
|
+
break;
|
|
4344
|
+
}
|
|
4345
|
+
message.batches.push(TaskLogsBatch.decode(reader, reader.uint32()));
|
|
4346
|
+
continue;
|
|
4347
|
+
}
|
|
4348
|
+
}
|
|
4349
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
4350
|
+
break;
|
|
4351
|
+
}
|
|
4352
|
+
reader.skip(tag & 7);
|
|
4353
|
+
}
|
|
4354
|
+
return message;
|
|
4355
|
+
},
|
|
4356
|
+
fromJSON(object) {
|
|
4357
|
+
return {
|
|
4358
|
+
batches: globalThis.Array.isArray(object?.batches) ? object.batches.map((e) => TaskLogsBatch.fromJSON(e)) : []
|
|
4359
|
+
};
|
|
4360
|
+
},
|
|
4361
|
+
toJSON(message) {
|
|
4362
|
+
const obj = {};
|
|
4363
|
+
if (message.batches?.length) {
|
|
4364
|
+
obj.batches = message.batches.map((e) => TaskLogsBatch.toJSON(e));
|
|
4365
|
+
}
|
|
4366
|
+
return obj;
|
|
4367
|
+
},
|
|
4368
|
+
create(base) {
|
|
4369
|
+
return AppFetchLogsResponse.fromPartial(base ?? {});
|
|
4370
|
+
},
|
|
4371
|
+
fromPartial(object) {
|
|
4372
|
+
const message = createBaseAppFetchLogsResponse();
|
|
4373
|
+
message.batches = object.batches?.map((e) => TaskLogsBatch.fromPartial(e)) || [];
|
|
4374
|
+
return message;
|
|
4375
|
+
}
|
|
4376
|
+
};
|
|
3760
4377
|
function createBaseAppGetByDeploymentNameRequest() {
|
|
3761
4378
|
return { name: "", environmentName: "" };
|
|
3762
4379
|
}
|
|
@@ -5939,7 +6556,7 @@ var AppPublishRequest_TagsEntry = {
|
|
|
5939
6556
|
}
|
|
5940
6557
|
};
|
|
5941
6558
|
function createBaseAppPublishResponse() {
|
|
5942
|
-
return { url: "", serverWarnings: [] };
|
|
6559
|
+
return { url: "", serverWarnings: [], deployedAt: 0 };
|
|
5943
6560
|
}
|
|
5944
6561
|
var AppPublishResponse = {
|
|
5945
6562
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -5949,6 +6566,9 @@ var AppPublishResponse = {
|
|
|
5949
6566
|
for (const v of message.serverWarnings) {
|
|
5950
6567
|
Warning.encode(v, writer.uint32(26).fork()).join();
|
|
5951
6568
|
}
|
|
6569
|
+
if (message.deployedAt !== 0) {
|
|
6570
|
+
writer.uint32(33).double(message.deployedAt);
|
|
6571
|
+
}
|
|
5952
6572
|
return writer;
|
|
5953
6573
|
},
|
|
5954
6574
|
decode(input, length) {
|
|
@@ -5972,6 +6592,13 @@ var AppPublishResponse = {
|
|
|
5972
6592
|
message.serverWarnings.push(Warning.decode(reader, reader.uint32()));
|
|
5973
6593
|
continue;
|
|
5974
6594
|
}
|
|
6595
|
+
case 4: {
|
|
6596
|
+
if (tag !== 33) {
|
|
6597
|
+
break;
|
|
6598
|
+
}
|
|
6599
|
+
message.deployedAt = reader.double();
|
|
6600
|
+
continue;
|
|
6601
|
+
}
|
|
5975
6602
|
}
|
|
5976
6603
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5977
6604
|
break;
|
|
@@ -5983,7 +6610,8 @@ var AppPublishResponse = {
|
|
|
5983
6610
|
fromJSON(object) {
|
|
5984
6611
|
return {
|
|
5985
6612
|
url: isSet4(object.url) ? globalThis.String(object.url) : "",
|
|
5986
|
-
serverWarnings: globalThis.Array.isArray(object?.serverWarnings) ? object.serverWarnings.map((e) => Warning.fromJSON(e)) : []
|
|
6613
|
+
serverWarnings: globalThis.Array.isArray(object?.serverWarnings) ? object.serverWarnings.map((e) => Warning.fromJSON(e)) : [],
|
|
6614
|
+
deployedAt: isSet4(object.deployedAt) ? globalThis.Number(object.deployedAt) : 0
|
|
5987
6615
|
};
|
|
5988
6616
|
},
|
|
5989
6617
|
toJSON(message) {
|
|
@@ -5994,6 +6622,9 @@ var AppPublishResponse = {
|
|
|
5994
6622
|
if (message.serverWarnings?.length) {
|
|
5995
6623
|
obj.serverWarnings = message.serverWarnings.map((e) => Warning.toJSON(e));
|
|
5996
6624
|
}
|
|
6625
|
+
if (message.deployedAt !== 0) {
|
|
6626
|
+
obj.deployedAt = message.deployedAt;
|
|
6627
|
+
}
|
|
5997
6628
|
return obj;
|
|
5998
6629
|
},
|
|
5999
6630
|
create(base) {
|
|
@@ -6003,6 +6634,7 @@ var AppPublishResponse = {
|
|
|
6003
6634
|
const message = createBaseAppPublishResponse();
|
|
6004
6635
|
message.url = object.url ?? "";
|
|
6005
6636
|
message.serverWarnings = object.serverWarnings?.map((e) => Warning.fromPartial(e)) || [];
|
|
6637
|
+
message.deployedAt = object.deployedAt ?? 0;
|
|
6006
6638
|
return message;
|
|
6007
6639
|
}
|
|
6008
6640
|
};
|
|
@@ -23396,7 +24028,7 @@ var FunctionSchema = {
|
|
|
23396
24028
|
}
|
|
23397
24029
|
};
|
|
23398
24030
|
function createBaseFunctionStats() {
|
|
23399
|
-
return { backlog: 0, numTotalTasks: 0 };
|
|
24031
|
+
return { backlog: 0, numTotalTasks: 0, numRunningInputs: 0 };
|
|
23400
24032
|
}
|
|
23401
24033
|
var FunctionStats = {
|
|
23402
24034
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -23406,6 +24038,9 @@ var FunctionStats = {
|
|
|
23406
24038
|
if (message.numTotalTasks !== 0) {
|
|
23407
24039
|
writer.uint32(24).uint32(message.numTotalTasks);
|
|
23408
24040
|
}
|
|
24041
|
+
if (message.numRunningInputs !== 0) {
|
|
24042
|
+
writer.uint32(32).uint32(message.numRunningInputs);
|
|
24043
|
+
}
|
|
23409
24044
|
return writer;
|
|
23410
24045
|
},
|
|
23411
24046
|
decode(input, length) {
|
|
@@ -23429,6 +24064,13 @@ var FunctionStats = {
|
|
|
23429
24064
|
message.numTotalTasks = reader.uint32();
|
|
23430
24065
|
continue;
|
|
23431
24066
|
}
|
|
24067
|
+
case 4: {
|
|
24068
|
+
if (tag !== 32) {
|
|
24069
|
+
break;
|
|
24070
|
+
}
|
|
24071
|
+
message.numRunningInputs = reader.uint32();
|
|
24072
|
+
continue;
|
|
24073
|
+
}
|
|
23432
24074
|
}
|
|
23433
24075
|
if ((tag & 7) === 4 || tag === 0) {
|
|
23434
24076
|
break;
|
|
@@ -23440,7 +24082,8 @@ var FunctionStats = {
|
|
|
23440
24082
|
fromJSON(object) {
|
|
23441
24083
|
return {
|
|
23442
24084
|
backlog: isSet4(object.backlog) ? globalThis.Number(object.backlog) : 0,
|
|
23443
|
-
numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0
|
|
24085
|
+
numTotalTasks: isSet4(object.numTotalTasks) ? globalThis.Number(object.numTotalTasks) : 0,
|
|
24086
|
+
numRunningInputs: isSet4(object.numRunningInputs) ? globalThis.Number(object.numRunningInputs) : 0
|
|
23444
24087
|
};
|
|
23445
24088
|
},
|
|
23446
24089
|
toJSON(message) {
|
|
@@ -23451,6 +24094,9 @@ var FunctionStats = {
|
|
|
23451
24094
|
if (message.numTotalTasks !== 0) {
|
|
23452
24095
|
obj.numTotalTasks = Math.round(message.numTotalTasks);
|
|
23453
24096
|
}
|
|
24097
|
+
if (message.numRunningInputs !== 0) {
|
|
24098
|
+
obj.numRunningInputs = Math.round(message.numRunningInputs);
|
|
24099
|
+
}
|
|
23454
24100
|
return obj;
|
|
23455
24101
|
},
|
|
23456
24102
|
create(base) {
|
|
@@ -23460,6 +24106,7 @@ var FunctionStats = {
|
|
|
23460
24106
|
const message = createBaseFunctionStats();
|
|
23461
24107
|
message.backlog = object.backlog ?? 0;
|
|
23462
24108
|
message.numTotalTasks = object.numTotalTasks ?? 0;
|
|
24109
|
+
message.numRunningInputs = object.numRunningInputs ?? 0;
|
|
23463
24110
|
return message;
|
|
23464
24111
|
}
|
|
23465
24112
|
};
|
|
@@ -32545,6 +33192,142 @@ var SandboxCreateResponse = {
|
|
|
32545
33192
|
return message;
|
|
32546
33193
|
}
|
|
32547
33194
|
};
|
|
33195
|
+
function createBaseSandboxCreateV2Request() {
|
|
33196
|
+
return { appId: "", definition: void 0 };
|
|
33197
|
+
}
|
|
33198
|
+
var SandboxCreateV2Request = {
|
|
33199
|
+
encode(message, writer = new BinaryWriter()) {
|
|
33200
|
+
if (message.appId !== "") {
|
|
33201
|
+
writer.uint32(10).string(message.appId);
|
|
33202
|
+
}
|
|
33203
|
+
if (message.definition !== void 0) {
|
|
33204
|
+
Sandbox.encode(message.definition, writer.uint32(18).fork()).join();
|
|
33205
|
+
}
|
|
33206
|
+
return writer;
|
|
33207
|
+
},
|
|
33208
|
+
decode(input, length) {
|
|
33209
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33210
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
33211
|
+
const message = createBaseSandboxCreateV2Request();
|
|
33212
|
+
while (reader.pos < end) {
|
|
33213
|
+
const tag = reader.uint32();
|
|
33214
|
+
switch (tag >>> 3) {
|
|
33215
|
+
case 1: {
|
|
33216
|
+
if (tag !== 10) {
|
|
33217
|
+
break;
|
|
33218
|
+
}
|
|
33219
|
+
message.appId = reader.string();
|
|
33220
|
+
continue;
|
|
33221
|
+
}
|
|
33222
|
+
case 2: {
|
|
33223
|
+
if (tag !== 18) {
|
|
33224
|
+
break;
|
|
33225
|
+
}
|
|
33226
|
+
message.definition = Sandbox.decode(reader, reader.uint32());
|
|
33227
|
+
continue;
|
|
33228
|
+
}
|
|
33229
|
+
}
|
|
33230
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
33231
|
+
break;
|
|
33232
|
+
}
|
|
33233
|
+
reader.skip(tag & 7);
|
|
33234
|
+
}
|
|
33235
|
+
return message;
|
|
33236
|
+
},
|
|
33237
|
+
fromJSON(object) {
|
|
33238
|
+
return {
|
|
33239
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
33240
|
+
definition: isSet4(object.definition) ? Sandbox.fromJSON(object.definition) : void 0
|
|
33241
|
+
};
|
|
33242
|
+
},
|
|
33243
|
+
toJSON(message) {
|
|
33244
|
+
const obj = {};
|
|
33245
|
+
if (message.appId !== "") {
|
|
33246
|
+
obj.appId = message.appId;
|
|
33247
|
+
}
|
|
33248
|
+
if (message.definition !== void 0) {
|
|
33249
|
+
obj.definition = Sandbox.toJSON(message.definition);
|
|
33250
|
+
}
|
|
33251
|
+
return obj;
|
|
33252
|
+
},
|
|
33253
|
+
create(base) {
|
|
33254
|
+
return SandboxCreateV2Request.fromPartial(base ?? {});
|
|
33255
|
+
},
|
|
33256
|
+
fromPartial(object) {
|
|
33257
|
+
const message = createBaseSandboxCreateV2Request();
|
|
33258
|
+
message.appId = object.appId ?? "";
|
|
33259
|
+
message.definition = object.definition !== void 0 && object.definition !== null ? Sandbox.fromPartial(object.definition) : void 0;
|
|
33260
|
+
return message;
|
|
33261
|
+
}
|
|
33262
|
+
};
|
|
33263
|
+
function createBaseSandboxCreateV2Response() {
|
|
33264
|
+
return { sandboxId: "", tunnels: [] };
|
|
33265
|
+
}
|
|
33266
|
+
var SandboxCreateV2Response = {
|
|
33267
|
+
encode(message, writer = new BinaryWriter()) {
|
|
33268
|
+
if (message.sandboxId !== "") {
|
|
33269
|
+
writer.uint32(10).string(message.sandboxId);
|
|
33270
|
+
}
|
|
33271
|
+
for (const v of message.tunnels) {
|
|
33272
|
+
TunnelData.encode(v, writer.uint32(18).fork()).join();
|
|
33273
|
+
}
|
|
33274
|
+
return writer;
|
|
33275
|
+
},
|
|
33276
|
+
decode(input, length) {
|
|
33277
|
+
const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
|
|
33278
|
+
let end = length === void 0 ? reader.len : reader.pos + length;
|
|
33279
|
+
const message = createBaseSandboxCreateV2Response();
|
|
33280
|
+
while (reader.pos < end) {
|
|
33281
|
+
const tag = reader.uint32();
|
|
33282
|
+
switch (tag >>> 3) {
|
|
33283
|
+
case 1: {
|
|
33284
|
+
if (tag !== 10) {
|
|
33285
|
+
break;
|
|
33286
|
+
}
|
|
33287
|
+
message.sandboxId = reader.string();
|
|
33288
|
+
continue;
|
|
33289
|
+
}
|
|
33290
|
+
case 2: {
|
|
33291
|
+
if (tag !== 18) {
|
|
33292
|
+
break;
|
|
33293
|
+
}
|
|
33294
|
+
message.tunnels.push(TunnelData.decode(reader, reader.uint32()));
|
|
33295
|
+
continue;
|
|
33296
|
+
}
|
|
33297
|
+
}
|
|
33298
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
33299
|
+
break;
|
|
33300
|
+
}
|
|
33301
|
+
reader.skip(tag & 7);
|
|
33302
|
+
}
|
|
33303
|
+
return message;
|
|
33304
|
+
},
|
|
33305
|
+
fromJSON(object) {
|
|
33306
|
+
return {
|
|
33307
|
+
sandboxId: isSet4(object.sandboxId) ? globalThis.String(object.sandboxId) : "",
|
|
33308
|
+
tunnels: globalThis.Array.isArray(object?.tunnels) ? object.tunnels.map((e) => TunnelData.fromJSON(e)) : []
|
|
33309
|
+
};
|
|
33310
|
+
},
|
|
33311
|
+
toJSON(message) {
|
|
33312
|
+
const obj = {};
|
|
33313
|
+
if (message.sandboxId !== "") {
|
|
33314
|
+
obj.sandboxId = message.sandboxId;
|
|
33315
|
+
}
|
|
33316
|
+
if (message.tunnels?.length) {
|
|
33317
|
+
obj.tunnels = message.tunnels.map((e) => TunnelData.toJSON(e));
|
|
33318
|
+
}
|
|
33319
|
+
return obj;
|
|
33320
|
+
},
|
|
33321
|
+
create(base) {
|
|
33322
|
+
return SandboxCreateV2Response.fromPartial(base ?? {});
|
|
33323
|
+
},
|
|
33324
|
+
fromPartial(object) {
|
|
33325
|
+
const message = createBaseSandboxCreateV2Response();
|
|
33326
|
+
message.sandboxId = object.sandboxId ?? "";
|
|
33327
|
+
message.tunnels = object.tunnels?.map((e) => TunnelData.fromPartial(e)) || [];
|
|
33328
|
+
return message;
|
|
33329
|
+
}
|
|
33330
|
+
};
|
|
32548
33331
|
function createBaseSandboxGetFromNameRequest() {
|
|
32549
33332
|
return { sandboxName: "", environmentName: "", appName: "" };
|
|
32550
33333
|
}
|
|
@@ -37969,13 +38752,16 @@ var TaskInfo = {
|
|
|
37969
38752
|
}
|
|
37970
38753
|
};
|
|
37971
38754
|
function createBaseTaskListRequest() {
|
|
37972
|
-
return { environmentName: "" };
|
|
38755
|
+
return { environmentName: "", appId: "" };
|
|
37973
38756
|
}
|
|
37974
38757
|
var TaskListRequest = {
|
|
37975
38758
|
encode(message, writer = new BinaryWriter()) {
|
|
37976
38759
|
if (message.environmentName !== "") {
|
|
37977
38760
|
writer.uint32(10).string(message.environmentName);
|
|
37978
38761
|
}
|
|
38762
|
+
if (message.appId !== "") {
|
|
38763
|
+
writer.uint32(18).string(message.appId);
|
|
38764
|
+
}
|
|
37979
38765
|
return writer;
|
|
37980
38766
|
},
|
|
37981
38767
|
decode(input, length) {
|
|
@@ -37992,6 +38778,13 @@ var TaskListRequest = {
|
|
|
37992
38778
|
message.environmentName = reader.string();
|
|
37993
38779
|
continue;
|
|
37994
38780
|
}
|
|
38781
|
+
case 2: {
|
|
38782
|
+
if (tag !== 18) {
|
|
38783
|
+
break;
|
|
38784
|
+
}
|
|
38785
|
+
message.appId = reader.string();
|
|
38786
|
+
continue;
|
|
38787
|
+
}
|
|
37995
38788
|
}
|
|
37996
38789
|
if ((tag & 7) === 4 || tag === 0) {
|
|
37997
38790
|
break;
|
|
@@ -38001,13 +38794,19 @@ var TaskListRequest = {
|
|
|
38001
38794
|
return message;
|
|
38002
38795
|
},
|
|
38003
38796
|
fromJSON(object) {
|
|
38004
|
-
return {
|
|
38797
|
+
return {
|
|
38798
|
+
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
38799
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : ""
|
|
38800
|
+
};
|
|
38005
38801
|
},
|
|
38006
38802
|
toJSON(message) {
|
|
38007
38803
|
const obj = {};
|
|
38008
38804
|
if (message.environmentName !== "") {
|
|
38009
38805
|
obj.environmentName = message.environmentName;
|
|
38010
38806
|
}
|
|
38807
|
+
if (message.appId !== "") {
|
|
38808
|
+
obj.appId = message.appId;
|
|
38809
|
+
}
|
|
38011
38810
|
return obj;
|
|
38012
38811
|
},
|
|
38013
38812
|
create(base) {
|
|
@@ -38016,6 +38815,7 @@ var TaskListRequest = {
|
|
|
38016
38815
|
fromPartial(object) {
|
|
38017
38816
|
const message = createBaseTaskListRequest();
|
|
38018
38817
|
message.environmentName = object.environmentName ?? "";
|
|
38818
|
+
message.appId = object.appId ?? "";
|
|
38019
38819
|
return message;
|
|
38020
38820
|
}
|
|
38021
38821
|
};
|
|
@@ -38604,7 +39404,7 @@ var TaskResultRequest = {
|
|
|
38604
39404
|
}
|
|
38605
39405
|
};
|
|
38606
39406
|
function createBaseTaskStats() {
|
|
38607
|
-
return { taskId: "", appId: "", appDescription: "", startedAt: 0 };
|
|
39407
|
+
return { taskId: "", appId: "", appDescription: "", startedAt: 0, enqueuedAt: 0 };
|
|
38608
39408
|
}
|
|
38609
39409
|
var TaskStats = {
|
|
38610
39410
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -38620,6 +39420,9 @@ var TaskStats = {
|
|
|
38620
39420
|
if (message.startedAt !== 0) {
|
|
38621
39421
|
writer.uint32(33).double(message.startedAt);
|
|
38622
39422
|
}
|
|
39423
|
+
if (message.enqueuedAt !== 0) {
|
|
39424
|
+
writer.uint32(41).double(message.enqueuedAt);
|
|
39425
|
+
}
|
|
38623
39426
|
return writer;
|
|
38624
39427
|
},
|
|
38625
39428
|
decode(input, length) {
|
|
@@ -38657,6 +39460,13 @@ var TaskStats = {
|
|
|
38657
39460
|
message.startedAt = reader.double();
|
|
38658
39461
|
continue;
|
|
38659
39462
|
}
|
|
39463
|
+
case 5: {
|
|
39464
|
+
if (tag !== 41) {
|
|
39465
|
+
break;
|
|
39466
|
+
}
|
|
39467
|
+
message.enqueuedAt = reader.double();
|
|
39468
|
+
continue;
|
|
39469
|
+
}
|
|
38660
39470
|
}
|
|
38661
39471
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38662
39472
|
break;
|
|
@@ -38670,7 +39480,8 @@ var TaskStats = {
|
|
|
38670
39480
|
taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
38671
39481
|
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
38672
39482
|
appDescription: isSet4(object.appDescription) ? globalThis.String(object.appDescription) : "",
|
|
38673
|
-
startedAt: isSet4(object.startedAt) ? globalThis.Number(object.startedAt) : 0
|
|
39483
|
+
startedAt: isSet4(object.startedAt) ? globalThis.Number(object.startedAt) : 0,
|
|
39484
|
+
enqueuedAt: isSet4(object.enqueuedAt) ? globalThis.Number(object.enqueuedAt) : 0
|
|
38674
39485
|
};
|
|
38675
39486
|
},
|
|
38676
39487
|
toJSON(message) {
|
|
@@ -38687,6 +39498,9 @@ var TaskStats = {
|
|
|
38687
39498
|
if (message.startedAt !== 0) {
|
|
38688
39499
|
obj.startedAt = message.startedAt;
|
|
38689
39500
|
}
|
|
39501
|
+
if (message.enqueuedAt !== 0) {
|
|
39502
|
+
obj.enqueuedAt = message.enqueuedAt;
|
|
39503
|
+
}
|
|
38690
39504
|
return obj;
|
|
38691
39505
|
},
|
|
38692
39506
|
create(base) {
|
|
@@ -38698,6 +39512,7 @@ var TaskStats = {
|
|
|
38698
39512
|
message.appId = object.appId ?? "";
|
|
38699
39513
|
message.appDescription = object.appDescription ?? "";
|
|
38700
39514
|
message.startedAt = object.startedAt ?? 0;
|
|
39515
|
+
message.enqueuedAt = object.enqueuedAt ?? 0;
|
|
38701
39516
|
return message;
|
|
38702
39517
|
}
|
|
38703
39518
|
};
|
|
@@ -43348,6 +44163,14 @@ var ModalClientDefinition = {
|
|
|
43348
44163
|
responseStream: false,
|
|
43349
44164
|
options: {}
|
|
43350
44165
|
},
|
|
44166
|
+
appCountLogs: {
|
|
44167
|
+
name: "AppCountLogs",
|
|
44168
|
+
requestType: AppCountLogsRequest,
|
|
44169
|
+
requestStream: false,
|
|
44170
|
+
responseType: AppCountLogsResponse,
|
|
44171
|
+
responseStream: false,
|
|
44172
|
+
options: {}
|
|
44173
|
+
},
|
|
43351
44174
|
appCreate: {
|
|
43352
44175
|
name: "AppCreate",
|
|
43353
44176
|
requestType: AppCreateRequest,
|
|
@@ -43372,6 +44195,14 @@ var ModalClientDefinition = {
|
|
|
43372
44195
|
responseStream: false,
|
|
43373
44196
|
options: {}
|
|
43374
44197
|
},
|
|
44198
|
+
appFetchLogs: {
|
|
44199
|
+
name: "AppFetchLogs",
|
|
44200
|
+
requestType: AppFetchLogsRequest,
|
|
44201
|
+
requestStream: false,
|
|
44202
|
+
responseType: AppFetchLogsResponse,
|
|
44203
|
+
responseStream: false,
|
|
44204
|
+
options: {}
|
|
44205
|
+
},
|
|
43375
44206
|
appGetByDeploymentName: {
|
|
43376
44207
|
name: "AppGetByDeploymentName",
|
|
43377
44208
|
requestType: AppGetByDeploymentNameRequest,
|
|
@@ -44307,6 +45138,14 @@ var ModalClientDefinition = {
|
|
|
44307
45138
|
responseStream: false,
|
|
44308
45139
|
options: {}
|
|
44309
45140
|
},
|
|
45141
|
+
sandboxCreateV2: {
|
|
45142
|
+
name: "SandboxCreateV2",
|
|
45143
|
+
requestType: SandboxCreateV2Request,
|
|
45144
|
+
requestStream: false,
|
|
45145
|
+
responseType: SandboxCreateV2Response,
|
|
45146
|
+
responseStream: false,
|
|
45147
|
+
options: {}
|
|
45148
|
+
},
|
|
44310
45149
|
sandboxGetFromName: {
|
|
44311
45150
|
name: "SandboxGetFromName",
|
|
44312
45151
|
requestType: SandboxGetFromNameRequest,
|
|
@@ -50208,7 +51047,7 @@ var AuthTokenManager = class {
|
|
|
50208
51047
|
|
|
50209
51048
|
// src/version.ts
|
|
50210
51049
|
function getSDKVersion() {
|
|
50211
|
-
return true ? "0.7.3
|
|
51050
|
+
return true ? "0.7.3" : "0.0.0";
|
|
50212
51051
|
}
|
|
50213
51052
|
|
|
50214
51053
|
// src/logger.ts
|