@distilled.cloud/ovh 0.0.0 → 1.0.0-rc.11
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 +201 -0
- package/lib/credentials.d.ts +38 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +54 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +60 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/baremetal.d.ts +3551 -0
- package/lib/services/baremetal.d.ts.map +1 -0
- package/lib/services/baremetal.js +4187 -0
- package/lib/services/baremetal.js.map +1 -0
- package/lib/services/cloud.d.ts +26011 -0
- package/lib/services/cloud.d.ts.map +1 -0
- package/lib/services/cloud.js +31061 -0
- package/lib/services/cloud.js.map +1 -0
- package/lib/services/cloud_v2.d.ts +5642 -0
- package/lib/services/cloud_v2.d.ts.map +1 -0
- package/lib/services/cloud_v2.js +5733 -0
- package/lib/services/cloud_v2.js.map +1 -0
- package/lib/services/dedicatedceph.d.ts +747 -0
- package/lib/services/dedicatedceph.d.ts.map +1 -0
- package/lib/services/dedicatedceph.js +960 -0
- package/lib/services/dedicatedceph.js.map +1 -0
- package/lib/services/dedicatednasha.d.ts +755 -0
- package/lib/services/dedicatednasha.d.ts.map +1 -0
- package/lib/services/dedicatednasha.js +965 -0
- package/lib/services/dedicatednasha.js.map +1 -0
- package/lib/services/domain.d.ts +2995 -0
- package/lib/services/domain.d.ts.map +1 -0
- package/lib/services/domain.js +3078 -0
- package/lib/services/domain.js.map +1 -0
- package/lib/services/emaildomain.d.ts +1913 -0
- package/lib/services/emaildomain.d.ts.map +1 -0
- package/lib/services/emaildomain.js +2550 -0
- package/lib/services/emaildomain.js.map +1 -0
- package/lib/services/emailmxplan.d.ts +1012 -0
- package/lib/services/emailmxplan.d.ts.map +1 -0
- package/lib/services/emailmxplan.js +1155 -0
- package/lib/services/emailmxplan.js.map +1 -0
- package/lib/services/emailpro.d.ts +1287 -0
- package/lib/services/emailpro.d.ts.map +1 -0
- package/lib/services/emailpro.js +1471 -0
- package/lib/services/emailpro.js.map +1 -0
- package/lib/services/hostingprivatedatabase.d.ts +1402 -0
- package/lib/services/hostingprivatedatabase.d.ts.map +1 -0
- package/lib/services/hostingprivatedatabase.js +1829 -0
- package/lib/services/hostingprivatedatabase.js.map +1 -0
- package/lib/services/iam.d.ts +829 -0
- package/lib/services/iam.d.ts.map +1 -0
- package/lib/services/iam.js +793 -0
- package/lib/services/iam.js.map +1 -0
- package/lib/services/index.d.ts +31 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +32 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/ip.d.ts +1417 -0
- package/lib/services/ip.d.ts.map +1 -0
- package/lib/services/ip.js +1690 -0
- package/lib/services/ip.js.map +1 -0
- package/lib/services/iploadbalancing.d.ts +3059 -0
- package/lib/services/iploadbalancing.d.ts.map +1 -0
- package/lib/services/iploadbalancing.js +3553 -0
- package/lib/services/iploadbalancing.js.map +1 -0
- package/lib/services/ldp.d.ts +2492 -0
- package/lib/services/ldp.d.ts.map +1 -0
- package/lib/services/ldp.js +3067 -0
- package/lib/services/ldp.js.map +1 -0
- package/lib/services/me.d.ts +7511 -0
- package/lib/services/me.d.ts.map +1 -0
- package/lib/services/me.js +8874 -0
- package/lib/services/me.js.map +1 -0
- package/lib/services/overthebox.d.ts +981 -0
- package/lib/services/overthebox.d.ts.map +1 -0
- package/lib/services/overthebox.js +1122 -0
- package/lib/services/overthebox.js.map +1 -0
- package/lib/services/ovhcloudconnect.d.ts +1123 -0
- package/lib/services/ovhcloudconnect.d.ts.map +1 -0
- package/lib/services/ovhcloudconnect.js +1351 -0
- package/lib/services/ovhcloudconnect.js.map +1 -0
- package/lib/services/packxdsl.d.ts +1583 -0
- package/lib/services/packxdsl.d.ts.map +1 -0
- package/lib/services/packxdsl.js +1787 -0
- package/lib/services/packxdsl.js.map +1 -0
- package/lib/services/sms.d.ts +2602 -0
- package/lib/services/sms.d.ts.map +1 -0
- package/lib/services/sms.js +2995 -0
- package/lib/services/sms.js.map +1 -0
- package/lib/services/sslgateway.d.ts +493 -0
- package/lib/services/sslgateway.d.ts.map +1 -0
- package/lib/services/sslgateway.js +569 -0
- package/lib/services/sslgateway.js.map +1 -0
- package/lib/services/storagenetapp.d.ts +859 -0
- package/lib/services/storagenetapp.d.ts.map +1 -0
- package/lib/services/storagenetapp.js +1020 -0
- package/lib/services/storagenetapp.js.map +1 -0
- package/lib/services/support.d.ts +233 -0
- package/lib/services/support.d.ts.map +1 -0
- package/lib/services/support.js +237 -0
- package/lib/services/support.js.map +1 -0
- package/lib/services/telephony.d.ts +10825 -0
- package/lib/services/telephony.d.ts.map +1 -0
- package/lib/services/telephony.js +14877 -0
- package/lib/services/telephony.js.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts +784 -0
- package/lib/services/vmwareclouddirectorbackup.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectorbackup.js +841 -0
- package/lib/services/vmwareclouddirectorbackup.js.map +1 -0
- package/lib/services/vmwareclouddirectororganization.d.ts +784 -0
- package/lib/services/vmwareclouddirectororganization.d.ts.map +1 -0
- package/lib/services/vmwareclouddirectororganization.js +841 -0
- package/lib/services/vmwareclouddirectororganization.js.map +1 -0
- package/lib/services/vps.d.ts +1579 -0
- package/lib/services/vps.d.ts.map +1 -0
- package/lib/services/vps.js +1914 -0
- package/lib/services/vps.js.map +1 -0
- package/lib/services/vrack.d.ts +1204 -0
- package/lib/services/vrack.d.ts.map +1 -0
- package/lib/services/vrack.js +1627 -0
- package/lib/services/vrack.js.map +1 -0
- package/lib/services/vrackservices.d.ts +394 -0
- package/lib/services/vrackservices.d.ts.map +1 -0
- package/lib/services/vrackservices.js +355 -0
- package/lib/services/vrackservices.js.map +1 -0
- package/lib/services/webhosting.d.ts +3986 -0
- package/lib/services/webhosting.d.ts.map +1 -0
- package/lib/services/webhosting.js +4522 -0
- package/lib/services/webhosting.js.map +1 -0
- package/lib/services/xdsl.d.ts +3433 -0
- package/lib/services/xdsl.d.ts.map +1 -0
- package/lib/services/xdsl.js +3681 -0
- package/lib/services/xdsl.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +77 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +21 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +86 -0
- package/src/retry.ts +54 -0
- package/src/services/baremetal.ts +10949 -0
- package/src/services/cloud.ts +75466 -0
- package/src/services/cloud_v2.ts +14725 -0
- package/src/services/dedicatedceph.ts +2231 -0
- package/src/services/dedicatednasha.ts +2268 -0
- package/src/services/domain.ts +7996 -0
- package/src/services/emaildomain.ts +5751 -0
- package/src/services/emailmxplan.ts +2764 -0
- package/src/services/emailpro.ts +3519 -0
- package/src/services/hostingprivatedatabase.ts +4214 -0
- package/src/services/iam.ts +2060 -0
- package/src/services/index.ts +31 -0
- package/src/services/ip.ts +4461 -0
- package/src/services/iploadbalancing.ts +8421 -0
- package/src/services/ldp.ts +7269 -0
- package/src/services/me.ts +21716 -0
- package/src/services/overthebox.ts +2693 -0
- package/src/services/ovhcloudconnect.ts +3224 -0
- package/src/services/packxdsl.ts +4619 -0
- package/src/services/sms.ts +7255 -0
- package/src/services/sslgateway.ts +1408 -0
- package/src/services/storagenetapp.ts +2431 -0
- package/src/services/support.ts +598 -0
- package/src/services/telephony.ts +32926 -0
- package/src/services/vmwareclouddirectorbackup.ts +2170 -0
- package/src/services/vmwareclouddirectororganization.ts +2170 -0
- package/src/services/vps.ts +5134 -0
- package/src/services/vrack.ts +3730 -0
- package/src/services/vrackservices.ts +939 -0
- package/src/services/webhosting.ts +11285 -0
- package/src/services/xdsl.ts +9277 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,2995 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-ovh). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as Redacted from "effect/Redacted";
|
|
4
|
+
import * as API from "@distilled.cloud/core/api";
|
|
5
|
+
import * as T from "../traits.js";
|
|
6
|
+
import { OvhProtocol, } from "../protocol.js";
|
|
7
|
+
import { UnknownOvhError } from "../errors.js";
|
|
8
|
+
import * as Retry from "../retry.js";
|
|
9
|
+
export const CancelSmsBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
10
|
+
serviceName: S.String.pipe(T.Label()),
|
|
11
|
+
id: S.String.pipe(T.Label()),
|
|
12
|
+
}).pipe(T.Http({
|
|
13
|
+
method: "POST",
|
|
14
|
+
uri: "/sms/{serviceName}/batches/{id}/cancel",
|
|
15
|
+
code: 200,
|
|
16
|
+
}))).annotate({
|
|
17
|
+
identifier: "CancelSmsBatchRequest",
|
|
18
|
+
});
|
|
19
|
+
export const SmsBatchError = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
20
|
+
message: S.optional(S.String),
|
|
21
|
+
receiver: S.optional(S.String),
|
|
22
|
+
})).annotate({ identifier: "SmsBatchError" });
|
|
23
|
+
export const SmsBatchErrorsList = /*@__PURE__*/ S.Array(SmsBatchError);
|
|
24
|
+
export const SmsBatchReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
25
|
+
export const SmsBatchStatusEnum = S.String;
|
|
26
|
+
export const SmsBatch = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
27
|
+
accountID: S.optional(S.Number),
|
|
28
|
+
createdAt: S.optional(S.String),
|
|
29
|
+
errors: S.optional(SmsBatchErrorsList),
|
|
30
|
+
estimatedCredits: S.optional(S.Number),
|
|
31
|
+
finishedAt: S.optional(S.NullOr(S.String)),
|
|
32
|
+
from: S.optional(S.NullOr(S.String)),
|
|
33
|
+
id: S.optional(S.String),
|
|
34
|
+
message: S.optional(S.String),
|
|
35
|
+
name: S.optional(S.String),
|
|
36
|
+
processedRecords: S.optional(S.Number),
|
|
37
|
+
receivers: S.optional(S.NullOr(SmsBatchReceiversList)),
|
|
38
|
+
sentAt: S.optional(S.NullOr(S.String)),
|
|
39
|
+
slotID: S.optional(S.NullOr(S.String)),
|
|
40
|
+
startedAt: S.optional(S.NullOr(S.String)),
|
|
41
|
+
status: S.optional(SmsBatchStatusEnum),
|
|
42
|
+
totalRecords: S.optional(S.Number),
|
|
43
|
+
updatedAt: S.optional(S.String),
|
|
44
|
+
})).annotate({ identifier: "SmsBatch" });
|
|
45
|
+
export const SmsBatchClassEnum = S.String;
|
|
46
|
+
export const CreateSmsBatchRequestToList = /*@__PURE__*/ S.Array(S.String);
|
|
47
|
+
export const CreateSmsBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
48
|
+
serviceName: S.String.pipe(T.Label()),
|
|
49
|
+
class: S.optional(SmsBatchClassEnum),
|
|
50
|
+
deferred: S.optional(S.String),
|
|
51
|
+
from: S.optional(S.String),
|
|
52
|
+
message: S.String,
|
|
53
|
+
name: S.optional(S.String),
|
|
54
|
+
noStop: S.optional(S.Boolean),
|
|
55
|
+
senderForResponse: S.optional(S.Boolean),
|
|
56
|
+
slotID: S.optional(S.String),
|
|
57
|
+
tag: S.optional(S.String),
|
|
58
|
+
to: S.optional(CreateSmsBatchRequestToList),
|
|
59
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/batches", code: 200 }))).annotate({
|
|
60
|
+
identifier: "CreateSmsBatchRequest",
|
|
61
|
+
});
|
|
62
|
+
export const SmsTypeSenderEnum = S.String;
|
|
63
|
+
export const CreateSmsEstimateRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
64
|
+
message: S.String,
|
|
65
|
+
noStopClause: S.Boolean,
|
|
66
|
+
senderType: SmsTypeSenderEnum,
|
|
67
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/estimate", code: 200 }))).annotate({
|
|
68
|
+
identifier: "CreateSmsEstimateRequest",
|
|
69
|
+
});
|
|
70
|
+
export const SmsEncodingEnum = S.String;
|
|
71
|
+
export const SmsJobEstimate = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
72
|
+
characters: S.optional(S.Number),
|
|
73
|
+
charactersClass: S.optional(SmsEncodingEnum),
|
|
74
|
+
maxCharactersPerPart: S.optional(S.Number),
|
|
75
|
+
parts: S.optional(S.Number),
|
|
76
|
+
})).annotate({ identifier: "SmsJobEstimate" });
|
|
77
|
+
export const CreateSmsHlrRequestReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
78
|
+
export const CreateSmsHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
79
|
+
serviceName: S.String.pipe(T.Label()),
|
|
80
|
+
receivers: S.optional(CreateSmsHlrRequestReceiversList),
|
|
81
|
+
receiversDocumentUrl: S.optional(S.String),
|
|
82
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/hlr", code: 200 }))).annotate({
|
|
83
|
+
identifier: "CreateSmsHlrRequest",
|
|
84
|
+
});
|
|
85
|
+
export const SmsSmsSendingReportIdsList = /*@__PURE__*/ S.Array(S.Number);
|
|
86
|
+
export const SmsSmsSendingReportInvalidReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
87
|
+
export const SmsSmsSendingReportValidReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
88
|
+
export const SmsSmsSendingReport = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
89
|
+
ids: S.optional(SmsSmsSendingReportIdsList),
|
|
90
|
+
invalidReceivers: S.optional(SmsSmsSendingReportInvalidReceiversList),
|
|
91
|
+
tag: S.optional(S.String),
|
|
92
|
+
totalCreditsRemoved: S.optional(S.Number),
|
|
93
|
+
validReceivers: S.optional(SmsSmsSendingReportValidReceiversList),
|
|
94
|
+
})).annotate({
|
|
95
|
+
identifier: "SmsSmsSendingReport",
|
|
96
|
+
});
|
|
97
|
+
export const SmsCharsetEnum = S.String;
|
|
98
|
+
export const SmsClassEnum = S.String;
|
|
99
|
+
export const SmsCodingEnum = S.String;
|
|
100
|
+
export const SmsPriorityEnum = S.String;
|
|
101
|
+
export const CreateSmsJobRequestReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
102
|
+
export const CreateSmsJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
103
|
+
serviceName: S.String.pipe(T.Label()),
|
|
104
|
+
charset: S.optional(SmsCharsetEnum),
|
|
105
|
+
class: S.optional(SmsClassEnum),
|
|
106
|
+
coding: S.optional(SmsCodingEnum),
|
|
107
|
+
differedPeriod: S.optional(S.Number),
|
|
108
|
+
message: S.String,
|
|
109
|
+
noStopClause: S.optional(S.Boolean),
|
|
110
|
+
priority: S.optional(SmsPriorityEnum),
|
|
111
|
+
receivers: S.optional(CreateSmsJobRequestReceiversList),
|
|
112
|
+
receiversDocumentUrl: S.optional(S.String),
|
|
113
|
+
receiversSlotId: S.optional(S.String),
|
|
114
|
+
sender: S.optional(S.String),
|
|
115
|
+
senderForResponse: S.optional(S.Boolean),
|
|
116
|
+
tag: S.optional(S.String),
|
|
117
|
+
validityPeriod: S.optional(S.Number),
|
|
118
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/jobs", code: 200 }))).annotate({
|
|
119
|
+
identifier: "CreateSmsJobRequest",
|
|
120
|
+
});
|
|
121
|
+
export const CreateSmsPhonebookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
122
|
+
serviceName: S.String.pipe(T.Label()),
|
|
123
|
+
name: S.String,
|
|
124
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/phonebooks", code: 200 }))).annotate({
|
|
125
|
+
identifier: "CreateSmsPhonebookRequest",
|
|
126
|
+
});
|
|
127
|
+
export const CreateSmsPhonebookResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
128
|
+
identifier: "CreateSmsPhonebookResponse",
|
|
129
|
+
});
|
|
130
|
+
export const CreateSmsPhonebookPhonebookContactRequest =
|
|
131
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
132
|
+
serviceName: S.String.pipe(T.Label()),
|
|
133
|
+
bookKey: S.String.pipe(T.Label()),
|
|
134
|
+
group: S.String,
|
|
135
|
+
homeMobile: S.optional(S.String),
|
|
136
|
+
homePhone: S.optional(S.String),
|
|
137
|
+
name: S.String,
|
|
138
|
+
surname: S.String,
|
|
139
|
+
workMobile: S.optional(S.String),
|
|
140
|
+
workPhone: S.optional(S.String),
|
|
141
|
+
}).pipe(T.Http({
|
|
142
|
+
method: "POST",
|
|
143
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact",
|
|
144
|
+
code: 200,
|
|
145
|
+
}))).annotate({
|
|
146
|
+
identifier: "CreateSmsPhonebookPhonebookContactRequest",
|
|
147
|
+
});
|
|
148
|
+
export const CreateSmsPhonebookPhonebookContactResponse =
|
|
149
|
+
/*@__PURE__*/ S.suspend(() => S.Number.pipe(T.RawResponseRoot())).annotate({
|
|
150
|
+
identifier: "CreateSmsPhonebookPhonebookContactResponse",
|
|
151
|
+
});
|
|
152
|
+
export const CreateSmsReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
153
|
+
serviceName: S.String.pipe(T.Label()),
|
|
154
|
+
autoUpdate: S.Boolean,
|
|
155
|
+
csvUrl: S.optional(S.String),
|
|
156
|
+
description: S.String,
|
|
157
|
+
documentId: S.optional(S.String),
|
|
158
|
+
slotId: S.Number,
|
|
159
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/receivers", code: 200 }))).annotate({
|
|
160
|
+
identifier: "CreateSmsReceiverRequest",
|
|
161
|
+
});
|
|
162
|
+
export const SmsReceiver = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
163
|
+
autoUpdate: S.optional(S.Boolean),
|
|
164
|
+
canAutoUpdate: S.optional(S.Boolean),
|
|
165
|
+
datetime: S.optional(S.String),
|
|
166
|
+
description: S.optional(S.String),
|
|
167
|
+
records: S.optional(S.Number),
|
|
168
|
+
slotId: S.optional(S.Number),
|
|
169
|
+
})).annotate({ identifier: "SmsReceiver" });
|
|
170
|
+
export const CreateSmsReceiverCleanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
171
|
+
serviceName: S.String.pipe(T.Label()),
|
|
172
|
+
slotId: S.Number.pipe(T.Label()),
|
|
173
|
+
freemium: S.Boolean,
|
|
174
|
+
priceOnly: S.Boolean,
|
|
175
|
+
}).pipe(T.Http({
|
|
176
|
+
method: "POST",
|
|
177
|
+
uri: "/sms/{serviceName}/receivers/{slotId}/clean",
|
|
178
|
+
code: 200,
|
|
179
|
+
}))).annotate({
|
|
180
|
+
identifier: "CreateSmsReceiverCleanRequest",
|
|
181
|
+
});
|
|
182
|
+
export const SmsReceiversAsynchronousCleanReport = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
183
|
+
taskId: S.optional(S.Number),
|
|
184
|
+
totalCreditsRemoved: S.optional(S.Number),
|
|
185
|
+
})).annotate({
|
|
186
|
+
identifier: "SmsReceiversAsynchronousCleanReport",
|
|
187
|
+
});
|
|
188
|
+
export const CreateSmsSenderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
189
|
+
serviceName: S.String.pipe(T.Label()),
|
|
190
|
+
description: S.optional(S.String),
|
|
191
|
+
reason: S.optional(S.String),
|
|
192
|
+
sender: S.String,
|
|
193
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/senders", code: 200 }))).annotate({
|
|
194
|
+
identifier: "CreateSmsSenderRequest",
|
|
195
|
+
});
|
|
196
|
+
export const CreateSmsSenderResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
197
|
+
identifier: "CreateSmsSenderResponse",
|
|
198
|
+
});
|
|
199
|
+
export const CreateSmsSenderDocumentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
200
|
+
serviceName: S.String.pipe(T.Label()),
|
|
201
|
+
sender: S.String.pipe(T.Label()),
|
|
202
|
+
description: S.optional(S.String),
|
|
203
|
+
name: S.String,
|
|
204
|
+
}).pipe(T.Http({
|
|
205
|
+
method: "POST",
|
|
206
|
+
uri: "/sms/{serviceName}/senders/{sender}/documents",
|
|
207
|
+
code: 200,
|
|
208
|
+
}))).annotate({
|
|
209
|
+
identifier: "CreateSmsSenderDocumentRequest",
|
|
210
|
+
});
|
|
211
|
+
export const SmsSenderDocument = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
212
|
+
createdAt: S.optional(S.String),
|
|
213
|
+
description: S.optional(S.NullOr(S.String)),
|
|
214
|
+
documentID: S.optional(S.String),
|
|
215
|
+
getUrl: S.optional(S.String),
|
|
216
|
+
name: S.optional(S.String),
|
|
217
|
+
putUrl: S.optional(S.NullOr(S.String)),
|
|
218
|
+
size: S.optional(S.Number),
|
|
219
|
+
})).annotate({
|
|
220
|
+
identifier: "SmsSenderDocument",
|
|
221
|
+
});
|
|
222
|
+
export const CreateSmsSmppPasswordRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
223
|
+
serviceName: S.String.pipe(T.Label()),
|
|
224
|
+
}).pipe(T.Http({
|
|
225
|
+
method: "POST",
|
|
226
|
+
uri: "/sms/{serviceName}/smpp/password",
|
|
227
|
+
code: 200,
|
|
228
|
+
}))).annotate({
|
|
229
|
+
identifier: "CreateSmsSmppPasswordRequest",
|
|
230
|
+
});
|
|
231
|
+
export const CreateSmsSmppPasswordResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
232
|
+
identifier: "CreateSmsSmppPasswordResponse",
|
|
233
|
+
});
|
|
234
|
+
export const SmsTypeTemplateEnum = S.String;
|
|
235
|
+
export const CreateSmsTemplatesControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
236
|
+
serviceName: S.String.pipe(T.Label()),
|
|
237
|
+
activity: SmsTypeTemplateEnum,
|
|
238
|
+
description: S.optional(S.String),
|
|
239
|
+
message: S.String,
|
|
240
|
+
name: S.String,
|
|
241
|
+
reason: S.optional(S.String),
|
|
242
|
+
}).pipe(T.Http({
|
|
243
|
+
method: "POST",
|
|
244
|
+
uri: "/sms/{serviceName}/templatesControl",
|
|
245
|
+
code: 200,
|
|
246
|
+
}))).annotate({
|
|
247
|
+
identifier: "CreateSmsTemplatesControlRequest",
|
|
248
|
+
});
|
|
249
|
+
export const CreateSmsTemplatesControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
250
|
+
identifier: "CreateSmsTemplatesControlResponse",
|
|
251
|
+
});
|
|
252
|
+
export const CreateSmsTemplatesControlRelaunchValidationRequest =
|
|
253
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
254
|
+
serviceName: S.String.pipe(T.Label()),
|
|
255
|
+
name: S.String.pipe(T.Label()),
|
|
256
|
+
description: S.String,
|
|
257
|
+
message: S.String,
|
|
258
|
+
}).pipe(T.Http({
|
|
259
|
+
method: "POST",
|
|
260
|
+
uri: "/sms/{serviceName}/templatesControl/{name}/relaunchValidation",
|
|
261
|
+
code: 200,
|
|
262
|
+
}))).annotate({
|
|
263
|
+
identifier: "CreateSmsTemplatesControlRelaunchValidationRequest",
|
|
264
|
+
});
|
|
265
|
+
export const CreateSmsTemplatesControlRelaunchValidationResponse =
|
|
266
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
267
|
+
identifier: "CreateSmsTemplatesControlRelaunchValidationResponse",
|
|
268
|
+
});
|
|
269
|
+
export const CreateSmsUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
270
|
+
serviceName: S.String.pipe(T.Label()),
|
|
271
|
+
login: S.String,
|
|
272
|
+
password: S.String.pipe(T.SensitiveValue({})),
|
|
273
|
+
}).pipe(T.Http({ method: "POST", uri: "/sms/{serviceName}/users", code: 200 }))).annotate({
|
|
274
|
+
identifier: "CreateSmsUserRequest",
|
|
275
|
+
});
|
|
276
|
+
export const CreateSmsUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
277
|
+
identifier: "CreateSmsUserResponse",
|
|
278
|
+
});
|
|
279
|
+
export const CreateSmsUserJobRequestReceiversList = /*@__PURE__*/ S.Array(S.String);
|
|
280
|
+
export const CreateSmsUserJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
281
|
+
serviceName: S.String.pipe(T.Label()),
|
|
282
|
+
login: S.String.pipe(T.Label()),
|
|
283
|
+
charset: S.optional(SmsCharsetEnum),
|
|
284
|
+
class: S.optional(SmsClassEnum),
|
|
285
|
+
coding: S.optional(SmsCodingEnum),
|
|
286
|
+
differedPeriod: S.optional(S.Number),
|
|
287
|
+
message: S.String,
|
|
288
|
+
noStopClause: S.optional(S.Boolean),
|
|
289
|
+
priority: S.optional(SmsPriorityEnum),
|
|
290
|
+
receivers: S.optional(CreateSmsUserJobRequestReceiversList),
|
|
291
|
+
receiversDocumentUrl: S.optional(S.String),
|
|
292
|
+
receiversSlotId: S.optional(S.String),
|
|
293
|
+
sender: S.optional(S.String),
|
|
294
|
+
senderForResponse: S.optional(S.Boolean),
|
|
295
|
+
tag: S.optional(S.String),
|
|
296
|
+
validityPeriod: S.optional(S.Number),
|
|
297
|
+
}).pipe(T.Http({
|
|
298
|
+
method: "POST",
|
|
299
|
+
uri: "/sms/{serviceName}/users/{login}/jobs",
|
|
300
|
+
code: 200,
|
|
301
|
+
}))).annotate({
|
|
302
|
+
identifier: "CreateSmsUserJobRequest",
|
|
303
|
+
});
|
|
304
|
+
export const CreateSmsUserReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
305
|
+
serviceName: S.String.pipe(T.Label()),
|
|
306
|
+
login: S.String.pipe(T.Label()),
|
|
307
|
+
autoUpdate: S.Boolean,
|
|
308
|
+
csvUrl: S.optional(S.String),
|
|
309
|
+
description: S.String,
|
|
310
|
+
documentId: S.optional(S.String),
|
|
311
|
+
slotId: S.Number,
|
|
312
|
+
}).pipe(T.Http({
|
|
313
|
+
method: "POST",
|
|
314
|
+
uri: "/sms/{serviceName}/users/{login}/receivers",
|
|
315
|
+
code: 200,
|
|
316
|
+
}))).annotate({
|
|
317
|
+
identifier: "CreateSmsUserReceiverRequest",
|
|
318
|
+
});
|
|
319
|
+
export const CreateSmsUserReceiverCleanRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
320
|
+
serviceName: S.String.pipe(T.Label()),
|
|
321
|
+
login: S.String.pipe(T.Label()),
|
|
322
|
+
slotId: S.Number.pipe(T.Label()),
|
|
323
|
+
freemium: S.Boolean,
|
|
324
|
+
priceOnly: S.Boolean,
|
|
325
|
+
}).pipe(T.Http({
|
|
326
|
+
method: "POST",
|
|
327
|
+
uri: "/sms/{serviceName}/users/{login}/receivers/{slotId}/clean",
|
|
328
|
+
code: 200,
|
|
329
|
+
}))).annotate({
|
|
330
|
+
identifier: "CreateSmsUserReceiverCleanRequest",
|
|
331
|
+
});
|
|
332
|
+
export const CreateSmsVirtualNumberChatAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
333
|
+
serviceName: S.String.pipe(T.Label()),
|
|
334
|
+
number: S.String.pipe(T.Label()),
|
|
335
|
+
}).pipe(T.Http({
|
|
336
|
+
method: "POST",
|
|
337
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/chatAccess",
|
|
338
|
+
code: 200,
|
|
339
|
+
}))).annotate({
|
|
340
|
+
identifier: "CreateSmsVirtualNumberChatAccessRequest",
|
|
341
|
+
});
|
|
342
|
+
export const SmsChatAccess = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
343
|
+
creationDate: S.optional(S.String),
|
|
344
|
+
id: S.optional(S.Number),
|
|
345
|
+
url: S.optional(S.String),
|
|
346
|
+
})).annotate({ identifier: "SmsChatAccess" });
|
|
347
|
+
export const CreateSmsVirtualNumberJobRequestReceiversList =
|
|
348
|
+
/*@__PURE__*/ S.Array(S.String);
|
|
349
|
+
export const CreateSmsVirtualNumberJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
350
|
+
serviceName: S.String.pipe(T.Label()),
|
|
351
|
+
number: S.String.pipe(T.Label()),
|
|
352
|
+
charset: S.optional(SmsCharsetEnum),
|
|
353
|
+
class: S.optional(SmsClassEnum),
|
|
354
|
+
coding: S.optional(SmsCodingEnum),
|
|
355
|
+
differedPeriod: S.optional(S.Number),
|
|
356
|
+
message: S.String,
|
|
357
|
+
priority: S.optional(SmsPriorityEnum),
|
|
358
|
+
receivers: S.optional(CreateSmsVirtualNumberJobRequestReceiversList),
|
|
359
|
+
receiversDocumentUrl: S.optional(S.String),
|
|
360
|
+
receiversSlotId: S.optional(S.String),
|
|
361
|
+
tag: S.optional(S.String),
|
|
362
|
+
validityPeriod: S.optional(S.Number),
|
|
363
|
+
}).pipe(T.Http({
|
|
364
|
+
method: "POST",
|
|
365
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/jobs",
|
|
366
|
+
code: 200,
|
|
367
|
+
}))).annotate({
|
|
368
|
+
identifier: "CreateSmsVirtualNumberJobRequest",
|
|
369
|
+
});
|
|
370
|
+
export const DeleteSmsBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
371
|
+
serviceName: S.String.pipe(T.Label()),
|
|
372
|
+
id: S.String.pipe(T.Label()),
|
|
373
|
+
}).pipe(T.Http({
|
|
374
|
+
method: "DELETE",
|
|
375
|
+
uri: "/sms/{serviceName}/batches/{id}",
|
|
376
|
+
code: 200,
|
|
377
|
+
}))).annotate({
|
|
378
|
+
identifier: "DeleteSmsBatchRequest",
|
|
379
|
+
});
|
|
380
|
+
export const DeleteSmsBatchResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
381
|
+
identifier: "DeleteSmsBatchResponse",
|
|
382
|
+
});
|
|
383
|
+
export const DeleteSmsBlacklistRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
384
|
+
serviceName: S.String.pipe(T.Label()),
|
|
385
|
+
number: S.String.pipe(T.Label()),
|
|
386
|
+
}).pipe(T.Http({
|
|
387
|
+
method: "DELETE",
|
|
388
|
+
uri: "/sms/{serviceName}/blacklists/{number}",
|
|
389
|
+
code: 200,
|
|
390
|
+
}))).annotate({
|
|
391
|
+
identifier: "DeleteSmsBlacklistRequest",
|
|
392
|
+
});
|
|
393
|
+
export const DeleteSmsBlacklistResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
394
|
+
identifier: "DeleteSmsBlacklistResponse",
|
|
395
|
+
});
|
|
396
|
+
export const DeleteSmsIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
397
|
+
serviceName: S.String.pipe(T.Label()),
|
|
398
|
+
id: S.Number.pipe(T.Label()),
|
|
399
|
+
}).pipe(T.Http({
|
|
400
|
+
method: "DELETE",
|
|
401
|
+
uri: "/sms/{serviceName}/incoming/{id}",
|
|
402
|
+
code: 200,
|
|
403
|
+
}))).annotate({
|
|
404
|
+
identifier: "DeleteSmsIncomingRequest",
|
|
405
|
+
});
|
|
406
|
+
export const DeleteSmsIncomingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
407
|
+
identifier: "DeleteSmsIncomingResponse",
|
|
408
|
+
});
|
|
409
|
+
export const DeleteSmsJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
410
|
+
serviceName: S.String.pipe(T.Label()),
|
|
411
|
+
id: S.Number.pipe(T.Label()),
|
|
412
|
+
}).pipe(T.Http({
|
|
413
|
+
method: "DELETE",
|
|
414
|
+
uri: "/sms/{serviceName}/jobs/{id}",
|
|
415
|
+
code: 200,
|
|
416
|
+
}))).annotate({
|
|
417
|
+
identifier: "DeleteSmsJobRequest",
|
|
418
|
+
});
|
|
419
|
+
export const DeleteSmsJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
420
|
+
identifier: "DeleteSmsJobResponse",
|
|
421
|
+
});
|
|
422
|
+
export const DeleteSmsOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
423
|
+
serviceName: S.String.pipe(T.Label()),
|
|
424
|
+
id: S.Number.pipe(T.Label()),
|
|
425
|
+
}).pipe(T.Http({
|
|
426
|
+
method: "DELETE",
|
|
427
|
+
uri: "/sms/{serviceName}/outgoing/{id}",
|
|
428
|
+
code: 200,
|
|
429
|
+
}))).annotate({
|
|
430
|
+
identifier: "DeleteSmsOutgoingRequest",
|
|
431
|
+
});
|
|
432
|
+
export const DeleteSmsOutgoingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
433
|
+
identifier: "DeleteSmsOutgoingResponse",
|
|
434
|
+
});
|
|
435
|
+
export const DeleteSmsPhonebookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
436
|
+
serviceName: S.String.pipe(T.Label()),
|
|
437
|
+
bookKey: S.String.pipe(T.Label()),
|
|
438
|
+
}).pipe(T.Http({
|
|
439
|
+
method: "DELETE",
|
|
440
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}",
|
|
441
|
+
code: 200,
|
|
442
|
+
}))).annotate({
|
|
443
|
+
identifier: "DeleteSmsPhonebookRequest",
|
|
444
|
+
});
|
|
445
|
+
export const DeleteSmsPhonebookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
446
|
+
identifier: "DeleteSmsPhonebookResponse",
|
|
447
|
+
});
|
|
448
|
+
export const DeleteSmsPhonebookPhonebookContactRequest =
|
|
449
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
450
|
+
serviceName: S.String.pipe(T.Label()),
|
|
451
|
+
bookKey: S.String.pipe(T.Label()),
|
|
452
|
+
id: S.Number.pipe(T.Label()),
|
|
453
|
+
}).pipe(T.Http({
|
|
454
|
+
method: "DELETE",
|
|
455
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact/{id}",
|
|
456
|
+
code: 200,
|
|
457
|
+
}))).annotate({
|
|
458
|
+
identifier: "DeleteSmsPhonebookPhonebookContactRequest",
|
|
459
|
+
});
|
|
460
|
+
export const DeleteSmsPhonebookPhonebookContactResponse =
|
|
461
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
462
|
+
identifier: "DeleteSmsPhonebookPhonebookContactResponse",
|
|
463
|
+
});
|
|
464
|
+
export const DeleteSmsReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
465
|
+
serviceName: S.String.pipe(T.Label()),
|
|
466
|
+
slotId: S.Number.pipe(T.Label()),
|
|
467
|
+
}).pipe(T.Http({
|
|
468
|
+
method: "DELETE",
|
|
469
|
+
uri: "/sms/{serviceName}/receivers/{slotId}",
|
|
470
|
+
code: 200,
|
|
471
|
+
}))).annotate({
|
|
472
|
+
identifier: "DeleteSmsReceiverRequest",
|
|
473
|
+
});
|
|
474
|
+
export const DeleteSmsReceiverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
475
|
+
identifier: "DeleteSmsReceiverResponse",
|
|
476
|
+
});
|
|
477
|
+
export const DeleteSmsSenderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
478
|
+
serviceName: S.String.pipe(T.Label()),
|
|
479
|
+
sender: S.String.pipe(T.Label()),
|
|
480
|
+
}).pipe(T.Http({
|
|
481
|
+
method: "DELETE",
|
|
482
|
+
uri: "/sms/{serviceName}/senders/{sender}",
|
|
483
|
+
code: 200,
|
|
484
|
+
}))).annotate({
|
|
485
|
+
identifier: "DeleteSmsSenderRequest",
|
|
486
|
+
});
|
|
487
|
+
export const DeleteSmsSenderResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
488
|
+
identifier: "DeleteSmsSenderResponse",
|
|
489
|
+
});
|
|
490
|
+
export const DeleteSmsTemplatesControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
491
|
+
serviceName: S.String.pipe(T.Label()),
|
|
492
|
+
name: S.String.pipe(T.Label()),
|
|
493
|
+
}).pipe(T.Http({
|
|
494
|
+
method: "DELETE",
|
|
495
|
+
uri: "/sms/{serviceName}/templatesControl/{name}",
|
|
496
|
+
code: 200,
|
|
497
|
+
}))).annotate({
|
|
498
|
+
identifier: "DeleteSmsTemplatesControlRequest",
|
|
499
|
+
});
|
|
500
|
+
export const DeleteSmsTemplatesControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
501
|
+
identifier: "DeleteSmsTemplatesControlResponse",
|
|
502
|
+
});
|
|
503
|
+
export const DeleteSmsUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
504
|
+
serviceName: S.String.pipe(T.Label()),
|
|
505
|
+
login: S.String.pipe(T.Label()),
|
|
506
|
+
}).pipe(T.Http({
|
|
507
|
+
method: "DELETE",
|
|
508
|
+
uri: "/sms/{serviceName}/users/{login}",
|
|
509
|
+
code: 200,
|
|
510
|
+
}))).annotate({
|
|
511
|
+
identifier: "DeleteSmsUserRequest",
|
|
512
|
+
});
|
|
513
|
+
export const DeleteSmsUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
514
|
+
identifier: "DeleteSmsUserResponse",
|
|
515
|
+
});
|
|
516
|
+
export const DeleteSmsUserIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
517
|
+
serviceName: S.String.pipe(T.Label()),
|
|
518
|
+
login: S.String.pipe(T.Label()),
|
|
519
|
+
id: S.Number.pipe(T.Label()),
|
|
520
|
+
}).pipe(T.Http({
|
|
521
|
+
method: "DELETE",
|
|
522
|
+
uri: "/sms/{serviceName}/users/{login}/incoming/{id}",
|
|
523
|
+
code: 200,
|
|
524
|
+
}))).annotate({
|
|
525
|
+
identifier: "DeleteSmsUserIncomingRequest",
|
|
526
|
+
});
|
|
527
|
+
export const DeleteSmsUserIncomingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
528
|
+
identifier: "DeleteSmsUserIncomingResponse",
|
|
529
|
+
});
|
|
530
|
+
export const DeleteSmsUserJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
531
|
+
serviceName: S.String.pipe(T.Label()),
|
|
532
|
+
login: S.String.pipe(T.Label()),
|
|
533
|
+
id: S.Number.pipe(T.Label()),
|
|
534
|
+
}).pipe(T.Http({
|
|
535
|
+
method: "DELETE",
|
|
536
|
+
uri: "/sms/{serviceName}/users/{login}/jobs/{id}",
|
|
537
|
+
code: 200,
|
|
538
|
+
}))).annotate({
|
|
539
|
+
identifier: "DeleteSmsUserJobRequest",
|
|
540
|
+
});
|
|
541
|
+
export const DeleteSmsUserJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
542
|
+
identifier: "DeleteSmsUserJobResponse",
|
|
543
|
+
});
|
|
544
|
+
export const DeleteSmsUserOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
545
|
+
serviceName: S.String.pipe(T.Label()),
|
|
546
|
+
login: S.String.pipe(T.Label()),
|
|
547
|
+
id: S.Number.pipe(T.Label()),
|
|
548
|
+
}).pipe(T.Http({
|
|
549
|
+
method: "DELETE",
|
|
550
|
+
uri: "/sms/{serviceName}/users/{login}/outgoing/{id}",
|
|
551
|
+
code: 200,
|
|
552
|
+
}))).annotate({
|
|
553
|
+
identifier: "DeleteSmsUserOutgoingRequest",
|
|
554
|
+
});
|
|
555
|
+
export const DeleteSmsUserOutgoingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
556
|
+
identifier: "DeleteSmsUserOutgoingResponse",
|
|
557
|
+
});
|
|
558
|
+
export const DeleteSmsUserReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
559
|
+
serviceName: S.String.pipe(T.Label()),
|
|
560
|
+
login: S.String.pipe(T.Label()),
|
|
561
|
+
slotId: S.Number.pipe(T.Label()),
|
|
562
|
+
}).pipe(T.Http({
|
|
563
|
+
method: "DELETE",
|
|
564
|
+
uri: "/sms/{serviceName}/users/{login}/receivers/{slotId}",
|
|
565
|
+
code: 200,
|
|
566
|
+
}))).annotate({
|
|
567
|
+
identifier: "DeleteSmsUserReceiverRequest",
|
|
568
|
+
});
|
|
569
|
+
export const DeleteSmsUserReceiverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
570
|
+
identifier: "DeleteSmsUserReceiverResponse",
|
|
571
|
+
});
|
|
572
|
+
export const DeleteSmsVirtualNumberChatAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
573
|
+
serviceName: S.String.pipe(T.Label()),
|
|
574
|
+
number: S.String.pipe(T.Label()),
|
|
575
|
+
}).pipe(T.Http({
|
|
576
|
+
method: "DELETE",
|
|
577
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/chatAccess",
|
|
578
|
+
code: 200,
|
|
579
|
+
}))).annotate({
|
|
580
|
+
identifier: "DeleteSmsVirtualNumberChatAccessRequest",
|
|
581
|
+
});
|
|
582
|
+
export const DeleteSmsVirtualNumberChatAccessResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
583
|
+
identifier: "DeleteSmsVirtualNumberChatAccessResponse",
|
|
584
|
+
});
|
|
585
|
+
export const DeleteSmsVirtualNumberIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
586
|
+
serviceName: S.String.pipe(T.Label()),
|
|
587
|
+
number: S.String.pipe(T.Label()),
|
|
588
|
+
id: S.Number.pipe(T.Label()),
|
|
589
|
+
}).pipe(T.Http({
|
|
590
|
+
method: "DELETE",
|
|
591
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/incoming/{id}",
|
|
592
|
+
code: 200,
|
|
593
|
+
}))).annotate({
|
|
594
|
+
identifier: "DeleteSmsVirtualNumberIncomingRequest",
|
|
595
|
+
});
|
|
596
|
+
export const DeleteSmsVirtualNumberIncomingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
597
|
+
identifier: "DeleteSmsVirtualNumberIncomingResponse",
|
|
598
|
+
});
|
|
599
|
+
export const DeleteSmsVirtualNumberJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
600
|
+
serviceName: S.String.pipe(T.Label()),
|
|
601
|
+
number: S.String.pipe(T.Label()),
|
|
602
|
+
id: S.Number.pipe(T.Label()),
|
|
603
|
+
}).pipe(T.Http({
|
|
604
|
+
method: "DELETE",
|
|
605
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/jobs/{id}",
|
|
606
|
+
code: 200,
|
|
607
|
+
}))).annotate({
|
|
608
|
+
identifier: "DeleteSmsVirtualNumberJobRequest",
|
|
609
|
+
});
|
|
610
|
+
export const DeleteSmsVirtualNumberJobResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
611
|
+
identifier: "DeleteSmsVirtualNumberJobResponse",
|
|
612
|
+
});
|
|
613
|
+
export const DeleteSmsVirtualNumberOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
614
|
+
serviceName: S.String.pipe(T.Label()),
|
|
615
|
+
number: S.String.pipe(T.Label()),
|
|
616
|
+
id: S.Number.pipe(T.Label()),
|
|
617
|
+
}).pipe(T.Http({
|
|
618
|
+
method: "DELETE",
|
|
619
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/outgoing/{id}",
|
|
620
|
+
code: 200,
|
|
621
|
+
}))).annotate({
|
|
622
|
+
identifier: "DeleteSmsVirtualNumberOutgoingRequest",
|
|
623
|
+
});
|
|
624
|
+
export const DeleteSmsVirtualNumberOutgoingResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
625
|
+
identifier: "DeleteSmsVirtualNumberOutgoingResponse",
|
|
626
|
+
});
|
|
627
|
+
export const GetSmsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
628
|
+
serviceName: S.String.pipe(T.Label()),
|
|
629
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}", code: 200 }))).annotate({ identifier: "GetSmsRequest" });
|
|
630
|
+
export const SmsPackQuantityAutomaticRecreditEnum = S.Number;
|
|
631
|
+
export const SmsChannelEnum = S.String;
|
|
632
|
+
export const IamResourceMetadataTagsMap = /*@__PURE__*/ S.Record(S.String, S.String);
|
|
633
|
+
export const IamResourceMetadata = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
634
|
+
displayName: S.optional(S.NullOr(S.String)),
|
|
635
|
+
id: S.optional(S.String),
|
|
636
|
+
tags: S.optional(S.NullOr(IamResourceMetadataTagsMap)),
|
|
637
|
+
urn: S.optional(S.String),
|
|
638
|
+
})).annotate({
|
|
639
|
+
identifier: "IamResourceMetadata",
|
|
640
|
+
});
|
|
641
|
+
export const SmsResponseTypeEnum = S.String;
|
|
642
|
+
export const SmsResponseTrackingMediaEnum = S.String;
|
|
643
|
+
export const SmsResponseTrackingOptions = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
644
|
+
media: S.optional(SmsResponseTrackingMediaEnum),
|
|
645
|
+
sender: S.optional(S.String),
|
|
646
|
+
target: S.optional(S.String),
|
|
647
|
+
})).annotate({
|
|
648
|
+
identifier: "SmsResponseTrackingOptions",
|
|
649
|
+
});
|
|
650
|
+
export const SmsResponseTrackingOptionsList = /*@__PURE__*/ S.Array(SmsResponseTrackingOptions);
|
|
651
|
+
export const SmsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
652
|
+
cgiUrl: S.optional(S.NullOr(S.String)),
|
|
653
|
+
responseType: S.optional(SmsResponseTypeEnum),
|
|
654
|
+
text: S.optional(S.NullOr(S.String)),
|
|
655
|
+
trackingDefaultSmsSender: S.optional(S.NullOr(S.String)),
|
|
656
|
+
trackingOptions: S.optional(S.NullOr(SmsResponseTrackingOptionsList)),
|
|
657
|
+
})).annotate({ identifier: "SmsResponse" });
|
|
658
|
+
export const SmsStatusAccountEnum = S.String;
|
|
659
|
+
export const SmsTemplates = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
660
|
+
customizedEmailMode: S.optional(S.Boolean),
|
|
661
|
+
customizedSmsMode: S.optional(S.Boolean),
|
|
662
|
+
emailBody: S.optional(S.NullOr(S.String)),
|
|
663
|
+
emailFrom: S.optional(S.NullOr(S.String)),
|
|
664
|
+
emailSubject: S.optional(S.NullOr(S.String)),
|
|
665
|
+
smsBody: S.optional(S.NullOr(S.String)),
|
|
666
|
+
time2chatAutomaticResponse: S.optional(S.NullOr(S.String)),
|
|
667
|
+
})).annotate({ identifier: "SmsTemplates" });
|
|
668
|
+
export const SmsAccountWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
669
|
+
automaticRecreditAmount: S.optional(S.NullOr(SmsPackQuantityAutomaticRecreditEnum)),
|
|
670
|
+
callBack: S.optional(S.NullOr(S.String)),
|
|
671
|
+
channel: S.optional(SmsChannelEnum),
|
|
672
|
+
creditThresholdForAutomaticRecredit: S.optional(S.Number),
|
|
673
|
+
creditsHoldByQuota: S.optional(S.Number),
|
|
674
|
+
creditsLeft: S.optional(S.Number),
|
|
675
|
+
description: S.optional(S.String),
|
|
676
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
677
|
+
name: S.optional(S.String),
|
|
678
|
+
smpp: S.optional(S.Boolean),
|
|
679
|
+
smsResponse: S.optional(SmsResponse),
|
|
680
|
+
status: S.optional(SmsStatusAccountEnum),
|
|
681
|
+
stopCallBack: S.optional(S.NullOr(S.String)),
|
|
682
|
+
templates: S.optional(SmsTemplates),
|
|
683
|
+
userQuantityWithQuota: S.optional(S.Number),
|
|
684
|
+
})).annotate({
|
|
685
|
+
identifier: "SmsAccountWithIAM",
|
|
686
|
+
});
|
|
687
|
+
export const GetSmsBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
688
|
+
serviceName: S.String.pipe(T.Label()),
|
|
689
|
+
id: S.String.pipe(T.Label()),
|
|
690
|
+
}).pipe(T.Http({
|
|
691
|
+
method: "GET",
|
|
692
|
+
uri: "/sms/{serviceName}/batches/{id}",
|
|
693
|
+
code: 200,
|
|
694
|
+
}))).annotate({
|
|
695
|
+
identifier: "GetSmsBatchRequest",
|
|
696
|
+
});
|
|
697
|
+
export const GetSmsBatchStatisticsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
698
|
+
serviceName: S.String.pipe(T.Label()),
|
|
699
|
+
id: S.String.pipe(T.Label()),
|
|
700
|
+
}).pipe(T.Http({
|
|
701
|
+
method: "GET",
|
|
702
|
+
uri: "/sms/{serviceName}/batches/{id}/statistics",
|
|
703
|
+
code: 200,
|
|
704
|
+
}))).annotate({
|
|
705
|
+
identifier: "GetSmsBatchStatisticsRequest",
|
|
706
|
+
});
|
|
707
|
+
export const SmsBatchStatistics = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
708
|
+
credits: S.optional(S.Number),
|
|
709
|
+
delivered: S.optional(S.Number),
|
|
710
|
+
estimatedCredits: S.optional(S.Number),
|
|
711
|
+
failed: S.optional(S.Number),
|
|
712
|
+
id: S.optional(S.String),
|
|
713
|
+
pending: S.optional(S.Number),
|
|
714
|
+
sent: S.optional(S.Number),
|
|
715
|
+
stoplisted: S.optional(S.Number),
|
|
716
|
+
})).annotate({
|
|
717
|
+
identifier: "SmsBatchStatistics",
|
|
718
|
+
});
|
|
719
|
+
export const GetSmsBlacklistRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
720
|
+
serviceName: S.String.pipe(T.Label()),
|
|
721
|
+
number: S.String.pipe(T.Label()),
|
|
722
|
+
}).pipe(T.Http({
|
|
723
|
+
method: "GET",
|
|
724
|
+
uri: "/sms/{serviceName}/blacklists/{number}",
|
|
725
|
+
code: 200,
|
|
726
|
+
}))).annotate({
|
|
727
|
+
identifier: "GetSmsBlacklistRequest",
|
|
728
|
+
});
|
|
729
|
+
export const SmsBlacklist = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
730
|
+
batchID: S.optional(S.NullOr(S.String)),
|
|
731
|
+
dateCreation: S.optional(S.String),
|
|
732
|
+
number: S.optional(S.String),
|
|
733
|
+
smsOutgoingID: S.optional(S.NullOr(S.Number)),
|
|
734
|
+
})).annotate({ identifier: "SmsBlacklist" });
|
|
735
|
+
export const SmsDocumentWayTypeEnum = S.String;
|
|
736
|
+
export const GetSmsDocumentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
737
|
+
serviceName: S.String.pipe(T.Label()),
|
|
738
|
+
batchID: S.optional(S.String.pipe(T.Query())),
|
|
739
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
740
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
741
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
742
|
+
wayType: SmsDocumentWayTypeEnum.pipe(T.Query()),
|
|
743
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/document", code: 200 }))).annotate({
|
|
744
|
+
identifier: "GetSmsDocumentRequest",
|
|
745
|
+
});
|
|
746
|
+
export const GetSmsDocumentResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
747
|
+
identifier: "GetSmsDocumentResponse",
|
|
748
|
+
});
|
|
749
|
+
export const GetSmsHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
750
|
+
serviceName: S.String.pipe(T.Label()),
|
|
751
|
+
id: S.Number.pipe(T.Label()),
|
|
752
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/hlr/{id}", code: 200 }))).annotate({
|
|
753
|
+
identifier: "GetSmsHlrRequest",
|
|
754
|
+
});
|
|
755
|
+
export const SmsHlrStatuses = S.String;
|
|
756
|
+
export const SmsHlrLookupNumber = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
757
|
+
datetime: S.optional(S.String),
|
|
758
|
+
id: S.optional(S.Number),
|
|
759
|
+
msisdn: S.optional(S.String),
|
|
760
|
+
operatorCode: S.optional(S.String),
|
|
761
|
+
ported: S.optional(S.Boolean),
|
|
762
|
+
reachable: S.optional(S.Boolean),
|
|
763
|
+
roaming: S.optional(S.Boolean),
|
|
764
|
+
status: S.optional(SmsHlrStatuses),
|
|
765
|
+
valid: S.optional(S.Boolean),
|
|
766
|
+
})).annotate({
|
|
767
|
+
identifier: "SmsHlrLookupNumber",
|
|
768
|
+
});
|
|
769
|
+
export const GetSmsHlrOperatorRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
770
|
+
serviceName: S.String.pipe(T.Label()),
|
|
771
|
+
id: S.Number.pipe(T.Label()),
|
|
772
|
+
}).pipe(T.Http({
|
|
773
|
+
method: "GET",
|
|
774
|
+
uri: "/sms/{serviceName}/hlr/{id}/operator",
|
|
775
|
+
code: 200,
|
|
776
|
+
}))).annotate({
|
|
777
|
+
identifier: "GetSmsHlrOperatorRequest",
|
|
778
|
+
});
|
|
779
|
+
export const SmsHlr = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
780
|
+
country: S.optional(S.String),
|
|
781
|
+
countryCode: S.optional(S.String),
|
|
782
|
+
network: S.optional(S.String),
|
|
783
|
+
operator: S.optional(S.String),
|
|
784
|
+
region: S.optional(S.String),
|
|
785
|
+
})).annotate({ identifier: "SmsHlr" });
|
|
786
|
+
export const GetSmsIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
787
|
+
serviceName: S.String.pipe(T.Label()),
|
|
788
|
+
id: S.Number.pipe(T.Label()),
|
|
789
|
+
}).pipe(T.Http({
|
|
790
|
+
method: "GET",
|
|
791
|
+
uri: "/sms/{serviceName}/incoming/{id}",
|
|
792
|
+
code: 200,
|
|
793
|
+
}))).annotate({
|
|
794
|
+
identifier: "GetSmsIncomingRequest",
|
|
795
|
+
});
|
|
796
|
+
export const SmsIncoming = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
797
|
+
creationDatetime: S.optional(S.String),
|
|
798
|
+
credits: S.optional(S.Number),
|
|
799
|
+
id: S.optional(S.Number),
|
|
800
|
+
message: S.optional(S.String),
|
|
801
|
+
sender: S.optional(S.String),
|
|
802
|
+
tag: S.optional(S.String),
|
|
803
|
+
})).annotate({ identifier: "SmsIncoming" });
|
|
804
|
+
export const GetSmsJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
805
|
+
serviceName: S.String.pipe(T.Label()),
|
|
806
|
+
id: S.Number.pipe(T.Label()),
|
|
807
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/jobs/{id}", code: 200 }))).annotate({
|
|
808
|
+
identifier: "GetSmsJobRequest",
|
|
809
|
+
});
|
|
810
|
+
export const SmsJob = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
811
|
+
creationDatetime: S.optional(S.String),
|
|
812
|
+
credits: S.optional(S.Number),
|
|
813
|
+
deliveredAt: S.optional(S.NullOr(S.String)),
|
|
814
|
+
deliveryReceipt: S.optional(S.Number),
|
|
815
|
+
differedDelivery: S.optional(S.Number),
|
|
816
|
+
id: S.optional(S.Number),
|
|
817
|
+
message: S.optional(S.String),
|
|
818
|
+
messageLength: S.optional(S.Number),
|
|
819
|
+
numberOfSms: S.optional(S.Number),
|
|
820
|
+
ptt: S.optional(S.Number),
|
|
821
|
+
receiver: S.optional(S.String),
|
|
822
|
+
sender: S.optional(S.String),
|
|
823
|
+
sentAt: S.optional(S.NullOr(S.String)),
|
|
824
|
+
})).annotate({ identifier: "SmsJob" });
|
|
825
|
+
export const GetSmsOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
826
|
+
serviceName: S.String.pipe(T.Label()),
|
|
827
|
+
id: S.Number.pipe(T.Label()),
|
|
828
|
+
}).pipe(T.Http({
|
|
829
|
+
method: "GET",
|
|
830
|
+
uri: "/sms/{serviceName}/outgoing/{id}",
|
|
831
|
+
code: 200,
|
|
832
|
+
}))).annotate({
|
|
833
|
+
identifier: "GetSmsOutgoingRequest",
|
|
834
|
+
});
|
|
835
|
+
export const SmsOutgoing = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
836
|
+
batchID: S.optional(S.NullOr(S.String)),
|
|
837
|
+
creationDatetime: S.optional(S.String),
|
|
838
|
+
credits: S.optional(S.Number),
|
|
839
|
+
deliveredAt: S.optional(S.NullOr(S.String)),
|
|
840
|
+
deliveryReceipt: S.optional(S.Number),
|
|
841
|
+
differedDelivery: S.optional(S.Number),
|
|
842
|
+
id: S.optional(S.Number),
|
|
843
|
+
message: S.optional(S.String),
|
|
844
|
+
messageID: S.optional(S.NullOr(S.String)),
|
|
845
|
+
messageLength: S.optional(S.Number),
|
|
846
|
+
numberOfSms: S.optional(S.Number),
|
|
847
|
+
ptt: S.optional(S.Number),
|
|
848
|
+
receiver: S.optional(S.String),
|
|
849
|
+
sender: S.optional(S.String),
|
|
850
|
+
sentAt: S.optional(S.NullOr(S.String)),
|
|
851
|
+
tag: S.optional(S.String),
|
|
852
|
+
tariffCode: S.optional(S.String),
|
|
853
|
+
})).annotate({ identifier: "SmsOutgoing" });
|
|
854
|
+
export const GetSmsOutgoingHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
855
|
+
serviceName: S.String.pipe(T.Label()),
|
|
856
|
+
id: S.Number.pipe(T.Label()),
|
|
857
|
+
}).pipe(T.Http({
|
|
858
|
+
method: "GET",
|
|
859
|
+
uri: "/sms/{serviceName}/outgoing/{id}/hlr",
|
|
860
|
+
code: 200,
|
|
861
|
+
}))).annotate({
|
|
862
|
+
identifier: "GetSmsOutgoingHlrRequest",
|
|
863
|
+
});
|
|
864
|
+
export const GetSmsPhonebookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
865
|
+
serviceName: S.String.pipe(T.Label()),
|
|
866
|
+
bookKey: S.String.pipe(T.Label()),
|
|
867
|
+
}).pipe(T.Http({
|
|
868
|
+
method: "GET",
|
|
869
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}",
|
|
870
|
+
code: 200,
|
|
871
|
+
}))).annotate({
|
|
872
|
+
identifier: "GetSmsPhonebookRequest",
|
|
873
|
+
});
|
|
874
|
+
export const SmsPhonebook = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
875
|
+
bookKey: S.optional(S.String),
|
|
876
|
+
name: S.optional(S.String),
|
|
877
|
+
phoneKey: S.optional(S.String),
|
|
878
|
+
})).annotate({ identifier: "SmsPhonebook" });
|
|
879
|
+
export const TelephonyContactsExportFormatsEnum = S.String;
|
|
880
|
+
export const GetSmsPhonebookExportRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
881
|
+
serviceName: S.String.pipe(T.Label()),
|
|
882
|
+
bookKey: S.String.pipe(T.Label()),
|
|
883
|
+
format: TelephonyContactsExportFormatsEnum.pipe(T.Query()),
|
|
884
|
+
}).pipe(T.Http({
|
|
885
|
+
method: "GET",
|
|
886
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/export",
|
|
887
|
+
code: 200,
|
|
888
|
+
}))).annotate({
|
|
889
|
+
identifier: "GetSmsPhonebookExportRequest",
|
|
890
|
+
});
|
|
891
|
+
export const TelephonyPcsFileStatusEnum = S.String;
|
|
892
|
+
export const TelephonyPcsFile = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
893
|
+
filename: S.optional(S.String),
|
|
894
|
+
status: S.optional(TelephonyPcsFileStatusEnum),
|
|
895
|
+
url: S.optional(S.String),
|
|
896
|
+
urlExpirationDatetime: S.optional(S.String),
|
|
897
|
+
})).annotate({
|
|
898
|
+
identifier: "TelephonyPcsFile",
|
|
899
|
+
});
|
|
900
|
+
export const GetSmsPhonebookPhonebookContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
901
|
+
serviceName: S.String.pipe(T.Label()),
|
|
902
|
+
bookKey: S.String.pipe(T.Label()),
|
|
903
|
+
id: S.Number.pipe(T.Label()),
|
|
904
|
+
}).pipe(T.Http({
|
|
905
|
+
method: "GET",
|
|
906
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact/{id}",
|
|
907
|
+
code: 200,
|
|
908
|
+
}))).annotate({
|
|
909
|
+
identifier: "GetSmsPhonebookPhonebookContactRequest",
|
|
910
|
+
});
|
|
911
|
+
export const SmsPhonebookContact = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
912
|
+
group: S.optional(S.String),
|
|
913
|
+
homeMobile: S.optional(S.NullOr(S.String)),
|
|
914
|
+
homePhone: S.optional(S.NullOr(S.String)),
|
|
915
|
+
id: S.optional(S.Number),
|
|
916
|
+
name: S.optional(S.String),
|
|
917
|
+
surname: S.optional(S.String),
|
|
918
|
+
workMobile: S.optional(S.NullOr(S.String)),
|
|
919
|
+
workPhone: S.optional(S.NullOr(S.String)),
|
|
920
|
+
})).annotate({
|
|
921
|
+
identifier: "SmsPhonebookContact",
|
|
922
|
+
});
|
|
923
|
+
export const GetSmsPttsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
924
|
+
ptt: S.Number.pipe(T.Query()),
|
|
925
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/ptts", code: 200 }))).annotate({
|
|
926
|
+
identifier: "GetSmsPttsRequest",
|
|
927
|
+
});
|
|
928
|
+
export const SmsPttDurationTypeEnum = S.String;
|
|
929
|
+
export const SmsPttDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
930
|
+
comment: S.optional(S.String),
|
|
931
|
+
description: S.optional(S.String),
|
|
932
|
+
duration: S.optional(SmsPttDurationTypeEnum),
|
|
933
|
+
})).annotate({ identifier: "SmsPttDetails" });
|
|
934
|
+
export const SmsBillingCountryEnum = S.String;
|
|
935
|
+
export const SmsCountryEnum = S.String;
|
|
936
|
+
export const GetSmsRateDestinationsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
937
|
+
billingCountry: S.optional(SmsBillingCountryEnum.pipe(T.Query())),
|
|
938
|
+
country: SmsCountryEnum.pipe(T.Query()),
|
|
939
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/rates/destinations", code: 200 }))).annotate({
|
|
940
|
+
identifier: "GetSmsRateDestinationsRequest",
|
|
941
|
+
});
|
|
942
|
+
export const OrderCurrencyCodeEnum = S.String;
|
|
943
|
+
export const OrderPrice = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
944
|
+
currencyCode: S.optional(OrderCurrencyCodeEnum),
|
|
945
|
+
text: S.optional(S.String),
|
|
946
|
+
value: S.optional(S.Number),
|
|
947
|
+
})).annotate({ identifier: "OrderPrice" });
|
|
948
|
+
export const SmsDestinationRates = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
949
|
+
country: S.optional(S.String),
|
|
950
|
+
countryCode: S.optional(SmsCountryEnum),
|
|
951
|
+
credit: S.optional(S.Number),
|
|
952
|
+
price: S.optional(OrderPrice),
|
|
953
|
+
})).annotate({
|
|
954
|
+
identifier: "SmsDestinationRates",
|
|
955
|
+
});
|
|
956
|
+
export const GetSmsReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
957
|
+
serviceName: S.String.pipe(T.Label()),
|
|
958
|
+
slotId: S.Number.pipe(T.Label()),
|
|
959
|
+
}).pipe(T.Http({
|
|
960
|
+
method: "GET",
|
|
961
|
+
uri: "/sms/{serviceName}/receivers/{slotId}",
|
|
962
|
+
code: 200,
|
|
963
|
+
}))).annotate({
|
|
964
|
+
identifier: "GetSmsReceiverRequest",
|
|
965
|
+
});
|
|
966
|
+
export const GetSmsReceiverCsvRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
967
|
+
serviceName: S.String.pipe(T.Label()),
|
|
968
|
+
slotId: S.Number.pipe(T.Label()),
|
|
969
|
+
}).pipe(T.Http({
|
|
970
|
+
method: "GET",
|
|
971
|
+
uri: "/sms/{serviceName}/receivers/{slotId}/csv",
|
|
972
|
+
code: 200,
|
|
973
|
+
}))).annotate({
|
|
974
|
+
identifier: "GetSmsReceiverCsvRequest",
|
|
975
|
+
});
|
|
976
|
+
export const GetSmsReceiverCsvResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
977
|
+
identifier: "GetSmsReceiverCsvResponse",
|
|
978
|
+
});
|
|
979
|
+
export const GetSmsSenderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
980
|
+
serviceName: S.String.pipe(T.Label()),
|
|
981
|
+
sender: S.String.pipe(T.Label()),
|
|
982
|
+
}).pipe(T.Http({
|
|
983
|
+
method: "GET",
|
|
984
|
+
uri: "/sms/{serviceName}/senders/{sender}",
|
|
985
|
+
code: 200,
|
|
986
|
+
}))).annotate({
|
|
987
|
+
identifier: "GetSmsSenderRequest",
|
|
988
|
+
});
|
|
989
|
+
export const SmsRefererSenderEnum = S.String;
|
|
990
|
+
export const SmsStatusSenderEnum = S.String;
|
|
991
|
+
export const SmsSender = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
992
|
+
comment: S.optional(S.NullOr(S.String)),
|
|
993
|
+
description: S.optional(S.String),
|
|
994
|
+
referer: S.optional(SmsRefererSenderEnum),
|
|
995
|
+
sender: S.optional(S.String),
|
|
996
|
+
status: S.optional(SmsStatusSenderEnum),
|
|
997
|
+
type: S.optional(S.NullOr(SmsTypeSenderEnum)),
|
|
998
|
+
validationMedia: S.optional(S.NullOr(S.String)),
|
|
999
|
+
})).annotate({ identifier: "SmsSender" });
|
|
1000
|
+
export const GetSmsSenderDocumentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1001
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1002
|
+
sender: S.String.pipe(T.Label()),
|
|
1003
|
+
documentID: S.String.pipe(T.Label()),
|
|
1004
|
+
}).pipe(T.Http({
|
|
1005
|
+
method: "GET",
|
|
1006
|
+
uri: "/sms/{serviceName}/senders/{sender}/documents/{documentID}",
|
|
1007
|
+
code: 200,
|
|
1008
|
+
}))).annotate({
|
|
1009
|
+
identifier: "GetSmsSenderDocumentRequest",
|
|
1010
|
+
});
|
|
1011
|
+
export const GetSmsServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1012
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1013
|
+
}).pipe(T.Http({
|
|
1014
|
+
method: "GET",
|
|
1015
|
+
uri: "/sms/{serviceName}/serviceInfos",
|
|
1016
|
+
code: 200,
|
|
1017
|
+
}))).annotate({
|
|
1018
|
+
identifier: "GetSmsServiceInfosRequest",
|
|
1019
|
+
});
|
|
1020
|
+
export const ServicesServicePossibleRenewPeriodList = /*@__PURE__*/ S.Array(S.Number);
|
|
1021
|
+
export const ServiceRenewType = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1022
|
+
automatic: S.optional(S.Boolean),
|
|
1023
|
+
deleteAtExpiration: S.optional(S.Boolean),
|
|
1024
|
+
forced: S.optional(S.Boolean),
|
|
1025
|
+
manualPayment: S.optional(S.NullOr(S.Boolean)),
|
|
1026
|
+
period: S.optional(S.NullOr(S.Number)),
|
|
1027
|
+
})).annotate({
|
|
1028
|
+
identifier: "ServiceRenewType",
|
|
1029
|
+
});
|
|
1030
|
+
export const ServiceRenewalTypeEnum = S.String;
|
|
1031
|
+
export const ServiceStateEnum = S.String;
|
|
1032
|
+
export const ServicesService = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1033
|
+
canDeleteAtExpiration: S.optional(S.Boolean),
|
|
1034
|
+
contactAdmin: S.optional(S.String),
|
|
1035
|
+
contactBilling: S.optional(S.String),
|
|
1036
|
+
contactTech: S.optional(S.String),
|
|
1037
|
+
creation: S.optional(S.String),
|
|
1038
|
+
domain: S.optional(S.String),
|
|
1039
|
+
engagedUpTo: S.optional(S.NullOr(S.String)),
|
|
1040
|
+
expiration: S.optional(S.String),
|
|
1041
|
+
possibleRenewPeriod: S.optional(S.NullOr(ServicesServicePossibleRenewPeriodList)),
|
|
1042
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1043
|
+
renewalType: S.optional(ServiceRenewalTypeEnum),
|
|
1044
|
+
serviceId: S.optional(S.Number),
|
|
1045
|
+
status: S.optional(ServiceStateEnum),
|
|
1046
|
+
})).annotate({
|
|
1047
|
+
identifier: "ServicesService",
|
|
1048
|
+
});
|
|
1049
|
+
export const GetSmsSmppSettingsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1050
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1051
|
+
}).pipe(T.Http({
|
|
1052
|
+
method: "GET",
|
|
1053
|
+
uri: "/sms/{serviceName}/smpp/settings",
|
|
1054
|
+
code: 200,
|
|
1055
|
+
}))).annotate({
|
|
1056
|
+
identifier: "GetSmsSmppSettingsRequest",
|
|
1057
|
+
});
|
|
1058
|
+
export const SmsSettingsEndpoints = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1059
|
+
secured: S.optional(S.String),
|
|
1060
|
+
unsecured: S.optional(S.String),
|
|
1061
|
+
})).annotate({
|
|
1062
|
+
identifier: "SmsSettingsEndpoints",
|
|
1063
|
+
});
|
|
1064
|
+
export const SmsSettingsEndpointsList = /*@__PURE__*/ S.Array(SmsSettingsEndpoints);
|
|
1065
|
+
export const SmsSettingsStatusEnum = S.String;
|
|
1066
|
+
export const SmsSettings = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1067
|
+
endpoints: S.optional(SmsSettingsEndpointsList),
|
|
1068
|
+
status: S.optional(SmsSettingsStatusEnum),
|
|
1069
|
+
systemID: S.optional(S.String),
|
|
1070
|
+
throughput: S.optional(S.Number),
|
|
1071
|
+
windowing: S.optional(S.Number),
|
|
1072
|
+
})).annotate({ identifier: "SmsSettings" });
|
|
1073
|
+
export const GetSmsTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1074
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1075
|
+
taskId: S.Number.pipe(T.Label()),
|
|
1076
|
+
}).pipe(T.Http({
|
|
1077
|
+
method: "GET",
|
|
1078
|
+
uri: "/sms/{serviceName}/task/{taskId}",
|
|
1079
|
+
code: 200,
|
|
1080
|
+
}))).annotate({
|
|
1081
|
+
identifier: "GetSmsTaskRequest",
|
|
1082
|
+
});
|
|
1083
|
+
export const SmsTodoGeneralPublicFunctionsEnum = S.String;
|
|
1084
|
+
export const TelephonyTaskStatusEnum = S.String;
|
|
1085
|
+
export const SmsTodoGeneralPublicStepsEnum = S.String;
|
|
1086
|
+
export const SmsTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1087
|
+
function: S.optional(SmsTodoGeneralPublicFunctionsEnum),
|
|
1088
|
+
status: S.optional(TelephonyTaskStatusEnum),
|
|
1089
|
+
step: S.optional(SmsTodoGeneralPublicStepsEnum),
|
|
1090
|
+
taskId: S.optional(S.Number),
|
|
1091
|
+
})).annotate({ identifier: "SmsTask" });
|
|
1092
|
+
export const GetSmsTemplatesControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1093
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1094
|
+
name: S.String.pipe(T.Label()),
|
|
1095
|
+
}).pipe(T.Http({
|
|
1096
|
+
method: "GET",
|
|
1097
|
+
uri: "/sms/{serviceName}/templatesControl/{name}",
|
|
1098
|
+
code: 200,
|
|
1099
|
+
}))).annotate({
|
|
1100
|
+
identifier: "GetSmsTemplatesControlRequest",
|
|
1101
|
+
});
|
|
1102
|
+
export const SmsTemplateControl = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1103
|
+
activity: S.optional(SmsTypeTemplateEnum),
|
|
1104
|
+
comment: S.optional(S.String),
|
|
1105
|
+
datetime: S.optional(S.String),
|
|
1106
|
+
description: S.optional(S.String),
|
|
1107
|
+
message: S.optional(S.String),
|
|
1108
|
+
name: S.optional(S.String),
|
|
1109
|
+
status: S.optional(SmsStatusSenderEnum),
|
|
1110
|
+
})).annotate({
|
|
1111
|
+
identifier: "SmsTemplateControl",
|
|
1112
|
+
});
|
|
1113
|
+
export const GetSmsUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1114
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1115
|
+
login: S.String.pipe(T.Label()),
|
|
1116
|
+
}).pipe(T.Http({
|
|
1117
|
+
method: "GET",
|
|
1118
|
+
uri: "/sms/{serviceName}/users/{login}",
|
|
1119
|
+
code: 200,
|
|
1120
|
+
}))).annotate({
|
|
1121
|
+
identifier: "GetSmsUserRequest",
|
|
1122
|
+
});
|
|
1123
|
+
export const SmsSupportEnum = S.String;
|
|
1124
|
+
export const SmsAlertThreshold = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1125
|
+
alertEmail: S.optional(S.String),
|
|
1126
|
+
alertNumber: S.optional(S.String),
|
|
1127
|
+
alertThreshold: S.optional(S.Number),
|
|
1128
|
+
support: S.optional(SmsSupportEnum),
|
|
1129
|
+
})).annotate({
|
|
1130
|
+
identifier: "SmsAlertThreshold",
|
|
1131
|
+
});
|
|
1132
|
+
export const SmsUserIpRestrictionsList = /*@__PURE__*/ S.Array(S.String);
|
|
1133
|
+
export const SmsQuotaStatusUserEnum = S.String;
|
|
1134
|
+
export const SmsQuota = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1135
|
+
quotaLeft: S.optional(S.Number),
|
|
1136
|
+
quotaStatus: S.optional(SmsQuotaStatusUserEnum),
|
|
1137
|
+
})).annotate({ identifier: "SmsQuota" });
|
|
1138
|
+
export const SmsUser = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1139
|
+
alertThresholdInformations: S.optional(SmsAlertThreshold),
|
|
1140
|
+
callBack: S.optional(S.NullOr(S.String)),
|
|
1141
|
+
ipRestrictions: S.optional(SmsUserIpRestrictionsList),
|
|
1142
|
+
login: S.optional(S.String),
|
|
1143
|
+
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1144
|
+
quotaInformations: S.optional(SmsQuota),
|
|
1145
|
+
stopCallBack: S.optional(S.NullOr(S.String)),
|
|
1146
|
+
})).annotate({ identifier: "SmsUser" });
|
|
1147
|
+
export const GetSmsUserDocumentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1148
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1149
|
+
login: S.String.pipe(T.Label()),
|
|
1150
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
1151
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
1152
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1153
|
+
wayType: SmsDocumentWayTypeEnum.pipe(T.Query()),
|
|
1154
|
+
}).pipe(T.Http({
|
|
1155
|
+
method: "GET",
|
|
1156
|
+
uri: "/sms/{serviceName}/users/{login}/document",
|
|
1157
|
+
code: 200,
|
|
1158
|
+
}))).annotate({
|
|
1159
|
+
identifier: "GetSmsUserDocumentRequest",
|
|
1160
|
+
});
|
|
1161
|
+
export const GetSmsUserDocumentResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1162
|
+
identifier: "GetSmsUserDocumentResponse",
|
|
1163
|
+
});
|
|
1164
|
+
export const GetSmsUserIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1165
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1166
|
+
login: S.String.pipe(T.Label()),
|
|
1167
|
+
id: S.Number.pipe(T.Label()),
|
|
1168
|
+
}).pipe(T.Http({
|
|
1169
|
+
method: "GET",
|
|
1170
|
+
uri: "/sms/{serviceName}/users/{login}/incoming/{id}",
|
|
1171
|
+
code: 200,
|
|
1172
|
+
}))).annotate({
|
|
1173
|
+
identifier: "GetSmsUserIncomingRequest",
|
|
1174
|
+
});
|
|
1175
|
+
export const GetSmsUserJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1176
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1177
|
+
login: S.String.pipe(T.Label()),
|
|
1178
|
+
id: S.Number.pipe(T.Label()),
|
|
1179
|
+
}).pipe(T.Http({
|
|
1180
|
+
method: "GET",
|
|
1181
|
+
uri: "/sms/{serviceName}/users/{login}/jobs/{id}",
|
|
1182
|
+
code: 200,
|
|
1183
|
+
}))).annotate({
|
|
1184
|
+
identifier: "GetSmsUserJobRequest",
|
|
1185
|
+
});
|
|
1186
|
+
export const GetSmsUserOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1187
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1188
|
+
login: S.String.pipe(T.Label()),
|
|
1189
|
+
id: S.Number.pipe(T.Label()),
|
|
1190
|
+
}).pipe(T.Http({
|
|
1191
|
+
method: "GET",
|
|
1192
|
+
uri: "/sms/{serviceName}/users/{login}/outgoing/{id}",
|
|
1193
|
+
code: 200,
|
|
1194
|
+
}))).annotate({
|
|
1195
|
+
identifier: "GetSmsUserOutgoingRequest",
|
|
1196
|
+
});
|
|
1197
|
+
export const GetSmsUserOutgoingHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1198
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1199
|
+
login: S.String.pipe(T.Label()),
|
|
1200
|
+
id: S.Number.pipe(T.Label()),
|
|
1201
|
+
}).pipe(T.Http({
|
|
1202
|
+
method: "GET",
|
|
1203
|
+
uri: "/sms/{serviceName}/users/{login}/outgoing/{id}/hlr",
|
|
1204
|
+
code: 200,
|
|
1205
|
+
}))).annotate({
|
|
1206
|
+
identifier: "GetSmsUserOutgoingHlrRequest",
|
|
1207
|
+
});
|
|
1208
|
+
export const GetSmsUserReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1209
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1210
|
+
login: S.String.pipe(T.Label()),
|
|
1211
|
+
slotId: S.Number.pipe(T.Label()),
|
|
1212
|
+
}).pipe(T.Http({
|
|
1213
|
+
method: "GET",
|
|
1214
|
+
uri: "/sms/{serviceName}/users/{login}/receivers/{slotId}",
|
|
1215
|
+
code: 200,
|
|
1216
|
+
}))).annotate({
|
|
1217
|
+
identifier: "GetSmsUserReceiverRequest",
|
|
1218
|
+
});
|
|
1219
|
+
export const GetSmsUserReceiverCsvRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1220
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1221
|
+
login: S.String.pipe(T.Label()),
|
|
1222
|
+
slotId: S.Number.pipe(T.Label()),
|
|
1223
|
+
}).pipe(T.Http({
|
|
1224
|
+
method: "GET",
|
|
1225
|
+
uri: "/sms/{serviceName}/users/{login}/receivers/{slotId}/csv",
|
|
1226
|
+
code: 200,
|
|
1227
|
+
}))).annotate({
|
|
1228
|
+
identifier: "GetSmsUserReceiverCsvRequest",
|
|
1229
|
+
});
|
|
1230
|
+
export const GetSmsUserReceiverCsvResponse = /*@__PURE__*/ S.suspend(() => S.String.pipe(T.RawResponseRoot())).annotate({
|
|
1231
|
+
identifier: "GetSmsUserReceiverCsvResponse",
|
|
1232
|
+
});
|
|
1233
|
+
export const GetSmsVirtualNumberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1234
|
+
number: S.String.pipe(T.Label()),
|
|
1235
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/virtualNumbers/{number}", code: 200 }))).annotate({
|
|
1236
|
+
identifier: "GetSmsVirtualNumberRequest",
|
|
1237
|
+
});
|
|
1238
|
+
export const SmsVirtualNumberIsoCountryCodeEnum = S.String;
|
|
1239
|
+
export const SmsVirtualNumberGenericServiceWithIAM = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1240
|
+
countryCode: S.optional(SmsVirtualNumberIsoCountryCodeEnum),
|
|
1241
|
+
iam: S.optional(S.NullOr(IamResourceMetadata)),
|
|
1242
|
+
number: S.optional(S.String),
|
|
1243
|
+
})).annotate({
|
|
1244
|
+
identifier: "SmsVirtualNumberGenericServiceWithIAM",
|
|
1245
|
+
});
|
|
1246
|
+
export const GetSmsVirtualNumberByNumberRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1247
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1248
|
+
number: S.String.pipe(T.Label()),
|
|
1249
|
+
}).pipe(T.Http({
|
|
1250
|
+
method: "GET",
|
|
1251
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}",
|
|
1252
|
+
code: 200,
|
|
1253
|
+
}))).annotate({
|
|
1254
|
+
identifier: "GetSmsVirtualNumberByNumberRequest",
|
|
1255
|
+
});
|
|
1256
|
+
export const SmsVirtualNumber = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1257
|
+
countryCode: S.optional(SmsVirtualNumberIsoCountryCodeEnum),
|
|
1258
|
+
number: S.optional(S.String),
|
|
1259
|
+
})).annotate({
|
|
1260
|
+
identifier: "SmsVirtualNumber",
|
|
1261
|
+
});
|
|
1262
|
+
export const GetSmsVirtualNumberChatAccessRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1263
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1264
|
+
number: S.String.pipe(T.Label()),
|
|
1265
|
+
}).pipe(T.Http({
|
|
1266
|
+
method: "GET",
|
|
1267
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/chatAccess",
|
|
1268
|
+
code: 200,
|
|
1269
|
+
}))).annotate({
|
|
1270
|
+
identifier: "GetSmsVirtualNumberChatAccessRequest",
|
|
1271
|
+
});
|
|
1272
|
+
export const GetSmsVirtualNumberIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1273
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1274
|
+
number: S.String.pipe(T.Label()),
|
|
1275
|
+
id: S.Number.pipe(T.Label()),
|
|
1276
|
+
}).pipe(T.Http({
|
|
1277
|
+
method: "GET",
|
|
1278
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/incoming/{id}",
|
|
1279
|
+
code: 200,
|
|
1280
|
+
}))).annotate({
|
|
1281
|
+
identifier: "GetSmsVirtualNumberIncomingRequest",
|
|
1282
|
+
});
|
|
1283
|
+
export const GetSmsVirtualNumberJobRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1284
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1285
|
+
number: S.String.pipe(T.Label()),
|
|
1286
|
+
id: S.Number.pipe(T.Label()),
|
|
1287
|
+
}).pipe(T.Http({
|
|
1288
|
+
method: "GET",
|
|
1289
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/jobs/{id}",
|
|
1290
|
+
code: 200,
|
|
1291
|
+
}))).annotate({
|
|
1292
|
+
identifier: "GetSmsVirtualNumberJobRequest",
|
|
1293
|
+
});
|
|
1294
|
+
export const SmsVirtualNumberJob = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1295
|
+
creationDatetime: S.optional(S.String),
|
|
1296
|
+
credits: S.optional(S.Number),
|
|
1297
|
+
deliveryReceipt: S.optional(S.Number),
|
|
1298
|
+
differedDelivery: S.optional(S.Number),
|
|
1299
|
+
id: S.optional(S.Number),
|
|
1300
|
+
message: S.optional(S.String),
|
|
1301
|
+
messageLength: S.optional(S.Number),
|
|
1302
|
+
numberOfSms: S.optional(S.Number),
|
|
1303
|
+
ptt: S.optional(S.Number),
|
|
1304
|
+
receiver: S.optional(S.String),
|
|
1305
|
+
})).annotate({
|
|
1306
|
+
identifier: "SmsVirtualNumberJob",
|
|
1307
|
+
});
|
|
1308
|
+
export const GetSmsVirtualNumberOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1309
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1310
|
+
number: S.String.pipe(T.Label()),
|
|
1311
|
+
id: S.Number.pipe(T.Label()),
|
|
1312
|
+
}).pipe(T.Http({
|
|
1313
|
+
method: "GET",
|
|
1314
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/outgoing/{id}",
|
|
1315
|
+
code: 200,
|
|
1316
|
+
}))).annotate({
|
|
1317
|
+
identifier: "GetSmsVirtualNumberOutgoingRequest",
|
|
1318
|
+
});
|
|
1319
|
+
export const GetSmsVirtualNumberOutgoingHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1320
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1321
|
+
number: S.String.pipe(T.Label()),
|
|
1322
|
+
id: S.Number.pipe(T.Label()),
|
|
1323
|
+
}).pipe(T.Http({
|
|
1324
|
+
method: "GET",
|
|
1325
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/outgoing/{id}/hlr",
|
|
1326
|
+
code: 200,
|
|
1327
|
+
}))).annotate({
|
|
1328
|
+
identifier: "GetSmsVirtualNumberOutgoingHlrRequest",
|
|
1329
|
+
});
|
|
1330
|
+
export const GetSmsVirtualNumberServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1331
|
+
number: S.String.pipe(T.Label()),
|
|
1332
|
+
}).pipe(T.Http({
|
|
1333
|
+
method: "GET",
|
|
1334
|
+
uri: "/sms/virtualNumbers/{number}/serviceInfos",
|
|
1335
|
+
code: 200,
|
|
1336
|
+
}))).annotate({
|
|
1337
|
+
identifier: "GetSmsVirtualNumberServiceInfosRequest",
|
|
1338
|
+
});
|
|
1339
|
+
export const ImportSmsPhonebookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1340
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1341
|
+
bookKey: S.String.pipe(T.Label()),
|
|
1342
|
+
documentId: S.String,
|
|
1343
|
+
}).pipe(T.Http({
|
|
1344
|
+
method: "POST",
|
|
1345
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/import",
|
|
1346
|
+
code: 200,
|
|
1347
|
+
}))).annotate({
|
|
1348
|
+
identifier: "ImportSmsPhonebookRequest",
|
|
1349
|
+
});
|
|
1350
|
+
export const TelephonyTask = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1351
|
+
action: S.optional(S.String),
|
|
1352
|
+
message: S.optional(S.NullOr(S.String)),
|
|
1353
|
+
objectCreated: S.optional(S.NullOr(S.String)),
|
|
1354
|
+
serviceType: S.optional(S.String),
|
|
1355
|
+
status: S.optional(TelephonyTaskStatusEnum),
|
|
1356
|
+
taskId: S.optional(S.Number),
|
|
1357
|
+
})).annotate({ identifier: "TelephonyTask" });
|
|
1358
|
+
export const IamResourceTagFilterInput = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1359
|
+
identifier: "IamResourceTagFilterInput",
|
|
1360
|
+
});
|
|
1361
|
+
export const ListSmsRequestIamTagsValueList = /*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
1362
|
+
export const ListSmsRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListSmsRequestIamTagsValueList);
|
|
1363
|
+
export const ListSmsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1364
|
+
iamTags: S.optional(ListSmsRequestIamTagsMap.pipe(T.Query())),
|
|
1365
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms", code: 200 }))).annotate({ identifier: "ListSmsRequest" });
|
|
1366
|
+
export const ListSmsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1367
|
+
export const ListSmsResponse = /*@__PURE__*/ S.suspend(() => ListSmsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1368
|
+
identifier: "ListSmsResponse",
|
|
1369
|
+
});
|
|
1370
|
+
export const ListSmsBatchesRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1371
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1372
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/batches", code: 200 }))).annotate({
|
|
1373
|
+
identifier: "ListSmsBatchesRequest",
|
|
1374
|
+
});
|
|
1375
|
+
export const ListSmsBatchesResponseBodyList = /*@__PURE__*/ S.Array(SmsBatch);
|
|
1376
|
+
export const ListSmsBatchesResponse = /*@__PURE__*/ S.suspend(() => ListSmsBatchesResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1377
|
+
identifier: "ListSmsBatchesResponse",
|
|
1378
|
+
});
|
|
1379
|
+
export const ListSmsBlacklistsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1380
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1381
|
+
batchID: S.optional(S.String.pipe(T.Query())),
|
|
1382
|
+
smsOutgoingID: S.optional(S.Number.pipe(T.Query())),
|
|
1383
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/blacklists", code: 200 }))).annotate({
|
|
1384
|
+
identifier: "ListSmsBlacklistsRequest",
|
|
1385
|
+
});
|
|
1386
|
+
export const ListSmsBlacklistsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1387
|
+
export const ListSmsBlacklistsResponse = /*@__PURE__*/ S.suspend(() => ListSmsBlacklistsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1388
|
+
identifier: "ListSmsBlacklistsResponse",
|
|
1389
|
+
});
|
|
1390
|
+
export const ListSmsExceptionsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1391
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1392
|
+
receiver: S.String.pipe(T.Query()),
|
|
1393
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/exceptions", code: 200 }))).annotate({
|
|
1394
|
+
identifier: "ListSmsExceptionsRequest",
|
|
1395
|
+
});
|
|
1396
|
+
export const SmsExceptionMessagesList = /*@__PURE__*/ S.Array(S.String);
|
|
1397
|
+
export const SmsRestrictionCodeEnum = S.String;
|
|
1398
|
+
export const SmsException = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1399
|
+
countrySuffixe: S.optional(S.String),
|
|
1400
|
+
messages: S.optional(SmsExceptionMessagesList),
|
|
1401
|
+
operators: S.optional(S.String),
|
|
1402
|
+
restrictionCode: S.optional(SmsRestrictionCodeEnum),
|
|
1403
|
+
substitution: S.optional(S.NullOr(S.String)),
|
|
1404
|
+
})).annotate({ identifier: "SmsException" });
|
|
1405
|
+
export const ListSmsExceptionsResponseBodyList = /*@__PURE__*/ S.Array(SmsException);
|
|
1406
|
+
export const ListSmsExceptionsResponse = /*@__PURE__*/ S.suspend(() => ListSmsExceptionsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1407
|
+
identifier: "ListSmsExceptionsResponse",
|
|
1408
|
+
});
|
|
1409
|
+
export const ListSmsHlrRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1410
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1411
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/hlr", code: 200 }))).annotate({
|
|
1412
|
+
identifier: "ListSmsHlrRequest",
|
|
1413
|
+
});
|
|
1414
|
+
export const ListSmsHlrResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1415
|
+
export const ListSmsHlrResponse = /*@__PURE__*/ S.suspend(() => ListSmsHlrResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1416
|
+
identifier: "ListSmsHlrResponse",
|
|
1417
|
+
});
|
|
1418
|
+
export const ListSmsIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1419
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1420
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
1421
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
1422
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1423
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1424
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/incoming", code: 200 }))).annotate({
|
|
1425
|
+
identifier: "ListSmsIncomingRequest",
|
|
1426
|
+
});
|
|
1427
|
+
export const ListSmsIncomingResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1428
|
+
export const ListSmsIncomingResponse = /*@__PURE__*/ S.suspend(() => ListSmsIncomingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1429
|
+
identifier: "ListSmsIncomingResponse",
|
|
1430
|
+
});
|
|
1431
|
+
export const ListSmsJobsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1432
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1433
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/jobs", code: 200 }))).annotate({
|
|
1434
|
+
identifier: "ListSmsJobsRequest",
|
|
1435
|
+
});
|
|
1436
|
+
export const ListSmsJobsResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1437
|
+
export const ListSmsJobsResponse = /*@__PURE__*/ S.suspend(() => ListSmsJobsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1438
|
+
identifier: "ListSmsJobsResponse",
|
|
1439
|
+
});
|
|
1440
|
+
export const ListSmsOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1441
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1442
|
+
batchID: S.optional(S.String.pipe(T.Query())),
|
|
1443
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
1444
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
1445
|
+
deliveryReceipt: S.optional(S.Number.pipe(T.Query())),
|
|
1446
|
+
differedDelivery: S.optional(S.Number.pipe(T.Query())),
|
|
1447
|
+
messageID: S.optional(S.String.pipe(T.Query())),
|
|
1448
|
+
ptt: S.optional(S.Number.pipe(T.Query())),
|
|
1449
|
+
receiver: S.optional(S.String.pipe(T.Query())),
|
|
1450
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1451
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1452
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/outgoing", code: 200 }))).annotate({
|
|
1453
|
+
identifier: "ListSmsOutgoingRequest",
|
|
1454
|
+
});
|
|
1455
|
+
export const ListSmsOutgoingResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1456
|
+
export const ListSmsOutgoingResponse = /*@__PURE__*/ S.suspend(() => ListSmsOutgoingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1457
|
+
identifier: "ListSmsOutgoingResponse",
|
|
1458
|
+
});
|
|
1459
|
+
export const ListSmsPhonebookPhonebookContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1460
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1461
|
+
bookKey: S.String.pipe(T.Label()),
|
|
1462
|
+
}).pipe(T.Http({
|
|
1463
|
+
method: "GET",
|
|
1464
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact",
|
|
1465
|
+
code: 200,
|
|
1466
|
+
}))).annotate({
|
|
1467
|
+
identifier: "ListSmsPhonebookPhonebookContactRequest",
|
|
1468
|
+
});
|
|
1469
|
+
export const ListSmsPhonebookPhonebookContactResponseBodyList =
|
|
1470
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
1471
|
+
export const ListSmsPhonebookPhonebookContactResponse = /*@__PURE__*/ S.suspend(() => ListSmsPhonebookPhonebookContactResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1472
|
+
identifier: "ListSmsPhonebookPhonebookContactResponse",
|
|
1473
|
+
});
|
|
1474
|
+
export const ListSmsPhonebooksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1475
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1476
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/phonebooks", code: 200 }))).annotate({
|
|
1477
|
+
identifier: "ListSmsPhonebooksRequest",
|
|
1478
|
+
});
|
|
1479
|
+
export const ListSmsPhonebooksResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1480
|
+
export const ListSmsPhonebooksResponse = /*@__PURE__*/ S.suspend(() => ListSmsPhonebooksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1481
|
+
identifier: "ListSmsPhonebooksResponse",
|
|
1482
|
+
});
|
|
1483
|
+
export const ListSmsRatePacksRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1484
|
+
billingCountry: S.optional(SmsBillingCountryEnum.pipe(T.Query())),
|
|
1485
|
+
country: SmsCountryEnum.pipe(T.Query()),
|
|
1486
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/rates/packs", code: 200 }))).annotate({
|
|
1487
|
+
identifier: "ListSmsRatePacksRequest",
|
|
1488
|
+
});
|
|
1489
|
+
export const SmsPackDetails = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1490
|
+
countryCode: S.optional(SmsCountryEnum),
|
|
1491
|
+
credit: S.optional(S.Number),
|
|
1492
|
+
creditPrice: S.optional(OrderPrice),
|
|
1493
|
+
creditQuantityMax: S.optional(S.NullOr(S.Number)),
|
|
1494
|
+
creditQuantityMin: S.optional(S.Number),
|
|
1495
|
+
discountCreditPrice: S.optional(S.NullOr(OrderPrice)),
|
|
1496
|
+
discountPercentage: S.optional(S.NullOr(S.Number)),
|
|
1497
|
+
discountSmsPrice: S.optional(S.NullOr(OrderPrice)),
|
|
1498
|
+
smsPrice: S.optional(OrderPrice),
|
|
1499
|
+
smsQuantityMax: S.optional(S.NullOr(S.Number)),
|
|
1500
|
+
smsQuantityMin: S.optional(S.Number),
|
|
1501
|
+
})).annotate({ identifier: "SmsPackDetails" });
|
|
1502
|
+
export const ListSmsRatePacksResponseBodyList = /*@__PURE__*/ S.Array(SmsPackDetails);
|
|
1503
|
+
export const ListSmsRatePacksResponse = /*@__PURE__*/ S.suspend(() => ListSmsRatePacksResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1504
|
+
identifier: "ListSmsRatePacksResponse",
|
|
1505
|
+
});
|
|
1506
|
+
export const ListSmsReceiversRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1507
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1508
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/receivers", code: 200 }))).annotate({
|
|
1509
|
+
identifier: "ListSmsReceiversRequest",
|
|
1510
|
+
});
|
|
1511
|
+
export const ListSmsReceiversResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1512
|
+
export const ListSmsReceiversResponse = /*@__PURE__*/ S.suspend(() => ListSmsReceiversResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1513
|
+
identifier: "ListSmsReceiversResponse",
|
|
1514
|
+
});
|
|
1515
|
+
export const ReferenceCountryEnum = S.String;
|
|
1516
|
+
export const SmsPackQuantityEnum = S.Number;
|
|
1517
|
+
export const ListSmsSeeOffersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1518
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1519
|
+
countryCurrencyPrice: ReferenceCountryEnum.pipe(T.Query()),
|
|
1520
|
+
countryDestination: SmsCountryEnum.pipe(T.Query()),
|
|
1521
|
+
quantity: SmsPackQuantityEnum.pipe(T.Query()),
|
|
1522
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/seeOffers", code: 200 }))).annotate({
|
|
1523
|
+
identifier: "ListSmsSeeOffersRequest",
|
|
1524
|
+
});
|
|
1525
|
+
export const SmsPackOffer = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1526
|
+
countryDestination: S.optional(S.String),
|
|
1527
|
+
giftPrice: S.optional(S.NullOr(S.Number)),
|
|
1528
|
+
giftQuantity: S.optional(S.NullOr(S.Number)),
|
|
1529
|
+
language: S.optional(S.String),
|
|
1530
|
+
price: S.optional(S.Number),
|
|
1531
|
+
quantity: S.optional(S.Number),
|
|
1532
|
+
smsQuantity: S.optional(S.Number),
|
|
1533
|
+
totalPrice: S.optional(S.NullOr(S.Number)),
|
|
1534
|
+
})).annotate({ identifier: "SmsPackOffer" });
|
|
1535
|
+
export const ListSmsSeeOffersResponseBodyList = /*@__PURE__*/ S.Array(SmsPackOffer);
|
|
1536
|
+
export const ListSmsSeeOffersResponse = /*@__PURE__*/ S.suspend(() => ListSmsSeeOffersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1537
|
+
identifier: "ListSmsSeeOffersResponse",
|
|
1538
|
+
});
|
|
1539
|
+
export const ListSmsSenderDocumentsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1540
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1541
|
+
sender: S.String.pipe(T.Label()),
|
|
1542
|
+
}).pipe(T.Http({
|
|
1543
|
+
method: "GET",
|
|
1544
|
+
uri: "/sms/{serviceName}/senders/{sender}/documents",
|
|
1545
|
+
code: 200,
|
|
1546
|
+
}))).annotate({
|
|
1547
|
+
identifier: "ListSmsSenderDocumentsRequest",
|
|
1548
|
+
});
|
|
1549
|
+
export const ListSmsSenderDocumentsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1550
|
+
export const ListSmsSenderDocumentsResponse = /*@__PURE__*/ S.suspend(() => ListSmsSenderDocumentsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1551
|
+
identifier: "ListSmsSenderDocumentsResponse",
|
|
1552
|
+
});
|
|
1553
|
+
export const ListSmsSendersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1554
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1555
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/senders", code: 200 }))).annotate({
|
|
1556
|
+
identifier: "ListSmsSendersRequest",
|
|
1557
|
+
});
|
|
1558
|
+
export const ListSmsSendersResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1559
|
+
export const ListSmsSendersResponse = /*@__PURE__*/ S.suspend(() => ListSmsSendersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1560
|
+
identifier: "ListSmsSendersResponse",
|
|
1561
|
+
});
|
|
1562
|
+
export const SmsSenderRefererEnum = S.String;
|
|
1563
|
+
export const ListSmsSendersAvailableForValidationRequest =
|
|
1564
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1565
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1566
|
+
referer: S.optional(SmsSenderRefererEnum.pipe(T.Query())),
|
|
1567
|
+
}).pipe(T.Http({
|
|
1568
|
+
method: "GET",
|
|
1569
|
+
uri: "/sms/{serviceName}/sendersAvailableForValidation",
|
|
1570
|
+
code: 200,
|
|
1571
|
+
}))).annotate({
|
|
1572
|
+
identifier: "ListSmsSendersAvailableForValidationRequest",
|
|
1573
|
+
});
|
|
1574
|
+
export const SmsSenderAvailable = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1575
|
+
referer: S.optional(SmsSenderRefererEnum),
|
|
1576
|
+
sender: S.optional(S.String),
|
|
1577
|
+
})).annotate({
|
|
1578
|
+
identifier: "SmsSenderAvailable",
|
|
1579
|
+
});
|
|
1580
|
+
export const ListSmsSendersAvailableForValidationResponseBodyList =
|
|
1581
|
+
/*@__PURE__*/ S.Array(SmsSenderAvailable);
|
|
1582
|
+
export const ListSmsSendersAvailableForValidationResponse =
|
|
1583
|
+
/*@__PURE__*/ S.suspend(() => ListSmsSendersAvailableForValidationResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1584
|
+
identifier: "ListSmsSendersAvailableForValidationResponse",
|
|
1585
|
+
});
|
|
1586
|
+
export const ListSmsSmppAllowedIPsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1587
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1588
|
+
}).pipe(T.Http({
|
|
1589
|
+
method: "GET",
|
|
1590
|
+
uri: "/sms/{serviceName}/smpp/allowedIPs",
|
|
1591
|
+
code: 200,
|
|
1592
|
+
}))).annotate({
|
|
1593
|
+
identifier: "ListSmsSmppAllowedIPsRequest",
|
|
1594
|
+
});
|
|
1595
|
+
export const ListSmsSmppAllowedIPsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1596
|
+
export const ListSmsSmppAllowedIPsResponse = /*@__PURE__*/ S.suspend(() => ListSmsSmppAllowedIPsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1597
|
+
identifier: "ListSmsSmppAllowedIPsResponse",
|
|
1598
|
+
});
|
|
1599
|
+
export const ListSmsTaskRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1600
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1601
|
+
status: S.optional(TelephonyTaskStatusEnum.pipe(T.Query())),
|
|
1602
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/task", code: 200 }))).annotate({
|
|
1603
|
+
identifier: "ListSmsTaskRequest",
|
|
1604
|
+
});
|
|
1605
|
+
export const ListSmsTaskResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1606
|
+
export const ListSmsTaskResponse = /*@__PURE__*/ S.suspend(() => ListSmsTaskResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1607
|
+
identifier: "ListSmsTaskResponse",
|
|
1608
|
+
});
|
|
1609
|
+
export const ListSmsTemplatesControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1610
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1611
|
+
}).pipe(T.Http({
|
|
1612
|
+
method: "GET",
|
|
1613
|
+
uri: "/sms/{serviceName}/templatesControl",
|
|
1614
|
+
code: 200,
|
|
1615
|
+
}))).annotate({
|
|
1616
|
+
identifier: "ListSmsTemplatesControlRequest",
|
|
1617
|
+
});
|
|
1618
|
+
export const ListSmsTemplatesControlResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1619
|
+
export const ListSmsTemplatesControlResponse = /*@__PURE__*/ S.suspend(() => ListSmsTemplatesControlResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1620
|
+
identifier: "ListSmsTemplatesControlResponse",
|
|
1621
|
+
});
|
|
1622
|
+
export const ListSmsUserIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1623
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1624
|
+
login: S.String.pipe(T.Label()),
|
|
1625
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1626
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1627
|
+
}).pipe(T.Http({
|
|
1628
|
+
method: "GET",
|
|
1629
|
+
uri: "/sms/{serviceName}/users/{login}/incoming",
|
|
1630
|
+
code: 200,
|
|
1631
|
+
}))).annotate({
|
|
1632
|
+
identifier: "ListSmsUserIncomingRequest",
|
|
1633
|
+
});
|
|
1634
|
+
export const ListSmsUserIncomingResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1635
|
+
export const ListSmsUserIncomingResponse = /*@__PURE__*/ S.suspend(() => ListSmsUserIncomingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1636
|
+
identifier: "ListSmsUserIncomingResponse",
|
|
1637
|
+
});
|
|
1638
|
+
export const ListSmsUserJobsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1639
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1640
|
+
login: S.String.pipe(T.Label()),
|
|
1641
|
+
}).pipe(T.Http({
|
|
1642
|
+
method: "GET",
|
|
1643
|
+
uri: "/sms/{serviceName}/users/{login}/jobs",
|
|
1644
|
+
code: 200,
|
|
1645
|
+
}))).annotate({
|
|
1646
|
+
identifier: "ListSmsUserJobsRequest",
|
|
1647
|
+
});
|
|
1648
|
+
export const ListSmsUserJobsResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1649
|
+
export const ListSmsUserJobsResponse = /*@__PURE__*/ S.suspend(() => ListSmsUserJobsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1650
|
+
identifier: "ListSmsUserJobsResponse",
|
|
1651
|
+
});
|
|
1652
|
+
export const ListSmsUserOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1653
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1654
|
+
login: S.String.pipe(T.Label()),
|
|
1655
|
+
deliveryReceipt: S.optional(S.Number.pipe(T.Query())),
|
|
1656
|
+
differedDelivery: S.optional(S.Number.pipe(T.Query())),
|
|
1657
|
+
ptt: S.optional(S.Number.pipe(T.Query())),
|
|
1658
|
+
receiver: S.optional(S.String.pipe(T.Query())),
|
|
1659
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1660
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1661
|
+
}).pipe(T.Http({
|
|
1662
|
+
method: "GET",
|
|
1663
|
+
uri: "/sms/{serviceName}/users/{login}/outgoing",
|
|
1664
|
+
code: 200,
|
|
1665
|
+
}))).annotate({
|
|
1666
|
+
identifier: "ListSmsUserOutgoingRequest",
|
|
1667
|
+
});
|
|
1668
|
+
export const ListSmsUserOutgoingResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1669
|
+
export const ListSmsUserOutgoingResponse = /*@__PURE__*/ S.suspend(() => ListSmsUserOutgoingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1670
|
+
identifier: "ListSmsUserOutgoingResponse",
|
|
1671
|
+
});
|
|
1672
|
+
export const ListSmsUserReceiversRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1673
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1674
|
+
login: S.String.pipe(T.Label()),
|
|
1675
|
+
}).pipe(T.Http({
|
|
1676
|
+
method: "GET",
|
|
1677
|
+
uri: "/sms/{serviceName}/users/{login}/receivers",
|
|
1678
|
+
code: 200,
|
|
1679
|
+
}))).annotate({
|
|
1680
|
+
identifier: "ListSmsUserReceiversRequest",
|
|
1681
|
+
});
|
|
1682
|
+
export const ListSmsUserReceiversResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1683
|
+
export const ListSmsUserReceiversResponse = /*@__PURE__*/ S.suspend(() => ListSmsUserReceiversResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1684
|
+
identifier: "ListSmsUserReceiversResponse",
|
|
1685
|
+
});
|
|
1686
|
+
export const ListSmsUsersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1687
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1688
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/{serviceName}/users", code: 200 }))).annotate({
|
|
1689
|
+
identifier: "ListSmsUsersRequest",
|
|
1690
|
+
});
|
|
1691
|
+
export const ListSmsUsersResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1692
|
+
export const ListSmsUsersResponse = /*@__PURE__*/ S.suspend(() => ListSmsUsersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1693
|
+
identifier: "ListSmsUsersResponse",
|
|
1694
|
+
});
|
|
1695
|
+
export const ListSmsVirtualNumberIncomingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1696
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1697
|
+
number: S.String.pipe(T.Label()),
|
|
1698
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
1699
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
1700
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1701
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1702
|
+
}).pipe(T.Http({
|
|
1703
|
+
method: "GET",
|
|
1704
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/incoming",
|
|
1705
|
+
code: 200,
|
|
1706
|
+
}))).annotate({
|
|
1707
|
+
identifier: "ListSmsVirtualNumberIncomingRequest",
|
|
1708
|
+
});
|
|
1709
|
+
export const ListSmsVirtualNumberIncomingResponseBodyList =
|
|
1710
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
1711
|
+
export const ListSmsVirtualNumberIncomingResponse = /*@__PURE__*/ S.suspend(() => ListSmsVirtualNumberIncomingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1712
|
+
identifier: "ListSmsVirtualNumberIncomingResponse",
|
|
1713
|
+
});
|
|
1714
|
+
export const ListSmsVirtualNumberJobsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1715
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1716
|
+
number: S.String.pipe(T.Label()),
|
|
1717
|
+
}).pipe(T.Http({
|
|
1718
|
+
method: "GET",
|
|
1719
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/jobs",
|
|
1720
|
+
code: 200,
|
|
1721
|
+
}))).annotate({
|
|
1722
|
+
identifier: "ListSmsVirtualNumberJobsRequest",
|
|
1723
|
+
});
|
|
1724
|
+
export const ListSmsVirtualNumberJobsResponseBodyList = /*@__PURE__*/ S.Array(S.Number);
|
|
1725
|
+
export const ListSmsVirtualNumberJobsResponse = /*@__PURE__*/ S.suspend(() => ListSmsVirtualNumberJobsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1726
|
+
identifier: "ListSmsVirtualNumberJobsResponse",
|
|
1727
|
+
});
|
|
1728
|
+
export const ListSmsVirtualNumberOutgoingRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1729
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1730
|
+
number: S.String.pipe(T.Label()),
|
|
1731
|
+
creationDatetime_from: S.optional(S.String.pipe(T.Query("creationDatetime.from"))),
|
|
1732
|
+
creationDatetime_to: S.optional(S.String.pipe(T.Query("creationDatetime.to"))),
|
|
1733
|
+
deliveryReceipt: S.optional(S.Number.pipe(T.Query())),
|
|
1734
|
+
differedDelivery: S.optional(S.Number.pipe(T.Query())),
|
|
1735
|
+
ptt: S.optional(S.Number.pipe(T.Query())),
|
|
1736
|
+
receiver: S.optional(S.String.pipe(T.Query())),
|
|
1737
|
+
sender: S.optional(S.String.pipe(T.Query())),
|
|
1738
|
+
tag: S.optional(S.String.pipe(T.Query())),
|
|
1739
|
+
}).pipe(T.Http({
|
|
1740
|
+
method: "GET",
|
|
1741
|
+
uri: "/sms/{serviceName}/virtualNumbers/{number}/outgoing",
|
|
1742
|
+
code: 200,
|
|
1743
|
+
}))).annotate({
|
|
1744
|
+
identifier: "ListSmsVirtualNumberOutgoingRequest",
|
|
1745
|
+
});
|
|
1746
|
+
export const ListSmsVirtualNumberOutgoingResponseBodyList =
|
|
1747
|
+
/*@__PURE__*/ S.Array(S.Number);
|
|
1748
|
+
export const ListSmsVirtualNumberOutgoingResponse = /*@__PURE__*/ S.suspend(() => ListSmsVirtualNumberOutgoingResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1749
|
+
identifier: "ListSmsVirtualNumberOutgoingResponse",
|
|
1750
|
+
});
|
|
1751
|
+
export const ListSmsVirtualNumbersRequestIamTagsValueList =
|
|
1752
|
+
/*@__PURE__*/ S.Array(IamResourceTagFilterInput);
|
|
1753
|
+
export const ListSmsVirtualNumbersRequestIamTagsMap = /*@__PURE__*/ S.Record(S.String, ListSmsVirtualNumbersRequestIamTagsValueList);
|
|
1754
|
+
export const ListSmsVirtualNumbersRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1755
|
+
iamTags: S.optional(ListSmsVirtualNumbersRequestIamTagsMap.pipe(T.Query())),
|
|
1756
|
+
}).pipe(T.Http({ method: "GET", uri: "/sms/virtualNumbers", code: 200 }))).annotate({
|
|
1757
|
+
identifier: "ListSmsVirtualNumbersRequest",
|
|
1758
|
+
});
|
|
1759
|
+
export const ListSmsVirtualNumbersResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1760
|
+
export const ListSmsVirtualNumbersResponse = /*@__PURE__*/ S.suspend(() => ListSmsVirtualNumbersResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1761
|
+
identifier: "ListSmsVirtualNumbersResponse",
|
|
1762
|
+
});
|
|
1763
|
+
export const ListSmsVirtualNumbersRequest2 = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1764
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1765
|
+
}).pipe(T.Http({
|
|
1766
|
+
method: "GET",
|
|
1767
|
+
uri: "/sms/{serviceName}/virtualNumbers",
|
|
1768
|
+
code: 200,
|
|
1769
|
+
}))).annotate({
|
|
1770
|
+
identifier: "ListSmsVirtualNumbersRequest2",
|
|
1771
|
+
});
|
|
1772
|
+
export const ListSmsVirtualNumbersResponseBodyList2 = /*@__PURE__*/ S.Array(S.String);
|
|
1773
|
+
export const ListSmsVirtualNumbersResponse2 = /*@__PURE__*/ S.suspend(() => ListSmsVirtualNumbersResponseBodyList2.pipe(T.RawResponseRoot())).annotate({
|
|
1774
|
+
identifier: "ListSmsVirtualNumbersResponse2",
|
|
1775
|
+
});
|
|
1776
|
+
export const PutSmsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1777
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1778
|
+
automaticRecreditAmount: S.optional(S.NullOr(SmsPackQuantityAutomaticRecreditEnum)),
|
|
1779
|
+
callBack: S.optional(S.NullOr(S.String)),
|
|
1780
|
+
creditThresholdForAutomaticRecredit: S.optional(S.Number),
|
|
1781
|
+
description: S.optional(S.String),
|
|
1782
|
+
smsResponse: S.optional(SmsResponse),
|
|
1783
|
+
stopCallBack: S.optional(S.NullOr(S.String)),
|
|
1784
|
+
templates: S.optional(SmsTemplates),
|
|
1785
|
+
}).pipe(T.Http({ method: "PUT", uri: "/sms/{serviceName}", code: 200 }))).annotate({ identifier: "PutSmsRequest" });
|
|
1786
|
+
export const PutSmsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({ identifier: "PutSmsResponse" });
|
|
1787
|
+
export const PutSmsBatchRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1788
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1789
|
+
id: S.String.pipe(T.Label()),
|
|
1790
|
+
name: S.String,
|
|
1791
|
+
}).pipe(T.Http({
|
|
1792
|
+
method: "PUT",
|
|
1793
|
+
uri: "/sms/{serviceName}/batches/{id}",
|
|
1794
|
+
code: 200,
|
|
1795
|
+
}))).annotate({
|
|
1796
|
+
identifier: "PutSmsBatchRequest",
|
|
1797
|
+
});
|
|
1798
|
+
export const PutSmsPhonebookRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1799
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1800
|
+
bookKey: S.String.pipe(T.Label()),
|
|
1801
|
+
name: S.optional(S.String),
|
|
1802
|
+
}).pipe(T.Http({
|
|
1803
|
+
method: "PUT",
|
|
1804
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}",
|
|
1805
|
+
code: 200,
|
|
1806
|
+
}))).annotate({
|
|
1807
|
+
identifier: "PutSmsPhonebookRequest",
|
|
1808
|
+
});
|
|
1809
|
+
export const PutSmsPhonebookResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1810
|
+
identifier: "PutSmsPhonebookResponse",
|
|
1811
|
+
});
|
|
1812
|
+
export const PutSmsPhonebookPhonebookContactRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1813
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1814
|
+
bookKey: S.String.pipe(T.Label()),
|
|
1815
|
+
id: S.Number.pipe(T.Label()),
|
|
1816
|
+
group: S.optional(S.String),
|
|
1817
|
+
homeMobile: S.optional(S.NullOr(S.String)),
|
|
1818
|
+
homePhone: S.optional(S.NullOr(S.String)),
|
|
1819
|
+
name: S.optional(S.String),
|
|
1820
|
+
surname: S.optional(S.String),
|
|
1821
|
+
workMobile: S.optional(S.NullOr(S.String)),
|
|
1822
|
+
workPhone: S.optional(S.NullOr(S.String)),
|
|
1823
|
+
}).pipe(T.Http({
|
|
1824
|
+
method: "PUT",
|
|
1825
|
+
uri: "/sms/{serviceName}/phonebooks/{bookKey}/phonebookContact/{id}",
|
|
1826
|
+
code: 200,
|
|
1827
|
+
}))).annotate({
|
|
1828
|
+
identifier: "PutSmsPhonebookPhonebookContactRequest",
|
|
1829
|
+
});
|
|
1830
|
+
export const PutSmsPhonebookPhonebookContactResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1831
|
+
identifier: "PutSmsPhonebookPhonebookContactResponse",
|
|
1832
|
+
});
|
|
1833
|
+
export const PutSmsReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1834
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1835
|
+
slotId: S.Number.pipe(T.Label()),
|
|
1836
|
+
autoUpdate: S.optional(S.Boolean),
|
|
1837
|
+
description: S.optional(S.String),
|
|
1838
|
+
}).pipe(T.Http({
|
|
1839
|
+
method: "PUT",
|
|
1840
|
+
uri: "/sms/{serviceName}/receivers/{slotId}",
|
|
1841
|
+
code: 200,
|
|
1842
|
+
}))).annotate({
|
|
1843
|
+
identifier: "PutSmsReceiverRequest",
|
|
1844
|
+
});
|
|
1845
|
+
export const PutSmsReceiverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1846
|
+
identifier: "PutSmsReceiverResponse",
|
|
1847
|
+
});
|
|
1848
|
+
export const PutSmsSenderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1849
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1850
|
+
sender: S.String.pipe(T.Label()),
|
|
1851
|
+
description: S.optional(S.String),
|
|
1852
|
+
status: S.optional(SmsStatusSenderEnum),
|
|
1853
|
+
}).pipe(T.Http({
|
|
1854
|
+
method: "PUT",
|
|
1855
|
+
uri: "/sms/{serviceName}/senders/{sender}",
|
|
1856
|
+
code: 200,
|
|
1857
|
+
}))).annotate({
|
|
1858
|
+
identifier: "PutSmsSenderRequest",
|
|
1859
|
+
});
|
|
1860
|
+
export const PutSmsSenderResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1861
|
+
identifier: "PutSmsSenderResponse",
|
|
1862
|
+
});
|
|
1863
|
+
export const PutSmsSenderDocumentRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1864
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1865
|
+
sender: S.String.pipe(T.Label()),
|
|
1866
|
+
documentID: S.String.pipe(T.Label()),
|
|
1867
|
+
description: S.optional(S.NullOr(S.String)),
|
|
1868
|
+
name: S.optional(S.String),
|
|
1869
|
+
}).pipe(T.Http({
|
|
1870
|
+
method: "PUT",
|
|
1871
|
+
uri: "/sms/{serviceName}/senders/{sender}/documents/{documentID}",
|
|
1872
|
+
code: 200,
|
|
1873
|
+
}))).annotate({
|
|
1874
|
+
identifier: "PutSmsSenderDocumentRequest",
|
|
1875
|
+
});
|
|
1876
|
+
export const PutSmsSenderDocumentResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1877
|
+
identifier: "PutSmsSenderDocumentResponse",
|
|
1878
|
+
});
|
|
1879
|
+
export const PutSmsServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1880
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1881
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1882
|
+
}).pipe(T.Http({
|
|
1883
|
+
method: "PUT",
|
|
1884
|
+
uri: "/sms/{serviceName}/serviceInfos",
|
|
1885
|
+
code: 200,
|
|
1886
|
+
}))).annotate({
|
|
1887
|
+
identifier: "PutSmsServiceInfosRequest",
|
|
1888
|
+
});
|
|
1889
|
+
export const PutSmsServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1890
|
+
identifier: "PutSmsServiceInfosResponse",
|
|
1891
|
+
});
|
|
1892
|
+
export const SmsAllowedIPsActionEnum = S.String;
|
|
1893
|
+
export const PutSmsSmppAllowedIPsRequestIpsList = /*@__PURE__*/ S.Array(S.String);
|
|
1894
|
+
export const PutSmsSmppAllowedIPsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1895
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1896
|
+
action: SmsAllowedIPsActionEnum,
|
|
1897
|
+
ips: PutSmsSmppAllowedIPsRequestIpsList,
|
|
1898
|
+
}).pipe(T.Http({
|
|
1899
|
+
method: "PUT",
|
|
1900
|
+
uri: "/sms/{serviceName}/smpp/allowedIPs",
|
|
1901
|
+
code: 200,
|
|
1902
|
+
}))).annotate({
|
|
1903
|
+
identifier: "PutSmsSmppAllowedIPsRequest",
|
|
1904
|
+
});
|
|
1905
|
+
export const PutSmsSmppAllowedIPsResponseBodyList = /*@__PURE__*/ S.Array(S.String);
|
|
1906
|
+
export const PutSmsSmppAllowedIPsResponse = /*@__PURE__*/ S.suspend(() => PutSmsSmppAllowedIPsResponseBodyList.pipe(T.RawResponseRoot())).annotate({
|
|
1907
|
+
identifier: "PutSmsSmppAllowedIPsResponse",
|
|
1908
|
+
});
|
|
1909
|
+
export const PutSmsTemplatesControlRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1910
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1911
|
+
name: S.String.pipe(T.Label()),
|
|
1912
|
+
activity: S.optional(SmsTypeTemplateEnum),
|
|
1913
|
+
description: S.optional(S.String),
|
|
1914
|
+
message: S.optional(S.String),
|
|
1915
|
+
status: S.optional(SmsStatusSenderEnum),
|
|
1916
|
+
}).pipe(T.Http({
|
|
1917
|
+
method: "PUT",
|
|
1918
|
+
uri: "/sms/{serviceName}/templatesControl/{name}",
|
|
1919
|
+
code: 200,
|
|
1920
|
+
}))).annotate({
|
|
1921
|
+
identifier: "PutSmsTemplatesControlRequest",
|
|
1922
|
+
});
|
|
1923
|
+
export const PutSmsTemplatesControlResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1924
|
+
identifier: "PutSmsTemplatesControlResponse",
|
|
1925
|
+
});
|
|
1926
|
+
export const PutSmsUserRequestIpRestrictionsList = /*@__PURE__*/ S.Array(S.String);
|
|
1927
|
+
export const PutSmsUserRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1928
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1929
|
+
login: S.String.pipe(T.Label()),
|
|
1930
|
+
alertThresholdInformations: S.optional(SmsAlertThreshold),
|
|
1931
|
+
callBack: S.optional(S.NullOr(S.String)),
|
|
1932
|
+
ipRestrictions: S.optional(PutSmsUserRequestIpRestrictionsList),
|
|
1933
|
+
password: S.optional(S.String.pipe(T.SensitiveValue({}))),
|
|
1934
|
+
quotaInformations: S.optional(SmsQuota),
|
|
1935
|
+
stopCallBack: S.optional(S.NullOr(S.String)),
|
|
1936
|
+
}).pipe(T.Http({
|
|
1937
|
+
method: "PUT",
|
|
1938
|
+
uri: "/sms/{serviceName}/users/{login}",
|
|
1939
|
+
code: 200,
|
|
1940
|
+
}))).annotate({
|
|
1941
|
+
identifier: "PutSmsUserRequest",
|
|
1942
|
+
});
|
|
1943
|
+
export const PutSmsUserResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1944
|
+
identifier: "PutSmsUserResponse",
|
|
1945
|
+
});
|
|
1946
|
+
export const PutSmsUserReceiverRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1947
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1948
|
+
login: S.String.pipe(T.Label()),
|
|
1949
|
+
slotId: S.Number.pipe(T.Label()),
|
|
1950
|
+
autoUpdate: S.optional(S.Boolean),
|
|
1951
|
+
description: S.optional(S.String),
|
|
1952
|
+
}).pipe(T.Http({
|
|
1953
|
+
method: "PUT",
|
|
1954
|
+
uri: "/sms/{serviceName}/users/{login}/receivers/{slotId}",
|
|
1955
|
+
code: 200,
|
|
1956
|
+
}))).annotate({
|
|
1957
|
+
identifier: "PutSmsUserReceiverRequest",
|
|
1958
|
+
});
|
|
1959
|
+
export const PutSmsUserReceiverResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1960
|
+
identifier: "PutSmsUserReceiverResponse",
|
|
1961
|
+
});
|
|
1962
|
+
export const PutSmsVirtualNumberServiceInfosRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1963
|
+
number: S.String.pipe(T.Label()),
|
|
1964
|
+
renew: S.optional(S.NullOr(ServiceRenewType)),
|
|
1965
|
+
}).pipe(T.Http({
|
|
1966
|
+
method: "PUT",
|
|
1967
|
+
uri: "/sms/virtualNumbers/{number}/serviceInfos",
|
|
1968
|
+
code: 200,
|
|
1969
|
+
}))).annotate({
|
|
1970
|
+
identifier: "PutSmsVirtualNumberServiceInfosRequest",
|
|
1971
|
+
});
|
|
1972
|
+
export const PutSmsVirtualNumberServiceInfosResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1973
|
+
identifier: "PutSmsVirtualNumberServiceInfosResponse",
|
|
1974
|
+
});
|
|
1975
|
+
export const TransferSmsCreditsRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1976
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1977
|
+
credits: S.Number,
|
|
1978
|
+
smsAccountTarget: S.String,
|
|
1979
|
+
}).pipe(T.Http({
|
|
1980
|
+
method: "POST",
|
|
1981
|
+
uri: "/sms/{serviceName}/transferCredits",
|
|
1982
|
+
code: 200,
|
|
1983
|
+
}))).annotate({
|
|
1984
|
+
identifier: "TransferSmsCreditsRequest",
|
|
1985
|
+
});
|
|
1986
|
+
export const TransferSmsCreditsResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1987
|
+
identifier: "TransferSmsCreditsResponse",
|
|
1988
|
+
});
|
|
1989
|
+
export const ValidateSmsSenderRequest = /*@__PURE__*/ S.suspend(() => S.Struct({
|
|
1990
|
+
serviceName: S.String.pipe(T.Label()),
|
|
1991
|
+
sender: S.String.pipe(T.Label()),
|
|
1992
|
+
code: S.String,
|
|
1993
|
+
}).pipe(T.Http({
|
|
1994
|
+
method: "POST",
|
|
1995
|
+
uri: "/sms/{serviceName}/senders/{sender}/validate",
|
|
1996
|
+
code: 200,
|
|
1997
|
+
}))).annotate({
|
|
1998
|
+
identifier: "ValidateSmsSenderRequest",
|
|
1999
|
+
});
|
|
2000
|
+
export const ValidateSmsSenderResponse = /*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
2001
|
+
identifier: "ValidateSmsSenderResponse",
|
|
2002
|
+
});
|
|
2003
|
+
/** Cancel a deferred batch (no SMS must have been sent) */
|
|
2004
|
+
export const cancelSmsBatch = /*@__PURE__*/ API.make(() => ({
|
|
2005
|
+
input: CancelSmsBatchRequest,
|
|
2006
|
+
output: SmsBatch,
|
|
2007
|
+
errors: [UnknownOvhError],
|
|
2008
|
+
protocol: OvhProtocol,
|
|
2009
|
+
retry: Retry.Retry,
|
|
2010
|
+
}));
|
|
2011
|
+
/** Create a batch */
|
|
2012
|
+
export const createSmsBatch = /*@__PURE__*/ API.make(() => ({
|
|
2013
|
+
input: CreateSmsBatchRequest,
|
|
2014
|
+
output: SmsBatch,
|
|
2015
|
+
errors: [UnknownOvhError],
|
|
2016
|
+
protocol: OvhProtocol,
|
|
2017
|
+
retry: Retry.Retry,
|
|
2018
|
+
}));
|
|
2019
|
+
/** Get the encoding, length and number of SMS parts of a text message */
|
|
2020
|
+
export const createSmsEstimate = /*@__PURE__*/ API.make(() => ({
|
|
2021
|
+
input: CreateSmsEstimateRequest,
|
|
2022
|
+
output: SmsJobEstimate,
|
|
2023
|
+
errors: [UnknownOvhError],
|
|
2024
|
+
protocol: OvhProtocol,
|
|
2025
|
+
retry: Retry.Retry,
|
|
2026
|
+
}));
|
|
2027
|
+
/** Add one or several sending hlr lookup request */
|
|
2028
|
+
export const createSmsHlr = /*@__PURE__*/ API.make(() => ({
|
|
2029
|
+
input: CreateSmsHlrRequest,
|
|
2030
|
+
output: SmsSmsSendingReport,
|
|
2031
|
+
errors: [UnknownOvhError],
|
|
2032
|
+
protocol: OvhProtocol,
|
|
2033
|
+
retry: Retry.Retry,
|
|
2034
|
+
}));
|
|
2035
|
+
/** Add one or several sending jobs */
|
|
2036
|
+
export const createSmsJob = /*@__PURE__*/ API.make(() => ({
|
|
2037
|
+
input: CreateSmsJobRequest,
|
|
2038
|
+
output: SmsSmsSendingReport,
|
|
2039
|
+
errors: [UnknownOvhError],
|
|
2040
|
+
protocol: OvhProtocol,
|
|
2041
|
+
retry: Retry.Retry,
|
|
2042
|
+
}));
|
|
2043
|
+
/** Add a phonebook. Return the bookKey. */
|
|
2044
|
+
export const createSmsPhonebook = /*@__PURE__*/ API.make(() => ({
|
|
2045
|
+
input: CreateSmsPhonebookRequest,
|
|
2046
|
+
output: CreateSmsPhonebookResponse,
|
|
2047
|
+
errors: [UnknownOvhError],
|
|
2048
|
+
protocol: OvhProtocol,
|
|
2049
|
+
retry: Retry.Retry,
|
|
2050
|
+
}));
|
|
2051
|
+
/** Create a phonebook contact. Return identifier of the phonebook contact. */
|
|
2052
|
+
export const createSmsPhonebookPhonebookContact = /*@__PURE__*/ API.make(() => ({
|
|
2053
|
+
input: CreateSmsPhonebookPhonebookContactRequest,
|
|
2054
|
+
output: CreateSmsPhonebookPhonebookContactResponse,
|
|
2055
|
+
errors: [UnknownOvhError],
|
|
2056
|
+
protocol: OvhProtocol,
|
|
2057
|
+
retry: Retry.Retry,
|
|
2058
|
+
}));
|
|
2059
|
+
/** Add a new document of csv receivers */
|
|
2060
|
+
export const createSmsReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2061
|
+
input: CreateSmsReceiverRequest,
|
|
2062
|
+
output: SmsReceiver,
|
|
2063
|
+
errors: [UnknownOvhError],
|
|
2064
|
+
protocol: OvhProtocol,
|
|
2065
|
+
retry: Retry.Retry,
|
|
2066
|
+
}));
|
|
2067
|
+
/** Clean the invalid and inactive receivers in the document by requesting HLR on each receiver Clean the invalid and inactive receivers in the document by requesting HLR on each receiver. A report is sent by e-mail at the end of the operation. */
|
|
2068
|
+
export const createSmsReceiverClean = /*@__PURE__*/ API.make(() => ({
|
|
2069
|
+
input: CreateSmsReceiverCleanRequest,
|
|
2070
|
+
output: SmsReceiversAsynchronousCleanReport,
|
|
2071
|
+
errors: [UnknownOvhError],
|
|
2072
|
+
protocol: OvhProtocol,
|
|
2073
|
+
retry: Retry.Retry,
|
|
2074
|
+
}));
|
|
2075
|
+
/** Create the sms sender given */
|
|
2076
|
+
export const createSmsSender = /*@__PURE__*/ API.make(() => ({
|
|
2077
|
+
input: CreateSmsSenderRequest,
|
|
2078
|
+
output: CreateSmsSenderResponse,
|
|
2079
|
+
errors: [UnknownOvhError],
|
|
2080
|
+
protocol: OvhProtocol,
|
|
2081
|
+
retry: Retry.Retry,
|
|
2082
|
+
}));
|
|
2083
|
+
/** Create a new empty document */
|
|
2084
|
+
export const createSmsSenderDocument = /*@__PURE__*/ API.make(() => ({
|
|
2085
|
+
input: CreateSmsSenderDocumentRequest,
|
|
2086
|
+
output: SmsSenderDocument,
|
|
2087
|
+
errors: [UnknownOvhError],
|
|
2088
|
+
protocol: OvhProtocol,
|
|
2089
|
+
retry: Retry.Retry,
|
|
2090
|
+
}));
|
|
2091
|
+
/** Renew SMPP password */
|
|
2092
|
+
export const createSmsSmppPassword = /*@__PURE__*/ API.make(() => ({
|
|
2093
|
+
input: CreateSmsSmppPasswordRequest,
|
|
2094
|
+
output: CreateSmsSmppPasswordResponse,
|
|
2095
|
+
errors: [UnknownOvhError],
|
|
2096
|
+
protocol: OvhProtocol,
|
|
2097
|
+
retry: Retry.Retry,
|
|
2098
|
+
}));
|
|
2099
|
+
/** Create the sms template control given */
|
|
2100
|
+
export const createSmsTemplatesControl = /*@__PURE__*/ API.make(() => ({
|
|
2101
|
+
input: CreateSmsTemplatesControlRequest,
|
|
2102
|
+
output: CreateSmsTemplatesControlResponse,
|
|
2103
|
+
errors: [UnknownOvhError],
|
|
2104
|
+
protocol: OvhProtocol,
|
|
2105
|
+
retry: Retry.Retry,
|
|
2106
|
+
}));
|
|
2107
|
+
/** Attempt a new validation after moderation refusal */
|
|
2108
|
+
export const createSmsTemplatesControlRelaunchValidation = /*@__PURE__*/ API.make(() => ({
|
|
2109
|
+
input: CreateSmsTemplatesControlRelaunchValidationRequest,
|
|
2110
|
+
output: CreateSmsTemplatesControlRelaunchValidationResponse,
|
|
2111
|
+
errors: [UnknownOvhError],
|
|
2112
|
+
protocol: OvhProtocol,
|
|
2113
|
+
retry: Retry.Retry,
|
|
2114
|
+
}));
|
|
2115
|
+
/** Create a new user for an sms account */
|
|
2116
|
+
export const createSmsUser = /*@__PURE__*/ API.make(() => ({
|
|
2117
|
+
input: CreateSmsUserRequest,
|
|
2118
|
+
output: CreateSmsUserResponse,
|
|
2119
|
+
errors: [UnknownOvhError],
|
|
2120
|
+
protocol: OvhProtocol,
|
|
2121
|
+
retry: Retry.Retry,
|
|
2122
|
+
}));
|
|
2123
|
+
/** Add one or several sending jobs */
|
|
2124
|
+
export const createSmsUserJob = /*@__PURE__*/ API.make(() => ({
|
|
2125
|
+
input: CreateSmsUserJobRequest,
|
|
2126
|
+
output: SmsSmsSendingReport,
|
|
2127
|
+
errors: [UnknownOvhError],
|
|
2128
|
+
protocol: OvhProtocol,
|
|
2129
|
+
retry: Retry.Retry,
|
|
2130
|
+
}));
|
|
2131
|
+
/** Add a new document of csv receivers */
|
|
2132
|
+
export const createSmsUserReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2133
|
+
input: CreateSmsUserReceiverRequest,
|
|
2134
|
+
output: SmsReceiver,
|
|
2135
|
+
errors: [UnknownOvhError],
|
|
2136
|
+
protocol: OvhProtocol,
|
|
2137
|
+
retry: Retry.Retry,
|
|
2138
|
+
}));
|
|
2139
|
+
/** Clean the invalid and inactive receivers in the document by requesting HLR on each receiver Clean the invalid and inactive receivers in the document by requesting HLR on each receiver. A report is sent by e-mail at the end of the operation. */
|
|
2140
|
+
export const createSmsUserReceiverClean = /*@__PURE__*/ API.make(() => ({
|
|
2141
|
+
input: CreateSmsUserReceiverCleanRequest,
|
|
2142
|
+
output: SmsReceiversAsynchronousCleanReport,
|
|
2143
|
+
errors: [UnknownOvhError],
|
|
2144
|
+
protocol: OvhProtocol,
|
|
2145
|
+
retry: Retry.Retry,
|
|
2146
|
+
}));
|
|
2147
|
+
/** Create a new web access for this ressource */
|
|
2148
|
+
export const createSmsVirtualNumberChatAccess = /*@__PURE__*/ API.make(() => ({
|
|
2149
|
+
input: CreateSmsVirtualNumberChatAccessRequest,
|
|
2150
|
+
output: SmsChatAccess,
|
|
2151
|
+
errors: [UnknownOvhError],
|
|
2152
|
+
protocol: OvhProtocol,
|
|
2153
|
+
retry: Retry.Retry,
|
|
2154
|
+
}));
|
|
2155
|
+
/** Add one or several sending jobs */
|
|
2156
|
+
export const createSmsVirtualNumberJob = /*@__PURE__*/ API.make(() => ({
|
|
2157
|
+
input: CreateSmsVirtualNumberJobRequest,
|
|
2158
|
+
output: SmsSmsSendingReport,
|
|
2159
|
+
errors: [UnknownOvhError],
|
|
2160
|
+
protocol: OvhProtocol,
|
|
2161
|
+
retry: Retry.Retry,
|
|
2162
|
+
}));
|
|
2163
|
+
/** Remove a batch */
|
|
2164
|
+
export const deleteSmsBatch = /*@__PURE__*/ API.make(() => ({
|
|
2165
|
+
input: DeleteSmsBatchRequest,
|
|
2166
|
+
output: DeleteSmsBatchResponse,
|
|
2167
|
+
errors: [UnknownOvhError],
|
|
2168
|
+
protocol: OvhProtocol,
|
|
2169
|
+
retry: Retry.Retry,
|
|
2170
|
+
}));
|
|
2171
|
+
/** Delete the blacklisted sms number given */
|
|
2172
|
+
export const deleteSmsBlacklist = /*@__PURE__*/ API.make(() => ({
|
|
2173
|
+
input: DeleteSmsBlacklistRequest,
|
|
2174
|
+
output: DeleteSmsBlacklistResponse,
|
|
2175
|
+
errors: [UnknownOvhError],
|
|
2176
|
+
protocol: OvhProtocol,
|
|
2177
|
+
retry: Retry.Retry,
|
|
2178
|
+
}));
|
|
2179
|
+
/** Delete the sms incoming history given */
|
|
2180
|
+
export const deleteSmsIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2181
|
+
input: DeleteSmsIncomingRequest,
|
|
2182
|
+
output: DeleteSmsIncomingResponse,
|
|
2183
|
+
errors: [UnknownOvhError],
|
|
2184
|
+
protocol: OvhProtocol,
|
|
2185
|
+
retry: Retry.Retry,
|
|
2186
|
+
}));
|
|
2187
|
+
/** Delete the sms job given (stop sending) */
|
|
2188
|
+
export const deleteSmsJob = /*@__PURE__*/ API.make(() => ({
|
|
2189
|
+
input: DeleteSmsJobRequest,
|
|
2190
|
+
output: DeleteSmsJobResponse,
|
|
2191
|
+
errors: [UnknownOvhError],
|
|
2192
|
+
protocol: OvhProtocol,
|
|
2193
|
+
retry: Retry.Retry,
|
|
2194
|
+
}));
|
|
2195
|
+
/** Delete outgoing SMS from history */
|
|
2196
|
+
export const deleteSmsOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2197
|
+
input: DeleteSmsOutgoingRequest,
|
|
2198
|
+
output: DeleteSmsOutgoingResponse,
|
|
2199
|
+
errors: [UnknownOvhError],
|
|
2200
|
+
protocol: OvhProtocol,
|
|
2201
|
+
retry: Retry.Retry,
|
|
2202
|
+
}));
|
|
2203
|
+
/** Delete a phonebook */
|
|
2204
|
+
export const deleteSmsPhonebook = /*@__PURE__*/ API.make(() => ({
|
|
2205
|
+
input: DeleteSmsPhonebookRequest,
|
|
2206
|
+
output: DeleteSmsPhonebookResponse,
|
|
2207
|
+
errors: [UnknownOvhError],
|
|
2208
|
+
protocol: OvhProtocol,
|
|
2209
|
+
retry: Retry.Retry,
|
|
2210
|
+
}));
|
|
2211
|
+
/** Delete a phonebook contact */
|
|
2212
|
+
export const deleteSmsPhonebookPhonebookContact = /*@__PURE__*/ API.make(() => ({
|
|
2213
|
+
input: DeleteSmsPhonebookPhonebookContactRequest,
|
|
2214
|
+
output: DeleteSmsPhonebookPhonebookContactResponse,
|
|
2215
|
+
errors: [UnknownOvhError],
|
|
2216
|
+
protocol: OvhProtocol,
|
|
2217
|
+
retry: Retry.Retry,
|
|
2218
|
+
}));
|
|
2219
|
+
/** Delete the document from the slot */
|
|
2220
|
+
export const deleteSmsReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2221
|
+
input: DeleteSmsReceiverRequest,
|
|
2222
|
+
output: DeleteSmsReceiverResponse,
|
|
2223
|
+
errors: [UnknownOvhError],
|
|
2224
|
+
protocol: OvhProtocol,
|
|
2225
|
+
retry: Retry.Retry,
|
|
2226
|
+
}));
|
|
2227
|
+
/** Delete the sms sender given */
|
|
2228
|
+
export const deleteSmsSender = /*@__PURE__*/ API.make(() => ({
|
|
2229
|
+
input: DeleteSmsSenderRequest,
|
|
2230
|
+
output: DeleteSmsSenderResponse,
|
|
2231
|
+
errors: [UnknownOvhError],
|
|
2232
|
+
protocol: OvhProtocol,
|
|
2233
|
+
retry: Retry.Retry,
|
|
2234
|
+
}));
|
|
2235
|
+
/** Delete the sms template control */
|
|
2236
|
+
export const deleteSmsTemplatesControl = /*@__PURE__*/ API.make(() => ({
|
|
2237
|
+
input: DeleteSmsTemplatesControlRequest,
|
|
2238
|
+
output: DeleteSmsTemplatesControlResponse,
|
|
2239
|
+
errors: [UnknownOvhError],
|
|
2240
|
+
protocol: OvhProtocol,
|
|
2241
|
+
retry: Retry.Retry,
|
|
2242
|
+
}));
|
|
2243
|
+
/** Delete the sms user given */
|
|
2244
|
+
export const deleteSmsUser = /*@__PURE__*/ API.make(() => ({
|
|
2245
|
+
input: DeleteSmsUserRequest,
|
|
2246
|
+
output: DeleteSmsUserResponse,
|
|
2247
|
+
errors: [UnknownOvhError],
|
|
2248
|
+
protocol: OvhProtocol,
|
|
2249
|
+
retry: Retry.Retry,
|
|
2250
|
+
}));
|
|
2251
|
+
/** Delete the sms incoming history given */
|
|
2252
|
+
export const deleteSmsUserIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2253
|
+
input: DeleteSmsUserIncomingRequest,
|
|
2254
|
+
output: DeleteSmsUserIncomingResponse,
|
|
2255
|
+
errors: [UnknownOvhError],
|
|
2256
|
+
protocol: OvhProtocol,
|
|
2257
|
+
retry: Retry.Retry,
|
|
2258
|
+
}));
|
|
2259
|
+
/** Delete the sms job given (stop sending) */
|
|
2260
|
+
export const deleteSmsUserJob = /*@__PURE__*/ API.make(() => ({
|
|
2261
|
+
input: DeleteSmsUserJobRequest,
|
|
2262
|
+
output: DeleteSmsUserJobResponse,
|
|
2263
|
+
errors: [UnknownOvhError],
|
|
2264
|
+
protocol: OvhProtocol,
|
|
2265
|
+
retry: Retry.Retry,
|
|
2266
|
+
}));
|
|
2267
|
+
/** Delete the sms outgoing history given */
|
|
2268
|
+
export const deleteSmsUserOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2269
|
+
input: DeleteSmsUserOutgoingRequest,
|
|
2270
|
+
output: DeleteSmsUserOutgoingResponse,
|
|
2271
|
+
errors: [UnknownOvhError],
|
|
2272
|
+
protocol: OvhProtocol,
|
|
2273
|
+
retry: Retry.Retry,
|
|
2274
|
+
}));
|
|
2275
|
+
/** Delete the document from the slot */
|
|
2276
|
+
export const deleteSmsUserReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2277
|
+
input: DeleteSmsUserReceiverRequest,
|
|
2278
|
+
output: DeleteSmsUserReceiverResponse,
|
|
2279
|
+
errors: [UnknownOvhError],
|
|
2280
|
+
protocol: OvhProtocol,
|
|
2281
|
+
retry: Retry.Retry,
|
|
2282
|
+
}));
|
|
2283
|
+
/** Delete the given web access */
|
|
2284
|
+
export const deleteSmsVirtualNumberChatAccess = /*@__PURE__*/ API.make(() => ({
|
|
2285
|
+
input: DeleteSmsVirtualNumberChatAccessRequest,
|
|
2286
|
+
output: DeleteSmsVirtualNumberChatAccessResponse,
|
|
2287
|
+
errors: [UnknownOvhError],
|
|
2288
|
+
protocol: OvhProtocol,
|
|
2289
|
+
retry: Retry.Retry,
|
|
2290
|
+
}));
|
|
2291
|
+
/** Delete the sms incoming history given */
|
|
2292
|
+
export const deleteSmsVirtualNumberIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2293
|
+
input: DeleteSmsVirtualNumberIncomingRequest,
|
|
2294
|
+
output: DeleteSmsVirtualNumberIncomingResponse,
|
|
2295
|
+
errors: [UnknownOvhError],
|
|
2296
|
+
protocol: OvhProtocol,
|
|
2297
|
+
retry: Retry.Retry,
|
|
2298
|
+
}));
|
|
2299
|
+
/** Delete the sms job given (stop sending) */
|
|
2300
|
+
export const deleteSmsVirtualNumberJob = /*@__PURE__*/ API.make(() => ({
|
|
2301
|
+
input: DeleteSmsVirtualNumberJobRequest,
|
|
2302
|
+
output: DeleteSmsVirtualNumberJobResponse,
|
|
2303
|
+
errors: [UnknownOvhError],
|
|
2304
|
+
protocol: OvhProtocol,
|
|
2305
|
+
retry: Retry.Retry,
|
|
2306
|
+
}));
|
|
2307
|
+
/** Delete the sms outgoing history given */
|
|
2308
|
+
export const deleteSmsVirtualNumberOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2309
|
+
input: DeleteSmsVirtualNumberOutgoingRequest,
|
|
2310
|
+
output: DeleteSmsVirtualNumberOutgoingResponse,
|
|
2311
|
+
errors: [UnknownOvhError],
|
|
2312
|
+
protocol: OvhProtocol,
|
|
2313
|
+
retry: Retry.Retry,
|
|
2314
|
+
}));
|
|
2315
|
+
/** Get this object properties */
|
|
2316
|
+
export const getSms = /*@__PURE__*/ API.make(() => ({
|
|
2317
|
+
input: GetSmsRequest,
|
|
2318
|
+
output: SmsAccountWithIAM,
|
|
2319
|
+
errors: [UnknownOvhError],
|
|
2320
|
+
protocol: OvhProtocol,
|
|
2321
|
+
retry: Retry.Retry,
|
|
2322
|
+
}));
|
|
2323
|
+
/** Get a batch */
|
|
2324
|
+
export const getSmsBatch = /*@__PURE__*/ API.make(() => ({
|
|
2325
|
+
input: GetSmsBatchRequest,
|
|
2326
|
+
output: SmsBatch,
|
|
2327
|
+
errors: [UnknownOvhError],
|
|
2328
|
+
protocol: OvhProtocol,
|
|
2329
|
+
retry: Retry.Retry,
|
|
2330
|
+
}));
|
|
2331
|
+
/** Batch's statistics */
|
|
2332
|
+
export const getSmsBatchStatistics = /*@__PURE__*/ API.make(() => ({
|
|
2333
|
+
input: GetSmsBatchStatisticsRequest,
|
|
2334
|
+
output: SmsBatchStatistics,
|
|
2335
|
+
errors: [UnknownOvhError],
|
|
2336
|
+
protocol: OvhProtocol,
|
|
2337
|
+
retry: Retry.Retry,
|
|
2338
|
+
}));
|
|
2339
|
+
/** Get this object properties */
|
|
2340
|
+
export const getSmsBlacklist = /*@__PURE__*/ API.make(() => ({
|
|
2341
|
+
input: GetSmsBlacklistRequest,
|
|
2342
|
+
output: SmsBlacklist,
|
|
2343
|
+
errors: [UnknownOvhError],
|
|
2344
|
+
protocol: OvhProtocol,
|
|
2345
|
+
retry: Retry.Retry,
|
|
2346
|
+
}));
|
|
2347
|
+
/** Get the /me/document id generated */
|
|
2348
|
+
export const getSmsDocument = /*@__PURE__*/ API.make(() => ({
|
|
2349
|
+
input: GetSmsDocumentRequest,
|
|
2350
|
+
output: GetSmsDocumentResponse,
|
|
2351
|
+
errors: [UnknownOvhError],
|
|
2352
|
+
protocol: OvhProtocol,
|
|
2353
|
+
retry: Retry.Retry,
|
|
2354
|
+
}));
|
|
2355
|
+
/** Get this object properties */
|
|
2356
|
+
export const getSmsHlr = /*@__PURE__*/ API.make(() => ({
|
|
2357
|
+
input: GetSmsHlrRequest,
|
|
2358
|
+
output: SmsHlrLookupNumber,
|
|
2359
|
+
errors: [UnknownOvhError],
|
|
2360
|
+
protocol: OvhProtocol,
|
|
2361
|
+
retry: Retry.Retry,
|
|
2362
|
+
}));
|
|
2363
|
+
/** Get this object properties */
|
|
2364
|
+
export const getSmsHlrOperator = /*@__PURE__*/ API.make(() => ({
|
|
2365
|
+
input: GetSmsHlrOperatorRequest,
|
|
2366
|
+
output: SmsHlr,
|
|
2367
|
+
errors: [UnknownOvhError],
|
|
2368
|
+
protocol: OvhProtocol,
|
|
2369
|
+
retry: Retry.Retry,
|
|
2370
|
+
}));
|
|
2371
|
+
/** Get this object properties */
|
|
2372
|
+
export const getSmsIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2373
|
+
input: GetSmsIncomingRequest,
|
|
2374
|
+
output: SmsIncoming,
|
|
2375
|
+
errors: [UnknownOvhError],
|
|
2376
|
+
protocol: OvhProtocol,
|
|
2377
|
+
retry: Retry.Retry,
|
|
2378
|
+
}));
|
|
2379
|
+
/** Get this object properties */
|
|
2380
|
+
export const getSmsJob = /*@__PURE__*/ API.make(() => ({
|
|
2381
|
+
input: GetSmsJobRequest,
|
|
2382
|
+
output: SmsJob,
|
|
2383
|
+
errors: [UnknownOvhError],
|
|
2384
|
+
protocol: OvhProtocol,
|
|
2385
|
+
retry: Retry.Retry,
|
|
2386
|
+
}));
|
|
2387
|
+
/** Get SMS details */
|
|
2388
|
+
export const getSmsOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2389
|
+
input: GetSmsOutgoingRequest,
|
|
2390
|
+
output: SmsOutgoing,
|
|
2391
|
+
errors: [UnknownOvhError],
|
|
2392
|
+
protocol: OvhProtocol,
|
|
2393
|
+
retry: Retry.Retry,
|
|
2394
|
+
}));
|
|
2395
|
+
/** Get this object properties */
|
|
2396
|
+
export const getSmsOutgoingHlr = /*@__PURE__*/ API.make(() => ({
|
|
2397
|
+
input: GetSmsOutgoingHlrRequest,
|
|
2398
|
+
output: SmsHlr,
|
|
2399
|
+
errors: [UnknownOvhError],
|
|
2400
|
+
protocol: OvhProtocol,
|
|
2401
|
+
retry: Retry.Retry,
|
|
2402
|
+
}));
|
|
2403
|
+
/** Get this object properties */
|
|
2404
|
+
export const getSmsPhonebook = /*@__PURE__*/ API.make(() => ({
|
|
2405
|
+
input: GetSmsPhonebookRequest,
|
|
2406
|
+
output: SmsPhonebook,
|
|
2407
|
+
errors: [UnknownOvhError],
|
|
2408
|
+
protocol: OvhProtocol,
|
|
2409
|
+
retry: Retry.Retry,
|
|
2410
|
+
}));
|
|
2411
|
+
/** Export the phonebook's contacts */
|
|
2412
|
+
export const getSmsPhonebookExport = /*@__PURE__*/ API.make(() => ({
|
|
2413
|
+
input: GetSmsPhonebookExportRequest,
|
|
2414
|
+
output: TelephonyPcsFile,
|
|
2415
|
+
errors: [UnknownOvhError],
|
|
2416
|
+
protocol: OvhProtocol,
|
|
2417
|
+
retry: Retry.Retry,
|
|
2418
|
+
}));
|
|
2419
|
+
/** Get this object properties */
|
|
2420
|
+
export const getSmsPhonebookPhonebookContact = /*@__PURE__*/ API.make(() => ({
|
|
2421
|
+
input: GetSmsPhonebookPhonebookContactRequest,
|
|
2422
|
+
output: SmsPhonebookContact,
|
|
2423
|
+
errors: [UnknownOvhError],
|
|
2424
|
+
protocol: OvhProtocol,
|
|
2425
|
+
retry: Retry.Retry,
|
|
2426
|
+
}));
|
|
2427
|
+
/** Get informations about the given ptt code */
|
|
2428
|
+
export const getSmsPtts = /*@__PURE__*/ API.make(() => ({
|
|
2429
|
+
input: GetSmsPttsRequest,
|
|
2430
|
+
output: SmsPttDetails,
|
|
2431
|
+
errors: [UnknownOvhError],
|
|
2432
|
+
protocol: OvhProtocol,
|
|
2433
|
+
retry: Retry.Retry,
|
|
2434
|
+
}));
|
|
2435
|
+
/** Get the prices and credits to send a SMS towards given country */
|
|
2436
|
+
export const getSmsRateDestinations = /*@__PURE__*/ API.make(() => ({
|
|
2437
|
+
input: GetSmsRateDestinationsRequest,
|
|
2438
|
+
output: SmsDestinationRates,
|
|
2439
|
+
errors: [UnknownOvhError],
|
|
2440
|
+
protocol: OvhProtocol,
|
|
2441
|
+
retry: Retry.Retry,
|
|
2442
|
+
}));
|
|
2443
|
+
/** Get this object properties */
|
|
2444
|
+
export const getSmsReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2445
|
+
input: GetSmsReceiverRequest,
|
|
2446
|
+
output: SmsReceiver,
|
|
2447
|
+
errors: [UnknownOvhError],
|
|
2448
|
+
protocol: OvhProtocol,
|
|
2449
|
+
retry: Retry.Retry,
|
|
2450
|
+
}));
|
|
2451
|
+
/** Get the document data container */
|
|
2452
|
+
export const getSmsReceiverCsv = /*@__PURE__*/ API.make(() => ({
|
|
2453
|
+
input: GetSmsReceiverCsvRequest,
|
|
2454
|
+
output: GetSmsReceiverCsvResponse,
|
|
2455
|
+
errors: [UnknownOvhError],
|
|
2456
|
+
protocol: OvhProtocol,
|
|
2457
|
+
retry: Retry.Retry,
|
|
2458
|
+
}));
|
|
2459
|
+
/** Get this object properties */
|
|
2460
|
+
export const getSmsSender = /*@__PURE__*/ API.make(() => ({
|
|
2461
|
+
input: GetSmsSenderRequest,
|
|
2462
|
+
output: SmsSender,
|
|
2463
|
+
errors: [UnknownOvhError],
|
|
2464
|
+
protocol: OvhProtocol,
|
|
2465
|
+
retry: Retry.Retry,
|
|
2466
|
+
}));
|
|
2467
|
+
/** Get this object properties */
|
|
2468
|
+
export const getSmsSenderDocument = /*@__PURE__*/ API.make(() => ({
|
|
2469
|
+
input: GetSmsSenderDocumentRequest,
|
|
2470
|
+
output: SmsSenderDocument,
|
|
2471
|
+
errors: [UnknownOvhError],
|
|
2472
|
+
protocol: OvhProtocol,
|
|
2473
|
+
retry: Retry.Retry,
|
|
2474
|
+
}));
|
|
2475
|
+
/** Get service information */
|
|
2476
|
+
export const getSmsServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
2477
|
+
input: GetSmsServiceInfosRequest,
|
|
2478
|
+
output: ServicesService,
|
|
2479
|
+
errors: [UnknownOvhError],
|
|
2480
|
+
protocol: OvhProtocol,
|
|
2481
|
+
retry: Retry.Retry,
|
|
2482
|
+
}));
|
|
2483
|
+
/** Get SMPP settings */
|
|
2484
|
+
export const getSmsSmppSettings = /*@__PURE__*/ API.make(() => ({
|
|
2485
|
+
input: GetSmsSmppSettingsRequest,
|
|
2486
|
+
output: SmsSettings,
|
|
2487
|
+
errors: [UnknownOvhError],
|
|
2488
|
+
protocol: OvhProtocol,
|
|
2489
|
+
retry: Retry.Retry,
|
|
2490
|
+
}));
|
|
2491
|
+
/** Get this object properties */
|
|
2492
|
+
export const getSmsTask = /*@__PURE__*/ API.make(() => ({
|
|
2493
|
+
input: GetSmsTaskRequest,
|
|
2494
|
+
output: SmsTask,
|
|
2495
|
+
errors: [UnknownOvhError],
|
|
2496
|
+
protocol: OvhProtocol,
|
|
2497
|
+
retry: Retry.Retry,
|
|
2498
|
+
}));
|
|
2499
|
+
/** Get this object properties */
|
|
2500
|
+
export const getSmsTemplatesControl = /*@__PURE__*/ API.make(() => ({
|
|
2501
|
+
input: GetSmsTemplatesControlRequest,
|
|
2502
|
+
output: SmsTemplateControl,
|
|
2503
|
+
errors: [UnknownOvhError],
|
|
2504
|
+
protocol: OvhProtocol,
|
|
2505
|
+
retry: Retry.Retry,
|
|
2506
|
+
}));
|
|
2507
|
+
/** Get this object properties */
|
|
2508
|
+
export const getSmsUser = /*@__PURE__*/ API.make(() => ({
|
|
2509
|
+
input: GetSmsUserRequest,
|
|
2510
|
+
output: SmsUser,
|
|
2511
|
+
errors: [UnknownOvhError],
|
|
2512
|
+
protocol: OvhProtocol,
|
|
2513
|
+
retry: Retry.Retry,
|
|
2514
|
+
}));
|
|
2515
|
+
/** Get the /me/document id generated */
|
|
2516
|
+
export const getSmsUserDocument = /*@__PURE__*/ API.make(() => ({
|
|
2517
|
+
input: GetSmsUserDocumentRequest,
|
|
2518
|
+
output: GetSmsUserDocumentResponse,
|
|
2519
|
+
errors: [UnknownOvhError],
|
|
2520
|
+
protocol: OvhProtocol,
|
|
2521
|
+
retry: Retry.Retry,
|
|
2522
|
+
}));
|
|
2523
|
+
/** Get this object properties */
|
|
2524
|
+
export const getSmsUserIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2525
|
+
input: GetSmsUserIncomingRequest,
|
|
2526
|
+
output: SmsIncoming,
|
|
2527
|
+
errors: [UnknownOvhError],
|
|
2528
|
+
protocol: OvhProtocol,
|
|
2529
|
+
retry: Retry.Retry,
|
|
2530
|
+
}));
|
|
2531
|
+
/** Get this object properties */
|
|
2532
|
+
export const getSmsUserJob = /*@__PURE__*/ API.make(() => ({
|
|
2533
|
+
input: GetSmsUserJobRequest,
|
|
2534
|
+
output: SmsJob,
|
|
2535
|
+
errors: [UnknownOvhError],
|
|
2536
|
+
protocol: OvhProtocol,
|
|
2537
|
+
retry: Retry.Retry,
|
|
2538
|
+
}));
|
|
2539
|
+
/** Get this object properties */
|
|
2540
|
+
export const getSmsUserOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2541
|
+
input: GetSmsUserOutgoingRequest,
|
|
2542
|
+
output: SmsOutgoing,
|
|
2543
|
+
errors: [UnknownOvhError],
|
|
2544
|
+
protocol: OvhProtocol,
|
|
2545
|
+
retry: Retry.Retry,
|
|
2546
|
+
}));
|
|
2547
|
+
/** Get this object properties */
|
|
2548
|
+
export const getSmsUserOutgoingHlr = /*@__PURE__*/ API.make(() => ({
|
|
2549
|
+
input: GetSmsUserOutgoingHlrRequest,
|
|
2550
|
+
output: SmsHlr,
|
|
2551
|
+
errors: [UnknownOvhError],
|
|
2552
|
+
protocol: OvhProtocol,
|
|
2553
|
+
retry: Retry.Retry,
|
|
2554
|
+
}));
|
|
2555
|
+
/** Get this object properties */
|
|
2556
|
+
export const getSmsUserReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2557
|
+
input: GetSmsUserReceiverRequest,
|
|
2558
|
+
output: SmsReceiver,
|
|
2559
|
+
errors: [UnknownOvhError],
|
|
2560
|
+
protocol: OvhProtocol,
|
|
2561
|
+
retry: Retry.Retry,
|
|
2562
|
+
}));
|
|
2563
|
+
/** Get the document data container */
|
|
2564
|
+
export const getSmsUserReceiverCsv = /*@__PURE__*/ API.make(() => ({
|
|
2565
|
+
input: GetSmsUserReceiverCsvRequest,
|
|
2566
|
+
output: GetSmsUserReceiverCsvResponse,
|
|
2567
|
+
errors: [UnknownOvhError],
|
|
2568
|
+
protocol: OvhProtocol,
|
|
2569
|
+
retry: Retry.Retry,
|
|
2570
|
+
}));
|
|
2571
|
+
/** Get this object properties */
|
|
2572
|
+
export const getSmsVirtualNumber = /*@__PURE__*/ API.make(() => ({
|
|
2573
|
+
input: GetSmsVirtualNumberRequest,
|
|
2574
|
+
output: SmsVirtualNumberGenericServiceWithIAM,
|
|
2575
|
+
errors: [UnknownOvhError],
|
|
2576
|
+
protocol: OvhProtocol,
|
|
2577
|
+
retry: Retry.Retry,
|
|
2578
|
+
}));
|
|
2579
|
+
/** Get this object properties */
|
|
2580
|
+
export const getSmsVirtualNumberByNumber = /*@__PURE__*/ API.make(() => ({
|
|
2581
|
+
input: GetSmsVirtualNumberByNumberRequest,
|
|
2582
|
+
output: SmsVirtualNumber,
|
|
2583
|
+
errors: [UnknownOvhError],
|
|
2584
|
+
protocol: OvhProtocol,
|
|
2585
|
+
retry: Retry.Retry,
|
|
2586
|
+
}));
|
|
2587
|
+
/** Get this object properties */
|
|
2588
|
+
export const getSmsVirtualNumberChatAccess = /*@__PURE__*/ API.make(() => ({
|
|
2589
|
+
input: GetSmsVirtualNumberChatAccessRequest,
|
|
2590
|
+
output: SmsChatAccess,
|
|
2591
|
+
errors: [UnknownOvhError],
|
|
2592
|
+
protocol: OvhProtocol,
|
|
2593
|
+
retry: Retry.Retry,
|
|
2594
|
+
}));
|
|
2595
|
+
/** Get this object properties */
|
|
2596
|
+
export const getSmsVirtualNumberIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2597
|
+
input: GetSmsVirtualNumberIncomingRequest,
|
|
2598
|
+
output: SmsIncoming,
|
|
2599
|
+
errors: [UnknownOvhError],
|
|
2600
|
+
protocol: OvhProtocol,
|
|
2601
|
+
retry: Retry.Retry,
|
|
2602
|
+
}));
|
|
2603
|
+
/** Get this object properties */
|
|
2604
|
+
export const getSmsVirtualNumberJob = /*@__PURE__*/ API.make(() => ({
|
|
2605
|
+
input: GetSmsVirtualNumberJobRequest,
|
|
2606
|
+
output: SmsVirtualNumberJob,
|
|
2607
|
+
errors: [UnknownOvhError],
|
|
2608
|
+
protocol: OvhProtocol,
|
|
2609
|
+
retry: Retry.Retry,
|
|
2610
|
+
}));
|
|
2611
|
+
/** Get this object properties */
|
|
2612
|
+
export const getSmsVirtualNumberOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2613
|
+
input: GetSmsVirtualNumberOutgoingRequest,
|
|
2614
|
+
output: SmsOutgoing,
|
|
2615
|
+
errors: [UnknownOvhError],
|
|
2616
|
+
protocol: OvhProtocol,
|
|
2617
|
+
retry: Retry.Retry,
|
|
2618
|
+
}));
|
|
2619
|
+
/** Get this object properties */
|
|
2620
|
+
export const getSmsVirtualNumberOutgoingHlr = /*@__PURE__*/ API.make(() => ({
|
|
2621
|
+
input: GetSmsVirtualNumberOutgoingHlrRequest,
|
|
2622
|
+
output: SmsHlr,
|
|
2623
|
+
errors: [UnknownOvhError],
|
|
2624
|
+
protocol: OvhProtocol,
|
|
2625
|
+
retry: Retry.Retry,
|
|
2626
|
+
}));
|
|
2627
|
+
/** Get service information */
|
|
2628
|
+
export const getSmsVirtualNumberServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
2629
|
+
input: GetSmsVirtualNumberServiceInfosRequest,
|
|
2630
|
+
output: ServicesService,
|
|
2631
|
+
errors: [UnknownOvhError],
|
|
2632
|
+
protocol: OvhProtocol,
|
|
2633
|
+
retry: Retry.Retry,
|
|
2634
|
+
}));
|
|
2635
|
+
/** Import a contacts file. Supported formats are Excel (.xls and .xlsx) and CSV */
|
|
2636
|
+
export const importSmsPhonebook = /*@__PURE__*/ API.make(() => ({
|
|
2637
|
+
input: ImportSmsPhonebookRequest,
|
|
2638
|
+
output: TelephonyTask,
|
|
2639
|
+
errors: [UnknownOvhError],
|
|
2640
|
+
protocol: OvhProtocol,
|
|
2641
|
+
retry: Retry.Retry,
|
|
2642
|
+
}));
|
|
2643
|
+
/** List available services */
|
|
2644
|
+
export const listSms = /*@__PURE__*/ API.make(() => ({
|
|
2645
|
+
input: ListSmsRequest,
|
|
2646
|
+
output: ListSmsResponse,
|
|
2647
|
+
errors: [UnknownOvhError],
|
|
2648
|
+
protocol: OvhProtocol,
|
|
2649
|
+
retry: Retry.Retry,
|
|
2650
|
+
}));
|
|
2651
|
+
/** Get batches list */
|
|
2652
|
+
export const listSmsBatches = /*@__PURE__*/ API.make(() => ({
|
|
2653
|
+
input: ListSmsBatchesRequest,
|
|
2654
|
+
output: ListSmsBatchesResponse,
|
|
2655
|
+
errors: [UnknownOvhError],
|
|
2656
|
+
protocol: OvhProtocol,
|
|
2657
|
+
retry: Retry.Retry,
|
|
2658
|
+
}));
|
|
2659
|
+
/** Numbers blacklisted associated to the sms account */
|
|
2660
|
+
export const listSmsBlacklists = /*@__PURE__*/ API.make(() => ({
|
|
2661
|
+
input: ListSmsBlacklistsRequest,
|
|
2662
|
+
output: ListSmsBlacklistsResponse,
|
|
2663
|
+
errors: [UnknownOvhError],
|
|
2664
|
+
protocol: OvhProtocol,
|
|
2665
|
+
retry: Retry.Retry,
|
|
2666
|
+
}));
|
|
2667
|
+
/** Describe filter exceptions in sms sending from a specific receiver. */
|
|
2668
|
+
export const listSmsExceptions = /*@__PURE__*/ API.make(() => ({
|
|
2669
|
+
input: ListSmsExceptionsRequest,
|
|
2670
|
+
output: ListSmsExceptionsResponse,
|
|
2671
|
+
errors: [UnknownOvhError],
|
|
2672
|
+
protocol: OvhProtocol,
|
|
2673
|
+
retry: Retry.Retry,
|
|
2674
|
+
}));
|
|
2675
|
+
/** Home Location Register informations. Give informations about a given cellular phone. */
|
|
2676
|
+
export const listSmsHlr = /*@__PURE__*/ API.make(() => ({
|
|
2677
|
+
input: ListSmsHlrRequest,
|
|
2678
|
+
output: ListSmsHlrResponse,
|
|
2679
|
+
errors: [UnknownOvhError],
|
|
2680
|
+
protocol: OvhProtocol,
|
|
2681
|
+
retry: Retry.Retry,
|
|
2682
|
+
}));
|
|
2683
|
+
/** Sms received associated to the sms account */
|
|
2684
|
+
export const listSmsIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2685
|
+
input: ListSmsIncomingRequest,
|
|
2686
|
+
output: ListSmsIncomingResponse,
|
|
2687
|
+
errors: [UnknownOvhError],
|
|
2688
|
+
protocol: OvhProtocol,
|
|
2689
|
+
retry: Retry.Retry,
|
|
2690
|
+
}));
|
|
2691
|
+
/** Sms in pending associated to the sms account */
|
|
2692
|
+
export const listSmsJobs = /*@__PURE__*/ API.make(() => ({
|
|
2693
|
+
input: ListSmsJobsRequest,
|
|
2694
|
+
output: ListSmsJobsResponse,
|
|
2695
|
+
errors: [UnknownOvhError],
|
|
2696
|
+
protocol: OvhProtocol,
|
|
2697
|
+
retry: Retry.Retry,
|
|
2698
|
+
}));
|
|
2699
|
+
/** Get SMS list */
|
|
2700
|
+
export const listSmsOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2701
|
+
input: ListSmsOutgoingRequest,
|
|
2702
|
+
output: ListSmsOutgoingResponse,
|
|
2703
|
+
errors: [UnknownOvhError],
|
|
2704
|
+
protocol: OvhProtocol,
|
|
2705
|
+
retry: Retry.Retry,
|
|
2706
|
+
}));
|
|
2707
|
+
/** Phonebook contacts */
|
|
2708
|
+
export const listSmsPhonebookPhonebookContact = /*@__PURE__*/ API.make(() => ({
|
|
2709
|
+
input: ListSmsPhonebookPhonebookContactRequest,
|
|
2710
|
+
output: ListSmsPhonebookPhonebookContactResponse,
|
|
2711
|
+
errors: [UnknownOvhError],
|
|
2712
|
+
protocol: OvhProtocol,
|
|
2713
|
+
retry: Retry.Retry,
|
|
2714
|
+
}));
|
|
2715
|
+
/** Return phonebooks associated to this account */
|
|
2716
|
+
export const listSmsPhonebooks = /*@__PURE__*/ API.make(() => ({
|
|
2717
|
+
input: ListSmsPhonebooksRequest,
|
|
2718
|
+
output: ListSmsPhonebooksResponse,
|
|
2719
|
+
errors: [UnknownOvhError],
|
|
2720
|
+
protocol: OvhProtocol,
|
|
2721
|
+
retry: Retry.Retry,
|
|
2722
|
+
}));
|
|
2723
|
+
/** Get the prices and credits of all the SMS packs with informations about the destination country */
|
|
2724
|
+
export const listSmsRatePacks = /*@__PURE__*/ API.make(() => ({
|
|
2725
|
+
input: ListSmsRatePacksRequest,
|
|
2726
|
+
output: ListSmsRatePacksResponse,
|
|
2727
|
+
errors: [UnknownOvhError],
|
|
2728
|
+
protocol: OvhProtocol,
|
|
2729
|
+
retry: Retry.Retry,
|
|
2730
|
+
}));
|
|
2731
|
+
/** Receivers preloaded from text or csv document file */
|
|
2732
|
+
export const listSmsReceivers = /*@__PURE__*/ API.make(() => ({
|
|
2733
|
+
input: ListSmsReceiversRequest,
|
|
2734
|
+
output: ListSmsReceiversResponse,
|
|
2735
|
+
errors: [UnknownOvhError],
|
|
2736
|
+
protocol: OvhProtocol,
|
|
2737
|
+
retry: Retry.Retry,
|
|
2738
|
+
}));
|
|
2739
|
+
/** Describe SMS offers available. */
|
|
2740
|
+
export const listSmsSeeOffers = /*@__PURE__*/ API.make(() => ({
|
|
2741
|
+
input: ListSmsSeeOffersRequest,
|
|
2742
|
+
output: ListSmsSeeOffersResponse,
|
|
2743
|
+
errors: [UnknownOvhError],
|
|
2744
|
+
protocol: OvhProtocol,
|
|
2745
|
+
retry: Retry.Retry,
|
|
2746
|
+
}));
|
|
2747
|
+
/** Documents linked to SMS sender for validation purpose */
|
|
2748
|
+
export const listSmsSenderDocuments = /*@__PURE__*/ API.make(() => ({
|
|
2749
|
+
input: ListSmsSenderDocumentsRequest,
|
|
2750
|
+
output: ListSmsSenderDocumentsResponse,
|
|
2751
|
+
errors: [UnknownOvhError],
|
|
2752
|
+
protocol: OvhProtocol,
|
|
2753
|
+
retry: Retry.Retry,
|
|
2754
|
+
}));
|
|
2755
|
+
/** Senders allowed associated to the sms account */
|
|
2756
|
+
export const listSmsSenders = /*@__PURE__*/ API.make(() => ({
|
|
2757
|
+
input: ListSmsSendersRequest,
|
|
2758
|
+
output: ListSmsSendersResponse,
|
|
2759
|
+
errors: [UnknownOvhError],
|
|
2760
|
+
protocol: OvhProtocol,
|
|
2761
|
+
retry: Retry.Retry,
|
|
2762
|
+
}));
|
|
2763
|
+
/** The senders that are attached to your personal informations or OVH services and that can be automatically validated */
|
|
2764
|
+
export const listSmsSendersAvailableForValidation = /*@__PURE__*/ API.make(() => ({
|
|
2765
|
+
input: ListSmsSendersAvailableForValidationRequest,
|
|
2766
|
+
output: ListSmsSendersAvailableForValidationResponse,
|
|
2767
|
+
errors: [UnknownOvhError],
|
|
2768
|
+
protocol: OvhProtocol,
|
|
2769
|
+
retry: Retry.Retry,
|
|
2770
|
+
}));
|
|
2771
|
+
/** Get SMPP allowed IPs */
|
|
2772
|
+
export const listSmsSmppAllowedIPs = /*@__PURE__*/ API.make(() => ({
|
|
2773
|
+
input: ListSmsSmppAllowedIPsRequest,
|
|
2774
|
+
output: ListSmsSmppAllowedIPsResponse,
|
|
2775
|
+
errors: [UnknownOvhError],
|
|
2776
|
+
protocol: OvhProtocol,
|
|
2777
|
+
retry: Retry.Retry,
|
|
2778
|
+
}));
|
|
2779
|
+
/** Operations on a SMS service */
|
|
2780
|
+
export const listSmsTask = /*@__PURE__*/ API.make(() => ({
|
|
2781
|
+
input: ListSmsTaskRequest,
|
|
2782
|
+
output: ListSmsTaskResponse,
|
|
2783
|
+
errors: [UnknownOvhError],
|
|
2784
|
+
protocol: OvhProtocol,
|
|
2785
|
+
retry: Retry.Retry,
|
|
2786
|
+
}));
|
|
2787
|
+
/** Template pattern filled up for moderation (Needed to send in US country) */
|
|
2788
|
+
export const listSmsTemplatesControl = /*@__PURE__*/ API.make(() => ({
|
|
2789
|
+
input: ListSmsTemplatesControlRequest,
|
|
2790
|
+
output: ListSmsTemplatesControlResponse,
|
|
2791
|
+
errors: [UnknownOvhError],
|
|
2792
|
+
protocol: OvhProtocol,
|
|
2793
|
+
retry: Retry.Retry,
|
|
2794
|
+
}));
|
|
2795
|
+
/** Sms received associated to the sms user */
|
|
2796
|
+
export const listSmsUserIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2797
|
+
input: ListSmsUserIncomingRequest,
|
|
2798
|
+
output: ListSmsUserIncomingResponse,
|
|
2799
|
+
errors: [UnknownOvhError],
|
|
2800
|
+
protocol: OvhProtocol,
|
|
2801
|
+
retry: Retry.Retry,
|
|
2802
|
+
}));
|
|
2803
|
+
/** Sms in pending associated to the sms user */
|
|
2804
|
+
export const listSmsUserJobs = /*@__PURE__*/ API.make(() => ({
|
|
2805
|
+
input: ListSmsUserJobsRequest,
|
|
2806
|
+
output: ListSmsUserJobsResponse,
|
|
2807
|
+
errors: [UnknownOvhError],
|
|
2808
|
+
protocol: OvhProtocol,
|
|
2809
|
+
retry: Retry.Retry,
|
|
2810
|
+
}));
|
|
2811
|
+
/** Sms sent associated to the sms user */
|
|
2812
|
+
export const listSmsUserOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2813
|
+
input: ListSmsUserOutgoingRequest,
|
|
2814
|
+
output: ListSmsUserOutgoingResponse,
|
|
2815
|
+
errors: [UnknownOvhError],
|
|
2816
|
+
protocol: OvhProtocol,
|
|
2817
|
+
retry: Retry.Retry,
|
|
2818
|
+
}));
|
|
2819
|
+
/** Receivers preloaded from text or csv document file */
|
|
2820
|
+
export const listSmsUserReceivers = /*@__PURE__*/ API.make(() => ({
|
|
2821
|
+
input: ListSmsUserReceiversRequest,
|
|
2822
|
+
output: ListSmsUserReceiversResponse,
|
|
2823
|
+
errors: [UnknownOvhError],
|
|
2824
|
+
protocol: OvhProtocol,
|
|
2825
|
+
retry: Retry.Retry,
|
|
2826
|
+
}));
|
|
2827
|
+
/** Users associated to the sms account */
|
|
2828
|
+
export const listSmsUsers = /*@__PURE__*/ API.make(() => ({
|
|
2829
|
+
input: ListSmsUsersRequest,
|
|
2830
|
+
output: ListSmsUsersResponse,
|
|
2831
|
+
errors: [UnknownOvhError],
|
|
2832
|
+
protocol: OvhProtocol,
|
|
2833
|
+
retry: Retry.Retry,
|
|
2834
|
+
}));
|
|
2835
|
+
/** Sms received associated to the sms account */
|
|
2836
|
+
export const listSmsVirtualNumberIncoming = /*@__PURE__*/ API.make(() => ({
|
|
2837
|
+
input: ListSmsVirtualNumberIncomingRequest,
|
|
2838
|
+
output: ListSmsVirtualNumberIncomingResponse,
|
|
2839
|
+
errors: [UnknownOvhError],
|
|
2840
|
+
protocol: OvhProtocol,
|
|
2841
|
+
retry: Retry.Retry,
|
|
2842
|
+
}));
|
|
2843
|
+
/** Sms in pending associated to the sms account */
|
|
2844
|
+
export const listSmsVirtualNumberJobs = /*@__PURE__*/ API.make(() => ({
|
|
2845
|
+
input: ListSmsVirtualNumberJobsRequest,
|
|
2846
|
+
output: ListSmsVirtualNumberJobsResponse,
|
|
2847
|
+
errors: [UnknownOvhError],
|
|
2848
|
+
protocol: OvhProtocol,
|
|
2849
|
+
retry: Retry.Retry,
|
|
2850
|
+
}));
|
|
2851
|
+
/** Sms sent associated to the sms account */
|
|
2852
|
+
export const listSmsVirtualNumberOutgoing = /*@__PURE__*/ API.make(() => ({
|
|
2853
|
+
input: ListSmsVirtualNumberOutgoingRequest,
|
|
2854
|
+
output: ListSmsVirtualNumberOutgoingResponse,
|
|
2855
|
+
errors: [UnknownOvhError],
|
|
2856
|
+
protocol: OvhProtocol,
|
|
2857
|
+
retry: Retry.Retry,
|
|
2858
|
+
}));
|
|
2859
|
+
/** Your virtual numbers */
|
|
2860
|
+
export const listSmsVirtualNumbers = /*@__PURE__*/ API.make(() => ({
|
|
2861
|
+
input: ListSmsVirtualNumbersRequest,
|
|
2862
|
+
output: ListSmsVirtualNumbersResponse,
|
|
2863
|
+
errors: [UnknownOvhError],
|
|
2864
|
+
protocol: OvhProtocol,
|
|
2865
|
+
retry: Retry.Retry,
|
|
2866
|
+
}));
|
|
2867
|
+
/** Virtual numbers associated to the sms account */
|
|
2868
|
+
export const listSmsVirtualNumbers2 = /*@__PURE__*/ API.make(() => ({
|
|
2869
|
+
input: ListSmsVirtualNumbersRequest2,
|
|
2870
|
+
output: ListSmsVirtualNumbersResponse2,
|
|
2871
|
+
errors: [UnknownOvhError],
|
|
2872
|
+
protocol: OvhProtocol,
|
|
2873
|
+
retry: Retry.Retry,
|
|
2874
|
+
}));
|
|
2875
|
+
/** Alter this object properties */
|
|
2876
|
+
export const putSms = /*@__PURE__*/ API.make(() => ({
|
|
2877
|
+
input: PutSmsRequest,
|
|
2878
|
+
output: PutSmsResponse,
|
|
2879
|
+
errors: [UnknownOvhError],
|
|
2880
|
+
protocol: OvhProtocol,
|
|
2881
|
+
retry: Retry.Retry,
|
|
2882
|
+
}));
|
|
2883
|
+
/** Update a batch */
|
|
2884
|
+
export const putSmsBatch = /*@__PURE__*/ API.make(() => ({
|
|
2885
|
+
input: PutSmsBatchRequest,
|
|
2886
|
+
output: SmsBatch,
|
|
2887
|
+
errors: [UnknownOvhError],
|
|
2888
|
+
protocol: OvhProtocol,
|
|
2889
|
+
retry: Retry.Retry,
|
|
2890
|
+
}));
|
|
2891
|
+
/** Alter this object properties */
|
|
2892
|
+
export const putSmsPhonebook = /*@__PURE__*/ API.make(() => ({
|
|
2893
|
+
input: PutSmsPhonebookRequest,
|
|
2894
|
+
output: PutSmsPhonebookResponse,
|
|
2895
|
+
errors: [UnknownOvhError],
|
|
2896
|
+
protocol: OvhProtocol,
|
|
2897
|
+
retry: Retry.Retry,
|
|
2898
|
+
}));
|
|
2899
|
+
/** Alter this object properties */
|
|
2900
|
+
export const putSmsPhonebookPhonebookContact = /*@__PURE__*/ API.make(() => ({
|
|
2901
|
+
input: PutSmsPhonebookPhonebookContactRequest,
|
|
2902
|
+
output: PutSmsPhonebookPhonebookContactResponse,
|
|
2903
|
+
errors: [UnknownOvhError],
|
|
2904
|
+
protocol: OvhProtocol,
|
|
2905
|
+
retry: Retry.Retry,
|
|
2906
|
+
}));
|
|
2907
|
+
/** Alter this object properties */
|
|
2908
|
+
export const putSmsReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2909
|
+
input: PutSmsReceiverRequest,
|
|
2910
|
+
output: PutSmsReceiverResponse,
|
|
2911
|
+
errors: [UnknownOvhError],
|
|
2912
|
+
protocol: OvhProtocol,
|
|
2913
|
+
retry: Retry.Retry,
|
|
2914
|
+
}));
|
|
2915
|
+
/** Alter this object properties */
|
|
2916
|
+
export const putSmsSender = /*@__PURE__*/ API.make(() => ({
|
|
2917
|
+
input: PutSmsSenderRequest,
|
|
2918
|
+
output: PutSmsSenderResponse,
|
|
2919
|
+
errors: [UnknownOvhError],
|
|
2920
|
+
protocol: OvhProtocol,
|
|
2921
|
+
retry: Retry.Retry,
|
|
2922
|
+
}));
|
|
2923
|
+
/** Alter this object properties */
|
|
2924
|
+
export const putSmsSenderDocument = /*@__PURE__*/ API.make(() => ({
|
|
2925
|
+
input: PutSmsSenderDocumentRequest,
|
|
2926
|
+
output: PutSmsSenderDocumentResponse,
|
|
2927
|
+
errors: [UnknownOvhError],
|
|
2928
|
+
protocol: OvhProtocol,
|
|
2929
|
+
retry: Retry.Retry,
|
|
2930
|
+
}));
|
|
2931
|
+
/** Update service information */
|
|
2932
|
+
export const putSmsServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
2933
|
+
input: PutSmsServiceInfosRequest,
|
|
2934
|
+
output: PutSmsServiceInfosResponse,
|
|
2935
|
+
errors: [UnknownOvhError],
|
|
2936
|
+
protocol: OvhProtocol,
|
|
2937
|
+
retry: Retry.Retry,
|
|
2938
|
+
}));
|
|
2939
|
+
/** Add or remove allowed IPs */
|
|
2940
|
+
export const putSmsSmppAllowedIPs = /*@__PURE__*/ API.make(() => ({
|
|
2941
|
+
input: PutSmsSmppAllowedIPsRequest,
|
|
2942
|
+
output: PutSmsSmppAllowedIPsResponse,
|
|
2943
|
+
errors: [UnknownOvhError],
|
|
2944
|
+
protocol: OvhProtocol,
|
|
2945
|
+
retry: Retry.Retry,
|
|
2946
|
+
}));
|
|
2947
|
+
/** Alter this object properties */
|
|
2948
|
+
export const putSmsTemplatesControl = /*@__PURE__*/ API.make(() => ({
|
|
2949
|
+
input: PutSmsTemplatesControlRequest,
|
|
2950
|
+
output: PutSmsTemplatesControlResponse,
|
|
2951
|
+
errors: [UnknownOvhError],
|
|
2952
|
+
protocol: OvhProtocol,
|
|
2953
|
+
retry: Retry.Retry,
|
|
2954
|
+
}));
|
|
2955
|
+
/** Alter this object properties */
|
|
2956
|
+
export const putSmsUser = /*@__PURE__*/ API.make(() => ({
|
|
2957
|
+
input: PutSmsUserRequest,
|
|
2958
|
+
output: PutSmsUserResponse,
|
|
2959
|
+
errors: [UnknownOvhError],
|
|
2960
|
+
protocol: OvhProtocol,
|
|
2961
|
+
retry: Retry.Retry,
|
|
2962
|
+
}));
|
|
2963
|
+
/** Alter this object properties */
|
|
2964
|
+
export const putSmsUserReceiver = /*@__PURE__*/ API.make(() => ({
|
|
2965
|
+
input: PutSmsUserReceiverRequest,
|
|
2966
|
+
output: PutSmsUserReceiverResponse,
|
|
2967
|
+
errors: [UnknownOvhError],
|
|
2968
|
+
protocol: OvhProtocol,
|
|
2969
|
+
retry: Retry.Retry,
|
|
2970
|
+
}));
|
|
2971
|
+
/** Update service information */
|
|
2972
|
+
export const putSmsVirtualNumberServiceInfos = /*@__PURE__*/ API.make(() => ({
|
|
2973
|
+
input: PutSmsVirtualNumberServiceInfosRequest,
|
|
2974
|
+
output: PutSmsVirtualNumberServiceInfosResponse,
|
|
2975
|
+
errors: [UnknownOvhError],
|
|
2976
|
+
protocol: OvhProtocol,
|
|
2977
|
+
retry: Retry.Retry,
|
|
2978
|
+
}));
|
|
2979
|
+
/** Credit transfer between two sms accounts. */
|
|
2980
|
+
export const transferSmsCredits = /*@__PURE__*/ API.make(() => ({
|
|
2981
|
+
input: TransferSmsCreditsRequest,
|
|
2982
|
+
output: TransferSmsCreditsResponse,
|
|
2983
|
+
errors: [UnknownOvhError],
|
|
2984
|
+
protocol: OvhProtocol,
|
|
2985
|
+
retry: Retry.Retry,
|
|
2986
|
+
}));
|
|
2987
|
+
/** Validate a given sender with an activation code. */
|
|
2988
|
+
export const validateSmsSender = /*@__PURE__*/ API.make(() => ({
|
|
2989
|
+
input: ValidateSmsSenderRequest,
|
|
2990
|
+
output: ValidateSmsSenderResponse,
|
|
2991
|
+
errors: [UnknownOvhError],
|
|
2992
|
+
protocol: OvhProtocol,
|
|
2993
|
+
retry: Retry.Retry,
|
|
2994
|
+
}));
|
|
2995
|
+
//# sourceMappingURL=sms.js.map
|