@livechat/developer-studio-api 5.4.2-beta.generator.27 → 5.5.0-beta.generator.29
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/{chunk-ET3F7CIO.mjs → chunk-AVPZPHAU.mjs} +193 -73
- package/dist/index.d.mts +80 -5
- package/dist/index.d.ts +80 -5
- package/dist/index.js +197 -73
- package/dist/index.mjs +9 -1
- package/dist/workflow-contracts.js +29 -3
- package/dist/workflow-contracts.mjs +1 -1
- package/package.json +3 -5
package/dist/index.js
CHANGED
|
@@ -115,6 +115,7 @@ __export(src_exports, {
|
|
|
115
115
|
SortOrder: () => SortOrder,
|
|
116
116
|
TRIGGER_REFERENCE_NAME: () => TRIGGER_REFERENCE_NAME,
|
|
117
117
|
TextApiError: () => TextApiError,
|
|
118
|
+
TextBillingApiError: () => TextBillingApiError,
|
|
118
119
|
TextCustomerEventNames: () => TextCustomerEventNames,
|
|
119
120
|
TextHelpDeskEventNames: () => TextHelpDeskEventNames,
|
|
120
121
|
TextLivechatEventNames: () => TextLivechatEventNames,
|
|
@@ -123,6 +124,7 @@ __export(src_exports, {
|
|
|
123
124
|
TicketStatus: () => TicketStatus,
|
|
124
125
|
UnauthorizeAccountsApiError: () => UnauthorizeAccountsApiError,
|
|
125
126
|
UnauthorizeApiError: () => UnauthorizeApiError,
|
|
127
|
+
UnauthorizeTextBillingApiError: () => UnauthorizeTextBillingApiError,
|
|
126
128
|
WorkflowAgentTriggerSubType: () => WorkflowAgentTriggerSubType,
|
|
127
129
|
WorkflowConditionTaskFieldType: () => WorkflowConditionTaskFieldType,
|
|
128
130
|
WorkflowConditionTaskLogic: () => WorkflowConditionTaskLogic,
|
|
@@ -217,6 +219,7 @@ __export(src_exports, {
|
|
|
217
219
|
initPlatformAccountsClient: () => initPlatformAccountsClient,
|
|
218
220
|
initShopifyClient: () => initShopifyClient,
|
|
219
221
|
initSlackClient: () => initSlackClient,
|
|
222
|
+
initTextBillingClient: () => initTextBillingClient,
|
|
220
223
|
initTextClient: () => initTextClient,
|
|
221
224
|
initVercelClient: () => initVercelClient,
|
|
222
225
|
initWorkflowsClient: () => initWorkflowsClient,
|
|
@@ -243,6 +246,7 @@ __export(src_exports, {
|
|
|
243
246
|
shopifyEventsZods: () => shopifyEventsZods,
|
|
244
247
|
slackClientInstance: () => slackClientInstance,
|
|
245
248
|
slackEventsZods: () => slackEventsZods,
|
|
249
|
+
textBillingClientInstance: () => textBillingClientInstance,
|
|
246
250
|
textClientInstance: () => textClientInstance,
|
|
247
251
|
textCustomerEventsZods: () => textCustomerEventsZods,
|
|
248
252
|
textEventsZods: () => textEventsZods,
|
|
@@ -395,9 +399,6 @@ var extractTokenFromAuthorizationHeader = (headerValue) => {
|
|
|
395
399
|
return headerValue.trim();
|
|
396
400
|
};
|
|
397
401
|
|
|
398
|
-
// src/utils/integrations/getIntegrationFlowUrl.ts
|
|
399
|
-
var import_uuid = require("uuid");
|
|
400
|
-
|
|
401
402
|
// ../../../private/utils/src/arrays/notEmpty.ts
|
|
402
403
|
function notEmpty(item) {
|
|
403
404
|
return Boolean(item);
|
|
@@ -460,6 +461,11 @@ var serializerBase64 = {
|
|
|
460
461
|
}
|
|
461
462
|
};
|
|
462
463
|
|
|
464
|
+
// ../../../private/utils/src/uuid/generate-uuid.ts
|
|
465
|
+
function generateUuid() {
|
|
466
|
+
return crypto.randomUUID();
|
|
467
|
+
}
|
|
468
|
+
|
|
463
469
|
// src/apis/text-intelligence/workflows/adapter/integrations/_contracts/dtos/flows.ts
|
|
464
470
|
var IntegrationModes = /* @__PURE__ */ ((IntegrationModes2) => {
|
|
465
471
|
IntegrationModes2["Redirect"] = "redirect";
|
|
@@ -1293,7 +1299,7 @@ function getIntegrationFlowUrlForRedirection(provider, flow, state, context, con
|
|
|
1293
1299
|
}
|
|
1294
1300
|
function getIntegrationFlowUrl(name, flow, trigger, context, state, config) {
|
|
1295
1301
|
return __async(this, null, function* () {
|
|
1296
|
-
const sessionId = (
|
|
1302
|
+
const sessionId = generateUuid();
|
|
1297
1303
|
const serializedState = typeof state === "string" ? state : serializerBase64.serialize(state);
|
|
1298
1304
|
const serializedContext = serializerBase64.serialize(__spreadValues(__spreadValues({
|
|
1299
1305
|
state: serializedState,
|
|
@@ -3990,8 +3996,117 @@ var textAiAgentApi = {
|
|
|
3990
3996
|
}
|
|
3991
3997
|
};
|
|
3992
3998
|
|
|
3993
|
-
// src/apis/integrations/text/
|
|
3999
|
+
// src/apis/integrations/text/billing/instance.ts
|
|
4000
|
+
var TextBillingApiError = class extends ApiErrorBase {
|
|
4001
|
+
constructor() {
|
|
4002
|
+
super(...arguments);
|
|
4003
|
+
this.name = "text";
|
|
4004
|
+
}
|
|
4005
|
+
};
|
|
4006
|
+
var UnauthorizeTextBillingApiError = class extends UnauthorizeApiError {
|
|
4007
|
+
constructor(message) {
|
|
4008
|
+
super("text", message);
|
|
4009
|
+
}
|
|
4010
|
+
};
|
|
4011
|
+
var TextBillingApiClient = class extends ApiClient {
|
|
4012
|
+
constructor() {
|
|
4013
|
+
super(...arguments);
|
|
4014
|
+
this.UnauthorizedError = UnauthorizeTextBillingApiError;
|
|
4015
|
+
this.Error = TextBillingApiError;
|
|
4016
|
+
this.options = {
|
|
4017
|
+
headers: {
|
|
4018
|
+
Accept: "application/json",
|
|
4019
|
+
"Content-Type": "application/json"
|
|
4020
|
+
}
|
|
4021
|
+
};
|
|
4022
|
+
}
|
|
4023
|
+
};
|
|
4024
|
+
var textBillingClientInstance = new TextBillingApiClient({
|
|
4025
|
+
baseURL: "https://billing.labs.text.com"
|
|
4026
|
+
});
|
|
4027
|
+
function initTextBillingClient(baseUrl, token) {
|
|
4028
|
+
if (baseUrl) {
|
|
4029
|
+
textBillingClientInstance.updateConfig({
|
|
4030
|
+
baseURL: baseUrl
|
|
4031
|
+
});
|
|
4032
|
+
}
|
|
4033
|
+
textBillingClientInstance.updateAuthorization({
|
|
4034
|
+
token
|
|
4035
|
+
});
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
// src/apis/integrations/text/billing/api.ts
|
|
3994
4039
|
var urls = {
|
|
4040
|
+
getFeature: (featureName) => `/v4/organizations/my/features/${encodeURIComponent(featureName)}`,
|
|
4041
|
+
getSubscriptions: () => "/v4/subscriptions",
|
|
4042
|
+
getPlans: (billingProfileId) => `/v4/billing_profiles/${encodeURIComponent(billingProfileId)}/plans`,
|
|
4043
|
+
getBillingProfile: (billingProfileId) => `/v4/billing_profiles/${encodeURIComponent(billingProfileId)}`,
|
|
4044
|
+
deletePendingChange: (subscriptionId) => `/v4/subscriptions/${encodeURIComponent(subscriptionId)}:delete_pending_change`
|
|
4045
|
+
};
|
|
4046
|
+
var textBillingApi = {
|
|
4047
|
+
meta: {
|
|
4048
|
+
urls
|
|
4049
|
+
},
|
|
4050
|
+
getFeature(featureName, authorization) {
|
|
4051
|
+
return __async(this, null, function* () {
|
|
4052
|
+
return textBillingClientInstance.get(
|
|
4053
|
+
urls.getFeature(featureName),
|
|
4054
|
+
{
|
|
4055
|
+
authorization,
|
|
4056
|
+
customErrorMessage: "Feature couldn't be fetched."
|
|
4057
|
+
}
|
|
4058
|
+
);
|
|
4059
|
+
});
|
|
4060
|
+
},
|
|
4061
|
+
getSubscriptions(authorization) {
|
|
4062
|
+
return __async(this, null, function* () {
|
|
4063
|
+
return textBillingClientInstance.get(
|
|
4064
|
+
urls.getSubscriptions(),
|
|
4065
|
+
{
|
|
4066
|
+
authorization,
|
|
4067
|
+
customErrorMessage: "Subscriptions couldn't be fetched."
|
|
4068
|
+
}
|
|
4069
|
+
);
|
|
4070
|
+
});
|
|
4071
|
+
},
|
|
4072
|
+
getPlans(billingProfileId, authorization) {
|
|
4073
|
+
return __async(this, null, function* () {
|
|
4074
|
+
return textBillingClientInstance.get(
|
|
4075
|
+
urls.getPlans(billingProfileId),
|
|
4076
|
+
{
|
|
4077
|
+
authorization,
|
|
4078
|
+
customErrorMessage: "Plans couldn't be fetched."
|
|
4079
|
+
}
|
|
4080
|
+
);
|
|
4081
|
+
});
|
|
4082
|
+
},
|
|
4083
|
+
getBillingProfile(billingProfileId, authorization) {
|
|
4084
|
+
return __async(this, null, function* () {
|
|
4085
|
+
return textBillingClientInstance.get(
|
|
4086
|
+
urls.getBillingProfile(billingProfileId),
|
|
4087
|
+
{
|
|
4088
|
+
authorization,
|
|
4089
|
+
customErrorMessage: "Billing profile couldn't be fetched."
|
|
4090
|
+
}
|
|
4091
|
+
);
|
|
4092
|
+
});
|
|
4093
|
+
},
|
|
4094
|
+
deletePendingChange(subscriptionId, authorization) {
|
|
4095
|
+
return __async(this, null, function* () {
|
|
4096
|
+
return textBillingClientInstance.delete(
|
|
4097
|
+
urls.deletePendingChange(subscriptionId),
|
|
4098
|
+
void 0,
|
|
4099
|
+
{
|
|
4100
|
+
authorization,
|
|
4101
|
+
customErrorMessage: "Pending change couldn't be deleted."
|
|
4102
|
+
}
|
|
4103
|
+
);
|
|
4104
|
+
});
|
|
4105
|
+
}
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
// src/apis/integrations/text/external-account-manager/api.ts
|
|
4109
|
+
var urls2 = {
|
|
3995
4110
|
getOAuthState: () => "/external-account-manager/v1/oauth/state",
|
|
3996
4111
|
getAccounts: () => "/external-account-manager/v1/accounts"
|
|
3997
4112
|
};
|
|
@@ -4004,7 +4119,7 @@ var textExternalAccountManagerApi = {
|
|
|
4004
4119
|
getOAuthState(accessToken) {
|
|
4005
4120
|
return __async(this, null, function* () {
|
|
4006
4121
|
return textClientInstance.get(
|
|
4007
|
-
|
|
4122
|
+
urls2.getOAuthState(),
|
|
4008
4123
|
getTextClientConfig({
|
|
4009
4124
|
token: accessToken,
|
|
4010
4125
|
ensureAuthorizationToken: true
|
|
@@ -4024,7 +4139,7 @@ var textExternalAccountManagerApi = {
|
|
|
4024
4139
|
getAccounts(authorization) {
|
|
4025
4140
|
return __async(this, null, function* () {
|
|
4026
4141
|
return textClientInstance.get(
|
|
4027
|
-
|
|
4142
|
+
urls2.getAccounts(),
|
|
4028
4143
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4029
4144
|
ensureAuthorizationToken: true
|
|
4030
4145
|
}))
|
|
@@ -4124,7 +4239,7 @@ var getUrl = (segments = [], version) => buildUrlFromSegments(
|
|
|
4124
4239
|
segments,
|
|
4125
4240
|
`/workflow_platform/${version ? `${version}/` : ""}credentials`
|
|
4126
4241
|
);
|
|
4127
|
-
var
|
|
4242
|
+
var urls3 = {
|
|
4128
4243
|
get: (id) => getUrl([id], "v1.0" /* V1 */),
|
|
4129
4244
|
getList: (queryParams) => enrichUrlWithQueryParams(getUrl([], "v1.0" /* V1 */), queryParams),
|
|
4130
4245
|
create: () => getUrl([], "v1.0" /* V1 */),
|
|
@@ -4136,12 +4251,12 @@ var urls2 = {
|
|
|
4136
4251
|
};
|
|
4137
4252
|
var textPlatformWorkflowsCredentialsApi = {
|
|
4138
4253
|
meta: {
|
|
4139
|
-
urls:
|
|
4254
|
+
urls: urls3
|
|
4140
4255
|
},
|
|
4141
4256
|
get(id, authorization) {
|
|
4142
4257
|
return __async(this, null, function* () {
|
|
4143
4258
|
return textClientInstance.get(
|
|
4144
|
-
|
|
4259
|
+
urls3.get(id),
|
|
4145
4260
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4146
4261
|
ensureAuthorizationToken: true
|
|
4147
4262
|
}))
|
|
@@ -4158,7 +4273,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4158
4273
|
getList(queryParams, authorization) {
|
|
4159
4274
|
return __async(this, null, function* () {
|
|
4160
4275
|
return textClientInstance.get(
|
|
4161
|
-
|
|
4276
|
+
urls3.getList(queryParams),
|
|
4162
4277
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4163
4278
|
ensureAuthorizationToken: true
|
|
4164
4279
|
}))
|
|
@@ -4175,7 +4290,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4175
4290
|
create(payload, authorization) {
|
|
4176
4291
|
return __async(this, null, function* () {
|
|
4177
4292
|
return textClientInstance.post(
|
|
4178
|
-
|
|
4293
|
+
urls3.create(),
|
|
4179
4294
|
payload,
|
|
4180
4295
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4181
4296
|
ensureAuthorizationToken: true
|
|
@@ -4193,7 +4308,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4193
4308
|
update(id, payload, authorization) {
|
|
4194
4309
|
return __async(this, null, function* () {
|
|
4195
4310
|
return textClientInstance.put(
|
|
4196
|
-
|
|
4311
|
+
urls3.update(id),
|
|
4197
4312
|
payload,
|
|
4198
4313
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4199
4314
|
ensureAuthorizationToken: true
|
|
@@ -4211,7 +4326,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4211
4326
|
delete(id, authorization) {
|
|
4212
4327
|
return __async(this, null, function* () {
|
|
4213
4328
|
return textClientInstance.delete(
|
|
4214
|
-
|
|
4329
|
+
urls3.delete(id),
|
|
4215
4330
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4216
4331
|
ensureAuthorizationToken: true
|
|
4217
4332
|
}))
|
|
@@ -4228,7 +4343,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4228
4343
|
connect(id, code, codeVerifier, authorization) {
|
|
4229
4344
|
return __async(this, null, function* () {
|
|
4230
4345
|
return textClientInstance.put(
|
|
4231
|
-
|
|
4346
|
+
urls3.connect(id),
|
|
4232
4347
|
{
|
|
4233
4348
|
code,
|
|
4234
4349
|
code_verifier: codeVerifier
|
|
@@ -4249,7 +4364,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4249
4364
|
disconnect(id, authorization) {
|
|
4250
4365
|
return __async(this, null, function* () {
|
|
4251
4366
|
return textClientInstance.put(
|
|
4252
|
-
|
|
4367
|
+
urls3.disconnect(id),
|
|
4253
4368
|
{},
|
|
4254
4369
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4255
4370
|
ensureAuthorizationToken: true
|
|
@@ -4267,7 +4382,7 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4267
4382
|
importCredential(externalAccountId, authorization) {
|
|
4268
4383
|
return __async(this, null, function* () {
|
|
4269
4384
|
return textClientInstance.post(
|
|
4270
|
-
|
|
4385
|
+
urls3.import(),
|
|
4271
4386
|
{
|
|
4272
4387
|
source: "external_account_manager",
|
|
4273
4388
|
data: {
|
|
@@ -4293,17 +4408,17 @@ var textPlatformWorkflowsCredentialsApi = {
|
|
|
4293
4408
|
|
|
4294
4409
|
// src/apis/integrations/text/platform/workflow/functions/api.ts
|
|
4295
4410
|
var getUrl2 = (segments = []) => buildUrlFromSegments(segments, "/workflow_platform/functions");
|
|
4296
|
-
var
|
|
4411
|
+
var urls4 = {
|
|
4297
4412
|
get: () => getUrl2()
|
|
4298
4413
|
};
|
|
4299
4414
|
var textPlatformWorkflowsFunctionsApi = {
|
|
4300
4415
|
meta: {
|
|
4301
|
-
urls:
|
|
4416
|
+
urls: urls4
|
|
4302
4417
|
},
|
|
4303
4418
|
get(authorization) {
|
|
4304
4419
|
return __async(this, null, function* () {
|
|
4305
4420
|
return textClientInstance.get(
|
|
4306
|
-
|
|
4421
|
+
urls4.get(),
|
|
4307
4422
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
4308
4423
|
ensureAuthorizationToken: true
|
|
4309
4424
|
}))
|
|
@@ -5894,18 +6009,18 @@ var getUrl3 = (segments = [], version) => buildUrlFromSegments(
|
|
|
5894
6009
|
segments,
|
|
5895
6010
|
`/workflow_platform/${version ? `${version}/` : ""}workflows/templates`
|
|
5896
6011
|
);
|
|
5897
|
-
var
|
|
6012
|
+
var urls5 = {
|
|
5898
6013
|
getList: (queryParams) => enrichUrlWithQueryParams(getUrl3([], "v1.0" /* V1 */), queryParams),
|
|
5899
6014
|
get: (templateId) => getUrl3([templateId], "v1.0" /* V1 */)
|
|
5900
6015
|
};
|
|
5901
6016
|
var textPlatformWorkflowsTemplatesApi = {
|
|
5902
6017
|
meta: {
|
|
5903
|
-
urls:
|
|
6018
|
+
urls: urls5
|
|
5904
6019
|
},
|
|
5905
6020
|
getList(queryParams, authorization) {
|
|
5906
6021
|
return __async(this, null, function* () {
|
|
5907
6022
|
return textClientInstance.get(
|
|
5908
|
-
|
|
6023
|
+
urls5.getList(queryParams),
|
|
5909
6024
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
5910
6025
|
ensureAuthorizationToken: true
|
|
5911
6026
|
}))
|
|
@@ -5922,7 +6037,7 @@ var textPlatformWorkflowsTemplatesApi = {
|
|
|
5922
6037
|
get(templateId, authorization) {
|
|
5923
6038
|
return __async(this, null, function* () {
|
|
5924
6039
|
return textClientInstance.get(
|
|
5925
|
-
|
|
6040
|
+
urls5.get(templateId),
|
|
5926
6041
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
5927
6042
|
ensureAuthorizationToken: true
|
|
5928
6043
|
}))
|
|
@@ -5940,7 +6055,7 @@ var textPlatformWorkflowsTemplatesApi = {
|
|
|
5940
6055
|
|
|
5941
6056
|
// src/apis/integrations/text/platform/workflow/workflows/internal/crm/api.ts
|
|
5942
6057
|
var getUrl4 = (segments = []) => buildUrlFromSegments(segments, "/internal/crm");
|
|
5943
|
-
var
|
|
6058
|
+
var urls6 = {
|
|
5944
6059
|
getOrganizations: (queryParams) => enrichUrlWithQueryParams(getUrl4(["stats"]), queryParams),
|
|
5945
6060
|
getOrganization: (organizationId) => getUrl4(["stats", organizationId]),
|
|
5946
6061
|
getWorkflows: (queryParams) => enrichUrlWithQueryParams(getUrl4(["workflows"]), queryParams),
|
|
@@ -5954,12 +6069,12 @@ var urls5 = {
|
|
|
5954
6069
|
};
|
|
5955
6070
|
var textPlatformWorkflowsInternalCrmApi = {
|
|
5956
6071
|
meta: {
|
|
5957
|
-
urls:
|
|
6072
|
+
urls: urls6
|
|
5958
6073
|
},
|
|
5959
6074
|
getOrganizations(queryParams, authorization) {
|
|
5960
6075
|
return __async(this, null, function* () {
|
|
5961
6076
|
const { data: organizations } = yield textClientInstance.get(
|
|
5962
|
-
|
|
6077
|
+
urls6.getOrganizations(queryParams),
|
|
5963
6078
|
getWorkflowApiCrmConfig(authorization)
|
|
5964
6079
|
);
|
|
5965
6080
|
return organizations;
|
|
@@ -5968,7 +6083,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
5968
6083
|
getOrganization(organizationId, authorization) {
|
|
5969
6084
|
return __async(this, null, function* () {
|
|
5970
6085
|
const { data: organization } = yield textClientInstance.get(
|
|
5971
|
-
|
|
6086
|
+
urls6.getOrganization(organizationId),
|
|
5972
6087
|
getWorkflowApiCrmConfig(authorization)
|
|
5973
6088
|
);
|
|
5974
6089
|
return organization;
|
|
@@ -5976,7 +6091,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
5976
6091
|
},
|
|
5977
6092
|
getWorkflows(queryParams, authorization) {
|
|
5978
6093
|
return __async(this, null, function* () {
|
|
5979
|
-
const { data: workflows } = yield textClientInstance.get(
|
|
6094
|
+
const { data: workflows } = yield textClientInstance.get(urls6.getWorkflows(queryParams), getWorkflowApiCrmConfig(authorization));
|
|
5980
6095
|
workflows.data = workflows.data.map(enrichWorkflowTrigger);
|
|
5981
6096
|
return workflows;
|
|
5982
6097
|
});
|
|
@@ -5986,7 +6101,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
5986
6101
|
const searchParams = new URLSearchParams();
|
|
5987
6102
|
const query = searchParams.toString();
|
|
5988
6103
|
const { data: workflow } = yield textClientInstance.get(
|
|
5989
|
-
`${
|
|
6104
|
+
`${urls6.getWorkflow(workflowId)}${query ? `?${query}` : ""}`,
|
|
5990
6105
|
getWorkflowApiCrmConfig(authorization)
|
|
5991
6106
|
);
|
|
5992
6107
|
return enrichWorkflowTrigger(workflow);
|
|
@@ -5995,7 +6110,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
5995
6110
|
getWorkflowExecutions(workflowId, queryParams, authorization) {
|
|
5996
6111
|
return __async(this, null, function* () {
|
|
5997
6112
|
const { data: executions } = yield textClientInstance.get(
|
|
5998
|
-
|
|
6113
|
+
urls6.getWorkflowExecutions(workflowId, queryParams),
|
|
5999
6114
|
getWorkflowApiCrmConfig(authorization)
|
|
6000
6115
|
);
|
|
6001
6116
|
return executions;
|
|
@@ -6004,7 +6119,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
6004
6119
|
getWorkflowExecution(workflowId, executionId, authorization) {
|
|
6005
6120
|
return __async(this, null, function* () {
|
|
6006
6121
|
const { data: execution } = yield textClientInstance.get(
|
|
6007
|
-
|
|
6122
|
+
urls6.getWorkflowExecution(workflowId, executionId),
|
|
6008
6123
|
getWorkflowApiCrmConfig(authorization)
|
|
6009
6124
|
);
|
|
6010
6125
|
return execution;
|
|
@@ -6018,7 +6133,7 @@ var textPlatformWorkflowsInternalCrmApi = {
|
|
|
6018
6133
|
}
|
|
6019
6134
|
const query = searchParams.toString();
|
|
6020
6135
|
const { data: introspection } = yield textClientInstance.get(
|
|
6021
|
-
`${
|
|
6136
|
+
`${urls6.getWorkflowIntrospection(workflowId)}${query ? `?${query}` : ""}`,
|
|
6022
6137
|
getWorkflowApiCrmConfig(authorization)
|
|
6023
6138
|
);
|
|
6024
6139
|
return {
|
|
@@ -6062,7 +6177,7 @@ var getUrl5 = (segments = [], version) => buildUrlFromSegments(
|
|
|
6062
6177
|
segments,
|
|
6063
6178
|
`/workflow_platform/${version ? `${version}/` : ""}workflows`
|
|
6064
6179
|
);
|
|
6065
|
-
var
|
|
6180
|
+
var urls7 = {
|
|
6066
6181
|
getWorkflows: (queryParams) => enrichUrlWithQueryParams(getUrl5([], "v1.0" /* V1 */), queryParams),
|
|
6067
6182
|
createWorkflow: () => getUrl5(),
|
|
6068
6183
|
getWorkflow: (id) => getUrl5([id], "v1.0" /* V1 */),
|
|
@@ -6083,12 +6198,12 @@ var urls6 = {
|
|
|
6083
6198
|
var textPlatformWorkflowsApi = {
|
|
6084
6199
|
internal: textPlatformWorkflowsInternalApi,
|
|
6085
6200
|
meta: {
|
|
6086
|
-
urls:
|
|
6201
|
+
urls: urls7
|
|
6087
6202
|
},
|
|
6088
6203
|
getWorkflows(queryParams, authorization) {
|
|
6089
6204
|
return __async(this, null, function* () {
|
|
6090
6205
|
const { data: workflows } = yield textClientInstance.get(
|
|
6091
|
-
|
|
6206
|
+
urls7.getWorkflows(queryParams),
|
|
6092
6207
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6093
6208
|
ensureAuthorizationToken: true
|
|
6094
6209
|
}))
|
|
@@ -6105,7 +6220,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6105
6220
|
}
|
|
6106
6221
|
const query = searchParams.toString();
|
|
6107
6222
|
const { data: workflow } = yield textClientInstance.get(
|
|
6108
|
-
`${
|
|
6223
|
+
`${urls7.getWorkflow(workflowId)}${query ? `?${query}` : ""}`,
|
|
6109
6224
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6110
6225
|
ensureAuthorizationToken: true
|
|
6111
6226
|
}))
|
|
@@ -6116,7 +6231,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6116
6231
|
createWorkflow(payload, authorization) {
|
|
6117
6232
|
return __async(this, null, function* () {
|
|
6118
6233
|
return textClientInstance.post(
|
|
6119
|
-
|
|
6234
|
+
urls7.createWorkflow(),
|
|
6120
6235
|
__spreadProps(__spreadValues({}, payload), {
|
|
6121
6236
|
trigger: payload.trigger || {}
|
|
6122
6237
|
}),
|
|
@@ -6129,7 +6244,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6129
6244
|
updateWorkflow(workflowId, payload, authorization) {
|
|
6130
6245
|
return __async(this, null, function* () {
|
|
6131
6246
|
return textClientInstance.put(
|
|
6132
|
-
|
|
6247
|
+
urls7.updateWorkflow(workflowId),
|
|
6133
6248
|
__spreadProps(__spreadValues({}, payload), {
|
|
6134
6249
|
trigger: payload.trigger || {}
|
|
6135
6250
|
}),
|
|
@@ -6141,7 +6256,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6141
6256
|
},
|
|
6142
6257
|
deleteWorkflow(workflowId, authorization) {
|
|
6143
6258
|
return __async(this, null, function* () {
|
|
6144
|
-
return textClientInstance.delete(
|
|
6259
|
+
return textClientInstance.delete(urls7.deleteWorkflow(workflowId), __spreadValues({}, getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6145
6260
|
ensureAuthorizationToken: true
|
|
6146
6261
|
}))));
|
|
6147
6262
|
});
|
|
@@ -6149,7 +6264,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6149
6264
|
createWorkflowDraft(workflowId, payload, authorization) {
|
|
6150
6265
|
return __async(this, null, function* () {
|
|
6151
6266
|
return textClientInstance.post(
|
|
6152
|
-
|
|
6267
|
+
urls7.createWorkflowDraft(workflowId),
|
|
6153
6268
|
__spreadProps(__spreadValues({}, payload), {
|
|
6154
6269
|
trigger: payload.trigger || {}
|
|
6155
6270
|
}),
|
|
@@ -6162,7 +6277,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6162
6277
|
publishWorkflowDraft(workflowId, authorization) {
|
|
6163
6278
|
return __async(this, null, function* () {
|
|
6164
6279
|
return textClientInstance.post(
|
|
6165
|
-
|
|
6280
|
+
urls7.publishWorkflowDraft(workflowId),
|
|
6166
6281
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6167
6282
|
ensureAuthorizationToken: true
|
|
6168
6283
|
}))
|
|
@@ -6172,7 +6287,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6172
6287
|
toggleWorkflowActivation(workflowId, isActive, authorization) {
|
|
6173
6288
|
return __async(this, null, function* () {
|
|
6174
6289
|
return textClientInstance.put(
|
|
6175
|
-
|
|
6290
|
+
urls7.toggleWorkflowActivation(workflowId),
|
|
6176
6291
|
{
|
|
6177
6292
|
active: isActive
|
|
6178
6293
|
},
|
|
@@ -6185,7 +6300,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6185
6300
|
executeWorkflow(workflowId, input, authorization) {
|
|
6186
6301
|
return __async(this, null, function* () {
|
|
6187
6302
|
const { data: execution } = yield textClientInstance.post(
|
|
6188
|
-
|
|
6303
|
+
urls7.executeWorkflow(workflowId),
|
|
6189
6304
|
{
|
|
6190
6305
|
input
|
|
6191
6306
|
},
|
|
@@ -6199,7 +6314,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6199
6314
|
getWorkflowExecutions(workflowId, queryParams, authorization) {
|
|
6200
6315
|
return __async(this, null, function* () {
|
|
6201
6316
|
const { data: executions } = yield textClientInstance.get(
|
|
6202
|
-
|
|
6317
|
+
urls7.getWorkflowExecutions(workflowId, queryParams),
|
|
6203
6318
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6204
6319
|
ensureAuthorizationToken: true
|
|
6205
6320
|
}))
|
|
@@ -6210,7 +6325,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6210
6325
|
getWorkflowExecution(workflowId, executionId, authorization) {
|
|
6211
6326
|
return __async(this, null, function* () {
|
|
6212
6327
|
const { data: execution } = yield textClientInstance.get(
|
|
6213
|
-
|
|
6328
|
+
urls7.getWorkflowExecution(workflowId, executionId),
|
|
6214
6329
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6215
6330
|
ensureAuthorizationToken: true
|
|
6216
6331
|
}))
|
|
@@ -6226,7 +6341,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6226
6341
|
}
|
|
6227
6342
|
const query = searchParams.toString();
|
|
6228
6343
|
const { data: introspection } = yield textClientInstance.get(
|
|
6229
|
-
`${
|
|
6344
|
+
`${urls7.getWorkflowIntrospection(workflowId)}${query ? `?${query}` : ""}`,
|
|
6230
6345
|
getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6231
6346
|
ensureAuthorizationToken: true
|
|
6232
6347
|
}))
|
|
@@ -6239,7 +6354,7 @@ var textPlatformWorkflowsApi = {
|
|
|
6239
6354
|
introspectWorkflowTask(workflowId, payload, authorization) {
|
|
6240
6355
|
return __async(this, null, function* () {
|
|
6241
6356
|
const response = yield textClientInstance.post(
|
|
6242
|
-
|
|
6357
|
+
urls7.introspectWorkflowTask(workflowId),
|
|
6243
6358
|
{
|
|
6244
6359
|
task_reference_name: payload.taskReferenceName,
|
|
6245
6360
|
input_parameters: payload.inputParameters
|
|
@@ -6278,7 +6393,7 @@ var buildResourcePath = ({ provider, domain, name }) => {
|
|
|
6278
6393
|
}
|
|
6279
6394
|
return [targetProvider, domain, name].filter(notEmpty).join("/");
|
|
6280
6395
|
};
|
|
6281
|
-
var
|
|
6396
|
+
var urls8 = {
|
|
6282
6397
|
listSchema: () => "/workflow_resources/schema",
|
|
6283
6398
|
getSchema: (provider) => `/workflow_resources/schema/${provider}`,
|
|
6284
6399
|
getResource: (resource) => `/workflow_resources/resources/${buildResourcePath(resource)}`
|
|
@@ -6289,7 +6404,7 @@ var textResourcerApi = {
|
|
|
6289
6404
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6290
6405
|
ensureAuthorizationToken: true
|
|
6291
6406
|
}));
|
|
6292
|
-
return textClientInstance.get(
|
|
6407
|
+
return textClientInstance.get(urls8.getResource(resource), __spreadProps(__spreadValues({}, config), {
|
|
6293
6408
|
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
6294
6409
|
"X-Credential-ID": credentialId
|
|
6295
6410
|
})
|
|
@@ -6308,7 +6423,7 @@ var textResourcerApi = {
|
|
|
6308
6423
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6309
6424
|
ensureAuthorizationToken: true
|
|
6310
6425
|
}));
|
|
6311
|
-
return textClientInstance.get(
|
|
6426
|
+
return textClientInstance.get(urls8.listSchema(), __spreadProps(__spreadValues({}, config), {
|
|
6312
6427
|
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
6313
6428
|
"X-Credential-ID": credentialId
|
|
6314
6429
|
})
|
|
@@ -6327,7 +6442,7 @@ var textResourcerApi = {
|
|
|
6327
6442
|
const config = getTextClientConfig(__spreadProps(__spreadValues({}, authorization), {
|
|
6328
6443
|
ensureAuthorizationToken: true
|
|
6329
6444
|
}));
|
|
6330
|
-
return textClientInstance.get(
|
|
6445
|
+
return textClientInstance.get(urls8.getSchema(provider), __spreadProps(__spreadValues({}, config), {
|
|
6331
6446
|
headers: __spreadProps(__spreadValues({}, config.headers), {
|
|
6332
6447
|
"X-Credential-ID": credentialId
|
|
6333
6448
|
})
|
|
@@ -6347,6 +6462,7 @@ var textResourcerApi = {
|
|
|
6347
6462
|
var textApi = {
|
|
6348
6463
|
platform: textPlatformApi,
|
|
6349
6464
|
ai: textAiAgentApi,
|
|
6465
|
+
billing: textBillingApi,
|
|
6350
6466
|
externalAccountManager: textExternalAccountManagerApi,
|
|
6351
6467
|
resourcer: textResourcerApi
|
|
6352
6468
|
};
|
|
@@ -6650,7 +6766,7 @@ var integrationsApi = {
|
|
|
6650
6766
|
};
|
|
6651
6767
|
|
|
6652
6768
|
// src/apis/platform/accounts/accounts/api.ts
|
|
6653
|
-
var
|
|
6769
|
+
var urls9 = (withBaseUrl = false) => {
|
|
6654
6770
|
const getUrl7 = (segments = []) => buildUrlFromSegments(
|
|
6655
6771
|
segments,
|
|
6656
6772
|
"/v2/accounts",
|
|
@@ -6666,7 +6782,7 @@ var api2 = {
|
|
|
6666
6782
|
getAccounts(authorization) {
|
|
6667
6783
|
return __async(this, null, function* () {
|
|
6668
6784
|
return platformAccountsClientInstance.get(
|
|
6669
|
-
|
|
6785
|
+
urls9().getAccounts(),
|
|
6670
6786
|
{
|
|
6671
6787
|
authorization,
|
|
6672
6788
|
customErrorMessage: "Accounts couldn't be fetched."
|
|
@@ -6677,7 +6793,7 @@ var api2 = {
|
|
|
6677
6793
|
getAccount(accountId, authorization) {
|
|
6678
6794
|
return __async(this, null, function* () {
|
|
6679
6795
|
return platformAccountsClientInstance.get(
|
|
6680
|
-
|
|
6796
|
+
urls9().getAccount(accountId),
|
|
6681
6797
|
{
|
|
6682
6798
|
authorization,
|
|
6683
6799
|
customErrorMessage: "Account couldn't be fetched."
|
|
@@ -6699,7 +6815,7 @@ var api2 = {
|
|
|
6699
6815
|
};
|
|
6700
6816
|
var platformAccountsAccountApi = __spreadProps(__spreadValues({}, api2), {
|
|
6701
6817
|
meta: {
|
|
6702
|
-
urls:
|
|
6818
|
+
urls: urls9
|
|
6703
6819
|
}
|
|
6704
6820
|
});
|
|
6705
6821
|
|
|
@@ -6865,18 +6981,18 @@ var platformAccountsPersonalAccessTokenApi = {
|
|
|
6865
6981
|
|
|
6866
6982
|
// src/apis/platform/accounts/products/api.ts
|
|
6867
6983
|
var getUrl6 = (segments = []) => buildUrlFromSegments(segments, "/v2/organizations");
|
|
6868
|
-
var
|
|
6984
|
+
var urls10 = {
|
|
6869
6985
|
getOrganizationProducts: () => getUrl6(["my", "products"]),
|
|
6870
6986
|
updateOrganizationProducts: () => getUrl6(["my", "products"])
|
|
6871
6987
|
};
|
|
6872
6988
|
var platformAccountsProductsApi = {
|
|
6873
6989
|
meta: {
|
|
6874
|
-
urls:
|
|
6990
|
+
urls: urls10
|
|
6875
6991
|
},
|
|
6876
6992
|
getOrganizationProducts(authorization) {
|
|
6877
6993
|
return __async(this, null, function* () {
|
|
6878
6994
|
return platformAccountsClientInstance.get(
|
|
6879
|
-
|
|
6995
|
+
urls10.getOrganizationProducts(),
|
|
6880
6996
|
{ authorization, customErrorMessage: "Products couldn't be fetched." }
|
|
6881
6997
|
);
|
|
6882
6998
|
});
|
|
@@ -6884,7 +7000,7 @@ var platformAccountsProductsApi = {
|
|
|
6884
7000
|
updateOrganizationProducts(payload, authorization) {
|
|
6885
7001
|
return __async(this, null, function* () {
|
|
6886
7002
|
return platformAccountsClientInstance.post(
|
|
6887
|
-
|
|
7003
|
+
urls10.updateOrganizationProducts(),
|
|
6888
7004
|
payload,
|
|
6889
7005
|
{ authorization, customErrorMessage: "Products couldn't be updated." }
|
|
6890
7006
|
);
|
|
@@ -9847,7 +9963,7 @@ var api = {
|
|
|
9847
9963
|
isInitialized: false
|
|
9848
9964
|
};
|
|
9849
9965
|
function initApi(config, tokens) {
|
|
9850
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D;
|
|
9966
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F;
|
|
9851
9967
|
initPlatformAccountsClient(
|
|
9852
9968
|
(_a = config.urls.platform) == null ? void 0 : _a.accounts,
|
|
9853
9969
|
(_b = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _b.token
|
|
@@ -9867,14 +9983,18 @@ function initApi(config, tokens) {
|
|
|
9867
9983
|
initLiveChatClient((_h = config.urls.products) == null ? void 0 : _h.livechat, (_i = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _i.token);
|
|
9868
9984
|
initHelpDeskClient((_j = config.urls.products) == null ? void 0 : _j.helpdesk, (_k = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _k.token);
|
|
9869
9985
|
initTextClient((_l = config.urls.integrations) == null ? void 0 : _l.text, (_m = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _m.token);
|
|
9986
|
+
initTextBillingClient(
|
|
9987
|
+
(_n = config.urls.integrations) == null ? void 0 : _n.textBilling,
|
|
9988
|
+
(_o = tokens == null ? void 0 : tokens.platform) == null ? void 0 : _o.token
|
|
9989
|
+
);
|
|
9870
9990
|
initWorkflowsClient(
|
|
9871
|
-
(
|
|
9991
|
+
(_q = (_p = config.urls.textIntelligence) == null ? void 0 : _p.workflows) == null ? void 0 : _q.workflows,
|
|
9872
9992
|
tokens ? {
|
|
9873
9993
|
platform: tokens.platform
|
|
9874
9994
|
} : void 0
|
|
9875
9995
|
);
|
|
9876
9996
|
initAdapterClient(
|
|
9877
|
-
(
|
|
9997
|
+
(_s = (_r = config.urls.textIntelligence) == null ? void 0 : _r.workflows) == null ? void 0 : _s.adapter,
|
|
9878
9998
|
tokens ? {
|
|
9879
9999
|
platform: tokens.platform,
|
|
9880
10000
|
github: tokens.github,
|
|
@@ -9887,16 +10007,16 @@ function initApi(config, tokens) {
|
|
|
9887
10007
|
slack: tokens.slack
|
|
9888
10008
|
} : void 0
|
|
9889
10009
|
);
|
|
9890
|
-
initGithubClient((
|
|
9891
|
-
initNetlifyClient((
|
|
9892
|
-
initVercelClient((
|
|
9893
|
-
initNeonClient((
|
|
9894
|
-
initPlanetScaleClient((
|
|
9895
|
-
initMailchimpClient((
|
|
9896
|
-
initShopifyClient((
|
|
9897
|
-
initBigCommerceClient((
|
|
9898
|
-
initHubspotClient((
|
|
9899
|
-
initSlackClient((
|
|
10010
|
+
initGithubClient((_t = tokens == null ? void 0 : tokens.github) == null ? void 0 : _t.appToken);
|
|
10011
|
+
initNetlifyClient((_u = tokens == null ? void 0 : tokens.netlify) == null ? void 0 : _u.token);
|
|
10012
|
+
initVercelClient((_v = tokens == null ? void 0 : tokens.vercel) == null ? void 0 : _v.token);
|
|
10013
|
+
initNeonClient((_w = tokens == null ? void 0 : tokens.neon) == null ? void 0 : _w.token);
|
|
10014
|
+
initPlanetScaleClient((_x = tokens == null ? void 0 : tokens.planetscale) == null ? void 0 : _x.token);
|
|
10015
|
+
initMailchimpClient((_y = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _y.token, (_z = tokens == null ? void 0 : tokens.mailchimp) == null ? void 0 : _z.server);
|
|
10016
|
+
initShopifyClient((_A = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _A.token, (_B = tokens == null ? void 0 : tokens.shopify) == null ? void 0 : _B.shop);
|
|
10017
|
+
initBigCommerceClient((_C = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _C.token, (_D = tokens == null ? void 0 : tokens.bigcommerce) == null ? void 0 : _D.shop);
|
|
10018
|
+
initHubspotClient((_E = tokens == null ? void 0 : tokens.hubspot) == null ? void 0 : _E.token);
|
|
10019
|
+
initSlackClient((_F = tokens == null ? void 0 : tokens.slack) == null ? void 0 : _F.token);
|
|
9900
10020
|
api.isInitialized = true;
|
|
9901
10021
|
}
|
|
9902
10022
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -9949,6 +10069,7 @@ function initApi(config, tokens) {
|
|
|
9949
10069
|
SortOrder,
|
|
9950
10070
|
TRIGGER_REFERENCE_NAME,
|
|
9951
10071
|
TextApiError,
|
|
10072
|
+
TextBillingApiError,
|
|
9952
10073
|
TextCustomerEventNames,
|
|
9953
10074
|
TextHelpDeskEventNames,
|
|
9954
10075
|
TextLivechatEventNames,
|
|
@@ -9957,6 +10078,7 @@ function initApi(config, tokens) {
|
|
|
9957
10078
|
TicketStatus,
|
|
9958
10079
|
UnauthorizeAccountsApiError,
|
|
9959
10080
|
UnauthorizeApiError,
|
|
10081
|
+
UnauthorizeTextBillingApiError,
|
|
9960
10082
|
WorkflowAgentTriggerSubType,
|
|
9961
10083
|
WorkflowConditionTaskFieldType,
|
|
9962
10084
|
WorkflowConditionTaskLogic,
|
|
@@ -10051,6 +10173,7 @@ function initApi(config, tokens) {
|
|
|
10051
10173
|
initPlatformAccountsClient,
|
|
10052
10174
|
initShopifyClient,
|
|
10053
10175
|
initSlackClient,
|
|
10176
|
+
initTextBillingClient,
|
|
10054
10177
|
initTextClient,
|
|
10055
10178
|
initVercelClient,
|
|
10056
10179
|
initWorkflowsClient,
|
|
@@ -10077,6 +10200,7 @@ function initApi(config, tokens) {
|
|
|
10077
10200
|
shopifyEventsZods,
|
|
10078
10201
|
slackClientInstance,
|
|
10079
10202
|
slackEventsZods,
|
|
10203
|
+
textBillingClientInstance,
|
|
10080
10204
|
textClientInstance,
|
|
10081
10205
|
textCustomerEventsZods,
|
|
10082
10206
|
textEventsZods,
|