@wix/auto_sdk_standalone-forms_standalone-forms 1.0.0 → 1.0.1
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/build/cjs/index.d.ts +3 -15
- package/build/cjs/index.js +15 -83
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -13
- package/build/cjs/index.typings.js +15 -76
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -3
- package/build/cjs/meta.js +15 -71
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +3 -15
- package/build/es/index.mjs +15 -82
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -13
- package/build/es/index.typings.mjs +15 -75
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -3
- package/build/es/meta.mjs +15 -70
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -15
- package/build/internal/cjs/index.typings.d.ts +1 -13
- package/build/internal/cjs/meta.d.ts +2 -3
- package/build/internal/es/index.d.mts +3 -15
- package/build/internal/es/index.typings.d.mts +1 -13
- package/build/internal/es/meta.d.mts +2 -3
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreateStandaloneFormRequest as CreateStandaloneFormRequest$1, CreateStandaloneFormResponse as CreateStandaloneFormResponse$1, GetStandaloneFormRequest as GetStandaloneFormRequest$1, GetStandaloneFormResponse as GetStandaloneFormResponse$1, DeleteStandaloneFormRequest as DeleteStandaloneFormRequest$1, DeleteStandaloneFormResponse as DeleteStandaloneFormResponse$1, RemoveStandaloneFormFromTrashBinRequest as RemoveStandaloneFormFromTrashBinRequest$1, RemoveStandaloneFormFromTrashBinResponse as RemoveStandaloneFormFromTrashBinResponse$1, RestoreStandaloneFormFromTrashBinRequest as RestoreStandaloneFormFromTrashBinRequest$1, RestoreStandaloneFormFromTrashBinResponse as RestoreStandaloneFormFromTrashBinResponse$1, GetDeletedStandaloneFormRequest as GetDeletedStandaloneFormRequest$1, GetDeletedStandaloneFormResponse as GetDeletedStandaloneFormResponse$1, ListDeletedStandaloneFormsRequest as ListDeletedStandaloneFormsRequest$1, ListDeletedStandaloneFormsResponse as ListDeletedStandaloneFormsResponse$1, QueryStandaloneFormsRequest as QueryStandaloneFormsRequest$1, QueryStandaloneFormsResponse as QueryStandaloneFormsResponse$1, GetSitePropertiesRequest as GetSitePropertiesRequest$1, GetSitePropertiesResponse as GetSitePropertiesResponse$1 } from './index.typings.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
interface StandaloneForm {
|
|
@@ -1277,7 +1277,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
1277
1277
|
__responseType: Q;
|
|
1278
1278
|
__originalResponseType: R;
|
|
1279
1279
|
};
|
|
1280
|
-
declare function getOrCreateFormStandaloneMetaSite(): __PublicMethodMetaInfo<'GET', {}, GetOrCreateFormStandaloneMetaSiteRequest$1, GetOrCreateFormStandaloneMetaSiteRequest, GetOrCreateFormStandaloneMetaSiteResponse$1, GetOrCreateFormStandaloneMetaSiteResponse>;
|
|
1281
1280
|
declare function createStandaloneForm(): __PublicMethodMetaInfo<'POST', {}, CreateStandaloneFormRequest$1, CreateStandaloneFormRequest, CreateStandaloneFormResponse$1, CreateStandaloneFormResponse>;
|
|
1282
1281
|
declare function getStandaloneForm(): __PublicMethodMetaInfo<'GET', {
|
|
1283
1282
|
standaloneFormId: string;
|
|
@@ -1298,4 +1297,4 @@ declare function listDeletedStandaloneForms(): __PublicMethodMetaInfo<'GET', {},
|
|
|
1298
1297
|
declare function queryStandaloneForms(): __PublicMethodMetaInfo<'POST', {}, QueryStandaloneFormsRequest$1, QueryStandaloneFormsRequest, QueryStandaloneFormsResponse$1, QueryStandaloneFormsResponse>;
|
|
1299
1298
|
declare function getSiteProperties(): __PublicMethodMetaInfo<'GET', {}, GetSitePropertiesRequest$1, GetSitePropertiesRequest, GetSitePropertiesResponse$1, GetSitePropertiesResponse>;
|
|
1300
1299
|
|
|
1301
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type Asset as AssetOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateStandaloneFormApplicationErrors as CreateStandaloneFormApplicationErrorsOriginal, type CreateStandaloneFormRequest as CreateStandaloneFormRequestOriginal, type CreateStandaloneFormResponse as CreateStandaloneFormResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteContext as DeleteContextOriginal, type DeleteStandaloneFormRequest as DeleteStandaloneFormRequestOriginal, type DeleteStandaloneFormResponse as DeleteStandaloneFormResponseOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EditorlessAssigned as EditorlessAssignedOriginal, type EditorlessUnassigned as EditorlessUnassignedOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetDeletedStandaloneFormRequest as GetDeletedStandaloneFormRequestOriginal, type GetDeletedStandaloneFormResponse as GetDeletedStandaloneFormResponseOriginal, type GetOrCreateFormStandaloneMetaSiteRequest as GetOrCreateFormStandaloneMetaSiteRequestOriginal, type GetOrCreateFormStandaloneMetaSiteResponse as GetOrCreateFormStandaloneMetaSiteResponseOriginal, type GetSitePropertiesApplicationErrors as GetSitePropertiesApplicationErrorsOriginal, type GetSitePropertiesRequest as GetSitePropertiesRequestOriginal, type GetSitePropertiesResponse as GetSitePropertiesResponseOriginal, type GetStandaloneFormRequest as GetStandaloneFormRequestOriginal, type GetStandaloneFormResponse as GetStandaloneFormResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListDeletedStandaloneFormsRequest as ListDeletedStandaloneFormsRequestOriginal, type ListDeletedStandaloneFormsResponse as ListDeletedStandaloneFormsResponseOriginal, type Locale as LocaleOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryStandaloneFormsRequest as QueryStandaloneFormsRequestOriginal, type QueryStandaloneFormsResponse as QueryStandaloneFormsResponseOriginal, type RemoveStandaloneFormFromTrashBinRequest as RemoveStandaloneFormFromTrashBinRequestOriginal, type RemoveStandaloneFormFromTrashBinResponse as RemoveStandaloneFormFromTrashBinResponseOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreStandaloneFormFromTrashBinRequest as RestoreStandaloneFormFromTrashBinRequestOriginal, type RestoreStandaloneFormFromTrashBinResponse as RestoreStandaloneFormFromTrashBinResponseOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type SiteCloned as SiteClonedOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type StandaloneForm as StandaloneFormOriginal, type StandaloneMetaSiteProperties as StandaloneMetaSitePropertiesOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioTwoAssigned as StudioTwoAssignedOriginal, type StudioTwoUnassigned as StudioTwoUnassignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, type UserDomainMediaDisabled as UserDomainMediaDisabledOriginal, type UserDomainMediaEnabled as UserDomainMediaEnabledOriginal, type V4SiteCreated as V4SiteCreatedOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixelAssigned as WixelAssignedOriginal, type WixelUnassigned as WixelUnassignedOriginal, type __PublicMethodMetaInfo, createStandaloneForm, deleteStandaloneForm, getDeletedStandaloneForm,
|
|
1300
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type Asset as AssetOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateStandaloneFormApplicationErrors as CreateStandaloneFormApplicationErrorsOriginal, type CreateStandaloneFormRequest as CreateStandaloneFormRequestOriginal, type CreateStandaloneFormResponse as CreateStandaloneFormResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteContext as DeleteContextOriginal, type DeleteStandaloneFormRequest as DeleteStandaloneFormRequestOriginal, type DeleteStandaloneFormResponse as DeleteStandaloneFormResponseOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type EditorlessAssigned as EditorlessAssignedOriginal, type EditorlessUnassigned as EditorlessUnassignedOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetDeletedStandaloneFormRequest as GetDeletedStandaloneFormRequestOriginal, type GetDeletedStandaloneFormResponse as GetDeletedStandaloneFormResponseOriginal, type GetOrCreateFormStandaloneMetaSiteRequest as GetOrCreateFormStandaloneMetaSiteRequestOriginal, type GetOrCreateFormStandaloneMetaSiteResponse as GetOrCreateFormStandaloneMetaSiteResponseOriginal, type GetSitePropertiesApplicationErrors as GetSitePropertiesApplicationErrorsOriginal, type GetSitePropertiesRequest as GetSitePropertiesRequestOriginal, type GetSitePropertiesResponse as GetSitePropertiesResponseOriginal, type GetStandaloneFormRequest as GetStandaloneFormRequestOriginal, type GetStandaloneFormResponse as GetStandaloneFormResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ListDeletedStandaloneFormsRequest as ListDeletedStandaloneFormsRequestOriginal, type ListDeletedStandaloneFormsResponse as ListDeletedStandaloneFormsResponseOriginal, type Locale as LocaleOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryStandaloneFormsRequest as QueryStandaloneFormsRequestOriginal, type QueryStandaloneFormsResponse as QueryStandaloneFormsResponseOriginal, type RemoveStandaloneFormFromTrashBinRequest as RemoveStandaloneFormFromTrashBinRequestOriginal, type RemoveStandaloneFormFromTrashBinResponse as RemoveStandaloneFormFromTrashBinResponseOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RestoreStandaloneFormFromTrashBinRequest as RestoreStandaloneFormFromTrashBinRequestOriginal, type RestoreStandaloneFormFromTrashBinResponse as RestoreStandaloneFormFromTrashBinResponseOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type SiteCloned as SiteClonedOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type StandaloneForm as StandaloneFormOriginal, type StandaloneMetaSiteProperties as StandaloneMetaSitePropertiesOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioTwoAssigned as StudioTwoAssignedOriginal, type StudioTwoUnassigned as StudioTwoUnassignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, type UserDomainMediaDisabled as UserDomainMediaDisabledOriginal, type UserDomainMediaEnabled as UserDomainMediaEnabledOriginal, type V4SiteCreated as V4SiteCreatedOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type WixelAssigned as WixelAssignedOriginal, type WixelUnassigned as WixelUnassignedOriginal, type __PublicMethodMetaInfo, createStandaloneForm, deleteStandaloneForm, getDeletedStandaloneForm, getSiteProperties, getStandaloneForm, listDeletedStandaloneForms, queryStandaloneForms, removeStandaloneFormFromTrashBin, restoreStandaloneFormFromTrashBin };
|
package/build/es/meta.mjs
CHANGED
|
@@ -4,6 +4,14 @@ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transform
|
|
|
4
4
|
import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
|
|
5
5
|
import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
|
|
6
6
|
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
7
|
+
var TRANSFORM_PATHS_0 = [
|
|
8
|
+
{ path: "standaloneForm.createdDate" },
|
|
9
|
+
{ path: "standaloneForm.updatedDate" }
|
|
10
|
+
];
|
|
11
|
+
var TRANSFORM_PATHS_1 = [
|
|
12
|
+
{ path: "standaloneForms.createdDate" },
|
|
13
|
+
{ path: "standaloneForms.updatedDate" }
|
|
14
|
+
];
|
|
7
15
|
function resolveWixFormsV1FormStandaloneServiceUrl(opts) {
|
|
8
16
|
const domainToMappings = {
|
|
9
17
|
"manage._base_domain_": [
|
|
@@ -74,36 +82,12 @@ function resolveWixFormsV1FormStandaloneServiceUrl(opts) {
|
|
|
74
82
|
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
75
83
|
}
|
|
76
84
|
var PACKAGE_NAME = "@wix/auto_sdk_standalone-forms_standalone-forms";
|
|
77
|
-
function getOrCreateFormStandaloneMetaSite(payload) {
|
|
78
|
-
function __getOrCreateFormStandaloneMetaSite({ host }) {
|
|
79
|
-
const metadata = {
|
|
80
|
-
entityFqdn: "wix.forms.v1.standalone_form",
|
|
81
|
-
method: "GET",
|
|
82
|
-
methodFqn: "wix.forms.v1.FormStandaloneService.GetOrCreateFormStandaloneMetaSite",
|
|
83
|
-
packageName: PACKAGE_NAME,
|
|
84
|
-
migrationOptions: {
|
|
85
|
-
optInTransformResponse: true
|
|
86
|
-
},
|
|
87
|
-
url: resolveWixFormsV1FormStandaloneServiceUrl({
|
|
88
|
-
protoPath: "/v4/standalone-forms/metasite",
|
|
89
|
-
data: payload,
|
|
90
|
-
host
|
|
91
|
-
}),
|
|
92
|
-
params: toURLSearchParams(payload)
|
|
93
|
-
};
|
|
94
|
-
return metadata;
|
|
95
|
-
}
|
|
96
|
-
return __getOrCreateFormStandaloneMetaSite;
|
|
97
|
-
}
|
|
98
85
|
function createStandaloneForm(payload) {
|
|
99
86
|
function __createStandaloneForm({ host }) {
|
|
100
87
|
const serializedData = transformPaths(payload, [
|
|
101
88
|
{
|
|
102
89
|
transformFn: transformSDKTimestampToRESTTimestamp,
|
|
103
|
-
paths:
|
|
104
|
-
{ path: "standaloneForm.createdDate" },
|
|
105
|
-
{ path: "standaloneForm.updatedDate" }
|
|
106
|
-
]
|
|
90
|
+
paths: TRANSFORM_PATHS_0
|
|
107
91
|
}
|
|
108
92
|
]);
|
|
109
93
|
const metadata = {
|
|
@@ -123,10 +107,7 @@ function createStandaloneForm(payload) {
|
|
|
123
107
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
124
108
|
{
|
|
125
109
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
126
|
-
paths:
|
|
127
|
-
{ path: "standaloneForm.createdDate" },
|
|
128
|
-
{ path: "standaloneForm.updatedDate" }
|
|
129
|
-
]
|
|
110
|
+
paths: TRANSFORM_PATHS_0
|
|
130
111
|
}
|
|
131
112
|
])
|
|
132
113
|
};
|
|
@@ -153,10 +134,7 @@ function getStandaloneForm(payload) {
|
|
|
153
134
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
154
135
|
{
|
|
155
136
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
156
|
-
paths:
|
|
157
|
-
{ path: "standaloneForm.createdDate" },
|
|
158
|
-
{ path: "standaloneForm.updatedDate" }
|
|
159
|
-
]
|
|
137
|
+
paths: TRANSFORM_PATHS_0
|
|
160
138
|
}
|
|
161
139
|
])
|
|
162
140
|
};
|
|
@@ -225,10 +203,7 @@ function restoreStandaloneFormFromTrashBin(payload) {
|
|
|
225
203
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
226
204
|
{
|
|
227
205
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
228
|
-
paths:
|
|
229
|
-
{ path: "standaloneForm.createdDate" },
|
|
230
|
-
{ path: "standaloneForm.updatedDate" }
|
|
231
|
-
]
|
|
206
|
+
paths: TRANSFORM_PATHS_0
|
|
232
207
|
}
|
|
233
208
|
])
|
|
234
209
|
};
|
|
@@ -255,10 +230,7 @@ function getDeletedStandaloneForm(payload) {
|
|
|
255
230
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
256
231
|
{
|
|
257
232
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
258
|
-
paths:
|
|
259
|
-
{ path: "standaloneForm.createdDate" },
|
|
260
|
-
{ path: "standaloneForm.updatedDate" }
|
|
261
|
-
]
|
|
233
|
+
paths: TRANSFORM_PATHS_0
|
|
262
234
|
}
|
|
263
235
|
])
|
|
264
236
|
};
|
|
@@ -285,10 +257,7 @@ function listDeletedStandaloneForms(payload) {
|
|
|
285
257
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
286
258
|
{
|
|
287
259
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
288
|
-
paths:
|
|
289
|
-
{ path: "standaloneForms.createdDate" },
|
|
290
|
-
{ path: "standaloneForms.updatedDate" }
|
|
291
|
-
]
|
|
260
|
+
paths: TRANSFORM_PATHS_1
|
|
292
261
|
}
|
|
293
262
|
])
|
|
294
263
|
};
|
|
@@ -315,10 +284,7 @@ function queryStandaloneForms(payload) {
|
|
|
315
284
|
transformResponse: (payload2) => transformPaths(payload2, [
|
|
316
285
|
{
|
|
317
286
|
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
318
|
-
paths:
|
|
319
|
-
{ path: "standaloneForms.createdDate" },
|
|
320
|
-
{ path: "standaloneForms.updatedDate" }
|
|
321
|
-
]
|
|
287
|
+
paths: TRANSFORM_PATHS_1
|
|
322
288
|
}
|
|
323
289
|
])
|
|
324
290
|
};
|
|
@@ -454,26 +420,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
454
420
|
})(WebhookIdentityType || {});
|
|
455
421
|
|
|
456
422
|
// src/forms-v1-standalone-form-standalone-forms.meta.ts
|
|
457
|
-
function getOrCreateFormStandaloneMetaSite2() {
|
|
458
|
-
const payload = {};
|
|
459
|
-
const getRequestOptions = getOrCreateFormStandaloneMetaSite(
|
|
460
|
-
payload
|
|
461
|
-
);
|
|
462
|
-
const getUrl = (context) => {
|
|
463
|
-
const { url } = getRequestOptions(context);
|
|
464
|
-
return url;
|
|
465
|
-
};
|
|
466
|
-
return {
|
|
467
|
-
getUrl,
|
|
468
|
-
httpMethod: "GET",
|
|
469
|
-
path: "/v4/standalone-forms/metasite",
|
|
470
|
-
pathParams: {},
|
|
471
|
-
__requestType: null,
|
|
472
|
-
__originalRequestType: null,
|
|
473
|
-
__responseType: null,
|
|
474
|
-
__originalResponseType: null
|
|
475
|
-
};
|
|
476
|
-
}
|
|
477
423
|
function createStandaloneForm2() {
|
|
478
424
|
const payload = {};
|
|
479
425
|
const getRequestOptions = createStandaloneForm(payload);
|
|
@@ -653,7 +599,6 @@ export {
|
|
|
653
599
|
createStandaloneForm2 as createStandaloneForm,
|
|
654
600
|
deleteStandaloneForm2 as deleteStandaloneForm,
|
|
655
601
|
getDeletedStandaloneForm2 as getDeletedStandaloneForm,
|
|
656
|
-
getOrCreateFormStandaloneMetaSite2 as getOrCreateFormStandaloneMetaSite,
|
|
657
602
|
getSiteProperties2 as getSiteProperties,
|
|
658
603
|
getStandaloneForm2 as getStandaloneForm,
|
|
659
604
|
listDeletedStandaloneForms2 as listDeletedStandaloneForms,
|