@caraer/client 2.0.418 → 2.0.420
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/.openapi-generator/VERSION +1 -1
- package/api.ts +55 -4
- package/common.ts +2 -2
- package/dist/api.d.ts +55 -4
- package/dist/esm/api.d.ts +55 -4
- package/docs/CreateResponse.md +1 -1
- package/docs/DeleteResponse.md +1 -1
- package/docs/DeleteResponseVoid.md +1 -1
- package/docs/ExistingWidgetSummary.md +2 -2
- package/docs/FilterItem.md +1 -1
- package/docs/Leadscore.md +1 -1
- package/docs/PreviewDTO.md +1 -1
- package/docs/PreviewItemDTO.md +4 -4
- package/docs/Record.md +2 -2
- package/docs/RestoreResponse.md +1 -1
- package/docs/ShowItem.md +1 -1
- package/docs/ShowResponse.md +1 -1
- package/docs/ShowResponseObject.md +1 -1
- package/docs/StyleSetDTO.md +4 -4
- package/docs/SuccessResponse.md +1 -1
- package/docs/SuccessResponseVoid.md +1 -1
- package/docs/UpdateResponse.md +1 -1
- package/git_push.sh +14 -17
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
7.
|
|
1
|
+
7.25.0
|
package/api.ts
CHANGED
|
@@ -1631,6 +1631,9 @@ export interface CreateResponse {
|
|
|
1631
1631
|
* A message detailing the result of the operation.
|
|
1632
1632
|
*/
|
|
1633
1633
|
'message'?: string;
|
|
1634
|
+
/**
|
|
1635
|
+
* The data payload of the response, if any.
|
|
1636
|
+
*/
|
|
1634
1637
|
'data'?: any;
|
|
1635
1638
|
}
|
|
1636
1639
|
/**
|
|
@@ -1763,6 +1766,9 @@ export interface DeleteResponse {
|
|
|
1763
1766
|
* A message detailing the result of the operation.
|
|
1764
1767
|
*/
|
|
1765
1768
|
'message'?: string;
|
|
1769
|
+
/**
|
|
1770
|
+
* The data payload of the response, if any.
|
|
1771
|
+
*/
|
|
1766
1772
|
'data'?: any;
|
|
1767
1773
|
}
|
|
1768
1774
|
/**
|
|
@@ -1786,6 +1792,9 @@ export interface DeleteResponseVoid {
|
|
|
1786
1792
|
* A message detailing the result of the operation.
|
|
1787
1793
|
*/
|
|
1788
1794
|
'message'?: string;
|
|
1795
|
+
/**
|
|
1796
|
+
* The data payload of the response, if any.
|
|
1797
|
+
*/
|
|
1789
1798
|
'data'?: any;
|
|
1790
1799
|
}
|
|
1791
1800
|
/**
|
|
@@ -2088,8 +2097,8 @@ export const EventRsvpRequestScopeEnum = {
|
|
|
2088
2097
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2089
2098
|
|
|
2090
2099
|
export interface ExistingWidgetSummary {
|
|
2091
|
-
'xproperty'?: string;
|
|
2092
2100
|
'yproperty'?: string;
|
|
2101
|
+
'xproperty'?: string;
|
|
2093
2102
|
'ymetric'?: string;
|
|
2094
2103
|
'title'?: string;
|
|
2095
2104
|
'chartType'?: string;
|
|
@@ -2215,6 +2224,9 @@ export interface FilterItem {
|
|
|
2215
2224
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2216
2225
|
*/
|
|
2217
2226
|
'operator'?: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* Represents the value to filter against.
|
|
2229
|
+
*/
|
|
2218
2230
|
'value'?: any;
|
|
2219
2231
|
/**
|
|
2220
2232
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2652,6 +2664,9 @@ export interface Leadscore {
|
|
|
2652
2664
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2653
2665
|
*/
|
|
2654
2666
|
'operator'?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* Represents the value to filter against.
|
|
2669
|
+
*/
|
|
2655
2670
|
'value'?: any;
|
|
2656
2671
|
/**
|
|
2657
2672
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2826,9 +2841,9 @@ export interface ModelRecord {
|
|
|
2826
2841
|
'deleted'?: boolean;
|
|
2827
2842
|
'complete'?: boolean;
|
|
2828
2843
|
'uuid': string;
|
|
2844
|
+
'user'?: PublicUserDTO;
|
|
2829
2845
|
'properties'?: Array<FilledProperty>;
|
|
2830
2846
|
'objects'?: { [key: string]: any | null; };
|
|
2831
|
-
'user'?: PublicUserDTO;
|
|
2832
2847
|
}
|
|
2833
2848
|
export interface MultiLine extends PropertyFormat {
|
|
2834
2849
|
}
|
|
@@ -3425,6 +3440,9 @@ export interface PreviewDTO {
|
|
|
3425
3440
|
* Property name used for server-side list sorting
|
|
3426
3441
|
*/
|
|
3427
3442
|
'sortProperty'?: string;
|
|
3443
|
+
/**
|
|
3444
|
+
* Raw stored value of the sort property for this record
|
|
3445
|
+
*/
|
|
3428
3446
|
'sortValue'?: any;
|
|
3429
3447
|
/**
|
|
3430
3448
|
* Unique identifier for the entity
|
|
@@ -3479,11 +3497,17 @@ export interface PreviewItemDTO {
|
|
|
3479
3497
|
* The text content associated with the preview item.
|
|
3480
3498
|
*/
|
|
3481
3499
|
'text'?: string;
|
|
3500
|
+
/**
|
|
3501
|
+
* The value associated with the preview item. This can hold custom data.
|
|
3502
|
+
*/
|
|
3482
3503
|
'value'?: any;
|
|
3483
3504
|
/**
|
|
3484
3505
|
* The related object information for the preview item.
|
|
3485
3506
|
*/
|
|
3486
3507
|
'relatedObject'?: PreviewRelatedObjectDTO;
|
|
3508
|
+
/**
|
|
3509
|
+
* The related object value associated with this preview item.
|
|
3510
|
+
*/
|
|
3487
3511
|
'relatedObjectValue'?: any;
|
|
3488
3512
|
/**
|
|
3489
3513
|
* Whether the preview item is a divider. (solid, dashed, dotted, spacer)
|
|
@@ -3497,7 +3521,13 @@ export interface PreviewItemDTO {
|
|
|
3497
3521
|
* The button url associated with the preview item.
|
|
3498
3522
|
*/
|
|
3499
3523
|
'buttonUrl'?: string;
|
|
3524
|
+
/**
|
|
3525
|
+
* The button text value associated with the preview item.
|
|
3526
|
+
*/
|
|
3500
3527
|
'buttonTextValue'?: any;
|
|
3528
|
+
/**
|
|
3529
|
+
* The button value associated with the preview item.
|
|
3530
|
+
*/
|
|
3501
3531
|
'buttonUrlValue'?: any;
|
|
3502
3532
|
/**
|
|
3503
3533
|
* The settings associated with the preview item.
|
|
@@ -3956,6 +3986,9 @@ export interface RestoreResponse {
|
|
|
3956
3986
|
* A message detailing the result of the operation.
|
|
3957
3987
|
*/
|
|
3958
3988
|
'message'?: string;
|
|
3989
|
+
/**
|
|
3990
|
+
* The data payload of the response, if any.
|
|
3991
|
+
*/
|
|
3959
3992
|
'data'?: any;
|
|
3960
3993
|
}
|
|
3961
3994
|
/**
|
|
@@ -4397,6 +4430,9 @@ export interface ShowItem {
|
|
|
4397
4430
|
* Calculation function used to calculate the value of the item.
|
|
4398
4431
|
*/
|
|
4399
4432
|
'calculationFunction'?: string;
|
|
4433
|
+
/**
|
|
4434
|
+
* Result of the calculation.
|
|
4435
|
+
*/
|
|
4400
4436
|
'calculationResult'?: any;
|
|
4401
4437
|
}
|
|
4402
4438
|
/**
|
|
@@ -4407,6 +4443,9 @@ export interface ShowResponse {
|
|
|
4407
4443
|
* A message detailing the result of the operation.
|
|
4408
4444
|
*/
|
|
4409
4445
|
'message'?: string;
|
|
4446
|
+
/**
|
|
4447
|
+
* The data payload of the response, if any.
|
|
4448
|
+
*/
|
|
4410
4449
|
'data'?: any;
|
|
4411
4450
|
}
|
|
4412
4451
|
/**
|
|
@@ -4508,6 +4547,9 @@ export interface ShowResponseObject {
|
|
|
4508
4547
|
* A message detailing the result of the operation.
|
|
4509
4548
|
*/
|
|
4510
4549
|
'message'?: string;
|
|
4550
|
+
/**
|
|
4551
|
+
* The data payload of the response, if any.
|
|
4552
|
+
*/
|
|
4511
4553
|
'data'?: any;
|
|
4512
4554
|
}
|
|
4513
4555
|
/**
|
|
@@ -4935,8 +4977,8 @@ export interface StyleSetDTO {
|
|
|
4935
4977
|
'hyperlinkColorLight'?: string;
|
|
4936
4978
|
'hyperlinkColorDark'?: string;
|
|
4937
4979
|
'zindex'?: number;
|
|
4938
|
-
'
|
|
4939
|
-
'
|
|
4980
|
+
'xLargeFontSize'?: any;
|
|
4981
|
+
'xSmallFontSize'?: any;
|
|
4940
4982
|
}
|
|
4941
4983
|
/**
|
|
4942
4984
|
* Data Transfer Object for subscribing to a webhook. This DTO represents the details required to configure a webhook subscription.
|
|
@@ -5075,6 +5117,9 @@ export interface SuccessResponse {
|
|
|
5075
5117
|
* A message detailing the result of the operation.
|
|
5076
5118
|
*/
|
|
5077
5119
|
'message'?: string;
|
|
5120
|
+
/**
|
|
5121
|
+
* The data payload of the response, if any.
|
|
5122
|
+
*/
|
|
5078
5123
|
'data'?: any;
|
|
5079
5124
|
}
|
|
5080
5125
|
/**
|
|
@@ -5137,6 +5182,9 @@ export interface SuccessResponseVoid {
|
|
|
5137
5182
|
* A message detailing the result of the operation.
|
|
5138
5183
|
*/
|
|
5139
5184
|
'message'?: string;
|
|
5185
|
+
/**
|
|
5186
|
+
* The data payload of the response, if any.
|
|
5187
|
+
*/
|
|
5140
5188
|
'data'?: any;
|
|
5141
5189
|
}
|
|
5142
5190
|
export interface SuggestAnalyticsWidgetsRequest {
|
|
@@ -5449,6 +5497,9 @@ export interface UpdateResponse {
|
|
|
5449
5497
|
* A message detailing the result of the operation.
|
|
5450
5498
|
*/
|
|
5451
5499
|
'message'?: string;
|
|
5500
|
+
/**
|
|
5501
|
+
* The data payload of the response, if any.
|
|
5502
|
+
*/
|
|
5452
5503
|
'data'?: any;
|
|
5453
5504
|
}
|
|
5454
5505
|
export interface Url extends PropertyFormat {
|
package/common.ts
CHANGED
|
@@ -120,8 +120,8 @@ export const toPathString = function (url: URL) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
|
|
123
|
-
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
|
|
123
|
+
return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH): Promise<R> => {
|
|
124
124
|
const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};
|
|
125
|
-
return axios.request<T, R>(axiosRequestArgs)
|
|
125
|
+
return axios.request<T, R>(axiosRequestArgs) as Promise<R>;
|
|
126
126
|
};
|
|
127
127
|
}
|
package/dist/api.d.ts
CHANGED
|
@@ -1617,6 +1617,9 @@ export interface CreateResponse {
|
|
|
1617
1617
|
* A message detailing the result of the operation.
|
|
1618
1618
|
*/
|
|
1619
1619
|
'message'?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* The data payload of the response, if any.
|
|
1622
|
+
*/
|
|
1620
1623
|
'data'?: any;
|
|
1621
1624
|
}
|
|
1622
1625
|
/**
|
|
@@ -1749,6 +1752,9 @@ export interface DeleteResponse {
|
|
|
1749
1752
|
* A message detailing the result of the operation.
|
|
1750
1753
|
*/
|
|
1751
1754
|
'message'?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* The data payload of the response, if any.
|
|
1757
|
+
*/
|
|
1752
1758
|
'data'?: any;
|
|
1753
1759
|
}
|
|
1754
1760
|
/**
|
|
@@ -1772,6 +1778,9 @@ export interface DeleteResponseVoid {
|
|
|
1772
1778
|
* A message detailing the result of the operation.
|
|
1773
1779
|
*/
|
|
1774
1780
|
'message'?: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* The data payload of the response, if any.
|
|
1783
|
+
*/
|
|
1775
1784
|
'data'?: any;
|
|
1776
1785
|
}
|
|
1777
1786
|
/**
|
|
@@ -2067,8 +2076,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2067
2076
|
};
|
|
2068
2077
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2069
2078
|
export interface ExistingWidgetSummary {
|
|
2070
|
-
'xproperty'?: string;
|
|
2071
2079
|
'yproperty'?: string;
|
|
2080
|
+
'xproperty'?: string;
|
|
2072
2081
|
'ymetric'?: string;
|
|
2073
2082
|
'title'?: string;
|
|
2074
2083
|
'chartType'?: string;
|
|
@@ -2194,6 +2203,9 @@ export interface FilterItem {
|
|
|
2194
2203
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2195
2204
|
*/
|
|
2196
2205
|
'operator'?: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* Represents the value to filter against.
|
|
2208
|
+
*/
|
|
2197
2209
|
'value'?: any;
|
|
2198
2210
|
/**
|
|
2199
2211
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2645,6 +2657,9 @@ export interface Leadscore {
|
|
|
2645
2657
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2646
2658
|
*/
|
|
2647
2659
|
'operator'?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* Represents the value to filter against.
|
|
2662
|
+
*/
|
|
2648
2663
|
'value'?: any;
|
|
2649
2664
|
/**
|
|
2650
2665
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2819,11 +2834,11 @@ export interface ModelRecord {
|
|
|
2819
2834
|
'deleted'?: boolean;
|
|
2820
2835
|
'complete'?: boolean;
|
|
2821
2836
|
'uuid': string;
|
|
2837
|
+
'user'?: PublicUserDTO;
|
|
2822
2838
|
'properties'?: Array<FilledProperty>;
|
|
2823
2839
|
'objects'?: {
|
|
2824
2840
|
[key: string]: any | null;
|
|
2825
2841
|
};
|
|
2826
|
-
'user'?: PublicUserDTO;
|
|
2827
2842
|
}
|
|
2828
2843
|
export interface MultiLine extends PropertyFormat {
|
|
2829
2844
|
}
|
|
@@ -3427,6 +3442,9 @@ export interface PreviewDTO {
|
|
|
3427
3442
|
* Property name used for server-side list sorting
|
|
3428
3443
|
*/
|
|
3429
3444
|
'sortProperty'?: string;
|
|
3445
|
+
/**
|
|
3446
|
+
* Raw stored value of the sort property for this record
|
|
3447
|
+
*/
|
|
3430
3448
|
'sortValue'?: any;
|
|
3431
3449
|
/**
|
|
3432
3450
|
* Unique identifier for the entity
|
|
@@ -3481,11 +3499,17 @@ export interface PreviewItemDTO {
|
|
|
3481
3499
|
* The text content associated with the preview item.
|
|
3482
3500
|
*/
|
|
3483
3501
|
'text'?: string;
|
|
3502
|
+
/**
|
|
3503
|
+
* The value associated with the preview item. This can hold custom data.
|
|
3504
|
+
*/
|
|
3484
3505
|
'value'?: any;
|
|
3485
3506
|
/**
|
|
3486
3507
|
* The related object information for the preview item.
|
|
3487
3508
|
*/
|
|
3488
3509
|
'relatedObject'?: PreviewRelatedObjectDTO;
|
|
3510
|
+
/**
|
|
3511
|
+
* The related object value associated with this preview item.
|
|
3512
|
+
*/
|
|
3489
3513
|
'relatedObjectValue'?: any;
|
|
3490
3514
|
/**
|
|
3491
3515
|
* Whether the preview item is a divider. (solid, dashed, dotted, spacer)
|
|
@@ -3499,7 +3523,13 @@ export interface PreviewItemDTO {
|
|
|
3499
3523
|
* The button url associated with the preview item.
|
|
3500
3524
|
*/
|
|
3501
3525
|
'buttonUrl'?: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* The button text value associated with the preview item.
|
|
3528
|
+
*/
|
|
3502
3529
|
'buttonTextValue'?: any;
|
|
3530
|
+
/**
|
|
3531
|
+
* The button value associated with the preview item.
|
|
3532
|
+
*/
|
|
3503
3533
|
'buttonUrlValue'?: any;
|
|
3504
3534
|
/**
|
|
3505
3535
|
* The settings associated with the preview item.
|
|
@@ -3971,6 +4001,9 @@ export interface RestoreResponse {
|
|
|
3971
4001
|
* A message detailing the result of the operation.
|
|
3972
4002
|
*/
|
|
3973
4003
|
'message'?: string;
|
|
4004
|
+
/**
|
|
4005
|
+
* The data payload of the response, if any.
|
|
4006
|
+
*/
|
|
3974
4007
|
'data'?: any;
|
|
3975
4008
|
}
|
|
3976
4009
|
/**
|
|
@@ -4417,6 +4450,9 @@ export interface ShowItem {
|
|
|
4417
4450
|
* Calculation function used to calculate the value of the item.
|
|
4418
4451
|
*/
|
|
4419
4452
|
'calculationFunction'?: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* Result of the calculation.
|
|
4455
|
+
*/
|
|
4420
4456
|
'calculationResult'?: any;
|
|
4421
4457
|
}
|
|
4422
4458
|
/**
|
|
@@ -4427,6 +4463,9 @@ export interface ShowResponse {
|
|
|
4427
4463
|
* A message detailing the result of the operation.
|
|
4428
4464
|
*/
|
|
4429
4465
|
'message'?: string;
|
|
4466
|
+
/**
|
|
4467
|
+
* The data payload of the response, if any.
|
|
4468
|
+
*/
|
|
4430
4469
|
'data'?: any;
|
|
4431
4470
|
}
|
|
4432
4471
|
/**
|
|
@@ -4530,6 +4569,9 @@ export interface ShowResponseObject {
|
|
|
4530
4569
|
* A message detailing the result of the operation.
|
|
4531
4570
|
*/
|
|
4532
4571
|
'message'?: string;
|
|
4572
|
+
/**
|
|
4573
|
+
* The data payload of the response, if any.
|
|
4574
|
+
*/
|
|
4533
4575
|
'data'?: any;
|
|
4534
4576
|
}
|
|
4535
4577
|
/**
|
|
@@ -4954,8 +4996,8 @@ export interface StyleSetDTO {
|
|
|
4954
4996
|
'hyperlinkColorLight'?: string;
|
|
4955
4997
|
'hyperlinkColorDark'?: string;
|
|
4956
4998
|
'zindex'?: number;
|
|
4957
|
-
'
|
|
4958
|
-
'
|
|
4999
|
+
'xLargeFontSize'?: any;
|
|
5000
|
+
'xSmallFontSize'?: any;
|
|
4959
5001
|
}
|
|
4960
5002
|
/**
|
|
4961
5003
|
* Data Transfer Object for subscribing to a webhook. This DTO represents the details required to configure a webhook subscription.
|
|
@@ -5096,6 +5138,9 @@ export interface SuccessResponse {
|
|
|
5096
5138
|
* A message detailing the result of the operation.
|
|
5097
5139
|
*/
|
|
5098
5140
|
'message'?: string;
|
|
5141
|
+
/**
|
|
5142
|
+
* The data payload of the response, if any.
|
|
5143
|
+
*/
|
|
5099
5144
|
'data'?: any;
|
|
5100
5145
|
}
|
|
5101
5146
|
/**
|
|
@@ -5158,6 +5203,9 @@ export interface SuccessResponseVoid {
|
|
|
5158
5203
|
* A message detailing the result of the operation.
|
|
5159
5204
|
*/
|
|
5160
5205
|
'message'?: string;
|
|
5206
|
+
/**
|
|
5207
|
+
* The data payload of the response, if any.
|
|
5208
|
+
*/
|
|
5161
5209
|
'data'?: any;
|
|
5162
5210
|
}
|
|
5163
5211
|
export interface SuggestAnalyticsWidgetsRequest {
|
|
@@ -5478,6 +5526,9 @@ export interface UpdateResponse {
|
|
|
5478
5526
|
* A message detailing the result of the operation.
|
|
5479
5527
|
*/
|
|
5480
5528
|
'message'?: string;
|
|
5529
|
+
/**
|
|
5530
|
+
* The data payload of the response, if any.
|
|
5531
|
+
*/
|
|
5481
5532
|
'data'?: any;
|
|
5482
5533
|
}
|
|
5483
5534
|
export interface Url extends PropertyFormat {
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1617,6 +1617,9 @@ export interface CreateResponse {
|
|
|
1617
1617
|
* A message detailing the result of the operation.
|
|
1618
1618
|
*/
|
|
1619
1619
|
'message'?: string;
|
|
1620
|
+
/**
|
|
1621
|
+
* The data payload of the response, if any.
|
|
1622
|
+
*/
|
|
1620
1623
|
'data'?: any;
|
|
1621
1624
|
}
|
|
1622
1625
|
/**
|
|
@@ -1749,6 +1752,9 @@ export interface DeleteResponse {
|
|
|
1749
1752
|
* A message detailing the result of the operation.
|
|
1750
1753
|
*/
|
|
1751
1754
|
'message'?: string;
|
|
1755
|
+
/**
|
|
1756
|
+
* The data payload of the response, if any.
|
|
1757
|
+
*/
|
|
1752
1758
|
'data'?: any;
|
|
1753
1759
|
}
|
|
1754
1760
|
/**
|
|
@@ -1772,6 +1778,9 @@ export interface DeleteResponseVoid {
|
|
|
1772
1778
|
* A message detailing the result of the operation.
|
|
1773
1779
|
*/
|
|
1774
1780
|
'message'?: string;
|
|
1781
|
+
/**
|
|
1782
|
+
* The data payload of the response, if any.
|
|
1783
|
+
*/
|
|
1775
1784
|
'data'?: any;
|
|
1776
1785
|
}
|
|
1777
1786
|
/**
|
|
@@ -2067,8 +2076,8 @@ export declare const EventRsvpRequestScopeEnum: {
|
|
|
2067
2076
|
};
|
|
2068
2077
|
export type EventRsvpRequestScopeEnum = typeof EventRsvpRequestScopeEnum[keyof typeof EventRsvpRequestScopeEnum];
|
|
2069
2078
|
export interface ExistingWidgetSummary {
|
|
2070
|
-
'xproperty'?: string;
|
|
2071
2079
|
'yproperty'?: string;
|
|
2080
|
+
'xproperty'?: string;
|
|
2072
2081
|
'ymetric'?: string;
|
|
2073
2082
|
'title'?: string;
|
|
2074
2083
|
'chartType'?: string;
|
|
@@ -2194,6 +2203,9 @@ export interface FilterItem {
|
|
|
2194
2203
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2195
2204
|
*/
|
|
2196
2205
|
'operator'?: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* Represents the value to filter against.
|
|
2208
|
+
*/
|
|
2197
2209
|
'value'?: any;
|
|
2198
2210
|
/**
|
|
2199
2211
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2645,6 +2657,9 @@ export interface Leadscore {
|
|
|
2645
2657
|
* Defines the operator used in the filter. Available operators are defined in the API documentation.
|
|
2646
2658
|
*/
|
|
2647
2659
|
'operator'?: string;
|
|
2660
|
+
/**
|
|
2661
|
+
* Represents the value to filter against.
|
|
2662
|
+
*/
|
|
2648
2663
|
'value'?: any;
|
|
2649
2664
|
/**
|
|
2650
2665
|
* When true, filter fields contain smart content placeholders resolved at runtime.
|
|
@@ -2819,11 +2834,11 @@ export interface ModelRecord {
|
|
|
2819
2834
|
'deleted'?: boolean;
|
|
2820
2835
|
'complete'?: boolean;
|
|
2821
2836
|
'uuid': string;
|
|
2837
|
+
'user'?: PublicUserDTO;
|
|
2822
2838
|
'properties'?: Array<FilledProperty>;
|
|
2823
2839
|
'objects'?: {
|
|
2824
2840
|
[key: string]: any | null;
|
|
2825
2841
|
};
|
|
2826
|
-
'user'?: PublicUserDTO;
|
|
2827
2842
|
}
|
|
2828
2843
|
export interface MultiLine extends PropertyFormat {
|
|
2829
2844
|
}
|
|
@@ -3427,6 +3442,9 @@ export interface PreviewDTO {
|
|
|
3427
3442
|
* Property name used for server-side list sorting
|
|
3428
3443
|
*/
|
|
3429
3444
|
'sortProperty'?: string;
|
|
3445
|
+
/**
|
|
3446
|
+
* Raw stored value of the sort property for this record
|
|
3447
|
+
*/
|
|
3430
3448
|
'sortValue'?: any;
|
|
3431
3449
|
/**
|
|
3432
3450
|
* Unique identifier for the entity
|
|
@@ -3481,11 +3499,17 @@ export interface PreviewItemDTO {
|
|
|
3481
3499
|
* The text content associated with the preview item.
|
|
3482
3500
|
*/
|
|
3483
3501
|
'text'?: string;
|
|
3502
|
+
/**
|
|
3503
|
+
* The value associated with the preview item. This can hold custom data.
|
|
3504
|
+
*/
|
|
3484
3505
|
'value'?: any;
|
|
3485
3506
|
/**
|
|
3486
3507
|
* The related object information for the preview item.
|
|
3487
3508
|
*/
|
|
3488
3509
|
'relatedObject'?: PreviewRelatedObjectDTO;
|
|
3510
|
+
/**
|
|
3511
|
+
* The related object value associated with this preview item.
|
|
3512
|
+
*/
|
|
3489
3513
|
'relatedObjectValue'?: any;
|
|
3490
3514
|
/**
|
|
3491
3515
|
* Whether the preview item is a divider. (solid, dashed, dotted, spacer)
|
|
@@ -3499,7 +3523,13 @@ export interface PreviewItemDTO {
|
|
|
3499
3523
|
* The button url associated with the preview item.
|
|
3500
3524
|
*/
|
|
3501
3525
|
'buttonUrl'?: string;
|
|
3526
|
+
/**
|
|
3527
|
+
* The button text value associated with the preview item.
|
|
3528
|
+
*/
|
|
3502
3529
|
'buttonTextValue'?: any;
|
|
3530
|
+
/**
|
|
3531
|
+
* The button value associated with the preview item.
|
|
3532
|
+
*/
|
|
3503
3533
|
'buttonUrlValue'?: any;
|
|
3504
3534
|
/**
|
|
3505
3535
|
* The settings associated with the preview item.
|
|
@@ -3971,6 +4001,9 @@ export interface RestoreResponse {
|
|
|
3971
4001
|
* A message detailing the result of the operation.
|
|
3972
4002
|
*/
|
|
3973
4003
|
'message'?: string;
|
|
4004
|
+
/**
|
|
4005
|
+
* The data payload of the response, if any.
|
|
4006
|
+
*/
|
|
3974
4007
|
'data'?: any;
|
|
3975
4008
|
}
|
|
3976
4009
|
/**
|
|
@@ -4417,6 +4450,9 @@ export interface ShowItem {
|
|
|
4417
4450
|
* Calculation function used to calculate the value of the item.
|
|
4418
4451
|
*/
|
|
4419
4452
|
'calculationFunction'?: string;
|
|
4453
|
+
/**
|
|
4454
|
+
* Result of the calculation.
|
|
4455
|
+
*/
|
|
4420
4456
|
'calculationResult'?: any;
|
|
4421
4457
|
}
|
|
4422
4458
|
/**
|
|
@@ -4427,6 +4463,9 @@ export interface ShowResponse {
|
|
|
4427
4463
|
* A message detailing the result of the operation.
|
|
4428
4464
|
*/
|
|
4429
4465
|
'message'?: string;
|
|
4466
|
+
/**
|
|
4467
|
+
* The data payload of the response, if any.
|
|
4468
|
+
*/
|
|
4430
4469
|
'data'?: any;
|
|
4431
4470
|
}
|
|
4432
4471
|
/**
|
|
@@ -4530,6 +4569,9 @@ export interface ShowResponseObject {
|
|
|
4530
4569
|
* A message detailing the result of the operation.
|
|
4531
4570
|
*/
|
|
4532
4571
|
'message'?: string;
|
|
4572
|
+
/**
|
|
4573
|
+
* The data payload of the response, if any.
|
|
4574
|
+
*/
|
|
4533
4575
|
'data'?: any;
|
|
4534
4576
|
}
|
|
4535
4577
|
/**
|
|
@@ -4954,8 +4996,8 @@ export interface StyleSetDTO {
|
|
|
4954
4996
|
'hyperlinkColorLight'?: string;
|
|
4955
4997
|
'hyperlinkColorDark'?: string;
|
|
4956
4998
|
'zindex'?: number;
|
|
4957
|
-
'
|
|
4958
|
-
'
|
|
4999
|
+
'xLargeFontSize'?: any;
|
|
5000
|
+
'xSmallFontSize'?: any;
|
|
4959
5001
|
}
|
|
4960
5002
|
/**
|
|
4961
5003
|
* Data Transfer Object for subscribing to a webhook. This DTO represents the details required to configure a webhook subscription.
|
|
@@ -5096,6 +5138,9 @@ export interface SuccessResponse {
|
|
|
5096
5138
|
* A message detailing the result of the operation.
|
|
5097
5139
|
*/
|
|
5098
5140
|
'message'?: string;
|
|
5141
|
+
/**
|
|
5142
|
+
* The data payload of the response, if any.
|
|
5143
|
+
*/
|
|
5099
5144
|
'data'?: any;
|
|
5100
5145
|
}
|
|
5101
5146
|
/**
|
|
@@ -5158,6 +5203,9 @@ export interface SuccessResponseVoid {
|
|
|
5158
5203
|
* A message detailing the result of the operation.
|
|
5159
5204
|
*/
|
|
5160
5205
|
'message'?: string;
|
|
5206
|
+
/**
|
|
5207
|
+
* The data payload of the response, if any.
|
|
5208
|
+
*/
|
|
5161
5209
|
'data'?: any;
|
|
5162
5210
|
}
|
|
5163
5211
|
export interface SuggestAnalyticsWidgetsRequest {
|
|
@@ -5478,6 +5526,9 @@ export interface UpdateResponse {
|
|
|
5478
5526
|
* A message detailing the result of the operation.
|
|
5479
5527
|
*/
|
|
5480
5528
|
'message'?: string;
|
|
5529
|
+
/**
|
|
5530
|
+
* The data payload of the response, if any.
|
|
5531
|
+
*/
|
|
5481
5532
|
'data'?: any;
|
|
5482
5533
|
}
|
|
5483
5534
|
export interface Url extends PropertyFormat {
|
package/docs/CreateResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Response for a successful resource creation operation.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/DeleteResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Response class representing the result of a delete operation.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ Response class representing the result of a delete operation.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**xproperty** | **string** | | [optional] [default to undefined]
|
|
9
8
|
**yproperty** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**xproperty** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**ymetric** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**title** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**chartType** | **string** | | [optional] [default to undefined]
|
|
@@ -20,8 +20,8 @@ Name | Type | Description | Notes
|
|
|
20
20
|
import { ExistingWidgetSummary } from '@caraer/client';
|
|
21
21
|
|
|
22
22
|
const instance: ExistingWidgetSummary = {
|
|
23
|
-
xproperty,
|
|
24
23
|
yproperty,
|
|
24
|
+
xproperty,
|
|
25
25
|
ymetric,
|
|
26
26
|
title,
|
|
27
27
|
chartType,
|
package/docs/FilterItem.md
CHANGED
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**property** | **string** | The name of the property within the object. | [optional] [default to undefined]
|
|
13
13
|
**relationIncluded** | **boolean** | Specifies whether the relation is included. | [optional] [default to undefined]
|
|
14
14
|
**operator** | **string** | Defines the operator used in the filter. Available operators are defined in the API documentation. | [optional] [default to undefined]
|
|
15
|
-
**value** | **any** |
|
|
15
|
+
**value** | **any** | Represents the value to filter against. | [optional] [default to undefined]
|
|
16
16
|
**smartContent** | **boolean** | When true, filter fields contain smart content placeholders resolved at runtime. | [optional] [default to undefined]
|
|
17
17
|
**edgeProperty** | **boolean** | When true, propertyName refers to a property stored on the relation edge itself (declared on the relation schema, e.g. partstat on attendees) instead of a property of the related record. Requires relation and propertyName. | [optional] [default to undefined]
|
|
18
18
|
|
package/docs/Leadscore.md
CHANGED
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**property** | **string** | The name of the property within the object. | [optional] [default to undefined]
|
|
13
13
|
**relationIncluded** | **boolean** | Specifies whether the relation is included. | [optional] [default to undefined]
|
|
14
14
|
**operator** | **string** | Defines the operator used in the filter. Available operators are defined in the API documentation. | [optional] [default to undefined]
|
|
15
|
-
**value** | **any** |
|
|
15
|
+
**value** | **any** | Represents the value to filter against. | [optional] [default to undefined]
|
|
16
16
|
**smartContent** | **boolean** | When true, filter fields contain smart content placeholders resolved at runtime. | [optional] [default to undefined]
|
|
17
17
|
**edgeProperty** | **boolean** | When true, propertyName refers to a property stored on the relation edge itself (declared on the relation schema, e.g. partstat on attendees) instead of a property of the related record. Requires relation and propertyName. | [optional] [default to undefined]
|
|
18
18
|
**smart_value** | **boolean** | Whether the value is a smart value | [optional] [default to undefined]
|
package/docs/PreviewDTO.md
CHANGED
|
@@ -25,7 +25,7 @@ Name | Type | Description | Notes
|
|
|
25
25
|
**url** | **string** | URL of the preview | [optional] [default to undefined]
|
|
26
26
|
**styling** | [**PageContentStylingDTO**](PageContentStylingDTO.md) | The styling of the preview | [optional] [default to undefined]
|
|
27
27
|
**sortProperty** | **string** | Property name used for server-side list sorting | [optional] [default to undefined]
|
|
28
|
-
**sortValue** | **any** |
|
|
28
|
+
**sortValue** | **any** | Raw stored value of the sort property for this record | [optional] [default to undefined]
|
|
29
29
|
**uuid** | **string** | Unique identifier for the entity | [default to undefined]
|
|
30
30
|
**name** | **string** | The name of the entity | [default to undefined]
|
|
31
31
|
**label** | **string** | Display label for the entity, can be different from name | [optional] [default to undefined]
|
package/docs/PreviewItemDTO.md
CHANGED
|
@@ -8,14 +8,14 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**property** | [**PropertyDTO**](PropertyDTO.md) | The property details associated with the preview item. | [optional] [default to undefined]
|
|
10
10
|
**text** | **string** | The text content associated with the preview item. | [optional] [default to undefined]
|
|
11
|
-
**value** | **any** |
|
|
11
|
+
**value** | **any** | The value associated with the preview item. This can hold custom data. | [optional] [default to undefined]
|
|
12
12
|
**relatedObject** | [**PreviewRelatedObjectDTO**](PreviewRelatedObjectDTO.md) | The related object information for the preview item. | [optional] [default to undefined]
|
|
13
|
-
**relatedObjectValue** | **any** |
|
|
13
|
+
**relatedObjectValue** | **any** | The related object value associated with this preview item. | [optional] [default to undefined]
|
|
14
14
|
**divider** | **string** | Whether the preview item is a divider. (solid, dashed, dotted, spacer) | [optional] [default to undefined]
|
|
15
15
|
**buttonText** | **string** | The button text associated with the preview item. | [optional] [default to undefined]
|
|
16
16
|
**buttonUrl** | **string** | The button url associated with the preview item. | [optional] [default to undefined]
|
|
17
|
-
**buttonTextValue** | **any** |
|
|
18
|
-
**buttonUrlValue** | **any** |
|
|
17
|
+
**buttonTextValue** | **any** | The button text value associated with the preview item. | [optional] [default to undefined]
|
|
18
|
+
**buttonUrlValue** | **any** | The button value associated with the preview item. | [optional] [default to undefined]
|
|
19
19
|
**settings** | [**PreviewItemSettingsDTO**](PreviewItemSettingsDTO.md) | The settings associated with the preview item. | [optional] [default to undefined]
|
|
20
20
|
**styling** | [**PageContentStylingDTO**](PageContentStylingDTO.md) | The styling associated with the preview item. | [optional] [default to undefined]
|
|
21
21
|
|
package/docs/Record.md
CHANGED
|
@@ -17,9 +17,9 @@ Name | Type | Description | Notes
|
|
|
17
17
|
**deleted** | **boolean** | | [optional] [default to undefined]
|
|
18
18
|
**complete** | **boolean** | | [optional] [default to undefined]
|
|
19
19
|
**uuid** | **string** | | [default to undefined]
|
|
20
|
+
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
20
21
|
**properties** | [**Array<FilledProperty>**](FilledProperty.md) | | [optional] [default to undefined]
|
|
21
22
|
**objects** | **{ [key: string]: any | null; }** | | [optional] [default to undefined]
|
|
22
|
-
**user** | [**PublicUserDTO**](PublicUserDTO.md) | | [optional] [default to undefined]
|
|
23
23
|
|
|
24
24
|
## Example
|
|
25
25
|
|
|
@@ -39,9 +39,9 @@ const instance: ModelRecord = {
|
|
|
39
39
|
deleted,
|
|
40
40
|
complete,
|
|
41
41
|
uuid,
|
|
42
|
+
user,
|
|
42
43
|
properties,
|
|
43
44
|
objects,
|
|
44
|
-
user,
|
|
45
45
|
};
|
|
46
46
|
```
|
|
47
47
|
|
package/docs/RestoreResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Represents the response returned when a restore operation is performed successfu
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/ShowItem.md
CHANGED
|
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**sticky** | **boolean** | Flag indicating whether this item is sticky and will stay fixed in the list. | [optional] [default to false]
|
|
15
15
|
**width** | **number** | Width of the item in pixels. | [optional] [default to undefined]
|
|
16
16
|
**calculationFunction** | **string** | Calculation function used to calculate the value of the item. | [optional] [default to undefined]
|
|
17
|
-
**calculationResult** | **any** |
|
|
17
|
+
**calculationResult** | **any** | Result of the calculation. | [optional] [default to undefined]
|
|
18
18
|
|
|
19
19
|
## Example
|
|
20
20
|
|
package/docs/ShowResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Represents the response for viewing or showing a specific resource.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ Represents the response for viewing or showing a specific resource.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/StyleSetDTO.md
CHANGED
|
@@ -245,8 +245,8 @@ Name | Type | Description | Notes
|
|
|
245
245
|
**hyperlinkColorLight** | **string** | | [optional] [default to undefined]
|
|
246
246
|
**hyperlinkColorDark** | **string** | | [optional] [default to undefined]
|
|
247
247
|
**zindex** | **number** | | [optional] [default to undefined]
|
|
248
|
-
**
|
|
249
|
-
**
|
|
248
|
+
**xLargeFontSize** | **any** | | [optional] [default to undefined]
|
|
249
|
+
**xSmallFontSize** | **any** | | [optional] [default to undefined]
|
|
250
250
|
|
|
251
251
|
## Example
|
|
252
252
|
|
|
@@ -494,8 +494,8 @@ const instance: StyleSetDTO = {
|
|
|
494
494
|
hyperlinkColorLight,
|
|
495
495
|
hyperlinkColorDark,
|
|
496
496
|
zindex,
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
xLargeFontSize,
|
|
498
|
+
xSmallFontSize,
|
|
499
499
|
};
|
|
500
500
|
```
|
|
501
501
|
|
package/docs/SuccessResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Represents a standard successful response with a message and optional data.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
|
@@ -7,7 +7,7 @@ Represents a standard successful response with a message and optional data.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/docs/UpdateResponse.md
CHANGED
|
@@ -7,7 +7,7 @@ Represents the response returned after a successful update operation.
|
|
|
7
7
|
Name | Type | Description | Notes
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**message** | **string** | A message detailing the result of the operation. | [optional] [default to undefined]
|
|
10
|
-
**data** | **any** |
|
|
10
|
+
**data** | **any** | The data payload of the response, if any. | [optional] [default to undefined]
|
|
11
11
|
|
|
12
12
|
## Example
|
|
13
13
|
|
package/git_push.sh
CHANGED
|
@@ -8,24 +8,24 @@ git_repo_id=$2
|
|
|
8
8
|
release_note=$3
|
|
9
9
|
git_host=$4
|
|
10
10
|
|
|
11
|
-
if [ "$git_host"
|
|
11
|
+
if [ -z "${git_host}" ]; then
|
|
12
12
|
git_host="github.com"
|
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \${git_host} to ${git_host}"
|
|
14
14
|
fi
|
|
15
15
|
|
|
16
|
-
if [ "$git_user_id"
|
|
16
|
+
if [ -z "${git_user_id}" ]; then
|
|
17
17
|
git_user_id="GIT_USER_ID"
|
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \${git_user_id} to ${git_user_id}"
|
|
19
19
|
fi
|
|
20
20
|
|
|
21
|
-
if [ "$git_repo_id"
|
|
21
|
+
if [ -z "${git_repo_id}" ]; then
|
|
22
22
|
git_repo_id="GIT_REPO_ID"
|
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \${git_repo_id} to ${git_repo_id}"
|
|
24
24
|
fi
|
|
25
25
|
|
|
26
|
-
if [ "$release_note"
|
|
26
|
+
if [ -z "${release_note}" ]; then
|
|
27
27
|
release_note="Minor update"
|
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \${release_note} to ${release_note}"
|
|
29
29
|
fi
|
|
30
30
|
|
|
31
31
|
# Initialize the local directory as a Git repository
|
|
@@ -35,19 +35,16 @@ git init
|
|
|
35
35
|
git add .
|
|
36
36
|
|
|
37
37
|
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
-
git commit -m "$release_note"
|
|
38
|
+
git commit -m "${release_note}"
|
|
39
39
|
|
|
40
40
|
# Sets the new remote
|
|
41
|
-
|
|
42
|
-
if [ "$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
41
|
+
if [ -z "$(git remote)" ]; then # git remote not defined
|
|
42
|
+
if [ -z "${GIT_TOKEN:-}" ]; then
|
|
43
|
+
echo "[INFO] \${GIT_TOKEN} (environment variable) is not set. Using the git credential in your environment."
|
|
44
|
+
git remote add origin "https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
47
45
|
else
|
|
48
|
-
git remote add origin https://${git_user_id}
|
|
46
|
+
git remote add origin "https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
49
47
|
fi
|
|
50
|
-
|
|
51
48
|
fi
|
|
52
49
|
|
|
53
50
|
git pull origin master
|