@meshtrade/api-web 1.30.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/README.md +68 -0
- package/dist/buf/validate/validate_pb.d.ts +4597 -0
- package/dist/buf/validate/validate_pb.js +354 -0
- package/dist/google/type/date_pb.d.ts +52 -0
- package/dist/google/type/date_pb.js +26 -0
- package/dist/meshtrade/common/config.d.ts +7 -0
- package/dist/meshtrade/common/config.js +9 -0
- package/dist/meshtrade/common/connectInterceptors.d.ts +73 -0
- package/dist/meshtrade/common/connectInterceptors.js +126 -0
- package/dist/meshtrade/common/validation.d.ts +62 -0
- package/dist/meshtrade/common/validation.js +77 -0
- package/dist/meshtrade/compliance/client/v1/client_pb.d.ts +138 -0
- package/dist/meshtrade/compliance/client/v1/client_pb.js +23 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.d.ts +313 -0
- package/dist/meshtrade/compliance/client/v1/company_pb.js +100 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.d.ts +81 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_pb.js +22 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.d.ts +88 -0
- package/dist/meshtrade/compliance/client/v1/company_representative_role_pb.js +95 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.d.ts +65 -0
- package/dist/meshtrade/compliance/client/v1/fund_pb.js +18 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.d.ts +55 -0
- package/dist/meshtrade/compliance/client/v1/identification_document_type_pb.js +62 -0
- package/dist/meshtrade/compliance/client/v1/index.d.ts +16 -0
- package/dist/meshtrade/compliance/client/v1/index.js +59 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.d.ts +86 -0
- package/dist/meshtrade/compliance/client/v1/industry_classification_pb.js +16 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.d.ts +133 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_connection_type_pb.js +140 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.d.ts +143 -0
- package/dist/meshtrade/compliance/client/v1/natural_person_pb.js +24 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.d.ts +46 -0
- package/dist/meshtrade/compliance/client/v1/pep_status_pb.js +53 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.d.ts +123 -0
- package/dist/meshtrade/compliance/client/v1/service_pb.js +45 -0
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.d.ts +48 -0
- package/dist/meshtrade/compliance/client/v1/service_web_meshts.js +92 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.d.ts +180 -0
- package/dist/meshtrade/compliance/client/v1/source_of_income_and_wealth_pb.js +187 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.d.ts +40 -0
- package/dist/meshtrade/compliance/client/v1/tax_residency_pb.js +17 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.d.ts +65 -0
- package/dist/meshtrade/compliance/client/v1/trust_pb.js +18 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.d.ts +57 -0
- package/dist/meshtrade/compliance/client/v1/verification_status_pb.js +64 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.d.ts +43 -0
- package/dist/meshtrade/iam/api_user/v1/api_credentials_pb.js +17 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.d.ts +152 -0
- package/dist/meshtrade/iam/api_user/v1/api_user_pb.js +95 -0
- package/dist/meshtrade/iam/api_user/v1/index.d.ts +4 -0
- package/dist/meshtrade/iam/api_user/v1/index.js +45 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.d.ts +343 -0
- package/dist/meshtrade/iam/api_user/v1/service_pb.js +86 -0
- package/dist/meshtrade/iam/api_user/v1/service_web_meshts.d.ts +84 -0
- package/dist/meshtrade/iam/api_user/v1/service_web_meshts.js +152 -0
- package/dist/meshtrade/iam/group/v1/group_pb.d.ts +58 -0
- package/dist/meshtrade/iam/group/v1/group_pb.js +17 -0
- package/dist/meshtrade/iam/group/v1/index.d.ts +3 -0
- package/dist/meshtrade/iam/group/v1/index.js +44 -0
- package/dist/meshtrade/iam/group/v1/service_pb.d.ts +306 -0
- package/dist/meshtrade/iam/group/v1/service_pb.js +75 -0
- package/dist/meshtrade/iam/group/v1/service_web_meshts.d.ts +60 -0
- package/dist/meshtrade/iam/group/v1/service_web_meshts.js +112 -0
- package/dist/meshtrade/iam/role/v1/index.d.ts +2 -0
- package/dist/meshtrade/iam/role/v1/index.js +43 -0
- package/dist/meshtrade/iam/role/v1/role.d.ts +71 -0
- package/dist/meshtrade/iam/role/v1/role.js +192 -0
- package/dist/meshtrade/iam/role/v1/role_pb.d.ts +164 -0
- package/dist/meshtrade/iam/role/v1/role_pb.js +171 -0
- package/dist/meshtrade/iam/user/v1/index.d.ts +3 -0
- package/dist/meshtrade/iam/user/v1/index.js +44 -0
- package/dist/meshtrade/iam/user/v1/service_pb.d.ts +379 -0
- package/dist/meshtrade/iam/user/v1/service_pb.js +90 -0
- package/dist/meshtrade/iam/user/v1/service_web_meshts.d.ts +78 -0
- package/dist/meshtrade/iam/user/v1/service_web_meshts.js +142 -0
- package/dist/meshtrade/iam/user/v1/user_pb.d.ts +58 -0
- package/dist/meshtrade/iam/user/v1/user_pb.js +17 -0
- package/dist/meshtrade/ledger/transaction/v1/index.d.ts +5 -0
- package/dist/meshtrade/ledger/transaction/v1/index.js +46 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.d.ts +102 -0
- package/dist/meshtrade/ledger/transaction/v1/service_pb.js +41 -0
- package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.d.ts +50 -0
- package/dist/meshtrade/ledger/transaction/v1/service_web_meshts.js +91 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.d.ts +46 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_action_pb.js +53 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state.d.ts +14 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state.js +64 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.d.ts +50 -0
- package/dist/meshtrade/ledger/transaction/v1/transaction_state_pb.js +57 -0
- package/dist/meshtrade/market_data/price/v1/index.d.ts +3 -0
- package/dist/meshtrade/market_data/price/v1/index.js +44 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.d.ts +50 -0
- package/dist/meshtrade/market_data/price/v1/price_pb.js +19 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.d.ts +48 -0
- package/dist/meshtrade/market_data/price/v1/service_pb.js +27 -0
- package/dist/meshtrade/market_data/price/v1/service_web_meshts.d.ts +36 -0
- package/dist/meshtrade/market_data/price/v1/service_web_meshts.js +72 -0
- package/dist/meshtrade/option/method_options/v1/index.d.ts +1 -0
- package/dist/meshtrade/option/method_options/v1/index.js +42 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.d.ts +132 -0
- package/dist/meshtrade/option/method_options/v1/method_options_pb.js +108 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.d.ts +136 -0
- package/dist/meshtrade/reporting/account_report/v1/account_report_pb.js +28 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.d.ts +39 -0
- package/dist/meshtrade/reporting/account_report/v1/disclaimer_pb.js +16 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.d.ts +66 -0
- package/dist/meshtrade/reporting/account_report/v1/fee_entry_pb.js +18 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.d.ts +139 -0
- package/dist/meshtrade/reporting/account_report/v1/income_entry_pb.js +80 -0
- package/dist/meshtrade/reporting/account_report/v1/index.d.ts +7 -0
- package/dist/meshtrade/reporting/account_report/v1/index.js +48 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.d.ts +162 -0
- package/dist/meshtrade/reporting/account_report/v1/service_pb.js +46 -0
- package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.d.ts +42 -0
- package/dist/meshtrade/reporting/account_report/v1/service_web_meshts.js +82 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.d.ts +80 -0
- package/dist/meshtrade/reporting/account_report/v1/trading_statement_entry_pb.js +18 -0
- package/dist/meshtrade/studio/instrument/v1/index.d.ts +3 -0
- package/dist/meshtrade/studio/instrument/v1/index.js +44 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.d.ts +53 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_pb.js +18 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.d.ts +214 -0
- package/dist/meshtrade/studio/instrument/v1/instrument_type_pb.js +221 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.d.ts +148 -0
- package/dist/meshtrade/studio/instrument/v1/unit_pb.js +155 -0
- package/dist/meshtrade/trading/limit_order/v1/index.d.ts +3 -0
- package/dist/meshtrade/trading/limit_order/v1/index.js +44 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.d.ts +211 -0
- package/dist/meshtrade/trading/limit_order/v1/limit_order_pb.js +111 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.d.ts +357 -0
- package/dist/meshtrade/trading/limit_order/v1/service_pb.js +73 -0
- package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.d.ts +81 -0
- package/dist/meshtrade/trading/limit_order/v1/service_web_meshts.js +141 -0
- package/dist/meshtrade/trading/market_order/v1/index.d.ts +3 -0
- package/dist/meshtrade/trading/market_order/v1/index.js +44 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.d.ts +20 -0
- package/dist/meshtrade/trading/market_order/v1/market_order_pb.js +16 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.d.ts +34 -0
- package/dist/meshtrade/trading/market_order/v1/service_pb.js +22 -0
- package/dist/meshtrade/trading/market_order/v1/service_web_meshts.d.ts +36 -0
- package/dist/meshtrade/trading/market_order/v1/service_web_meshts.js +72 -0
- package/dist/meshtrade/type/v1/address_pb.d.ts +82 -0
- package/dist/meshtrade/type/v1/address_pb.js +16 -0
- package/dist/meshtrade/type/v1/amount.d.ts +13 -0
- package/dist/meshtrade/type/v1/amount.js +68 -0
- package/dist/meshtrade/type/v1/amountWrapper.d.ts +74 -0
- package/dist/meshtrade/type/v1/amountWrapper.js +98 -0
- package/dist/meshtrade/type/v1/amount_pb.d.ts +44 -0
- package/dist/meshtrade/type/v1/amount_pb.js +18 -0
- package/dist/meshtrade/type/v1/contact_details_pb.d.ts +98 -0
- package/dist/meshtrade/type/v1/contact_details_pb.js +16 -0
- package/dist/meshtrade/type/v1/date.d.ts +49 -0
- package/dist/meshtrade/type/v1/date.js +136 -0
- package/dist/meshtrade/type/v1/date_pb.d.ts +50 -0
- package/dist/meshtrade/type/v1/date_pb.js +16 -0
- package/dist/meshtrade/type/v1/decimalConversions.d.ts +24 -0
- package/dist/meshtrade/type/v1/decimalConversions.js +39 -0
- package/dist/meshtrade/type/v1/decimal_pb.d.ts +24 -0
- package/dist/meshtrade/type/v1/decimal_pb.js +16 -0
- package/dist/meshtrade/type/v1/index.d.ts +15 -0
- package/dist/meshtrade/type/v1/index.js +56 -0
- package/dist/meshtrade/type/v1/ledger.d.ts +27 -0
- package/dist/meshtrade/type/v1/ledger.js +115 -0
- package/dist/meshtrade/type/v1/ledger_pb.d.ts +83 -0
- package/dist/meshtrade/type/v1/ledger_pb.js +90 -0
- package/dist/meshtrade/type/v1/sorting_pb.d.ts +35 -0
- package/dist/meshtrade/type/v1/sorting_pb.js +42 -0
- package/dist/meshtrade/type/v1/time_of_day.d.ts +74 -0
- package/dist/meshtrade/type/v1/time_of_day.js +199 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.d.ts +67 -0
- package/dist/meshtrade/type/v1/time_of_day_pb.js +16 -0
- package/dist/meshtrade/type/v1/token.d.ts +4 -0
- package/dist/meshtrade/type/v1/token.js +23 -0
- package/dist/meshtrade/type/v1/tokenWrapper.d.ts +49 -0
- package/dist/meshtrade/type/v1/tokenWrapper.js +92 -0
- package/dist/meshtrade/type/v1/token_pb.d.ts +56 -0
- package/dist/meshtrade/type/v1/token_pb.js +17 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.d.ts +264 -0
- package/dist/meshtrade/wallet/account/v1/account_pb.js +74 -0
- package/dist/meshtrade/wallet/account/v1/index.d.ts +3 -0
- package/dist/meshtrade/wallet/account/v1/index.js +44 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.d.ts +559 -0
- package/dist/meshtrade/wallet/account/v1/service_pb.js +112 -0
- package/dist/meshtrade/wallet/account/v1/service_web_meshts.d.ts +84 -0
- package/dist/meshtrade/wallet/account/v1/service_web_meshts.js +152 -0
- package/package.json +171 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file meshtrade/iam/group/v1/group.proto.
|
|
5
|
+
*/
|
|
6
|
+
export declare const file_meshtrade_iam_group_v1_group: GenFile;
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* Organizational group resource representing a multi-tenancy boundary.
|
|
10
|
+
*
|
|
11
|
+
* Groups form hierarchical ownership structures within Mesh, enabling resource
|
|
12
|
+
* isolation, permission inheritance, and organizational modeling. Each group
|
|
13
|
+
* can own sub-groups, users, API users, accounts, and trading resources,
|
|
14
|
+
* providing a complete tenant separation model.
|
|
15
|
+
*
|
|
16
|
+
* @generated from message meshtrade.iam.group.v1.Group
|
|
17
|
+
*/
|
|
18
|
+
export type Group = Message<"meshtrade.iam.group.v1.Group"> & {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* The unique resource name for the group.
|
|
22
|
+
* Format: groups/{ULIDv2}.
|
|
23
|
+
* This field is system-generated and immutable upon creation.
|
|
24
|
+
* Any value provided on creation is ignored.
|
|
25
|
+
*
|
|
26
|
+
* @generated from field: string name = 1;
|
|
27
|
+
*/
|
|
28
|
+
name: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* The resource name of the parent group that owns this group.
|
|
32
|
+
* This field is required on creation and establishes the direct ownership link.
|
|
33
|
+
* Format: groups/{ULIDv2}.
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string owner = 2;
|
|
36
|
+
*/
|
|
37
|
+
owner: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* Human-readable name for organizational identification and display.
|
|
41
|
+
* User-configurable and non-unique across the system.
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string display_name = 4;
|
|
44
|
+
*/
|
|
45
|
+
displayName: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* Optional contextual information describing the group's organizational purpose.
|
|
49
|
+
*
|
|
50
|
+
* @generated from field: string description = 5;
|
|
51
|
+
*/
|
|
52
|
+
description: string;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Describes the message meshtrade.iam.group.v1.Group.
|
|
56
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
57
|
+
*/
|
|
58
|
+
export declare const GroupSchema: GenMessage<Group>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file meshtrade/iam/group/v1/group.proto (package meshtrade.iam.group.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GroupSchema = exports.file_meshtrade_iam_group_v1_group = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file meshtrade/iam/group/v1/group.proto.
|
|
11
|
+
*/
|
|
12
|
+
exports.file_meshtrade_iam_group_v1_group = (0, codegenv2_1.fileDesc)("CiJtZXNodHJhZGUvaWFtL2dyb3VwL3YxL2dyb3VwLnByb3RvEhZtZXNodHJhZGUuaWFtLmdyb3VwLnYxItECCgVHcm91cBK2AQoEbmFtZRgBIAEoCUKnAbpIowG6AZ8BChRuYW1lLmZvcm1hdC5vcHRpb25hbBIzbmFtZSBtdXN0IGJlIGVtcHR5IG9yIGluIHRoZSBmb3JtYXQgZ3JvdXBzL3tVTElEdjJ9GlJzaXplKHRoaXMpID09IDAgfHwgdGhpcy5tYXRjaGVzKCdeZ3JvdXBzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JCcpEksKBW93bmVyGAIgASgJQjy6SDnIAQFyNDIvXmdyb3Vwcy9bMDEyMzQ1Njc4OUFCQ0RFRkdISktNTlBRUlNUVldYWVpdezI2fSSYASESIwoMZGlzcGxheV9uYW1lGAQgASgJQg26SArIAQFyBRABGP8BEh0KC2Rlc2NyaXB0aW9uGAUgASgJQgi6SAVyAxjoB0JSCh1jby5tZXNodHJhZGUuYXBpLmlhbS5ncm91cC52MVoxZ2l0aHViLmNvbS9tZXNodHJhZGUvYXBpL2dvL2lhbS9ncm91cC92MTtncm91cF92MWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate]);
|
|
13
|
+
/**
|
|
14
|
+
* Describes the message meshtrade.iam.group.v1.Group.
|
|
15
|
+
* Use `create(GroupSchema)` to create a new message.
|
|
16
|
+
*/
|
|
17
|
+
exports.GroupSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_group, 0);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ===================================================================
|
|
3
|
+
// AUTO-GENERATED SECTION - ONLY EDIT BELOW THE CLOSING COMMENT BLOCK
|
|
4
|
+
// ===================================================================
|
|
5
|
+
// This section is automatically managed by protoc-gen-meshts.
|
|
6
|
+
//
|
|
7
|
+
// DO NOT EDIT ANYTHING IN THIS SECTION MANUALLY!
|
|
8
|
+
// Your changes will be overwritten during code generation.
|
|
9
|
+
//
|
|
10
|
+
// To add custom exports, scroll down to the
|
|
11
|
+
// "MANUAL EXPORTS" section indicated below.
|
|
12
|
+
// ===================================================================
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
25
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
// Generated exports
|
|
29
|
+
__exportStar(require("./group_pb"), exports);
|
|
30
|
+
__exportStar(require("./service_pb"), exports);
|
|
31
|
+
__exportStar(require("./service_web_meshts"), exports);
|
|
32
|
+
// ===================================================================
|
|
33
|
+
// END OF AUTO-GENERATED SECTION
|
|
34
|
+
// ===================================================================
|
|
35
|
+
//
|
|
36
|
+
// MANUAL EXPORTS - ADD YOUR CUSTOM EXPORTS BELOW
|
|
37
|
+
//
|
|
38
|
+
// You can safely add your own export statements in this section.
|
|
39
|
+
// They will be preserved across code generation.
|
|
40
|
+
//
|
|
41
|
+
// Example:
|
|
42
|
+
// export * from "./my_custom_module";
|
|
43
|
+
// export { MyCustomClass } from "./another_module";
|
|
44
|
+
// ===================================================================
|
|
@@ -0,0 +1,306 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { Group, GroupSchema } from "./group_pb";
|
|
3
|
+
import type { SortingOrder } from "../../../type/v1/sorting_pb";
|
|
4
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file meshtrade/iam/group/v1/service.proto.
|
|
7
|
+
*/
|
|
8
|
+
export declare const file_meshtrade_iam_group_v1_service: GenFile;
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* Request to create a new group.
|
|
12
|
+
*
|
|
13
|
+
* @generated from message meshtrade.iam.group.v1.CreateGroupRequest
|
|
14
|
+
*/
|
|
15
|
+
export type CreateGroupRequest = Message<"meshtrade.iam.group.v1.CreateGroupRequest"> & {
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* The group configuration for creation.
|
|
19
|
+
* The name field will be ignored and assigned by the system.
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: meshtrade.iam.group.v1.Group group = 1;
|
|
22
|
+
*/
|
|
23
|
+
group?: Group;
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Describes the message meshtrade.iam.group.v1.CreateGroupRequest.
|
|
27
|
+
* Use `create(CreateGroupRequestSchema)` to create a new message.
|
|
28
|
+
*/
|
|
29
|
+
export declare const CreateGroupRequestSchema: GenMessage<CreateGroupRequest>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* Request to update an existing group.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message meshtrade.iam.group.v1.UpdateGroupRequest
|
|
35
|
+
*/
|
|
36
|
+
export type UpdateGroupRequest = Message<"meshtrade.iam.group.v1.UpdateGroupRequest"> & {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* Complete group resource with updated fields.
|
|
40
|
+
* Only display_name and description can be modified.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: meshtrade.iam.group.v1.Group group = 1;
|
|
43
|
+
*/
|
|
44
|
+
group?: Group;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message meshtrade.iam.group.v1.UpdateGroupRequest.
|
|
48
|
+
* Use `create(UpdateGroupRequestSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export declare const UpdateGroupRequestSchema: GenMessage<UpdateGroupRequest>;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* Request to list all groups in the hierarchy.
|
|
54
|
+
*
|
|
55
|
+
* @generated from message meshtrade.iam.group.v1.ListGroupsRequest
|
|
56
|
+
*/
|
|
57
|
+
export type ListGroupsRequest = Message<"meshtrade.iam.group.v1.ListGroupsRequest"> & {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* Optional sorting configuration.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: meshtrade.iam.group.v1.ListGroupsRequest.Sorting sorting = 1;
|
|
63
|
+
*/
|
|
64
|
+
sorting?: ListGroupsRequest_Sorting;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsRequest.
|
|
68
|
+
* Use `create(ListGroupsRequestSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export declare const ListGroupsRequestSchema: GenMessage<ListGroupsRequest>;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* Sorting configuration for organizing results.
|
|
74
|
+
*
|
|
75
|
+
* @generated from message meshtrade.iam.group.v1.ListGroupsRequest.Sorting
|
|
76
|
+
*/
|
|
77
|
+
export type ListGroupsRequest_Sorting = Message<"meshtrade.iam.group.v1.ListGroupsRequest.Sorting"> & {
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* Field to sort by (e.g., "name", "display_name").
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string field = 1;
|
|
83
|
+
*/
|
|
84
|
+
field: string;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* Sort order for results.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: meshtrade.type.v1.SortingOrder order = 2;
|
|
90
|
+
*/
|
|
91
|
+
order: SortingOrder;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsRequest.Sorting.
|
|
95
|
+
* Use `create(ListGroupsRequest_SortingSchema)` to create a new message.
|
|
96
|
+
*/
|
|
97
|
+
export declare const ListGroupsRequest_SortingSchema: GenMessage<ListGroupsRequest_Sorting>;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* Response containing a list of groups.
|
|
101
|
+
*
|
|
102
|
+
* @generated from message meshtrade.iam.group.v1.ListGroupsResponse
|
|
103
|
+
*/
|
|
104
|
+
export type ListGroupsResponse = Message<"meshtrade.iam.group.v1.ListGroupsResponse"> & {
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* Collection of groups in the hierarchy.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: repeated meshtrade.iam.group.v1.Group groups = 1;
|
|
110
|
+
*/
|
|
111
|
+
groups: Group[];
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsResponse.
|
|
115
|
+
* Use `create(ListGroupsResponseSchema)` to create a new message.
|
|
116
|
+
*/
|
|
117
|
+
export declare const ListGroupsResponseSchema: GenMessage<ListGroupsResponse>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* Request to search groups with filtering criteria.
|
|
121
|
+
*
|
|
122
|
+
* @generated from message meshtrade.iam.group.v1.SearchGroupsRequest
|
|
123
|
+
*/
|
|
124
|
+
export type SearchGroupsRequest = Message<"meshtrade.iam.group.v1.SearchGroupsRequest"> & {
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* Optional substring to search for in group display names.
|
|
128
|
+
* Case-insensitive partial matching.
|
|
129
|
+
*
|
|
130
|
+
* @generated from field: string display_name = 1;
|
|
131
|
+
*/
|
|
132
|
+
displayName: string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* Optional substring to search for in group descriptions.
|
|
136
|
+
* Case-insensitive partial matching.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: string description = 2;
|
|
139
|
+
*/
|
|
140
|
+
description: string;
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* Optional sorting configuration.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: meshtrade.iam.group.v1.SearchGroupsRequest.Sorting sorting = 3;
|
|
146
|
+
*/
|
|
147
|
+
sorting?: SearchGroupsRequest_Sorting;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsRequest.
|
|
151
|
+
* Use `create(SearchGroupsRequestSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export declare const SearchGroupsRequestSchema: GenMessage<SearchGroupsRequest>;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* Sorting configuration for organizing results.
|
|
157
|
+
*
|
|
158
|
+
* @generated from message meshtrade.iam.group.v1.SearchGroupsRequest.Sorting
|
|
159
|
+
*/
|
|
160
|
+
export type SearchGroupsRequest_Sorting = Message<"meshtrade.iam.group.v1.SearchGroupsRequest.Sorting"> & {
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* Field to sort by ("name" or "display_name").
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string field = 1;
|
|
166
|
+
*/
|
|
167
|
+
field: string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* Sort order for results.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: meshtrade.type.v1.SortingOrder order = 2;
|
|
173
|
+
*/
|
|
174
|
+
order: SortingOrder;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.
|
|
178
|
+
* Use `create(SearchGroupsRequest_SortingSchema)` to create a new message.
|
|
179
|
+
*/
|
|
180
|
+
export declare const SearchGroupsRequest_SortingSchema: GenMessage<SearchGroupsRequest_Sorting>;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* Response containing search results.
|
|
184
|
+
*
|
|
185
|
+
* @generated from message meshtrade.iam.group.v1.SearchGroupsResponse
|
|
186
|
+
*/
|
|
187
|
+
export type SearchGroupsResponse = Message<"meshtrade.iam.group.v1.SearchGroupsResponse"> & {
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* Collection of groups matching the search criteria.
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: repeated meshtrade.iam.group.v1.Group groups = 1;
|
|
193
|
+
*/
|
|
194
|
+
groups: Group[];
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsResponse.
|
|
198
|
+
* Use `create(SearchGroupsResponseSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export declare const SearchGroupsResponseSchema: GenMessage<SearchGroupsResponse>;
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* Request to retrieve a specific group.
|
|
204
|
+
*
|
|
205
|
+
* @generated from message meshtrade.iam.group.v1.GetGroupRequest
|
|
206
|
+
*/
|
|
207
|
+
export type GetGroupRequest = Message<"meshtrade.iam.group.v1.GetGroupRequest"> & {
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* The resource name of the group to retrieve in format groups/{group_id}.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string name = 1;
|
|
213
|
+
*/
|
|
214
|
+
name: string;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Describes the message meshtrade.iam.group.v1.GetGroupRequest.
|
|
218
|
+
* Use `create(GetGroupRequestSchema)` to create a new message.
|
|
219
|
+
*/
|
|
220
|
+
export declare const GetGroupRequestSchema: GenMessage<GetGroupRequest>;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* GroupService manages organizational group hierarchy and lifecycle operations.
|
|
224
|
+
*
|
|
225
|
+
* Groups are the fundamental multi-tenancy units in Mesh that own resources,
|
|
226
|
+
* define permission boundaries, and enable hierarchical access control.
|
|
227
|
+
* Each group can own sub-groups, users, API users, and platform resources,
|
|
228
|
+
* forming tree structures for inherited permissions and resource isolation.
|
|
229
|
+
*
|
|
230
|
+
* All operations are scoped to the authenticated group's hierarchy and
|
|
231
|
+
* require appropriate IAM domain permissions.
|
|
232
|
+
*
|
|
233
|
+
* @generated from service meshtrade.iam.group.v1.GroupService
|
|
234
|
+
*/
|
|
235
|
+
export declare const GroupService: GenService<{
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* Creates a new child group within the authenticated group's hierarchy.
|
|
239
|
+
*
|
|
240
|
+
* The new group inherits access from its parent and becomes part of the
|
|
241
|
+
* organizational structure. Group ownership must match the executing context.
|
|
242
|
+
*
|
|
243
|
+
* @generated from rpc meshtrade.iam.group.v1.GroupService.CreateGroup
|
|
244
|
+
*/
|
|
245
|
+
createGroup: {
|
|
246
|
+
methodKind: "unary";
|
|
247
|
+
input: typeof CreateGroupRequestSchema;
|
|
248
|
+
output: typeof GroupSchema;
|
|
249
|
+
};
|
|
250
|
+
/**
|
|
251
|
+
*
|
|
252
|
+
* Updates an existing group's display name and description metadata.
|
|
253
|
+
*
|
|
254
|
+
* Only mutable fields can be modified while preserving the group's
|
|
255
|
+
* identity and ownership within the hierarchy.
|
|
256
|
+
*
|
|
257
|
+
* @generated from rpc meshtrade.iam.group.v1.GroupService.UpdateGroup
|
|
258
|
+
*/
|
|
259
|
+
updateGroup: {
|
|
260
|
+
methodKind: "unary";
|
|
261
|
+
input: typeof UpdateGroupRequestSchema;
|
|
262
|
+
output: typeof GroupSchema;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* Retrieves all groups within the authenticated group's hierarchical scope.
|
|
267
|
+
*
|
|
268
|
+
* Returns the complete organizational structure accessible to the executing
|
|
269
|
+
* context, including the root group and all descendant groups.
|
|
270
|
+
*
|
|
271
|
+
* @generated from rpc meshtrade.iam.group.v1.GroupService.ListGroups
|
|
272
|
+
*/
|
|
273
|
+
listGroups: {
|
|
274
|
+
methodKind: "unary";
|
|
275
|
+
input: typeof ListGroupsRequestSchema;
|
|
276
|
+
output: typeof ListGroupsResponseSchema;
|
|
277
|
+
};
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* Searches groups using flexible text criteria within the hierarchy.
|
|
281
|
+
*
|
|
282
|
+
* Performs case-insensitive substring matching on display names and
|
|
283
|
+
* descriptions using OR logic across search terms.
|
|
284
|
+
*
|
|
285
|
+
* @generated from rpc meshtrade.iam.group.v1.GroupService.SearchGroups
|
|
286
|
+
*/
|
|
287
|
+
searchGroups: {
|
|
288
|
+
methodKind: "unary";
|
|
289
|
+
input: typeof SearchGroupsRequestSchema;
|
|
290
|
+
output: typeof SearchGroupsResponseSchema;
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
*
|
|
294
|
+
* Retrieves a specific group by its resource identifier within the hierarchy.
|
|
295
|
+
*
|
|
296
|
+
* Provides access to a single group's complete metadata and organizational
|
|
297
|
+
* context if accessible within the executing group's scope.
|
|
298
|
+
*
|
|
299
|
+
* @generated from rpc meshtrade.iam.group.v1.GroupService.GetGroup
|
|
300
|
+
*/
|
|
301
|
+
getGroup: {
|
|
302
|
+
methodKind: "unary";
|
|
303
|
+
input: typeof GetGroupRequestSchema;
|
|
304
|
+
output: typeof GroupSchema;
|
|
305
|
+
};
|
|
306
|
+
}>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// @generated by protoc-gen-es v2.10.1 with parameter "target=ts"
|
|
3
|
+
// @generated from file meshtrade/iam/group/v1/service.proto (package meshtrade.iam.group.v1, syntax proto3)
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.GroupService = exports.GetGroupRequestSchema = exports.SearchGroupsResponseSchema = exports.SearchGroupsRequest_SortingSchema = exports.SearchGroupsRequestSchema = exports.ListGroupsResponseSchema = exports.ListGroupsRequest_SortingSchema = exports.ListGroupsRequestSchema = exports.UpdateGroupRequestSchema = exports.CreateGroupRequestSchema = exports.file_meshtrade_iam_group_v1_service = void 0;
|
|
7
|
+
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
|
+
const validate_pb_1 = require("../../../../buf/validate/validate_pb");
|
|
9
|
+
const group_pb_1 = require("./group_pb");
|
|
10
|
+
const method_options_pb_1 = require("../../../option/method_options/v1/method_options_pb");
|
|
11
|
+
const sorting_pb_1 = require("../../../type/v1/sorting_pb");
|
|
12
|
+
/**
|
|
13
|
+
* Describes the file meshtrade/iam/group/v1/service.proto.
|
|
14
|
+
*/
|
|
15
|
+
exports.file_meshtrade_iam_group_v1_service = (0, codegenv2_1.fileDesc)("CiRtZXNodHJhZGUvaWFtL2dyb3VwL3YxL3NlcnZpY2UucHJvdG8SFm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEiSgoSQ3JlYXRlR3JvdXBSZXF1ZXN0EjQKBWdyb3VwGAEgASgLMh0ubWVzaHRyYWRlLmlhbS5ncm91cC52MS5Hcm91cEIGukgDyAEBIkoKElVwZGF0ZUdyb3VwUmVxdWVzdBI0CgVncm91cBgBIAEoCzIdLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuR3JvdXBCBrpIA8gBASKsAgoRTGlzdEdyb3Vwc1JlcXVlc3QSQgoHc29ydGluZxgBIAEoCzIxLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuTGlzdEdyb3Vwc1JlcXVlc3QuU29ydGluZxrSAQoHU29ydGluZxKWAQoFZmllbGQYASABKAlChgG6SIIBugFnCgtmaWVsZC52YWxpZBIyZmllbGQgbXVzdCBiZSBvbmUgb2Y6IG5hbWUsIGRpc3BsYXlfbmFtZSwgb3IgZW1wdHkaJHRoaXMgaW4gWycnLCAnbmFtZScsICdkaXNwbGF5X25hbWUnXXIWUgBSBG5hbWVSDGRpc3BsYXlfbmFtZRIuCgVvcmRlchgCIAEoDjIfLm1lc2h0cmFkZS50eXBlLnYxLlNvcnRpbmdPcmRlciJDChJMaXN0R3JvdXBzUmVzcG9uc2USLQoGZ3JvdXBzGAEgAygLMh0ubWVzaHRyYWRlLmlhbS5ncm91cC52MS5Hcm91cCK/BAoTU2VhcmNoR3JvdXBzUmVxdWVzdBKGAQoMZGlzcGxheV9uYW1lGAEgASgJQnC6SG26AWUKF2Rpc3BsYXlfbmFtZS5tYXhfbGVuZ3RoEjdkaXNwbGF5X25hbWUgc2VhcmNoIHRlcm0gbXVzdCBub3QgZXhjZWVkIDI1NSBjaGFyYWN0ZXJzGhFzaXplKHRoaXMpIDw9IDI1NXIDGP8BEoMBCgtkZXNjcmlwdGlvbhgCIAEoCUJuukhrugFjChZkZXNjcmlwdGlvbi5tYXhfbGVuZ3RoEjZkZXNjcmlwdGlvbiBzZWFyY2ggdGVybSBtdXN0IG5vdCBleGNlZWQgMjU1IGNoYXJhY3RlcnMaEXNpemUodGhpcykgPD0gMjU1cgMY/wESRAoHc29ydGluZxgDIAEoCzIzLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuU2VhcmNoR3JvdXBzUmVxdWVzdC5Tb3J0aW5nGtIBCgdTb3J0aW5nEpYBCgVmaWVsZBgBIAEoCUKGAbpIggG6AWcKC2ZpZWxkLnZhbGlkEjJmaWVsZCBtdXN0IGJlIG9uZSBvZjogbmFtZSwgZGlzcGxheV9uYW1lLCBvciBlbXB0eRokdGhpcyBpbiBbJycsICduYW1lJywgJ2Rpc3BsYXlfbmFtZSddchZSAFIEbmFtZVIMZGlzcGxheV9uYW1lEi4KBW9yZGVyGAIgASgOMh8ubWVzaHRyYWRlLnR5cGUudjEuU29ydGluZ09yZGVyIkUKFFNlYXJjaEdyb3Vwc1Jlc3BvbnNlEi0KBmdyb3VwcxgBIAMoCzIdLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuR3JvdXAi8AIKD0dldEdyb3VwUmVxdWVzdBLcAgoEbmFtZRgBIAEoCULNArpIyQK6AVcKDW5hbWUucmVxdWlyZWQSNm5hbWUgaXMgcmVxdWlyZWQgYW5kIG11c3QgYmUgaW4gZm9ybWF0IGdyb3Vwcy97VUxJRHYyfRoOc2l6ZSh0aGlzKSA+IDC6AbMBCgtuYW1lLmZvcm1hdBJjbmFtZSBtdXN0IGJlIGluIGZvcm1hdCBncm91cHMve1VMSUR2Mn0gd2hlcmUgdWxpZHYyIGlzIGV4YWN0bHkgMjYgdXBwZXJjYXNlIGFscGhhbnVtZXJpYyBjaGFyYWN0ZXJzGj90aGlzLm1hdGNoZXMoJ15ncm91cHMvWzAxMjM0NTY3ODlBQkNERUZHSEpLTU5QUVJTVFZXWFlaXXsyNn0kJynIAQFyMxABMi9eZ3JvdXBzL1swMTIzNDU2Nzg5QUJDREVGR0hKS01OUFFSU1RWV1hZWl17MjZ9JDLjBAoMR3JvdXBTZXJ2aWNlEmwKC0NyZWF0ZUdyb3VwEioubWVzaHRyYWRlLmlhbS5ncm91cC52MS5DcmVhdGVHcm91cFJlcXVlc3QaHS5tZXNodHJhZGUuaWFtLmdyb3VwLnYxLkdyb3VwIhKytRgOCAIQAhoIwI23AcSNtwESbAoLVXBkYXRlR3JvdXASKi5tZXNodHJhZGUuaWFtLmdyb3VwLnYxLlVwZGF0ZUdyb3VwUmVxdWVzdBodLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuR3JvdXAiErK1GA4IAhACGgjAjbcBxI23ARJ/CgpMaXN0R3JvdXBzEikubWVzaHRyYWRlLmlhbS5ncm91cC52MS5MaXN0R3JvdXBzUmVxdWVzdBoqLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuTGlzdEdyb3Vwc1Jlc3BvbnNlIhqytRgWCAEQAhoQwI23AcGNtwHEjbcBxY23ARKFAQoMU2VhcmNoR3JvdXBzEisubWVzaHRyYWRlLmlhbS5ncm91cC52MS5TZWFyY2hHcm91cHNSZXF1ZXN0GiwubWVzaHRyYWRlLmlhbS5ncm91cC52MS5TZWFyY2hHcm91cHNSZXNwb25zZSIasrUYFggBEAIaEMCNtwHBjbcBxI23AcWNtwESbgoIR2V0R3JvdXASJy5tZXNodHJhZGUuaWFtLmdyb3VwLnYxLkdldEdyb3VwUmVxdWVzdBodLm1lc2h0cmFkZS5pYW0uZ3JvdXAudjEuR3JvdXAiGrK1GBYIARACGhDAjbcBwY23AcSNtwHFjbcBQlIKHWNvLm1lc2h0cmFkZS5hcGkuaWFtLmdyb3VwLnYxWjFnaXRodWIuY29tL21lc2h0cmFkZS9hcGkvZ28vaWFtL2dyb3VwL3YxO2dyb3VwX3YxYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate, group_pb_1.file_meshtrade_iam_group_v1_group, method_options_pb_1.file_meshtrade_option_method_options_v1_method_options, sorting_pb_1.file_meshtrade_type_v1_sorting]);
|
|
16
|
+
/**
|
|
17
|
+
* Describes the message meshtrade.iam.group.v1.CreateGroupRequest.
|
|
18
|
+
* Use `create(CreateGroupRequestSchema)` to create a new message.
|
|
19
|
+
*/
|
|
20
|
+
exports.CreateGroupRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 0);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message meshtrade.iam.group.v1.UpdateGroupRequest.
|
|
23
|
+
* Use `create(UpdateGroupRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
exports.UpdateGroupRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 1);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsRequest.
|
|
28
|
+
* Use `create(ListGroupsRequestSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
exports.ListGroupsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 2);
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsRequest.Sorting.
|
|
33
|
+
* Use `create(ListGroupsRequest_SortingSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
exports.ListGroupsRequest_SortingSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 2, 0);
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message meshtrade.iam.group.v1.ListGroupsResponse.
|
|
38
|
+
* Use `create(ListGroupsResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
exports.ListGroupsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 3);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsRequest.
|
|
43
|
+
* Use `create(SearchGroupsRequestSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
exports.SearchGroupsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 4);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsRequest.Sorting.
|
|
48
|
+
* Use `create(SearchGroupsRequest_SortingSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
exports.SearchGroupsRequest_SortingSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 4, 0);
|
|
51
|
+
/**
|
|
52
|
+
* Describes the message meshtrade.iam.group.v1.SearchGroupsResponse.
|
|
53
|
+
* Use `create(SearchGroupsResponseSchema)` to create a new message.
|
|
54
|
+
*/
|
|
55
|
+
exports.SearchGroupsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 5);
|
|
56
|
+
/**
|
|
57
|
+
* Describes the message meshtrade.iam.group.v1.GetGroupRequest.
|
|
58
|
+
* Use `create(GetGroupRequestSchema)` to create a new message.
|
|
59
|
+
*/
|
|
60
|
+
exports.GetGroupRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_meshtrade_iam_group_v1_service, 6);
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* GroupService manages organizational group hierarchy and lifecycle operations.
|
|
64
|
+
*
|
|
65
|
+
* Groups are the fundamental multi-tenancy units in Mesh that own resources,
|
|
66
|
+
* define permission boundaries, and enable hierarchical access control.
|
|
67
|
+
* Each group can own sub-groups, users, API users, and platform resources,
|
|
68
|
+
* forming tree structures for inherited permissions and resource isolation.
|
|
69
|
+
*
|
|
70
|
+
* All operations are scoped to the authenticated group's hierarchy and
|
|
71
|
+
* require appropriate IAM domain permissions.
|
|
72
|
+
*
|
|
73
|
+
* @generated from service meshtrade.iam.group.v1.GroupService
|
|
74
|
+
*/
|
|
75
|
+
exports.GroupService = (0, codegenv2_1.serviceDesc)(exports.file_meshtrade_iam_group_v1_service, 0);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { Interceptor } from "@connectrpc/connect";
|
|
2
|
+
import { CreateGroupRequest, GetGroupRequest, ListGroupsRequest, ListGroupsResponse, SearchGroupsRequest, SearchGroupsResponse, UpdateGroupRequest } from "./service_pb";
|
|
3
|
+
import { Group } from "./group_pb";
|
|
4
|
+
import { ConfigOpts } from "../../../common/config";
|
|
5
|
+
/**
|
|
6
|
+
* Web client for interacting with the meshtrade.iam.group.v1 group v1 API resource service.
|
|
7
|
+
* Uses Connect-ES with gRPC-Web transport for browser-compatible gRPC communication.
|
|
8
|
+
*/
|
|
9
|
+
export declare class GroupServiceWeb {
|
|
10
|
+
private _client;
|
|
11
|
+
private readonly _config;
|
|
12
|
+
private readonly _interceptors;
|
|
13
|
+
/**
|
|
14
|
+
* Constructs an instance of GroupServiceWeb.
|
|
15
|
+
* @param {ConfigOpts} [config] - Optional configuration for the client.
|
|
16
|
+
* @param {Interceptor[]} [interceptors] - For internal use by `withGroup`.
|
|
17
|
+
*/
|
|
18
|
+
constructor(config?: ConfigOpts, interceptors?: Interceptor[]);
|
|
19
|
+
/**
|
|
20
|
+
* Returns a new client instance configured to send the specified group
|
|
21
|
+
* resource name in the request headers for subsequent API calls.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} group - The operating group context to inject into the request
|
|
24
|
+
* in the format `groups/{ulid}` where {ulid} is a 26-character ULID.
|
|
25
|
+
* Example: 'groups/01ARZ3NDEKTSV4YWVF8F5BH32'
|
|
26
|
+
* @returns {GroupServiceWeb} A new, configured instance of the client.
|
|
27
|
+
* @throws {Error} If the group format is invalid (validation occurs in createGroupInterceptor)
|
|
28
|
+
*/
|
|
29
|
+
withGroup(group: string): GroupServiceWeb;
|
|
30
|
+
/**
|
|
31
|
+
* Creates a new group.
|
|
32
|
+
* @param {CreateGroupRequest} request - The request object for creategroup.
|
|
33
|
+
* @returns {Promise<Group>} A promise that resolves with the group.
|
|
34
|
+
*/
|
|
35
|
+
createGroup(request: CreateGroupRequest): Promise<Group>;
|
|
36
|
+
/**
|
|
37
|
+
* Updates an existing group.
|
|
38
|
+
* @param {UpdateGroupRequest} request - The request object for updategroup.
|
|
39
|
+
* @returns {Promise<Group>} A promise that resolves with the group.
|
|
40
|
+
*/
|
|
41
|
+
updateGroup(request: UpdateGroupRequest): Promise<Group>;
|
|
42
|
+
/**
|
|
43
|
+
* Retrieves a list of groups.
|
|
44
|
+
* @param {ListGroupsRequest} request - The request object for listgroups.
|
|
45
|
+
* @returns {Promise<ListGroupsResponse>} A promise that resolves with the list of groups.
|
|
46
|
+
*/
|
|
47
|
+
listGroups(request: ListGroupsRequest): Promise<ListGroupsResponse>;
|
|
48
|
+
/**
|
|
49
|
+
* Searches for groups.
|
|
50
|
+
* @param {SearchGroupsRequest} request - The request object for searchgroups.
|
|
51
|
+
* @returns {Promise<SearchGroupsResponse>} A promise that resolves with the search results.
|
|
52
|
+
*/
|
|
53
|
+
searchGroups(request: SearchGroupsRequest): Promise<SearchGroupsResponse>;
|
|
54
|
+
/**
|
|
55
|
+
* Retrieves a group.
|
|
56
|
+
* @param {GetGroupRequest} request - The request object for getgroup.
|
|
57
|
+
* @returns {Promise<Group>} A promise that resolves with the group.
|
|
58
|
+
*/
|
|
59
|
+
getGroup(request: GetGroupRequest): Promise<Group>;
|
|
60
|
+
}
|