车间能级提升-智能设备管理系统
baoshiwei
2025-04-17 bb79260cbeeac88cfbadc9606eea57002e8945bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* eslint-disable */
// @ts-ignore
 
export type ApiResponse = {
  code?: number;
  type?: string;
  message?: string;
};
 
export type Category = {
  id?: number;
  name?: string;
};
 
export type deleteOrderParams = {
  /** ID of the order that needs to be deleted */
  orderId: number;
};
 
export type deletePetParams = {
  /** Pet id to delete */
  petId: number;
};
 
export type deleteUserParams = {
  /** The name that needs to be deleted */
  username: string;
};
 
export type findPetsByStatusParams = {
  /** Status values that need to be considered for filter */
  status: ('available' | 'pending' | 'sold')[];
};
 
export type findPetsByTagsParams = {
  /** Tags to filter by */
  tags: string[];
};
 
export type getOrderByIdParams = {
  /** ID of pet that needs to be fetched */
  orderId: number;
};
 
export type getPetByIdParams = {
  /** ID of pet to return */
  petId: number;
};
 
export type getUserByNameParams = {
  /** The name that needs to be fetched. Use user1 for testing.  */
  username: string;
};
 
export type loginUserParams = {
  /** The user name for login */
  username: string;
  /** The password for login in clear text */
  password: string;
};
 
export type Order = {
  id?: number;
  petId?: number;
  quantity?: number;
  shipDate?: string;
  /** Order Status */
  status?: 'placed' | 'approved' | 'delivered';
  complete?: boolean;
};
 
export type Pet = {
  id?: number;
  category?: Category;
  name: string;
  photoUrls: string[];
  tags?: Tag[];
  /** pet status in the store */
  status?: 'available' | 'pending' | 'sold';
};
 
export enum StatusEnum {
  available = 'available',
  pending = 'pending',
  sold = 'sold',
}
 
export type IStatusEnum = keyof typeof StatusEnum;
 
export enum StatusEnum2 {
  placed = 'placed',
  approved = 'approved',
  delivered = 'delivered',
}
 
export type IStatusEnum2 = keyof typeof StatusEnum2;
 
export type Tag = {
  id?: number;
  name?: string;
};
 
export type updatePetWithFormParams = {
  /** ID of pet that needs to be updated */
  petId: number;
};
 
export type updateUserParams = {
  /** name that need to be updated */
  username: string;
};
 
export type uploadFileParams = {
  /** ID of pet to update */
  petId: number;
};
 
export type User = {
  id?: number;
  username?: string;
  firstName?: string;
  lastName?: string;
  email?: string;
  password?: string;
  phone?: string;
  /** User Status */
  userStatus?: number;
};