@revenexx/sdk 0.0.2
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/LICENSE +21 -0
- package/README.md +148 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/sdk.js +16340 -0
- package/dist/cjs/sdk.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/sdk.js +16250 -0
- package/dist/esm/sdk.js.map +1 -0
- package/dist/iife/sdk.js +20101 -0
- package/package.json +56 -0
- package/src/channel.ts +158 -0
- package/src/client.ts +950 -0
- package/src/enums/adapter.ts +4 -0
- package/src/enums/attribute-boolean-status.ts +7 -0
- package/src/enums/attribute-datetime-status.ts +7 -0
- package/src/enums/attribute-email-status.ts +7 -0
- package/src/enums/attribute-enum-status.ts +7 -0
- package/src/enums/attribute-float-status.ts +7 -0
- package/src/enums/attribute-integer-status.ts +7 -0
- package/src/enums/attribute-ip-status.ts +7 -0
- package/src/enums/attribute-line-status.ts +7 -0
- package/src/enums/attribute-longtext-status.ts +7 -0
- package/src/enums/attribute-mediumtext-status.ts +7 -0
- package/src/enums/attribute-point-status.ts +7 -0
- package/src/enums/attribute-polygon-status.ts +7 -0
- package/src/enums/attribute-relationship-status.ts +7 -0
- package/src/enums/attribute-string-status.ts +7 -0
- package/src/enums/attribute-text-status.ts +7 -0
- package/src/enums/attribute-url-status.ts +7 -0
- package/src/enums/attribute-varchar-status.ts +7 -0
- package/src/enums/build-runtime.ts +73 -0
- package/src/enums/code.ts +16 -0
- package/src/enums/collection.ts +4 -0
- package/src/enums/column-boolean-status.ts +7 -0
- package/src/enums/column-datetime-status.ts +7 -0
- package/src/enums/column-email-status.ts +7 -0
- package/src/enums/column-enum-status.ts +7 -0
- package/src/enums/column-float-status.ts +7 -0
- package/src/enums/column-integer-status.ts +7 -0
- package/src/enums/column-ip-status.ts +7 -0
- package/src/enums/column-line-status.ts +7 -0
- package/src/enums/column-longtext-status.ts +7 -0
- package/src/enums/column-mediumtext-status.ts +7 -0
- package/src/enums/column-point-status.ts +7 -0
- package/src/enums/column-polygon-status.ts +7 -0
- package/src/enums/column-relationship-status.ts +7 -0
- package/src/enums/column-string-status.ts +7 -0
- package/src/enums/column-text-status.ts +7 -0
- package/src/enums/column-url-status.ts +7 -0
- package/src/enums/column-varchar-status.ts +7 -0
- package/src/enums/compression.ts +5 -0
- package/src/enums/database-type.ts +4 -0
- package/src/enums/deployment-status.ts +8 -0
- package/src/enums/execution-status.ts +7 -0
- package/src/enums/execution-trigger.ts +5 -0
- package/src/enums/framework.ts +17 -0
- package/src/enums/gravity.ts +11 -0
- package/src/enums/health-antivirus-status.ts +5 -0
- package/src/enums/health-status-status.ts +4 -0
- package/src/enums/index-status.ts +7 -0
- package/src/enums/message-status.ts +7 -0
- package/src/enums/method.ts +9 -0
- package/src/enums/output.ts +9 -0
- package/src/enums/permissions.ts +22 -0
- package/src/enums/priority.ts +4 -0
- package/src/enums/range.ts +5 -0
- package/src/enums/runtime.ts +73 -0
- package/src/enums/runtimes.ts +73 -0
- package/src/enums/scopes.ts +57 -0
- package/src/enums/theme.ts +4 -0
- package/src/enums/timezone.ts +421 -0
- package/src/enums/type.ts +5 -0
- package/src/enums/use-cases.ts +9 -0
- package/src/id.ts +47 -0
- package/src/index.ts +92 -0
- package/src/models.ts +6013 -0
- package/src/operator.ts +308 -0
- package/src/permission.ts +57 -0
- package/src/query.ts +576 -0
- package/src/role.ts +100 -0
- package/src/service.ts +30 -0
- package/src/services/apps.ts +2473 -0
- package/src/services/avatars.ts +744 -0
- package/src/services/carts.ts +1057 -0
- package/src/services/channels.ts +227 -0
- package/src/services/customers.ts +729 -0
- package/src/services/greetings.ts +294 -0
- package/src/services/locale.ts +198 -0
- package/src/services/markets.ts +796 -0
- package/src/services/messaging.ts +3463 -0
- package/src/services/products.ts +3100 -0
- package/src/services/realtime.ts +537 -0
- package/src/services/search.ts +346 -0
- package/src/services/sites.ts +1847 -0
- package/src/services/storage.ts +1076 -0
- package/src/services/tokens.ts +314 -0
- package/types/channel.d.ts +74 -0
- package/types/client.d.ts +211 -0
- package/types/enums/adapter.d.ts +4 -0
- package/types/enums/attribute-boolean-status.d.ts +7 -0
- package/types/enums/attribute-datetime-status.d.ts +7 -0
- package/types/enums/attribute-email-status.d.ts +7 -0
- package/types/enums/attribute-enum-status.d.ts +7 -0
- package/types/enums/attribute-float-status.d.ts +7 -0
- package/types/enums/attribute-integer-status.d.ts +7 -0
- package/types/enums/attribute-ip-status.d.ts +7 -0
- package/types/enums/attribute-line-status.d.ts +7 -0
- package/types/enums/attribute-longtext-status.d.ts +7 -0
- package/types/enums/attribute-mediumtext-status.d.ts +7 -0
- package/types/enums/attribute-point-status.d.ts +7 -0
- package/types/enums/attribute-polygon-status.d.ts +7 -0
- package/types/enums/attribute-relationship-status.d.ts +7 -0
- package/types/enums/attribute-string-status.d.ts +7 -0
- package/types/enums/attribute-text-status.d.ts +7 -0
- package/types/enums/attribute-url-status.d.ts +7 -0
- package/types/enums/attribute-varchar-status.d.ts +7 -0
- package/types/enums/build-runtime.d.ts +73 -0
- package/types/enums/code.d.ts +16 -0
- package/types/enums/collection.d.ts +4 -0
- package/types/enums/column-boolean-status.d.ts +7 -0
- package/types/enums/column-datetime-status.d.ts +7 -0
- package/types/enums/column-email-status.d.ts +7 -0
- package/types/enums/column-enum-status.d.ts +7 -0
- package/types/enums/column-float-status.d.ts +7 -0
- package/types/enums/column-integer-status.d.ts +7 -0
- package/types/enums/column-ip-status.d.ts +7 -0
- package/types/enums/column-line-status.d.ts +7 -0
- package/types/enums/column-longtext-status.d.ts +7 -0
- package/types/enums/column-mediumtext-status.d.ts +7 -0
- package/types/enums/column-point-status.d.ts +7 -0
- package/types/enums/column-polygon-status.d.ts +7 -0
- package/types/enums/column-relationship-status.d.ts +7 -0
- package/types/enums/column-string-status.d.ts +7 -0
- package/types/enums/column-text-status.d.ts +7 -0
- package/types/enums/column-url-status.d.ts +7 -0
- package/types/enums/column-varchar-status.d.ts +7 -0
- package/types/enums/compression.d.ts +5 -0
- package/types/enums/database-type.d.ts +4 -0
- package/types/enums/deployment-status.d.ts +8 -0
- package/types/enums/execution-status.d.ts +7 -0
- package/types/enums/execution-trigger.d.ts +5 -0
- package/types/enums/framework.d.ts +17 -0
- package/types/enums/gravity.d.ts +11 -0
- package/types/enums/health-antivirus-status.d.ts +5 -0
- package/types/enums/health-status-status.d.ts +4 -0
- package/types/enums/index-status.d.ts +7 -0
- package/types/enums/message-status.d.ts +7 -0
- package/types/enums/method.d.ts +9 -0
- package/types/enums/output.d.ts +9 -0
- package/types/enums/permissions.d.ts +22 -0
- package/types/enums/priority.d.ts +4 -0
- package/types/enums/range.d.ts +5 -0
- package/types/enums/runtime.d.ts +73 -0
- package/types/enums/runtimes.d.ts +73 -0
- package/types/enums/scopes.d.ts +57 -0
- package/types/enums/theme.d.ts +4 -0
- package/types/enums/timezone.d.ts +421 -0
- package/types/enums/type.d.ts +5 -0
- package/types/enums/use-cases.d.ts +9 -0
- package/types/id.d.ts +20 -0
- package/types/index.d.ts +92 -0
- package/types/models.d.ts +5830 -0
- package/types/operator.d.ts +180 -0
- package/types/permission.d.ts +43 -0
- package/types/query.d.ts +442 -0
- package/types/role.d.ts +70 -0
- package/types/service.d.ts +11 -0
- package/types/services/apps.d.ts +932 -0
- package/types/services/avatars.d.ts +318 -0
- package/types/services/carts.d.ts +352 -0
- package/types/services/channels.d.ts +75 -0
- package/types/services/customers.d.ts +231 -0
- package/types/services/greetings.d.ts +101 -0
- package/types/services/locale.d.ts +64 -0
- package/types/services/markets.d.ts +274 -0
- package/types/services/messaging.d.ts +1324 -0
- package/types/services/products.d.ts +1014 -0
- package/types/services/realtime.d.ts +134 -0
- package/types/services/search.d.ts +131 -0
- package/types/services/sites.d.ts +689 -0
- package/types/services/storage.d.ts +421 -0
- package/types/services/tokens.d.ts +119 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Client } from '../client';
|
|
2
|
+
import type { Models } from '../models';
|
|
3
|
+
export declare class Channels {
|
|
4
|
+
client: Client;
|
|
5
|
+
constructor(client: Client);
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @throws {RevenexxException}
|
|
9
|
+
* @returns {Promise<{}>}
|
|
10
|
+
*/
|
|
11
|
+
channelsList(): Promise<{}>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @throws {RevenexxException}
|
|
15
|
+
* @returns {Promise<Models.Channel>}
|
|
16
|
+
*/
|
|
17
|
+
channelsCreate(): Promise<Models.Channel>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @throws {RevenexxException}
|
|
21
|
+
* @returns {Promise<Models.ChannelDefaults>}
|
|
22
|
+
*/
|
|
23
|
+
channelsDefaults(): Promise<Models.ChannelDefaults>;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {string} params.id -
|
|
27
|
+
* @throws {RevenexxException}
|
|
28
|
+
* @returns {Promise<{}>}
|
|
29
|
+
*/
|
|
30
|
+
channelsDelete(params: {
|
|
31
|
+
id: string;
|
|
32
|
+
}): Promise<{}>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @param {string} id -
|
|
36
|
+
* @throws {RevenexxException}
|
|
37
|
+
* @returns {Promise<{}>}
|
|
38
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
39
|
+
*/
|
|
40
|
+
channelsDelete(id: string): Promise<{}>;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @param {string} params.id -
|
|
44
|
+
* @throws {RevenexxException}
|
|
45
|
+
* @returns {Promise<Models.Channel>}
|
|
46
|
+
*/
|
|
47
|
+
channelsGet(params: {
|
|
48
|
+
id: string;
|
|
49
|
+
}): Promise<Models.Channel>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @param {string} id -
|
|
53
|
+
* @throws {RevenexxException}
|
|
54
|
+
* @returns {Promise<Models.Channel>}
|
|
55
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
56
|
+
*/
|
|
57
|
+
channelsGet(id: string): Promise<Models.Channel>;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param {string} params.id -
|
|
61
|
+
* @throws {RevenexxException}
|
|
62
|
+
* @returns {Promise<Models.Channel>}
|
|
63
|
+
*/
|
|
64
|
+
channelsUpdate(params: {
|
|
65
|
+
id: string;
|
|
66
|
+
}): Promise<Models.Channel>;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @param {string} id -
|
|
70
|
+
* @throws {RevenexxException}
|
|
71
|
+
* @returns {Promise<Models.Channel>}
|
|
72
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
73
|
+
*/
|
|
74
|
+
channelsUpdate(id: string): Promise<Models.Channel>;
|
|
75
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import { Client } from '../client';
|
|
2
|
+
import type { Models } from '../models';
|
|
3
|
+
export declare class Customers {
|
|
4
|
+
client: Client;
|
|
5
|
+
constructor(client: Client);
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @throws {RevenexxException}
|
|
9
|
+
* @returns {Promise<{}>}
|
|
10
|
+
*/
|
|
11
|
+
customersAddressesList(): Promise<{}>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @throws {RevenexxException}
|
|
15
|
+
* @returns {Promise<Models.Address>}
|
|
16
|
+
*/
|
|
17
|
+
customersAddressesCreate(): Promise<Models.Address>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param {string} params.id -
|
|
21
|
+
* @throws {RevenexxException}
|
|
22
|
+
* @returns {Promise<{}>}
|
|
23
|
+
*/
|
|
24
|
+
customersAddressesDelete(params: {
|
|
25
|
+
id: string;
|
|
26
|
+
}): Promise<{}>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @param {string} id -
|
|
30
|
+
* @throws {RevenexxException}
|
|
31
|
+
* @returns {Promise<{}>}
|
|
32
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
33
|
+
*/
|
|
34
|
+
customersAddressesDelete(id: string): Promise<{}>;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param {string} params.id -
|
|
38
|
+
* @throws {RevenexxException}
|
|
39
|
+
* @returns {Promise<Models.Address>}
|
|
40
|
+
*/
|
|
41
|
+
customersAddressesGet(params: {
|
|
42
|
+
id: string;
|
|
43
|
+
}): Promise<Models.Address>;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @param {string} id -
|
|
47
|
+
* @throws {RevenexxException}
|
|
48
|
+
* @returns {Promise<Models.Address>}
|
|
49
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
50
|
+
*/
|
|
51
|
+
customersAddressesGet(id: string): Promise<Models.Address>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @param {string} params.id -
|
|
55
|
+
* @throws {RevenexxException}
|
|
56
|
+
* @returns {Promise<Models.Address>}
|
|
57
|
+
*/
|
|
58
|
+
customersAddressesUpdate(params: {
|
|
59
|
+
id: string;
|
|
60
|
+
}): Promise<Models.Address>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @param {string} id -
|
|
64
|
+
* @throws {RevenexxException}
|
|
65
|
+
* @returns {Promise<Models.Address>}
|
|
66
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
67
|
+
*/
|
|
68
|
+
customersAddressesUpdate(id: string): Promise<Models.Address>;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @throws {RevenexxException}
|
|
72
|
+
* @returns {Promise<Models.AuthLoginResponse>}
|
|
73
|
+
*/
|
|
74
|
+
customersAuthLogin(): Promise<Models.AuthLoginResponse>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @throws {RevenexxException}
|
|
78
|
+
* @returns {Promise<{}>}
|
|
79
|
+
*/
|
|
80
|
+
customersAuthLogout(): Promise<{}>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @throws {RevenexxException}
|
|
84
|
+
* @returns {Promise<Models.AuthMeResponse>}
|
|
85
|
+
*/
|
|
86
|
+
customersAuthMe(): Promise<Models.AuthMeResponse>;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @throws {RevenexxException}
|
|
90
|
+
* @returns {Promise<{}>}
|
|
91
|
+
*/
|
|
92
|
+
customersAuthRecovery(): Promise<{}>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @throws {RevenexxException}
|
|
96
|
+
* @returns {Promise<{}>}
|
|
97
|
+
*/
|
|
98
|
+
customersAuthRecoveryConfirm(): Promise<{}>;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @throws {RevenexxException}
|
|
102
|
+
* @returns {Promise<Models.AuthRegisterResponse>}
|
|
103
|
+
*/
|
|
104
|
+
customersAuthRegister(): Promise<Models.AuthRegisterResponse>;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @throws {RevenexxException}
|
|
108
|
+
* @returns {Promise<{}>}
|
|
109
|
+
*/
|
|
110
|
+
customersContactsList(): Promise<{}>;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @throws {RevenexxException}
|
|
114
|
+
* @returns {Promise<Models.Contact>}
|
|
115
|
+
*/
|
|
116
|
+
customersContactsCreate(): Promise<Models.Contact>;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @param {string} params.id -
|
|
120
|
+
* @throws {RevenexxException}
|
|
121
|
+
* @returns {Promise<{}>}
|
|
122
|
+
*/
|
|
123
|
+
customersContactsDelete(params: {
|
|
124
|
+
id: string;
|
|
125
|
+
}): Promise<{}>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @param {string} id -
|
|
129
|
+
* @throws {RevenexxException}
|
|
130
|
+
* @returns {Promise<{}>}
|
|
131
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
132
|
+
*/
|
|
133
|
+
customersContactsDelete(id: string): Promise<{}>;
|
|
134
|
+
/**
|
|
135
|
+
*
|
|
136
|
+
* @param {string} params.id -
|
|
137
|
+
* @throws {RevenexxException}
|
|
138
|
+
* @returns {Promise<Models.Contact>}
|
|
139
|
+
*/
|
|
140
|
+
customersContactsGet(params: {
|
|
141
|
+
id: string;
|
|
142
|
+
}): Promise<Models.Contact>;
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @param {string} id -
|
|
146
|
+
* @throws {RevenexxException}
|
|
147
|
+
* @returns {Promise<Models.Contact>}
|
|
148
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
149
|
+
*/
|
|
150
|
+
customersContactsGet(id: string): Promise<Models.Contact>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @param {string} params.id -
|
|
154
|
+
* @throws {RevenexxException}
|
|
155
|
+
* @returns {Promise<Models.Contact>}
|
|
156
|
+
*/
|
|
157
|
+
customersContactsUpdate(params: {
|
|
158
|
+
id: string;
|
|
159
|
+
}): Promise<Models.Contact>;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @param {string} id -
|
|
163
|
+
* @throws {RevenexxException}
|
|
164
|
+
* @returns {Promise<Models.Contact>}
|
|
165
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
166
|
+
*/
|
|
167
|
+
customersContactsUpdate(id: string): Promise<Models.Contact>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @throws {RevenexxException}
|
|
171
|
+
* @returns {Promise<{}>}
|
|
172
|
+
*/
|
|
173
|
+
customersOrganizationsList(): Promise<{}>;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @throws {RevenexxException}
|
|
177
|
+
* @returns {Promise<Models.Organization>}
|
|
178
|
+
*/
|
|
179
|
+
customersOrganizationsCreate(): Promise<Models.Organization>;
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @param {string} params.id -
|
|
183
|
+
* @throws {RevenexxException}
|
|
184
|
+
* @returns {Promise<{}>}
|
|
185
|
+
*/
|
|
186
|
+
customersOrganizationsDelete(params: {
|
|
187
|
+
id: string;
|
|
188
|
+
}): Promise<{}>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @param {string} id -
|
|
192
|
+
* @throws {RevenexxException}
|
|
193
|
+
* @returns {Promise<{}>}
|
|
194
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
195
|
+
*/
|
|
196
|
+
customersOrganizationsDelete(id: string): Promise<{}>;
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @param {string} params.id -
|
|
200
|
+
* @throws {RevenexxException}
|
|
201
|
+
* @returns {Promise<Models.Organization>}
|
|
202
|
+
*/
|
|
203
|
+
customersOrganizationsGet(params: {
|
|
204
|
+
id: string;
|
|
205
|
+
}): Promise<Models.Organization>;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @param {string} id -
|
|
209
|
+
* @throws {RevenexxException}
|
|
210
|
+
* @returns {Promise<Models.Organization>}
|
|
211
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
212
|
+
*/
|
|
213
|
+
customersOrganizationsGet(id: string): Promise<Models.Organization>;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @param {string} params.id -
|
|
217
|
+
* @throws {RevenexxException}
|
|
218
|
+
* @returns {Promise<Models.Organization>}
|
|
219
|
+
*/
|
|
220
|
+
customersOrganizationsUpdate(params: {
|
|
221
|
+
id: string;
|
|
222
|
+
}): Promise<Models.Organization>;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @param {string} id -
|
|
226
|
+
* @throws {RevenexxException}
|
|
227
|
+
* @returns {Promise<Models.Organization>}
|
|
228
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
229
|
+
*/
|
|
230
|
+
customersOrganizationsUpdate(id: string): Promise<Models.Organization>;
|
|
231
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Client } from '../client';
|
|
2
|
+
import type { Models } from '../models';
|
|
3
|
+
export declare class Greetings {
|
|
4
|
+
client: Client;
|
|
5
|
+
constructor(client: Client);
|
|
6
|
+
/**
|
|
7
|
+
*
|
|
8
|
+
* @throws {RevenexxException}
|
|
9
|
+
* @returns {Promise<{}>}
|
|
10
|
+
*/
|
|
11
|
+
greetingsDigest(): Promise<{}>;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @throws {RevenexxException}
|
|
15
|
+
* @returns {Promise<{}>}
|
|
16
|
+
*/
|
|
17
|
+
greetingsList(): Promise<{}>;
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @param {string} params.name - Who to greet
|
|
21
|
+
* @param {string} params.locale - BCP-47 locale
|
|
22
|
+
* @throws {RevenexxException}
|
|
23
|
+
* @returns {Promise<{}>}
|
|
24
|
+
*/
|
|
25
|
+
greetingsCreate(params: {
|
|
26
|
+
name: string;
|
|
27
|
+
locale?: string;
|
|
28
|
+
}): Promise<{}>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @param {string} name - Who to greet
|
|
32
|
+
* @param {string} locale - BCP-47 locale
|
|
33
|
+
* @throws {RevenexxException}
|
|
34
|
+
* @returns {Promise<{}>}
|
|
35
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
36
|
+
*/
|
|
37
|
+
greetingsCreate(name: string, locale?: string): Promise<{}>;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @param {string} params.id -
|
|
41
|
+
* @throws {RevenexxException}
|
|
42
|
+
* @returns {Promise<{}>}
|
|
43
|
+
*/
|
|
44
|
+
greetingsDelete(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
}): Promise<{}>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @param {string} id -
|
|
50
|
+
* @throws {RevenexxException}
|
|
51
|
+
* @returns {Promise<{}>}
|
|
52
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
53
|
+
*/
|
|
54
|
+
greetingsDelete(id: string): Promise<{}>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @param {string} params.id -
|
|
58
|
+
* @throws {RevenexxException}
|
|
59
|
+
* @returns {Promise<Models.Greeting>}
|
|
60
|
+
*/
|
|
61
|
+
greetingsGet(params: {
|
|
62
|
+
id: string;
|
|
63
|
+
}): Promise<Models.Greeting>;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @param {string} id -
|
|
67
|
+
* @throws {RevenexxException}
|
|
68
|
+
* @returns {Promise<Models.Greeting>}
|
|
69
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
70
|
+
*/
|
|
71
|
+
greetingsGet(id: string): Promise<Models.Greeting>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @param {string} params.id -
|
|
75
|
+
* @param {string} params.locale -
|
|
76
|
+
* @param {string} params.message -
|
|
77
|
+
* @param {object} params.metadata -
|
|
78
|
+
* @param {string} params.name -
|
|
79
|
+
* @throws {RevenexxException}
|
|
80
|
+
* @returns {Promise<Models.Greeting>}
|
|
81
|
+
*/
|
|
82
|
+
greetingsUpdate(params: {
|
|
83
|
+
id: string;
|
|
84
|
+
locale?: string;
|
|
85
|
+
message?: string;
|
|
86
|
+
metadata?: object;
|
|
87
|
+
name?: string;
|
|
88
|
+
}): Promise<Models.Greeting>;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @param {string} id -
|
|
92
|
+
* @param {string} locale -
|
|
93
|
+
* @param {string} message -
|
|
94
|
+
* @param {object} metadata -
|
|
95
|
+
* @param {string} name -
|
|
96
|
+
* @throws {RevenexxException}
|
|
97
|
+
* @returns {Promise<Models.Greeting>}
|
|
98
|
+
* @deprecated Use the object parameter style method for a better developer experience.
|
|
99
|
+
*/
|
|
100
|
+
greetingsUpdate(id: string, locale?: string, message?: string, metadata?: object, name?: string): Promise<Models.Greeting>;
|
|
101
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { Client } from '../client';
|
|
2
|
+
import type { Models } from '../models';
|
|
3
|
+
export declare class Locale {
|
|
4
|
+
client: Client;
|
|
5
|
+
constructor(client: Client);
|
|
6
|
+
/**
|
|
7
|
+
* Get the current user location based on IP. Returns an object with user country code, country name, continent name, continent code, ip address and suggested currency. You can use the locale header to get the data in a supported language.
|
|
8
|
+
*
|
|
9
|
+
* ([IP Geolocation by DB-IP](https://db-ip.com))
|
|
10
|
+
*
|
|
11
|
+
* @throws {RevenexxException}
|
|
12
|
+
* @returns {Promise<Models.Locale>}
|
|
13
|
+
*/
|
|
14
|
+
localeGet(): Promise<Models.Locale>;
|
|
15
|
+
/**
|
|
16
|
+
* List of all locale codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes).
|
|
17
|
+
*
|
|
18
|
+
* @throws {RevenexxException}
|
|
19
|
+
* @returns {Promise<Models.LocaleCodeList>}
|
|
20
|
+
*/
|
|
21
|
+
localeListCodes(): Promise<Models.LocaleCodeList>;
|
|
22
|
+
/**
|
|
23
|
+
* List of all continents. You can use the locale header to get the data in a supported language.
|
|
24
|
+
*
|
|
25
|
+
* @throws {RevenexxException}
|
|
26
|
+
* @returns {Promise<Models.ContinentList>}
|
|
27
|
+
*/
|
|
28
|
+
localeListContinents(): Promise<Models.ContinentList>;
|
|
29
|
+
/**
|
|
30
|
+
* List of all countries. You can use the locale header to get the data in a supported language.
|
|
31
|
+
*
|
|
32
|
+
* @throws {RevenexxException}
|
|
33
|
+
* @returns {Promise<Models.CountryList>}
|
|
34
|
+
*/
|
|
35
|
+
localeListCountries(): Promise<Models.CountryList>;
|
|
36
|
+
/**
|
|
37
|
+
* List of all countries that are currently members of the EU. You can use the locale header to get the data in a supported language.
|
|
38
|
+
*
|
|
39
|
+
* @throws {RevenexxException}
|
|
40
|
+
* @returns {Promise<Models.CountryList>}
|
|
41
|
+
*/
|
|
42
|
+
localeListCountriesEU(): Promise<Models.CountryList>;
|
|
43
|
+
/**
|
|
44
|
+
* List of all countries phone codes. You can use the locale header to get the data in a supported language.
|
|
45
|
+
*
|
|
46
|
+
* @throws {RevenexxException}
|
|
47
|
+
* @returns {Promise<Models.PhoneList>}
|
|
48
|
+
*/
|
|
49
|
+
localeListCountriesPhones(): Promise<Models.PhoneList>;
|
|
50
|
+
/**
|
|
51
|
+
* List of all currencies, including currency symbol, name, plural, and decimal digits for all major and minor currencies. You can use the locale header to get the data in a supported language.
|
|
52
|
+
*
|
|
53
|
+
* @throws {RevenexxException}
|
|
54
|
+
* @returns {Promise<Models.CurrencyList>}
|
|
55
|
+
*/
|
|
56
|
+
localeListCurrencies(): Promise<Models.CurrencyList>;
|
|
57
|
+
/**
|
|
58
|
+
* List of all languages classified by ISO 639-1 including 2-letter code, name in English, and name in the respective language.
|
|
59
|
+
*
|
|
60
|
+
* @throws {RevenexxException}
|
|
61
|
+
* @returns {Promise<Models.LanguageList>}
|
|
62
|
+
*/
|
|
63
|
+
localeListLanguages(): Promise<Models.LanguageList>;
|
|
64
|
+
}
|