@getlatedev/node 0.1.47 → 0.1.48

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/index.d.mts CHANGED
@@ -3840,6 +3840,10 @@ type GetGoogleBusinessReviewsData = {
3840
3840
  accountId: string;
3841
3841
  };
3842
3842
  query?: {
3843
+ /**
3844
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3845
+ */
3846
+ locationId?: string;
3843
3847
  /**
3844
3848
  * Number of reviews to fetch per page (max 50)
3845
3849
  */
@@ -3913,6 +3917,12 @@ type GetGoogleBusinessFoodMenusData = {
3913
3917
  */
3914
3918
  accountId: string;
3915
3919
  };
3920
+ query?: {
3921
+ /**
3922
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3923
+ */
3924
+ locationId?: string;
3925
+ };
3916
3926
  };
3917
3927
  type GetGoogleBusinessFoodMenusResponse = ({
3918
3928
  success?: boolean;
@@ -3944,6 +3954,12 @@ type UpdateGoogleBusinessFoodMenusData = {
3944
3954
  */
3945
3955
  accountId: string;
3946
3956
  };
3957
+ query?: {
3958
+ /**
3959
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3960
+ */
3961
+ locationId?: string;
3962
+ };
3947
3963
  };
3948
3964
  type UpdateGoogleBusinessFoodMenusResponse = ({
3949
3965
  success?: boolean;
@@ -3963,6 +3979,10 @@ type GetGoogleBusinessLocationDetailsData = {
3963
3979
  accountId: string;
3964
3980
  };
3965
3981
  query?: {
3982
+ /**
3983
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3984
+ */
3985
+ locationId?: string;
3966
3986
  /**
3967
3987
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
3968
3988
  */
@@ -4066,6 +4086,12 @@ type UpdateGoogleBusinessLocationDetailsData = {
4066
4086
  */
4067
4087
  accountId: string;
4068
4088
  };
4089
+ query?: {
4090
+ /**
4091
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4092
+ */
4093
+ locationId?: string;
4094
+ };
4069
4095
  };
4070
4096
  type UpdateGoogleBusinessLocationDetailsResponse = ({
4071
4097
  success?: boolean;
@@ -4080,6 +4106,10 @@ type ListGoogleBusinessMediaData = {
4080
4106
  accountId: string;
4081
4107
  };
4082
4108
  query?: {
4109
+ /**
4110
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4111
+ */
4112
+ locationId?: string;
4083
4113
  /**
4084
4114
  * Number of items to return (max 100)
4085
4115
  */
@@ -4135,6 +4165,12 @@ type CreateGoogleBusinessMediaData = {
4135
4165
  path: {
4136
4166
  accountId: string;
4137
4167
  };
4168
+ query?: {
4169
+ /**
4170
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4171
+ */
4172
+ locationId?: string;
4173
+ };
4138
4174
  };
4139
4175
  type CreateGoogleBusinessMediaResponse = ({
4140
4176
  success?: boolean;
@@ -4148,6 +4184,10 @@ type DeleteGoogleBusinessMediaData = {
4148
4184
  accountId: string;
4149
4185
  };
4150
4186
  query: {
4187
+ /**
4188
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4189
+ */
4190
+ locationId?: string;
4151
4191
  /**
4152
4192
  * The media item ID to delete
4153
4193
  */
@@ -4164,6 +4204,12 @@ type GetGoogleBusinessAttributesData = {
4164
4204
  path: {
4165
4205
  accountId: string;
4166
4206
  };
4207
+ query?: {
4208
+ /**
4209
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4210
+ */
4211
+ locationId?: string;
4212
+ };
4167
4213
  };
4168
4214
  type GetGoogleBusinessAttributesResponse = ({
4169
4215
  success?: boolean;
@@ -4204,6 +4250,12 @@ type UpdateGoogleBusinessAttributesData = {
4204
4250
  path: {
4205
4251
  accountId: string;
4206
4252
  };
4253
+ query?: {
4254
+ /**
4255
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4256
+ */
4257
+ locationId?: string;
4258
+ };
4207
4259
  };
4208
4260
  type UpdateGoogleBusinessAttributesResponse = ({
4209
4261
  success?: boolean;
@@ -4219,6 +4271,10 @@ type ListGoogleBusinessPlaceActionsData = {
4219
4271
  accountId: string;
4220
4272
  };
4221
4273
  query?: {
4274
+ /**
4275
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4276
+ */
4277
+ locationId?: string;
4222
4278
  pageSize?: number;
4223
4279
  pageToken?: string;
4224
4280
  };
@@ -4257,6 +4313,12 @@ type CreateGoogleBusinessPlaceActionData = {
4257
4313
  path: {
4258
4314
  accountId: string;
4259
4315
  };
4316
+ query?: {
4317
+ /**
4318
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4319
+ */
4320
+ locationId?: string;
4321
+ };
4260
4322
  };
4261
4323
  type CreateGoogleBusinessPlaceActionResponse = ({
4262
4324
  success?: boolean;
@@ -4273,6 +4335,10 @@ type DeleteGoogleBusinessPlaceActionData = {
4273
4335
  accountId: string;
4274
4336
  };
4275
4337
  query: {
4338
+ /**
4339
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4340
+ */
4341
+ locationId?: string;
4276
4342
  /**
4277
4343
  * The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
4278
4344
  */
package/dist/index.d.ts CHANGED
@@ -3840,6 +3840,10 @@ type GetGoogleBusinessReviewsData = {
3840
3840
  accountId: string;
3841
3841
  };
3842
3842
  query?: {
3843
+ /**
3844
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3845
+ */
3846
+ locationId?: string;
3843
3847
  /**
3844
3848
  * Number of reviews to fetch per page (max 50)
3845
3849
  */
@@ -3913,6 +3917,12 @@ type GetGoogleBusinessFoodMenusData = {
3913
3917
  */
3914
3918
  accountId: string;
3915
3919
  };
3920
+ query?: {
3921
+ /**
3922
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3923
+ */
3924
+ locationId?: string;
3925
+ };
3916
3926
  };
3917
3927
  type GetGoogleBusinessFoodMenusResponse = ({
3918
3928
  success?: boolean;
@@ -3944,6 +3954,12 @@ type UpdateGoogleBusinessFoodMenusData = {
3944
3954
  */
3945
3955
  accountId: string;
3946
3956
  };
3957
+ query?: {
3958
+ /**
3959
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3960
+ */
3961
+ locationId?: string;
3962
+ };
3947
3963
  };
3948
3964
  type UpdateGoogleBusinessFoodMenusResponse = ({
3949
3965
  success?: boolean;
@@ -3963,6 +3979,10 @@ type GetGoogleBusinessLocationDetailsData = {
3963
3979
  accountId: string;
3964
3980
  };
3965
3981
  query?: {
3982
+ /**
3983
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3984
+ */
3985
+ locationId?: string;
3966
3986
  /**
3967
3987
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
3968
3988
  */
@@ -4066,6 +4086,12 @@ type UpdateGoogleBusinessLocationDetailsData = {
4066
4086
  */
4067
4087
  accountId: string;
4068
4088
  };
4089
+ query?: {
4090
+ /**
4091
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4092
+ */
4093
+ locationId?: string;
4094
+ };
4069
4095
  };
4070
4096
  type UpdateGoogleBusinessLocationDetailsResponse = ({
4071
4097
  success?: boolean;
@@ -4080,6 +4106,10 @@ type ListGoogleBusinessMediaData = {
4080
4106
  accountId: string;
4081
4107
  };
4082
4108
  query?: {
4109
+ /**
4110
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4111
+ */
4112
+ locationId?: string;
4083
4113
  /**
4084
4114
  * Number of items to return (max 100)
4085
4115
  */
@@ -4135,6 +4165,12 @@ type CreateGoogleBusinessMediaData = {
4135
4165
  path: {
4136
4166
  accountId: string;
4137
4167
  };
4168
+ query?: {
4169
+ /**
4170
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4171
+ */
4172
+ locationId?: string;
4173
+ };
4138
4174
  };
4139
4175
  type CreateGoogleBusinessMediaResponse = ({
4140
4176
  success?: boolean;
@@ -4148,6 +4184,10 @@ type DeleteGoogleBusinessMediaData = {
4148
4184
  accountId: string;
4149
4185
  };
4150
4186
  query: {
4187
+ /**
4188
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4189
+ */
4190
+ locationId?: string;
4151
4191
  /**
4152
4192
  * The media item ID to delete
4153
4193
  */
@@ -4164,6 +4204,12 @@ type GetGoogleBusinessAttributesData = {
4164
4204
  path: {
4165
4205
  accountId: string;
4166
4206
  };
4207
+ query?: {
4208
+ /**
4209
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4210
+ */
4211
+ locationId?: string;
4212
+ };
4167
4213
  };
4168
4214
  type GetGoogleBusinessAttributesResponse = ({
4169
4215
  success?: boolean;
@@ -4204,6 +4250,12 @@ type UpdateGoogleBusinessAttributesData = {
4204
4250
  path: {
4205
4251
  accountId: string;
4206
4252
  };
4253
+ query?: {
4254
+ /**
4255
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4256
+ */
4257
+ locationId?: string;
4258
+ };
4207
4259
  };
4208
4260
  type UpdateGoogleBusinessAttributesResponse = ({
4209
4261
  success?: boolean;
@@ -4219,6 +4271,10 @@ type ListGoogleBusinessPlaceActionsData = {
4219
4271
  accountId: string;
4220
4272
  };
4221
4273
  query?: {
4274
+ /**
4275
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4276
+ */
4277
+ locationId?: string;
4222
4278
  pageSize?: number;
4223
4279
  pageToken?: string;
4224
4280
  };
@@ -4257,6 +4313,12 @@ type CreateGoogleBusinessPlaceActionData = {
4257
4313
  path: {
4258
4314
  accountId: string;
4259
4315
  };
4316
+ query?: {
4317
+ /**
4318
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4319
+ */
4320
+ locationId?: string;
4321
+ };
4260
4322
  };
4261
4323
  type CreateGoogleBusinessPlaceActionResponse = ({
4262
4324
  success?: boolean;
@@ -4273,6 +4335,10 @@ type DeleteGoogleBusinessPlaceActionData = {
4273
4335
  accountId: string;
4274
4336
  };
4275
4337
  query: {
4338
+ /**
4339
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4340
+ */
4341
+ locationId?: string;
4276
4342
  /**
4277
4343
  * The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
4278
4344
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3686,6 +3686,10 @@ export type GetGoogleBusinessReviewsData = {
3686
3686
  accountId: string;
3687
3687
  };
3688
3688
  query?: {
3689
+ /**
3690
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3691
+ */
3692
+ locationId?: string;
3689
3693
  /**
3690
3694
  * Number of reviews to fetch per page (max 50)
3691
3695
  */
@@ -3762,6 +3766,12 @@ export type GetGoogleBusinessFoodMenusData = {
3762
3766
  */
3763
3767
  accountId: string;
3764
3768
  };
3769
+ query?: {
3770
+ /**
3771
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3772
+ */
3773
+ locationId?: string;
3774
+ };
3765
3775
  };
3766
3776
 
3767
3777
  export type GetGoogleBusinessFoodMenusResponse = ({
@@ -3796,6 +3806,12 @@ export type UpdateGoogleBusinessFoodMenusData = {
3796
3806
  */
3797
3807
  accountId: string;
3798
3808
  };
3809
+ query?: {
3810
+ /**
3811
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3812
+ */
3813
+ locationId?: string;
3814
+ };
3799
3815
  };
3800
3816
 
3801
3817
  export type UpdateGoogleBusinessFoodMenusResponse = ({
@@ -3818,6 +3834,10 @@ export type GetGoogleBusinessLocationDetailsData = {
3818
3834
  accountId: string;
3819
3835
  };
3820
3836
  query?: {
3837
+ /**
3838
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3839
+ */
3840
+ locationId?: string;
3821
3841
  /**
3822
3842
  * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
3823
3843
  */
@@ -3924,6 +3944,12 @@ export type UpdateGoogleBusinessLocationDetailsData = {
3924
3944
  */
3925
3945
  accountId: string;
3926
3946
  };
3947
+ query?: {
3948
+ /**
3949
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3950
+ */
3951
+ locationId?: string;
3952
+ };
3927
3953
  };
3928
3954
 
3929
3955
  export type UpdateGoogleBusinessLocationDetailsResponse = ({
@@ -3941,6 +3967,10 @@ export type ListGoogleBusinessMediaData = {
3941
3967
  accountId: string;
3942
3968
  };
3943
3969
  query?: {
3970
+ /**
3971
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
3972
+ */
3973
+ locationId?: string;
3944
3974
  /**
3945
3975
  * Number of items to return (max 100)
3946
3976
  */
@@ -3999,6 +4029,12 @@ export type CreateGoogleBusinessMediaData = {
3999
4029
  path: {
4000
4030
  accountId: string;
4001
4031
  };
4032
+ query?: {
4033
+ /**
4034
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4035
+ */
4036
+ locationId?: string;
4037
+ };
4002
4038
  };
4003
4039
 
4004
4040
  export type CreateGoogleBusinessMediaResponse = ({
@@ -4015,6 +4051,10 @@ export type DeleteGoogleBusinessMediaData = {
4015
4051
  accountId: string;
4016
4052
  };
4017
4053
  query: {
4054
+ /**
4055
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4056
+ */
4057
+ locationId?: string;
4018
4058
  /**
4019
4059
  * The media item ID to delete
4020
4060
  */
@@ -4034,6 +4074,12 @@ export type GetGoogleBusinessAttributesData = {
4034
4074
  path: {
4035
4075
  accountId: string;
4036
4076
  };
4077
+ query?: {
4078
+ /**
4079
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4080
+ */
4081
+ locationId?: string;
4082
+ };
4037
4083
  };
4038
4084
 
4039
4085
  export type GetGoogleBusinessAttributesResponse = ({
@@ -4077,6 +4123,12 @@ export type UpdateGoogleBusinessAttributesData = {
4077
4123
  path: {
4078
4124
  accountId: string;
4079
4125
  };
4126
+ query?: {
4127
+ /**
4128
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4129
+ */
4130
+ locationId?: string;
4131
+ };
4080
4132
  };
4081
4133
 
4082
4134
  export type UpdateGoogleBusinessAttributesResponse = ({
@@ -4095,6 +4147,10 @@ export type ListGoogleBusinessPlaceActionsData = {
4095
4147
  accountId: string;
4096
4148
  };
4097
4149
  query?: {
4150
+ /**
4151
+ * Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4152
+ */
4153
+ locationId?: string;
4098
4154
  pageSize?: number;
4099
4155
  pageToken?: string;
4100
4156
  };
@@ -4136,6 +4192,12 @@ export type CreateGoogleBusinessPlaceActionData = {
4136
4192
  path: {
4137
4193
  accountId: string;
4138
4194
  };
4195
+ query?: {
4196
+ /**
4197
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4198
+ */
4199
+ locationId?: string;
4200
+ };
4139
4201
  };
4140
4202
 
4141
4203
  export type CreateGoogleBusinessPlaceActionResponse = ({
@@ -4155,6 +4217,10 @@ export type DeleteGoogleBusinessPlaceActionData = {
4155
4217
  accountId: string;
4156
4218
  };
4157
4219
  query: {
4220
+ /**
4221
+ * Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
4222
+ */
4223
+ locationId?: string;
4158
4224
  /**
4159
4225
  * The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
4160
4226
  */