mailmeteor 0.0.64 → 0.0.65

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.ts CHANGED
@@ -311,7 +311,7 @@ type ClientOptions = {
311
311
  type ErrorResponse = {
312
312
  error: {
313
313
  status: number;
314
- code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'not_implemented' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
314
+ code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'idempotency_key_in_use' | 'idempotency_parameters_mismatch' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'not_implemented' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
315
315
  message: string;
316
316
  type?: string;
317
317
  details?: {
@@ -319,7 +319,7 @@ type ErrorResponse = {
319
319
  };
320
320
  };
321
321
  message: string;
322
- code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'not_implemented' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
322
+ code?: 'authentication_required' | 'rate_limit' | 'resource_missing' | 'resource_conflict' | 'idempotency_key_in_use' | 'idempotency_parameters_mismatch' | 'resource_exhausted' | 'resource_already_exists' | 'resource_action_required' | 'account_verification_required' | 'account_unauthorized' | 'account_blocked' | 'parameter_missing' | 'parameter_invalid' | 'esp_unsupported' | 'not_implemented' | 'unknown_error' | 'api_error' | 'quota_exceeded' | 'sender_missing_service' | 'sender_insufficient_permission' | 'integration_error' | 'integration_auth_error' | 'TEST_ERROR';
323
323
  };
324
324
  type UserIdQuery = {
325
325
  expand?: Array<'billing' | 'billing.subscription'>;
@@ -1373,14 +1373,14 @@ type DisconnectParams = {
1373
1373
  };
1374
1374
  type JobsBody = {
1375
1375
  owner?: string;
1376
- action: string;
1376
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
1377
1377
  data: {
1378
1378
  [key: string]: unknown;
1379
1379
  };
1380
1380
  };
1381
1381
  type JobsResponse202 = {
1382
1382
  owner: string;
1383
- action: string;
1383
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
1384
1384
  data: {
1385
1385
  [key: string]: unknown;
1386
1386
  };
@@ -1406,7 +1406,7 @@ type JobIdParams = {
1406
1406
  };
1407
1407
  type JobIdResponse200 = {
1408
1408
  owner: string;
1409
- action: string;
1409
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
1410
1410
  data: {
1411
1411
  [key: string]: unknown;
1412
1412
  };
@@ -3693,7 +3693,7 @@ type IntegrationsDisconnectAccountResponse = IntegrationsDisconnectAccountRespon
3693
3693
  type JobsCreateData = {
3694
3694
  body: {
3695
3695
  owner?: string;
3696
- action: string;
3696
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
3697
3697
  data: {
3698
3698
  [key: string]: unknown;
3699
3699
  };
@@ -3715,7 +3715,7 @@ type JobsCreateResponses = {
3715
3715
  */
3716
3716
  202: {
3717
3717
  owner: string;
3718
- action: string;
3718
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
3719
3719
  data: {
3720
3720
  [key: string]: unknown;
3721
3721
  };
@@ -3758,7 +3758,7 @@ type JobsRetrieveResponses = {
3758
3758
  */
3759
3759
  200: {
3760
3760
  owner: string;
3761
- action: string;
3761
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
3762
3762
  data: {
3763
3763
  [key: string]: unknown;
3764
3764
  };
@@ -4464,7 +4464,7 @@ declare class Integrations extends HeyApiClient {
4464
4464
  declare class Jobs extends HeyApiClient {
4465
4465
  create<ThrowOnError extends boolean = true>(parameters: {
4466
4466
  owner?: string;
4467
- action: string;
4467
+ action: 'pipelines_set_status' | 'pipelines_mark_as_read' | 'pipelines_create_recipient_list_csv' | 'pipelines_followup' | 'pipelines_reply_email';
4468
4468
  data: {
4469
4469
  [key: string]: unknown;
4470
4470
  };