@formalingo/sdk 0.1.2 → 0.1.4

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.
Files changed (167) hide show
  1. package/README.md +31 -9
  2. package/dist/client/api/v1/analytics/index.d.ts +20 -0
  3. package/dist/client/api/v1/analytics/index.d.ts.map +1 -0
  4. package/dist/client/api/v1/analytics/index.js +20 -0
  5. package/dist/client/api/v1/analytics/index.js.map +1 -0
  6. package/dist/client/api/v1/analytics/summary/index.d.ts +131 -0
  7. package/dist/client/api/v1/analytics/summary/index.d.ts.map +1 -0
  8. package/dist/client/api/v1/analytics/summary/index.js +137 -0
  9. package/dist/client/api/v1/analytics/summary/index.js.map +1 -0
  10. package/dist/client/api/v1/deliveries/index.d.ts +192 -0
  11. package/dist/client/api/v1/deliveries/index.d.ts.map +1 -0
  12. package/dist/client/api/v1/deliveries/index.js +189 -0
  13. package/dist/client/api/v1/deliveries/index.js.map +1 -0
  14. package/dist/client/api/v1/documents/importEscaped/index.d.ts +144 -0
  15. package/dist/client/api/v1/documents/importEscaped/index.d.ts.map +1 -0
  16. package/dist/client/api/v1/documents/importEscaped/index.js +153 -0
  17. package/dist/client/api/v1/documents/importEscaped/index.js.map +1 -0
  18. package/dist/client/api/v1/documents/index.d.ts +5 -0
  19. package/dist/client/api/v1/documents/index.d.ts.map +1 -1
  20. package/dist/client/api/v1/documents/index.js +5 -0
  21. package/dist/client/api/v1/documents/index.js.map +1 -1
  22. package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts +103 -0
  23. package/dist/client/api/v1/documents/item/exportEscaped/index.d.ts.map +1 -0
  24. package/dist/client/api/v1/documents/item/exportEscaped/index.js +102 -0
  25. package/dist/client/api/v1/documents/item/exportEscaped/index.js.map +1 -0
  26. package/dist/client/api/v1/documents/item/fields/index.d.ts +121 -7
  27. package/dist/client/api/v1/documents/item/fields/index.d.ts.map +1 -1
  28. package/dist/client/api/v1/documents/item/fields/index.js +125 -0
  29. package/dist/client/api/v1/documents/item/fields/index.js.map +1 -1
  30. package/dist/client/api/v1/documents/item/fields/item/index.d.ts +106 -16
  31. package/dist/client/api/v1/documents/item/fields/item/index.d.ts.map +1 -1
  32. package/dist/client/api/v1/documents/item/fields/item/index.js +97 -4
  33. package/dist/client/api/v1/documents/item/fields/item/index.js.map +1 -1
  34. package/dist/client/api/v1/documents/item/index.d.ts +104 -6
  35. package/dist/client/api/v1/documents/item/index.d.ts.map +1 -1
  36. package/dist/client/api/v1/documents/item/index.js +111 -4
  37. package/dist/client/api/v1/documents/item/index.js.map +1 -1
  38. package/dist/client/api/v1/documents/item/parseJobs/index.d.ts +155 -0
  39. package/dist/client/api/v1/documents/item/parseJobs/index.d.ts.map +1 -0
  40. package/dist/client/api/v1/documents/item/parseJobs/index.js +163 -0
  41. package/dist/client/api/v1/documents/item/parseJobs/index.js.map +1 -0
  42. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts +180 -0
  43. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.d.ts.map +1 -0
  44. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js +189 -0
  45. package/dist/client/api/v1/documents/item/parseJobs/item/apply/index.js.map +1 -0
  46. package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts +75 -0
  47. package/dist/client/api/v1/documents/item/parseJobs/item/index.d.ts.map +1 -0
  48. package/dist/client/api/v1/documents/item/parseJobs/item/index.js +76 -0
  49. package/dist/client/api/v1/documents/item/parseJobs/item/index.js.map +1 -0
  50. package/dist/client/api/v1/documents/item/publish/index.d.ts +200 -0
  51. package/dist/client/api/v1/documents/item/publish/index.d.ts.map +1 -0
  52. package/dist/client/api/v1/documents/item/publish/index.js +220 -0
  53. package/dist/client/api/v1/documents/item/publish/index.js.map +1 -0
  54. package/dist/client/api/v1/documents/item/revisions/index.d.ts +112 -0
  55. package/dist/client/api/v1/documents/item/revisions/index.d.ts.map +1 -0
  56. package/dist/client/api/v1/documents/item/revisions/index.js +110 -0
  57. package/dist/client/api/v1/documents/item/revisions/index.js.map +1 -0
  58. package/dist/client/api/v1/documents/item/revisions/item/index.d.ts +95 -0
  59. package/dist/client/api/v1/documents/item/revisions/item/index.d.ts.map +1 -0
  60. package/dist/client/api/v1/documents/item/revisions/item/index.js +102 -0
  61. package/dist/client/api/v1/documents/item/revisions/item/index.js.map +1 -0
  62. package/dist/client/api/v1/documents/item/signerRoles/index.d.ts +1 -0
  63. package/dist/client/api/v1/documents/item/signerRoles/index.d.ts.map +1 -1
  64. package/dist/client/api/v1/documents/item/signerRoles/index.js +4 -1
  65. package/dist/client/api/v1/documents/item/signerRoles/index.js.map +1 -1
  66. package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts +121 -1
  67. package/dist/client/api/v1/documents/item/signerRoles/item/index.d.ts.map +1 -1
  68. package/dist/client/api/v1/documents/item/signerRoles/item/index.js +133 -0
  69. package/dist/client/api/v1/documents/item/signerRoles/item/index.js.map +1 -1
  70. package/dist/client/api/v1/documents/item/submissions/index.d.ts +40 -30
  71. package/dist/client/api/v1/documents/item/submissions/index.d.ts.map +1 -1
  72. package/dist/client/api/v1/documents/item/submissions/index.js +36 -28
  73. package/dist/client/api/v1/documents/item/submissions/index.js.map +1 -1
  74. package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts +280 -0
  75. package/dist/client/api/v1/documents/item/submissions/item/expire/index.d.ts.map +1 -0
  76. package/dist/client/api/v1/documents/item/submissions/item/expire/index.js +301 -0
  77. package/dist/client/api/v1/documents/item/submissions/item/expire/index.js.map +1 -0
  78. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts +86 -1
  79. package/dist/client/api/v1/documents/item/submissions/item/index.d.ts.map +1 -1
  80. package/dist/client/api/v1/documents/item/submissions/item/index.js +92 -0
  81. package/dist/client/api/v1/documents/item/submissions/item/index.js.map +1 -1
  82. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts +42 -0
  83. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.d.ts.map +1 -1
  84. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js +43 -0
  85. package/dist/client/api/v1/documents/item/submissions/item/pdf/index.js.map +1 -1
  86. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts +5 -41
  87. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.d.ts.map +1 -1
  88. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js +7 -44
  89. package/dist/client/api/v1/documents/item/submissions/item/signers/item/index.js.map +1 -1
  90. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts +7 -2
  91. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.d.ts.map +1 -1
  92. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js +5 -0
  93. package/dist/client/api/v1/documents/item/submissions/item/signers/item/responses/index.js.map +1 -1
  94. package/dist/client/api/v1/files/index.d.ts +22 -0
  95. package/dist/client/api/v1/files/index.d.ts.map +1 -0
  96. package/dist/client/api/v1/files/index.js +21 -0
  97. package/dist/client/api/v1/files/index.js.map +1 -0
  98. package/dist/client/api/v1/files/item/download/index.d.ts +180 -0
  99. package/dist/client/api/v1/files/item/download/index.d.ts.map +1 -0
  100. package/dist/client/api/v1/files/item/download/index.js +189 -0
  101. package/dist/client/api/v1/files/item/download/index.js.map +1 -0
  102. package/dist/client/api/v1/files/item/index.d.ts +20 -0
  103. package/dist/client/api/v1/files/item/index.d.ts.map +1 -0
  104. package/dist/client/api/v1/files/item/index.js +20 -0
  105. package/dist/client/api/v1/files/item/index.js.map +1 -0
  106. package/dist/client/api/v1/forms/index.d.ts +46 -1
  107. package/dist/client/api/v1/forms/index.d.ts.map +1 -1
  108. package/dist/client/api/v1/forms/index.js +22 -1
  109. package/dist/client/api/v1/forms/index.js.map +1 -1
  110. package/dist/client/api/v1/forms/item/index.d.ts +18 -0
  111. package/dist/client/api/v1/forms/item/index.d.ts.map +1 -1
  112. package/dist/client/api/v1/forms/item/index.js +15 -0
  113. package/dist/client/api/v1/forms/item/index.js.map +1 -1
  114. package/dist/client/api/v1/forms/item/publish/index.d.ts +200 -0
  115. package/dist/client/api/v1/forms/item/publish/index.d.ts.map +1 -0
  116. package/dist/client/api/v1/forms/item/publish/index.js +220 -0
  117. package/dist/client/api/v1/forms/item/publish/index.js.map +1 -0
  118. package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts +274 -0
  119. package/dist/client/api/v1/forms/item/recipients/bulk/index.d.ts.map +1 -0
  120. package/dist/client/api/v1/forms/item/recipients/bulk/index.js +302 -0
  121. package/dist/client/api/v1/forms/item/recipients/bulk/index.js.map +1 -0
  122. package/dist/client/api/v1/forms/item/recipients/index.d.ts +10 -4
  123. package/dist/client/api/v1/forms/item/recipients/index.d.ts.map +1 -1
  124. package/dist/client/api/v1/forms/item/recipients/index.js +11 -3
  125. package/dist/client/api/v1/forms/item/recipients/index.js.map +1 -1
  126. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts +3 -2
  127. package/dist/client/api/v1/forms/item/recipients/item/index.d.ts.map +1 -1
  128. package/dist/client/api/v1/forms/item/recipients/item/index.js +6 -3
  129. package/dist/client/api/v1/forms/item/recipients/item/index.js.map +1 -1
  130. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts +4 -0
  131. package/dist/client/api/v1/forms/item/recipients/item/responses/index.d.ts.map +1 -1
  132. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js +2 -0
  133. package/dist/client/api/v1/forms/item/recipients/item/responses/index.js.map +1 -1
  134. package/dist/client/api/v1/forms/item/revisions/index.d.ts +112 -0
  135. package/dist/client/api/v1/forms/item/revisions/index.d.ts.map +1 -0
  136. package/dist/client/api/v1/forms/item/revisions/index.js +110 -0
  137. package/dist/client/api/v1/forms/item/revisions/index.js.map +1 -0
  138. package/dist/client/api/v1/forms/item/revisions/item/index.d.ts +95 -0
  139. package/dist/client/api/v1/forms/item/revisions/item/index.d.ts.map +1 -0
  140. package/dist/client/api/v1/forms/item/revisions/item/index.js +102 -0
  141. package/dist/client/api/v1/forms/item/revisions/item/index.js.map +1 -0
  142. package/dist/client/api/v1/index.d.ts +25 -0
  143. package/dist/client/api/v1/index.d.ts.map +1 -1
  144. package/dist/client/api/v1/index.js +25 -0
  145. package/dist/client/api/v1/index.js.map +1 -1
  146. package/dist/client/api/v1/integrations/index.d.ts +20 -0
  147. package/dist/client/api/v1/integrations/index.d.ts.map +1 -0
  148. package/dist/client/api/v1/integrations/index.js +20 -0
  149. package/dist/client/api/v1/integrations/index.js.map +1 -0
  150. package/dist/client/api/v1/integrations/status/index.d.ts +168 -0
  151. package/dist/client/api/v1/integrations/status/index.d.ts.map +1 -0
  152. package/dist/client/api/v1/integrations/status/index.js +177 -0
  153. package/dist/client/api/v1/integrations/status/index.js.map +1 -0
  154. package/dist/client/api/v1/quota/index.d.ts +93 -0
  155. package/dist/client/api/v1/quota/index.d.ts.map +1 -0
  156. package/dist/client/api/v1/quota/index.js +99 -0
  157. package/dist/client/api/v1/quota/index.js.map +1 -0
  158. package/dist/client/formalingoClient.js +1 -1
  159. package/dist/client/models/index.d.ts +1963 -139
  160. package/dist/client/models/index.d.ts.map +1 -1
  161. package/dist/client/models/index.js +2001 -211
  162. package/dist/client/models/index.js.map +1 -1
  163. package/dist/index.d.ts +15 -0
  164. package/dist/index.d.ts.map +1 -1
  165. package/dist/index.js +89 -1
  166. package/dist/index.js.map +1 -1
  167. package/package.json +1 -1
