@alicloud/ccc20200701 2.20.0 → 2.22.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 CHANGED
@@ -5525,6 +5525,53 @@ export declare class ListCasesResponse extends $tea.Model {
5525
5525
  [key: string]: any;
5526
5526
  });
5527
5527
  }
5528
+ export declare class ListCategoriesRequest extends $tea.Model {
5529
+ categoryId?: string;
5530
+ instanceId?: string;
5531
+ type?: string;
5532
+ static names(): {
5533
+ [key: string]: string;
5534
+ };
5535
+ static types(): {
5536
+ [key: string]: any;
5537
+ };
5538
+ constructor(map?: {
5539
+ [key: string]: any;
5540
+ });
5541
+ }
5542
+ export declare class ListCategoriesResponseBody extends $tea.Model {
5543
+ code?: string;
5544
+ data?: string;
5545
+ httpStatusCode?: number;
5546
+ message?: string;
5547
+ params?: string[];
5548
+ requestId?: string;
5549
+ static names(): {
5550
+ [key: string]: string;
5551
+ };
5552
+ static types(): {
5553
+ [key: string]: any;
5554
+ };
5555
+ constructor(map?: {
5556
+ [key: string]: any;
5557
+ });
5558
+ }
5559
+ export declare class ListCategoriesResponse extends $tea.Model {
5560
+ headers?: {
5561
+ [key: string]: string;
5562
+ };
5563
+ statusCode?: number;
5564
+ body?: ListCategoriesResponseBody;
5565
+ static names(): {
5566
+ [key: string]: string;
5567
+ };
5568
+ static types(): {
5569
+ [key: string]: any;
5570
+ };
5571
+ constructor(map?: {
5572
+ [key: string]: any;
5573
+ });
5574
+ }
5528
5575
  export declare class ListCommonTicketFieldsRequest extends $tea.Model {
5529
5576
  instanceId?: string;
5530
5577
  static names(): {
@@ -7373,6 +7420,56 @@ export declare class ListTicketTasksResponse extends $tea.Model {
7373
7420
  [key: string]: any;
7374
7421
  });
7375
7422
  }
7423
+ export declare class ListTicketTemplatesRequest extends $tea.Model {
7424
+ categoryId?: string;
7425
+ instanceId?: string;
7426
+ pageNumber?: number;
7427
+ pageSize?: number;
7428
+ searchPattern?: string;
7429
+ state?: string;
7430
+ static names(): {
7431
+ [key: string]: string;
7432
+ };
7433
+ static types(): {
7434
+ [key: string]: any;
7435
+ };
7436
+ constructor(map?: {
7437
+ [key: string]: any;
7438
+ });
7439
+ }
7440
+ export declare class ListTicketTemplatesResponseBody extends $tea.Model {
7441
+ code?: string;
7442
+ data?: ListTicketTemplatesResponseBodyData;
7443
+ httpStatusCode?: number;
7444
+ message?: string;
7445
+ params?: string[];
7446
+ requestId?: string;
7447
+ static names(): {
7448
+ [key: string]: string;
7449
+ };
7450
+ static types(): {
7451
+ [key: string]: any;
7452
+ };
7453
+ constructor(map?: {
7454
+ [key: string]: any;
7455
+ });
7456
+ }
7457
+ export declare class ListTicketTemplatesResponse extends $tea.Model {
7458
+ headers?: {
7459
+ [key: string]: string;
7460
+ };
7461
+ statusCode?: number;
7462
+ body?: ListTicketTemplatesResponseBody;
7463
+ static names(): {
7464
+ [key: string]: string;
7465
+ };
7466
+ static types(): {
7467
+ [key: string]: any;
7468
+ };
7469
+ constructor(map?: {
7470
+ [key: string]: any;
7471
+ });
7472
+ }
7376
7473
  export declare class ListTicketsRequest extends $tea.Model {
7377
7474
  assignee?: string;
7378
7475
  assigneeType?: string;
@@ -16255,6 +16352,75 @@ export declare class ListTicketTasksResponseBodyData extends $tea.Model {
16255
16352
  [key: string]: any;
16256
16353
  });
16257
16354
  }
