modal 0.7.3-dev.1 → 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 +831 -7
- package/dist/index.d.cts +79 -0
- package/dist/index.d.ts +79 -0
- package/dist/index.js +831 -7
- 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
|
};
|
|
@@ -32560,6 +33192,142 @@ var SandboxCreateResponse = {
|
|
|
32560
33192
|
return message;
|
|
32561
33193
|
}
|
|
32562
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
|
+
};
|
|
32563
33331
|
function createBaseSandboxGetFromNameRequest() {
|
|
32564
33332
|
return { sandboxName: "", environmentName: "", appName: "" };
|
|
32565
33333
|
}
|
|
@@ -37984,13 +38752,16 @@ var TaskInfo = {
|
|
|
37984
38752
|
}
|
|
37985
38753
|
};
|
|
37986
38754
|
function createBaseTaskListRequest() {
|
|
37987
|
-
return { environmentName: "" };
|
|
38755
|
+
return { environmentName: "", appId: "" };
|
|
37988
38756
|
}
|
|
37989
38757
|
var TaskListRequest = {
|
|
37990
38758
|
encode(message, writer = new BinaryWriter()) {
|
|
37991
38759
|
if (message.environmentName !== "") {
|
|
37992
38760
|
writer.uint32(10).string(message.environmentName);
|
|
37993
38761
|
}
|
|
38762
|
+
if (message.appId !== "") {
|
|
38763
|
+
writer.uint32(18).string(message.appId);
|
|
38764
|
+
}
|
|
37994
38765
|
return writer;
|
|
37995
38766
|
},
|
|
37996
38767
|
decode(input, length) {
|
|
@@ -38007,6 +38778,13 @@ var TaskListRequest = {
|
|
|
38007
38778
|
message.environmentName = reader.string();
|
|
38008
38779
|
continue;
|
|
38009
38780
|
}
|
|
38781
|
+
case 2: {
|
|
38782
|
+
if (tag !== 18) {
|
|
38783
|
+
break;
|
|
38784
|
+
}
|
|
38785
|
+
message.appId = reader.string();
|
|
38786
|
+
continue;
|
|
38787
|
+
}
|
|
38010
38788
|
}
|
|
38011
38789
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38012
38790
|
break;
|
|
@@ -38016,13 +38794,19 @@ var TaskListRequest = {
|
|
|
38016
38794
|
return message;
|
|
38017
38795
|
},
|
|
38018
38796
|
fromJSON(object) {
|
|
38019
|
-
return {
|
|
38797
|
+
return {
|
|
38798
|
+
environmentName: isSet4(object.environmentName) ? globalThis.String(object.environmentName) : "",
|
|
38799
|
+
appId: isSet4(object.appId) ? globalThis.String(object.appId) : ""
|
|
38800
|
+
};
|
|
38020
38801
|
},
|
|
38021
38802
|
toJSON(message) {
|
|
38022
38803
|
const obj = {};
|
|
38023
38804
|
if (message.environmentName !== "") {
|
|
38024
38805
|
obj.environmentName = message.environmentName;
|
|
38025
38806
|
}
|
|
38807
|
+
if (message.appId !== "") {
|
|
38808
|
+
obj.appId = message.appId;
|
|
38809
|
+
}
|
|
38026
38810
|
return obj;
|
|
38027
38811
|
},
|
|
38028
38812
|
create(base) {
|
|
@@ -38031,6 +38815,7 @@ var TaskListRequest = {
|
|
|
38031
38815
|
fromPartial(object) {
|
|
38032
38816
|
const message = createBaseTaskListRequest();
|
|
38033
38817
|
message.environmentName = object.environmentName ?? "";
|
|
38818
|
+
message.appId = object.appId ?? "";
|
|
38034
38819
|
return message;
|
|
38035
38820
|
}
|
|
38036
38821
|
};
|
|
@@ -38619,7 +39404,7 @@ var TaskResultRequest = {
|
|
|
38619
39404
|
}
|
|
38620
39405
|
};
|
|
38621
39406
|
function createBaseTaskStats() {
|
|
38622
|
-
return { taskId: "", appId: "", appDescription: "", startedAt: 0 };
|
|
39407
|
+
return { taskId: "", appId: "", appDescription: "", startedAt: 0, enqueuedAt: 0 };
|
|
38623
39408
|
}
|
|
38624
39409
|
var TaskStats = {
|
|
38625
39410
|
encode(message, writer = new BinaryWriter()) {
|
|
@@ -38635,6 +39420,9 @@ var TaskStats = {
|
|
|
38635
39420
|
if (message.startedAt !== 0) {
|
|
38636
39421
|
writer.uint32(33).double(message.startedAt);
|
|
38637
39422
|
}
|
|
39423
|
+
if (message.enqueuedAt !== 0) {
|
|
39424
|
+
writer.uint32(41).double(message.enqueuedAt);
|
|
39425
|
+
}
|
|
38638
39426
|
return writer;
|
|
38639
39427
|
},
|
|
38640
39428
|
decode(input, length) {
|
|
@@ -38672,6 +39460,13 @@ var TaskStats = {
|
|
|
38672
39460
|
message.startedAt = reader.double();
|
|
38673
39461
|
continue;
|
|
38674
39462
|
}
|
|
39463
|
+
case 5: {
|
|
39464
|
+
if (tag !== 41) {
|
|
39465
|
+
break;
|
|
39466
|
+
}
|
|
39467
|
+
message.enqueuedAt = reader.double();
|
|
39468
|
+
continue;
|
|
39469
|
+
}
|
|
38675
39470
|
}
|
|
38676
39471
|
if ((tag & 7) === 4 || tag === 0) {
|
|
38677
39472
|
break;
|
|
@@ -38685,7 +39480,8 @@ var TaskStats = {
|
|
|
38685
39480
|
taskId: isSet4(object.taskId) ? globalThis.String(object.taskId) : "",
|
|
38686
39481
|
appId: isSet4(object.appId) ? globalThis.String(object.appId) : "",
|
|
38687
39482
|
appDescription: isSet4(object.appDescription) ? globalThis.String(object.appDescription) : "",
|
|
38688
|
-
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
|
|
38689
39485
|
};
|
|
38690
39486
|
},
|
|
38691
39487
|
toJSON(message) {
|
|
@@ -38702,6 +39498,9 @@ var TaskStats = {
|
|
|
38702
39498
|
if (message.startedAt !== 0) {
|
|
38703
39499
|
obj.startedAt = message.startedAt;
|
|
38704
39500
|
}
|
|
39501
|
+
if (message.enqueuedAt !== 0) {
|
|
39502
|
+
obj.enqueuedAt = message.enqueuedAt;
|
|
39503
|
+
}
|
|
38705
39504
|
return obj;
|
|
38706
39505
|
},
|
|
38707
39506
|
create(base) {
|
|
@@ -38713,6 +39512,7 @@ var TaskStats = {
|
|
|
38713
39512
|
message.appId = object.appId ?? "";
|
|
38714
39513
|
message.appDescription = object.appDescription ?? "";
|
|
38715
39514
|
message.startedAt = object.startedAt ?? 0;
|
|
39515
|
+
message.enqueuedAt = object.enqueuedAt ?? 0;
|
|
38716
39516
|
return message;
|
|
38717
39517
|
}
|
|
38718
39518
|
};
|
|
@@ -43363,6 +44163,14 @@ var ModalClientDefinition = {
|
|
|
43363
44163
|
responseStream: false,
|
|
43364
44164
|
options: {}
|
|
43365
44165
|
},
|
|
44166
|
+
appCountLogs: {
|
|
44167
|
+
name: "AppCountLogs",
|
|
44168
|
+
requestType: AppCountLogsRequest,
|
|
44169
|
+
requestStream: false,
|
|
44170
|
+
responseType: AppCountLogsResponse,
|
|
44171
|
+
responseStream: false,
|
|
44172
|
+
options: {}
|
|
44173
|
+
},
|
|
43366
44174
|
appCreate: {
|
|
43367
44175
|
name: "AppCreate",
|
|
43368
44176
|
requestType: AppCreateRequest,
|
|
@@ -43387,6 +44195,14 @@ var ModalClientDefinition = {
|
|
|
43387
44195
|
responseStream: false,
|
|
43388
44196
|
options: {}
|
|
43389
44197
|
},
|
|
44198
|
+
appFetchLogs: {
|
|
44199
|
+
name: "AppFetchLogs",
|
|
44200
|
+
requestType: AppFetchLogsRequest,
|
|
44201
|
+
requestStream: false,
|
|
44202
|
+
responseType: AppFetchLogsResponse,
|
|
44203
|
+
responseStream: false,
|
|
44204
|
+
options: {}
|
|
44205
|
+
},
|
|
43390
44206
|
appGetByDeploymentName: {
|
|
43391
44207
|
name: "AppGetByDeploymentName",
|
|
43392
44208
|
requestType: AppGetByDeploymentNameRequest,
|
|
@@ -44322,6 +45138,14 @@ var ModalClientDefinition = {
|
|
|
44322
45138
|
responseStream: false,
|
|
44323
45139
|
options: {}
|
|
44324
45140
|
},
|
|
45141
|
+
sandboxCreateV2: {
|
|
45142
|
+
name: "SandboxCreateV2",
|
|
45143
|
+
requestType: SandboxCreateV2Request,
|
|
45144
|
+
requestStream: false,
|
|
45145
|
+
responseType: SandboxCreateV2Response,
|
|
45146
|
+
responseStream: false,
|
|
45147
|
+
options: {}
|
|
45148
|
+
},
|
|
44325
45149
|
sandboxGetFromName: {
|
|
44326
45150
|
name: "SandboxGetFromName",
|
|
44327
45151
|
requestType: SandboxGetFromNameRequest,
|
|
@@ -50223,7 +51047,7 @@ var AuthTokenManager = class {
|
|
|
50223
51047
|
|
|
50224
51048
|
// src/version.ts
|
|
50225
51049
|
function getSDKVersion() {
|
|
50226
|
-
return true ? "0.7.3
|
|
51050
|
+
return true ? "0.7.3" : "0.0.0";
|
|
50227
51051
|
}
|
|
50228
51052
|
|
|
50229
51053
|
// src/logger.ts
|