@caraer/client 2.0.507 → 2.0.509

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/api.d.ts CHANGED
@@ -1441,6 +1441,7 @@ export interface CmsPageModuleInstance {
1441
1441
  export interface CmsPagePatch {
1442
1442
  'op'?: string;
1443
1443
  'moduleId'?: string;
1444
+ 'ref'?: string;
1444
1445
  'field'?: string;
1445
1446
  'value'?: any;
1446
1447
  'fields'?: {
@@ -2566,9 +2567,9 @@ export declare const EventRsvpRequestScopeEnum: {
2566
2567
  };
2567
2568
  export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
2568
2569
  export interface ExistingWidgetSummary {
2569
- 'xproperty'?: string;
2570
2570
  'ymetric'?: string;
2571
2571
  'yproperty'?: string;
2572
+ 'xproperty'?: string;
2572
2573
  'title'?: string;
2573
2574
  'chartType'?: string;
2574
2575
  'xProperty'?: string;
@@ -3498,11 +3499,11 @@ export interface ModelRecord {
3498
3499
  'deleted'?: boolean;
3499
3500
  'complete'?: boolean;
3500
3501
  'uuid': string;
3502
+ 'user'?: PublicUserDTO;
3501
3503
  'properties'?: Array<FilledProperty>;
3502
3504
  'objects'?: {
3503
3505
  [key: string]: any | null;
3504
3506
  };
3505
- 'user'?: PublicUserDTO;
3506
3507
  }
3507
3508
  export interface MultiFile extends PropertyFormat {
3508
3509
  }
@@ -5736,8 +5737,8 @@ export interface SettingField {
5736
5737
  'hidden'?: boolean;
5737
5738
  'disabled'?: boolean;
5738
5739
  'options'?: Array<SettingOption>;
5739
- 'defaultValue'?: any;
5740
5740
  'value'?: any;
5741
+ 'defaultValue'?: any;
5741
5742
  }
5742
5743
  export declare const SettingFieldTypeEnum: {
5743
5744
  readonly String: "STRING";
@@ -10734,6 +10735,15 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
10734
10735
  * @throws {RequiredError}
10735
10736
  */
10736
10737
  createTranslation: (recordUuid: string, key: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10738
+ /**
10739
+ *
10740
+ * @summary Discard a Modify-this-module playground session
10741
+ * @param {string} recordUuid
10742
+ * @param {string} sessionId
10743
+ * @param {*} [options] Override http request option.
10744
+ * @throws {RequiredError}
10745
+ */
10746
+ discardModuleFork: (recordUuid: string, sessionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10737
10747
  /**
10738
10748
  * Finds the page at /404 on the root Webpage object, or creates an empty draft there, and stores it as the company custom 404 page.
10739
10749
  * @summary Create or reuse the custom 404 page
@@ -10812,6 +10822,18 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
10812
10822
  * @throws {RequiredError}
10813
10823
  */
10814
10824
  previewLink: (recordUuid: string, locale?: string, state?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10825
+ /**
10826
+ *
10827
+ * @summary Rewrite forked module source from a prompt
10828
+ * @param {string} recordUuid
10829
+ * @param {string} sessionId
10830
+ * @param {{ [key: string]: any | null; }} requestBody
10831
+ * @param {*} [options] Override http request option.
10832
+ * @throws {RequiredError}
10833
+ */
10834
+ promptModuleFork: (recordUuid: string, sessionId: string, requestBody: {
10835
+ [key: string]: any | null;
10836
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10815
10837
  /**
10816
10838
  * Copies the draft over the published document. Publishing is per locale so a translated page can ship without republishing the others.
10817
10839
  * @summary Publish one locale, or all of them
@@ -10854,6 +10876,18 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
10854
10876
  saveMeta: (recordUuid: string, requestBody: {
10855
10877
  [key: string]: any | null;
10856
10878
  }, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10879
+ /**
10880
+ * Merges the new module into the whole npm package so sibling modules are not retired, then swaps this placement with set_module.
10881
+ * @summary Publish the forked module into a private app
10882
+ * @param {string} recordUuid
10883
+ * @param {string} sessionId
10884
+ * @param {{ [key: string]: any | null; }} requestBody
10885
+ * @param {*} [options] Override http request option.
10886
+ * @throws {RequiredError}
10887
+ */
10888
+ saveModuleFork: (recordUuid: string, sessionId: string, requestBody: {
10889
+ [key: string]: any | null;
10890
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10857
10891
  /**
10858
10892
  *
10859
10893
  * @summary Replace a CMS v2 object template
@@ -10864,6 +10898,17 @@ export declare const CMSV2PagesApiAxiosParamCreator: (configuration?: Configurat
10864
10898
  * @throws {RequiredError}
10865
10899
  */
10866
10900
  saveTemplate: (objectUuid: string, cmsPageDocument: CmsPageDocument, locale?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10901
+ /**
10902
+ * CMS v2 companies and pages only. Copies the installed module\'s published source into a playground session. Live code edits stay off the company site until save publishes a platform v2 private-app package and a rebuild compiles it.
10903
+ * @summary Start a Modify-this-module playground session
10904
+ * @param {string} recordUuid
10905
+ * @param {{ [key: string]: any | null; }} requestBody
10906
+ * @param {*} [options] Override http request option.
10907
+ * @throws {RequiredError}
10908
+ */
10909
+ startModuleFork: (recordUuid: string, requestBody: {
10910
+ [key: string]: any | null;
10911
+ }, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10867
10912
  /**
10868
10913
  *
10869
10914
  * @summary Take one locale offline
@@ -10907,6 +10952,15 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
10907
10952
  * @throws {RequiredError}
10908
10953
  */
10909
10954
  createTranslation(recordUuid: string, key: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>>;
10955
+ /**
10956
+ *
10957
+ * @summary Discard a Modify-this-module playground session
10958
+ * @param {string} recordUuid
10959
+ * @param {string} sessionId
10960
+ * @param {*} [options] Override http request option.
10961
+ * @throws {RequiredError}
10962
+ */
10963
+ discardModuleFork(recordUuid: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
10910
10964
  /**
10911
10965
  * Finds the page at /404 on the root Webpage object, or creates an empty draft there, and stores it as the company custom 404 page.
10912
10966
  * @summary Create or reuse the custom 404 page
@@ -10985,6 +11039,18 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
10985
11039
  * @throws {RequiredError}
10986
11040
  */
10987
11041
  previewLink(recordUuid: string, locale?: string, state?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
11042
+ /**
11043
+ *
11044
+ * @summary Rewrite forked module source from a prompt
11045
+ * @param {string} recordUuid
11046
+ * @param {string} sessionId
11047
+ * @param {{ [key: string]: any | null; }} requestBody
11048
+ * @param {*} [options] Override http request option.
11049
+ * @throws {RequiredError}
11050
+ */
11051
+ promptModuleFork(recordUuid: string, sessionId: string, requestBody: {
11052
+ [key: string]: any | null;
11053
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
10988
11054
  /**
10989
11055
  * Copies the draft over the published document. Publishing is per locale so a translated page can ship without republishing the others.
10990
11056
  * @summary Publish one locale, or all of them
@@ -11027,6 +11093,18 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
11027
11093
  saveMeta(recordUuid: string, requestBody: {
11028
11094
  [key: string]: any | null;
11029
11095
  }, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDTO>>;
11096
+ /**
11097
+ * Merges the new module into the whole npm package so sibling modules are not retired, then swaps this placement with set_module.
11098
+ * @summary Publish the forked module into a private app
11099
+ * @param {string} recordUuid
11100
+ * @param {string} sessionId
11101
+ * @param {{ [key: string]: any | null; }} requestBody
11102
+ * @param {*} [options] Override http request option.
11103
+ * @throws {RequiredError}
11104
+ */
11105
+ saveModuleFork(recordUuid: string, sessionId: string, requestBody: {
11106
+ [key: string]: any | null;
11107
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
11030
11108
  /**
11031
11109
  *
11032
11110
  * @summary Replace a CMS v2 object template
@@ -11037,6 +11115,17 @@ export declare const CMSV2PagesApiFp: (configuration?: Configuration) => {
11037
11115
  * @throws {RequiredError}
11038
11116
  */
11039
11117
  saveTemplate(objectUuid: string, cmsPageDocument: CmsPageDocument, locale?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseCmsPageDocument>>;
11118
+ /**
11119
+ * CMS v2 companies and pages only. Copies the installed module\'s published source into a playground session. Live code edits stay off the company site until save publishes a platform v2 private-app package and a rebuild compiles it.
11120
+ * @summary Start a Modify-this-module playground session
11121
+ * @param {string} recordUuid
11122
+ * @param {{ [key: string]: any | null; }} requestBody
11123
+ * @param {*} [options] Override http request option.
11124
+ * @throws {RequiredError}
11125
+ */
11126
+ startModuleFork(recordUuid: string, requestBody: {
11127
+ [key: string]: any | null;
11128
+ }, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShowResponseMapStringObject>>;
11040
11129
  /**
11041
11130
  *
11042
11131
  * @summary Take one locale offline
@@ -11080,6 +11169,15 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
11080
11169
  * @throws {RequiredError}
11081
11170
  */
11082
11171
  createTranslation(recordUuid: string, key: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO>;
11172
+ /**
11173
+ *
11174
+ * @summary Discard a Modify-this-module playground session
11175
+ * @param {string} recordUuid
11176
+ * @param {string} sessionId
11177
+ * @param {*} [options] Override http request option.
11178
+ * @throws {RequiredError}
11179
+ */
11180
+ discardModuleFork(recordUuid: string, sessionId: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11083
11181
  /**
11084
11182
  * Finds the page at /404 on the root Webpage object, or creates an empty draft there, and stores it as the company custom 404 page.
11085
11183
  * @summary Create or reuse the custom 404 page
@@ -11158,6 +11256,18 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
11158
11256
  * @throws {RequiredError}
11159
11257
  */
11160
11258
  previewLink(recordUuid: string, locale?: string, state?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11259
+ /**
11260
+ *
11261
+ * @summary Rewrite forked module source from a prompt
11262
+ * @param {string} recordUuid
11263
+ * @param {string} sessionId
11264
+ * @param {{ [key: string]: any | null; }} requestBody
11265
+ * @param {*} [options] Override http request option.
11266
+ * @throws {RequiredError}
11267
+ */
11268
+ promptModuleFork(recordUuid: string, sessionId: string, requestBody: {
11269
+ [key: string]: any | null;
11270
+ }, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11161
11271
  /**
11162
11272
  * Copies the draft over the published document. Publishing is per locale so a translated page can ship without republishing the others.
11163
11273
  * @summary Publish one locale, or all of them
@@ -11200,6 +11310,18 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
11200
11310
  saveMeta(recordUuid: string, requestBody: {
11201
11311
  [key: string]: any | null;
11202
11312
  }, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDTO>;
11313
+ /**
11314
+ * Merges the new module into the whole npm package so sibling modules are not retired, then swaps this placement with set_module.
11315
+ * @summary Publish the forked module into a private app
11316
+ * @param {string} recordUuid
11317
+ * @param {string} sessionId
11318
+ * @param {{ [key: string]: any | null; }} requestBody
11319
+ * @param {*} [options] Override http request option.
11320
+ * @throws {RequiredError}
11321
+ */
11322
+ saveModuleFork(recordUuid: string, sessionId: string, requestBody: {
11323
+ [key: string]: any | null;
11324
+ }, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11203
11325
  /**
11204
11326
  *
11205
11327
  * @summary Replace a CMS v2 object template
@@ -11210,6 +11332,17 @@ export declare const CMSV2PagesApiFactory: (configuration?: Configuration, baseP
11210
11332
  * @throws {RequiredError}
11211
11333
  */
11212
11334
  saveTemplate(objectUuid: string, cmsPageDocument: CmsPageDocument, locale?: string, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseCmsPageDocument>;
11335
+ /**
11336
+ * CMS v2 companies and pages only. Copies the installed module\'s published source into a playground session. Live code edits stay off the company site until save publishes a platform v2 private-app package and a rebuild compiles it.
11337
+ * @summary Start a Modify-this-module playground session
11338
+ * @param {string} recordUuid
11339
+ * @param {{ [key: string]: any | null; }} requestBody
11340
+ * @param {*} [options] Override http request option.
11341
+ * @throws {RequiredError}
11342
+ */
11343
+ startModuleFork(recordUuid: string, requestBody: {
11344
+ [key: string]: any | null;
11345
+ }, options?: RawAxiosRequestConfig): AxiosPromise<ShowResponseMapStringObject>;
11213
11346
  /**
11214
11347
  *
11215
11348
  * @summary Take one locale offline
@@ -11253,6 +11386,15 @@ export declare class CMSV2PagesApi extends BaseAPI {
11253
11386
  * @throws {RequiredError}
11254
11387
  */
11255
11388
  createTranslation(recordUuid: string, key: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseCmsPageDTO, any, {}>>;
11389
+ /**
11390
+ *
11391
+ * @summary Discard a Modify-this-module playground session
11392
+ * @param {string} recordUuid
11393
+ * @param {string} sessionId
11394
+ * @param {*} [options] Override http request option.
11395
+ * @throws {RequiredError}
11396
+ */
11397
+ discardModuleFork(recordUuid: string, sessionId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11256
11398
  /**
11257
11399
  * Finds the page at /404 on the root Webpage object, or creates an empty draft there, and stores it as the company custom 404 page.
11258
11400
  * @summary Create or reuse the custom 404 page
@@ -11331,6 +11473,18 @@ export declare class CMSV2PagesApi extends BaseAPI {
11331
11473
  * @throws {RequiredError}
11332
11474
  */
11333
11475
  previewLink(recordUuid: string, locale?: string, state?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11476
+ /**
11477
+ *
11478
+ * @summary Rewrite forked module source from a prompt
11479
+ * @param {string} recordUuid
11480
+ * @param {string} sessionId
11481
+ * @param {{ [key: string]: any | null; }} requestBody
11482
+ * @param {*} [options] Override http request option.
11483
+ * @throws {RequiredError}
11484
+ */
11485
+ promptModuleFork(recordUuid: string, sessionId: string, requestBody: {
11486
+ [key: string]: any | null;
11487
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11334
11488
  /**
11335
11489
  * Copies the draft over the published document. Publishing is per locale so a translated page can ship without republishing the others.
11336
11490
  * @summary Publish one locale, or all of them
@@ -11373,6 +11527,18 @@ export declare class CMSV2PagesApi extends BaseAPI {
11373
11527
  saveMeta(recordUuid: string, requestBody: {
11374
11528
  [key: string]: any | null;
11375
11529
  }, locale?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseCmsPageDTO, any, {}>>;
11530
+ /**
11531
+ * Merges the new module into the whole npm package so sibling modules are not retired, then swaps this placement with set_module.
11532
+ * @summary Publish the forked module into a private app
11533
+ * @param {string} recordUuid
11534
+ * @param {string} sessionId
11535
+ * @param {{ [key: string]: any | null; }} requestBody
11536
+ * @param {*} [options] Override http request option.
11537
+ * @throws {RequiredError}
11538
+ */
11539
+ saveModuleFork(recordUuid: string, sessionId: string, requestBody: {
11540
+ [key: string]: any | null;
11541
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11376
11542
  /**
11377
11543
  *
11378
11544
  * @summary Replace a CMS v2 object template
@@ -11383,6 +11549,17 @@ export declare class CMSV2PagesApi extends BaseAPI {
11383
11549
  * @throws {RequiredError}
11384
11550
  */
11385
11551
  saveTemplate(objectUuid: string, cmsPageDocument: CmsPageDocument, locale?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseCmsPageDocument, any, {}>>;
11552
+ /**
11553
+ * CMS v2 companies and pages only. Copies the installed module\'s published source into a playground session. Live code edits stay off the company site until save publishes a platform v2 private-app package and a rebuild compiles it.
11554
+ * @summary Start a Modify-this-module playground session
11555
+ * @param {string} recordUuid
11556
+ * @param {{ [key: string]: any | null; }} requestBody
11557
+ * @param {*} [options] Override http request option.
11558
+ * @throws {RequiredError}
11559
+ */
11560
+ startModuleFork(recordUuid: string, requestBody: {
11561
+ [key: string]: any | null;
11562
+ }, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ShowResponseMapStringObject, any, {}>>;
11386
11563
  /**
11387
11564
  *
11388
11565
  * @summary Take one locale offline