16355
+ export declare class ListTicketTemplatesResponseBodyDataListTicketFields extends $tea.Model {
16356
+ array?: boolean;
16357
+ attribute?: string;
16358
+ createdTime?: number;
16359
+ creator?: string;
16360
+ dataType?: string;
16361
+ description?: string;
16362
+ disabled?: boolean;
16363
+ displayName?: string;
16364
+ displayOrder?: number;
16365
+ editorType?: string;
16366
+ maxLength?: number;
16367
+ maximum?: number;
16368
+ minLength?: number;
16369
+ minimum?: number;
16370
+ name?: string;
16371
+ pattern?: string;
16372
+ patternErrorMessage?: string;
16373
+ readOnly?: boolean;
16374
+ required?: boolean;
16375
+ system?: boolean;
16376
+ updatedTime?: number;
16377
+ static names(): {
16378
+ [key: string]: string;
16379
+ };
16380
+ static types(): {
16381
+ [key: string]: any;
16382
+ };
16383
+ constructor(map?: {
16384
+ [key: string]: any;
16385
+ });
16386
+ }
16387
+ export declare class ListTicketTemplatesResponseBodyDataList extends $tea.Model {
16388
+ appliedVersion?: string;
16389
+ categoryId?: string;
16390
+ editor?: string;
16391
+ instanceId?: string;
16392
+ latestVersion?: string;
16393
+ name?: string;
16394
+ processDefinition?: string;
16395
+ state?: string;
16396
+ templateId?: string;
16397
+ ticketFields?: ListTicketTemplatesResponseBodyDataListTicketFields[];
16398
+ updatedTime?: number;
16399
+ static names(): {
16400
+ [key: string]: string;
16401
+ };
16402
+ static types(): {
16403
+ [key: string]: any;
16404
+ };
16405
+ constructor(map?: {
16406
+ [key: string]: any;
16407
+ });
16408
+ }
16409
+ export declare class ListTicketTemplatesResponseBodyData extends $tea.Model {
16410
+ list?: ListTicketTemplatesResponseBodyDataList[];
16411
+ pageNumber?: number;
16412
+ pageSize?: number;
16413
+ totalCount?: number;
16414
+ static names(): {
16415
+ [key: string]: string;
16416
+ };
16417
+ static types(): {
16418
+ [key: string]: any;
16419
+ };
16420
+ constructor(map?: {
16421
+ [key: string]: any;
16422
+ });
16423
+ }
16258
16424
  export declare class ListTicketsResponseBodyDataList extends $tea.Model {
16259
16425
  assignee?: string;
16260
16426
  assigneeName?: string;
@@ -19155,6 +19321,17 @@ export default class Client extends OpenApi {
19155
19321
  * @return ListCasesResponse
19156
19322
  */
19157
19323
  listCases(request: ListCasesRequest): Promise<ListCasesResponse>;
19324
+ /**
19325
+ * @param request ListCategoriesRequest
19326
+ * @param runtime runtime options for this request RuntimeOptions
19327
+ * @return ListCategoriesResponse
19328
+ */
19329
+ listCategoriesWithOptions(request: ListCategoriesRequest, runtime: $Util.RuntimeOptions): Promise<ListCategoriesResponse>;
19330
+ /**
19331
+ * @param request ListCategoriesRequest
19332
+ * @return ListCategoriesResponse
19333
+ */
19334
+ listCategories(request: ListCategoriesRequest): Promise<ListCategoriesResponse>;
19158
19335
  /**
19159
19336
  * @param request ListCommonTicketFieldsRequest
19160
19337
  * @param runtime runtime options for this request RuntimeOptions
@@ -19637,6 +19814,17 @@ export default class Client extends OpenApi {
19637
19814
  * @return ListTicketTasksResponse
19638
19815
  */
19639
19816
  listTicketTasks(request: ListTicketTasksRequest): Promise<ListTicketTasksResponse>;
19817
+ /**
19818
+ * @param request ListTicketTemplatesRequest
19819
+ * @param runtime runtime options for this request RuntimeOptions
19820
+ * @return ListTicketTemplatesResponse
19821
+ */
19822
+ listTicketTemplatesWithOptions(request: ListTicketTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<ListTicketTemplatesResponse>;
19823
+ /**
19824
+ * @param request ListTicketTemplatesRequest
19825
+ * @return ListTicketTemplatesResponse
19826
+ */
19827
+ listTicketTemplates(request: ListTicketTemplatesRequest): Promise<ListTicketTemplatesResponse>;
19640
19828
  /**
19641
19829
  * @param request ListTicketsRequest
19642
19830
  * @param runtime runtime options for this request RuntimeOptions