@milaboratories/pl-client 2.7.13 → 2.8.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/core/auth.d.ts.map +1 -1
- package/dist/core/cache.d.ts.map +1 -1
- package/dist/core/client.d.ts +5 -2
- package/dist/core/client.d.ts.map +1 -1
- package/dist/core/default_client.d.ts.map +1 -1
- package/dist/core/driver.d.ts.map +1 -1
- package/dist/core/errors.d.ts.map +1 -1
- package/dist/core/final.d.ts.map +1 -1
- package/dist/core/ll_client.d.ts +12 -2
- package/dist/core/ll_client.d.ts.map +1 -1
- package/dist/core/ll_transaction.d.ts.map +1 -1
- package/dist/core/transaction.d.ts +1 -1
- package/dist/core/transaction.d.ts.map +1 -1
- package/dist/core/type_conversion.d.ts.map +1 -1
- package/dist/core/types.d.ts +1 -1
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/unauth_client.d.ts.map +1 -1
- package/dist/helpers/pl.d.ts.map +1 -1
- package/dist/helpers/poll.d.ts.map +1 -1
- package/dist/helpers/state_helpers.d.ts.map +1 -1
- package/dist/helpers/tx_helpers.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2361 -2342
- package/dist/index.mjs.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +4 -4
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +16 -16
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +8 -8
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +22 -22
- package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -1
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts +17 -0
- package/dist/proto/github.com/milaboratory/pl/plapi/plapiproto/api.d.ts.map +1 -1
- package/dist/proto/google/api/http.d.ts +89 -89
- package/dist/proto/google/api/http.d.ts.map +1 -1
- package/dist/proto/google/protobuf/descriptor.d.ts +1151 -1151
- package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -1
- package/dist/test/test_config.d.ts.map +1 -1
- package/dist/util/util.d.ts.map +1 -1
- package/package.json +7 -3
- package/src/core/auth.ts +3 -3
- package/src/core/cache.ts +1 -1
- package/src/core/client.ts +63 -59
- package/src/core/config.ts +21 -21
- package/src/core/default_client.ts +15 -14
- package/src/core/driver.ts +4 -4
- package/src/core/errors.ts +3 -3
- package/src/core/final.ts +7 -4
- package/src/core/ll_client.ts +72 -43
- package/src/core/ll_transaction.ts +17 -17
- package/src/core/stat.ts +2 -2
- package/src/core/transaction.ts +93 -95
- package/src/core/type_conversion.ts +11 -8
- package/src/core/types.ts +25 -26
- package/src/core/unauth_client.ts +6 -6
- package/src/helpers/pl.ts +8 -7
- package/src/helpers/poll.ts +25 -21
- package/src/helpers/state_helpers.ts +2 -1
- package/src/helpers/tx_helpers.ts +4 -3
- package/src/proto/github.com/googleapis/googleapis/google/rpc/status.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +21 -20
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +240 -225
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +32 -30
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +388 -364
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.client.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api.ts +27 -2
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/api_types.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/base_types.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/import.ts +1 -1
- package/src/proto/github.com/milaboratory/pl/plapi/plapiproto/resource_types.ts +1 -1
- package/src/proto/google/api/http.ts +280 -271
- package/src/proto/google/protobuf/any.ts +1 -1
- package/src/proto/google/protobuf/descriptor.ts +2952 -2853
- package/src/proto/google/protobuf/duration.ts +1 -1
- package/src/proto/google/protobuf/empty.ts +1 -1
- package/src/proto/google/protobuf/struct.ts +1 -1
- package/src/proto/google/protobuf/timestamp.ts +2 -2
- package/src/proto/google/protobuf/wrappers.ts +1 -1
- package/src/test/test_config.ts +21 -19
- package/src/util/util.ts +1 -0
|
@@ -8,23 +8,23 @@ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, Pa
|
|
|
8
8
|
*/
|
|
9
9
|
export interface Http {
|
|
10
10
|
/**
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
* A list of HTTP configuration rules that apply to individual API methods.
|
|
12
|
+
*
|
|
13
|
+
* **NOTE:** All service configuration rules follow "last one wins" order.
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf field: repeated google.api.HttpRule rules = 1;
|
|
16
|
+
*/
|
|
17
17
|
rules: HttpRule[];
|
|
18
18
|
/**
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
19
|
+
* When set to true, URL path parameters will be fully URI-decoded except in
|
|
20
|
+
* cases of single segment matches in reserved expansion, where "%2F" will be
|
|
21
|
+
* left encoded.
|
|
22
|
+
*
|
|
23
|
+
* The default behavior is to not decode RFC 6570 reserved characters in multi
|
|
24
|
+
* segment matches.
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: bool fully_decode_reserved_expansion = 2;
|
|
27
|
+
*/
|
|
28
28
|
fullyDecodeReservedExpansion: boolean;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
@@ -302,100 +302,100 @@ export interface Http {
|
|
|
302
302
|
*/
|
|
303
303
|
export interface HttpRule {
|
|
304
304
|
/**
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
305
|
+
* Selects a method to which this rule applies.
|
|
306
|
+
*
|
|
307
|
+
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
|
308
|
+
*
|
|
309
|
+
* @generated from protobuf field: string selector = 1;
|
|
310
|
+
*/
|
|
311
311
|
selector: string;
|
|
312
312
|
/**
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
* @generated from protobuf oneof: pattern
|
|
314
|
+
*/
|
|
315
315
|
pattern: {
|
|
316
|
-
oneofKind:
|
|
316
|
+
oneofKind: 'get';
|
|
317
317
|
/**
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
318
|
+
* Maps to HTTP GET. Used for listing and getting information about
|
|
319
|
+
* resources.
|
|
320
|
+
*
|
|
321
|
+
* @generated from protobuf field: string get = 2;
|
|
322
|
+
*/
|
|
323
323
|
get: string;
|
|
324
324
|
} | {
|
|
325
|
-
oneofKind:
|
|
325
|
+
oneofKind: 'put';
|
|
326
326
|
/**
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
327
|
+
* Maps to HTTP PUT. Used for replacing a resource.
|
|
328
|
+
*
|
|
329
|
+
* @generated from protobuf field: string put = 3;
|
|
330
|
+
*/
|
|
331
331
|
put: string;
|
|
332
332
|
} | {
|
|
333
|
-
oneofKind:
|
|
333
|
+
oneofKind: 'post';
|
|
334
334
|
/**
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
335
|
+
* Maps to HTTP POST. Used for creating a resource or performing an action.
|
|
336
|
+
*
|
|
337
|
+
* @generated from protobuf field: string post = 4;
|
|
338
|
+
*/
|
|
339
339
|
post: string;
|
|
340
340
|
} | {
|
|
341
|
-
oneofKind:
|
|
341
|
+
oneofKind: 'delete';
|
|
342
342
|
/**
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
343
|
+
* Maps to HTTP DELETE. Used for deleting a resource.
|
|
344
|
+
*
|
|
345
|
+
* @generated from protobuf field: string delete = 5;
|
|
346
|
+
*/
|
|
347
347
|
delete: string;
|
|
348
348
|
} | {
|
|
349
|
-
oneofKind:
|
|
349
|
+
oneofKind: 'patch';
|
|
350
350
|
/**
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
351
|
+
* Maps to HTTP PATCH. Used for updating a resource.
|
|
352
|
+
*
|
|
353
|
+
* @generated from protobuf field: string patch = 6;
|
|
354
|
+
*/
|
|
355
355
|
patch: string;
|
|
356
356
|
} | {
|
|
357
|
-
oneofKind:
|
|
357
|
+
oneofKind: 'custom';
|
|
358
358
|
/**
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
359
|
+
* The custom pattern is used for specifying an HTTP method that is not
|
|
360
|
+
* included in the `pattern` field, such as HEAD, or "*" to leave the
|
|
361
|
+
* HTTP method unspecified for this rule. The wild-card rule is useful
|
|
362
|
+
* for services that provide content to Web (HTML) clients.
|
|
363
|
+
*
|
|
364
|
+
* @generated from protobuf field: google.api.CustomHttpPattern custom = 8;
|
|
365
|
+
*/
|
|
366
366
|
custom: CustomHttpPattern;
|
|
367
367
|
} | {
|
|
368
368
|
oneofKind: undefined;
|
|
369
369
|
};
|
|
370
370
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
371
|
+
* The name of the request field whose value is mapped to the HTTP request
|
|
372
|
+
* body, or `*` for mapping all request fields not captured by the path
|
|
373
|
+
* pattern to the HTTP body, or omitted for not having any HTTP request body.
|
|
374
|
+
*
|
|
375
|
+
* NOTE: the referred field must be present at the top-level of the request
|
|
376
|
+
* message type.
|
|
377
|
+
*
|
|
378
|
+
* @generated from protobuf field: string body = 7;
|
|
379
|
+
*/
|
|
380
380
|
body: string;
|
|
381
381
|
/**
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
382
|
+
* Optional. The name of the response field whose value is mapped to the HTTP
|
|
383
|
+
* response body. When omitted, the entire response message will be used
|
|
384
|
+
* as the HTTP response body.
|
|
385
|
+
*
|
|
386
|
+
* NOTE: The referred field must be present at the top-level of the response
|
|
387
|
+
* message type.
|
|
388
|
+
*
|
|
389
|
+
* @generated from protobuf field: string response_body = 12;
|
|
390
|
+
*/
|
|
391
391
|
responseBody: string;
|
|
392
392
|
/**
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
393
|
+
* Additional HTTP bindings for the selector. Nested bindings must
|
|
394
|
+
* not contain an `additional_bindings` field themselves (that is,
|
|
395
|
+
* the nesting may only be one level deep).
|
|
396
|
+
*
|
|
397
|
+
* @generated from protobuf field: repeated google.api.HttpRule additional_bindings = 11;
|
|
398
|
+
*/
|
|
399
399
|
additionalBindings: HttpRule[];
|
|
400
400
|
}
|
|
401
401
|
/**
|
|
@@ -405,16 +405,16 @@ export interface HttpRule {
|
|
|
405
405
|
*/
|
|
406
406
|
export interface CustomHttpPattern {
|
|
407
407
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
408
|
+
* The name of this custom HTTP verb.
|
|
409
|
+
*
|
|
410
|
+
* @generated from protobuf field: string kind = 1;
|
|
411
|
+
*/
|
|
412
412
|
kind: string;
|
|
413
413
|
/**
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
414
|
+
* The path matched by this custom verb.
|
|
415
|
+
*
|
|
416
|
+
* @generated from protobuf field: string path = 2;
|
|
417
|
+
*/
|
|
418
418
|
path: string;
|
|
419
419
|
}
|
|
420
420
|
declare class Http$Type extends MessageType<Http> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/api/http.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD;;;;;;GAMG;AACH,MAAM,WAAW,IAAI;
|
|
1
|
+
{"version":3,"file":"http.d.ts","sourceRoot":"","sources":["../../../../src/proto/google/api/http.ts"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAi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