@webitel/api-services 0.1.41 → 0.1.42
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/package.json +2 -2
- package/src/gen/_models/apiGeneratePasswordRequest.ts +12 -0
- package/src/gen/_models/apiGeneratePasswordRequest.zod.ts +12 -0
- package/src/gen/_models/{updateUser2BodyProfile.ts → apiGeneratePasswordResponse.ts} +3 -3
- package/src/gen/_models/{updateUser2BodyProfile.zod.ts → apiGeneratePasswordResponse.zod.ts} +3 -3
- package/src/gen/_models/{updateUserBody.ts → apiInputUser.ts} +9 -15
- package/src/gen/_models/{updateUserBody.zod.ts → apiInputUser.zod.ts} +9 -15
- package/src/gen/_models/apiInputUserBody.ts +12 -0
- package/src/gen/_models/apiInputUserBody.zod.ts +12 -0
- package/src/gen/_models/apiInputUserDevice.ts +13 -0
- package/src/gen/_models/apiInputUserDevice.zod.ts +13 -0
- package/src/gen/_models/{updateUserBodyProfile.ts → apiInputUserProfile.ts} +1 -1
- package/src/gen/_models/{updateUserBodyProfile.zod.ts → apiInputUserProfile.zod.ts} +1 -1
- package/src/gen/_models/apiUser.ts +7 -7
- package/src/gen/_models/apiUser.zod.ts +7 -7
- package/src/gen/_models/apiUserinfo.ts +1 -0
- package/src/gen/_models/apiUserinfo.zod.ts +1 -0
- package/src/gen/_models/contactsCreateContactError.ts +20 -0
- package/src/gen/_models/contactsCreateContactError.zod.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.ts +20 -0
- package/src/gen/_models/contactsCreateContactsBulkResponse.zod.ts +20 -0
- package/src/gen/_models/createContactsParams.ts +13 -0
- package/src/gen/_models/createContactsParams.zod.ts +13 -0
- package/src/gen/_models/createUserParams.ts +31 -0
- package/src/gen/_models/createUserParams.zod.ts +31 -0
- package/src/gen/_models/engineSystemSettingName.ts +2 -0
- package/src/gen/_models/engineSystemSettingName.zod.ts +2 -0
- package/src/gen/_models/index.ts +15 -9
- package/src/gen/_models/index.zod.ts +15 -9
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.ts +49 -0
- package/src/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.ts +49 -0
- package/src/gen/_models/searchSystemSettingNameItem.ts +2 -0
- package/src/gen/_models/searchSystemSettingNameItem.zod.ts +2 -0
- package/src/gen/_models/signupParams.ts +5 -0
- package/src/gen/_models/signupParams.zod.ts +5 -0
- package/src/gen/_models/webitelCasesInputPriority.ts +5 -2
- package/src/gen/_models/webitelCasesInputPriority.zod.ts +5 -2
- package/src/gen/_models/webitelCasesPriority.ts +10 -7
- package/src/gen/_models/webitelCasesPriority.zod.ts +10 -7
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.ts +2 -0
- package/src/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.ts +2 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateGateRequest.zod.ts +17 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.ts +14 -0
- package/src/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.ts +14 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.ts +21 -0
- package/src/gen/_models/webitelImProviderV1GateResponse.zod.ts +21 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.ts +1 -0
- package/src/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.ts +1 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.ts +16 -0
- package/src/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.ts +16 -0
- package/src/gen/auth/auth.msw.ts +18 -0
- package/src/gen/auth/auth.zod.ts +8 -0
- package/src/gen/cases/cases.msw.ts +1093 -1387
- package/src/gen/cases/cases.zod.ts +210 -245
- package/src/gen/catalogs/catalogs.msw.ts +836 -1088
- package/src/gen/catalogs/catalogs.zod.ts +198 -216
- package/src/gen/contacts/contacts.msw.ts +2900 -1
- package/src/gen/contacts/contacts.ts +21 -0
- package/src/gen/contacts/contacts.zod.ts +2083 -0
- package/src/gen/priorities/priorities.msw.ts +408 -534
- package/src/gen/priorities/priorities.zod.ts +108 -113
- package/src/gen/services/services.msw.ts +613 -802
- package/src/gen/services/services.zod.ts +96 -108
- package/src/gen/system-setting-service/system-setting-service.zod.ts +16 -0
- package/src/gen/users/users.msw.ts +434 -397
- package/src/gen/users/users.ts +46 -57
- package/src/gen/users/users.zod.ts +443 -459
- package/src/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.ts +42 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.ts +931 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.ts +27 -0
- package/src/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.ts +576 -0
- package/src/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.ts +3 -0
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.ts +94 -19
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.ts +6 -8
- package/src/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.ts +64 -42
- package/types/gen/_models/apiGeneratePasswordRequest.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordRequest.zod.d.ts +11 -0
- package/types/gen/_models/apiGeneratePasswordResponse.d.ts +9 -0
- package/types/gen/_models/apiGeneratePasswordResponse.zod.d.ts +9 -0
- package/types/gen/_models/{updateUserBody.d.ts → apiInputUser.d.ts} +9 -15
- package/types/gen/_models/{updateUserBody.zod.d.ts → apiInputUser.zod.d.ts} +9 -15
- package/types/gen/_models/apiInputUserBody.d.ts +11 -0
- package/types/gen/_models/apiInputUserBody.zod.d.ts +11 -0
- package/types/gen/_models/apiInputUserDevice.d.ts +12 -0
- package/types/gen/_models/apiInputUserDevice.zod.d.ts +12 -0
- package/types/gen/_models/{updateUserBodyProfile.d.ts → apiInputUserProfile.d.ts} +1 -1
- package/types/gen/_models/{updateUserBodyProfile.zod.d.ts → apiInputUserProfile.zod.d.ts} +1 -1
- package/types/gen/_models/apiUser.d.ts +7 -7
- package/types/gen/_models/apiUser.zod.d.ts +7 -7
- package/types/gen/_models/apiUserinfo.d.ts +1 -0
- package/types/gen/_models/apiUserinfo.zod.d.ts +1 -0
- package/types/gen/_models/contactsCreateContactError.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactError.zod.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.d.ts +19 -0
- package/types/gen/_models/contactsCreateContactsBulkResponse.zod.d.ts +19 -0
- package/types/gen/_models/createContactsParams.d.ts +12 -0
- package/types/gen/_models/createContactsParams.zod.d.ts +12 -0
- package/types/gen/_models/createUserParams.d.ts +30 -0
- package/types/gen/_models/createUserParams.zod.d.ts +30 -0
- package/types/gen/_models/engineSystemSettingName.d.ts +2 -0
- package/types/gen/_models/engineSystemSettingName.zod.d.ts +2 -0
- package/types/gen/_models/index.zod.d.ts +15 -9
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.d.ts +48 -0
- package/types/gen/_models/messageHistorySearchLeftThreadsMessagesHistoryParams.zod.d.ts +48 -0
- package/types/gen/_models/searchSystemSettingNameItem.d.ts +2 -0
- package/types/gen/_models/searchSystemSettingNameItem.zod.d.ts +2 -0
- package/types/gen/_models/signupParams.d.ts +5 -0
- package/types/gen/_models/signupParams.zod.d.ts +5 -0
- package/types/gen/_models/webitelCasesInputPriority.d.ts +5 -2
- package/types/gen/_models/webitelCasesInputPriority.zod.d.ts +5 -2
- package/types/gen/_models/webitelCasesPriority.d.ts +10 -7
- package/types/gen/_models/webitelCasesPriority.zod.d.ts +10 -7
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendContactRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendDocumentRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendImageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendInteractiveMessageRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendLocationRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.d.ts +2 -0
- package/types/gen/_models/webitelImApiGatewayV1SendTextRequest.zod.d.ts +2 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateGateRequest.zod.d.ts +16 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1CreateWABAGateRequest.zod.d.ts +13 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1GateResponse.zod.d.ts +20 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendDocumentRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendImageRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1ProviderSendTextRequest.zod.d.ts +1 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.d.ts +15 -0
- package/types/gen/_models/webitelImProviderV1WhatsAppBusinessAccount.zod.d.ts +15 -0
- package/types/gen/auth/auth.zod.d.ts +3 -0
- package/types/gen/cases/cases.zod.d.ts +126 -126
- package/types/gen/catalogs/catalogs.zod.d.ts +108 -108
- package/types/gen/contacts/contacts.d.ts +3 -1
- package/types/gen/contacts/contacts.msw.d.ts +3 -1
- package/types/gen/contacts/contacts.zod.d.ts +665 -0
- package/types/gen/priorities/priorities.zod.d.ts +60 -60
- package/types/gen/services/services.zod.d.ts +54 -54
- package/types/gen/system-setting-service/system-setting-service.zod.d.ts +16 -0
- package/types/gen/users/users.d.ts +8 -25
- package/types/gen/users/users.msw.d.ts +7 -5
- package/types/gen/users/users.zod.d.ts +136 -139
- package/types/gen/webitel-im-api-gateway-v1-message/webitel-im-api-gateway-v1-message.zod.d.ts +30 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.d.ts +3 -1
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.msw.d.ts +2 -0
- package/types/gen/webitel-im-api-gateway-v1-messagehistory/webitel-im-api-gateway-v1-messagehistory.zod.d.ts +167 -0
- package/types/gen/webitel-im-provider-v1-providermessageservice/webitel-im-provider-v1-providermessageservice.zod.d.ts +3 -0
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.msw.d.ts +3 -3
- package/types/gen/webitel-im-provider-v1-whatsappservice/webitel-im-provider-v1-whatsappservice.zod.d.ts +40 -17
- package/src/gen/_models/apiCreateUserRequest.ts +0 -13
- package/src/gen/_models/apiCreateUserRequest.zod.ts +0 -13
- package/src/gen/_models/updateUser2Body.ts +0 -45
- package/src/gen/_models/updateUser2Body.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBody.ts +0 -45
- package/src/gen/_models/updateUserUserBody.zod.ts +0 -45
- package/src/gen/_models/updateUserUserBodyProfile.ts +0 -10
- package/src/gen/_models/updateUserUserBodyProfile.zod.ts +0 -10
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.ts +0 -17
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.ts +0 -14
- package/src/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.ts +0 -14
- package/types/gen/_models/apiCreateUserRequest.d.ts +0 -12
- package/types/gen/_models/apiCreateUserRequest.zod.d.ts +0 -12
- package/types/gen/_models/updateUser2Body.d.ts +0 -44
- package/types/gen/_models/updateUser2Body.zod.d.ts +0 -44
- package/types/gen/_models/updateUser2BodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUser2BodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/updateUserUserBody.d.ts +0 -44
- package/types/gen/_models/updateUserUserBody.zod.d.ts +0 -44
- package/types/gen/_models/updateUserUserBodyProfile.d.ts +0 -9
- package/types/gen/_models/updateUserUserBodyProfile.zod.d.ts +0 -9
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateRequest.zod.d.ts +0 -16
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.d.ts +0 -13
- package/types/gen/_models/webitelImProviderV1ProviderCreateWhatsAppGateResponse.zod.d.ts +0 -13
|
@@ -20,20 +20,20 @@ export declare const ListPrioritiesQueryParams: zod.ZodObject<{
|
|
|
20
20
|
}, zod.z.core.$strip>;
|
|
21
21
|
export declare const ListPrioritiesResponse: zod.ZodObject<{
|
|
22
22
|
items: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
23
|
-
color: zod.
|
|
24
|
-
createdAt: zod.
|
|
25
|
-
createdBy: zod.
|
|
23
|
+
color: zod.ZodString;
|
|
24
|
+
createdAt: zod.ZodString;
|
|
25
|
+
createdBy: zod.ZodObject<{
|
|
26
26
|
id: zod.ZodOptional<zod.ZodString>;
|
|
27
27
|
name: zod.ZodOptional<zod.ZodString>;
|
|
28
|
-
}, zod.z.core.$strip
|
|
28
|
+
}, zod.z.core.$strip>;
|
|
29
29
|
description: zod.ZodOptional<zod.ZodString>;
|
|
30
|
-
id: zod.
|
|
31
|
-
name: zod.
|
|
32
|
-
updatedAt: zod.
|
|
33
|
-
updatedBy: zod.
|
|
30
|
+
id: zod.ZodString;
|
|
31
|
+
name: zod.ZodString;
|
|
32
|
+
updatedAt: zod.ZodString;
|
|
33
|
+
updatedBy: zod.ZodObject<{
|
|
34
34
|
id: zod.ZodOptional<zod.ZodString>;
|
|
35
35
|
name: zod.ZodOptional<zod.ZodString>;
|
|
36
|
-
}, zod.z.core.$strip
|
|
36
|
+
}, zod.z.core.$strip>;
|
|
37
37
|
}, zod.z.core.$strip>>>;
|
|
38
38
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
39
39
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -45,25 +45,25 @@ export declare const CreatePriorityQueryParams: zod.ZodObject<{
|
|
|
45
45
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
46
46
|
}, zod.z.core.$strip>;
|
|
47
47
|
export declare const CreatePriorityBody: zod.ZodObject<{
|
|
48
|
-
color: zod.
|
|
48
|
+
color: zod.ZodString;
|
|
49
49
|
description: zod.ZodOptional<zod.ZodString>;
|
|
50
|
-
name: zod.
|
|
50
|
+
name: zod.ZodString;
|
|
51
51
|
}, zod.z.core.$strip>;
|
|
52
52
|
export declare const CreatePriorityResponse: zod.ZodObject<{
|
|
53
|
-
color: zod.
|
|
54
|
-
createdAt: zod.
|
|
55
|
-
createdBy: zod.
|
|
53
|
+
color: zod.ZodString;
|
|
54
|
+
createdAt: zod.ZodString;
|
|
55
|
+
createdBy: zod.ZodObject<{
|
|
56
56
|
id: zod.ZodOptional<zod.ZodString>;
|
|
57
57
|
name: zod.ZodOptional<zod.ZodString>;
|
|
58
|
-
}, zod.z.core.$strip
|
|
58
|
+
}, zod.z.core.$strip>;
|
|
59
59
|
description: zod.ZodOptional<zod.ZodString>;
|
|
60
|
-
id: zod.
|
|
61
|
-
name: zod.
|
|
62
|
-
updatedAt: zod.
|
|
63
|
-
updatedBy: zod.
|
|
60
|
+
id: zod.ZodString;
|
|
61
|
+
name: zod.ZodString;
|
|
62
|
+
updatedAt: zod.ZodString;
|
|
63
|
+
updatedBy: zod.ZodObject<{
|
|
64
64
|
id: zod.ZodOptional<zod.ZodString>;
|
|
65
65
|
name: zod.ZodOptional<zod.ZodString>;
|
|
66
|
-
}, zod.z.core.$strip
|
|
66
|
+
}, zod.z.core.$strip>;
|
|
67
67
|
}, zod.z.core.$strip>;
|
|
68
68
|
/**
|
|
69
69
|
* @summary Delete a priority
|
|
@@ -72,20 +72,20 @@ export declare const DeletePriorityParams: zod.ZodObject<{
|
|
|
72
72
|
id: zod.ZodString;
|
|
73
73
|
}, zod.z.core.$strip>;
|
|
74
74
|
export declare const DeletePriorityResponse: zod.ZodObject<{
|
|
75
|
-
color: zod.
|
|
76
|
-
createdAt: zod.
|
|
77
|
-
createdBy: zod.
|
|
75
|
+
color: zod.ZodString;
|
|
76
|
+
createdAt: zod.ZodString;
|
|
77
|
+
createdBy: zod.ZodObject<{
|
|
78
78
|
id: zod.ZodOptional<zod.ZodString>;
|
|
79
79
|
name: zod.ZodOptional<zod.ZodString>;
|
|
80
|
-
}, zod.z.core.$strip
|
|
80
|
+
}, zod.z.core.$strip>;
|
|
81
81
|
description: zod.ZodOptional<zod.ZodString>;
|
|
82
|
-
id: zod.
|
|
83
|
-
name: zod.
|
|
84
|
-
updatedAt: zod.
|
|
85
|
-
updatedBy: zod.
|
|
82
|
+
id: zod.ZodString;
|
|
83
|
+
name: zod.ZodString;
|
|
84
|
+
updatedAt: zod.ZodString;
|
|
85
|
+
updatedBy: zod.ZodObject<{
|
|
86
86
|
id: zod.ZodOptional<zod.ZodString>;
|
|
87
87
|
name: zod.ZodOptional<zod.ZodString>;
|
|
88
|
-
}, zod.z.core.$strip
|
|
88
|
+
}, zod.z.core.$strip>;
|
|
89
89
|
}, zod.z.core.$strip>;
|
|
90
90
|
/**
|
|
91
91
|
* @summary Locate a priority by ID
|
|
@@ -98,20 +98,20 @@ export declare const LocatePriorityQueryParams: zod.ZodObject<{
|
|
|
98
98
|
}, zod.z.core.$strip>;
|
|
99
99
|
export declare const LocatePriorityResponse: zod.ZodObject<{
|
|
100
100
|
priority: zod.ZodOptional<zod.ZodObject<{
|
|
101
|
-
color: zod.
|
|
102
|
-
createdAt: zod.
|
|
103
|
-
createdBy: zod.
|
|
101
|
+
color: zod.ZodString;
|
|
102
|
+
createdAt: zod.ZodString;
|
|
103
|
+
createdBy: zod.ZodObject<{
|
|
104
104
|
id: zod.ZodOptional<zod.ZodString>;
|
|
105
105
|
name: zod.ZodOptional<zod.ZodString>;
|
|
106
|
-
}, zod.z.core.$strip
|
|
106
|
+
}, zod.z.core.$strip>;
|
|
107
107
|
description: zod.ZodOptional<zod.ZodString>;
|
|
108
|
-
id: zod.
|
|
109
|
-
name: zod.
|
|
110
|
-
updatedAt: zod.
|
|
111
|
-
updatedBy: zod.
|
|
108
|
+
id: zod.ZodString;
|
|
109
|
+
name: zod.ZodString;
|
|
110
|
+
updatedAt: zod.ZodString;
|
|
111
|
+
updatedBy: zod.ZodObject<{
|
|
112
112
|
id: zod.ZodOptional<zod.ZodString>;
|
|
113
113
|
name: zod.ZodOptional<zod.ZodString>;
|
|
114
|
-
}, zod.z.core.$strip
|
|
114
|
+
}, zod.z.core.$strip>;
|
|
115
115
|
}, zod.z.core.$strip>>;
|
|
116
116
|
}, zod.z.core.$strip>;
|
|
117
117
|
/**
|
|
@@ -124,25 +124,25 @@ export declare const UpdatePriority2QueryParams: zod.ZodObject<{
|
|
|
124
124
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
125
125
|
}, zod.z.core.$strip>;
|
|
126
126
|
export declare const UpdatePriority2Body: zod.ZodObject<{
|
|
127
|
-
color: zod.
|
|
127
|
+
color: zod.ZodString;
|
|
128
128
|
description: zod.ZodOptional<zod.ZodString>;
|
|
129
|
-
name: zod.
|
|
129
|
+
name: zod.ZodString;
|
|
130
130
|
}, zod.z.core.$strip>;
|
|
131
131
|
export declare const UpdatePriority2Response: zod.ZodObject<{
|
|
132
|
-
color: zod.
|
|
133
|
-
createdAt: zod.
|
|
134
|
-
createdBy: zod.
|
|
132
|
+
color: zod.ZodString;
|
|
133
|
+
createdAt: zod.ZodString;
|
|
134
|
+
createdBy: zod.ZodObject<{
|
|
135
135
|
id: zod.ZodOptional<zod.ZodString>;
|
|
136
136
|
name: zod.ZodOptional<zod.ZodString>;
|
|
137
|
-
}, zod.z.core.$strip
|
|
137
|
+
}, zod.z.core.$strip>;
|
|
138
138
|
description: zod.ZodOptional<zod.ZodString>;
|
|
139
|
-
id: zod.
|
|
140
|
-
name: zod.
|
|
141
|
-
updatedAt: zod.
|
|
142
|
-
updatedBy: zod.
|
|
139
|
+
id: zod.ZodString;
|
|
140
|
+
name: zod.ZodString;
|
|
141
|
+
updatedAt: zod.ZodString;
|
|
142
|
+
updatedBy: zod.ZodObject<{
|
|
143
143
|
id: zod.ZodOptional<zod.ZodString>;
|
|
144
144
|
name: zod.ZodOptional<zod.ZodString>;
|
|
145
|
-
}, zod.z.core.$strip
|
|
145
|
+
}, zod.z.core.$strip>;
|
|
146
146
|
}, zod.z.core.$strip>;
|
|
147
147
|
/**
|
|
148
148
|
* @summary Update an existing priority
|
|
@@ -154,23 +154,23 @@ export declare const UpdatePriorityQueryParams: zod.ZodObject<{
|
|
|
154
154
|
fields: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
155
155
|
}, zod.z.core.$strip>;
|
|
156
156
|
export declare const UpdatePriorityBody: zod.ZodObject<{
|
|
157
|
-
color: zod.
|
|
157
|
+
color: zod.ZodString;
|
|
158
158
|
description: zod.ZodOptional<zod.ZodString>;
|
|
159
|
-
name: zod.
|
|
159
|
+
name: zod.ZodString;
|
|
160
160
|
}, zod.z.core.$strip>;
|
|
161
161
|
export declare const UpdatePriorityResponse: zod.ZodObject<{
|
|
162
|
-
color: zod.
|
|
163
|
-
createdAt: zod.
|
|
164
|
-
createdBy: zod.
|
|
162
|
+
color: zod.ZodString;
|
|
163
|
+
createdAt: zod.ZodString;
|
|
164
|
+
createdBy: zod.ZodObject<{
|
|
165
165
|
id: zod.ZodOptional<zod.ZodString>;
|
|
166
166
|
name: zod.ZodOptional<zod.ZodString>;
|
|
167
|
-
}, zod.z.core.$strip
|
|
167
|
+
}, zod.z.core.$strip>;
|
|
168
168
|
description: zod.ZodOptional<zod.ZodString>;
|
|
169
|
-
id: zod.
|
|
170
|
-
name: zod.
|
|
171
|
-
updatedAt: zod.
|
|
172
|
-
updatedBy: zod.
|
|
169
|
+
id: zod.ZodString;
|
|
170
|
+
name: zod.ZodString;
|
|
171
|
+
updatedAt: zod.ZodString;
|
|
172
|
+
updatedBy: zod.ZodObject<{
|
|
173
173
|
id: zod.ZodOptional<zod.ZodString>;
|
|
174
174
|
name: zod.ZodOptional<zod.ZodString>;
|
|
175
|
-
}, zod.z.core.$strip
|
|
175
|
+
}, zod.z.core.$strip>;
|
|
176
176
|
}, zod.z.core.$strip>;
|
|
@@ -32,20 +32,20 @@ export declare const ListServicesResponse: zod.ZodObject<{
|
|
|
32
32
|
name: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
}, zod.z.core.$strip>>;
|
|
34
34
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
35
|
-
color: zod.
|
|
36
|
-
createdAt: zod.
|
|
37
|
-
createdBy: zod.
|
|
35
|
+
color: zod.ZodString;
|
|
36
|
+
createdAt: zod.ZodString;
|
|
37
|
+
createdBy: zod.ZodObject<{
|
|
38
38
|
id: zod.ZodOptional<zod.ZodString>;
|
|
39
39
|
name: zod.ZodOptional<zod.ZodString>;
|
|
40
|
-
}, zod.z.core.$strip
|
|
40
|
+
}, zod.z.core.$strip>;
|
|
41
41
|
description: zod.ZodOptional<zod.ZodString>;
|
|
42
|
-
id: zod.
|
|
43
|
-
name: zod.
|
|
44
|
-
updatedAt: zod.
|
|
45
|
-
updatedBy: zod.
|
|
42
|
+
id: zod.ZodString;
|
|
43
|
+
name: zod.ZodString;
|
|
44
|
+
updatedAt: zod.ZodString;
|
|
45
|
+
updatedBy: zod.ZodObject<{
|
|
46
46
|
id: zod.ZodOptional<zod.ZodString>;
|
|
47
47
|
name: zod.ZodOptional<zod.ZodString>;
|
|
48
|
-
}, zod.z.core.$strip
|
|
48
|
+
}, zod.z.core.$strip>;
|
|
49
49
|
}, zod.z.core.$strip>>;
|
|
50
50
|
description: zod.ZodOptional<zod.ZodString>;
|
|
51
51
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -116,20 +116,20 @@ export declare const CreateServiceResponse: zod.ZodObject<{
|
|
|
116
116
|
name: zod.ZodOptional<zod.ZodString>;
|
|
117
117
|
}, zod.z.core.$strip>>;
|
|
118
118
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
119
|
-
color: zod.
|
|
120
|
-
createdAt: zod.
|
|
121
|
-
createdBy: zod.
|
|
119
|
+
color: zod.ZodString;
|
|
120
|
+
createdAt: zod.ZodString;
|
|
121
|
+
createdBy: zod.ZodObject<{
|
|
122
122
|
id: zod.ZodOptional<zod.ZodString>;
|
|
123
123
|
name: zod.ZodOptional<zod.ZodString>;
|
|
124
|
-
}, zod.z.core.$strip
|
|
124
|
+
}, zod.z.core.$strip>;
|
|
125
125
|
description: zod.ZodOptional<zod.ZodString>;
|
|
126
|
-
id: zod.
|
|
127
|
-
name: zod.
|
|
128
|
-
updatedAt: zod.
|
|
129
|
-
updatedBy: zod.
|
|
126
|
+
id: zod.ZodString;
|
|
127
|
+
name: zod.ZodString;
|
|
128
|
+
updatedAt: zod.ZodString;
|
|
129
|
+
updatedBy: zod.ZodObject<{
|
|
130
130
|
id: zod.ZodOptional<zod.ZodString>;
|
|
131
131
|
name: zod.ZodOptional<zod.ZodString>;
|
|
132
|
-
}, zod.z.core.$strip
|
|
132
|
+
}, zod.z.core.$strip>;
|
|
133
133
|
}, zod.z.core.$strip>>;
|
|
134
134
|
description: zod.ZodOptional<zod.ZodString>;
|
|
135
135
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -173,20 +173,20 @@ export declare const DeleteServiceResponse: zod.ZodObject<{
|
|
|
173
173
|
name: zod.ZodOptional<zod.ZodString>;
|
|
174
174
|
}, zod.z.core.$strip>>;
|
|
175
175
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
176
|
-
color: zod.
|
|
177
|
-
createdAt: zod.
|
|
178
|
-
createdBy: zod.
|
|
176
|
+
color: zod.ZodString;
|
|
177
|
+
createdAt: zod.ZodString;
|
|
178
|
+
createdBy: zod.ZodObject<{
|
|
179
179
|
id: zod.ZodOptional<zod.ZodString>;
|
|
180
180
|
name: zod.ZodOptional<zod.ZodString>;
|
|
181
|
-
}, zod.z.core.$strip
|
|
181
|
+
}, zod.z.core.$strip>;
|
|
182
182
|
description: zod.ZodOptional<zod.ZodString>;
|
|
183
|
-
id: zod.
|
|
184
|
-
name: zod.
|
|
185
|
-
updatedAt: zod.
|
|
186
|
-
updatedBy: zod.
|
|
183
|
+
id: zod.ZodString;
|
|
184
|
+
name: zod.ZodString;
|
|
185
|
+
updatedAt: zod.ZodString;
|
|
186
|
+
updatedBy: zod.ZodObject<{
|
|
187
187
|
id: zod.ZodOptional<zod.ZodString>;
|
|
188
188
|
name: zod.ZodOptional<zod.ZodString>;
|
|
189
|
-
}, zod.z.core.$strip
|
|
189
|
+
}, zod.z.core.$strip>;
|
|
190
190
|
}, zod.z.core.$strip>>;
|
|
191
191
|
description: zod.ZodOptional<zod.ZodString>;
|
|
192
192
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -236,20 +236,20 @@ export declare const LocateServiceResponse: zod.ZodObject<{
|
|
|
236
236
|
name: zod.ZodOptional<zod.ZodString>;
|
|
237
237
|
}, zod.z.core.$strip>>;
|
|
238
238
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
239
|
-
color: zod.
|
|
240
|
-
createdAt: zod.
|
|
241
|
-
createdBy: zod.
|
|
239
|
+
color: zod.ZodString;
|
|
240
|
+
createdAt: zod.ZodString;
|
|
241
|
+
createdBy: zod.ZodObject<{
|
|
242
242
|
id: zod.ZodOptional<zod.ZodString>;
|
|
243
243
|
name: zod.ZodOptional<zod.ZodString>;
|
|
244
|
-
}, zod.z.core.$strip
|
|
244
|
+
}, zod.z.core.$strip>;
|
|
245
245
|
description: zod.ZodOptional<zod.ZodString>;
|
|
246
|
-
id: zod.
|
|
247
|
-
name: zod.
|
|
248
|
-
updatedAt: zod.
|
|
249
|
-
updatedBy: zod.
|
|
246
|
+
id: zod.ZodString;
|
|
247
|
+
name: zod.ZodString;
|
|
248
|
+
updatedAt: zod.ZodString;
|
|
249
|
+
updatedBy: zod.ZodObject<{
|
|
250
250
|
id: zod.ZodOptional<zod.ZodString>;
|
|
251
251
|
name: zod.ZodOptional<zod.ZodString>;
|
|
252
|
-
}, zod.z.core.$strip
|
|
252
|
+
}, zod.z.core.$strip>;
|
|
253
253
|
}, zod.z.core.$strip>>;
|
|
254
254
|
description: zod.ZodOptional<zod.ZodString>;
|
|
255
255
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -321,20 +321,20 @@ export declare const UpdateService2Response: zod.ZodObject<{
|
|
|
321
321
|
name: zod.ZodOptional<zod.ZodString>;
|
|
322
322
|
}, zod.z.core.$strip>>;
|
|
323
323
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
324
|
-
color: zod.
|
|
325
|
-
createdAt: zod.
|
|
326
|
-
createdBy: zod.
|
|
324
|
+
color: zod.ZodString;
|
|
325
|
+
createdAt: zod.ZodString;
|
|
326
|
+
createdBy: zod.ZodObject<{
|
|
327
327
|
id: zod.ZodOptional<zod.ZodString>;
|
|
328
328
|
name: zod.ZodOptional<zod.ZodString>;
|
|
329
|
-
}, zod.z.core.$strip
|
|
329
|
+
}, zod.z.core.$strip>;
|
|
330
330
|
description: zod.ZodOptional<zod.ZodString>;
|
|
331
|
-
id: zod.
|
|
332
|
-
name: zod.
|
|
333
|
-
updatedAt: zod.
|
|
334
|
-
updatedBy: zod.
|
|
331
|
+
id: zod.ZodString;
|
|
332
|
+
name: zod.ZodString;
|
|
333
|
+
updatedAt: zod.ZodString;
|
|
334
|
+
updatedBy: zod.ZodObject<{
|
|
335
335
|
id: zod.ZodOptional<zod.ZodString>;
|
|
336
336
|
name: zod.ZodOptional<zod.ZodString>;
|
|
337
|
-
}, zod.z.core.$strip
|
|
337
|
+
}, zod.z.core.$strip>;
|
|
338
338
|
}, zod.z.core.$strip>>;
|
|
339
339
|
description: zod.ZodOptional<zod.ZodString>;
|
|
340
340
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -405,20 +405,20 @@ export declare const UpdateServiceResponse: zod.ZodObject<{
|
|
|
405
405
|
name: zod.ZodOptional<zod.ZodString>;
|
|
406
406
|
}, zod.z.core.$strip>>;
|
|
407
407
|
defaultPriority: zod.ZodOptional<zod.ZodObject<{
|
|
408
|
-
color: zod.
|
|
409
|
-
createdAt: zod.
|
|
410
|
-
createdBy: zod.
|
|
408
|
+
color: zod.ZodString;
|
|
409
|
+
createdAt: zod.ZodString;
|
|
410
|
+
createdBy: zod.ZodObject<{
|
|
411
411
|
id: zod.ZodOptional<zod.ZodString>;
|
|
412
412
|
name: zod.ZodOptional<zod.ZodString>;
|
|
413
|
-
}, zod.z.core.$strip
|
|
413
|
+
}, zod.z.core.$strip>;
|
|
414
414
|
description: zod.ZodOptional<zod.ZodString>;
|
|
415
|
-
id: zod.
|
|
416
|
-
name: zod.
|
|
417
|
-
updatedAt: zod.
|
|
418
|
-
updatedBy: zod.
|
|
415
|
+
id: zod.ZodString;
|
|
416
|
+
name: zod.ZodString;
|
|
417
|
+
updatedAt: zod.ZodString;
|
|
418
|
+
updatedBy: zod.ZodObject<{
|
|
419
419
|
id: zod.ZodOptional<zod.ZodString>;
|
|
420
420
|
name: zod.ZodOptional<zod.ZodString>;
|
|
421
|
-
}, zod.z.core.$strip
|
|
421
|
+
}, zod.z.core.$strip>;
|
|
422
422
|
}, zod.z.core.$strip>>;
|
|
423
423
|
description: zod.ZodOptional<zod.ZodString>;
|
|
424
424
|
group: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -47,6 +47,8 @@ export declare const SearchSystemSettingQueryParams: zod.ZodObject<{
|
|
|
47
47
|
password_warning_days: "password_warning_days";
|
|
48
48
|
default_password: "default_password";
|
|
49
49
|
expand_contact_tabs: "expand_contact_tabs";
|
|
50
|
+
default_workspace_tab: "default_workspace_tab";
|
|
51
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
50
52
|
}>>>;
|
|
51
53
|
}, zod.z.core.$strip>;
|
|
52
54
|
export declare const searchSystemSettingResponseItemsItemNameDefault = "empty_system_settings_name";
|
|
@@ -89,6 +91,8 @@ export declare const SearchSystemSettingResponse: zod.ZodObject<{
|
|
|
89
91
|
password_warning_days: "password_warning_days";
|
|
90
92
|
default_password: "default_password";
|
|
91
93
|
expand_contact_tabs: "expand_contact_tabs";
|
|
94
|
+
default_workspace_tab: "default_workspace_tab";
|
|
95
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
92
96
|
}>>;
|
|
93
97
|
}, zod.z.core.$strip>>>;
|
|
94
98
|
next: zod.ZodOptional<zod.ZodBoolean>;
|
|
@@ -131,6 +135,8 @@ export declare const CreateSystemSettingBody: zod.ZodObject<{
|
|
|
131
135
|
password_warning_days: "password_warning_days";
|
|
132
136
|
default_password: "default_password";
|
|
133
137
|
expand_contact_tabs: "expand_contact_tabs";
|
|
138
|
+
default_workspace_tab: "default_workspace_tab";
|
|
139
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
134
140
|
}>>;
|
|
135
141
|
}, zod.z.core.$strip>;
|
|
136
142
|
export declare const createSystemSettingResponseNameDefault = "empty_system_settings_name";
|
|
@@ -172,6 +178,8 @@ export declare const CreateSystemSettingResponse: zod.ZodObject<{
|
|
|
172
178
|
password_warning_days: "password_warning_days";
|
|
173
179
|
default_password: "default_password";
|
|
174
180
|
expand_contact_tabs: "expand_contact_tabs";
|
|
181
|
+
default_workspace_tab: "default_workspace_tab";
|
|
182
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
175
183
|
}>>;
|
|
176
184
|
}, zod.z.core.$strip>;
|
|
177
185
|
export declare const SearchAvailableSystemSettingQueryParams: zod.ZodObject<{
|
|
@@ -229,6 +237,8 @@ export declare const DeleteSystemSettingResponse: zod.ZodObject<{
|
|
|
229
237
|
password_warning_days: "password_warning_days";
|
|
230
238
|
default_password: "default_password";
|
|
231
239
|
expand_contact_tabs: "expand_contact_tabs";
|
|
240
|
+
default_workspace_tab: "default_workspace_tab";
|
|
241
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
232
242
|
}>>;
|
|
233
243
|
}, zod.z.core.$strip>;
|
|
234
244
|
export declare const ReadSystemSettingParams: zod.ZodObject<{
|
|
@@ -273,6 +283,8 @@ export declare const ReadSystemSettingResponse: zod.ZodObject<{
|
|
|
273
283
|
password_warning_days: "password_warning_days";
|
|
274
284
|
default_password: "default_password";
|
|
275
285
|
expand_contact_tabs: "expand_contact_tabs";
|
|
286
|
+
default_workspace_tab: "default_workspace_tab";
|
|
287
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
276
288
|
}>>;
|
|
277
289
|
}, zod.z.core.$strip>;
|
|
278
290
|
export declare const PatchSystemSettingParams: zod.ZodObject<{
|
|
@@ -320,6 +332,8 @@ export declare const PatchSystemSettingResponse: zod.ZodObject<{
|
|
|
320
332
|
password_warning_days: "password_warning_days";
|
|
321
333
|
default_password: "default_password";
|
|
322
334
|
expand_contact_tabs: "expand_contact_tabs";
|
|
335
|
+
default_workspace_tab: "default_workspace_tab";
|
|
336
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
323
337
|
}>>;
|
|
324
338
|
}, zod.z.core.$strip>;
|
|
325
339
|
export declare const UpdateSystemSettingParams: zod.ZodObject<{
|
|
@@ -365,5 +379,7 @@ export declare const UpdateSystemSettingResponse: zod.ZodObject<{
|
|
|
365
379
|
password_warning_days: "password_warning_days";
|
|
366
380
|
default_password: "default_password";
|
|
367
381
|
expand_contact_tabs: "expand_contact_tabs";
|
|
382
|
+
default_workspace_tab: "default_workspace_tab";
|
|
383
|
+
block_all_member_numbers_from_list: "block_all_member_numbers_from_list";
|
|
368
384
|
}>>;
|
|
369
385
|
}, zod.z.core.$strip>;
|
|
@@ -1,52 +1,35 @@
|
|
|
1
1
|
import type { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
|
-
import type {
|
|
3
|
-
type IfEquals<X, Y, A = X, B = never> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? A : B;
|
|
4
|
-
type WritableKeys<T> = {
|
|
5
|
-
[P in keyof T]-?: IfEquals<{
|
|
6
|
-
[Q in P]: T[P];
|
|
7
|
-
}, {
|
|
8
|
-
-readonly [Q in P]: T[P];
|
|
9
|
-
}, P>;
|
|
10
|
-
}[keyof T];
|
|
11
|
-
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
12
|
-
type DistributeReadOnlyOverUnions<T> = T extends any ? NonReadonly<T> : never;
|
|
13
|
-
type Writable<T> = Pick<T, WritableKeys<T>>;
|
|
14
|
-
type NonReadonly<T> = [
|
|
15
|
-
T
|
|
16
|
-
] extends [
|
|
17
|
-
UnionToIntersection<T>
|
|
18
|
-
] ? {
|
|
19
|
-
[P in keyof Writable<T>]: T[P] extends object ? NonReadonly<NonNullable<T[P]>> : T[P];
|
|
20
|
-
} : DistributeReadOnlyOverUnions<T>;
|
|
2
|
+
import type { ApiDeleteUsersResponse, ApiGeneratePasswordRequest, ApiGeneratePasswordResponse, ApiGetPasswordSettingsResponse, ApiGetUserWarningsResponse, ApiInputUser, ApiLogoutUserRequest, ApiLogoutUserResponse, ApiReadUserResponse, ApiSearchUsersRequest, ApiSearchUsersResponse, ApiUpdatePasswordRequest, ApiUpdatePasswordResponse, ApiUser, CreateUserParams, DeleteUsers2Params, DeleteUsersParams, ReadPasswordSettingsParams, ReadUser2Params, ReadUserParams, SearchUsersParams, UpdateUser2Params, UpdateUserParams, UsersLogoutUserBody } from '../_models';
|
|
21
3
|
export declare const // --- title start
|
|
22
4
|
getUsers: (axiosInstance?: AxiosInstance) => {
|
|
23
5
|
readUser2: (params?: ReadUser2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiReadUserResponse>>;
|
|
24
6
|
deleteUsers2: (deleteUsers2Body: string[], params?: DeleteUsers2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiDeleteUsersResponse>>;
|
|
25
7
|
searchUsers: (params?: SearchUsersParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiSearchUsersResponse>>;
|
|
26
|
-
createUser: (
|
|
8
|
+
createUser: (apiInputUser: ApiInputUser, params?: CreateUserParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUser>>;
|
|
27
9
|
logoutUser2: (apiLogoutUserRequest: ApiLogoutUserRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiLogoutUserResponse>>;
|
|
28
10
|
updatePassword: (apiUpdatePasswordRequest: ApiUpdatePasswordRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUpdatePasswordResponse>>;
|
|
11
|
+
generatePassword: (apiGeneratePasswordRequest: ApiGeneratePasswordRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiGeneratePasswordResponse>>;
|
|
29
12
|
readPasswordSettings: (params?: ReadPasswordSettingsParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiGetPasswordSettingsResponse>>;
|
|
30
13
|
searchUsers2: (apiSearchUsersRequest: ApiSearchUsersRequest, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiSearchUsersResponse>>;
|
|
31
14
|
getUserWarnings: (options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiGetUserWarningsResponse>>;
|
|
32
15
|
deleteUsers: (id: string, params?: DeleteUsersParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiDeleteUsersResponse>>;
|
|
33
16
|
readUser: (id: string, params?: ReadUserParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiReadUserResponse>>;
|
|
17
|
+
updateUser2: (id: string, apiInputUser: ApiInputUser, params?: UpdateUser2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUser>>;
|
|
18
|
+
updateUser: (id: string, apiInputUser: ApiInputUser, params?: UpdateUserParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUser>>;
|
|
34
19
|
logoutUser: (id: string, usersLogoutUserBody: UsersLogoutUserBody, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiLogoutUserResponse>>;
|
|
35
|
-
updateUser2: (updateUser2Body: NonReadonly<UpdateUser2Body>, params?: UpdateUser2Params, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUser>>;
|
|
36
|
-
updateUser: (updateUserBody: NonReadonly<UpdateUserBody>, params?: UpdateUserParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<ApiUser>>;
|
|
37
20
|
};
|
|
38
21
|
export type ReadUser2Result = AxiosResponse<ApiReadUserResponse>;
|
|
39
22
|
export type DeleteUsers2Result = AxiosResponse<ApiDeleteUsersResponse>;
|
|
40
23
|
export type SearchUsersResult = AxiosResponse<ApiSearchUsersResponse>;
|
|
41
|
-
export type CreateUserResult = AxiosResponse<
|
|
24
|
+
export type CreateUserResult = AxiosResponse<ApiUser>;
|
|
42
25
|
export type LogoutUser2Result = AxiosResponse<ApiLogoutUserResponse>;
|
|
43
26
|
export type UpdatePasswordResult = AxiosResponse<ApiUpdatePasswordResponse>;
|
|
27
|
+
export type GeneratePasswordResult = AxiosResponse<ApiGeneratePasswordResponse>;
|
|
44
28
|
export type ReadPasswordSettingsResult = AxiosResponse<ApiGetPasswordSettingsResponse>;
|
|
45
29
|
export type SearchUsers2Result = AxiosResponse<ApiSearchUsersResponse>;
|
|
46
30
|
export type GetUserWarningsResult = AxiosResponse<ApiGetUserWarningsResponse>;
|
|
47
31
|
export type DeleteUsersResult = AxiosResponse<ApiDeleteUsersResponse>;
|
|
48
32
|
export type ReadUserResult = AxiosResponse<ApiReadUserResponse>;
|
|
49
|
-
export type LogoutUserResult = AxiosResponse<ApiLogoutUserResponse>;
|
|
50
33
|
export type UpdateUser2Result = AxiosResponse<ApiUser>;
|
|
51
34
|
export type UpdateUserResult = AxiosResponse<ApiUser>;
|
|
52
|
-
export
|
|
35
|
+
export type LogoutUserResult = AxiosResponse<ApiLogoutUserResponse>;
|
|
@@ -1,32 +1,34 @@
|
|
|
1
1
|
import type { RequestHandlerOptions } from 'msw';
|
|
2
2
|
import { http } from 'msw';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ApiDeleteUsersResponse, ApiGeneratePasswordResponse, ApiGetPasswordSettingsResponse, ApiGetUserWarningsResponse, ApiLogoutUserResponse, ApiReadUserResponse, ApiSearchUsersResponse, ApiUpdatePasswordResponse, ApiUser } from '../_models';
|
|
4
4
|
export declare const getReadUser2ResponseMock: (overrideResponse?: Partial<Extract<ApiReadUserResponse, object>>) => ApiReadUserResponse;
|
|
5
5
|
export declare const getDeleteUsers2ResponseMock: (overrideResponse?: Partial<Extract<ApiDeleteUsersResponse, object>>) => ApiDeleteUsersResponse;
|
|
6
6
|
export declare const getSearchUsersResponseMock: (overrideResponse?: Partial<Extract<ApiSearchUsersResponse, object>>) => ApiSearchUsersResponse;
|
|
7
|
-
export declare const getCreateUserResponseMock: (overrideResponse?: Partial<Extract<
|
|
7
|
+
export declare const getCreateUserResponseMock: (overrideResponse?: Partial<Extract<ApiUser, object>>) => ApiUser;
|
|
8
8
|
export declare const getLogoutUser2ResponseMock: () => ApiLogoutUserResponse;
|
|
9
9
|
export declare const getUpdatePasswordResponseMock: () => ApiUpdatePasswordResponse;
|
|
10
|
+
export declare const getGeneratePasswordResponseMock: (overrideResponse?: Partial<Extract<ApiGeneratePasswordResponse, object>>) => ApiGeneratePasswordResponse;
|
|
10
11
|
export declare const getReadPasswordSettingsResponseMock: (overrideResponse?: Partial<Extract<ApiGetPasswordSettingsResponse, object>>) => ApiGetPasswordSettingsResponse;
|
|
11
12
|
export declare const getSearchUsers2ResponseMock: (overrideResponse?: Partial<Extract<ApiSearchUsersResponse, object>>) => ApiSearchUsersResponse;
|
|
12
13
|
export declare const getGetUserWarningsResponseMock: (overrideResponse?: Partial<Extract<ApiGetUserWarningsResponse, object>>) => ApiGetUserWarningsResponse;
|
|
13
14
|
export declare const getDeleteUsersResponseMock: (overrideResponse?: Partial<Extract<ApiDeleteUsersResponse, object>>) => ApiDeleteUsersResponse;
|
|
14
15
|
export declare const getReadUserResponseMock: (overrideResponse?: Partial<Extract<ApiReadUserResponse, object>>) => ApiReadUserResponse;
|
|
15
|
-
export declare const getLogoutUserResponseMock: () => ApiLogoutUserResponse;
|
|
16
16
|
export declare const getUpdateUser2ResponseMock: (overrideResponse?: Partial<Extract<ApiUser, object>>) => ApiUser;
|
|
17
17
|
export declare const getUpdateUserResponseMock: (overrideResponse?: Partial<Extract<ApiUser, object>>) => ApiUser;
|
|
18
|
+
export declare const getLogoutUserResponseMock: () => ApiLogoutUserResponse;
|
|
18
19
|
export declare const getReadUser2MockHandler: (overrideResponse?: ApiReadUserResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ApiReadUserResponse> | ApiReadUserResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
19
20
|
export declare const getDeleteUsers2MockHandler: (overrideResponse?: ApiDeleteUsersResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ApiDeleteUsersResponse> | ApiDeleteUsersResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
20
21
|
export declare const getSearchUsersMockHandler: (overrideResponse?: ApiSearchUsersResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ApiSearchUsersResponse> | ApiSearchUsersResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
21
|
-
export declare const getCreateUserMockHandler: (overrideResponse?:
|
|
22
|
+
export declare const getCreateUserMockHandler: (overrideResponse?: ApiUser | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiUser> | ApiUser), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
22
23
|
export declare const getLogoutUser2MockHandler: (overrideResponse?: ApiLogoutUserResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiLogoutUserResponse> | ApiLogoutUserResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
23
24
|
export declare const getUpdatePasswordMockHandler: (overrideResponse?: ApiUpdatePasswordResponse | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ApiUpdatePasswordResponse> | ApiUpdatePasswordResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
25
|
+
export declare const getGeneratePasswordMockHandler: (overrideResponse?: ApiGeneratePasswordResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiGeneratePasswordResponse> | ApiGeneratePasswordResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
24
26
|
export declare const getReadPasswordSettingsMockHandler: (overrideResponse?: ApiGetPasswordSettingsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ApiGetPasswordSettingsResponse> | ApiGetPasswordSettingsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
25
27
|
export declare const getSearchUsers2MockHandler: (overrideResponse?: ApiSearchUsersResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiSearchUsersResponse> | ApiSearchUsersResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
26
28
|
export declare const getGetUserWarningsMockHandler: (overrideResponse?: ApiGetUserWarningsResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ApiGetUserWarningsResponse> | ApiGetUserWarningsResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
27
29
|
export declare const getDeleteUsersMockHandler: (overrideResponse?: ApiDeleteUsersResponse | ((info: Parameters<Parameters<typeof http.delete>[1]>[0]) => Promise<ApiDeleteUsersResponse> | ApiDeleteUsersResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
28
30
|
export declare const getReadUserMockHandler: (overrideResponse?: ApiReadUserResponse | ((info: Parameters<Parameters<typeof http.get>[1]>[0]) => Promise<ApiReadUserResponse> | ApiReadUserResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
29
|
-
export declare const getLogoutUserMockHandler: (overrideResponse?: ApiLogoutUserResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiLogoutUserResponse> | ApiLogoutUserResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
30
31
|
export declare const getUpdateUser2MockHandler: (overrideResponse?: ApiUser | ((info: Parameters<Parameters<typeof http.patch>[1]>[0]) => Promise<ApiUser> | ApiUser), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
31
32
|
export declare const getUpdateUserMockHandler: (overrideResponse?: ApiUser | ((info: Parameters<Parameters<typeof http.put>[1]>[0]) => Promise<ApiUser> | ApiUser), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
33
|
+
export declare const getLogoutUserMockHandler: (overrideResponse?: ApiLogoutUserResponse | ((info: Parameters<Parameters<typeof http.post>[1]>[0]) => Promise<ApiLogoutUserResponse> | ApiLogoutUserResponse), options?: RequestHandlerOptions) => import("msw").HttpHandler;
|
|
32
34
|
export declare const getUsersMock: () => import("msw").HttpHandler[];
|