@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/cjs/meta.d.ts
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.js';
|
|
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/cjs/meta.js
CHANGED
|
@@ -32,7 +32,6 @@ __export(meta_exports, {
|
|
|
32
32
|
createStandaloneForm: () => createStandaloneForm2,
|
|
33
33
|
deleteStandaloneForm: () => deleteStandaloneForm2,
|
|
34
34
|
getDeletedStandaloneForm: () => getDeletedStandaloneForm2,
|
|
35
|
-
getOrCreateFormStandaloneMetaSite: () => getOrCreateFormStandaloneMetaSite2,
|
|
36
35
|
getSiteProperties: () => getSiteProperties2,
|
|
37
36
|
getStandaloneForm: () => getStandaloneForm2,
|
|
38
37
|
listDeletedStandaloneForms: () => listDeletedStandaloneForms2,
|
|
@@ -48,6 +47,14 @@ var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
|
48
47
|
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
49
48
|
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
50
49
|
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
50
|
+
var TRANSFORM_PATHS_0 = [
|
|
51
|
+
{ path: "standaloneForm.createdDate" },
|
|
52
|
+
{ path: "standaloneForm.updatedDate" }
|
|
53
|
+
];
|
|
54
|
+
var TRANSFORM_PATHS_1 = [
|
|
55
|
+
{ path: "standaloneForms.createdDate" },
|
|
56
|
+
{ path: "standaloneForms.updatedDate" }
|
|
57
|
+
];
|
|
51
58
|
function resolveWixFormsV1FormStandaloneServiceUrl(opts) {
|
|
52
59
|
const domainToMappings = {
|
|
53
60
|
"manage._base_domain_": [
|
|
@@ -118,36 +125,12 @@ function resolveWixFormsV1FormStandaloneServiceUrl(opts) {
|
|
|
118
125
|
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
119
126
|
}
|
|
120
127
|
var PACKAGE_NAME = "@wix/auto_sdk_standalone-forms_standalone-forms";
|
|
121
|
-
function getOrCreateFormStandaloneMetaSite(payload) {
|
|
122
|
-
function __getOrCreateFormStandaloneMetaSite({ host }) {
|
|
123
|
-
const metadata = {
|
|
124
|
-
entityFqdn: "wix.forms.v1.standalone_form",
|
|
125
|
-
method: "GET",
|
|
126
|
-
methodFqn: "wix.forms.v1.FormStandaloneService.GetOrCreateFormStandaloneMetaSite",
|
|
127
|
-
packageName: PACKAGE_NAME,
|
|
128
|
-
migrationOptions: {
|
|
129
|
-
optInTransformResponse: true
|
|
130
|
-
},
|
|
131
|
-
url: resolveWixFormsV1FormStandaloneServiceUrl({
|
|
132
|
-
protoPath: "/v4/standalone-forms/metasite",
|
|
133
|
-
data: payload,
|
|
134
|
-
host
|
|
135
|
-
}),
|
|
136
|
-
params: (0, import_rest_modules.toURLSearchParams)(payload)
|
|
137
|
-
};
|
|
138
|
-
return metadata;
|
|
139
|
-
}
|
|
140
|
-
return __getOrCreateFormStandaloneMetaSite;
|
|
141
|
-
}
|
|
142
128
|
function createStandaloneForm(payload) {
|
|
143
129
|
function __createStandaloneForm({ host }) {
|
|
144
130
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
145
131
|
{
|
|
146
132
|
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
147
|
-
paths:
|
|
148
|
-
{ path: "standaloneForm.createdDate" },
|
|
149
|
-
{ path: "standaloneForm.updatedDate" }
|
|
150
|
-
]
|
|
133
|
+
paths: TRANSFORM_PATHS_0
|
|
151
134
|
}
|
|
152
135
|
]);
|
|
153
136
|
const metadata = {
|
|
@@ -167,10 +150,7 @@ function createStandaloneForm(payload) {
|
|
|
167
150
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
168
151
|
{
|
|
169
152
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
170
|
-
paths:
|
|
171
|
-
{ path: "standaloneForm.createdDate" },
|
|
172
|
-
{ path: "standaloneForm.updatedDate" }
|
|
173
|
-
]
|
|
153
|
+
paths: TRANSFORM_PATHS_0
|
|
174
154
|
}
|
|
175
155
|
])
|
|
176
156
|
};
|
|
@@ -197,10 +177,7 @@ function getStandaloneForm(payload) {
|
|
|
197
177
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
198
178
|
{
|
|
199
179
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
200
|
-
paths:
|
|
201
|
-
{ path: "standaloneForm.createdDate" },
|
|
202
|
-
{ path: "standaloneForm.updatedDate" }
|
|
203
|
-
]
|
|
180
|
+
paths: TRANSFORM_PATHS_0
|
|
204
181
|
}
|
|
205
182
|
])
|
|
206
183
|
};
|
|
@@ -269,10 +246,7 @@ function restoreStandaloneFormFromTrashBin(payload) {
|
|
|
269
246
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
270
247
|
{
|
|
271
248
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
272
|
-
paths:
|
|
273
|
-
{ path: "standaloneForm.createdDate" },
|
|
274
|
-
{ path: "standaloneForm.updatedDate" }
|
|
275
|
-
]
|
|
249
|
+
paths: TRANSFORM_PATHS_0
|
|
276
250
|
}
|
|
277
251
|
])
|
|
278
252
|
};
|
|
@@ -299,10 +273,7 @@ function getDeletedStandaloneForm(payload) {
|
|
|
299
273
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
300
274
|
{
|
|
301
275
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
302
|
-
paths:
|
|
303
|
-
{ path: "standaloneForm.createdDate" },
|
|
304
|
-
{ path: "standaloneForm.updatedDate" }
|
|
305
|
-
]
|
|
276
|
+
paths: TRANSFORM_PATHS_0
|
|
306
277
|
}
|
|
307
278
|
])
|
|
308
279
|
};
|
|
@@ -329,10 +300,7 @@ function listDeletedStandaloneForms(payload) {
|
|
|
329
300
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
330
301
|
{
|
|
331
302
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
332
|
-
paths:
|
|
333
|
-
{ path: "standaloneForms.createdDate" },
|
|
334
|
-
{ path: "standaloneForms.updatedDate" }
|
|
335
|
-
]
|
|
303
|
+
paths: TRANSFORM_PATHS_1
|
|
336
304
|
}
|
|
337
305
|
])
|
|
338
306
|
};
|
|
@@ -359,10 +327,7 @@ function queryStandaloneForms(payload) {
|
|
|
359
327
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
360
328
|
{
|
|
361
329
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
362
|
-
paths:
|
|
363
|
-
{ path: "standaloneForms.createdDate" },
|
|
364
|
-
{ path: "standaloneForms.updatedDate" }
|
|
365
|
-
]
|
|
330
|
+
paths: TRANSFORM_PATHS_1
|
|
366
331
|
}
|
|
367
332
|
])
|
|
368
333
|
};
|
|
@@ -498,26 +463,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
498
463
|
})(WebhookIdentityType || {});
|
|
499
464
|
|
|
500
465
|
// src/forms-v1-standalone-form-standalone-forms.meta.ts
|
|
501
|
-
function getOrCreateFormStandaloneMetaSite2() {
|
|
502
|
-
const payload = {};
|
|
503
|
-
const getRequestOptions = getOrCreateFormStandaloneMetaSite(
|
|
504
|
-
payload
|
|
505
|
-
);
|
|
506
|
-
const getUrl = (context) => {
|
|
507
|
-
const { url } = getRequestOptions(context);
|
|
508
|
-
return url;
|
|
509
|
-
};
|
|
510
|
-
return {
|
|
511
|
-
getUrl,
|
|
512
|
-
httpMethod: "GET",
|
|
513
|
-
path: "/v4/standalone-forms/metasite",
|
|
514
|
-
pathParams: {},
|
|
515
|
-
__requestType: null,
|
|
516
|
-
__originalRequestType: null,
|
|
517
|
-
__responseType: null,
|
|
518
|
-
__originalResponseType: null
|
|
519
|
-
};
|
|
520
|
-
}
|
|
521
466
|
function createStandaloneForm2() {
|
|
522
467
|
const payload = {};
|
|
523
468
|
const getRequestOptions = createStandaloneForm(payload);
|
|
@@ -698,7 +643,6 @@ function getSiteProperties2() {
|
|
|
698
643
|
createStandaloneForm,
|
|
699
644
|
deleteStandaloneForm,
|
|
700
645
|
getDeletedStandaloneForm,
|
|
701
|
-
getOrCreateFormStandaloneMetaSite,
|
|
702
646
|
getSiteProperties,
|
|
703
647
|
getStandaloneForm,
|
|
704
648
|
listDeletedStandaloneForms,
|