@@ -0,0 +1,280 @@
1
+ import { type AdditionalDataHolder, type ApiError, type BaseRequestBuilder, type Guid, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions';
2
+ /**
3
+ * Creates a new instance of the appropriate class based on discriminator value
4
+ * @param parseNode The parse node to use to read the discriminator value and create the object
5
+ * @returns {Expire400Error}
6
+ */
7
+ export declare function createExpire400ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
8
+ /**
9
+ * Creates a new instance of the appropriate class based on discriminator value
10
+ * @param parseNode The parse node to use to read the discriminator value and create the object
11
+ * @returns {Expire403Error}
12
+ */
13
+ export declare function createExpire403ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
14
+ /**
15
+ * Creates a new instance of the appropriate class based on discriminator value
16
+ * @param parseNode The parse node to use to read the discriminator value and create the object
17
+ * @returns {Expire404Error}
18
+ */
19
+ export declare function createExpire404ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
20
+ /**
21
+ * Creates a new instance of the appropriate class based on discriminator value
22
+ * @param parseNode The parse node to use to read the discriminator value and create the object
23
+ * @returns {Expire409Error}
24
+ */
25
+ export declare function createExpire409ErrorFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
26
+ /**
27
+ * Creates a new instance of the appropriate class based on discriminator value
28
+ * @param parseNode The parse node to use to read the discriminator value and create the object
29
+ * @returns {ExpirePostRequestBody}
30
+ */
31
+ export declare function createExpirePostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
32
+ /**
33
+ * Creates a new instance of the appropriate class based on discriminator value
34
+ * @param parseNode The parse node to use to read the discriminator value and create the object
35
+ * @returns {ExpirePostResponse_data}
36
+ */
37
+ export declare function createExpirePostResponse_dataFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
38
+ /**
39
+ * Creates a new instance of the appropriate class based on discriminator value
40
+ * @param parseNode The parse node to use to read the discriminator value and create the object
41
+ * @returns {ExpirePostResponse}
42
+ */
43
+ export declare function createExpirePostResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
44
+ /**
45
+ * The deserialization information for the current model
46
+ * @param Expire400Error The instance to deserialize into.
47
+ * @returns {Record<string, (node: ParseNode) => void>}
48
+ */
49
+ export declare function deserializeIntoExpire400Error(expire400Error?: Partial<Expire400Error> | undefined): Record<string, (node: ParseNode) => void>;
50
+ /**
51
+ * The deserialization information for the current model
52
+ * @param Expire403Error The instance to deserialize into.
53
+ * @returns {Record<string, (node: ParseNode) => void>}
54
+ */
55
+ export declare function deserializeIntoExpire403Error(expire403Error?: Partial<Expire403Error> | undefined): Record<string, (node: ParseNode) => void>;
56
+ /**
57
+ * The deserialization information for the current model
58
+ * @param Expire404Error The instance to deserialize into.
59
+ * @returns {Record<string, (node: ParseNode) => void>}
60
+ */
61
+ export declare function deserializeIntoExpire404Error(expire404Error?: Partial<Expire404Error> | undefined): Record<string, (node: ParseNode) => void>;
62
+ /**
63
+ * The deserialization information for the current model
64
+ * @param Expire409Error The instance to deserialize into.
65
+ * @returns {Record<string, (node: ParseNode) => void>}
66
+ */
67
+ export declare function deserializeIntoExpire409Error(expire409Error?: Partial<Expire409Error> | undefined): Record<string, (node: ParseNode) => void>;
68
+ /**
69
+ * The deserialization information for the current model
70
+ * @param ExpirePostRequestBody The instance to deserialize into.
71
+ * @returns {Record<string, (node: ParseNode) => void>}
72
+ */
73
+ export declare function deserializeIntoExpirePostRequestBody(expirePostRequestBody?: Partial<ExpirePostRequestBody> | undefined): Record<string, (node: ParseNode) => void>;
74
+ /**
75
+ * The deserialization information for the current model
76
+ * @param ExpirePostResponse The instance to deserialize into.
77
+ * @returns {Record<string, (node: ParseNode) => void>}
78
+ */
79
+ export declare function deserializeIntoExpirePostResponse(expirePostResponse?: Partial<ExpirePostResponse> | undefined): Record<string, (node: ParseNode) => void>;
80
+ /**
81
+ * The deserialization information for the current model
82
+ * @param ExpirePostResponse_data The instance to deserialize into.
83
+ * @returns {Record<string, (node: ParseNode) => void>}
84
+ */
85
+ export declare function deserializeIntoExpirePostResponse_data(expirePostResponse_data?: Partial<ExpirePostResponse_data> | undefined): Record<string, (node: ParseNode) => void>;
86
+ export interface Expire400Error extends AdditionalDataHolder, ApiError, Parsable {
87
+ /**
88
+ * Stable machine-readable error code when available.
89
+ */
90
+ code?: string | null;
91
+ /**
92
+ * The error property
93
+ */
94
+ errorEscaped?: string | null;
95
+ /**
96
+ * The hint property
97
+ */
98
+ hint?: string | null;
99
+ /**
100
+ * The success property
101
+ */
102
+ success?: boolean | null;
103
+ }
104
+ export interface Expire403Error extends AdditionalDataHolder, ApiError, Parsable {
105
+ /**
106
+ * Stable machine-readable error code when available.
107
+ */
108
+ code?: string | null;
109
+ /**
110
+ * The error property
111
+ */
112
+ errorEscaped?: string | null;
113
+ /**
114
+ * The hint property
115
+ */
116
+ hint?: string | null;
117
+ /**
118
+ * The success property
119
+ */
120
+ success?: boolean | null;
121
+ }
122
+ export interface Expire404Error extends AdditionalDataHolder, ApiError, Parsable {
123
+ /**
124
+ * Stable machine-readable error code when available.
125
+ */
126
+ code?: string | null;
127
+ /**
128
+ * The error property
129
+ */
130
+ errorEscaped?: string | null;
131
+ /**
132
+ * The hint property
133
+ */
134
+ hint?: string | null;
135
+ /**
136
+ * The success property
137
+ */
138
+ success?: boolean | null;
139
+ }
140
+ export interface Expire409Error extends AdditionalDataHolder, ApiError, Parsable {
141
+ /**
142
+ * Stable machine-readable error code when available.
143
+ */
144
+ code?: string | null;
145
+ /**
146
+ * The error property
147
+ */
148
+ errorEscaped?: string | null;
149
+ /**
150
+ * The hint property
151
+ */
152
+ hint?: string | null;
153
+ /**
154
+ * The success property
155
+ */
156
+ success?: boolean | null;
157
+ }
158
+ export interface ExpirePostRequestBody extends Parsable {
159
+ /**
160
+ * The reason property
161
+ */
162
+ reason?: string | null;
163
+ }
164
+ export interface ExpirePostResponse extends AdditionalDataHolder, Parsable {
165
+ /**
166
+ * The data property
167
+ */
168
+ data?: ExpirePostResponse_data | null;
169
+ /**
170
+ * The success property
171
+ */
172
+ success?: boolean | null;
173
+ }
174
+ export interface ExpirePostResponse_data extends AdditionalDataHolder, Parsable {
175
+ /**
176
+ * The expiredAt property
177
+ */
178
+ expiredAt?: Date | null;
179
+ /**
180
+ * The linksExpired property
181
+ */
182
+ linksExpired?: number | null;
183
+ /**
184
+ * The outcome property
185
+ */
186
+ outcome?: ExpirePostResponse_data_outcome | null;
187
+ /**
188
+ * The retained property
189
+ */
190
+ retained?: boolean | null;
191
+ /**
192
+ * The submissionId property
193
+ */
194
+ submissionId?: Guid | null;
195
+ }
196
+ export type ExpirePostResponse_data_outcome = (typeof ExpirePostResponse_data_outcomeObject)[keyof typeof ExpirePostResponse_data_outcomeObject];
197
+ /**
198
+ * Builds and executes requests for operations under /api/v1/documents/{id}/submissions/{sid}/expire
199
+ */
200
+ export interface ExpireRequestBuilder extends BaseRequestBuilder<ExpireRequestBuilder> {
201
+ /**
202
+ * Requires submissions:write. Immediately expires all active links on a completely unsigned, unsealed submission. Retains answers, consent and audit evidence. Repeating the request is safe. Completed or partially signed submissions and active send capabilities remain protected.
203
+ * @param body The request body
204
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
205
+ * @returns {Promise<ExpirePostResponse>}
206
+ * @throws {Expire400Error} error when the service returns a 400 status code
207
+ * @throws {Expire403Error} error when the service returns a 403 status code
208
+ * @throws {Expire404Error} error when the service returns a 404 status code
209
+ * @throws {Expire409Error} error when the service returns a 409 status code
210
+ */
211
+ post(body: ExpirePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExpirePostResponse | undefined>;
212
+ /**
213
+ * Requires submissions:write. Immediately expires all active links on a completely unsigned, unsealed submission. Retains answers, consent and audit evidence. Repeating the request is safe. Completed or partially signed submissions and active send capabilities remain protected.
214
+ * @param body The request body
215
+ * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
216
+ * @returns {RequestInformation}
217
+ */
218
+ toPostRequestInformation(body: ExpirePostRequestBody, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
219
+ }
220
+ /**
221
+ * Serializes information the current object
222
+ * @param Expire400Error The instance to serialize from.
223
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
224
+ * @param writer Serialization writer to use to serialize this model
225
+ */
226
+ export declare function serializeExpire400Error(writer: SerializationWriter, expire400Error?: Partial<Expire400Error> | undefined | null, isSerializingDerivedType?: boolean): void;
227
+ /**
228
+ * Serializes information the current object
229
+ * @param Expire403Error The instance to serialize from.
230
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
231
+ * @param writer Serialization writer to use to serialize this model
232
+ */
233
+ export declare function serializeExpire403Error(writer: SerializationWriter, expire403Error?: Partial<Expire403Error> | undefined | null, isSerializingDerivedType?: boolean): void;
234
+ /**
235
+ * Serializes information the current object
236
+ * @param Expire404Error The instance to serialize from.
237
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
238
+ * @param writer Serialization writer to use to serialize this model
239
+ */
240
+ export declare function serializeExpire404Error(writer: SerializationWriter, expire404Error?: Partial<Expire404Error> | undefined | null, isSerializingDerivedType?: boolean): void;
241
+ /**
242
+ * Serializes information the current object
243
+ * @param Expire409Error The instance to serialize from.
244
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
245
+ * @param writer Serialization writer to use to serialize this model
246
+ */
247
+ export declare function serializeExpire409Error(writer: SerializationWriter, expire409Error?: Partial<Expire409Error> | undefined | null, isSerializingDerivedType?: boolean): void;
248
+ /**
249
+ * Serializes information the current object
250
+ * @param ExpirePostRequestBody The instance to serialize from.
251
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
252
+ * @param writer Serialization writer to use to serialize this model
253
+ */
254
+ export declare function serializeExpirePostRequestBody(writer: SerializationWriter, expirePostRequestBody?: Partial<ExpirePostRequestBody> | undefined | null, isSerializingDerivedType?: boolean): void;
255
+ /**
256
+ * Serializes information the current object
257
+ * @param ExpirePostResponse The instance to serialize from.
258
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
259
+ * @param writer Serialization writer to use to serialize this model
260
+ */
261
+ export declare function serializeExpirePostResponse(writer: SerializationWriter, expirePostResponse?: Partial<ExpirePostResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
262
+ /**
263
+ * Serializes information the current object
264
+ * @param ExpirePostResponse_data The instance to serialize from.
265
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
266
+ * @param writer Serialization writer to use to serialize this model
267
+ */
268
+ export declare function serializeExpirePostResponse_data(writer: SerializationWriter, expirePostResponse_data?: Partial<ExpirePostResponse_data> | undefined | null, isSerializingDerivedType?: boolean): void;
269
+ /**
270
+ * Uri template for the request builder.
271
+ */
272
+ export declare const ExpireRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/expire";
273
+ export declare const ExpirePostResponse_data_outcomeObject: {
274
+ readonly Expired: "expired";
275
+ };
276
+ /**
277
+ * Metadata for all the requests in the request builder.
278
+ */
279
+ export declare const ExpireRequestBuilderRequestsMetadata: RequestsMetadata;
280
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item/expire/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,QAAQ,EAAE,KAAK,kBAAkB,EAAE,KAAK,IAAI,EAAE,KAAK,QAAQ,EAAwB,KAAK,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEvR;;;;GAIG;AAEH,wBAAgB,0CAA0C,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAI,CAAC,CAAC,QAAQ,CAAC,EAAE,QAAQ,KAAK,MAAM,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC,CAAC,CAElK;AACD;;;;GAIG;AAEH,wBAAgB,0CAA0C,CAAC,SAAS,EAAE,SAAS,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M,oCAAoC,EAAE,gBAgBlD,CAAC"}
@@ -0,0 +1,301 @@
1
+ /**
2
+ * Creates a new instance of the appropriate class based on discriminator value
3
+ * @param parseNode The parse node to use to read the discriminator value and create the object
4
+ * @returns {Expire400Error}
5
+ */
6
+ // @ts-ignore
7
+ export function createExpire400ErrorFromDiscriminatorValue(parseNode) {
8
+ return deserializeIntoExpire400Error;
9
+ }
10
+ /**
11
+ * Creates a new instance of the appropriate class based on discriminator value
12
+ * @param parseNode The parse node to use to read the discriminator value and create the object
13
+ * @returns {Expire403Error}
14
+ */
15
+ // @ts-ignore
16
+ export function createExpire403ErrorFromDiscriminatorValue(parseNode) {
17
+ return deserializeIntoExpire403Error;
18
+ }
19
+ /**
20
+ * Creates a new instance of the appropriate class based on discriminator value
21
+ * @param parseNode The parse node to use to read the discriminator value and create the object
22
+ * @returns {Expire404Error}
23
+ */
24
+ // @ts-ignore
25
+ export function createExpire404ErrorFromDiscriminatorValue(parseNode) {
26
+ return deserializeIntoExpire404Error;
27
+ }
28
+ /**
29
+ * Creates a new instance of the appropriate class based on discriminator value
30
+ * @param parseNode The parse node to use to read the discriminator value and create the object
31
+ * @returns {Expire409Error}
32
+ */
33
+ // @ts-ignore
34
+ export function createExpire409ErrorFromDiscriminatorValue(parseNode) {
35
+ return deserializeIntoExpire409Error;
36
+ }
37
+ /**
38
+ * Creates a new instance of the appropriate class based on discriminator value
39
+ * @param parseNode The parse node to use to read the discriminator value and create the object
40
+ * @returns {ExpirePostRequestBody}
41
+ */
42
+ // @ts-ignore
43
+ export function createExpirePostRequestBodyFromDiscriminatorValue(parseNode) {
44
+ return deserializeIntoExpirePostRequestBody;
45
+ }
46
+ /**
47
+ * Creates a new instance of the appropriate class based on discriminator value
48
+ * @param parseNode The parse node to use to read the discriminator value and create the object
49
+ * @returns {ExpirePostResponse_data}
50
+ */
51
+ // @ts-ignore
52
+ export function createExpirePostResponse_dataFromDiscriminatorValue(parseNode) {
53
+ return deserializeIntoExpirePostResponse_data;
54
+ }
55
+ /**
56
+ * Creates a new instance of the appropriate class based on discriminator value
57
+ * @param parseNode The parse node to use to read the discriminator value and create the object
58
+ * @returns {ExpirePostResponse}
59
+ */
60
+ // @ts-ignore
61
+ export function createExpirePostResponseFromDiscriminatorValue(parseNode) {
62
+ return deserializeIntoExpirePostResponse;
63
+ }
64
+ /**
65
+ * The deserialization information for the current model
66
+ * @param Expire400Error The instance to deserialize into.
67
+ * @returns {Record<string, (node: ParseNode) => void>}
68
+ */
69
+ // @ts-ignore
70
+ export function deserializeIntoExpire400Error(expire400Error = {}) {
71
+ return {
72
+ "code": n => { expire400Error.code = n.getStringValue(); },
73
+ "error": n => { expire400Error.errorEscaped = n.getStringValue(); },
74
+ "hint": n => { expire400Error.hint = n.getStringValue(); },
75
+ "success": n => { expire400Error.success = n.getBooleanValue(); },
76
+ };
77
+ }
78
+ /**
79
+ * The deserialization information for the current model
80
+ * @param Expire403Error The instance to deserialize into.
81
+ * @returns {Record<string, (node: ParseNode) => void>}
82
+ */
83
+ // @ts-ignore
84
+ export function deserializeIntoExpire403Error(expire403Error = {}) {
85
+ return {
86
+ "code": n => { expire403Error.code = n.getStringValue(); },
87
+ "error": n => { expire403Error.errorEscaped = n.getStringValue(); },
88
+ "hint": n => { expire403Error.hint = n.getStringValue(); },
89
+ "success": n => { expire403Error.success = n.getBooleanValue(); },
90
+ };
91
+ }
92
+ /**
93
+ * The deserialization information for the current model
94
+ * @param Expire404Error The instance to deserialize into.
95
+ * @returns {Record<string, (node: ParseNode) => void>}
96
+ */
97
+ // @ts-ignore
98
+ export function deserializeIntoExpire404Error(expire404Error = {}) {
99
+ return {
100
+ "code": n => { expire404Error.code = n.getStringValue(); },
101
+ "error": n => { expire404Error.errorEscaped = n.getStringValue(); },
102
+ "hint": n => { expire404Error.hint = n.getStringValue(); },
103
+ "success": n => { expire404Error.success = n.getBooleanValue(); },
104
+ };
105
+ }
106
+ /**
107
+ * The deserialization information for the current model
108
+ * @param Expire409Error The instance to deserialize into.
109
+ * @returns {Record<string, (node: ParseNode) => void>}
110
+ */
111
+ // @ts-ignore
112
+ export function deserializeIntoExpire409Error(expire409Error = {}) {
113
+ return {
114
+ "code": n => { expire409Error.code = n.getStringValue(); },
115
+ "error": n => { expire409Error.errorEscaped = n.getStringValue(); },
116
+ "hint": n => { expire409Error.hint = n.getStringValue(); },
117
+ "success": n => { expire409Error.success = n.getBooleanValue(); },
118
+ };
119
+ }
120
+ /**
121
+ * The deserialization information for the current model
122
+ * @param ExpirePostRequestBody The instance to deserialize into.
123
+ * @returns {Record<string, (node: ParseNode) => void>}
124
+ */
125
+ // @ts-ignore
126
+ export function deserializeIntoExpirePostRequestBody(expirePostRequestBody = {}) {
127
+ return {
128
+ "reason": n => { expirePostRequestBody.reason = n.getStringValue(); },
129
+ };
130
+ }
131
+ /**
132
+ * The deserialization information for the current model
133
+ * @param ExpirePostResponse The instance to deserialize into.
134
+ * @returns {Record<string, (node: ParseNode) => void>}
135
+ */
136
+ // @ts-ignore
137
+ export function deserializeIntoExpirePostResponse(expirePostResponse = {}) {
138
+ return {
139
+ "data": n => { expirePostResponse.data = n.getObjectValue(createExpirePostResponse_dataFromDiscriminatorValue); },
140
+ "success": n => { expirePostResponse.success = n.getBooleanValue(); },
141
+ };
142
+ }
143
+ /**
144
+ * The deserialization information for the current model
145
+ * @param ExpirePostResponse_data The instance to deserialize into.
146
+ * @returns {Record<string, (node: ParseNode) => void>}
147
+ */
148
+ // @ts-ignore
149
+ export function deserializeIntoExpirePostResponse_data(expirePostResponse_data = {}) {
150
+ return {
151
+ "expiredAt": n => { expirePostResponse_data.expiredAt = n.getDateValue(); },
152
+ "linksExpired": n => { expirePostResponse_data.linksExpired = n.getNumberValue(); },
153
+ "outcome": n => { expirePostResponse_data.outcome = n.getEnumValue(ExpirePostResponse_data_outcomeObject); },
154
+ "retained": n => { expirePostResponse_data.retained = n.getBooleanValue(); },
155
+ "submissionId": n => { expirePostResponse_data.submissionId = n.getGuidValue(); },
156
+ };
157
+ }
158
+ /**
159
+ * Serializes information the current object
160
+ * @param Expire400Error The instance to serialize from.
161
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
162
+ * @param writer Serialization writer to use to serialize this model
163
+ */
164
+ // @ts-ignore
165
+ export function serializeExpire400Error(writer, expire400Error = {}, isSerializingDerivedType = false) {
166
+ if (!expire400Error || isSerializingDerivedType) {
167
+ return;
168
+ }
169
+ writer.writeStringValue("code", expire400Error.code);
170
+ writer.writeStringValue("error", expire400Error.errorEscaped);
171
+ writer.writeStringValue("hint", expire400Error.hint);
172
+ writer.writeBooleanValue("success", expire400Error.success);
173
+ writer.writeAdditionalData(expire400Error.additionalData);
174
+ }
175
+ /**
176
+ * Serializes information the current object
177
+ * @param Expire403Error The instance to serialize from.
178
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
179
+ * @param writer Serialization writer to use to serialize this model
180
+ */
181
+ // @ts-ignore
182
+ export function serializeExpire403Error(writer, expire403Error = {}, isSerializingDerivedType = false) {
183
+ if (!expire403Error || isSerializingDerivedType) {
184
+ return;
185
+ }
186
+ writer.writeStringValue("code", expire403Error.code);
187
+ writer.writeStringValue("error", expire403Error.errorEscaped);
188
+ writer.writeStringValue("hint", expire403Error.hint);
189
+ writer.writeBooleanValue("success", expire403Error.success);
190
+ writer.writeAdditionalData(expire403Error.additionalData);
191
+ }
192
+ /**
193
+ * Serializes information the current object
194
+ * @param Expire404Error The instance to serialize from.
195
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
196
+ * @param writer Serialization writer to use to serialize this model
197
+ */
198
+ // @ts-ignore
199
+ export function serializeExpire404Error(writer, expire404Error = {}, isSerializingDerivedType = false) {
200
+ if (!expire404Error || isSerializingDerivedType) {
201
+ return;
202
+ }
203
+ writer.writeStringValue("code", expire404Error.code);
204
+ writer.writeStringValue("error", expire404Error.errorEscaped);
205
+ writer.writeStringValue("hint", expire404Error.hint);
206
+ writer.writeBooleanValue("success", expire404Error.success);
207
+ writer.writeAdditionalData(expire404Error.additionalData);
208
+ }
209
+ /**
210
+ * Serializes information the current object
211
+ * @param Expire409Error The instance to serialize from.
212
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
213
+ * @param writer Serialization writer to use to serialize this model
214
+ */
215
+ // @ts-ignore
216
+ export function serializeExpire409Error(writer, expire409Error = {}, isSerializingDerivedType = false) {
217
+ if (!expire409Error || isSerializingDerivedType) {
218
+ return;
219
+ }
220
+ writer.writeStringValue("code", expire409Error.code);
221
+ writer.writeStringValue("error", expire409Error.errorEscaped);
222
+ writer.writeStringValue("hint", expire409Error.hint);
223
+ writer.writeBooleanValue("success", expire409Error.success);
224
+ writer.writeAdditionalData(expire409Error.additionalData);
225
+ }
226
+ /**
227
+ * Serializes information the current object
228
+ * @param ExpirePostRequestBody The instance to serialize from.
229
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
230
+ * @param writer Serialization writer to use to serialize this model
231
+ */
232
+ // @ts-ignore
233
+ export function serializeExpirePostRequestBody(writer, expirePostRequestBody = {}, isSerializingDerivedType = false) {
234
+ if (!expirePostRequestBody || isSerializingDerivedType) {
235
+ return;
236
+ }
237
+ writer.writeStringValue("reason", expirePostRequestBody.reason);
238
+ }
239
+ /**
240
+ * Serializes information the current object
241
+ * @param ExpirePostResponse The instance to serialize from.
242
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
243
+ * @param writer Serialization writer to use to serialize this model
244
+ */
245
+ // @ts-ignore
246
+ export function serializeExpirePostResponse(writer, expirePostResponse = {}, isSerializingDerivedType = false) {
247
+ if (!expirePostResponse || isSerializingDerivedType) {
248
+ return;
249
+ }
250
+ writer.writeObjectValue("data", expirePostResponse.data, serializeExpirePostResponse_data);
251
+ writer.writeBooleanValue("success", expirePostResponse.success);
252
+ writer.writeAdditionalData(expirePostResponse.additionalData);
253
+ }
254
+ /**
255
+ * Serializes information the current object
256
+ * @param ExpirePostResponse_data The instance to serialize from.
257
+ * @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
258
+ * @param writer Serialization writer to use to serialize this model
259
+ */
260
+ // @ts-ignore
261
+ export function serializeExpirePostResponse_data(writer, expirePostResponse_data = {}, isSerializingDerivedType = false) {
262
+ if (!expirePostResponse_data || isSerializingDerivedType) {
263
+ return;
264
+ }
265
+ writer.writeDateValue("expiredAt", expirePostResponse_data.expiredAt);
266
+ writer.writeNumberValue("linksExpired", expirePostResponse_data.linksExpired);
267
+ writer.writeEnumValue("outcome", expirePostResponse_data.outcome);
268
+ writer.writeBooleanValue("retained", expirePostResponse_data.retained);
269
+ writer.writeGuidValue("submissionId", expirePostResponse_data.submissionId);
270
+ writer.writeAdditionalData(expirePostResponse_data.additionalData);
271
+ }
272
+ /**
273
+ * Uri template for the request builder.
274
+ */
275
+ export const ExpireRequestBuilderUriTemplate = "{+baseurl}/api/v1/documents/{id}/submissions/{sid}/expire";
276
+ export const ExpirePostResponse_data_outcomeObject = {
277
+ Expired: "expired",
278
+ };
279
+ /**
280
+ * Metadata for all the requests in the request builder.
281
+ */
282
+ export const ExpireRequestBuilderRequestsMetadata = {
283
+ post: {
284
+ uriTemplate: ExpireRequestBuilderUriTemplate,
285
+ responseBodyContentType: "application/json",
286
+ errorMappings: {
287
+ 400: createExpire400ErrorFromDiscriminatorValue,
288
+ 403: createExpire403ErrorFromDiscriminatorValue,
289
+ 404: createExpire404ErrorFromDiscriminatorValue,
290
+ 409: createExpire409ErrorFromDiscriminatorValue,
291
+ },
292
+ adapterMethodName: "send",
293
+ responseBodyFactory: createExpirePostResponseFromDiscriminatorValue,
294
+ requestBodyContentType: "application/json",
295
+ requestBodySerializer: serializeExpirePostRequestBody,
296
+ requestInformationContentSetMethod: "setContentFromParsable",
297
+ },
298
+ };
299
+ /* tslint:enable */
300
+ /* eslint-enable */
301
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../../src/client/api/v1/documents/item/submissions/item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