@alicloud/aliding20230426 2.28.0 → 2.29.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/client.d.ts +188 -0
- package/dist/client.js +307 -30
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +372 -0
package/dist/client.d.ts
CHANGED
|
@@ -20009,6 +20009,60 @@ export declare class SubscribeEventRequestTenantContext extends $dara.Model {
|
|
|
20009
20009
|
[key: string]: any;
|
|
20010
20010
|
});
|
|
20011
20011
|
}
|
|
20012
|
+
export declare class SwitchMainOrgHeadersAccountContext extends $dara.Model {
|
|
20013
|
+
/**
|
|
20014
|
+
* @remarks
|
|
20015
|
+
* This parameter is required.
|
|
20016
|
+
*
|
|
20017
|
+
* @example
|
|
20018
|
+
* 012345
|
|
20019
|
+
*/
|
|
20020
|
+
accountId?: string;
|
|
20021
|
+
static names(): {
|
|
20022
|
+
[key: string]: string;
|
|
20023
|
+
};
|
|
20024
|
+
static types(): {
|
|
20025
|
+
[key: string]: any;
|
|
20026
|
+
};
|
|
20027
|
+
validate(): void;
|
|
20028
|
+
constructor(map?: {
|
|
20029
|
+
[key: string]: any;
|
|
20030
|
+
});
|
|
20031
|
+
}
|
|
20032
|
+
export declare class SwitchMainOrgRequestTenantContext extends $dara.Model {
|
|
20033
|
+
/**
|
|
20034
|
+
* @example
|
|
20035
|
+
* xxxxxx
|
|
20036
|
+
*/
|
|
20037
|
+
tenantId?: string;
|
|
20038
|
+
static names(): {
|
|
20039
|
+
[key: string]: string;
|
|
20040
|
+
};
|
|
20041
|
+
static types(): {
|
|
20042
|
+
[key: string]: any;
|
|
20043
|
+
};
|
|
20044
|
+
validate(): void;
|
|
20045
|
+
constructor(map?: {
|
|
20046
|
+
[key: string]: any;
|
|
20047
|
+
});
|
|
20048
|
+
}
|
|
20049
|
+
export declare class SwitchMainOrgResponseBodyContent extends $dara.Model {
|
|
20050
|
+
/**
|
|
20051
|
+
* @example
|
|
20052
|
+
* null
|
|
20053
|
+
*/
|
|
20054
|
+
data?: any;
|
|
20055
|
+
static names(): {
|
|
20056
|
+
[key: string]: string;
|
|
20057
|
+
};
|
|
20058
|
+
static types(): {
|
|
20059
|
+
[key: string]: any;
|
|
20060
|
+
};
|
|
20061
|
+
validate(): void;
|
|
20062
|
+
constructor(map?: {
|
|
20063
|
+
[key: string]: any;
|
|
20064
|
+
});
|
|
20065
|
+
}
|
|
20012
20066
|
export declare class SyncDingTypeHeadersAccountContext extends $dara.Model {
|
|
20013
20067
|
/**
|
|
20014
20068
|
* @remarks
|
|
@@ -52569,6 +52623,128 @@ export declare class SubscribeEventResponse extends $dara.Model {
|
|
|
52569
52623
|
[key: string]: any;
|
|
52570
52624
|
});
|
|
52571
52625
|
}
|
|
52626
|
+
export declare class SwitchMainOrgHeaders extends $dara.Model {
|
|
52627
|
+
commonHeaders?: {
|
|
52628
|
+
[key: string]: string;
|
|
52629
|
+
};
|
|
52630
|
+
accountContext?: SwitchMainOrgHeadersAccountContext;
|
|
52631
|
+
static names(): {
|
|
52632
|
+
[key: string]: string;
|
|
52633
|
+
};
|
|
52634
|
+
static types(): {
|
|
52635
|
+
[key: string]: any;
|
|
52636
|
+
};
|
|
52637
|
+
validate(): void;
|
|
52638
|
+
constructor(map?: {
|
|
52639
|
+
[key: string]: any;
|
|
52640
|
+
});
|
|
52641
|
+
}
|
|
52642
|
+
export declare class SwitchMainOrgShrinkHeaders extends $dara.Model {
|
|
52643
|
+
commonHeaders?: {
|
|
52644
|
+
[key: string]: string;
|
|
52645
|
+
};
|
|
52646
|
+
accountContextShrink?: string;
|
|
52647
|
+
static names(): {
|
|
52648
|
+
[key: string]: string;
|
|
52649
|
+
};
|
|
52650
|
+
static types(): {
|
|
52651
|
+
[key: string]: any;
|
|
52652
|
+
};
|
|
52653
|
+
validate(): void;
|
|
52654
|
+
constructor(map?: {
|
|
52655
|
+
[key: string]: any;
|
|
52656
|
+
});
|
|
52657
|
+
}
|
|
52658
|
+
export declare class SwitchMainOrgRequest extends $dara.Model {
|
|
52659
|
+
/**
|
|
52660
|
+
* @example
|
|
52661
|
+
* 21001
|
|
52662
|
+
*/
|
|
52663
|
+
targetOrgId?: number;
|
|
52664
|
+
tenantContext?: SwitchMainOrgRequestTenantContext;
|
|
52665
|
+
static names(): {
|
|
52666
|
+
[key: string]: string;
|
|
52667
|
+
};
|
|
52668
|
+
static types(): {
|
|
52669
|
+
[key: string]: any;
|
|
52670
|
+
};
|
|
52671
|
+
validate(): void;
|
|
52672
|
+
constructor(map?: {
|
|
52673
|
+
[key: string]: any;
|
|
52674
|
+
});
|
|
52675
|
+
}
|
|
52676
|
+
export declare class SwitchMainOrgShrinkRequest extends $dara.Model {
|
|
52677
|
+
/**
|
|
52678
|
+
* @example
|
|
52679
|
+
* 21001
|
|
52680
|
+
*/
|
|
52681
|
+
targetOrgId?: number;
|
|
52682
|
+
tenantContextShrink?: string;
|
|
52683
|
+
static names(): {
|
|
52684
|
+
[key: string]: string;
|
|
52685
|
+
};
|
|
52686
|
+
static types(): {
|
|
52687
|
+
[key: string]: any;
|
|
52688
|
+
};
|
|
52689
|
+
validate(): void;
|
|
52690
|
+
constructor(map?: {
|
|
52691
|
+
[key: string]: any;
|
|
52692
|
+
});
|
|
52693
|
+
}
|
|
52694
|
+
export declare class SwitchMainOrgResponseBody extends $dara.Model {
|
|
52695
|
+
content?: SwitchMainOrgResponseBodyContent;
|
|
52696
|
+
/**
|
|
52697
|
+
* @example
|
|
52698
|
+
* 0
|
|
52699
|
+
*/
|
|
52700
|
+
errorCode?: string;
|
|
52701
|
+
errorCtx?: {
|
|
52702
|
+
[key: string]: any;
|
|
52703
|
+
};
|
|
52704
|
+
errorMsg?: string;
|
|
52705
|
+
/**
|
|
52706
|
+
* @example
|
|
52707
|
+
* 200
|
|
52708
|
+
*/
|
|
52709
|
+
httpStatusCode?: number;
|
|
52710
|
+
/**
|
|
52711
|
+
* @example
|
|
52712
|
+
* 0FAAEC9C-C6C8-5C87-AF8E-1195889BBXXX
|
|
52713
|
+
*/
|
|
52714
|
+
requestId?: string;
|
|
52715
|
+
/**
|
|
52716
|
+
* @example
|
|
52717
|
+
* true
|
|
52718
|
+
*/
|
|
52719
|
+
success?: boolean;
|
|
52720
|
+
static names(): {
|
|
52721
|
+
[key: string]: string;
|
|
52722
|
+
};
|
|
52723
|
+
static types(): {
|
|
52724
|
+
[key: string]: any;
|
|
52725
|
+
};
|
|
52726
|
+
validate(): void;
|
|
52727
|
+
constructor(map?: {
|
|
52728
|
+
[key: string]: any;
|
|
52729
|
+
});
|
|
52730
|
+
}
|
|
52731
|
+
export declare class SwitchMainOrgResponse extends $dara.Model {
|
|
52732
|
+
headers?: {
|
|
52733
|
+
[key: string]: string;
|
|
52734
|
+
};
|
|
52735
|
+
statusCode?: number;
|
|
52736
|
+
body?: SwitchMainOrgResponseBody;
|
|
52737
|
+
static names(): {
|
|
52738
|
+
[key: string]: string;
|
|
52739
|
+
};
|
|
52740
|
+
static types(): {
|
|
52741
|
+
[key: string]: any;
|
|
52742
|
+
};
|
|
52743
|
+
validate(): void;
|
|
52744
|
+
constructor(map?: {
|
|
52745
|
+
[key: string]: any;
|
|
52746
|
+
});
|
|
52747
|
+
}
|
|
52572
52748
|
export declare class SyncDingTypeHeaders extends $dara.Model {
|
|
52573
52749
|
commonHeaders?: {
|
|
52574
52750
|
[key: string]: string;
|
|
@@ -59456,6 +59632,18 @@ export default class Client extends OpenApi {
|
|
|
59456
59632
|
* @returns SubscribeEventResponse
|
|
59457
59633
|
*/
|
|
59458
59634
|
subscribeEvent(request: SubscribeEventRequest): Promise<SubscribeEventResponse>;
|
|
59635
|
+
/**
|
|
59636
|
+
* @param tmpReq - SwitchMainOrgRequest
|
|
59637
|
+
* @param tmpHeader - SwitchMainOrgHeaders
|
|
59638
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
59639
|
+
* @returns SwitchMainOrgResponse
|
|
59640
|
+
*/
|
|
59641
|
+
switchMainOrgWithOptions(tmpReq: SwitchMainOrgRequest, tmpHeader: SwitchMainOrgHeaders, runtime: $dara.RuntimeOptions): Promise<SwitchMainOrgResponse>;
|
|
59642
|
+
/**
|
|
59643
|
+
* @param request - SwitchMainOrgRequest
|
|
59644
|
+
* @returns SwitchMainOrgResponse
|
|
59645
|
+
*/
|
|
59646
|
+
switchMainOrg(request: SwitchMainOrgRequest): Promise<SwitchMainOrgResponse>;
|
|
59459
59647
|
/**
|
|
59460
59648
|
* 同步钉钉账号类型
|
|
59461
59649
|
*
|